<!-- top Banner

number_of_sponsors=3;

var sctr=0;
var halt=0;
var isn=new Array();
for (i=0;i<number_of_sponsors;i++)
{
 isn[i]=new Image();
}


isn[0].src="../images/banner/jazz_big_banner.gif";
isn[1].src="../images/banner/volvo_xc90.gif";
isn[2].src="../images/banner/hiace2005.gif";
//isn[1].src="../images/banner/rx330_banner.gif";


   
var durl=new Array();

durl[0]="http://www.hondajazzuae.com";
durl[1]="http://www.xc90uae.com";
durl[2]="http://www.toyotauae.com/english/section.aspx?id=1917";
//durl[1]="http://rx330.lexusuae.com";


   

var desc=new Array();

desc[0]="Honda Jazz";
desc[1]="Volvo XC 90";
desc[2]="Hiace 2005";
//desc[1]="Lexus RX330 ";



function rotateIt()
{
  if (halt!=1)
  {
	sctr++;
	if (sctr>number_of_sponsors-1)
	{
		sctr=0;
	}
	
	sctr=Math.floor(Math.random()*(number_of_sponsors))
	
	document.sponsor.src = isn[sctr].src;
	
	setTimeout("rotateIt()",20000);
  }
}

/*This code will work just fine with or without
 frames.However, if you are in frames a wish
 to replicate the TARGET="_top" call to remove
 frames, change the location href call to:
 parent.location.href=durl[sctr];
 below.*/
 
function doIt()
{
	halt=1;
	window.open(durl[sctr]);
	//self.location.href=durl[sctr];
}

function dispIt()
{
	self.window.status=desc[sctr];
}

// End Hiding -->
