<!--

function Form_validation(theForm)

{
    if (theForm.username.value == "")
	{
	alert("You must enter User Name.");
	theForm.username.focus();
	return (false);
	}
	if (theForm.password.value == "")
	{
	alert("You must enter password.");
	theForm.password.focus();
	return (false);
	}         
return true;
}

function getfocus(){
	document.login.username.focus();


}






function ref()
  {
  var xmlHttp;
  try
    {
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      try
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
      catch (e)
        {
       
        return false;
        }
      }
    }
    xmlHttp.onreadystatechange=function()
      {
      if(xmlHttp.readyState==4)
        {
       	
        }
      }


    xmlHttp.open("GET","http://www.bdnews24.com/hitc.php",true);
   xmlHttp.send(null);
  }
function callref(){
	ref();
	setTimeout( "callref()",10000 );
}
//callref();






var sURL = unescape(window.location);


function doLoad()
{
	
    // the timeout value should be the same as in the "refresh" meta-tag
    setTimeout( "refresh()",20*60000 );
	
}

function refresh()
{
    //  This version of the refresh function will cause a new
    //  entry in the visitor's history.  It is provided for
    //  those browsers that only support JavaScript 1.0.
    //
    window.location.href = sURL;
}
//doLoad();

//-->
