function Login1()
{
alert("lala");
document.location=strUrl;

}        

 function  TextInNewWindow(name)
{
mywidth=400
myheight=300
my=window.open("",""," width="+ mywidth + " ,height="+myheight +" ,resizable=yes,toolbar=no");
my.document.writeln(" <html><body bgcolor='#ffffff' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>");
my.document.writeln(name);
my.document.writeln("<table border=0 width='100%' height='100%' bgcolor='#ffffff' cellpadding='0' cellspacing='0'><tr><td>");
my.document.writeln("</td></tr></table></html> ");
my.focus();


//window.showModalDialog("URL", "", "dialogHeight:300; dialogWidth:200; resizable:no;");
}


function Login()
{
var pass = document.getElementById("pass");
var name = document.getElementById("name");
var status=document.getElementById("status")
                 if(name.value=="")
                 {
                 alert("fill the name");
                 exit();
                 }
                 if(pass.value=="")
                 {
                 alert("fill the password");
                  exit();
                 }
			if(status.value=="select")
                    {
                		 alert("coose the status");
                		 exit();
               	}
			document.Login.submit();
}

function Refresh()
{
location.reload();
}

function Submit(name)
{
document.forms[name].submit();
}


function AutoRefresh()
{
var a=5;
setTimeout('Refresh()',5000);
}



function verify(path,msg)
 {
var agree=confirm("Are you sure to delete?"+msg);
if (agree) 
  location.href=path;        
}

