<!--

//Pop up information box II (Mike McGrath (mike_mcgrath@lineone.net,  http://website.lineone.net/~mike_mcgrath))
//Permission granted to Dynamicdrive.com to include script in archive
//For this and 100's more DHTML scripts, visit http://dynamicdrive.com

Xoffset=-60;    // modify these values to ...
Yoffset= 20;    // change the popup position.

var old,skn,iex=(document.all),yyy=-1000;

var ns4=document.layers
var ns6=document.getElementById&&!document.all
var ie4=document.all

if (ns4)
skn=document.dek
else if (ns6)
skn=document.getElementById("dek").style
else if (ie4)
skn=document.all.dek.style
if(ns4)document.captureEvents(Event.MOUSEMOVE);
else{
skn.visibility="visible"
skn.display="none"
}
document.onmousemove=get_mouse;

function popup(msg,bak){
var content="<TABLE  WIDTH=150 BORDER=2 BORDERCOLOR=black CELLPADDING=2 CELLSPACING=0 "+
"BGCOLOR="+bak+"><TD ALIGN=center><FONT COLOR=black SIZE=2>"+msg+"</FONT></TD></TABLE>";
yyy=Yoffset;
 if(ns4){skn.document.write(content);skn.document.close();skn.visibility="visible"}
 if(ns6){document.getElementById("dek").innerHTML=content;skn.display=''}
 if(ie4){document.all("dek").innerHTML=content;skn.display=''}
}

function get_mouse(e){
var x=(ns4||ns6)?e.pageX:event.x+document.body.scrollLeft;
skn.left=x+Xoffset;
var y=(ns4||ns6)?e.pageY:event.y+document.body.scrollTop;
skn.top=y+yyy;
}

function kill(){
yyy=-1000;
if(ns4){skn.visibility="hidden";}
else if (ns6||ie4)
skn.display="none"
}

document.write('<BR><a href="play.shtml" ONMOUSEOVER="popup(\'Where to Play; <BR>Golf Courses \',\'#CCFF99\')"; ONMOUSEOUT="kill()"><img SRC="images/play1.jpg"  BORDER=0 height=50 width=100 align=ABSCENTER></a>')
document.write('<a href="stay.shtml" ONMOUSEOVER="popup(\'Where to Stay; <BR>Play and Stay Deals\',\'#FFFF99\')"; ONMOUSEOUT="kill()"><img SRC="images/stay1.jpg" BORDER=0 height=50 width=100 align=ABSCENTER></a>')
document.write('<a href="drive.shtml" ONMOUSEOVER="popup(\'Where to Practice; <BR>Driving Ranges, Practice Facilities inside and out\',\'#FFCCCC\')"; ONMOUSEOUT="kill()"><img SRC="images/practice.jpg" BORDER=0 height=49 width=100 align=ABSCENTER></a>')
document.write('<a href="shop.shtml" ONMOUSEOVER="popup(\'Where to Shop and <BR>buy golf equipment\',\'#CCFF99\')"; ONMOUSEOUT="kill()" ><img SRC="images/shop1.jpg"  BORDER=0 height=50 width=100 align=ABSCENTER></a>')
document.write('<a href="learn.shtml" ONMOUSEOVER="popup(\'Where to Learn;<br> Teaching Professionals,<BR> Golf Tips, Rules\',\'#FFFF99\')"; ONMOUSEOUT="kill()" ><img SRC="images/learn1.jpg"  BORDER=0 height=50 width=100 align=ABSCENTER></a>')
document.write('<a href="deals.shtml" ONMOUSEOVER="popup(\'Where to find Golfing Deals \',\'#FFCCCC\')"; ONMOUSEOUT="kill()" ><img SRC="images/deals1.jpg"  BORDER=0 height=49 width=100 align=ABSCENTER></a>')
document.write('<a href="more.shtml" ONMOUSEOVER="popup(\'Links to More Golf web sites; Like the NSGA\',\'#FFFF99\')"; ONMOUSEOUT="kill()"  ><img SRC="images/more1.jpg"  BORDER=0 height=50 width=100 align=ABSCENTER></a>')
document.write('<a href="travel.shtml" ONMOUSEOVER="popup(\'Golf Travel links\',\'#FCCF99\')"; ONMOUSEOUT="kill()"  ><img SRC="images/travel1.jpg"  BORDER=0 height=50 width=100 align=ABSCENTER></a>')
document.write('<a href="weather.shtml" ONMOUSEOVER="popup(\'Links to Local Weather web sites\',\'#FFCCCC\')"; ONMOUSEOUT="kill()" ><img SRC="images/weath.jpg"  BORDER=0 height=62 width=100 align=ABSCENTER></a></center>')


//-->

