﻿// JScript File

function sendData(salt)
			{
              if (document.aspnetForm.ctl00_Login1_txtLogin.value == "")
    	       {
    		     alert("Enter Your Roll Number");
    		     document.aspnetForm.ctl00_Login1_txtLogin.focus();
    		     return (false);
        	   }
    
              if (document.aspnetForm.ctl00_Login1_txtPWD.value == "")
    	       {
    		     alert("Enter Your Password");
    		     document.aspnetForm.ctl00_Login1_txtPWD.focus();
    		     return (false);
	           }
	         
              if(document.aspnetForm.ctl00_Login1_txtPIN.value == "")
	           {
		         alert("Enter Your 14-digit PIN Number");
		         document.aspnetForm.ctl00_Login1_txtPIN.focus();
		         return (false);
               }
	           
		      if(document.aspnetForm.ctl00_Login1_txtPWD.value != "")
	           {
                 document.aspnetForm.ctl00_Login1_txtPWD.value = hex_md5(document.aspnetForm.ctl00_Login1_txtPWD.value);
	             document.aspnetForm.ctl00_Login1_txtPWD.value = hex_md5(document.aspnetForm.ctl00_Login1_txtPWD.value+salt);
	           }
	   }
	   
	   
	   
	