function closeCurrentWindow() { window.location.href = 'epapermain.aspx'; } function newuser_popup() { window.open('registration.aspx?check=newuser'); } function forgetpass() { window.open('forgetpassword.aspx'); window.close(); } function reset() { document.getElementById('txtusername').value == ""; document.getElementById('txtpassword').value == ""; return false; } function login() { if (document.getElementById('txtusername').value == "") { alert('Please enter User Name'); document.getElementById('txtusername').focus(); return false; } if (document.getElementById('txtpassword').value == "") { alert('Please enter Password'); document.getElementById('txtpassword').focus(); return false; } }
close
Username
Password