

// Image Slideshow script
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
// NR commented out the links, so that the image is no longer an 'ad' banner

function create() {
        this.width = ''
        this.height = ''
        this.src = ''
        this.href = ''
        this.border = ''
        this.mouseover = ''
        this.sponsor = ''
}
ads = new Array()
for(var i=1; i<=15; i++) { ads[i] = new create() }

ads[1].width = "274"
ads[1].height = "312"
ads[1].src = "images/right1.jpg"
ads[1].border = "0"
//ads[1].href = "http://planmagic.com/business_plan/hotel_business_plan.html"
//ads[1].mouseover = "Click here to enter the PlanMagic Hotel world"
//ads[1].sponsor = "PlanMagic Hotel"

ads[2].width = "274"
ads[2].height = "312"
ads[2].src = "images/right2.jpg"
ads[2].border = "0"

ads[3].width = "274"
ads[3].height = "312"
ads[3].src = "images/right3.jpg"
ads[3].border = "0"

ads[4].width = "274"
ads[4].height = "312"
ads[4].src = "images/right4.jpg"
ads[4].border = "0"

ads[5].width = "274"
ads[5].height = "312"
ads[5].src = "images/right5.jpg"
ads[5].border = "0"

ads[6].width = "274"
ads[6].height = "312"
ads[6].src = "images/right6.jpg"
ads[6].border = "0"

ads[7].width = "274"
ads[7].height = "312"
ads[7].src = "images/right7.jpg"
ads[7].border = "0"

ads[8].width = "274"
ads[8].height = "312"
ads[8].src = "images/right8.jpg"
ads[8].border = "0"

ads[9].width = "274"
ads[9].height = "312"
ads[9].src = "images/right9.jpg"
ads[9].border = "0"

ads[10].width = "274"
ads[10].height = "312"
ads[10].src = "images/right10.jpg"
ads[10].border = "0"

ads[11].width = "274"
ads[11].height = "312"
ads[11].src = "images/right11.jpg"
ads[11].border = "0"

ads[12].width = "274"
ads[12].height = "312"
ads[12].src = "images/right12.jpg"
ads[12].border = "0"

ads[13].width = "274"
ads[13].height = "312"
ads[13].src = "images/right13.jpg"
ads[13].border = "0"

ads[14].width = "274"
ads[14].height = "312"
ads[14].src = "images/right14.jpg"
ads[14].border = "0"

ads[15].width = "274"
ads[15].height = "312"
ads[15].src = "images/right15.jpg"
ads[15].border = "0"

var n = Math.random() + ''
n = parseInt(n.charAt(15))
if(n >15) {
        n = n - 15
}
else if(n==0) {
        n = n + 15
}
n += ""

var image = ads[n]
var ad = ""
//ad += '<a href="' + image.href + '" \n'
//ad += 'onMouseOver="self.status=\'' + image.mouseover + '\'\;return true" \n'
//ad += 'onMouseOut="self.status=\'\'"> \n'
ad += '<img src="' + image.src + '" width=' + image.width
ad += '\n height=' + image.height + ' border=' + image.border
//ad += '\n><br>Please visit our sponsor: ' + image.sponsor + '</a>'


// Open Window scripts

function openWin(URL){
aWindow=window.open(URL, "thewindow", "width=570,height=500,status=no,menu=no,scrollbars=yes,resizable=yes");
}

function openWin2(URL){
otherWindow=window.open(URL, "otherwindow", "width=550,height=350,status=no,menu=no,scrollbars=yes,resizable=yes");
}

function openSmallWin(URL){
aWindow=window.open(URL, "smallwindow", "width=450,height=450,status=no,menu=no,scrollbars=yes,resizable=yes");
}


// Popups go here
// popupWindow = window.open ("xmas.htm", "xmas", "status=no,width=300,height=400,scrollbars=no,resizable=no,menubar=no");

// open Kouloglou page
function openWin(URL){
aWindow=window.open(URL, "thewindow", "width=650,height=500,status=no,menu=no,scrollbars=yes,resizable=yes");
}

