// JavaScript Document

browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;

if ((document.all && !window.opera && window.XMLHttpRequest)) 
	document.write("<link REL='stylesheet' HREF='stylesheet-ie.css' TYPE='text/css'>");
else if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4))
	document.write("<link REL='stylesheet' HREF='stylesheet-ieold.css' TYPE='text/css'>");
else
	document.write("<link REL='stylesheet' HREF='stylesheet.css' TYPE='text/css'>");

function show(ID) {
	document.getElementById(ID).style.display = "inline";	
}

function hide(ID) {
	document.getElementById(ID).style.display = "none";	
}

function on(obj) {
	obj.style.background = "#78AEBC url(images/nav-over.jpg) repeat-x";	
}

function off(obj) {
	obj.style.background = "#666666 url(images/nav.jpg) repeat-x";	
}

function onsub(obj) {
	obj.style.background = "#78AEBC";	
}

function offsub(obj) {
	obj.style.background = "#666666";	
}