	// Sitewide objects
	var PicJPG = new Array()
	PicJPG[0] = "c_more";

	var PicGIF = new Array()
	PicGIF[0] = "nav_philosophy";
	PicGIF[1] = "nav_accommodations";
	PicGIF[2] = "nav_rates";
	PicGIF[3] = "nav_features";
	PicGIF[4] = "nav_gallery";
	PicGIF[5] = "nav_islamorada";
	PicGIF[6] = "nav_reservations";
	PicGIF[7] = "nav_contact";
	PicGIF[8] = "navemail";
	PicGIF[9] = "nav_guestbook";
	PicGIF[10] = "nav_todo";
	PicGIF[11] = "nav_home";
	
	for(x=0;x<PicJPG.length;x++){
	  eval(PicJPG[x]+" = new Image();");
	  eval(PicJPG[x]+".src = 'img/"+PicJPG[x]+"0.jpg';");
	  eval(PicJPG[x]+"1 = new Image();");
	  eval(PicJPG[x]+"1.src = 'img/"+PicJPG[x]+"1.jpg';");
	}
	for(x=0;x<PicGIF.length;x++){
	  eval(PicGIF[x]+" = new Image();");
	  eval(PicGIF[x]+".src = 'img/"+PicGIF[x]+"0.gif';");
	  eval(PicGIF[x]+"1 = new Image();");
	  eval(PicGIF[x]+"1.src = 'img/"+PicGIF[x]+"1.gif';");
	}
	
function mover(obj) {
	if (document.images) {
		eval( "document." + obj + ".src = " + obj + "1.src;");
		return 1;
	}
}

function mout(obj) {
	if (document.images) {
		eval( "document." + obj + ".src = " + obj + ".src;");
		return 1;
	}
}

function PopUp(nURL,winName,popW,popH) {
  	w = screen.width ; h = screen.height
  	if (document.layers) {
    		if ((w >= 800) && (w <= 1028)) {w = 1028}
    		if ((h >= 600) && (h <= 780))  {h = 780}
    		if ((w >= 640) && (w <= 800))  {w = 800}
    		if ((h >= 480) && (h <= 600))  {h = 600}
    		if (w <= 640) {w = 640}
    		if (h <= 480) {h = 480}
  	}
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	var windowprops = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no" + ",left=" + leftPos + ",top=" + topPos + ",width=" + popW + ",height=" + popH;
	popup = window.open(nURL,winName,windowprops);
	if (popup.blur) {
	  popup.focus();
	}
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'block':(v='hide')?'none':v; }
    obj.display=v; }
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function link_tour(link_url) {
	newWin=window.open(link_url,"vtWin","HEIGHT=350,WIDTH=400");
	newWin.focus();
	return 1;
}

function swapRates(nShowIt){
	switch(nShowIt){
		case 1:
			MM_showHideLayers('nRates1','','show');
			MM_showHideLayers('nRates2','','hide');
			MM_showHideLayers('nRates3','','hide');
			break;
		case 2:
			MM_showHideLayers('nRates1','','hide');
			MM_showHideLayers('nRates2','','show');
			MM_showHideLayers('nRates3','','hide');
			break;
		case 3:
			MM_showHideLayers('nRates1','','hide');
			MM_showHideLayers('nRates2','','hide');
			MM_showHideLayers('nRates3','','show');
	}
}
