function showMenu() {

document.write('		<div id="navbar" style="width:640px;float:right;text-align:right;">');
document.write('			<div id="nav">');
document.write('				<div id="m_owners" class="floatRight" onmouseover="hideSubs();"><a href="owners.html">Owners</a></div>');
document.write('				<div id="m_directions" class="floatRight" onmouseover="hideSubs();"><a href="directions.html">Directions</a></div>');
document.write('				<div id="m_events" class="floatRight" onmouseover="hideSubs();"><a target="_new" href="http://lakegenevawi.com/Calendar/events/?l=1">Events</a></div>');
document.write('				<div id="m_recreation" class="floatRight" onmouseover="hideSubs();showDiv(\'dd_recreation\');"><a href="recreation.html">Recreation</a></div>');
document.write('				<div id="m_weddings" class="floatRight" onmouseover="hideSubs();"><a href="weddings.html">Weddings</a></div>');
document.write('				<div id="m_meetings" class="floatRight" onmouseover="hideSubs();showDiv(\'dd_meetings\');"><a href="meetings.html">Meetings</a></div>');
document.write('				<div id="m_units" class="floatRight" onmouseover="hideSubs();"><a href="units.html">Units for Sale</a></div>');
document.write('				<div id="m_packages" class="floatRight" onmouseover="hideSubs();showDiv(\'dd_packages\');"><a href="packages.html">Packages</a></div>');
document.write('				<div id="m_suites" class="floatRight" onmouseover="hideSubs();showDiv(\'dd_suites\');"><a href="suites.html">Suites</a></div>');
document.write('				<div id="m_resort" class="floatRight" onmouseover="hideSubs();"><a href="index.html">Resort</a></div>');
document.write('    			</div>');
document.write('			<div id="dd_recreation" class="dd" style="display:none;">');
document.write('				<a href="recreation.html?q=rec_beaches">BEACHES</a>  &bull;');
document.write('				<a href="recreation.html?q=rec_biking">BIKING</a>  &bull;');
document.write('				<a href="recreation.html?q=rec_dining">DINING</a>  &bull;');
document.write('				<a href="recreation.html?q=rec_downtown">DOWNTOWN</a>  &bull;');
document.write('				<a href="recreation.html?q=rec_fishing">FISHING</a> &bull;');
document.write('				<a href="recreation.html?q=rec_golf">GOLF</a>  &bull;');
document.write('				<a href="recreation.html?q=rec_hiking">HIKING</a>  &bull;');
document.write('				<a href="recreation.html?q=rec_horseback">HORSEBACK RIDING</a>  &bull;');
document.write('				<a href="recreation.html?q=rec_nightlife">NIGHTLIFE</a>  &bull;');
document.write('				<a href="recreation.html?q=rec_skiing">SKIING/SNOWBOARDING</a><hr/>');
document.write('			</div>');
document.write('			<div id="dd_meetings" class="dd" style="display:none;">');
document.write('				<a href="meetings.html?q=meet_map">the MAP ROOM</a>  &bull;');
document.write('				<a href="meetings.html?q=meet_sandpiper">the SANDPIPER ROOM</a>  &bull;');
document.write('				<a href="meetings.html?q=meet_seagull">the SEAGULL ROOM</a>  &bull;');
document.write('				<a href="meetings.html?q=meet_lakeshore">the LAKESHORE</a>  &bull;');
document.write('				<a href="meetings.html?q=meet_promenade">the PROMENADE</a><hr/>');
document.write('			</div>');
document.write('			<div id="dd_packages" class="dd" style="display:none;">');
document.write('				<a href="packages.html?q=package_romance">ROMANCE</a>  &bull;');
document.write('				<a href="packages.html?q=package_ultimateRomance">ULTIMATE ROMANCE</a>  &bull;');
document.write('				<a href="packages.html?q=package_dancingHorses">DANCING HORSES</a>  &bull;');
document.write('				<a href="packages.html?q=package_familySun">FAMILY SUN</a>  &bull;');
document.write('				<a href="packages.html?q=package_massage">MASSAGE</a> &bull;');
document.write('				<a href="packages.html?q=package_girlsNightOut">GIRLS&apos; NIGHT OUT</a> &bull;');
document.write('				<a href="rewards.html">GUEST REWARDS</a><hr/>');
document.write('			</div>');
document.write('			<div id="dd_suites" class="dd" style="display:none;">');
document.write('				<a href="suites.html?q=suite_anchor">ANCHOR SUITE</a>  &bull;');
document.write('				<a href="suites.html?q=suite_commodore">COMMODORE SUITE</a>  &bull;');
document.write('				<a href="suites.html?q=suite_ensign">ENSIGN SUITE</a>  &bull;');
document.write('				<a href="suites.html?q=suite_belle">BELLE LOFT SUITE</a>  &bull;');
document.write('				<a href="suites.html?q=suite_dover">DOVER LOFT SUITE</a>  &bull;');
document.write('				<a href="suites.html?q=suite_flagship">FLAGSHIP SUITE</a>  &bull;');
document.write('				<a href="suites.html?q=suite_admiral">ADMIRAL SUITE</a><hr/>');
document.write('			</div>');
document.write('		</div>');
}

