<!--
function swap(src, newSrc){
	document.images[src].src = newSrc;}

function preLoadImgs(){
	if (document.images){
		var imgs = preLoadImgs.arguments;
		var preLoadArray = new Array();
		
		for (var i=0 ; i<imgs.length ; i++){
			preLoadArray[i]=new Image;
			preLoadArray[i].src=imgs[i];
		}
	}
}

window.defaultStatus = 'T\'s';

//Global Variables
var OpenLayer = '';
var menuTimer;

function showMenu(which){//Show Menus Function
	if (document.all && !document.getElementById){//IE4 Detect
		clearTimeout(menuTimer);
		if (OpenLayer != ''){
		document.all[OpenLayer].style.visibility='hidden';}
		document.all[which].style.visibility='visible';
		OpenLayer = which;
	}
	else if (document.layers){//NN4 Detect
		clearTimeout(menuTimer);
		if (OpenLayer != ''){
		document.layers[OpenLayer].visibility='hide';}
		document.layers[which].visibility='show';
		OpenLayer = which;
	}
	else if (document.getElementById){//NN5 and IE5 and up browsers
		clearTimeout(menuTimer);
		if (OpenLayer != ''){
		document.getElementById(OpenLayer).style.visibility='hidden';}
		document.getElementById(which).style.visibility='visible';
		OpenLayer = which;
	}
}

function hideMenu(which){//Hide Menus Function Caller
	menuTimer = setTimeout('hideMenuNow(\''+which+'\')', 500);}

function hideMenuNow(which){//Hide Menus Function
	if (document.all && !document.getElementById)
		document.all[which].style.visibility='hidden';
	else if (document.layers)
		document.layers[which].visibility='hide';
	else if (document.getElementById)
		document.getElementById(which).style.visibility='hidden';		
}

//This Script from Macromedia Dreamweaver 4
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);

