number_of_sponsors=4;
var m=0;
var n=number_of_sponsors;
var max=n+5;
var min=m-5;
var rnd=-1000;
rnd=Math.ceil((Math.random())*(max-min)+(min));
while((rnd>n) || (rnd<m)){
 rnd=Math.ceil((Math.random())*(max-min)+(min));
}
var sctr=0;
var halt=0;
var isn=new Array();
var durl=new Array();

for (i=0;i<number_of_sponsors;i++){
 isn[i]=new Image();
}

isn[0].src="../Banner142x34/ban_fantasy.jpg";
isn[1].src="../Banner142x34/ban_prasoft.jpg";
isn[2].src="../Banner142x34/ban_odissea.jpg";
isn[3].src="../Banner142x34/ban_intersailing.jpg";

durl[0]="http://www.fantasy.eu.com";
durl[1]="http://www.prasoft.com";
durl[2]="http://www.odissea.com";
durl[3]="http://www.intersailing.com";


function rotateIt(){
 if (halt!=1){
  sctr++;
  if (sctr>number_of_sponsors-1){
   sctr=0;
   }
  document.sponsor.src=isn[sctr].src;
  setTimeout("rotateIt()",5000);
  }
 }

/* 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];
    location.href=durl[sctr];
   below. */

function doIt(){
 halt=1;
 var a = window.open(durl[sctr]);
 }

function dispIt(){
 parent.window.status=durl[sctr];
 }

function nodispIt(){
 parent.window.status='';
 }
// End Hiding -->

