    //<![CDATA[
function handleError() {
	return true;
}

function kH(e) {
	var pK = document.all? window.event.keyCode:e.which;
	document.theForm.slideshow.checked = false;
	if (pK == 13) {
		search();
	}
	return pK != 13;
}

function cursor_wait() {
	document.body.style.cursor = 'wait';
}

function cursor_clear() {
	document.body.style.cursor = 'default';
}

function permanentStatus() {
        message="TacticalGamer.com";
        setTimeout("window.status = message;", 10);
}

function credits() {
	showPopWin('credits/modalContent.html', 400, 200, null);
}

function getCheckedValue(radioObj) {
	if(!radioObj) {
		return "";
	}
	var radioLength = radioObj.length;
	if(radioLength == undefined) {
		if(radioObj.checked) {
			return radioObj.value;
		}
		else {
			return "";
		}
	}
	for(var i = 0; i < radioLength; i++) {
		if(radioObj[i].checked) {
			return radioObj[i].value;
		}
	}
	return "";
}

function queryString(key){
	var page = new PageQuery(window.location.search);
	return unescape(page.getValue(key));
}

function filterFocus() {
        if (parseInt(navigator.appVersion)>3) {
                if (navigator.appName=="Netscape") {
                        document.theForm.filter.select();
			document.theForm.filter.focus();
                }
                if (navigator.appName.indexOf("Microsoft")!=-1) {
                        document.theForm.filter.select();
			document.theForm.filter.focus();
                }
        }
}
    //]]>


