function mOvr(src,clrOver) {
if (!src.contains(event.fromElement)) {

src.bgColor = clrOver;
}
}
function mOut(src,clrIn) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}
function mClk(src) {
if(event.srcElement.tagName=='TD'){
src.children.tags('A')[0].click();
}
}

function performJump (destUrl){

	// if the url begins with 'www', 'http://', or 'https://' we need to open a popUp window

	if ((destUrl.indexOf("www") == 0) || (destUrl.indexOf("http://") == 0) || (destUrl.indexOf("https://") == 0)) {

		// if the url begins with www, we need to add 'http://' to the beginning

		if (destUrl.indexOf("www") == 0) {

			destUrl = "http://" + destUrl;

		}



		// check if the url contains the current hostname

		if (destUrl.indexOf(location.hostname) != -1) {

			// contains hostname, don't open a popup

			if (name == "topContent") {

				parent.location.href = destUrl;

			} else {

				location.href = destUrl;

			}



		} else {

			if (!window.popupWindow) {

				// window hasn't been defined

				popupWindow = window.open(destUrl,"","width=600,height=450,left=100,top=75,screenX=100,screenY=75,scrollbars,location,menubar,status,toolbar,resizable=1");

			} else {

				// window has been defined

				if (!popupWindow.closed) {

					// still open

					popupWindow.focus();

					popupWindow.location.href = destUrl;

				} else {

					popupWindow = window.open(destUrl,"","width=600,height=450,left=100,top=75,screenX=100,screenY=75,scrollbars,location,menubar,status,toolbar,resizable=1");

				}

			}

		}

	} else if (destUrl.charAt(0) == "/") {



		if (name == "topContent") {

			parent.location.href = destUrl;

		} else {

			location.href = destUrl;

		}



	} else if (destUrl.indexOf(".cat.com") != -1) {

		window.location.href = destUrl;



	} else if (destUrl.charAt(0) == "#") {

		window.location.href = destUrl;



	} else {



		if (destUrl.indexOf("://") == -1) {

			destUrl = 'http://' + destUrl;

		}



		if (!window.popupWindow) {

			// window hasn't been defined

			popupWindow = window.open(destUrl,"","width=600,height=450,left=100,top=75,screenX=100,screenY=75,scrollbars,location,menubar,status,toolbar,resizable=1");



		} else {

			// window has been defined

			if (!popupWindow.closed) {

				// still open

				popupWindow.focus();

				popupWindow.location.href = destUrl;

			} else {

				popupWindow = window.open(destUrl,"","width=600,height=450,left=100,top=75,screenX=100,screenY=75,scrollbars,location,menubar,status,toolbar,resizable=1");

			}

		}



	}



}



function getSelectedValue(selectBox) {

	var selValue;

	var selIndex = selectBox.selectedIndex;



	if(selIndex != -1) {

		selValue = selectBox.options[selIndex].value;

	}



	if (selValue != "") {

		performJump(selValue);

	}

}


