	if(document.all) {
		docObj="document.all."
		styleObj=".style"
	}
	else {
		docObj="document."
		styleObj=""
	}
	function focusPanel(pnl) {
		try {
			document.getElementById(pnl).focus();
			document.getElementById(pnl).style.backgroundColor="#d8ebfd";
		}
		catch (error) {
		}
	}
	function resetPanel(pnl) {
		try {
			document.getElementById(pnl).style.backgroundColor="#ffffff";
		}
		catch (error) {
		}	
	}
	function changeStuff(o,c,r) {
		try {
			document.getElementById(o).style.cursor=r;
			document.getElementById(o).style.backgroundColor=c;
		}
		catch (error) {
			alert(error.message);
		}
	}	
	function changeCursor(o,r) {
		try {
			//alert(o + " - " + r);
			document.getElementById(o).style.cursor=r;
		}
		catch (error) {
			alert(error.message);
		}
	}		
	function showPage(title) {
		//alert("Would load the " + title + " page");
	}
	function loadPage(title) {
		window.location.href = title;
	}	
	function cOn(td,o){
		if(document.getElementById||(document.all && !(document.getElementById))){
			td.style.backgroundColor="#d8ebfd";//"#d7e9fd";//"#cce2fc";//"#b0c4de";
			document.getElementById(o).style.backgroundColor="#d8ebfd";
		}
	}

	function cOut(td,o){
		if(document.getElementById||(document.all && !(document.getElementById))){
			td.style.backgroundColor="#FFFFFF";
			document.getElementById(o).style.backgroundColor="#FFFFFF";
		}
	}
	function changeColor(td,c) {
		try {
			td.style.backgroundColor = c;
		}
		catch (error) {
		}
	}
	function popUp(evt,currElem,item) {
		var info;
		try {
			popUpWin=eval(docObj + currElem + styleObj)
			if(document.all) {
				popUpWin.top=parseInt(evt.y)+2
				popUpWin.left=Math.max(2,parseInt(evt.x)-125)
			}
			else {
				popUpWin.top=parseInt(evt.pageY)+2
				popUpWin.left=Math.max(2,parseInt(evt.pageX)-125)			
			}
			popUpWin.visibility="visible"
			window.status=""
		}
		//Non IE browsers
		catch (error) {
			if(item==1) {
				info="<b>Resource:</b> It's no damn good at all.";
			}
			if(item==2) {
				info="";
			}
			if(document.getElementById("tdPopText")) {
				document.getElementById("tdPopText").innerHTML = info;
			}
		}
	}
	function popDown(currElem) {
		try {
			popUpWin=eval(docObj + currElem + styleObj)
			popUpWin.visibility="hidden"
		}
		catch (error) {
			if(document.getElementById("tdPopText")) {
				document.getElementById("tdPopText").innerHTML = "";		
			}
		}
	}	
	function changeStyle(div,uline,bold) {
		try {
			div.style.textDecoration = uline;
			div.style.fontWeight=bold;			
			if (uline=="") {
				div.style.cursor="default";
			}
			else {
				//div.style.fontWeight="bold";
				div.style.cursor="hand";
			}
		}
		catch (error) {
			alert(error.message);
		}
	}
	function loadPhone(numbr) {
		try {
			navigatePhoneTo(numbr);
		}
		catch (error) {
			alert(error);
		}
	}


