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 = 2;   
//Be sure to update this count of ads, below...//*************************************

headleft = new Array();for(var i=1; i<=adcount; i++) { headleft[i] = new create() }headleft[1].width = "151";headleft[1].height = "151";headleft[1].src = "";


headleft[1].width = "151";headleft[1].height = "151";headleft[1].src = "http://tesla3.com/images/zz_hydro_logo1.jpg";headleft[1].href = "http://hydroreacteur.com";headleft[1].target = "_blank";headleft[1].border = "0";headleft[1].mouseover = "Econimisez votre carburant";headleft[1].sponsor = "";

headleft[2].width = "151";headleft[2].height = "151";headleft[2].src = "http://tesla3.com/images/zz_hydro_logo1.jpg";headleft[2].href = "http://hydroreactor.net";headleft[2].target = "_blank";headleft[2].border = "0";headleft[2].mouseover = "Save on fuel";headleft[2].sponsor = "";

var n = randNum(adcount);n += "";var image = headleft[n];var headleft = "";headleft += '<a href="' + image.href + '" \n';headleft += 'target="' + image.target + '" \n';headleft += 'onMouseOver="self.status=\'' + image.mouseover + '\'\;return true" \n';headleft += 'onMouseOut="self.status=\'\'"> \n';headleft += '<img src="' + image.src + '" width=' + image.width;headleft += '\n height=' + image.height + ' border=' + image.border;headleft += '\n><br><br> ' + image.sponsor + '</a>';
