/* image rotator */
number_of_images=5;

var sctr=0;
var halt=0;
var isn=new Array();
for (i=0;i<number_of_images;i++){
 isn[i]=new Image();
}

isn[0].src="foty/fot1.jpg";
isn[1].src="foty/fot2.jpg";
isn[2].src="foty/fot3.jpg";
isn[3].src="foty/fot4.jpg";
isn[4].src="foty/fot5.jpg";

var durl=new Array();
durl[0]="index.htm";
durl[1]="index.htm";
durl[2]="index.htm";
durl[3]="index.htm";
durl[4]="index.htm";


function rotateIt(){
 if (halt!=1){
  sctr++;
  if (sctr>number_of_images-1){
   sctr=0;
   }
  document.style.src=isn[sctr].src;
  setTimeout("rotateIt()",6000);
  }
 }

function doIt(){
 halt=1;
 location.href=durl[sctr];
 }

function dispIt(){
 parent.window.status=durl[sctr];
 }

// end hiding -->
