// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
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 = "/images/natural-black-hair-products.jpg"
ads[1].href = "http://fromgrandmaskitchen.com/fgkdirect/naanis-naturals-beauty-care-products/"
ads[1].border = "0"
ads[1].mouseover = "Free Shipping on Orders Over $50"
ads[1].sponsor = "naani\'s naturals salon quality hair care products"

ads[2].width = "468"
ads[2].height = "100"
ads[2].src = "/images/natural-black-hair-products1.jpg"
ads[2].href = "http://fromgrandmaskitchen.com/fgkdirect/naanis-naturals-beauty-care-products/"
ads[2].border = "0"
ads[2].mouseover = "Free Shipping on Orders Over $50"
ads[2].sponsor = "naani\'s naturals salon quality hair care products"

ads[3].width = "468"
ads[3].height = "100"
ads[3].src = "/images/natural-black-hair-products2.jpg"
ads[3].href = "http://fromgrandmaskitchen.com/fgkdirect/naanis-naturals-beauty-care-products/"
ads[3].border = "0"
ads[3].mouseover = "Free Shipping on Orders Over $50"
ads[3].sponsor = "naani\'s naturals salon quality hair care products"

ads[4].width = "468"
ads[4].height = "140"
ads[4].src = "/images/natural-black-hair-products3.jpg"
ads[4].href = "http://fromgrandmaskitchen.com/fgkdirect/naanis-naturals-beauty-care-products/"
ads[4].border = "0"
ads[4].mouseover = "Free Shipping on Orders Over $50"
ads[4].sponsor = "naani\'s naturals salon quality hair care products"

ads[5].width = "468"
ads[5].height = "140"
ads[5].src = "/images/natural-black-hair-products4.jpg"
ads[5].href = "http://fromgrandmaskitchen.com/fgkdirect/naanis-naturals-beauty-care-products/"
ads[5].border = "0"
ads[5].mouseover = "Free Shipping on Orders Over $50"
ads[5].sponsor = "naani\'s naturals salon quality hair care products"

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><font size=1 face=helvetica>Please visit our sponsor: ' + image.sponsor + '</font></a>'

