if (document.images) {

image1on = new Image();

image1on.src = "images/mhomeon.gif";

image2on = new Image();

image2on.src = "images/mwhaton.gif";

image3on = new Image();

image3on.src = "images/mstartedon.gif";

image4on = new Image();

image4on.src = "images/mserviceson.gif";

image9on = new Image();

image9on.src = "images/mscheduleon.gif";

image5on = new Image();

image5on.src = "images/mstaffon.gif";

image6on = new Image();

image6on.src = "images/mphotoon.gif";

image10on = new Image();

image10on.src = "images/mnewson.gif";

image7on = new Image();

image7on.src = "images/mcontacton.gif";

image8on = new Image();

image8on.src = "images/mlinkson.gif";

image11on = new Image();

image11on.src = "images/mforumson.gif";

image12on = new Image();

image12on.src = "images/mkidson.gif";

image1off = new Image();

image1off.src = "images/mhomeoff.gif";

image2off = new Image();

image2off.src = "images/mwhatoff.gif";

image3off = new Image();

image3off.src = "images/mstartedoff.gif";

image4off = new Image();

image4off.src = "images/mservicesoff.gif";

image9off = new Image();

image9off.src = "images/mscheduleoff.gif";

image5off = new Image();

image5off.src = "images/mstaffoff.gif";

image6off = new Image();

image6off.src = "images/mphotooff.gif";

image10off = new Image();

image10off.src = "images/mnewsoff.gif";

image7off = new Image();

image7off.src = "images/mcontactoff.gif";

image8off = new Image();

image8off.src = "images/mlinksoff.gif";

image11off = new Image();

image11off.src = "images/mforumsoff.gif";

image12off = new Image();

image12off.src = "images/mkidsoff.gif";



}

function turnOn(imageName) {

  if (document.images) {

    document[imageName].src = eval(imageName + "on.src");

  }

}

function turnOff(imageName) {

  if (document.images) {

    document[imageName].src = eval(imageName + "off.src");
  }

}

 function dropDown( pageId ){
 	if( pageId == "services"   && document.getElementById("servicesDrop").style ){
 		document.getElementById("servicesDrop").style.display = "inline";	
 	}
 	if( pageId == "what" && document.getElementById("whatDrop").style  ){
 		document.getElementById("whatDrop").style.display = "inline";	
 	}
 }

 function showHighlight( index ){	
 	switch( index ){
 		case 1: document.getElementById("image1").src="images/mhomeon.gif";
 		document.getElementById("index").onmouseout="return turnOn('image1');"; 
 		break;
 		case 2: document.getElementById("image2").src="images/mwhaton.gif";
 		document.getElementById("what").onmouseout="return turnOn('image2');"; 
 		break;
 		case 3: document.getElementById("image4").src="images/mserviceson.gif";
 		document.getElementById("services").onmouseout="return turnOn('image4');"; 
 		break;
 		case 4: document.getElementById("image9").src="images/mscheduleon.gif";
 		document.getElementById("schedule").onmouseout="return turnOn('image9');"; 
 		break;
 		case 5: document.getElementById("image5").src="images/mstaffon.gif";
 		document.getElementById("staff").onmouseout="return turnOn('image5');"; 
 		break;
 		case 6: document.getElementById("image6").src="images/mphotoon.gif";
 		document.getElementById("gallery").onmouseout="return turnOn('image6');"; 
 		break;
 		case 7: document.getElementById("image10").src="images/mnewson.gif";
 		document.getElementById("news").onmouseout="return turnOn('image10');"; 
 		break;
 		case 8: document.getElementById("image7").src="images/mcontacton.gif";
 		document.getElementById("contactus").onmouseout="return turnOn('image7');"; 
 		break;
 		case 9: document.getElementById("image8").src="images/mlinkson.gif";
 		document.getElementById("links").onmouseout="return turnOn('image8');"; 
 		break;
 		case 10: document.getElementById("image12").src="images/mkidson.gif";
 		document.getElementById("kids").onmouseout="return turnOn('image12');";
 		break;
 		default: alert("Incorrect Selection");
 	}
 }
 
