var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var ns4 = (bName == "Netscape" && bVer >= 4);
var ie4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
var ns3 = (bName == "Netscape" && bVer < 4);
var ie3 = (bName == "Microsoft Internet Explorer" && bVer < 4);
var tmp = "";

// two simple hide/show functions
function hideIt(id) {
	if (ie4) {
		tmp = 'document.all["' + id + '"].style.visibility="hidden"';
		eval(tmp);
		}
	else {
		tmp = 'document.getElementById("' + id + '").style.visibility="hidden"';
		eval(tmp);
		}
	}

function showIt(id) {
	if (ie4) {
		tmp = 'document.all["' + id + '"].style.visibility="visible"';
		eval(tmp);
		}
	else {
		tmp = 'document.getElementById("' + id + '").style.visibility="visible"';
		eval(tmp);
		}
	}
	

function rollIn(id) {
	var ImgPath = "graphics/nav";
	document [id].src = ImgPath + "/" + id + "-roll.gif";
	}


function rollOut(id) {
	var ImgPath = "graphics/nav";
	document [id].src = ImgPath + "/" + id + ".gif";
	}	