// JavaScript Document

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true; }

function Special(special, myname) {
var W=560;
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 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 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 Photos(photos, myname) {
var W=560;
var H=380;
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 Maps(maps, myname) {
var W=530;
var H=430;
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'+maps,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 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(); }
}