function checkBrowser(){
this.ver=navigator.appVersion;
this.dom=document.getElementById?1:0;
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}

bw  		= new checkBrowser()

function NavOn(Div)
{
LayerName	= Div + "Bar";
Color		= "#0ABB51";
div			= bw.dom?document.getElementById(LayerName).style:bw.ie4?document.all[LayerName].style:bw.ns4?document.layers[LayerName]:0; 

if ((bw.dom) || (bw.ie4))
{
div.backgroundColor=Color;
}

else if (bw.ns4)
{
div.bgColor=Color;
}

LinkName	= Div + "Text";
identity				= document.getElementById(LinkName);
identity.style.color	="#0ABB51";
}

function NavOff(Div)
{

LayerName	= Div + "Bar";
Color		= "#D7D7D7";
div			= bw.dom?document.getElementById(LayerName).style:bw.ie4?document.all[LayerName].style:bw.ns4?document.layers[LayerName]:0; 

if(bw.dom || bw.ie4)
{
div.backgroundColor=Color;
}

else if(bw.ns4)
{
div.bgColor=Color;
}

LinkName	= Div + "Text";
identity				= document.getElementById(LinkName);
identity.style.color	="#959595";

}