function  validateLogin(url)
{
	if(document.getElementById("txtUid").value=="")
	{
		alert("Please enter the user name.");
		document.getElementById("txtUid").focus();
		return false;
	}
	
	if(document.getElementById("txtPwd").value=="")
	{
		alert("Please enter the password.");
		document.getElementById("txtPwd").focus();
		return false;
	}
	
	//SetLogin(url + document.getElementById("txtUid").value);
	return true;
}

function SetLogin(urlHTML)
{
  var xmlHttp;
  try
  {
    /* Firefox, Opera 8.0+, Safari */
    xmlHttp=new XMLHttpRequest();
  }
  catch (e)
  {
    /* newer IE */
    try
    {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
    catch (e)
    {
      /* older IE */
      try
      {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
      catch (e)
      {
        alert("Your browser is old and does not have AJAX support!");
        return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
  {
    if(xmlHttp.readyState==4)
    {	
      var temp = xmlHttp.responseText;
    }
  }
  xmlHttp.open("GET",urlHTML,true);
  xmlHttp.send(null);
 } 


