

// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
function create() {
        this.width = ''
        this.height = ''
        this.src = ''
        this.href = ''
        this.border = ''
        this.mouseover = ''
        this.sponsor = ''
}
bads = new Array()
for(var i=1; i<=6; i++) { bads[i] = new create() }

bads[1].width = "205"
bads[1].height = "290"
bads[1].src = "http://simplygoodstuff.com/_images/ad_dryerball.jpg"
bads[1].href = "http://www.simplygoodstuff.com/dryer_magic-dryerballs.htm"
bads[1].border = "0"
bads[1].mouseover = "A Safe & Natural Alternative to Fabric Softener! "


bads[2].width = "205"
bads[2].height = "290"
bads[2].src = "http://simplygoodstuff.com/_images/ad_outfountain.jpg"
bads[2].href = "http://www.simplygoodstuff.com/outdoor_fountains.html"
bads[2].border = "0"
bads[2].mouseover = "Outdoor Fiberglass Fountains. Get the look of stone for less!"


bads[3].width = "205"
bads[3].height = "290"
bads[3].src = "http://simplygoodstuff.com/_images/ad_laundryball.jpg"
bads[3].href = "http://www.simplygoodstuff.com/washit_laundryball.html"
bads[3].border = "0"
bads[3].mouseover = "A Safe & Natural Alternative to Laundry Detergent!"

bads[4].width = "205"
bads[4].height = "290"
bads[4].src = "http://simplygoodstuff.com/_images/ad_outfountain.jpg"
bads[4].href = "http://www.simplygoodstuff.com/outdoor_fountains.html"
bads[4].border = "0"
bads[4].mouseover = "Outdoor Fiberglass Fountains. Get the look of stone for less!"


bads[5].width = "205"
bads[5].height = "290"
bads[5].src = "http://simplygoodstuff.com/_images/ad_waterbroom.jpg"
bads[5].href = "http://www.simplygoodstuff.com/water_broom.html"
bads[5].border = "0"
bads[5].mouseover = "Clean your Driveway Fast and Easy. A Great Power Washer and Water Broom!"


bads[6].width = "205"
bads[6].height = "290"
bads[6].src = "http://simplygoodstuff.com/_images/ad_windowwasher.jpg"
bads[6].href = "http://www.simplygoodstuff.com/microfiber_window-washer.html"
bads[6].border = "0"
bads[6].mouseover = "Professional Results in Half the Time! Window Washing Made Easy."


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 = bads[n]
var bad = ""
bad += '<a href="' + image.href + '" \n'
bad += 'onMouseOver="self.status=\'' + image.mouseover + '\'\;return true" \n'
bad += 'onMouseOut="self.status=\'\'"> \n'
bad += '<img src="' + image.src + '" width=' + image.width
bad += '\n height=' + image.height + ' border=' + image.border
bad += '\n>' + '</a>'



