<?php 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; charset=iso-8859-1" />
<meta name="GENERATOR" content="XO2express">
<meta name="Author" content="InterImage Design">
<link href="<?php echo $mosConfig_live_site;?>/templates/Sound2/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/Sound/images/sound.ico" />
<?php include ("includes/metadata.php"); ?>
<?php include_once ("editor/editor.php"); ?>
<?php initEditor(); ?>
<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>

<?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=\"#CCCCCC\"> | </font>";
	}
}
$mymenu_content = substr($mymenu_content,0,strlen($mymenu_content)-2);
?>

<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>

<style type="text/css">
<!--
body {
	background-color: #000000;
	margin-top: 10px;
}
.style1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #FFFFFF;
}
.style7 {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
}
-->
</style></head>

<body leftmargin="0" bottommargin="0"><div id='spf'></div>
<table width="804" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
  <tr>
    <td colspan="3">      <table width="804" height="61"  border="0" cellpadding="0" cellspacing="0" background="http://www.soundheadquarters.co.za/images/index_01.jpg">
        <tr>
          <td width="804"><table width="665" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="25">&nbsp;</td>
              <td width="507"><span class="pathway">
                <?php include "pathway.php"; ?>
              </span></td>
              <td width="133">&nbsp;</td>
            </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td colspan="3"> <img src="http://www.soundheadquarters.co.za/images/index_02.jpg" width="804" height="7" alt="" /></td>
  </tr>
  <tr>
    <td colspan="3"> <img src="http://www.soundheadquarters.co.za/images/index_03.jpg" width="804" height="10" alt="" /></td>
  </tr>
  <tr>
    <td colspan="3"> <img src="http://www.soundheadquarters.co.za/images/index_04.jpg" width="804" height="3" alt="" /></td>
  </tr>
  <tr>
    <td colspan="3">      <table width="804" height="59"  border="0" cellpadding="0" cellspacing="0" background="http://www.soundheadquarters.co.za/images/index_05.jpg">
        <tr>
          <td width="804"><table width="798" border="0" cellpadding="0" cellspacing="2">
            <tr>
              <td width="19">&nbsp;</td>
              <td width="773"><?php echo $mymenu_content ?></td>
            </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td colspan="3"> <img src="http://www.soundheadquarters.co.za/images/index_06.jpg" width="804" height="16" alt="" /></td>
  </tr>
  <tr>
    <td width="207"> <img src="http://www.soundheadquarters.co.za/images/index_07.jpg" width="207" height="115" alt="" /></td>
    <td width="70"> <img src="http://www.soundheadquarters.co.za/images/index_08.jpg" width="70" height="115" alt="" /></td>
    <td width="527" background="http://www.soundheadquarters.co.za/images/index_09.jpg" bgcolor="#187FA8"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="527" height="115">
      <param name="movie" value="http://www.soundheadquarters.co.za/images/topani5.swf" />
      <param name="quality" value="high" />
      <embed src="http://www.soundheadquarters.co.za/images/topani5.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="527" height="115"></embed>
    </object></td>
  </tr>
  <tr>
    <td colspan="2"> <img src="http://www.soundheadquarters.co.za/images/index_10.jpg" width="277" height="56" alt="" /></td>
    <td background="http://www.soundheadquarters.co.za/images/index_11.jpg"><table width="524" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="116">&nbsp;</td>
        <td width="202"><?php mosLoadModules ( 'user4' ); ?></td>
        <td width="206"><span class="small"><?php echo (strftime (_DATE_FORMAT_LC)); ?></span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table> </td>
  </tr>
  <tr>
    <td colspan="3"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td colspan="2"><?php include ("mainbody.php"); ?></td>
        </tr>
    </table></td>
  </tr>
</table>
<table width="804" height="157"  border="0" align="center" cellpadding="2" cellspacing="1" background="http://www.soundheadquarters.co.za/images/index_14.jpg" bgcolor="#CCCCCC">
  <tr>
    <td width="798" height="119"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
          <td><p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p></td>
        </tr>
        <tr>
          <td width="11%">&nbsp;</td>
          <td width="89%"><span class="style1">Website designed by <a href="http://www.interimage.co.za" target="_blank">InterImage Design</a> and Joomla Hosting by <a href="http://www.interimage-hosting.com" target="_blank">InterImage Hosting.com</a> </span></td>
        </tr>
    </table></td>
  </tr>
</table>
<table width="30%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" style="border-collapse: collapse">
  <tr>
    <td width="25%" valign="top">
      <?php if (mosCountModules( "user1" )) { ?>
      <br />
      <?php } ?></td>
    <td width="75%" valign="top">
      <p>&nbsp;</p></td>
  </tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>

</html>