// last modified:  10/18/05

function moz(t){
var p = eval (t);
alert(p);
}
/*
alert(currentphase);

*/
function flipp(numb){	
var currentphase="phase"+numb;


var phases=new Array();
phases[0]="phase0";//these have to be in quotes
phases[1]="phase1";
phases[2]="phase2";
phases[3]="phase3"; 
phases[4]="phase4";
phases[5]="phase5";
phases[6]="phase6"; 
phases[7]="phase7"; 

for (i=0 ; i<phases.length; i++) {
		var thisphasename = phases[i];
		var thisphasediv = document.getElementById(thisphasename);
		var thisphasestyle = thisphasediv.style;
		
		var currentdiv = document.getElementById(currentphase);
		var currentdivstyle = currentdiv.style;
		
		if (thisphasediv == currentdiv){
			thisphasestyle.backgroundColor="#99ccff";
			
			}
		
		else {
			thisphasestyle.backgroundColor="#e4edfc";
			
			}	
		
		}// for loop

}// end of flipp



function open_h_pic(theurl) {
var bop = "images/"+theurl+".jpg";
var zzz = window.open (bop , "newhwindow", config="width=620,height=470"); 
}//end of open_h_pic



function open_v_pic(theurl) {
var bopp = "images/"+theurl+".jpg";
var zzzz = window.open (bopp , "newvwindow", config="width=470,height=620"); 
}//end of open_v_pic