function new_cap()
{
	if(document.getElementById)
	{
		thesrc = document.getElementById("cap").src;
		thesrc = thesrc.substring(0,thesrc.lastIndexOf(".")+4);
		document.getElementById("cap").src = thesrc+"?"+Math.round(Math.random()*100000);
	} else {
		alert("Sorry, cannot autoreload captcha image\nSubmit the form and a new captcha will be loaded");
	}
}

function unhide() {
		if(document.getElementById)
	{
		if(document.getElementById("changeword")) {
	document.getElementById("changeword").firstChild.firstChild.data="change";
	document.getElementById("changeword").firstChild.onclick = function() { this.blur();new_cap();return false; };
	document.getElementById("changeword").style.visibility="visible";
	document.getElementById("changeword").style.position="static";
		}
		if(document.getElementById("word")) {
	document.getElementById("word").setAttribute("autocomplete","off");
		}
	}
}