var rollVersion = "";
var latchedNav = "";
var manu=navigator.appName;
var vers=navigator.appVersion;
var ns = (document.layers) ? true : false;
var ie = (document.all) ? true : false;
var dom = (document.getElementById) ? true : false;
var myplatform = navigator.platform

function lightNav(navName) {
		if (latchedNav != navName) {
			if (dom) {
				litNav = eval("top.document.getElementById('" + navName + "')");
				litNav.className = "onClass";
			}
		}
		return true;
}

function unlightNav(navName) {
		if (latchedNav != navName) {
			if (dom) {
				litNav = eval("top.document.getElementById('" + navName + "')");
				litNav.className = "offClass";
				return true;
			}
		}
}

function latchNav(navName) {
		if (top.latchedNav != "") {
			if (dom) {
				oldNav = eval("top.document.getElementById('" + top.latchedNav + "')");
				oldNav.className = "offClass";
				newNav = eval("top.document.getElementById('" + navName + "')");
				newNav.className = "latchClass";
			}
		}
		else {
			if (dom) {
				newNav = eval("top.document.getElementById('" + navName + "')");
				newNav.className = "latchClass";
			}
		}
		top.latchedNav = navName;
	return true;
}

function changeLeftNav(src) {
	top.document.getElementById('leftnav').src = src;
}

function openWin(url) {
	window.open(url,"","status=no,toolbar=yes,directories=no,location=yes,menubar=no,scrollbars=yes,resizable=yes,height=500,width=700,left=10,top=10");
}

function printContent() {
	top.frames['content'].focus();
	top.frames['content'].print();
}
