function create() {
        this.width = ''
        this.height = ''
        this.src = ''
        this.href = ''
        this.border = ''
        this.mouseover = ''
        this.sponsor = ''
}
var noAds = 13;
ads = new Array()
for(var i=1; i<=noAds; i++) { ads[i] = new create() }
ads[1].width = "468";
ads[1].height = "60";
ads[1].src = "http://www.canadiantire.ca/affiliates/featured_default_468x60.gif";
ads[1].href = "http://service.bfast.com/bfast/click?bfmid=37919549&siteid=41055431&bfpage=specials_eng";
ads[1].border = "1";
ads[1].mouseover = "Click to Go to Canadian Tire";
ads[1].sponsor = "Canadian Tire";

ads[2].width = "468";
ads[2].height = "60";
ads[2].src = "http://images.paypal.com/images/paypal_mrb_banner.gif";
ads[2].href = "https://www.paypal.com/row/mrb/pal=48DKW4MXBQVFG";
ads[2].border = "1";
ads[2].mouseover = "Click to Go to PayPal";
ads[2].sponsor = "PayPal";

ads[3].width = "468";
ads[3].height = "60";
ads[3].src = "http://images.bravenet.com/affiliate/pub/br1.gif";
ads[3].href = "http://www.bravenet.com/?afilid=1287303338";
ads[3].border = "1";
ads[3].mouseover = "Click to go to Bravenet";
ads[3].sponsor = "Bravenet";

ads[4].width = "468";
ads[4].height = "60";
ads[4].src = "http://www.qksrv.net/image-1464797-5377629";
ads[4].href = "http://www.qksrv.net/click-1464797-5377629";
ads[4].border = "1";
ads[4].mouseover = "Click to go to Ebay";
ads[4].sponsor = "Ebay";

ads[5].width = "468";
ads[5].height = "60";
ads[5].src = "http://www.safarisounds.com/images/ikobo1.gif";
ads[5].href = "http://www.ikobo.com/ref.cgi?r=KK913078CA";
ads[5].border = "1";
ads[5].mouseover = "Click to go to Ikobo";
ads[5].sponsor = "Ikobo";

ads[6].width = "468";
ads[6].height = "60";
ads[6].src = "http://www.qksrv.net/image-1464797-5063226";
ads[6].href = "http://www.qksrv.net/click-1464797-5063226";
ads[6].border = "1";
ads[6].mouseover = "Click here for eBay.ca ";
ads[6].sponsor = "eBay.ca";

ads[7].width = "468";
ads[7].height = "60";
ads[7].src = "http://www.qksrv.net/image-1464797-5050659";
ads[7].href = "http://www.qksrv.net/click-1464797-5050659";
ads[7].border = "1";
ads[7].mouseover = "Come Sing With Us";
ads[7].sponsor = "MP3 Karaoke";

ads[8].width = "468";
ads[8].height = "60";
ads[8].src = "http://www.qksrv.net/image-1464797-10289813";
ads[8].href = "http://www.qksrv.net/click-1464797-10289813";
ads[8].border = "1";
ads[8].mouseover = "Musicmatch Jukebox 8.2 featuring music downloads";
ads[8].sponsor = "Musicmatch Jukebox ";

ads[9].width = "468";
ads[9].height = "60";
ads[9].src = "http://www.qksrv.net/image-1464797-10292742";
ads[9].href = "http://www.qksrv.net/click-1464797-10292742";
ads[9].border = "1";
ads[9].mouseover = "Robeez Baby Shoe Shop";
ads[9].sponsor = "Robeez";

ads[10].width = "468";
ads[10].height = "60";
ads[10].src = "http://www.qksrv.net/image-1464797-10286175";
ads[10].href = "http://www.qksrv.net/click-1464797-10286175";
ads[10].border = "1";
ads[10].mouseover = "The Shopping Channel";
ads[10].sponsor = "The Shopping Channel";

ads[11].width = "468";
ads[11].height = "60";
ads[11].src = "http://www.enigmasoftwaregroup.com/images/me2.gif";
ads[11].href = "http://www.enigmasoftwaregroup.com/affiliate5/link.php?ref=659&productid=6";
ads[11].border = "1";
ads[11].mouseover = "SpyHunter";
ads[11].sponsor = "SpyHunter";

ads[12].width = "468";
ads[12].height = "60";
ads[12].src = "http://www.canadiantire.ca/affiliates/468x60_en_gc.jpg";
ads[12].href = "http://service.bfast.com/bfast/click?bfmid=37919549&siteid=41055431&bfpage=gift_certificate_eng";
ads[12].border = "1";
ads[12].mouseover = "Canadian Tire Gift Certificates";
ads[12].sponsor = "Canadian Tire";

ads[13].width = "468";
ads[13].height = "60";
ads[13].src = "http://www.incomeaccess.com/processing/impressions.asp?btag=a_3581b_794";
ads[13].href = "http://www.incomeaccess.com/processing/clickthrgh.asp?btag=a_3581b_794";
ads[13].border = "1";
ads[13].mouseover = "Casino Webcam";
ads[13].sponsor = "Casino Webcam";

var n = Math.random();
n = n*(noAds+1);
n = parseInt(n);
if(n >noAds) {
        n = n - noAds;
}

else if(n==0) {
        n = n + noAds;
}
n += "";

var image = ads[n];
var ad = "";
ad += '<a href="' + image.href + '" target=_blank \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>';
