	<!--
		
var max=3; // the number of banners to be rotated
var thisBanner=1; // initially banner 1
var banner=new MakeBannerArray(max); // create an array of banners

function MakeBannerArray(n)
	{
	this.length=n;
	for (var i=1; i<=n;i++)
		{
		this[i]="";
		}
	return this;
	}
	
// then populate the array with the banner links and file path	
		
banner[1]='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=4,0,2,0" width="467" height="57" name="banner-credibankempresarial"><param name="movie" value="../../imagenes/banner-credibankempresarial.swf"><param name="quality" value="best"><param name="play" value="true"><embed src="../../imagenes\/banner-credibankempresarial.swf" type="application\/x-shockwave-flash" width="467" height="57" pluginspage="http:\/\/www.macromedia.com\/shockwave\/download\/index.cgi?P1_Prod_Version=ShockwaveFlash" quality="best" play="true" name="banner-credibankempresarial.swf"><\/embed></\object>';

banner[2]='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=4,0,2,0" width="467" height="57" name="banner-credinet"><param name="movie" value="../../imagenes/banner-credinet.swf"><param name="quality" value="best"><param name="play" value="true"><embed src="../../imagenes\/banner-credinet.swf" type="application\/x-shockwave-flash" width="467" height="57" pluginspage="http:\/\/www.macromedia.com\/shockwave\/download\/index.cgi?P1_Prod_Version=ShockwaveFlash" quality="best" play="true" name="banner-credinet.swf"><\/embed></\object>';

banner[3]='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=4,0,2,0" width="467" height="57" name="banner-credipago"><param name="movie" value="../../imagenes/banner-credipago.swf"><param name="quality" value="best"><param name="play" value="true"><embed src="../../imagenes\/banner-credipago.swf" type="application\/x-shockwave-flash" width="467" height="57" pluginspage="http:\/\/www.macromedia.com\/shockwave\/download\/index.cgi?P1_Prod_Version=ShockwaveFlash" quality="best" play="true" name="banner-credipago.swf"><\/embed></\object>';

// the random number function returns a number 1 to max
function rand(n)
	{
	rnum=Math.floor(n*Math.random())+1
	return rnum;
	}
		

// the function that is called from the body script
function setBanner()
	{
	thisBanner=rand(max);
	}		
		
		
		
//-->		
