function App_Authorise_checkLogin(){var username=document.getElementById('App_Authorise_login_username');var password=document.getElementById('App_Authorise_login_password');var message='';if(username.value==''||password.value==''){if(username.value==''){username.focus();message+='\n• Please enter your Email Address';}
if(password.value==''){if(message==''){password.focus();}
message+='\n• Please enter your Password'}
message='Login could not be processed.\n'+message;}
if(message==''){return true;}
alert(message);return false;}
function App_Authorise_checkReset(){username=document.getElementById('App_Authorise_resetCredentials_username');if(username.value==''){alert('Please enter your email address or username');username.focus();return false;}
return true;}
function App_Authorise_checkSelect(){password=document.getElementById('App_Authorise_selectCredentials_password');passwordConfirm=document.getElementById('App_Authorise_selectCredentials_passwordConfirm');if(password.value==''){alert('Please enter your new password');password.focus();return false;}
if(passwordConfirm.value==''){alert('Please confirm your new password');passwordConfirm.focus();return false;}
if(password.value!=passwordConfirm.value){alert('Passwords do not match. Please re-confirm your new password.');password.focus();return false;}
return true;}
function App_Authorise_checkChangePassword(){oldPassword=document.getElementById('App_Authorise_changePassword_oldPassword');newPassword=document.getElementById('App_Authorise_changePassword_newPassword');newPasswordVerify=document.getElementById('App_Authorise_changePassword_newPasswordVerify');alert(newPasswordVerify);if(oldPassword.value==''){alert('Please enter your old password');oldPassword.focus();return false;}
if(newPassword.value==''){alert('Please enter your new password');newPassword.focus();return false;}
if(newPasswordVerify.value==''){alert('Please confirm your new password');newPasswordVerify.focus();return false;}
if(newPassword.value!=newPasswordVerify.value){alert('Passwords do not match. Please re-confirm your new password.');newPassword.focus();return false;}
return true;}
