var numeroBanche=13;
var timeoutRotazione = 1500;
var contatoreBanca=0;
var nomeFileLogoBanca=new Array();


nomeFileLogoBanca[0]="/prestitionline/loghi169p61/agos-ducato.gif"; 
nomeFileLogoBanca[1]="/prestitionline/loghi169p61/citifinancial.gif"; 
nomeFileLogoBanca[2]="/prestitionline/loghi169p61/consum-it.gif"; 
nomeFileLogoBanca[3]="/prestitionline/loghi169p61/santander.gif"; 
nomeFileLogoBanca[4]="/prestitionline/loghi169p61/e-consel.gif";  
nomeFileLogoBanca[5]="/prestitionline/loghi169p61/credit-lift-elastys.gif"; 
nomeFileLogoBanca[6]="/prestitionline/loghi169p61/fiditalia.gif"; 
nomeFileLogoBanca[7]="/prestitionline/loghi169p61/findomestic.gif"; 
nomeFileLogoBanca[8]="/prestitionline/loghi169p61/ktesios.jpg"; 
nomeFileLogoBanca[9]="/prestitionline/loghi169p61/neos-finance.gif"; 
nomeFileLogoBanca[10]="/prestitionline/loghi169p61/pitagora.gif";  
nomeFileLogoBanca[11]="/prestitionline/loghi169p61/sigla-credit.gif";
nomeFileLogoBanca[12]="/prestitionline/loghi169p61/unicredit.gif";  


var urlLink=new Array();

urlLink[0]="/home/indexbanchefin.asp";
urlLink[1]="/home/indexbanchefin.asp";
urlLink[2]="/home/indexbanchefin.asp";
urlLink[3]="/home/indexbanchefin.asp";
urlLink[4]="/home/indexbanchefin.asp";
urlLink[5]="/home/indexbanchefin.asp";
urlLink[6]="/home/indexbanchefin.asp";
urlLink[7]="/home/indexbanchefin.asp";
urlLink[8]="/home/indexbanchefin.asp";
urlLink[9]="/home/indexbanchefin.asp";
urlLink[10]="/home/indexbanchefin.asp";
urlLink[11]="/home/indexbanchefin.asp";
urlLink[12]="/home/indexbanchefin.asp";


function eseguiRotazioneBanche(){
	if (contatoreBanca>numeroBanche-1){
		contatoreBanca=0;
	}
	
	if ((document.domain.search("10.") * 1) >= 0)
		document.banche.src= parent.location.protocol + '//10.0.0.145' + nomeFileLogoBanca[contatoreBanca];
	else
		document.banche.src= parent.location.protocol + '//img.gruppomol.it' + nomeFileLogoBanca[contatoreBanca];

	if (document.getElementById("link_banche") != null)
		document.getElementById("link_banche").href=urlLink[contatoreBanca];
	contatoreBanca++;
	setTimeout("eseguiRotazioneBanche()",timeoutRotazione);
}

eseguiRotazioneBanche();