function ValidateShop() 
{
	
	if(document.frmCustInfo.user_name.value == "")
	{
		alert("User Name should not be blank");
		document.frmCustInfo.user_name.focus();
		return false;
	}
	if(document.frmCustInfo.user_pwd.value == "")
	{
		alert("Password should not be blank");
		document.frmCustInfo.user_pwd.focus();
		return false;
	}
	if(document.frmCustInfo.user_verify_pwd.value == "")
	{
		alert("Varify Password should not be blank");
		document.frmCustInfo.user_verify_pwd.focus();
		return false;
	}
	/*if(document.frmCustInfo.user_pwd !=  document.frmCustInfo.user_verify_pwd)
	{
		alert("confirm password must be same");	
		document.frmCustInfo.uuser_pwd.focus();
		return false;
	}*/
	if (document.frmCustInfo.user_pwd.value != "" && document.frmCustInfo.user_verify_pwd.value != "")
	{
	//	alert("ok");
		if(document.frmCustInfo.user_pwd.value != document.frmCustInfo.user_verify_pwd.value)
		{
			alert("Password and Verify Password has to be same");
			document.frmCustInfo.user_pwd.select();
			document.frmCustInfo.user_pwd.focus();
			return false;
		}
	}
	
	if(document.frmCustInfo.email.value == "")
	{
		alert("Email Address should not  be blank");
		document.frmCustInfo.email.focus();
		return false;
	}

        if(document.frmCustInfo.email.value)  {
		if(!isEmail(document.frmCustInfo.email.value)){
			alert("Please enter valid Email");
			document.frmCustInfo.email.select();
			document.frmCustInfo.email.focus();
			return false;
		}
    }
	
	if(document.frmCustInfo.first_name.value == "")
	{
		alert("First Name should not be blank");
		document.frmCustInfo.first_name.focus();
		return false;
	}
	
	/*if(!isAlphabetic(document.frmCustInfo.first_name.value)){
		alert("First Name should be alphabetic ");
		document.frmCustInfo.first_name.value = '';
		document.frmCustInfo.first_name.focus();
		return false;
	}*/
	if(document.frmCustInfo.last_name.value == "")
	{
		alert("Last Name should not be blank");
		document.frmCustInfo.last_name.focus();
		return false;
	}
	
	/*if(!isAlphabetic(document.frmCustInfo.last_name.value)){
		alert("Last Name should be alphabetic ");
		document.frmCustInfo.last_name.value = '';
		document.frmCustInfo.last_name.focus();
		return false;
	}*/
	
	
	if(document.frmCustInfo.address1.value == "")
	{
		alert("Address  should not be blank");
		document.frmCustInfo.address1.focus();
		return false;
	}
	
	if(document.frmCustInfo.city.value == "")
	{
		alert("City  should not be blank");
		document.frmCustInfo.city.focus();
		return false;
	}
	
	
	if(document.frmCustInfo.zip.value == "")
	{
		alert("Zip  should not be blank");
		document.frmCustInfo.zip.focus();
		return false;
	}
	if(!ValidateNo(document.frmCustInfo.zip.value,"1234567890"))  
	  {       
	   		alert("Please Enter Only Number"); 
	         document.frmCustInfo.zip.focus();  
			  return false; 
	  }  
	
	if(document.frmCustInfo.phone.value == "")
	{
		alert("Phone Number  should not be blank");
		document.frmCustInfo.phone.focus();
		return false;
	}
	if(!ValidateNo(document.frmCustInfo.phone.value,"1234567890+- "))  
	  {       
	   		alert("Please Enter Only Number"); 
	         document.frmCustInfo.phone.focus();  
			  return false; 
	  }  
	if(document.frmCustInfo.cmbCountry.selectedIndex == 0)
	{
		alert("Country should not be blank");
		document.frmCustInfo.cmbCountry.focus();
		return false;
	}
	
	if(document.frmCustInfo.cmbState.selectedIndex == 0)
	{
		//alert(document.frmCustInfo.cmbState.value)
		alert("State should not be blank");
		document.frmCustInfo.cmbState.focus();
		return false;
	}


	/*
	if(!checkBlank(document.frmCustInfo.zip,"Zip"))
		return false;
	if(!checkBlank(document.frmCustInfo.country,"Country"))
		return false;
	if(!checkBlank(document.frmCustInfo.phone,"Phone"))
		return false;*/

	//  Text fields should not have ' . ' Will be replace by `
	

//	document.frmCustInfo.action = "submit_registration?mode=2";
	//document.frmCustInfo.method = "post"; 
//	document.frmCustInfo.submit(); 
	return true;

}
// JavaScript Document