	var xmlHTTP;
		function createXMLHttpRequest(){
			if (window.ActiveXObject){
				xmlHTTP=new ActiveXObject("Microsoft.XMLHTTP");
			}else if (window.XMLHttpRequest){
				xmlHTTP=new XMLHttpRequest();
			}
			
		}
	function handleStateChange(){
		if (xmlHTTP.readyState==4){
			if (xmlHTTP.status==200){
				document.getElementById( 'txtmessage').innerHTML=xmlHTTP.responseText;
			}else{
				//txtmessage.innerHTML=xmlHTTP.statusText;
				document.getElementById( 'txtmessage').innerHTML=xmlHTTP.statusText;
			}
		}
	}
	function requestSecure(){
		createXMLHttpRequest();
			xmlHTTP.open("POST","login/chklogin1.asp",true);
			xmlHTTP.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
			xmlHTTP.onreadystatechange=handleStateChange;
			xmlHTTP.send(""); //cannot be NULL		
			window.setTimeout("requestSecure()",1000);
	}