<!-- Hide from old browsers
// Variables used to Banner section on login page
var t, c=0; // c is used as counter for the arrays
var timeToChange = 4000; // time is in milliseconds
var bannerImg = new Array(); // Array to store the files name of the banners
var bannerURL = new Array(); // Array to store URL in case that the banner has

bannerImg[0] = "banner_3.gif";
bannerImg[1] = "banner_4.gif";
//bannerImg[2] = "banner_6.gif";

bannerURL[0] = "http://www.uniteller.com/englishhtml/info_agentes_pagadores.html";
bannerURL[1] = "http://www.uniteller.com/englishhtml/info_agentes_pagadores.html";
//bannerURL[2] = "";

c=bannerImg.length-1;

/* Function used to change the banners on the login page
	it will identify if the banner has a URL or not, according to it it will call changeBanner or changeBannerURL
*/
function timedCount() {
	if (c==-1){
		c=bannerImg.length-1;
	}
	
	if (bannerURL[c] == ""){
		changeBanner(bannerImg[c]);
	} else {
		changeBannerURL(bannerImg[c], bannerURL[c]);
	}
	
	c=c-1;
	t=setTimeout("timedCount()",timeToChange);
}

/* 
	Function used to show the banner in the DIV without URL
*/
function changeBanner(imgName) {
	document.getElementById("banner").innerHTML= "<img src='/WebObjects/images/"+imgName+"'>";
}

/* 
	Function used to show the banner in the DIV with URL
*/
function changeBannerURL(imgName, imgURL) {
	document.getElementById("banner").innerHTML= "<a href='"+imgURL+"' target='_Blank'><img src='/WebObjects/images/"+imgName+"'></a>";
}

-->
