// JavaScript Document

function validatioin()
{
if(isNull(document.loginfrm.username,"User Name")) return false;
if(isNull(document.loginfrm.password,"Password")) return false;
}
function mailvalidatios()
{
if(isNull(document.forgotpassfrm.email,"Email")) return false;
if(notEmail(document.forgotpassfrm.email)) return false;
}
function changepasswordvalidate()
{
	if(isNull(document.changepassword.oldpwd,"Old Password")) return false;
	if(isNull(document.changepassword.newpwd,"New Password")) return false;
	if(isNull(document.changepassword.retpwd,"Re-type Password")) return false;
	if (document.changepassword.newpwd.value!=document.changepassword.retpwd.value)
	{
   alert("Miss match password");
   return false;
	}
}