function highlightMenuItem(x) {
	document.getElementById(x).style.color= '#333';
	document.getElementById(x).style.borderColor= '#BCBCBC';
	document.getElementById(x).style.backgroundColor= '#fff';
	document.getElementById(x).style.opacity='0.5';
	document.getElementById(x).style.filter='alpha(opacity=50)';
}

function showLogo() {

document.write('		<div id=\"logo\">');
document.write('			<div id=\"socMedia\">');
document.write('				<a href=\"http://www.facebook.com/home.php?#/pages/Lake-Geneva-WI/The-Cove-of-Lake-Geneva/63356565835?sid=c0f36e7421cefae1a49abc32d06ef8c8&ref=search\" ');
document.write('				 alt=\"Follow THE COVE on FACEBOOK!\"> 	');
document.write('				<img id=\"FBicon\" onmouseover=\"this.style.opacity=1.0;this.filters.alpha.opacity=100\"');
document.write('				 onmouseout=\"this.style.opacity=0.3;this.filters.alpha.opacity=30\" border=\"0\" ');
document.write('				 src=\"newImages\\facebook-icon.jpg\" alt=\"Follow THE COVE on FACEBOOK!\" title=\"Follow THE COVE on FACEBOOK!\"></a>');
document.write('				<a href=\"http://www.twitter.com/TheCovelg\" ');
document.write('				 alt=\"Follow THE COVE on TWITTER!\" title=\"Follow THE COVE on TWITTER!\"> 	');
document.write('				<img id=\"TWITTERicon\" onmouseover=\"this.style.opacity=1.0;this.filters.alpha.opacity=100\"');
document.write('				 onmouseout=\"this.style.opacity=0.3;this.filters.alpha.opacity=30\" border=\"0\" ');
document.write('				 src=\"newImages\\twitter.png\" alt=\"Follow THE COVE on TWITTER!\"></a>');
document.write('			</div>');
document.write('			<a href=\"index.html\"><img src=\"newImages\\logo.png\" border=0 /></a><hr />');
document.write('		</div>');

}

function showFooter() {

document.write('		<div id=\"footer\">');
document.write('			800-770-7107 | <a href=\"http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=the+Cove+of+Lake+Geneva&sll=37.0625,-95.677068&sspn=34.534108,56.162109&ie=UTF8&hq=the+Cove+of+Lake+Geneva&hnear=&ll=42.602631,-88.421059&spn=0.119025,0.219383&z=12&iwloc=A\" style=\"text-decoration:none;\">111 Center Street</a> | ');
document.write('			<a href=\"http://www.lakegenevawi.com/\" style=\"text-decoration:none;\">Lake Geneva, WI</a> | ');
document.write('			<a href=\"http://www.genevahospitality.com\" style=\"text-decoration:none;\">Our Management</a> | ');
document.write('			<a href=\"mailto:reservations@genevahospitality.com\" style=\"text-decoration:none;\">Contact Us</a> | ');
document.write('			<a href=\"joblink\" style=\"text-decoration:none;\">Careers</a>');
document.write('		</div>');
document.write('		<div id=\"disclaimer\">');
document.write('			Copyright 2011 - the Cove of Lake Geneva - All Rights Reserved');
document.write('		</div>');



}

