<!--
	function trim(s) {
 		while (s.substring(0,1) == ' ') {
    		s = s.substring(1,s.length);
		}
		while (s.substring(s.length-1,s.length) == ' ') {
			s = s.substring(0,s.length-1);
  		}
  		return s;
	}


	function submit_it(form){
		var var_countrycode = form.countrycode.options[form.countrycode.selectedIndex].value;
		var var_mobileno = trim(form.mobileno.value);
		
		if (var_countrycode == "" || var_countrycode == "0"){
			alert ("Please select country!");
			form.countrycode.focus();
			return false;
		}
		else{
			if (var_mobileno == ""){
				alert ("Please enter your mobile number!");
				form.mobileno.value = var_mobileno;
				form.mobileno.focus();
				return false;
			}
			else{
				if (isNaN(var_mobileno)){
					alert ("Invalid mobile number!\nOnly Numeric (0-9) allowed!");
					form.mobileno.value = var_mobileno;
					form.mobileno.focus();
					return false;
				}
				else{
					if(var_mobileno.length >= 10 && var_mobileno.length <= 11){
						return true;
					}
					else {
						alert ("Invalid mobile number!\nPlease check your input!");
						form.mobileno.value = var_mobileno;
						form.mobileno.focus();
						return false;
					}
				}
			}
		}
	}
	
	function submitnow(form){
		var b_status;
		b_status = false;
		b_status = submit_it(form);
		if(b_status == true){
			form.submit();
		}
	}
	
//-->