<?php echo "<?xml version=\"1.0\"?>";
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>
<!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">
<head>
<title><?php echo $mosConfig_sitename; ?></title>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php
if ($my->id) {
	include ("editor/editor.php");
	initEditor();
}
?>
<?php include ("includes/metadata.php"); ?>
<script language="JavaScript" type="text/javascript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<link href="<?php echo $mosConfig_live_site;?>/templates/peeklime/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="images/favicon.ico" />
<?php // Custom MainMenu extension...
$database->setQuery("SELECT * FROM #__menu WHERE menutype = 'mainmenu' AND published ='1' AND parent = '0' ORDER BY ordering");
$mymenu_rows = $database->loadObjectList();
$mymenu_content = "";
foreach($mymenu_rows as $mymenu_row) {
	// print_r($mymenu_rows);
	$mymenulink = $mymenu_row->link;
	if ($mymenu_row->type != "url") {
		$mymenulink .= "&Itemid=$mymenu_row->id";
	}
	if ($mymenu_row->type != "separator") {
		$mymenu_content .= "<a href=\"".sefRelToAbs($mymenulink)."\" class=\"bar\">$mymenu_row->name</a><font color=\"#D3F5D0\"> | </font>";
	}
}
$mymenu_content = substr($mymenu_content,0,strlen($mymenu_content)-2);
?>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<a name="up" id="up"></a>
<table id="Table_01" width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td height="89" >
			<table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="80" ><img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_01.gif" width="77" height="89" alt=""></td>
                <td width="204" align="left" valign="middle"><span class="title"><?php echo $mosConfig_sitename; ?> </span></td>
                <td align="left" valign="middle" ><?php mosLoadComponent( "banners" ); ?></td>
              </tr>
            </table></td>
	</tr>
	<tr>
		<td  height="27" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_06.gif" bgcolor="#000000" style="background-repeat:repeat-x ">
			<div align="left">
			  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="25" align="left" valign="top"><img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_04.gif" alt="" width="25" height="27" align="top"></td>
                  <td align="left">&nbsp;<span class="pathway">
				<?php include "pathway.php"; ?></span></td>
                  <td width="143" align="right"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="right" valign="middle"><img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/search.gif" width="18" height="18" align="absbottom" /></td>
                      <td><form action='<?php echo sefRelToAbs("index.php"); ?>' method='post'>
                      <div align="left">
                        <input class="searchbox" type="text" name="searchword" height="16" size="15" value="<?php echo _SEARCH_BOX; ?>"  onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" />
                        <input type="hidden" name="option" value="search" />
                      </div>
                    </td></form>
                    </tr>
                  </table></td>
                </tr>
              </table>
	  </div></td>
	</tr>
	<tr>
		<td height="12"  background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_08.gif"></td>
	</tr>
	<tr>
		<td align="center" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr align="center" valign="top"><?php if (mosCountModules( "left" ) + mosCountModules( "user1" ) > 0) { ?>
        <td width="165"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="4">
          <tr><?php if (mosCountModules( "left" )) { ?>
            <td align="center"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="11">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_01.gif" width="11" height="16" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_02.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_02.gif" width="24" height="16" alt=""></td>
		<td width="19">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_03.gif" width="19" height="16" alt=""></td>
	</tr>
	<tr>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_04.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_04.gif" width="11" height="21" alt=""></td>
		<td  height="21" align="left" bgcolor="#E8E8E8">          <?php mosLoadModules ( 'left' ); ?>
	    </td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_06.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_06.gif" width="19" height="21" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_07.gif" width="11" height="30" alt=""></td>
		<td rowspan="2" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_08.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_08.gif" width="24" height="30" alt=""></td>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongrey_09.gif" width="19" height="29" alt=""></td>
	</tr>
</table></td><?php } ?>
          </tr>
          <tr><?php if (mosCountModules( "user1" )) { ?>
            <td align="center"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="11">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_01.gif" width="11" height="16" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_02.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_02.gif" width="24" height="16" alt=""></td>
		<td width="19">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_03.gif" width="19" height="16" alt=""></td>
	</tr>
	<tr>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_04.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_04.gif" width="11" height="21" alt=""></td>
		<td  height="21" align="left" bgcolor="#A7CF43"><?php mosLoadModules ( 'user1' ); ?></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_06.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_06.gif" width="19" height="21" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_07.gif" width="11" height="30" alt=""></td>
		<td rowspan="2" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_08.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_08.gif" width="24" height="30" alt=""></td>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonlime_09.gif" width="19" height="29" alt=""></td>
	</tr>
</table></td><?php } ?>
          </tr>
        </table></td><?php } ?>
        <td><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="4">
          <tr><?php if (mosCountModules( "top" )) { ?>
            <td align="center"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="11">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_01.gif" width="11" height="16" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_02.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_02.gif" width="24" height="16" alt=""></td>
		<td width="19">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_03.gif" width="19" height="16" alt=""></td>
	</tr>
	<tr>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_04.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_04.gif" width="11" height="21" alt=""></td>
		<td align="left" valign="middle" bgcolor="#D3F5D0"><?php mosLoadModules ( 'top' ); ?></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_06.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_06.gif" width="19" height="21" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_07.gif" width="11" height="18" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_08.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_08.gif" width="24" height="18" alt=""></td>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingreen_09.gif" width="19" height="18" alt=""></td>
	</tr>
</table></td><?php } ?>
          </tr>
          <tr>
            <td align="center"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="11">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_01.gif" width="11" height="16" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_02.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_02.gif" width="24" height="16" alt=""></td>
		<td width="19">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_03.gif" width="19" height="16" alt=""></td>
	</tr>
	<tr>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_04.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_04.gif" width="11" height="21" alt=""></td>
		<td align="center" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="right" valign="baseline"><img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/date.gif" width="15" height="15" align="absbottom" />&nbsp;<?php echo (strftime (_DATE_FORMAT_LC, time()+($mosConfig_offset*60*60))); ?></td>
          </tr>
          <tr>
            <td align="center"><?php include_once ("mainbody.php"); ?></td>
          </tr>
        </table>
      </td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_06.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_06.gif" width="19" height="21" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_07.gif" width="11" height="18" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_08.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_08.gif" width="24" height="18" alt=""></td>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/mainwhite_09.gif" width="19" height="18" alt=""></td>
	</tr>
