<?php /* Smarty version 2.6.19, created on 2008-07-28 22:44:13
         compiled from body.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'get_content', 'body.tpl', 6, false),array('function', 'query_string', 'body.tpl', 138, false),)), $this); ?>
	<div id="header">

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

	</div>

	<div id="content">

		<div class="content-main">

			<?php echo smarty_function_get_content(array('content_dir' => 'page_data','include' => $_GET['data'],'exclude' => "",'from' => 'short_name','sort_by' => 'short_name','show_past' => 'true'), $this);?>


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

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

			<?php if ($_GET['data'] != 'testimonials'): ?>

				<div class="middle-box">

					<?php if ($_GET['cfg'] == 'landing'): ?>

					<h1><img src="data/page_data/assets/headings/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['short_name']; ?>
.gif" /></h1>

					<?php else: ?>

					<h1><img src="data/page_data/assets/headings/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['parent_short_name']; ?>
.gif" /></h1>

					<?php endif; ?>

				</div>

				<div class="img-box">

				<?php if ($_GET['cfg'] == 'landing'): ?>

					<style type="text/css" title="text/css" media="screen">

					/* <![CDATA[ */

					{literal}

					#drop-blocks{

						border: none;

						}

					{/literal}

					/* ]]> */

					</style>

					<img src="data/page_data/assets/landings/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_1']; ?>
" width="758" height="320" alt="" />

				<?php endif; ?>

				</div>

				&nbsp;<ul id="drop-blocks">

					<li>aaa</li>

					<li>bbbb</li>

					<li <?php if ($_GET['cfg'] == 'simple' || $_GET['cfg'] == 'info'): ?>class="select"<?php endif; ?>>

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_1'] == 'none'): ?>

						<div class="top-inner" id="main_scroll">

							<div class="box1">

								<h2><img src="data/page_data/assets/headings/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['short_name']; ?>
.gif" /></h2>

								<div class="main-box">

									<div class="vscroll">

										<div class="holder">

											<div class="text"><?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['summary']; ?>
</div>

										</div>

									</div>

								</div>

							</div>

							<script>

								initvScrollbars();

							</script>

						<?php else: ?>

						<div class="top-inner" id="main_scroll">

							<div class="box1">

								<h2><img src="data/page_data/assets/headings/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['short_name']; ?>
.gif" /></h2>

								<div class="main-box-short">

									<div class="vscroll">

										<div class="holder">

											<div class="text"><?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['summary']; ?>
</div>

										</div>

									</div>

								</div>

							</div>

							<script>

								initvScrollbars();

							</script>	

						<?php endif; ?>

						<?php if ($_GET['cfg'] == 'info'): ?>

							<div class="thumb">

								<a class="det" href="#pop-up1" rel="moodalbox">Detailed Information</a>

							</div>

						</div>

						<div class="inner-box">

							<div class="box first">

								<a class="det" href="#pop-up2" rel="moodalbox"><img src="data/page_data/assets/images/th_<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_1']; ?>
" alt="" /></a>

							</div>

							<div class="box">

								<a class="det" href="#pop-up3" rel="moodalbox"><img src="data/page_data/assets/images/th_<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_2']; ?>
" alt="" /></a>

							</div>

							<div class="box last">

								<a class="det" href="#pop-up4" rel="moodalbox"><img src="data/page_data/assets/images/th_<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_3']; ?>
" alt="" /></a>

							</div>

						</div>

						<?php endif; ?>

					</li>

				</ul>

			<?php else: ?>

				<div class="middle-box">

					<?php if ($_GET['cfg'] == 'landing'): ?>

					<h1><img src="data/page_data/assets/headings/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['short_name']; ?>
.gif" /></h1>

					<?php else: ?>

					<h1><img src="data/page_data/assets/headings/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['parent_short_name']; ?>
.gif" /></h1>

					<?php endif; ?>

				</div>

				<div class="img-box">

				</div>

				&nbsp;<ul id="drop-blocks">

					<li>aaa</li>

					<li>bbbb</li>

					<li class="select">

						<div class="top-inner" id="main_scroll">

							<div class="box1">

								<h2><img src="data/page_data/assets/headings/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['short_name']; ?>
.gif" /></h2>

								<div class="main-box" style="width: 725px;">

									<div class="text">

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

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

										<a href='#pop-up<?php echo $this->_sections['tth']['index']+5; ?>
' rel='moodalbox'>

										<img src='data/page_data/assets/testimonials/testim-<?php echo $this->_tpl_vars['testimonial_image'][$this->_sections['tth']['index']]; ?>
