<!-- Hide from JavaScript-Impaired Browsers
/* Leigh here is where you increase or decrease the
   the number of sponsors banners in the rotation - sponsors=5 at present.
   (note that the counting starts at 0 and must remain so last in sequence
   when total is 6 = No.7 OK */
   number_of_sponsors=9;

var sctr=0;
var halt=0;
var isn=new Array();
for (i=0;i<number_of_sponsors;i++){
 isn[i]=new Image();
}

/* Leigh here you add or ammend the actual banner
   images that are are currently running. */
isn[0].src="http://www.fantasyfactory.co.uk/images/banners/FF_foot.gif";
isn[1].src="http://www.fantasyfactory.co.uk/images/banners/ff_racing_col_as.gif";
isn[2].src="http://www.fantasyfactory.co.uk/images/banners/FF_multi_blue.gif";
isn[3].src="http://www.fantasyfactory.co.uk/images/banners/FF_happy.gif";
isn[4].src="http://www.fantasyfactory.co.uk/images/banners/FF_crystal.gif";
isn[5].src="http://www.fantasyfactory.co.uk/images/banners/FF_foot.gif";
isn[6].src="http://www.fantasyfactory.co.uk/images/banners/ff_racing_bw_as.gif";
isn[7].src="http://www.fantasyfactory.co.uk/images/banners/FF_multi_blue.gif";
isn[8].src="/images/banners/FF_cycle.gif";

/* Leigh here add relace or take out the URLS of the banners
   of your sponsors and where they should go when clicked. */
var durl=new Array();
durl[0]="http://www.fantasyfactory.co.uk";
durl[1]="http://www.fantasyfactory.co.uk";
durl[2]="http://www.fantasyfactory.co.uk";
durl[3]="http://www.fantasyfactory.co.uk";
durl[4]="http://www.fantasyfactory.co.uk";
durl[5]="http://www.fantasyfactory.co.uk";
durl[6]="http://www.fantasyfactory.co.uk";
durl[7]="http://www.fantasyfactory.co.uk";
durl[7]="http://www.fantasyfactory.co.uk";
durl[8]="http://www.fantasyfactory.co.uk/sport/default.asp?SPORT_ID=10";

/* Leigh here is where you can ammend the timing of the banners
   to rotate. This script is set to rotate every 30 seconds.
   (5000=5 seconds, so 30000 would equal 30, etc)
   You should change the number in the setTimeout()
   call below for the number of seconds you wish. */
function rotateIt(){
 if (halt!=1){
  sctr++;
  if (sctr>number_of_sponsors-1){
   sctr=0;
   }
  document.sponsor.src=isn[sctr].src;
  setTimeout("rotateIt()",15000);
  }
 }

function doIt(){
 halt=1;
 parent.location.href=durl[sctr];
 }

function dispIt(){
 window.status=durl[sctr];
 }
// End Hiding -->