// whether table cells will use the onClick event to navigate (1 = yes, 0 = no)
// nb: if required, you must also implement the onclick event for each cell,
// e.g.: <td onclick="tdClick('/news/')" title="Visit our news section" ...
var blnOnClick = 0;

function tdMouse(objElement, blnMouseOver){
	objElement.style.background = blnMouseOver ? "#A2A0A2" : "#EDECED";
	if(blnOnClick) document.body.style.cursor = blnMouseOver ? "hand" : "default";
} // end function

function tdSubMouse(objSubElement, blnSubMouseOver){
	objSubElement.style.background = blnSubMouseOver ? "#F4F4F4" : "#ffeeaa";
	if(blnOnClick) document.body.style.cursor = blnSubMouseOver ? "hand" : "default";
} // end function

function tdClick(strUrl){
	if(blnOnClick){
		if(strUrl.substr(0, 4).toLowerCase() == "http") {
			window.open(strUrl);
		} else {
			document.location.href = strUrl;
		} // end if
	} // end if
} // end function