-th.jpg' style='margin: 1px; border: solid 1px #eee;'>

										</a>

									<?php endfor; endif; ?>

									</div>

								</div>

							</div>

						</div>

					</li>

				</ul>

			<?php endif; ?>

			<?php endfor; endif; ?>

			

			<div class="bottom-box">

				<div class="logo-holder"><a href="index.php"><img src="include/theme/images/logo.gif" alt="" /></a></div>

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

			</div>



		</div>

	</div>

	<div id="footer">

		<p><img src="include/theme/images/contact-footer.jpg" /></p>

	</div>

	<?php echo smarty_function_get_content(array('content_dir' => 'page_data','include' => $_GET['data'],'exclude' => "",'from' => 'short_name','sort_by' => 'short_name','show_past' => 'true'), $this);?>


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

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

	<div id="pop-up1" class="popup-container">

		<div class="popup">

			<div class="main-box">

				<div class="vscroll">

					<div class="holder">

						<div class="text"><?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['text']; ?>
</div>

					</div>

				</div>

			</div>

			<a class="close" href="index.php<?php echo smarty_function_query_string(array(), $this);?>
"></a>

		</div>

		<div class="shadow-right">

		

		</div>

		<div class="shadow-under">

		

		</div>

	</div>

	<div id="pop-up2" class="popup-container">

		<div class="popup">

			<div class="top">

				<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['pop_1_text']; ?>


			</div>

			<div class="main-box-image">

				<div class="vscroll">

					<div class="holder">

						<div class="image">

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_1'] != 'none'): ?><img src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_1']; ?>
" alt="" /><?php endif; ?>

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_4'] != 'none'): ?><img class="second" src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_4']; ?>
" alt="" /><?php endif; ?>

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_7'] != 'none'): ?><img class="second" src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_7']; ?>
" alt="" /><?php endif; ?>

						</div>

					</div>

				</div>

			</div>

			<a class="close" href="index.php<?php echo smarty_function_query_string(array(), $this);?>
"></a>

		</div>

		<div class="shadow-right">

		

		</div>

		<div class="shadow-under">

		

		</div>

	</div>

	<div id="pop-up3" class="popup-container">

		<div class="popup">

			<div class="top">

				<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['pop_2_text']; ?>


			</div>

			<div class="main-box-image">

				<div class="vscroll">

					<div class="holder">

						<div class="image">

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_2'] != 'none'): ?><img src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_2']; ?>
" alt="" /><?php endif; ?>

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_5'] != 'none'): ?><img class="second" src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_5']; ?>
" alt="" /><?php endif; ?>

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_8'] != 'none'): ?><img class="second" src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_8']; ?>
" alt="" /><?php endif; ?>

						</div>

					</div>

				</div>

			</div>

			<a class="close" href="index.php<?php echo smarty_function_query_string(array(), $this);?>
"></a>

		</div>

		<div class="shadow-right">

		

		</div>

		<div class="shadow-under">

		

		</div>

	</div>

	<div id="pop-up4" class="popup-container">

		<div class="popup">

			<div class="top">

				<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['pop_3_text']; ?>


			</div>

			<div class="main-box-image">

				<div class="vscroll">

					<div class="holder">

						<div class="image">

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_3'] != 'none'): ?><img src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_3']; ?>
" alt="" /><?php endif; ?>

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_6'] != 'none'): ?><img class="second" src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_6']; ?>
" alt="" /><?php endif; ?>

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_9'] != 'none'): ?><img class="second" src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_9']; ?>
" alt="" /><?php endif; ?>

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_10'] && $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_10'] != 'none'): ?><img class="second" src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_10']; ?>
" alt="" /><?php endif; ?>

						<?php if ($this->_tpl_vars['content'][$this->_sections['i']['index']]['image_11'] && $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_11'] != 'none'): ?><img class="second" src="data/page_data/assets/images/<?php echo $this->_tpl_vars['content'][$this->_sections['i']['index']]['image_11']; ?>
" alt="" /><?php endif; ?>



						</div>

					</div>

				</div>

			</div>

			<a class="close" href="index.php<?php echo smarty_function_query_string(array(), $this);?>
"></a>

		</div>

		<div class="shadow-right">

		

		</div>

		<div class="shadow-under">

		

		</div>

	</div>

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

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

	<div id="pop-up<?php echo $this->_sections['t']['index']+5; ?>
" class="popup-container">

		<div class="popup">

			<div class="main-box">

				<div class="vscroll">

					<div class="holder">

						<img src='data/page_data/assets/testimonials/testim-<?php echo $this->_tpl_vars['testimonial_image'][$this->_sections['t']['index']]; ?>
.jpg' height=380 style='float: left; margin: 0 10px 0 0;'>

						<p style="float: left; width: 290px;"><?php echo $this->_tpl_vars['testimonial_text'][$this->_sections['t']['index']]; ?>
</p>

					</div>

				</div>

			</div>

			<a class="close" href="index.php<?php echo smarty_function_query_string(array(), $this);?>
"></a>

		</div>

		<div class="shadow-right">

		

		</div>

		<div class="shadow-under">

		

		</div>

	</div>

	<?php endfor; endif; ?>

	<?php endfor; endif; ?>

</div>

<!-- ALL POPS --></body>

</html>