			//var jsURL
			//jsURL = document.location.href
			//if(jsURL.indexOf("java")>=1){
			//}

			function CheckForm(TheURL){
				if(isNaN(document.indexFrm.txtMobile.value)||Trim(document.indexFrm.txtMobile.value)==''){
					alert('Please enter a valid mobile number.');
					document.indexFrm.txtMobile.focus();
					return false
				}
				if(document.indexFrm.txtMobile.value.length>20){
					alert('mobile number cannot exceed 20 characters.');
					document.indexFrm.txtMobile.focus();
					return false
				}
				if(document.indexFrm.txtPassword.value.length>25){
					alert('Password cannot exceed 25 characters.');
					document.indexFrm.txtPassword.focus();
					return false
				}
				document.indexFrm.method="POST"
				document.indexFrm.action="validate.asp"
				document.indexFrm.submit();
			}