function create() {
        this.width = ''
        this.height = ''
        this.src = ''
        this.href = ''
        this.border = ''
        this.mouseover = ''
        this.sponsor = ''
}
ads = new Array()
for(var i=1; i<=9; i++) { ads[i] = new create() }

ads[1].width = "168"
ads[1].height = "247"
ads[1].src = "http://www.swacsm.org/rotator/ut-168x247.jpg"
ads[1].href = "#"
ads[1].border = "0"
ads[1].mouseover = "Utah"

ads[2].width = "170"
ads[2].height = "193"
ads[2].src = "http://www.swacsm.org/rotator/nvruby_06-170x193.jpg"
ads[2].href = "#"
ads[2].border = "0"
ads[2].mouseover = "Nevada Ruby Mountains"

ads[3].width = "170"
ads[3].height = "218"
ads[3].src = "http://www.swacsm.org/rotator/azWinterMist-170x218.jpg"
ads[3].href = "#"
ads[3].border = "0"
ads[3].mouseover = "Arizona"

ads[4].width = "170"
ads[4].height = "220"
ads[4].src = "http://www.swacsm.org/rotator/hawaii2-170x220.jpg"
ads[4].href = "#"
ads[4].border = "0"
ads[4].mouseover = "Hawaii"

ads[5].width = "170"
ads[5].height = "263"
ads[5].src = "http://www.swacsm.org/rotator/nevada1-170x236.jpg"
ads[5].href = "#"
ads[5].border = "0"
ads[5].mouseover = "Nevada"

ads[6].width = "170"
ads[6].height = "216"
ads[6].src = "http://www.swacsm.org/rotator/hawaii1-170x216.jpg"
ads[6].href = "#"
ads[6].border = "0"
ads[6].mouseover = "Hawaii"

ads[7].width = "170"
ads[7].height = "217"
ads[7].src = "http://www.swacsm.org/rotator/azVerdeRiver-170x217.jpg"
ads[7].href = "#"
ads[7].border = "0"
ads[7].mouseover = "Arizona"

ads[8].width = "170"
ads[8].height = "207"
ads[8].src = "http://www.swacsm.org/rotator/newmexico1-170x207.jpg"
ads[8].href = "#"
ads[8].border = "0"
ads[8].mouseover = "New Mexico"

ads[9].width = "170"
ads[9].height = "263"
ads[9].src = "http://www.swacsm.org/rotator/california3-170x227.jpg"
ads[9].href = "#"
ads[9].border = "0"
ads[9].mouseover = "California"

var n = Math.random() + ''
n = parseInt(n.charAt(9))
if(n >9) {
        n = n - 9
}
else if(n==0) {
        n = n + 9
}
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