var lastProcess = 0;

if (document.images)	{

	gathering = new Image();
	gathering.src =  "../images/processGathering.gif";
	gathering_on = new Image();
	gathering_on.src =  "../images/processGathering_on.gif";
	
	restoration = new Image();
	restoration.src =  "../images/processRestoration.gif";
	restoration_on = new Image();
	restoration_on.src =  "../images/processRestoration_on.gif";
	
	processing = new Image();
	processing.src =  "../images/processProcessing.gif";
	processing_on = new Image();
	processing_on.src =  "../images/processProcessing_on.gif";
		
	onlineReview = new Image();
	onlineReview.src =  "../images/processOnlineReview.gif";
	onlineReview_on = new Image();
	onlineReview_on.src =  "../images/processOnlineReview_on.gif";
	
	reporting = new Image();
	reporting.src =  "../images/processReporting.gif";
	reporting_on = new Image();
	reporting_on.src =  "../images/processReporting_on.gif";
	
	consulting = new Image();
	consulting.src =  "../images/processConsulting.gif";
	consulting_on = new Image();
	consulting_on.src =  "../images/processConsulting_on.gif";	

}

function nada(){	}

function loadRollover()	{
	showProcess('rollover');
}

function showProcess(x) {
	if (lastProcess != 0)	{	hideProcess(lastProcess);	}
	var thisMenu = (x + "Div");
	var displayMenu = document.getElementById(thisMenu);
		displayMenu.style.display = "block";
	//if (document.all)	{	document.all[thisMenu].style.display = 'inline';		}
	//else { 	var displayMenu = document.getElementById(myDiv);
	//displayMenustyle.display = 'inline';	}	
	lastProcess = x;
}

function hideProcess(lastProcess)	{
	//alert(lastProcess);
	if (lastProcess != 'rollover')	{	subOff(lastProcess);	}
		var lastProcess = (lastProcess + "Div");
		var hideMenu = document.getElementById(lastProcess);
		hideMenu.style.display = "none";
		//if (document.all) {	document.all[lastProcess].style.display = "none";	
		//}
		//if (document.layers) { 	document[lastMenu].visibility = 'hide';	}	
		
		
					
}