<?php /* Smarty version 2.6.19, created on 2008-07-28 23:09:59
         compiled from modules/nav.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'get_content', 'modules/nav.tpl', 2, false),array('function', 'query_string', 'modules/nav.tpl', 10, false),)), $this); ?>
		<ul id="cssdropdown">
		<?php echo smarty_function_get_content(array('content_dir' => 'cat','include' => 'All','exclude' => "",'from' => "",'show_past' => 'true'), $this);?>

		<?php $this->assign('cat_content', $this->_tpl_vars['content']); ?>
		<?php $_from = $this->_tpl_vars['cat_content']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['c'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['c']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['cat']):
        $this->_foreach['c']['iteration']++;
?>
			<li class="mainitems <?php echo $this->_tpl_vars['cat']['short_name']; ?>
"><a href="#"><img src="include/theme/images/nav/<?php echo $this->_tpl_vars['cat']['short_name']; ?>
.jpg" /></a>
				<ul class="subuls">
					<div class="down_right_shadow">
						<?php echo smarty_function_get_content(array('content_dir' => 'menu','include' => $this->_tpl_vars['cat']['short_name'],'exclude' => "",'from' => 'cat','show_past' => 'true'), $this);?>

						<?php unset($this->_sections['m']);
$this->_sections['m']['name'] = 'm';
$this->_sections['m']['loop'] = is_array($_loop=$this->_tpl_vars['content']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['m']['show'] = true;
$this->_sections['m']['max'] = $this->_sections['m']['loop'];
$this->_sections['m']['step'] = 1;
$this->_sections['m']['start'] = $this->_sections['m']['step'] > 0 ? 0 : $this->_sections['m']['loop']-1;
if ($this->_sections['m']['show']) {
    $this->_sections['m']['total'] = $this->_sections['m']['loop'];
    if ($this->_sections['m']['total'] == 0)
        $this->_sections['m']['show'] = false;
} else
    $this->_sections['m']['total'] = 0;
if ($this->_sections['m']['show']):

            for ($this->_sections['m']['index'] = $this->_sections['m']['start'], $this->_sections['m']['iteration'] = 1;
                 $this->_sections['m']['iteration'] <= $this->_sections['m']['total'];
                 $this->_sections['m']['index'] += $this->_sections['m']['step'], $this->_sections['m']['iteration']++):
$this->_sections['m']['rownum'] = $this->_sections['m']['iteration'];
$this->_sections['m']['index_prev'] = $this->_sections['m']['index'] - $this->_sections['m']['step'];
$this->_sections['m']['index_next'] = $this->_sections['m']['index'] + $this->_sections['m']['step'];
$this->_sections['m']['first']      = ($this->_sections['m']['iteration'] == 1);
$this->_sections['m']['last']       = ($this->_sections['m']['iteration'] == $this->_sections['m']['total']);
?>
						<li><a class="<?php echo $this->_tpl_vars['content'][$this->_sections['m']['index']]['short_name']; ?>
" href="index.php<?php echo smarty_function_query_string(array('page' => 'body','cat' => $this->_tpl_vars['content'][$this->_sections['m']['index']]['cat'],'lm' => $this->_tpl_vars['content'][$this->_sections['m']['index']]['lm'],'cfg' => $this->_tpl_vars['content'][$this->_sections['m']['index']]['cfg'],'data' => $this->_tpl_vars['content'][$this->_sections['m']['index']]['data']), $this);?>
"><img src="include/theme/images/nav/clear.gif" /></a></li>
						<?php endfor; endif; ?>
					</div>
					<div class="down_bottom_shadow" style="float: left; clear:both; width: 161px; margin: 0 0 0 10px; height: 5px;">
						<img src="include/theme/images/drop_shadows/bottom.png" />
					</div>					
				</ul>
			</li>
		<?php endforeach; endif; unset($_from); ?>
		</ul>