// Image Slideshow script
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/

function create() {
        this.src = ''
}
ads = new Array()
for(var i=1; i<=8; i++) { ads[i] = new create() }

// add image names here

ads[1].src = "images1/images/2_ch1.jpg"
ads[2].src = "images1/images/3_ch1.jpg"
ads[3].src = "images1/images/4_ch1.jpg"
ads[4].src = "images1/images/5_ch1.jpg"
ads[5].src = "images1/images/7_ch1.jpg"
ads[6].src = "images1/images/9_ch1.jpg"
ads[7].src = "images1/images/10_ch1.jpg"
ads[8].src = "images1/images/11_ch1.jpg"

var n = Math.random() + ''
n = parseInt(n.charAt(8))
if(n >8) {
        n = n - 8
}
else if(n==0) {
        n = n + 8
}
n += ""

var image = ads[n]
var ad = ""
// if the name of the folder is different than 'images', change the name below. Also change alt text below, according to website name. Also, change the alignment, if necessary.
ad += '<img src="images/' + image.src + '" align="right" border="0" alt="Benitses Arches photos - φωτογραφία ιστοσελίδας Benitses Arches">'