// JavaScript Document
var error_limit=5;
var srch_error_cnt="";
// TO SET THE HEIGHT OF THE ERROR LINE
var pixel_per_line=20;
//Index page property ID validation error message
var propid_msg = "Property Id is a required field";
var prop_ajxerr="There is no property with this id.";

//login form
var login_usrpass="User name and password are required fields for authentication.";

//change password
var old_empty="Old password is a required field.";
var old_err="Old password is incorrect.";
var pass_err="Password must be at least six characters long but not longer than 12.";
var new_empty="New password is a required field.";
var cnfrm_empty="You have to reenter the new password here.";
var cnfrm_new="'Confirm Password' does not match 'New Password'.";
var old_new="New Password cannot be the same as old password.";
var img_empty="Image validation code is a required field."
 
//sugesstion
var comm_empty="Suggestion field cannot be left blank.";
var comm_err="Suggestion cannot exceed 250 characters.";

//register
/// new messages for regular exp.
var Full_NameErr="Alphabets and space(' ') no special characters min 2 and max 20 characters.";
var Username_Err="Alphabets and numbers no special characters except underscore('_') min 6 and max 12 characters.";
var Mobile_err="Match for mobile number pattern (+xx)xxxxxxxxxx. ";

var fname_empty="First name is a required field.";
var fname_err="First name field can only have alphabets, spaces and hyphens and start with an alphabet.";
var fname_shrt="First name cannot be shorter than 2 characters.";
var fname_lng="First name cannot be longer than 20 characters.";

var lname_empty="Last name is a required field.";
var lname_err="Last name field can only have alphabets, spaces and hyphens and start with an alphabet.";
var lname_shrt="Last name cannot be shorter than 2 characters.";
var lname_lng="Last name cannot be longer than 20 characters.";

var user_empty="Username is a required field.";
var user_err="Username can only have alphabets,digits and _.";
var user_errs="Username must start with an alphabet.";
var uname_shrt="Username should be at least 6 characters long.";
var uname_lng="Username cannot be longer than 12 characters.";
var user_exist="This username is already in use.";
var paswd_len="Password must be at least 6 charters max 20 charters long.";
var pass_empty="Password is a required field.";
var pass_shrt="Password must be at least 6 characters long.";
var pass_long="Password cannot be longer than 12 characters.";
var confrm_empty="Confirm password is a required field.";
var pass_usr="Password cannot be the same as username.";
var pasconf_err="'Confirm Password' does not match 'Password'.";
var town_errs=" Town name not entered correctly";
var addr_empty="Address is a required field.";

var PassErr="Password must be min 6 and max 20 characters long.";

var img_code="Image verification code is a required field."; 			// common for most pages
var phext_empty="Phone ext is a required field.";
var ph_ext="Phone extension is valid.";
var mob_empty="Mobile no. is a required field.";
var mob_err="Invalid mobile number format.";
var firmname_empty="Firmname is a required field.";

var email_empty="Email id is a required field.";
var email_err="Email Id should be in form id@domain.com.";
var email_valid="Someone has already registered with this email id.";
var email_exist="This email id is already present.";
var cnfrm_empty="You have to reenter the new password here.";
var cnfrm_new="'Confirm Password' does not match 'New Password'.";

var ph_empty="Phone number is a required field.";
var ph_err="Phone number must be of format (xxx)xxx-xxxx, where x is digit.";
var ph_less="Phone number must have at least seven digits but cannot be longer than 15.";

var zip_err="Zip number must have at least 5 digits .";
var zip_empty = "Zip is a required field";
var zip_val="Zip can only accept a numeric value.";

var fax_val="Fax can only accept a numeric value.";
var fax_err="Fax code cannot be less than 10 digits.";

var web_err="Website should be in form http://www.domain.com.";

// add property,update property
var empty_proptype="Property type has to be selected.";
var empty_propsubtype="Select Property subtype.";
var empty_country="Select country."
var empty_state="Select state."
var empty_list_price="List price is a required field.";
var empty_town="Town is a required field.";
var list_pricevalid="Price can only accept a numeric value.";
var empty_main_img="Main image for the property has to be selected/entered.";
var img_ext="Please upload images with jpg extension.";
var empty_desc="Description of the property is required.";
var imgcode_valid="Entered code is not valid.";
var empty_imgcode="Image validation code is a required field.";
var empty_img_desc="Image description has to be entered as file for it is selected.";
var empty_oth_img="Image file has to be selected as description for it is entered.";
var empty_addphoto="Image file and description is empty.";
var add_photo_valid="Only a jpg image file is allowed.";
var pincode_empty="Zip can only accept a numeric value."
var pincode_valid="Zip can only accept a numeric value."
var pincode_len="Zip cannot be less than 5 digits."
var empty_address="Address is a required field.";
var max_area="Max area allowed is 20,000 acres.";
var larea_ntvalid="Land area should be specified as a number greater than zero.";
var barea_ntvalid="Buildup area should be specified as a number greater than zero.";
var empty_area="Atleast buildup or land area should be number greater than zero.";
var relevant_dist_valid="Proximity should be a number greater than zero.";
var relevant_dist_large="Proximity should not be greater than 1000.";
var add_other_photos="Atleast one additional photo is required.";
var no_bedrooms="Number of bedrooms should be a whole number greater than zero.";
var no_bathrooms="Number of bathrooms should be a whole number greater than zero.";
var no_Hbath="Number of half bathrooms should be a whole number greater than zero.";
var no_Fbath="Number of full bathrooms should be a whole number greater than zero.";

