
var newWin;

function fppopup(page,width,height) {
	
	if (newWin && newWin.closed!=true) newWin.close();
	
	var posx = (screen.width/2) - (width/2);		
	var posy = (screen.height/2) - (height/2);
		
	 var propsZ=(document.all||document.getElementById)?('top=' + posy + ',left=' + posx):('screenX=' + posx + ',screenY=' + posy);
	
	props = 'width=' + width + ',height=' + height + ',' + propsZ + ',marginwidth=0,marginheight=0,resizable=no,scrollbars=yes,status=0,toolbar=0,menubar=0,location=0';
	newWin = window.open('','pop',props);
	newWin.location.href = page;
}

function hi(which,color) {
	document.getElementById(which).style.backgroundColor='#FFCC00';
	document.getElementById(which).style.cursor='pointer';
}

function hi2(which,color) {
	document.getElementById(which).style.backgroundColor='#FFFF33';
	document.getElementById(which).style.cursor='pointer';
}

function lo(which) {
	document.getElementById(which).style.backgroundColor='#FFFFFF';
	document.getElementById(which).style.cursor='default';
}


b=1;
var myVisuals = new Array();
var myAlttext = new Array();
a=0;

myVisuals[0] = "images/visuals/01.jpg";
myAlttext[0] = " ";
a=0;

myVisuals[1] = "images/visuals/02.jpg";
myAlttext[1] = " ";
a=1;

myVisuals[2] = "images/visuals/03.jpg";
myAlttext[2] = " ";
a=2;

myVisuals[3] = "images/visuals/04.jpg";
myAlttext[3] = " ";
a=3;

myVisuals[4] = "images/visuals/05.jpg";
myAlttext[4] = " ";
a=4;

myVisuals[5] = "images/visuals/06.jpg";
myAlttext[5] = "D ";
a=5;

myVisuals[6] = "images/visuals/07.jpg";
myAlttext[6] = " ";
a=6;

myVisuals[7] = "images/visuals/08.jpg";
myAlttext[7] = " ";
a=7;

myVisuals[8] = "images/visuals/09.jpg";
myAlttext[8] = " ";
a=8;

myVisuals[9] = "images/visuals/10.jpg";
myAlttext[9] = " ";
a=9;

myVisuals[10] = "images/visuals/11.jpg";
myAlttext[10] = " ";
a=10;

myVisuals[11] = "images/visuals/12.jpg";
myAlttext[11] = " ";
a=11;

function rotateVisual(a,b) {
document.images["visual"].src = myVisuals[b];
document.images["visual"].alt = myAlttext[b];
b++;

  if (b>a) {
  b=0;
  setTimeout("rotateVisual(a,0)",5000);
  };
  
  if (b==1) {
  setTimeout("rotateVisual(a,1)",5000);
  };
  if (b==2) {
  setTimeout("rotateVisual(a,2)",5000);
  };
  if (b==3) {
  setTimeout("rotateVisual(a,3)",5000);
  };
  if (b==4) {
  setTimeout("rotateVisual(a,4)",5000);
  };
  if (b==5) {
  setTimeout("rotateVisual(a,5)",5000);
  };
  if (b==6) {
  setTimeout("rotateVisual(a,6)",5000);
  };
  if (b==7) {
  setTimeout("rotateVisual(a,7)",5000);
  };
  if (b==8) {
  setTimeout("rotateVisual(a,8)",5000);
  };
  if (b==9) {
  setTimeout("rotateVisual(a,9)",5000);
  };
  if (b==10) {
  setTimeout("rotateVisual(a,10)",5000);
  };
  if (b==11) {
  setTimeout("rotateVisual(a,11)",5000);
  };
	
};

  if (a>0) {
  setTimeout("rotateVisual(a,1)",5000);
  };
  

	function showText(text,id) {
  	if (text!='') {
  		header = ''+text+'';		
  	} else {
  		header = '';
		}
		
		if (document.layers) {
			document.div[id].document.open();
		}
		
  	if (document.all && !document.getElementById) {
  		document.all(id).innerHTML = header; 
  	}
  	else if (document.getElementById) {
  		document.getElementById(id).innerHTML = header; 
  	}
  	else if (document.layers) {
  		document.layers[id].document.write(header);
  		document.layers[id].document.close();
  	}
  }
	