//suckerfish dropdowns for IE
sfHover = function() {
	var sfEls = document.getElementById("menunav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function photoView(resortbase, hotelName, photonum)
{
	window.open("_photolanding.asp?resortbase="+resortbase+"&hotelname="+hotelName+"&photonum="+photonum, "photos", "width=625,height=500,scrollbars=no,status=no,resizable=no");
}

function vTour(url, w, h)
{
	window.open(url, "vtour",  "width="+w+",height="+h+",scrollbars=no,status=no,resizable=no");
}

function close_window()
{
	window.close();
}

function mainOpen(url)
{
	window.opener.location.href=url;
	window.opener.focus();
}
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}
function popup(url) 
{
 var width  = 400;
 var height = 400;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
 params += ', top='+top+', left='+left;
 params += ', directories=no';
 params += ', location=no';
 params += ', menubar=no';
 params += ', resizable=no';
 params += ', scrollbars=no';
 params += ', status=no';
 params += ', toolbar=no';
 newwin=window.open(url,'windowname5', params);
 if (window.focus) {newwin.focus()}
 return false;
}