var activeBox = ""
function rollOverBox(id){
	if (id != activeBox){
		document.getElementById("header"+id).src = "images/box"+id+"_text_over.gif";
		document.getElementById("box"+id).className = "bottomBoxActive";
		document.body.style.cursor='pointer '
	}
}
function rollOffBox(id){
	if (id != activeBox){
		document.getElementById("header"+id).src = "images/box"+id+"_text.gif";
		document.getElementById("box"+id).className = "bottomBox";
		document.body.style.cursor='auto'
	}
}

// PRELOAD THE OVER STATES OF THE BOTTOM BOXES
if (document.images)
{
  pic1= new Image(); 
  pic1.src="images/box1_text_over.gif"; 

  pic2= new Image(); 
  pic2.src="images/box1_text_over.gif"; 

  pic3= new Image(); 
  pic3.src="images/box1_text_over.gif"; 

  pic4= new Image(); 
  pic4.src="images/box1_text_over.gif"; 

  pic5= new Image(); 
  pic5.src="images/box1_text_over.gif"; 
}


function clickBox(url){
		window.location=url;
}
function highlightBox(id){
	document.getElementById("box"+id).src = "images/box"+id+"_text_over.gif";
	activeBox = id
}
	
	
function showRow(thisRow){
	document.getElementById(thisRow).style.display = ''
}
function hideRow(thisRow){
	document.getElementById(thisRow).style.display = 'none'
}

function highlightNav(navName){
	document.getElementById(navName).className = "active"
}

function makeVisible(thisDiv){
	document.getElementById(thisDiv).style.display = "inline";
}
function makeInvisible(thisDiv){
	document.getElementById(thisDiv).style.display = "none";
}



function doPopup(URL,w,h){
	thisWindow = window.open(URL, "popWin", "toolbar=1, scrollbars=1, location=0, statusbar=0, menubar=0, resizable=1, width=" + w + ", height= " + h);
}
