<!--

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();
}

/* le seguenti righe indicano quali immagini andare a caricare all'interno del banner rotate. Per aggiungere altri banner, copiare una delle righe, incrementare il numero e cambiare il riferimento all'immagine */
isn[0].src="/images/banner/immagine01.gif";
isn[1].src="/images/banner/immagine02.gif";
isn[2].src="/images/banner/immagine03.gif";


/* Link associato alle rispettive immagini. Per aggiungere altri link, copiare una delle righe, incrementare il numero e cambiare il link */
var durl=new Array();
durl[0]="http://www.bridgebase.it/";
durl[1]="http://online.bridgebase.com/";
durl[2]="http://www.angelini.it/";

function rotateIta(){
 if (halt!=1){
  sctr++;
  if (sctr>number_of_sponsors-1){
   sctr=0;
   }
  document.banner01.src=isn[sctr].src;
  setTimeout("rotateIta()",5000); /* questo valore modifica la durata di apparizione dell'immagine e del rispettivo link . 1000= 1 secondo*/
  }
 }

/* This code will work just fine with or without frames.  However, if you are in frames and 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]);
 //parent.location.href=durl[sctr];
 }

function dispIt(){
 parent.window.status=durl[sctr];
 }
 
//-->



<!--

number_of_sponsors2=2;

var sctr2=0;
var halt2=0;
var isn2=new Array();
for (i=0;i<number_of_sponsors2;i++){
 isn2[i]=new Image();
}

/* le seguenti righe indicano quali immagini andare a caricare all'interno del banner rotate. Per aggiungere altri banner, copiare una delle righe, incrementare il numero e cambiare il riferimento all'immagine */
isn2[0].src="/images/nextvac1.gif";
isn2[1].src="/images/nextvac2.gif";



/* Link associato alle rispettive immagini. Per aggiungere altri link, copiare una delle righe, incrementare il numero e cambiare il link */
var durl2=new Array();
durl2[0]="http://www.imperialrhodes.gr/default-en.html";
durl2[1]="http://www.h-bernardin.si/it/grand_hotel_bernardin";


function rotateIta2(){
 if (halt2!=1){
  sctr2++;
  if (sctr2>number_of_sponsors2-1){
   sctr2=0;
   }
  document.banner201.src=isn2[sctr2].src;
  setTimeout("rotateIta2()",5000); /* questo valore modifica la durata di apparizione dell'immagine e del rispettivo link . 1000= 1 secondo*/
  }
 }

/* This code will work just fine with or without frames.  However, if you are in frames and wish to replicate the TARGET="_top" call to remove frames, change the location.href call to:
    parent.location.href=durl2[sctr2];
   below. */
function doIt2(){
 halt2=1;
 window.open(durl2[sctr2]);
 //parent.location.href=durl[sctr];
 }

function dispIt2(){
 parent.window.status=durl2[sctr2];
 }
 
//-->