//WRITE MENUS TO PAGE
function loadMenus(){
document.open('text/HTML');
	if (document.layers){
	var upColor = '#8DDB9F';
	var overColor = '#E6D5D4';
	
		//Pro Shop Menu
		document.writeln('<layer id="PSMenu" left="132" top="95" visibility="hide" width="135" bgcolor="'+upColor+'">');
		document.writeln('<layer width="135" onMouseOver="this.bgColor=\'#E6D5D4\';showMenu(\'PSMenu\');" onMouseOut="this.bgColor=\'#8DDB9F\';hideMenu(\'PSMenu\');"><a href="About.html"><font face="Arial" size="2">About T\'s</font></a></layer>');
		document.writeln('<layer width="135" onMouseOver="this.bgColor=\'#E6D5D4\';showMenu(\'PSMenu\');" onMouseOut="this.bgColor=\'#8DDB9F\';hideMenu(\'PSMenu\');"><a href="Media.html"><font face="Arial" size="2">T\'s Media</font></a></layer>');
		document.writeln('<layer width="135" onMouseOver="this.bgColor=\'#E6D5D4\';showMenu(\'PSMenu\');" onMouseOut="this.bgColor=\'#8DDB9F\';hideMenu(\'PSMenu\');"><a href="Contact.html"><font face="Arial" size="2">Contact T\'s</font></a></layer>');
		document.writeln('</layer>');
		//Practice Facility Menu
		document.writeln('<layer id="PFMenu" left="214" top="95" bgcolor="'+upColor+'" visibility="hide">');
		document.writeln('<layer width="135" onMouseOver="this.bgColor=\''+overColor+'\';showMenu(\'PFMenu\');" onMouseOut="this.bgColor=\''+upColor+'\';hideMenu(\'PFMenu\');"><a href="Practice.html"><font face="Arial" size="2">Practice Facility</font></a></layer>');
		document.writeln('<br><layer width="135" onMouseOver="this.bgColor=\''+overColor+'\';showMenu(\'PFMenu\');" onMouseOut="this.bgColor=\''+upColor+'\';hideMenu(\'PFMenu\');"><a href="Par3.html"><font face="Arial" size="2">9 Hole Par 3</font></a></layer>');
		document.writeln('<br><layer width="135" onMouseOver="this.bgColor=\''+overColor+'\';showMenu(\'PFMenu\');" onMouseOut="this.bgColor=\''+upColor+'\';hideMenu(\'PFMenu\');"><a href="Mini.html"><font face="Arial" size="2">Miniature Golf</font></a></layer>');
		document.writeln('</layer>');
		//Lessons Menu
		document.writeln('<layer id="LessonsMenu" left="295" top="95" width="135" bgcolor="'+upColor+'" visibility="hide">');
		document.writeln('<layer width="135" onMouseOver="this.bgColor=\''+overColor+'\';showMenu(\'LessonsMenu\');" onMouseOut="this.bgColor=\''+upColor+'\';hideMenu(\'LessonsMenu\');"><a href="Lessons.html"><font face="Arial" size="2">T\'s Golf Instruction</font></a></layer>');
		document.writeln('<br><layer width="135" onMouseOver="this.bgColor=\''+overColor+'\';showMenu(\'LessonsMenu\');" onMouseOut="this.bgColor=\''+upColor+'\';hideMenu(\'LessonsMenu\');"><a href="Fitness.html"><font face="Arial" size="2">Fitness</font></a></layer>');
		document.writeln('<br><layer width="135" onMouseOver="this.bgColor=\''+overColor+'\';showMenu(\'LessonsMenu\');" onMouseOut="this.bgColor=\''+upColor+'\';hideMenu(\'LessonsMenu\');"><a href="GolfTips.html"><font face="Arial" size="2">Golf Tips</font></a></layer>');
		document.writeln('<br><layer width="135" onMouseOver="this.bgColor=\''+overColor+'\';showMenu(\'LessonsMenu\');" onMouseOut="this.bgColor=\''+upColor+'\';hideMenu(\'LessonsMenu\');"><a href="AskThePro.html"><font face="Arial" size="2">Ask The Pro</font></a></layer>');
		document.writeln('</layer>');
		//Home Menu
		document.writeln('<layer id="HomeMenu" left="378" top="95" width="135" bgcolor="'+upColor+'" visibility="hide">');
		document.writeln('</layer>');
		}
		else{//IE and N6 Menus
//Pro Shop Menu -------------------->>
document.writeln('<div id="PSMenu" style="position:absolute; left:124px; top:90px; width:147px; z-index:1; visibility: hidden">');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand;border-bottom-style:0px;" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'PSMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'PSMenu\');" onClick="parent.location=\'About.html\'"><font color="#FFFFFF" face="arial" size="2">About T\'s Golf</font></div>');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand;border-bottom-style:0px;" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'PSMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'PSMenu\');" onClick="parent.location=\'Media.html\'"><font color="#FFFFFF" face="arial" size="2">T\'s Media</font></div>');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand;border-bottom-style:0px;" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'PSMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'PSMenu\');" onClick="parent.location=\'Contact.html\'"><font color="#FFFFFF" face="arial" size="2">Contact T\'s Golf</font></div>');
document.writeln('</div>');//End Pro Shop Menu
//Practice Facility Menu -------------------->>
document.writeln('<div id="PFMenu" style="position:absolute; left:206px; top:90px; width:147px; height:103px; z-index:1; visibility: hidden">');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand;border-bottom-style:0px;" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'PFMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'PFMenu\');" onClick="parent.location=\'Practice.html\';"><font color="#FFFFFF" face="arial" size="2">Practice Facility</font></div>');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand;border-bottom-style:0px;" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'PFMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'PFMenu\');" onClick="parent.location=\'Par3.html\';"><font color="#FFFFFF" face="arial" size="2">9 Hole Par 3</font></div>');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'PFMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'PFMenu\');" onClick="parent.location=\'Mini.html\';"><font color="#FFFFFF" face="arial" size="2">Miniature Golf</font></div>');
document.write('</div>');//End Practice Facility Menu
//Lessons Menu -------------------->>
document.writeln('<div id="LessonsMenu" style="position:absolute; left:289px; top:90px; width:147px; height:103px; z-index:1; visibility: hidden">');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand;border-bottom-style:0px;" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'LessonsMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'LessonsMenu\');" onClick="parent.location=\'Lessons.html\';"><font color="#FFFFFF" face="arial" size="2">T\'s Golf Instruction</font></div>');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand;border-bottom-style:0px;" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'LessonsMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'LessonsMenu\');" onClick="location.href=\'Fitness.html\';"><font color="#FFFFFF" face="arial" size="2">Fitness</font></div>');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand;border-bottom-style:0px;" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'LessonsMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'LessonsMenu\');" onClick="location.href=\'GolfTips.html\';"><font color="#FFFFFF" face="arial" size="2">Golf Tips</font></div>');
document.writeln('<div style="border:1px solid #000000;background-color:#009900;width:130;cursor:hand;border-bottom-style:0px;" onMouseOver="this.style.backgroundColor=\'#990000\';showMenu(\'LessonsMenu\');" onMouseOut="this.style.backgroundColor=\'#009900\';hideMenu(\'LessonsMenu\');" onClick="location.href=\'AskThePro.html\';"><font color="#FFFFFF" face="arial" size="2">Ask The Pro</font></div>');
document.writeln('</div>');//End Lessons Menu
//Home Menu -------------------->>
document.writeln('<div id="HomeMenu" style="position:absolute; left:370px; top:90px; width:147px; height:103px; z-index:1; visibility: hidden">');
document.writeln('</div>');//End Home Menu
}
document.close();
}//End FUNCTION
//-->