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 = 1;   
//Be sure to update this count of ads, below...
//*************************************



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

top2fr[1].width = "220";
top2fr[1].height = "50";
top2fr[1].src = "";



top2fr[1].width = "220";
top2fr[1].height = "50";top2fr[1].src = "http://tesla3.com/banners/hydroreacteur_220_fr.jpg";
top2fr[1].href = "http://hydroreacteur.com";
top2fr[1].target = "_blank";
top2fr[1].border = "0";
top2fr[1].mouseover = "Economisez votre carburant";
top2fr[1].sponsor = ""
;









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

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

