function GetMemExpiry()
{
    var xmlhttp;
    if (window.XMLHttpRequest)
      {
      // code for IE7+, Firefox, Chrome, Opera, Safari
      xmlhttp=new XMLHttpRequest();
      }
    else if (window.ActiveXObject)
      {
      // code for IE6, IE5
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    else
      {
      alert("Your browser does not support XMLHTTP!");
      }
    xmlhttp.onreadystatechange=function()
    {
    if(xmlhttp.readyState==4)
      {
//		alert(xmlhttp.responseText);
/*        if(xmlhttp.responseText==1){
          document.getElementById("isAvail").firstChild.nodeValue = 'This Username is available for you to use.';
          document.getElementById("isAvail").style.color = "#6faf0c";
        }else{
           document.getElementById("isAvail").firstChild.nodeValue = 'Sorry… this Username is already taken. Please try again.';
          document.getElementById("isAvail").style.color = "#ff0000";
        }*/
      }
    }
    xmlhttp.open("GET","ajax/checkmemexp.asp",true);
    xmlhttp.send(null);
//  }
}