function showReservations1() {

document.write('		<div id=\"res\"><hr />');
document.write('			<p class=\"boldItal1\"><b>CHECK OUR RATES AND AVAILABILITY!</b></p>');
document.write('			<form id=\"input\" name=\"input\" action=\"http://clients.innroad.com/geneva/logon.aspx\" method=\"post\">');
document.write('				<div class=\"leftCell\">Adults: &nbsp;</div>');
document.write('				<div class=\"rightCell\"><input type=\"text\" name=\"adults\" size=\"1\" maxlength=\"2\" class=\"textarea\" value=\"1\" /><span class=\"greytext\">&nbsp;12+ years</span></div>');
document.write('				<div class=\"leftCell\">Kids: &nbsp;</div>');
document.write('				<div class=\"rightCell\"><input type=\"text\" name=\"children\" size=\"1\" maxlength=\"2\" class=\"textarea\" value=\"0\" /><span class=\"greytext\">&nbsp;Age 3-12</span></div>');
document.write('				<div class=\"leftCell\">Date Start: &nbsp;</div>');
document.write('				<div class=\"rightCell\"><input type=\"text\" name=\"dateStart\" id=\"dateStart\" size=\"7\" maxlength=\"12\" class=\"textarea\" />');
}

function showReservations2() {
document.write('				</div>');
document.write('				<div class=\"leftCell\">Date End: &nbsp;</div>');
document.write('				<div class=\"rightCell\"><input type=\"text\" name=\"dateEnd\" id=\"dateEnd\" size=\"7\" maxlength=\"12\" class=\"textarea\"/>');
}

function showReservations3() {
document.write('				</div>');
document.write('				<input type=\"hidden\" name=\"propertyID\" value=\"946\" />');
document.write('				<div class=\"button1\"><input type=\"submit\" value=\"LET\'S FIND YOUR SUITE!\" class=\"submitButton\" style=\"width:90%;\" /></div>');
document.write('			</form> ');
document.write('		</div>');

}

function showBanner() {
document.write('		<div id=\"banner\">');
// document.write('			<a href=\"http://plus.allforms.mailjol.net/u/7cc40168.php" target=\"_parent\">');
// document.write('				<img src=\"newImages\/theDeal.jpg\" border=0 />');

//document.write('			<a href=\"http://www.secure-res.com/res/vn4/checka.aspx?hotelid=3223&ri=129010\">');
//document.write('				<img src=\"newImages\/WinterBanner.jpg\" border=0 width=\"100%;\" />');
//document.write('			</a>');
document.write('				<img src=\"banners\/banner_blank.jpg\" border=0 width=\"100%;\" />');
document.write('		</div>');

}

function showBanner2() {
document.write('		<div id=\"banner\">');
document.write('				<img src=\"banners\/Fat2012a.jpg\" border=0 width=\"100%;\" />');
document.write('		</div>');
}

function hideDiv(x) {
	document.getElementById(x).style.display='none';
}

function showDiv(x) {
	document.getElementById(x).style.display='block';
}

function hideSubs() {
	document.getElementById('dd_recreation').style.display='none';
	document.getElementById('dd_meetings').style.display='none';
	document.getElementById('dd_packages').style.display='none';
	document.getElementById('dd_suites').style.display='none';
}
		

function gup( name )
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( window.location.href );
  if( results == null )
    return "";
  else
    return results[1];
}	

function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}
