
var lastSection = "0";
var setupDone = "0";

function setup(){
	if(document.layers){
		servicesImg = document.services; capabilitiesImg = document.capabilities; portfolioImg = document.portfolio; contactImg = document.contact;  videoImg = document.video; 
	} else if(document.all) {
		servicesImg = services.style; capabilitiesImg = capabilities.style; portfolioImg = portfolio.style; contactImg = contact.style; videoImg = video.style;
	} else {
		servicesImg = document.getElementById("services").style; capabilitiesImg = document.getElementById("capabilities").style; portfolioImg = document.getElementById("portfolio").style; contactImg = document.getElementById("contact").style; videoImg = document.getElementById("video").style;
	}
	setupDone = 1;
}


function navOver(section){
	if (setupDone == 1){
		if (lastSection != '0'){
			eval(lastSection + "Img").visibility = "hidden";
		}
		eval(section + "Img").visibility = "visible";
		lastSection = section
	}
}

function navOut(section){
		eval(section + "Img").visibility = "hidden";
}