function checkValidateCode(code, obj){
	var xmlHttp;
	try{
    xmlHttp=new XMLHttpRequest();
	}catch (e){
		try{
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}catch (e){
			try{
				xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
			}catch (e){
				alert("ÄúµÄä¯ÀÀÆ÷²»Ö§³ÖAJAX£¡");
				return false;
			}
		}
	}

	xmlHttp.onreadystatechange=function(){
		if(xmlHttp.readyState==4){
			obj.value=xmlHttp.responseText;
		}
	}
	xmlHttp.open("GET","/common/checkValidateCode.asp?code="+code,true);
	xmlHttp.send(null);
}
