var sActiveSection = "";
var sActiveServicesSection = "";

//**********

function hRollover(sButtonName){
	hEval("bt_" + sButtonName + ".src = 'images/generic/nav/bt_" + sButtonName + "_on.gif'");
}

//**********

function hRolloff(sButtonName){
	if (sActiveSection != sButtonName){
		hEval("bt_" + sButtonName + ".src = 'images/generic/nav/bt_" + sButtonName + "_off.gif'");
	}
}

//**********

function hHiliteSection(sSection){
	sActiveSection = sSection
	hEval("bt_" + sSection + ".src = 'images/generic/nav/bt_" + sSection + "_on.gif'");
}

//**********

function hEval(sText){
	if (is_fx){
		document.eval(sText);
	}
	else{
		eval(sText);
	}
}

//**********
function getObj(sName)	{
	if (document.getElementById){
		this.obj = document.getElementById(sName);
		this.style = document.getElementById(sName).style;
	}
	else if (document.all)	{
		this.obj = document.all[sName];
		this.style = document.all[sName].style;
	}
	else if (document.layers)  {
		this.obj = document.layers[sName];
		this.style = document.layers[sName];
	}
}

//**********

function hShowLayer(sLayer) {
	var kLayer = new getObj(sLayer);
	kLayer.style.visibility = 'visible';
}

//**********

function hHideLayer(sLayer) {
	var kLayer = new getObj(sLayer);
	kLayer.style.visibility = 'hidden';
}

//**********

function hServicesSelect(sServicesSection){
	if (sServicesSection != sActiveServicesSection){
		if (sActiveServicesSection != ""){
			hHideLayer("layer" + sActiveServicesSection);
		}
		hShowLayer("layer" + sServicesSection);
	}

	sActiveServicesSection = sServicesSection;
}



