function showLayer(layerName)
{
	document[layerName + 'Pic'].src = eval(layerName + 'on.src');
	eval(layerRef + layerName + endLayerRef + styleRef + ".visibility = 'visible'");
	eval(layerRef + layerName + 'Link' + endLayerRef + styleRef + ".color = '#3366cc'");
	// eval(layerRef + layerName + 'Link' + endLayerRef + styleRef + ".fontWeight = 'bold'");
	eval(layerRef + layerName + 'Cell' + endLayerRef + styleRef + ".borderBottom = '1px solid #ff0000'");
	eval(layerRef + layerName + 'Cell' + endLayerRef + styleRef + ".borderTop = '1px solid #ff0000'");

}


function hideLayer(layerName)
{
	document[layerName + 'Pic'].src = eval(layerName + 'off.src');
	eval(layerRef + layerName + 'Link' + endLayerRef + styleRef + ".color = '#000000'");
	eval(layerRef + layerName + 'Cell' + endLayerRef + styleRef + ".borderBottom = ''");
	eval(layerRef + layerName + 'Cell' + endLayerRef + styleRef + ".borderTop = ''");
	eval(layerRef + layerName + 'Link' + endLayerRef + styleRef + ".fontWeight = ''");	
	
}

function hideAll(){
	hideLayer('Nav01');
	hideLayer('Nav02');
	hideLayer('Nav03');
	hideLayer('Nav04');
	
}
function ShowMe(layerName){
	hideAll();
	showLayer(layerName);
	
}

Nav01on= new Image(85,83);
Nav01on.src="/images/LNAV_1Sensors.jpg";
Nav01off= new Image(85,83);
Nav01off.src="/images/LNAV_1Sensors.jpg";

Nav02on= new Image(85,83);
Nav02on.src="/images/LNAV_2Power.jpg";
Nav02off= new Image(85,83);
Nav02off.src="/images/LNAV_2Power.jpg";

Nav03on= new Image(85,83);
Nav03on.src="/images/LNAV_3ThermalCmpnts.jpg";
Nav03off= new Image(85,83);
Nav03off.src="/images/LNAV_3ThermalCmpnts.jpg";		

Nav04on= new Image(85,83);
Nav04on.src="/images/LNAV_4ThermalSystms.jpg";
Nav04off= new Image(85,83);
Nav04off.src="/images/LNAV_4ThermalSystms.jpg";		
