
// custom code to say that the verification is wrong -- needs cookies to work, otherwise they don't get a notice
// tell them that they got it wrong
if(GetCookie("captcha").indexOf("nogo") > -1){
	document.getElementById("custom_captcha_response").innerHTML = "Incorrect. Please try again<br />"
}
// hide the submit button on the 7th bad response
if(GetCookie("captcha").indexOf("nogo**nogo**nogo**nogo**nogo**nogo**nogo") > -1){
	window.onload = function(){
		document.getElementById(submit_button_id).style.display = "none";
		document.getElementById("custom_captcha_response").innerHTML ="You have attempted to submit this form seven times. You must wait one minute before you can attempt to submit the form again. After one minute, please refresh this page and you will be able to submit the form again.<br />"
	}
}

//correct safari issue with back buttom
if (navigator.userAgent.indexOf("KHTML") > -1){
	Recaptcha.reload()
}

document.write("</div>")