function xmlhttpvdft_m(strURL) {
	document.getElementById('loadingL').style.display='block';
    var xmlHttpReq4 = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq4 = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq4 = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq4.open('POST', strURL, true);
    self.xmlHttpReq4.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq4.onreadystatechange = function() {
        if (self.xmlHttpReq4.readyState == 4) {
            updatenextvdft_m(self.xmlHttpReq4.responseText);
			//document.getElementById('loadingL').style.display='none';
        }
	 }
    self.xmlHttpReq4.send(getquerynextvdft_m());
   }

function getquerynextvdft_m() 
{	
	var uname = document.getElementById('uname').value;
	var pass = document.getElementById('pass').value;
	qstr ='logincheck='+escape(uname)+"||"+escape(pass);
	return qstr;
}
function updatenextvdft_m(str5)
{
  document.getElementById('lin').innerHTML = str5;
  window.setTimeout("checkloginagain()",1100);
}
function checkloginagain()
{
	if(document.getElementById('don').value=='webmistologinsuccess')	
	{
		window.location='./?p=myprofile';	
	}
	document.getElementById('loadingL').style.display='none';
}
