var isMinIE5 = (navigator.appVersion.indexOf("5.")) >= 0 ? 1 : 0;var isDOM = (document.getElementById) ? 1 : 0;	function changeColor(objId,color) {		if (isMinIE5||isDOM) {			document.getElementById(objId).style.color=color;		} else {			return;		}}	function changeBgColor(objId,color) {		if (isMinIE5||isDOM) {			document.getElementById(objId).style.backgroundColor=color;		} else {			return;		}}function changeBgColor(newBgColor) {       if (window.document && window.document.bgColor) {               document.bgColor = newBgColor;  }}	function openWindow(filename)	{		w = 560;		h = 650;    	var wl = (screen.width - w) / 2;		var wt = (screen.height - h) / 2;		var size = ("resizable=0,scrollbars=0,left=" + wl + ",top=" + wt +",width=" + w + ",height=" + h);		popupwindow=window.open(filename,"popup",size);		setTimeout('popupwindow.focus();',250);}function openWindowLarge(filename)	{		w = 790;		h = 590;    	var wl = (screen.width - w) / 2;		var wt = (screen.height - h) / 2;		var size = ("resizable=0,scrollbars=0,left=" + wl + ",top=" + wt +",width=" + w + ",height=" + h);		popupwindow=window.open(filename,"popup",size);		setTimeout('popupwindow.focus();',250);}function PrintPage(filename)	{		w = 500;		h = 550;    	var wl = (screen.width - w) / 2;		var wt = (screen.height - h) / 2;		var size = ("resizable=0,scrollbars=yes,toolbar=yes,left=" + wl + ",top=" + wt +",width=" + w + ",height=" + h);		popupwindow=window.open(filename,"popup",size);		setTimeout('popupwindow.focus();',250);}	function show(object) {    if (document.getElementById && document.getElementById(object) != null)         node = document.getElementById(object).style.visibility='visible';    else if (document.layers && document.layers[object] != null)        document.layers[object].visibility = 'visible';    else if (document.all)        document.all[object].style.visibility = 'visible';}function hide(object) {    if (document.getElementById && document.getElementById(object) != null)         node = document.getElementById(object).style.visibility='hidden';    else if (document.layers && document.layers[object] != null)        document.layers[object].visibility = 'hidden';    else if (document.all)         document.all[object].style.visibility = 'hidden';}
