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

ads[1].width = "468"
ads[1].height = "60"
ads[1].src = "http://simplythebest.net/scripts/DHTML_scripts/javascripts/jscript53/finance_pro.gif"
ads[1].href = "http://planmagic.com/financial_planning.html"
ads[1].border = "0"
ads[1].mouseover = "Click here to enter the PlanMagic financial planning world"
ads[1].sponsor = "PlanMagic Finance Pro"

ads[2].width = "117"
ads[2].height = "38"
ads[2].src = "http://simplythebest.net/images/mainslogan.gif"
ads[2].href = "http://simplythebest.net"
ads[2].border = "0"
ads[2].mouseover = "The More Info Channel"
ads[2].sponsor = "SimplytheBest.net"

ads[3].width = "287"
ads[3].height = "60"
ads[3].src = "http://simplythebest.net/images/stbnetmain.gif"
ads[3].href = "http://simplythebest.net"
ads[3].border = "0"
ads[3].mouseover = "Do we need to say more?"
ads[3].sponsor = "Simply the Best"

ads[4].width = "468"
ads[4].height = "60"
ads[4].src = "http://simplythebest.net/scripts/DHTML_scripts/javascripts/jscript53/plmmarban.gif"
ads[4].href = "http://planmagic.com/marketing_planning.html"
ads[4].border = "0"
ads[4].mouseover = "Marketing planning software"
ads[4].sponsor = "PlanMagic Marketing"

ads[5].width = "468"
ads[5].height = "60"
ads[5].src = "http://simplythebest.net/scripts/DHTML_scripts/javascripts/jscript53/plmrest.gif"
ads[5].href = "http://planmagic.com/business_plan/restaurant_business_plan.html"
ads[5].border = "0"
ads[5].mouseover = "Enter the world of professional restaurant planning"
ads[5].sponsor = "PlanMagic Restaurant"

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