</table></td>
          </tr>
        </table></td><?php if (mosCountModules( "right" ) + mosCountModules( "user2" ) > 0) { ?>
        <td width="165" align="center"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="4">
          <tr><?php if (mosCountModules( "right" )) { ?>
            <td align="center" valign="top"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="11">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_01.gif" width="11" height="16" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_02.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_02.gif" width="24" height="16" alt=""></td>
		<td width="19">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_03.gif" width="19" height="16" alt=""></td>
	</tr>
	<tr>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_04.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_04.gif" width="11" height="21" alt=""></td>
		<td width="100%"  height="21" align="left" bgcolor="#D6E5AA"><?php mosLoadModules ( 'right' ); ?></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_06.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_06.gif" width="19" height="21" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_07.gif" width="11" height="30" alt=""></td>
		<td rowspan="2" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_08.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_08.gif" width="24" height="30" alt=""></td>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballongreen_09.gif" width="19" height="29" alt=""></td>
	</tr>
</table></td><?php } ?>
          </tr>
          <tr><?php if (mosCountModules( "user2" )) { ?>
            <td align="center" valign="top"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="11">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_01.gif" width="11" height="16" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_02.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_02.gif" width="24" height="16" alt=""></td>
		<td width="19">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_03.gif" width="19" height="16" alt=""></td>
	</tr>
	<tr>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_04.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_04.gif" width="11" height="21" alt=""></td>
		<td  height="21" align="left" bgcolor="#FFFFFF"><?php mosLoadModules ( 'user2' ); ?></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_06.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_06.gif" width="19" height="21" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_07.gif" width="11" height="30" alt=""></td>
		<td rowspan="2" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_08.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_08.gif" width="24" height="30" alt=""></td>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/ballonwhite_09.gif" width="19" height="29" alt=""></td>
	</tr>
</table></td><?php } ?>
          </tr>
        </table></td>
      </tr>
    </table></td><?php } ?>
  </tr>
  <tr><?php if (mosCountModules( "bottom" )) { ?>
    <td align="center" valign="top"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="11">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_01.gif" width="11" height="16" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_02.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_02.gif" width="24" height="16" alt=""></td>
		<td width="19">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_03.gif" width="19" height="16" alt=""></td>
	</tr>
	<tr>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_04.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_04.gif" width="11" height="21" alt=""></td>
		<td align="left" bgcolor="#CCCCCC"><?php mosLoadModules ( 'bottom' ); ?>
      </td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_06.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_06.gif" width="19" height="21" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_07.gif" width="11" height="18" alt=""></td>
		<td background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_08.gif">
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_08.gif" width="24" height="18" alt=""></td>
		<td>
			<img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/maingrey_09.gif" width="19" height="18" alt=""></td>
	</tr>
</table></td><?php } ?>
  </tr>
  <tr>
    <td align="center" valign="top">&nbsp;</td>
  </tr>
</table>
</td>
	</tr>
	<tr>
		<td height="21" align="center" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_12.gif"><span class="bar"><a href="<?php echo sefRelToAbs($_SERVER['REQUEST_URI'])."#up"; ?>"><img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/top.gif" alt="Go to top of page" width="15" height="12" border="0" /></a>&nbsp;&nbsp;<?php echo $mymenu_content ?></span> </td>
	</tr>
	<tr>
		<td height="20" style="background-repeat:repeat-x" background="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_18.gif"><div align="center"><a href="http://www.mamboserver.com" target="_blank"><img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_14.gif" alt="" width="196" height="20" border="0"></a>&nbsp;<a href="http://www.peekmambo.com" target="_blank"><img src="<?php echo $mosConfig_live_site;?>/templates/peeklime/images/PeekLime_16.gif" alt="" width="206" height="20" border="0"></a></div></td>
	</tr>
	<tr align="center" valign="top">
		<td><?php mosLoadModules ( 'inset' ); ?><br>
</td>
  </tr>
</table>
</body>
</html>
