function a(txt) {
	self.status = txt;
}
function b() {
	self.status = '';
} 


function create() {
	this.width = '';
	this.height = '';
	this.src = '';
	this.href = '';
	this.target = '';
	this.border = '';
	this.mouseover = '';
	this.sponsor = '';
}

function randNum (num) {
   var Now = new Date;
   var rand = Math.round(num * Math.sin(Now.getTime() - 843683177440));
   if (rand < 0) rand = -rand;
   if (rand == 0) rand++;
   return rand;
}



//*************************************
adcount = 3;   //Be sure to update this count of ads, below...
//*************************************

TopAds = new Array();
for(var i=1; i<=adcount; i++) { TopAds[i] = new create() }

TopAds[1].width = "468";
TopAds[1].height = "60";
TopAds[1].src = "http://www.ms-blues.com/images/banners/bassreeves_ignore468.jpg";
TopAds[1].href = "http://www.ms-blues.com/ccount/click.php?id=158";
TopAds[1].target = "_blank";
TopAds[1].border = "0";
TopAds[1].mouseover = "Bass Reeves - If You Ignore The Truth";
TopAds[1].sponsor = "";

TopAds[2].width = "468";
TopAds[2].height = "60";
TopAds[2].src = "http://ms-blues.com/images/banners/wbtfbi468.jpg";
TopAds[2].href = "http://www.ms-blues.com/ccount/click.php?id=172";
TopAds[2].target = "_blank";
TopAds[2].border = "0";
TopAds[2].mouseover = "Wanted by the FBI";
TopAds[2].sponsor = "";

TopAds[3].width = "468";
TopAds[3].height = "60";
TopAds[3].src = "http://www.ms-blues.com/images/banners/sweetsuzi468x60.jpg";
TopAds[3].href = "http://www.bluesexperienceband.com/";
TopAds[3].target = "_blank";
TopAds[3].border = "0";
TopAds[3].mouseover = "Sweet Suzi & the Blues Experience";
TopAds[3].sponsor = "";



var n = randNum(adcount);
n += '';

var image = TopAds[n];
var TopAd = '';
TopAd += '<a href="' + image.href + '" \n';
TopAd += 'target="' + image.target + '" \n';
TopAd += 'onMouseOver="self.status=\'' + image.mouseover + '\'\;return true" \n';
TopAd += 'onMouseOut="self.status=\'\'"> \n';
TopAd += '<img src="' + image.src + '" width=' + image.width;
TopAd += '\n height=' + image.height + ' border=' + image.border;
TopAd += '></a>';
//TopAd += image.sponsor;
