function xmlhttpPost1(strURL1,strupdate) 
{
//alert(strURL1);
    var xmlHttpReq = false;
    var self = this;
 //document.getElementById(strupdate).innerHTML="<img align=top src='images/ajax2.gif' title='Update in progress...'>";
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('POST', strURL1, true);
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq.onreadystatechange = function() {
		//alert(strupdate);
        if (self.xmlHttpReq.readyState == 4) 
  {
 // alert(self.xmlHttpReq.responseText);
  document.getElementById(strupdate).innerHTML=self.xmlHttpReq.responseText;
       }
    }
    self.xmlHttpReq.send('');
}


function getxmlhttpobject()
{
 var xmlhttp=null;
 try
 {
  // Firefox, Opera 8.0+, Safari
  xmlhttp=new XMLHttpRequest();
 }
 catch (e)
 {
  //Internet Explorer
  try
  {
   xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
  catch (e)
  {
   xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
 return xmlhttp;
}
//ajax function for checking username in signup page
var xmlHttp;

function getobject()
{
 var xmlHttp=null;
 try
 {
  xmlHttp=new XMLHttpRequest;
 }
 catch(e)
 {
  try
  {
   xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
  catch(e)
  {
   xmlHttp=new ActiveXObject("Microsoft.XMLHTTP") ;
  } 
 }
 return xmlHttp;
}
