browsername = navigator.appName;
if (browsername.indexOf("Netscape")!=-1)
	browsername = "NS";
else {
	if (browsername.indexOf("Microsoft")!=-1)
		browsername = "MSIE";
	else
		browsername = "N/A";
}

function menuover(object1, text, current) {
	if (current == true) {
		object1.bgColor = "#b3b3d9";
		object1.style.border = "1px solid rgb(0,0,128)";
		window.status = text;
	}
	else {
		object1.bgColor = "#b3b3d9";
		object1.style.border = "1px solid rgb(0,0,128)";
		window.status = text;
	}
}

function windowstatus(text) {
	window.status = text;
}

function linkover(text) {
	var func = "windowstatus('" + text + "');"
	var the_timeout = setTimeout(func,10);
}

function buttonover(object1, text) {
	object1.style.border = "1px solid rgb(0,0,128)";
	window.status = text;
	object1.style.background = "#b3b3d9";
}

function menuout(object1, current) {
	if (current == true) {
		object1.bgColor = "#c3c3e9";
		object1.style.border = "1px solid rgb(0,0,128)";
	}		
	else {
		object1.bgColor = "";
		object1.style.border = "1px solid rgb(224,224,224)";
	}
	window.status = "";
}

function buttonout(object1) {
	window.status = "";
	object1.style.border = "1px solid rgb(0,0,0)";
	object1.style.background = "rgb(224,224,224)";
}

function menuclick(url) {
	top.location.href = url;
}

function contentover(object1) {
	//if (browsername == "MSIE")
	if (false) {
		object1.bgColor = "#f0f0f0";
	}
	else {
		object1.style.background = "url('./images/contentbg.gif')";
	}
	object1.style.cursor = "hand";
}

function contentout(object1) {
	//if (browsername == "MSIE")
	if (false) {
		object1.bgColor = "";
	}
	else {
		object1.style.background = "url('./images/spacer.gif')";
	}
	object1.style.cursor = "";
}

function contentclick(url) {
	top.location.href = url;
}

function changestatus(newtext) {
	window.status = newtext;
}
