/*var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");

document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));*/



var topinclude = "";

var locmenu = "";



topinclude += "<div style=\"width:960px\"><a href=\"home.php\"><img src=\"images/newheader.jpg\" width=\"960\" height=\"94\" border=\"0\" alt=\"\" id=\"logo\"></a></div>";



topinclude += "<div id=\"topnav\">";



/***********************************************

* All Levels Navigational Menu- (c) Dynamic Drive DHTML code library (http://www.dynamicdrive.com)

* This notice MUST stay intact for legal use

* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code

***********************************************/



topinclude += "<div id=\"ddtopmenubar\">";



//topinclude += "<div><img src=\"images/topnav/divider.gif\" width=\"29\" height=\"30\" border=\"0\"></div>";

if(_url.indexOf("/contact.php") > -1){

	topinclude += "<div><a href=\"contact.php\" rel=\"ddsubmenu7\"><img src=\"images/topnav/contact-on.gif\" width=\"72\" height=\"30\" border=\"0\" name=\"nav7\" alt=\"CONTACT\"></a></div>";

}else{

	topinclude += "<div><a href=\"contact.php\" rel=\"ddsubmenu7\" onMouseOver=\"imgChange('images/topnav/contact-on.gif', 'nav7')\" onMouseOut=\"imgChange('images/topnav/contact.gif', 'nav7')\"><img src=\"images/topnav/contact.gif\" width=\"72\" height=\"30\" border=\"0\" name=\"nav7\" alt=\"CONTACT\"></a></div>";

}

topinclude += "<div><img src=\"images/topnav/divider.gif\" width=\"29\" height=\"30\" border=\"0\"></div>";

if(_url.indexOf("/photos.php") > -1){

	topinclude += "<div><a href=\"photos.php\" rel=\"ddsubmenu6\"><img src=\"images/topnav/photos-on.gif\" width=\"64\" height=\"30\" border=\"0\" name=\"nav6\" alt=\"PHOTOS\"></a></div>";

}else{

	topinclude += "<div><a href=\"photos.php\" rel=\"ddsubmenu6\" onMouseOver=\"imgChange('images/topnav/photos-on.gif', 'nav6')\" onMouseOut=\"imgChange('images/topnav/photos.gif', 'nav6')\"><img src=\"images/topnav/photos.gif\" width=\"64\" height=\"30\" border=\"0\" name=\"nav6\" alt=\"PHOTOS\"></a></div>";

}

topinclude += "<div><img src=\"images/topnav/divider.gif\" width=\"29\" height=\"30\" border=\"0\"></div>";

if(_url.indexOf("/gameroom.php") > -1){

	topinclude += "<div><a href=\"gameroom.php\"><img src=\"images/topnav/gameroom-on.gif\" width=\"95\" height=\"30\" border=\"0\" name=\"nav5\" alt=\"GAME ROOM\"></a></div>";

}else{

	topinclude += "<div><a href=\"gameroom.php\" onMouseOver=\"imgChange('images/topnav/gameroom-on.gif', 'nav5')\" onMouseOut=\"imgChange('images/topnav/gameroom.gif', 'nav5')\"><img src=\"images/topnav/gameroom.gif\" width=\"95\" height=\"30\" border=\"0\" name=\"nav5\" alt=\"GAME ROOM\"></a></div>";

}

topinclude += "<div><img src=\"images/topnav/divider.gif\" width=\"29\" height=\"30\" border=\"0\"></div>";

if(_url.indexOf("/billiards.php") > -1){

	topinclude += "<div><a href=\"billiards.php\"><img src=\"images/topnav/billiards-on.gif\" width=\"78\" height=\"30\" border=\"0\" name=\"nav3\" alt=\"BILLIARDS\"></a></div>";

}else{

	topinclude += "<div><a href=\"billiards.php\" onMouseOver=\"imgChange('images/topnav/billiards-on.gif', 'nav3')\" onMouseOut=\"imgChange('images/topnav/billiards.gif', 'nav3')\"><img src=\"images/topnav/billiards.gif\" width=\"78\" height=\"30\" border=\"0\" name=\"nav3\" alt=\"BILLIARDS\"></a></div>";

}

topinclude += "<div><img src=\"images/topnav/divider.gif\" width=\"29\" height=\"30\" border=\"0\"></div>";

if(_url.indexOf("/menu.php") > -1){

	topinclude += "<div><a href=\"menu.php\"><img src=\"images/topnav/menu-on.gif\" width=\"50\" height=\"30\" border=\"0\" name=\"nav4\" alt=\"MENU\"></a></div>";

}else{

	topinclude += "<div><a href=\"menu.php\" onMouseOver=\"imgChange('images/topnav/menu-on.gif', 'nav4')\" onMouseOut=\"imgChange('images/topnav/menu.gif', 'nav4')\"><img src=\"images/topnav/menu.gif\" width=\"50\" height=\"30\" border=\"0\" name=\"nav4\" alt=\"MENU\"></a></div>";

}

topinclude += "<div><img src=\"images/topnav/divider.gif\" width=\"29\" height=\"30\" border=\"0\"></div>";

if(_url.indexOf("/functions.php") > -1){

	topinclude += "<div><a href=\"functions.php\"><img src=\"images/topnav/functions-on.gif\" width=\"87\" height=\"30\" border=\"0\" name=\"nav2\" alt=\"FUNCTIONS\"></a></div>";

}else{

	topinclude += "<div><a href=\"functions.php\" onMouseOver=\"imgChange('images/topnav/functions-on.gif', 'nav2')\" onMouseOut=\"imgChange('images/topnav/functions.gif', 'nav2')\"><img src=\"images/topnav/functions.gif\" width=\"87\" height=\"30\" border=\"0\" name=\"nav2\" alt=\"FUNCTIONS\"></a></div>";

}topinclude += "<div><img src=\"images/topnav/divider.gif\" width=\"29\" height=\"30\" border=\"0\"></div>";

if(_url.indexOf("/events.php") > -1){

topinclude += "<div><a href=\"events.php\"><img src=\"images/topnav/events-on.gif\" width=\"130\" height=\"30\" border=\"0\" name=\"nav1\" alt=\"EVENTS CALENDAR\"></a></div>";	

}else{

	if(_url.indexOf("/events.php") > -1 /*|| _url.indexOf("/tour_") > -1 || _url.indexOf("/party_") > -1*/){

		topinclude += "<div><a href=\"events.php\" rel=\"ddsubmenu1\"><img src=\"images/topnav/events-on.gif\" width=\"130\" height=\"30\" border=\"0\" name=\"nav1\" alt=\"EVENTS CALENDAR\"></a></div>";

	}else{

		topinclude += "<div><a href=\"events.php\" rel=\"ddsubmenu1\" onMouseOver=\"imgChange('images/topnav/events-on.gif', 'nav1')\" onMouseOut=\"imgChange('images/topnav/events.gif', 'nav1')\"><img src=\"images/topnav/events.gif\" width=\"130\" height=\"30\" border=\"0\" name=\"nav1\" alt=\"EVENTS CALENDAR\"></a></div>";

	}

}








topinclude += "</div>";



d.write(topinclude);

d.write(locmenu);



ddlevelsmenu.setup("ddtopmenubar", "topbar") //Set up this All Levels Menu instance (called body onload)



function homeFlashPadding(){

	var lyrObj = (d.layers)?d['top']:d.all?d.all['top'].style:d.getElementById('top').style;

	lyrObj.margin = "0 0 20px 0";

}

if(locmenustay){

	homeFlashPadding();

}

