<?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/ms_teamwork/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
</head>

<body class="body" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<a name="top"></a>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td  class="pathway" valign="center" align="left"  bgcolor="#4490B4"><img hspace="5" src="images/M_images/arrow.png" border="0" alt="arrow" /><?php include_once("pathway.php"); ?></td>
    <td class="pathway" valign="center" align="right" bgcolor="#4490B4"><?php echo (strftime ("%A, %d %B %Y", time()+($mosConfig_offset*60*60))); ?>&nbsp;&nbsp;</td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="120">
  <tr>
    <td background="<?php echo $mosConfig_live_site;?>/templates/ms_teamwork/images/teamwork.png"><table width="658" height="120" border="0" cellpadding="0" cellspacing="0">
      <tr>
                <td width="100%" valign="bottom" ><div align="right"><font class="title"><br>
                <?php echo $mosConfig_sitename; ?></font><br />
                  <font class="title">
          <em>Your slogan here</em><br>
          <br />
          </font></div></td>
      </tr>
    </table>
    </td>
 </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td height="16" background="<?php echo $mosConfig_live_site;?>/templates/ms_teamwork/images/header_under_bg.png" valign="center" ></td></td>

  </tr>
</table>
<table border="0" cellpadding="10" cellspacing="0" width="100%">
  <tr><?php if (mosCountModules( "left" )) { ?>
    <td width="8">&nbsp;</td>
    <td  width="180" valign="top">
      <table class ="boxes" width="100%" border="0" cellspacing="0" cellpadding="3" bgcolor="#CCCCCC">
        <tr>
          <td  bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td width="10%"><img src="<?php echo $mosConfig_live_site;?>/templates/ms_teamwork/images/search.png" /></td>
    <td width="90%"><form action="index.php" method="post">
            <div align="left">
              <input class="inputbox" type="text" name="searchword" size="23" 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>
          </form></td>
  </tr>
</table>
<?php mosLoadModules ( "left" ); ?>

</td>
        </tr>
      </table>


    </td>
        <?php } ?><br><br>
    <td valign="top" class="boxes">
        <?php mosLoadModules ( 'top', 'true' ); ?>

        <?php include_once("mainbody.php"); ?>

        <?php mosLoadModules ( 'bottom', 'true' ); ?>
</td>
    <!-- Show only on non content pages -->
        <?php if (mosCountModules( "right" )) { ?>

        <td width="180" valign="top">
          <table width="100%" class ="boxes" bgcolor="#CCCCCC" border="0" cellspacing="0" cellpadding="3">
            <tr>
              <td bgcolor="#FFFFFF"><?php mosLoadModules ( "right" ); ?></td>
            </tr>
          </table>
        </td>
        <?php
      }
    ?>
    <td width="8">&nbsp;</td>
  </tr>
</table>

<div align="center">
  <img src="<?php echo $mosConfig_live_site;?>/templates/ms_teamwork/images/up.gif" width="12" height="9" border="0" align="middle">
  <font color="#333333" size="1" face="Verdana"><a href="#top">top</a></font>
  <img src="<?php echo $mosConfig_live_site;?>/templates/ms_teamwork/images/up.gif" width="12" height="9" align="middle">
</div>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" background="<?php echo $mosConfig_live_site;?>/templates/ms_teamwork/images/footer_bg.png">
  <tr>
    <td bgcolor="#000000"> </td>
  </tr>
  <tr>

    <td align="center" valign="middle" >
      <table width="461"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><div align="center"><br>

          <?php include_once("includes/footer.php"); ?>
          <a href="http://www.mambosolutions.com">design by mambosolutions.com</a>
          </div>          </td>
        </tr>
      </table>
<div align="center">


</div><p />          </td>
  </tr>
</table>

<div align="center"><?php mosLoadComponent( "banners" ); ?><br>
</div>
</body>
</html>
