

// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
function create() {
        this.width = ''
        this.height = ''
        this.src = ''
        this.href = ''
        this.border = ''
        this.mouseover = ''
        this.sponsor = ''
}
cads = new Array()
for(var i=1; i<=6; i++) { cads[i] = new create() }

cads[1].width = "208"
cads[1].height = "208"
cads[1].src = "http://simplygoodstuff.com/_images/hotstuff-mop.jpg"
cads[1].href = "http://www.simplygoodstuff.com/microfiber_mop_scrubbydoo.html"
cads[1].border = "0"
cads[1].mouseover = "12&quot; StarFiber Microfiber Mop Set"


cads[2].width = "208"
cads[2].height = "208"
cads[2].src = "http://simplygoodstuff.com/_images/hotstuff-comforter.jpg"
cads[2].href = "http://www.simplygoodstuff.com/comforter_downalt.html"
cads[2].border = "0"
cads[2].mouseover = "Down Alternative Comforter"


cads[3].width = "208"
cads[3].height = "208"
cads[3].src = "http://simplygoodstuff.com/_images/hotstuff-littlehusks.jpg"
cads[3].href = "http://www.simplygoodstuff.com/littlehusks_set.html"
cads[3].border = "0"
cads[3].mouseover = "Little Husks Tableware Set"

cads[4].width = "208"
cads[4].height = "208"
cads[4].src = "http://simplygoodstuff.com/_images/hotstuff-soothingzone.jpg"
cads[4].href = "http://www.simplygoodstuff.com/mistfountain_soothingzone.html"
cads[4].border = "0"
cads[4].mouseover = "Soothing Zone Mist Fountain"


cads[5].width = "208"
cads[5].height = "208"
cads[5].src = "http://simplygoodstuff.com/_images/hotstuff-peeler.jpg"
cads[5].href = "http://www.simplygoodstuff.com/star_peeler.html"
cads[5].border = "0"
cads[5].mouseover = "Star Vegetable Peeler by Zena"

cads[6].width = "208"
cads[6].height = "208"
cads[6].src = "http://simplygoodstuff.com/_images/hotstuff-evrisink.jpg"
cads[6].href = "http://www.simplygoodstuff.com/evrisink_strainer.html"
cads[6].border = "0"
cads[6].mouseover = "Evri-Sink Strainer"



var n = Math.random() + ''
n = parseInt(n.charAt(6))
if(n >6) {
        n = n - 6
}
else if(n==0) {
        n = n + 6
}
n += ""

var image = cads[n]
var cad = ""
cad += '<a href="' + image.href + '" \n'
cad += 'onMouseOver="self.status=\'' + image.mouseover + '\'\;return true" \n'
cad += 'onMouseOut="self.status=\'\'"> \n'
cad += '<img src="' + image.src + '" width=' + image.width
cad += '\n height=' + image.height + ' border=' + image.border
cad += '\n>' + '</a>'



