function photopopup(page){
var w = 625; <!--window width-->
var h = 475; <!--window height-->
var winl = (screen.width - w)/2;
var wint = (screen.height - h)/2;
var option = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+w+",height="+h+",top="+wint+",left="+winl;
window.open(page,'',option);
}

function photopopup2(page){
var w = 365; <!--window width-->
var h = 490; <!--window height-->
var winl = (screen.width - w)/2;
var wint = (screen.height - h)/2;
var option = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+w+",height="+h+",top="+wint+",left="+winl;
window.open(page,'',option);
}

function pets(page){
var w = 600; <!--window width-->
var h = 475; <!--window height-->
var winl = (screen.width - w)/2;
var wint = (screen.height - h)/2;
var option = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width="+w+",height="+h+",top="+wint+",left="+winl;
window.open(page,'',option);
}


var SHwin = null;
function ShowHotelPopUp(nm, lg, alt) {
//See if window is already open; close if it is
if (SHwin) {
   SHwin.close()
}
//Now set up for new window
var params = "toolbar= 0,location= 0,directories= 0,status= 0,menubar= 0,scrollbars= 0,resizable= 0,copyhistory= 0,";
params += "width= " + lg + ",innerWidth= " + lg + ",";
params += "height= " + alt + ",innerHeight= " + alt;
if (window.screen) {
    var ah = screen.availHeight - 30;
    var aw = screen.availWidth - 10;
    var xc = (aw - lg) / 3;
    var yc = (ah - alt) / 3;
    params += ",left=" + xc + ",screenX=" + xc;
    params += ",top=" + yc + ",screenY=" + yc;
  }
SHwin = window.open(nm,"SHpopup",params);
}


// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();

// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'photos/header_photo1.jpg'
Pic[1] = 'photos/header_photo2.jpg'
Pic[2] = 'photos/header_photo3.jpg'
Pic[3] = 'photos/header_photo4.jpg'
Pic[4] = 'photos/header_photo5.jpg'
Pic[5] = 'photos/header_photo6.jpg'
Pic[6] = 'photos/header_photo7.jpg'
Pic[7] = 'photos/header_photo8.jpg'


var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();

for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}

function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}

document.images.SlideShow.src = preLoad[j].src;

if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();

}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}