function checkCaptcha(id){
	var xmlObj = null;
	if(window.XMLHttpRequest){
		xmlObj = new XMLHttpRequest();
	}
	else if(window.ActiveXObject){
		xmlObj = new ActiveXObject("Microsoft.XMLHTTP");
	}
	else{
		return;
	}
	params='id='+id;
	file='/checkCaptcha.php'
	xmlObj.open('POST',file,true);
	xmlObj.setRequestHeader("Content-type","application/x-www-form-urlencoded");
	xmlObj.setRequestHeader("Content-length",params.length);
	xmlObj.setRequestHeader("Connection","close");
	xmlObj.onreadystatechange = function(){
		if(xmlObj.readyState==4){
			currentcaptcha=xmlObj.responseText;
		}
	}
	xmlObj.send(params);
}
