
function drawPageHeaderHead(titleText) {

	document.write("<link rel=StyleSheet href=\"clubgolf.css\" type=\"text/css\">\n");
	document.write("<title>Club Golf</title>\n");
}

function drawPageHeaderBody(titleText) {

	a = new Array;
	a[0] = new Image;
	a[0].src = "home_mo.gif";
	a[1] = new Image;
	a[1].src = "contactus_mo.gif";
	a[2] = new Image;
	a[2].src = "aboutus_mo.gif";
	a[3] = new Image;
	a[3].src = "equipment_mo.gif";
	a[4] = new Image;
	a[4].src = "persacc_mo.gif";
	a[5] = new Image;
	a[5].src = "jobopps_mo.gif";
	a[6] = new Image;
	a[6].src = "custfit_mo.gif";
	a[8] = new Image;
	a[8].src = "golfless_mo.gif";

	document.write("<\/head>\n");	
	document.write("<body bgcolor=\"#ffffff\" topmargin=\"0\" bottommargin=\"0\" leftmargin=\"0\" rightmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n");

//	if (navigator.appName == "Netscape") {
//	  document.write("<table width=\"102%\" height=\"102%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n");
//	} else {
	  document.write("<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n");
//	}

	document.write("<tr><td valign=\"top\">\n");

	document.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n");
	document.write("<tr>\n");
	document.write("<td background=\"top.gif\" valign=\"top\">")
	if (titleText != "desc" && titleText != "basket" && titleText != "checkout") {
		document.write("<img src=\"logo_top.gif\"><\/td>\n");
	} else {
		document.write("<img src=\"logo_top_desc.gif\"><\/td>\n");
	}
	document.write("<td background=\"top.gif\" valign=\"bottom\" align=\"right\"><img src=\"" + titleText + "_t.gif\" vspace=\"8\" hspace=\"10\"><\/td>\n");
	document.write("<\/tr>\n");
	document.write("<tr>\n");
	document.write("<td colspan=\"2\" valign=\"top\">\n");

    if (titleText != "desc" && titleText != "basket" && titleText != "checkout") {

	document.write("<table border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n");
	document.write("<tr><td valign=\"top\">\n");
	document.write("	<table width=\"150\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n");
	document.write("	<tr><td><a href=\"default.htm\" onmouseover='document.home.src=a[0].src' onmouseout='document.home.src=\"home_m.gif\"'><img name=\"home\" src=\"home_m.gif\" border=\"0\"><\/a><\/td><\/tr>\n");
	document.write("	<tr><td><a href=\"contact.html\" onmouseover='document.contactus.src=a[1].src' onmouseout='document.contactus.src=\"contactus_m.gif\"'><img name=\"contactus\" src=\"contactus_m.gif\" border=\"0\"><\/a><\/td><\/tr>\n");
	document.write("	<tr><td><a href=\"aboutus.html\" onmouseover='document.aboutus.src=a[2].src' onmouseout='document.aboutus.src=\"aboutus_m.gif\"'><img name=\"aboutus\" src=\"aboutus_m.gif\" border=\"0\"><\/a><\/td><\/tr>\n");
	document.write("	<tr><td><a href=\"equipment.html\" onmouseover='document.equipment.src=a[3].src' onmouseout='document.equipment.src=\"equipment_m.gif\"'><img name=\"equipment\" src=\"equipment_m.gif\" border=\"0\"><\/a><\/td><\/tr>\n");
	document.write("	<tr><td><img src=\"spacer_m.gif\" border=\"0\"><\/td><\/tr>\n");
	document.write("	<tr><td><a href=\"persacc.html\" onmouseover='document.persacc.src=a[4].src' onmouseout='document.persacc.src=\"persacc_m.gif\"'><img name=\"persacc\" src=\"persacc_m.gif\" border=\"0\"><\/a><\/td><\/tr>\n");
	document.write("	<tr><td><a href=\"jobopp.asp\" onmouseover='document.jobopps.src=a[5].src' onmouseout='document.jobopps.src=\"jobopps_m.gif\"'><img name=\"jobopps\" src=\"jobopps_m.gif\" border=\"0\"><\/a><\/td><\/tr>\n");
	document.write("	<tr><td><a href=\"custfit.html\" onmouseover='document.custfit.src=a[6].src' onmouseout='document.custfit.src=\"custfit_m.gif\"'><img name=\"custfit\" src=\"custfit_m.gif\" border=\"0\"><\/a><\/td><\/tr>\n");
	document.write("	<tr><td><a href=\"golfless.html\" onmouseover='document.golfless.src=a[8].src' onmouseout='document.golfless.src=\"golfless_m.gif\"'><img name=\"golfless\" src=\"golfless_m.gif\" border=\"0\"><\/a><\/td><\/tr>\n");
	document.write("	<tr><td><img src=\"bottom_m.gif\" vspace=\"0\" hspace=\"0\"><\/td><\/tr>\n");
	document.write("	<\/table>\n");
	document.write("<\/td>\n");
	document.write("<td valign=\"top\" align=\"left\">\n");
    }
}

function drawPageFooter(titleText) {

    if (titleText != "desc" && titleText != "basket" && titleText != "checkout") {

	document.write("<\/td>\n");
	document.write("<\/tr>\n");
	document.write("<\/table>\n");


    }


	document.write("  <\/td>\n");
	document.write("  <\/tr>\n");
	document.write("<\/table>\n");

	document.write("    <\/td>\n");
	document.write("    <\/tr>\n");

	document.write("<tr>\n");
	document.write("<td valign=\"bottom\">\n");

	  document.write("  <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n");

	  document.write("<tr><td align=\"center\">&copy;")
	  document.write(" <a href=\"http:\/\/www.tjnetsolutions.co.uk\" target=\"_blank\">TJ NetSolutions<\/a>, 2000")
	  document.write("<\/td><\/tr>")

	  document.write("  <\/table>\n");
	document.write("<\/td>\n");
        document.write("<\/tr>\n");

	document.write("<\/table>\n");
	document.write("<\/body>\n");
	document.write("<\/html>\n");
}


