function BuildHeader ()
{
	if (window.location.hostname == "members.localnet.com")
		basetmp = "http://www.soniqboom.net/";
	else
		basetmp = "";
//	alert(basetmp);
    
	ma = new Array();
	ma=[{ref:basetmp + "music.htm", title:"Listen to us", text:"MusiQ"},
		{ref:basetmp + "critiques.htm", title:"Feedback from clients", text:"CritiQues"},
		{ref:basetmp + "photos.htm", title:"See what we look like", text:"PiQtures"},
		{ref:basetmp + "Bios.htm", title:"Read about us", text:"Bios"},
		{ref:basetmp + "schedule.htm", title:"Find out when &amp; where we're playing", text:"SQhedule"},
		{ref:basetmp + "index.htm", title:"The main page", text:"SoniQ Boom Home"},
		{ref:basetmp + "MailList.htm", title:"Mailing List", text:"Mailing List"},
		{ref:basetmp + "contact.htm", title:"Call or write us !", text:"ContaQt"},
		{ref:basetmp + "links.htm", title:"Check out these sites !", text:"LinQs"},
		{ref:basetmp + "archives.htm", title:"Old News", text:"ArQhives"}
		];

	headerstring = "<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" height=\"100%\" background=\"WB00673L.gif\">"+
	"<tr bgcolor=\"#3366cc\">"+
		"<td width=\"100%\" bgcolor=\"#3366cc\" height=\"140\" colspan=\"3\" >"+
		"<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" >"+
			"<tr>"+
				"<td width=\"30%\" valign=\"top\" bordercolor=\"#3366cc\">"+
					"<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#ffffff\">"+
	            "<tr>"+
	                "<td width=\"100%\" valign=\"top\" align=\"left\" bordercolorlight=\"#000000\"><IMG height=28 src=\"soniqb.gif\" width=270 border=0>"+
	                "</td>"+
	              "</tr>"+
	            "</table>"+
				"</td>"+
	          "<td width=\"60%\" valign=\"top\" bordercolor=\"#3366cc\"><IMG height=130 src=\"header.jpg\" width=547 border=0 ></td>"+
	        "</tr>"+
	      "</table>"+
	    "</td>"+
	  "</tr>"+
	  "<tr height=\"10\">"+
	    "<td width=\"100%\" bgcolor=\"#3366cc\" colspan=\"3\">"+
	    "<hr>"+
	    "</td>"+
	  "</tr>"+
	  "<tr>"+
	    "<td width=\"20%\" valign=\"top\" bgcolor=\"#3366cc\"><center>"+
	      "<table border=\"0\" cellspacing=\"0\" cellPadding=\"0\">"+
	        "<tbody>"+
	        "<tr>&nbsp;</tr>";	// one blank entry;
	document.writeln (headerstring);
	
//	<--! script generates table contents -->

	// Fill in the table containing the menu
	for(var i = 0; i < ma.length; i++)
	{
		var menuEntry;
		menuEntry = "<tr style=\"font-size: 12pt\" bgcolor=\"#3366cc\"><td onMouseOver=\"hilite(this)\" onMouseOut=\"unhilite(this)\"><a href=\""
		menuEntry += ma[i].ref;
		menuEntry += "\" title=\""
		menuEntry += ma[i].title;
		menuEntry += "\" class=\"Menu\">";
		menuEntry += ma[i].text;
		menuEntry += "</a></td></tr>";
//		alert(menuEntry);
		document.writeln (menuEntry);
	}

	headerstring =	
	   "</tbody>"+
	      "</table>"+
	      "</center>"+
	      "<div style=\"DISPLAY: none\">"+
	      "</div>"+
    "</td>"+
    "<td width=\"5%\" valign=\"top\" align=\"left\"><IMG height=29 src=\"test.gif\" width=30 border=0></td>"+
    "<td width=\"75%\" valign=\"top\">";
	document.writeln (headerstring);
    //<!--End of header -->
    
	prot = window.location.protocol;
	if (prot != "http:")
	{
		document.writeln ("<p><hr><center><b>Visit <a title=\"switch from the CD to the web\" href=\"http://www.soniqboom.net\">Soniq Boom</a> on the web for the most up-to-date stuff !</b></center>");
	}

}
function BuildFooter()
{
//<!--Start of footer --></p>
		document.writeln ("</td></tr></table>");
}
function hilite (object)
{
	object.setAttribute('bgColor', 'yellow');
}
function unhilite (object)
{
	object.setAttribute('bgColor', '');
}