document.write("<table bgcolor=\"#0d65bf\" width=\"182\" cellSpacing=\"0\" cellPadding=\"0\" border=\"0\">");
document.write("<tr><td><a id=\"index\" href=\"index.htm\" onmouseout=\"turnOff('image1')\" onmouseover=\"turnOn('image1')\"><img id=\"image1\" src=\"images/mhomeoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image1\"></a></td></tr>");
document.write("<tr><td><a id=\"what\" href=\"what.htm\" onmouseout=\"turnOff('image2')\" onmouseover=\"turnOn('image2')\"><img id=\"image2\" src=\"images/mwhatoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image2\"></a></td></tr>");
document.write("<tr><td><table id=\"whatDrop\" style=\"display:none\"><tr><td>");
document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- <a href=\"getstarted.htm\"><b>Getting Started</b></a><br>");
document.write("<br></td></tr></table></td></tr>");
document.write("<tr><td height=1 bgcolor=\"#a6cff9\"></td></tr>");
document.write("<tr><td><a id=\"kids\" href=\"fitkids.htm\" onmouseout=\"turnOff('image12')\" onmouseover=\"turnOn('image12')\"><img id=\"image12\" src=\"images/mkidsoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image12\"></a></td></tr>");
document.write("<tr><td><a id=\"services\" href=\"services.htm\" onmouseout=\"turnOff('image4')\" onmouseover=\"turnOn('image4')\"><img id=\"image4\" src=\"images/mservicesoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image4\"></a></td></tr>");
document.write("<tr><td><table id=\"servicesDrop\" style=\"display:none\"><tr><td>");
document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- <b>Fitness</b></a><br>");
document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- <a href=\"jiujitsu.htm\"><b>Brazilian Jiu-Jitsu</b></a><br>");
document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- <a href=\"muaythai.htm\"><b>Muay Thai</b></a><br>");
document.write("<br></td></tr></table></td></tr>");
document.write("<tr><td height=1 bgcolor=\"#a6cff9\"></td></tr>");
document.write("<tr><td><a id=\"schedule\" href=\"schedule.htm\" onmouseout=\"turnOff('image9')\" onmouseover=\"turnOn('image9')\"><img id=\"image9\" src=\"images/mscheduleoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image9\"></a></td></tr>");
document.write("<tr><td><a id=\"staff\" href=\"staff.htm\" onmouseout=\"turnOff('image5')\" onmouseover=\"turnOn('image5')\"><img id=\"image5\" src=\"images/mstaffoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image5\"></a></td></tr>");
document.write("<tr><td><a id=\"gallery\" href=\"gallery.htm\" onmouseout=\"turnOff('image6')\" onmouseover=\"turnOn('image6')\"><img id=\"image6\" src=\"images/mphotooff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image6\"></a></td></tr>");
document.write("<tr><td><a id=\"news\" href=\"news.htm\" onmouseout=\"turnOff('image10')\" onmouseover=\"turnOn('image10')\"><img id=\"image10\" src=\"images/mnewsoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image10\"></a></td></tr>");
document.write("<tr><td><a id=\"contactus\" href=\"contactus.htm\" onmouseout=\"turnOff('image7')\" onmouseover=\"turnOn('image7')\"><img id=\"image7\" src=\"images/mcontactoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image7\"></a></td></tr>");
document.write("<tr><td><a href=\"http://forgednc.com/phpBB/index.php?sid=8d9a6732d11d484e398b9a7b0f9bf570\" onmouseout=\"turnOff('image11')\" onmouseover=\"turnOn('image11')\"><img src=\"images/mforumsoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image11\"></a></td></tr>");
document.write("<tr><td><a id=\"links\" href=\"links.htm\" onmouseout=\"turnOff('image8')\" onmouseover=\"turnOn('image8')\"><img id=\"image8\" src=\"images/mlinksoff.gif\" width=182 height=30 border=0 alt=\"\" name=\"image8\"></a></td></tr>");
document.write("<tr><td><br><br><img src=\"images/menupic.jpg\" width=182 height=237 border=0 alt=\"\"></td></tr>");
document.write("</table>");	

		
		
		
		
		
		
		

		


