// JavaScript Document
<!--
function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
function Rates(rate, myname) {
var W=700;
var H=430;
var winl = (screen.width - W) / 2;
var wint = (screen.height - H) / 2;
var mystring = 'scrollbars=yes,status=yes,top='+wint+',left='+winl+',height='+H+',width='+W
win = window.open('../special/rates.php'+rate,myname, mystring);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function Special(special, myname) {
var W=570;
var H=300;
var winl = (screen.width - W) / 2;
var wint = (screen.height - H) / 2;
var mystring = 'scrollbars=yes,status=yes,top='+wint+',left='+winl+',height='+H+',width='+W
win = window.open('../special/special.php'+special, myname, mystring);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function Maps(map, myname) {
var W=530;
var H=440;
var winl = (screen.width - W) / 2;
var wint = (screen.height - H) / 2;
var mystring = 'status=yes,top='+wint+',left='+winl+',height='+H+',width='+W
win = window.open('../special/maps.php'+map,myname, mystring);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function AllPhotos(allphotos, myname) {
var W=600;
var H=600;
var winl = (screen.width - W) / 2;
var wint = (screen.height - H) / 2;
var mystring = 'status=yes,top='+wint+',left='+winl+',height='+H+',width='+W
win = window.open(''+allphotos, myname, mystring);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function Photos(photos, myname) {
var W=550;
var H=385;
var winl = (screen.width - W) / 2;
var wint = (screen.height - H) / 2;
var mystring = 'status=yes,top='+wint+',left='+winl+',height='+H+',width='+W
win = window.open(''+photos, myname, mystring);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function reviews(review, myname) {
var W=550;
var H=550;
var winl = (screen.width - W) / 2;
var wint = (screen.height - H) / 2;
var mystring = 'scrollbars=yes,status=yes,top='+wint+',left='+winl+',height='+H+',width='+W
win = window.open('../assets/detail.php'+review, myname, mystring);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


function Other(other, myname) {
var W=560;
var H=380;
var winl = (screen.width - W) / 2;
var wint = (screen.height - H) / 2;
var mystring = 'scrollbars=yes,status=yes,top='+wint+',left='+winl+',height='+H+',width='+W
win = window.open(''+other, myname, mystring);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function Others(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function Tanya(tanya, myname) {
var W=560;
var H=380;
var winl = (screen.width - W) / 2;
var wint = (screen.height - H) / 2;
var mystring = 'scrollbars=yes,status=yes,top='+wint+',left='+winl+',height='+H+',width='+W
win = window.open(''+tanya, myname, mystring);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

var iwin = null
var newwin = null
var H=575;
var V=300;
function openNwindow(special,wname) {
		var name = navigator.appName;
		if (name == "Microsoft Internet Explorer") {
			var myH = screen.availWidth
			var myV = screen.availHeight		
  		} else {
			var myH = window.outerWidth
			var myV = window.outerHeight
		}
		var centerH = myH*.5-H*.5
		var centerV = myV*.5-V*.5
		var mystring = "scrollbars=yes,status=yes,toolbar=no,location=no,menu=no,height=" + V + ",width=" + H
		iwin = window.open('../special/special.php'+special+"&fla=1",wname, mystring);
		iwin.moveTo(centerH,centerV);
		iwin.focus();
}

var iwin = null
var newwin = null
var V2=525;
var H2=440;
function openMap(map,wname) {
		var name = navigator.appName;
		if (name == "Microsoft Internet Explorer") {
			var myH = screen.availWidth
			var myV = screen.availHeight		
  		} else {
			var myH = window.outerWidth
			var myV = window.outerHeight
		}
		var centerH = myH*.5-H*.5
		var centerV = myV*.3-V*.5
		var mystring = "scrollbars=no,status=yes,toolbar=no,location=no,menu=no,height=" + H2 + ",width=" + V2
		iwin = window.open('../special/maps.php'+map+"&fla=1",wname, mystring);
		iwin.moveTo(centerH,centerV);
		iwin.focus();
}

