<!--
<!--

function openScript(openScript)
{
var desktop=window.open(openScript,"_blank","toolbar=no,location=no,status=yes,top=5,left=5,menubar=no,scrollbars=yes,width=620,height=400");
}
//-->

<!--
<!--

function openPOPScript(openPOPScript)
{
var desktop=window.open(openPOPScript,"_blank","toolbar=no,location=no,status=yes,top=5,left=5,menubar=no,scrollbars=no,width=340,height=240");
}
//-->

<!-- 
function promo() {window.open("promo.html", "promo", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,copyhistory=0,width=870,height=450");}
function tour_room2() {window.open("tour/business-suite/high/the-peech-high.htm", "tour_room2", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,copyhistory=0,width=533,height=447");}
function tour_room4() {window.open("tour/luxury-double/high/the-peech-high.htm", "tour_room4", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,copyhistory=0,width=533,height=447");}
function tour_room15() {window.open("tour/luxury-suite/high/the-peech-high.htm", "tour_room15", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,copyhistory=0,width=533,height=447");}
function tour_bistro() {window.open("tour/bistro/high/the-peech-high.htm", "tour_bistro", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,copyhistory=0,width=533,height=447");}
function tour_boardroom() {window.open("tour/boardroom/high/the-peech-high.htm", "tour_boardroom", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,copyhistory=0,width=533,height=447");}
function rates() {window.open("rates.html", "rates", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0,width=870,height=350");}

// -->
// -->
// -->

<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}
function MM_findObj(n, d) { //v3.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); return x;}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}
//-->

<!-- Begin
function popUp_map(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=780,height=565');");
}
// End -->

<!-- Hide from old browsers
	function display() {
		var picture = new Array();
  popupScreen("offer.html");
}
 function popupScreen(popupPage)
{
counter = 1;
myWindow = window.open(popupPage,"offer","scrollbars=no,resizable=no,height=240,width=390,left=10,top=200");
myWindow.focus();
}
// Stop hiding from old browsers -->


<!---
function jumpBox(list) {location.href = list.options[list.selectedIndex].value}
// --->

<!-- Begin
function formHandler(){
var URL = document.list.prodList.options[document.list.prodList.selectedIndex].value;
window.location.href = URL;
// End -->
}



<!-- Hide from old browsers

	function display() {
		var picture = new Array();

  // Pictures to be displayed

		picture[0] = "../images/home1.jpg";
		picture[1] = "../images/home2.jpg";
		picture[2] = "../images/home3.jpg";
		picture[3] = "../images/home4.jpg";
		picture[4] = "../images/home5.jpg";
		picture[5] = "../images/home6.jpg";

  // Selecting the seconds 

  var seconds;
  var number;
  var today = new Date();
  seconds = today.getSeconds();

  // Choosing which picture should be displayed

  if (seconds  <= 60) { number = 5; }
  if (seconds  <= 50) { number = 4; }
  if (seconds  <= 40) { number = 3; }
  if (seconds  <= 30) { number = 2; }
  if (seconds  <= 20) { number = 1; }
  if (seconds  <= 10) { number = 0; }

  document.images[0].src=picture[number]; 
  // for testing only 
  // return seconds;

  popupScreen("popup.html");
}

 function popupScreen(popupPage)
{
counter = 1;
myWindow = window.open(popupPage,"popup","scrollbars=no,resizable=no,height=240,width=390,left=350,top=25");
myWindow.focus();
}


// Stop hiding from old browsers -->

<!-- Begin
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

ns3up = (browserName == "Netscape" && browserVer >= 3);
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);

function doPic(imgName) {
if (ns3up || ie4up) {
imgOn = ("" + imgName);
document.mainpic.src = imgOn;
   }
}
//  End -->

<!-- Begin

if (parent.frames.length > 0) {
    parent.location.href = self.document.location
}

//  End -->

<!-- Begin
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

ns3up = (browserName == "Netscape" && browserVer >= 3);
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);

function doPic(imgName) {
if (ns3up || ie4up) {
imgOn = ("" + imgName);
document.mainpic.src = imgOn;
   }
}
//  End -->
