<?php /* Smarty version 2.6.22, created on 2009-05-22 08:32:44
         compiled from tiki.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'tiki.tpl', 9, false),array('modifier', 'replace', 'tiki.tpl', 9, false),array('modifier', 'count', 'tiki.tpl', 47, false),array('function', 'popup_init', 'tiki.tpl', 14, false),array('function', 'icon', 'tiki.tpl', 17, false),array('function', 'show_help', 'tiki.tpl', 75, false),array('function', 'eval', 'tiki.tpl', 127, false),)), $this); ?>

<!DOCTYPE html 
	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php if (! empty ( $this->_tpl_vars['pageLang'] )): ?><?php echo $this->_tpl_vars['pageLang']; ?>
<?php else: ?><?php echo $this->_tpl_vars['prefs']['language']; ?>
<?php endif; ?>" lang="<?php if (! empty ( $this->_tpl_vars['pageLang'] )): ?><?php echo $this->_tpl_vars['pageLang']; ?>
<?php else: ?><?php echo $this->_tpl_vars['prefs']['language']; ?>
<?php endif; ?>">
	<head>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	</head>
	<body<?php if (isset ( $this->_tpl_vars['section'] ) && $this->_tpl_vars['section'] == 'wiki page' && $this->_tpl_vars['prefs']['user_dbl'] == 'y' && $this->_tpl_vars['dblclickedit'] == 'y' && $this->_tpl_vars['tiki_p_edit'] == 'y'): ?> ondblclick="location.href='tiki-editpage.php?page=<?php echo ((is_array($_tmp=$this->_tpl_vars['page'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
';"<?php endif; ?> onload="<?php if ($this->_tpl_vars['prefs']['feature_tabs'] == 'y'): ?>tikitabs(<?php if ($this->_tpl_vars['cookietab'] != ''): ?><?php echo $this->_tpl_vars['cookietab']; ?>
<?php else: ?>1<?php endif; ?>,50);<?php endif; ?><?php if ($this->_tpl_vars['msgError']): ?> javascript:location.hash='msgError'<?php endif; ?>"<?php if ($this->_tpl_vars['section'] || $_SESSION['fullscreen'] == 'y'): ?> class="<?php if ($this->_tpl_vars['section']): ?>tiki_<?php echo ((is_array($_tmp=$this->_tpl_vars['section'])) ? $this->_run_mod_handler('replace', true, $_tmp, ' ', '_') : smarty_modifier_replace($_tmp, ' ', '_')); ?>
<?php endif; ?><?php if ($_SESSION['fullscreen'] == 'y'): ?> fullscreen<?php endif; ?>"<?php endif; ?>>
		<ul class="jumplinks" style="position:absolute;top:-9000px;left:-9000px;z-index:9;">
			<li><a href="#tiki-center">Jump to Content</a></li>
		</ul>

<?php if ($this->_tpl_vars['prefs']['feature_community_mouseover'] == 'y'): ?>		<?php echo smarty_function_popup_init(array('src' => "lib/overlib.js"), $this);?>
<?php endif; ?>

<?php if ($this->_tpl_vars['prefs']['feature_fullscreen'] == 'y' && $this->_tpl_vars['filegals_manager'] == '' && $this->_tpl_vars['print_page'] != 'y'): ?>
	<?php if ($_SESSION['fullscreen'] == 'y'): ?>	<a href="<?php echo $_SERVER['SCRIPT_NAME']; ?>
<?php if ($this->_tpl_vars['fsquery']): ?>?<?php echo ((is_array($_tmp=$this->_tpl_vars['fsquery'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
&amp;<?php else: ?>?<?php endif; ?>fullscreen=n" class="menulink" id="fullscreenbutton"><?php echo smarty_function_icon(array('_id' => 'application_put','alt' => 'Cancel Fullscreen'), $this);?>
</a>
	<?php else: ?>	<a href="<?php echo $_SERVER['SCRIPT_NAME']; ?>
<?php if ($this->_tpl_vars['fsquery']): ?>?<?php echo $this->_tpl_vars['fsquery']; ?>
&amp;<?php else: ?>?<?php endif; ?>fullscreen=y" class="menulink" id="fullscreenbutton"><?php echo smarty_function_icon(array('_id' => 'application_get','alt' => 'Fullscreen'), $this);?>
</a>
	<?php endif; ?>
<?php endif; ?>


<?php if ($this->_tpl_vars['prefs']['feature_tikitests'] == 'y' && $this->_tpl_vars['tikitest_state'] != 0): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "tiki-tests_topbar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php endif; ?>

<?php if ($this->_tpl_vars['prefs']['feature_ajax'] == 'y'): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "tiki-ajax_header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php endif; ?>

		<?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><div id="main-shadow"><?php echo $this->_tpl_vars['prefs']['main_shadow_start']; ?>
<?php endif; ?><div id="main">
<?php if (( $this->_tpl_vars['prefs']['feature_fullscreen'] != 'y' || $_SESSION['fullscreen'] != 'y' )): ?>
			<?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><div id="header-shadow"><?php echo $this->_tpl_vars['prefs']['header_shadow_start']; ?>
<?php endif; ?><div class="clearfix" id="header"<?php if ($this->_tpl_vars['prefs']['feature_bidi'] == 'y'): ?> dir="rtl"<?php endif; ?>>
		
				<div class="clearfix" id="siteheader">
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "tiki-site_header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
				</div>
			</div><?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><?php echo $this->_tpl_vars['prefs']['header_shadow_end']; ?>
</div><?php endif; ?>
<?php endif; ?>


<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "tiki-admin_bar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

			<?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><div id="middle-shadow"><?php echo $this->_tpl_vars['prefs']['middle_shadow_start']; ?>
<?php endif; ?><div class="clearfix" id="middle">
				<div class="clearfix <?php if ($this->_tpl_vars['prefs']['feature_fullscreen'] != 'n' && $_SESSION['fullscreen'] != 'n'): ?>fullscreen<?php endif; ?><?php if ($this->_tpl_vars['prefs']['feature_fullscreen'] != 'y' && $_SESSION['fullscreen'] != 'n'): ?>nofullscreen<?php endif; ?>" id="c1c2">
					<div class="clearfix" id="wrapper">
						<div id="col1" class="<?php if ($this->_tpl_vars['prefs']['feature_left_column'] != 'n' && count($this->_tpl_vars['left_modules']) > 0 && $this->_tpl_vars['show_columns']['left_modules'] != 'n'): ?>marginleft<?php endif; ?><?php if ($this->_tpl_vars['prefs']['feature_right_column'] != 'n' && count($this->_tpl_vars['right_modules']) > 0 && $this->_tpl_vars['show_columns']['right_modules'] != 'n'): ?> marginright<?php endif; ?>"<?php if ($this->_tpl_vars['prefs']['feature_bidi'] == 'y'): ?> dir="rtl"<?php endif; ?>>

<?php if ($_SESSION['fullscreen'] != 'y'): ?>
	<?php if ($this->_tpl_vars['prefs']['feature_left_column'] == 'user' || $this->_tpl_vars['prefs']['feature_right_column'] == 'user'): ?>
							<div class="clearfix" id="showhide_columns">
		<?php if ($this->_tpl_vars['prefs']['feature_left_column'] == 'user' && count($this->_tpl_vars['left_modules']) > 0 && $this->_tpl_vars['show_columns']['left_modules'] != 'n'): ?>
								<div style="text-align:left;float:left;">
									<a class="flip" href="#" onclick="toggleCols('col2','left'); return false"><?php echo smarty_function_icon(array('_id' => 'ofolder','name' => 'leftcolumnicn','class' => 'colflip','alt' => "+/-"), $this);?>
&nbsp;Show/Hide Left Menus&nbsp;</a>
								</div>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['prefs']['feature_right_column'] == 'user' && count($this->_tpl_vars['right_modules']) > 0 && $this->_tpl_vars['show_columns']['right_modules'] != 'n'): ?>
								<div class="clearfix" style="text-align:right;float:right">
									<a class="flip" href="#" onclick="toggleCols('col3','right'); return false">&nbsp;Show/Hide Right Menus&nbsp;<?php echo smarty_function_icon(array('_id' => 'ofolder','name' => 'rightcolumnicn','class' => 'colflip','alt' => "+/-"), $this);?>
</a>
								</div>
		<?php endif; ?>
								<br style="clear:both" />
							</div>
	<?php endif; ?>
<?php endif; ?>

<?php if ($this->_tpl_vars['prefs']['feature_tell_a_friend'] == 'y' && $this->_tpl_vars['tiki_p_tell_a_friend'] == 'y' && ( ! isset ( $this->_tpl_vars['edit_page'] ) || $this->_tpl_vars['edit_page'] != 'y' && $this->_tpl_vars['prefs']['feature_site_send_link'] != 'y' )): ?>
							<div class="tellafriend">
								<a href="tiki-tell_a_friend.php?url=<?php echo ((is_array($_tmp=$_SERVER['REQUEST_URI'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
">Email this page</a>
							</div>
<?php endif; ?>

							<?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><div id="tiki-center-shadow"><?php echo $this->_tpl_vars['prefs']['center_shadow_start']; ?>
<?php endif; ?><div id="tiki-center"  class="clearfix content">
<?php echo $this->_tpl_vars['mid_data']; ?>

<?php echo smarty_function_show_help(array(), $this);?>

							</div><?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><?php echo $this->_tpl_vars['prefs']['center_shadow_end']; ?>
</div><?php endif; ?>
						</div>
					</div>

<?php if ($this->_tpl_vars['prefs']['feature_fullscreen'] != 'y' || $_SESSION['fullscreen'] != 'y'): ?>
					<hr class="hidden" />
	<?php if ($this->_tpl_vars['prefs']['feature_left_column'] != 'n' && count($this->_tpl_vars['left_modules']) > 0 && $this->_tpl_vars['show_columns']['left_modules'] != 'n'): ?>
					<div id="col2"<?php if ($this->_tpl_vars['prefs']['feature_bidi'] == 'y'): ?> dir="rtl"<?php endif; ?>>
						<h2 class="hidden">Sidebar</h2>
						<div class="content">
		<?php unset($this->_sections['homeix']);
$this->_sections['homeix']['name'] = 'homeix';
$this->_sections['homeix']['loop'] = is_array($_loop=$this->_tpl_vars['left_modules']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['homeix']['show'] = true;
$this->_sections['homeix']['max'] = $this->_sections['homeix']['loop'];
$this->_sections['homeix']['step'] = 1;
$this->_sections['homeix']['start'] = $this->_sections['homeix']['step'] > 0 ? 0 : $this->_sections['homeix']['loop']-1;
if ($this->_sections['homeix']['show']) {
    $this->_sections['homeix']['total'] = $this->_sections['homeix']['loop'];
    if ($this->_sections['homeix']['total'] == 0)
        $this->_sections['homeix']['show'] = false;
} else
    $this->_sections['homeix']['total'] = 0;
if ($this->_sections['homeix']['show']):

            for ($this->_sections['homeix']['index'] = $this->_sections['homeix']['start'], $this->_sections['homeix']['iteration'] = 1;
                 $this->_sections['homeix']['iteration'] <= $this->_sections['homeix']['total'];
                 $this->_sections['homeix']['index'] += $this->_sections['homeix']['step'], $this->_sections['homeix']['iteration']++):
$this->_sections['homeix']['rownum'] = $this->_sections['homeix']['iteration'];
$this->_sections['homeix']['index_prev'] = $this->_sections['homeix']['index'] - $this->_sections['homeix']['step'];
$this->_sections['homeix']['index_next'] = $this->_sections['homeix']['index'] + $this->_sections['homeix']['step'];
$this->_sections['homeix']['first']      = ($this->_sections['homeix']['iteration'] == 1);
$this->_sections['homeix']['last']       = ($this->_sections['homeix']['iteration'] == $this->_sections['homeix']['total']);
?>
			<?php echo $this->_tpl_vars['left_modules'][$this->_sections['homeix']['index']]['data']; ?>

		<?php endfor; endif; ?>
						</div>
					</div>
	<?php endif; ?>
<?php endif; ?>
				</div>
<?php if ($this->_tpl_vars['prefs']['feature_fullscreen'] != 'y' || $_SESSION['fullscreen'] != 'y'): ?>
	<?php if ($this->_tpl_vars['prefs']['feature_right_column'] != 'n' && count($this->_tpl_vars['right_modules']) > 0 && $this->_tpl_vars['show_columns']['right_modules'] != 'n'): ?>
				<div class="clearfix" id="col3"<?php if ($this->_tpl_vars['prefs']['feature_right_column'] == 'user'): ?> style="display:<?php if (isset ( $this->_tpl_vars['cookie']['show_rightcolumn'] ) && $this->_tpl_vars['cookie']['show_rightcolumn'] != 'y'): ?> none<?php elseif (isset ( $this->_tpl_vars['ie6'] )): ?> block<?php else: ?> table-cell<?php endif; ?>;"<?php endif; ?><?php if ($this->_tpl_vars['prefs']['feature_bidi'] == 'y'): ?> dir="rtl"<?php endif; ?>>
					<h2 class="hidden">Sidebar</h2>
					<div class="content">
		<?php unset($this->_sections['homeix']);
$this->_sections['homeix']['name'] = 'homeix';
$this->_sections['homeix']['loop'] = is_array($_loop=$this->_tpl_vars['right_modules']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['homeix']['show'] = true;
$this->_sections['homeix']['max'] = $this->_sections['homeix']['loop'];
$this->_sections['homeix']['step'] = 1;
$this->_sections['homeix']['start'] = $this->_sections['homeix']['step'] > 0 ? 0 : $this->_sections['homeix']['loop']-1;
if ($this->_sections['homeix']['show']) {
    $this->_sections['homeix']['total'] = $this->_sections['homeix']['loop'];
    if ($this->_sections['homeix']['total'] == 0)
        $this->_sections['homeix']['show'] = false;
} else
    $this->_sections['homeix']['total'] = 0;
if ($this->_sections['homeix']['show']):

            for ($this->_sections['homeix']['index'] = $this->_sections['homeix']['start'], $this->_sections['homeix']['iteration'] = 1;
                 $this->_sections['homeix']['iteration'] <= $this->_sections['homeix']['total'];
                 $this->_sections['homeix']['index'] += $this->_sections['homeix']['step'], $this->_sections['homeix']['iteration']++):
$this->_sections['homeix']['rownum'] = $this->_sections['homeix']['iteration'];
$this->_sections['homeix']['index_prev'] = $this->_sections['homeix']['index'] - $this->_sections['homeix']['step'];
$this->_sections['homeix']['index_next'] = $this->_sections['homeix']['index'] + $this->_sections['homeix']['step'];
$this->_sections['homeix']['first']      = ($this->_sections['homeix']['iteration'] == 1);
$this->_sections['homeix']['last']       = ($this->_sections['homeix']['iteration'] == $this->_sections['homeix']['total']);
?>
			<?php echo $this->_tpl_vars['right_modules'][$this->_sections['homeix']['index']]['data']; ?>

		<?php endfor; endif; ?>
					</div>
				</div>
				<br style="clear:both" />
	<?php endif; ?>
<?php endif; ?>
		<!--[if IE 7]><br style="clear:both; height: 0" /> <![endif]-->
			</div><?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><?php echo $this->_tpl_vars['prefs']['middle_shadow_end']; ?>
</div><?php endif; ?>

<?php if ($this->_tpl_vars['prefs']['feature_fullscreen'] != 'y' || $_SESSION['fullscreen'] != 'y'): ?>
	<?php if ($this->_tpl_vars['prefs']['feature_bot_bar'] == 'y'): ?>
			<?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><div id="footer-shadow"><?php echo $this->_tpl_vars['prefs']['footer_shadow_start']; ?>
<?php endif; ?><div id="footer">
				<div class="footerbgtrap">
					<div class="content"<?php if ($this->_tpl_vars['prefs']['feature_bidi'] == 'y'): ?> dir="rtl"<?php endif; ?>>
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "tiki-bot_bar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
					</div>
				</div>
			</div><?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><?php echo $this->_tpl_vars['prefs']['footer_shadow_end']; ?>
</div><?php endif; ?>
	<?php endif; ?>
<?php endif; ?>

		</div><?php if ($this->_tpl_vars['prefs']['feature_layoutshadows'] == 'y'): ?><?php echo $this->_tpl_vars['prefs']['main_shadow_end']; ?>
</div><?php endif; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php if ($this->_tpl_vars['prefs']['feature_endbody_code']): ?>
	<?php echo smarty_function_eval(array('var' => $this->_tpl_vars['prefs']['feature_endbody_code']), $this);?>

<?php endif; ?>
	</body>
</html>