<!--
function gotoPage( x_url )
{
	document.location.href = 'ForgetPass.asp';
}
function checkInputs(docfrm,val) {
	var iStr = 'Invalid Operation !\n===============\n';
	docfrm.login.value =  xTrim(docfrm.login.value) ;
	docfrm.login.value = docfrm.login.value.toLowerCase();

	
	if ( checkBlanks( docfrm.login, iStr + "E-Mail Address should NOT Blank or contain Spaces.\n" ) )
		return false;
	// Password

	docfrm.password.value = xTrim( docfrm.password.value );

	if ( checkBlanks( docfrm.password, iStr + "Password should NOT Blank or contain Spaces.\n" ) )
		return false;
} // For Existing Users
function checkInputs1(docfrm,val) {
	var iStr = 'Invalid Operation !\n===============\n';
	docfrm.fName.value = xTrim( docfrm.fName.value );

	if ( checkRange( docfrm.fName, 1, "Your name should NOT be empty !" ) )
		 return false;

	if ( checkSymbol( docfrm.fName, "~`!@#$%^&*()+|{}:<>?_=\\[];',/\"", "Your name should NOT contain following character:\n" ) )
		 return false;

// Last Name no: 0-9; yes: a-z, A-Z
	if ( checkContents( docfrm.fName, "Your name", true, false, false ) )
		 return false;

	docfrm.EMail.value =  xTrim(docfrm.EMail.value) ;
	docfrm.EMail.value = docfrm.EMail.value.toLowerCase();
	
	if ( checkBlanks( docfrm.EMail, iStr + "E-Mail Address should NOT Blank or contain Spaces.\n" ) )
		return false;

	//if ( checkRange( docfrm.EMail, 1, iStr + "E-Mail Address should NOT be empty !" ) )
		 //return false;

	//if(checkEmail(docfrm.EMail,"EMail Address"))
		//return false;

// Password

	docfrm.passwd.value = xTrim( docfrm.passwd.value );
	docfrm.verPasswd.value = xTrim( docfrm.verPasswd.value );

	if ( checkRange( docfrm.passwd, 6, "Password should NOT be less than 6 characters !" ) )
		return false;

// Password 
	if ( checkSymbol( docfrm.passwd, "~`!@#$%^&*()+|{}:<>?=\\[];,./ '\"", "Password should NOT contain following character:\n" ) )
		return false;

// Password != Re-type Password
	if ( docfrm.passwd.value != docfrm.verPasswd.value ) {
		alert( iStr + "Password and Re-type password should NOT be different !" );
		docfrm.passwd.focus();
		return false;
	}
	if ( docfrm.SpamCode.value != docfrm.SPC.value ) {
		alert( iStr + "Invalid Code !" );
		docfrm.SpamCode.focus();
		return false;
	}
// Terms N COnditions
	if ( ! docfrm.chkTerms.checked )
	{
		alert( iStr + "Please accept all the Terms & Conditions." );
		return false;
	}
}
//-->