var no_fireplaces="Number of fireplaces should be a whole number greater than zero.";
var no_garages="Number of garages should be a whole number greater than zero.";
var age="Age should be a whole number greater than zero.";
var tot_rooms="Number of rooms should be a whole number greater than zero.";
var tax_maint="Annual taxes & maintenance should be a whole number greater than zero.";

//forgot password
var forgt_empty="Email id is a required field.";
var forgt_err="Email Id should be in form id@domain.com.";
var img_empty="Image validation code is a required field."
var img_err="Verification code did not match the code.";

// Contact us
var name_req="Name is a required field.";
var name_ntvalid="Name can only have alphabets";
var empty_email_field="Email id is a required field.";
var invalid_email="Email Id should be in form id@domain.com.";
//pending approval 
var rj_empty="Reason is a required.";

//holiday
var hol_empty="Holiday field cannot be empty.";
var hol_name_err="Holiday name cannot have spcial characters.";
var imge_empty="Upload image URL cannot be null.";
var img_ext="Only jpg files are allowed.";
var hol_mes="Holiday message has to be entered.";
var mess_err="Message content field must have at least 4 words.";
var mess_lim="Message cannot exceed 250 characters.";

//featured.
var fprop_empty="Property id is a required field.";
var fprop_err="Property Id should be of format AAA999999 (A is an alphabet, 9 is a digit).";
var photo_seq1="photo sequence is a required field.";
var photo_seq2="photo sequence can only have digits.";
var fprop_exits="This property is already featured.";
 
 //manage parameter
var upload_empty="Upload Image URL folder cannot be empty.";
var upload_err="Upload Image URL folder should end with '/'";
var upload_folder_err="Image path directory does not exist.";
var holi_empty="Holiday Image URL folder cannot be empty.";
var holi_err="Holiday Image URL folder should end with '/'";
var holi_folder_err="Holiday Image path directory does not exist.";
var curr_empty="Currency cannot be empty.";

//Search broker/client
var client_fname_error="Client first name field can only have alphabets, spaces and hyphens and start with an alphabet.";
var client_lname_error="Client last name field can only have alphabets, spaces and hyphens and start with an alphabet.";

var fname_empty_br=" First name is a required field.";
var fname_shrt_br="First name cannot be shorter than 2 characters.";
var lname_empty="Last name is a required field.";
var lname_shrt="Last name cannot be shorter than 2 characters.";
var user_empty="Username is a required field.";
var user_errs="Username must start with an alphabet.";
var user_err="Username can only have alphabets,digits and hyphens.";
var uname_shrt="Username should be at least 6 characters long.";
var pass_empty="Password is a required field.";
var pass_shrt="Password must be at least 6 characters long.";
var confrm_empty="Confirm password is a required field.";
var pass_usr="Password cannot be the same as username.";
var pasconf_err="'Confirm Password' does not match 'Password'.";

var area_frm="Area 'from value' should be a number greater than zero.";
var areato_empty="If 'area from' value is entered, then you should also enter 'area to' value.";
var areato_err="Area 'to value' should be a number greater than zero.";
var areafrm_empty="If 'area to' value is entered, then you should also enter 'area from' value.";
var areato_frm="Area 'to value' should be greater than Area 'from value'.";
var price_frm="Price 'from value' should be a number greater than zero.";
var priceto_empty="If 'price from' value is entered, then you should also enter 'price to' value.";
var priceto_err="Price 'to value' should be a number greater than zero.";
var priceto_frm="Price 'to value' should be greater than Price 'from value'.";
var pricefrm_empty="If 'price to' value is entered, then you should also enter 'price from' value.";

//add/edit Proximity
var land_empty="Proximity Id is a required field.";
var land_err="Proximity Id should be a number greater than zero.";
var lid_err="Proximity id is already in use.";
var landdesc_empty="Proximity Description cannot be null.";
var landdesc_err="This Proximity name is already in use.";
var landdesc_spl_err="Proximity name can only have alphabets or space.";

var empty_prop_desc1="Description of the property is required.";


