function checkImage() {
	location.href = checkImageHref;
}
function blinkTimer() {
	setInterval(blinkSwagBucks, 500);
	blinks = 0 
}
function hideBanner() {
	document.getElementById("tblAwardBannerAA").style.display = "none";
}
function sendCongratsEmail() {
	xmlHttp=getAjaxObjectTB();
	if (xmlHttp==null) {
		alert ('Your browser does not support HTTP Request. Please contact us at "info@<%=client.getDomain()%>" to get your password.');
		return;
	}
	url=url+"&amp;sid="+Math.random();
	xmlHttp.onreadystatechange=getCongratsEmailResult;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}
function getCongratsEmailResult() {
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") {
		btn = document.getElementById("lnkEmail");
		result = xmlHttp.responseText;
		if (result == 1) {
			btn.style.display = "none";
			document.getElementById("spnEmail").style.display = "";
		} 
		else  if (result == 0) {
			alert("There was an unexpexted error sending you Email." +
			String.fromCharCode(10) + String.fromCharCode(10) + "Please try again or contact us at info@" + clientURL);
		}
		else  {
			alert("There was an unexpexted error sending you Email." +
			String.fromCharCode(10) + String.fromCharCode(10) + "Please try again or contact us at info@" +clientURL);
		}
	}
}
function hideNoWinnerCont() {
	document.getElementById('noWinnerCont').style.display = 'none';
	document.getElementById('innerResults').style.paddingTop = '0';
	xmlHttp=getAjaxObjectTB();
	if (xmlHttp!=null) {
		url="/?cmd=gn-jx-extra-option-s&optnn=clsdNoWin&optnv=1&sid="+Math.random();
		xmlHttp.open("GET",url,true);
		xmlHttp.send(null);
	}
}
