/*
	CONTACTFORM.JS 1.0 USER SETTINGS
	download at: http://acidmartin.wemakesites.net/?pageId=ContactFormJs
	created by: Martin Ivanov
	email: acid_martin@yahoo.com, martin@acidmartin.com
	personal website: http://acidmartin.wemakesites.net/
	portfolio: http://wemakesites.net
	
	IMPORTANT REGULATIONS:
	
	1. IF YOU ARE USING THE OBFUSCATED VERSION OF CONTACTFORM.JS, IT IS FORBIDDEN TO DEOBFUSCATE AND MODIFY THIS SRCIPT WITHOUT AUTHOR'S WRITTEN PERMISSION. OTHERWISE SUCH ACTIONS WILL BE CONSIDERED VIOLATIONS OF THE COPYRIGHT LAWS AND LEGAL STEPS WILL BE TAKEN.
	
	2. IF YOU HAVE PURCHASED THE SOURCE CODE OF CONTACTFORM.JS, YOU CANNOT USE THIS SCRIPT ON WEBPAGES WITHOUT
	OBFUSCATING IT. OTHERWISE SUCH ACTIONS WILL BE CONSIDERED VIOLATIONS OF THE COPYRIGHT LAWS AND LEGAL STEPS WILL BE TAKEN.
*/

/* Please, refer to USING_THE_SCRIPT.pdf when modifying these properties */

/* general settings */
var contactformenabled = true; // enable or disable ContactForm.JS - "true" or "false"
var contactformroot = 'Scripts'; // scripts root folder
var contactformskin = 'WeMakeSites' // reservation form skin
var contactformwidth = '480'; // reservation form width

/* input settings */
var rounded_corners_enabled = true; // enable or disable rounded corners for input boxes - "true" or "false"
var inputs_width = '280'; // enable or disable rounded corners for input boxes
var comments_box_height = '100'; // height of the "comments" textbox
var dropdowns_width = '200'; // width of the dropdowns
var dropdownheight = '100'; // height of the dropdowns list boxes
var messagemaxlength = '256'; // max length of the message box. use "auto" if there is no max length

/* text string strings */
var contact_form_name_label = 'Your Name'; // person's first name label
var contact_form_email_label = 'Email'; // email label
var contact_form_website_label = 'Website'; // person's last name label
var message_label = 'Comments'; // additional notes label
var submit_form_button_text = 'Submit Contact Form'; // "submit" button text
var contact_form_submitted = 'the contact form has been submitted'; // message that will be displayed when the reservation form has been processed
var new_security_code_label = 'new security code'; // "create new security code" string
var security_code_instructions = 'Please, type the security code on the left in the textbox next to it.'; // security code instrucions that can contain HTML

/* "where did you hear about us" dropdown */
var where_did_you_hear_about_us_label = 'How did you find me';
var where_did_you_hear_about_us_please_select = 'choose...';
var where_did_you_hear_about_us_array = new Array('Search engine', 'Recommended by friend', 'Link from other website', 'Advertisement', 'Other');

/* "country" dropdown */
var your_country_label = 'Where are you from';
var your_country_label_please_select = where_did_you_hear_about_us_please_select;
var countries_list = new Array('Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', 'Bouvet Island', 'Brazil', 'British Indian Ocean Territory', 'British Virgin Islands', 'Brunei', 'Bulgaria', 'Burkina Faso', 'Burundi', 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos Islands', 'Colombia', 'Comoros', 'Congo', 'Cook Islands', 'Costa Rica', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', 'Denmark', 'Djibouti', 'Dominica', 'Dominican Republic', 'East Timor', 'Ecuador', 'Egypt', 'El Salvador', 'Equatorial Guinea', 'Eritrea', 'Estonia', 'Ethiopia', 'Falkland Islands', 'Faroe Islands', 'Fiji', 'Finland', 'France', 'French Guiana', 'French Polynesia', 'French Southern Territories', 'Gabon', 'Gambia', 'Georgia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guinea', 'Guinea-Bissau', 'Guyana', 'Haiti', 'Heard and McDonald Islands', 'Honduras', 'Hong Kong,Hungary', 'Iceland', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Israel', 'Italy', 'Ivory Coast', 'Jamaica', 'Japan', 'Jordan', 'Kazakhstan', 'Kenya', 'Kiribati', 'North Korea', 'South Korea', 'Kuwait', 'Kyrgyzstan', 'Laos', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libya', 'Liechtenstein', 'Lithuania', 'Luxembourg', 'Macau', 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Marshall Islands', 'Martinique', 'Mauritania', 'Mauritius', 'Mayotte', 'Mexico', 'Micronesia', 'Moldova', 'Monaco', 'Mongolia', 'Montserrat', 'Morocco', 'Mozambique', 'Myanmar', 'Namibia', 'Nauru', 'Nepal', 'Netherlands', 'Netherlands Antilles', 'New Caledonia', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'Northern Mariana Islands', 'Norway', 'Oman', 'Pakistan', 'Palau', 'Panama', 'Papua New Guinea', 'Paraguay', 'Peru', 'Philippines', 'Pitcairn Island', 'Poland', 'Portugal', 'Puerto Rico', 'Qatar', 'Reunion', 'Romania', 'Russia', 'Rwanda', 'S. Georgia and S. Sandwich Isls.', 'Saint Kitts & Nevis', 'Saint Lucia', 'Saint Vincent and The Grenadines', 'Samoa', 'San Marino', 'Sao Tome and Principe', 'Saudi Arabia', 'Senegal', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovakia', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'Spain', 'Sri Lanka', 'St. Helena', 'St. Pierre and Miquelon', 'Sudan', 'Suriname', 'Svalbard and Jan Mayen Islands', 'Swaziland', 'Sweden', 'Switzerland', 'Syria', 'Taiwan', 'Tajikistan', 'Tanzania', 'Thailand', 'Togo', 'Tokelau', 'Tonga', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Turkmenistan', 'Turks and Caicos Islands', 'Tuvalu', 'U.S. Minor Outlying Islands', 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States', 'Uruguay', 'Uzbekistan', 'Vanuatu', 'Vatican City', 'Venezuela', 'Vietnam', 'Virgin Islands', 'Wallis and Futuna Islands', 'Western Sahara', 'Yemen', 'Serbia and Montenegro', 'Zaire', 'Zambia', 'Zimbabwe');

/* which inputs will be visible */
var inpt_name = true; // name input  - "true" or "false"
var inpt_email = true; // email input - "true" or "false"
var inpt_website = true; // website input - "true" or "false"
var where_did_you_hear_about_us_input_enabled = true; // where did you hear about us dropdown - "true" or "false"
var countries_input_enabled = true; // where are you from dropdown - "true" or "false"
var comments_enabled = true; // comments input - "true" or "false"

/* which inputs will validate and antispam settigs */
var disable_after_submit = true; // disable the submit button after the form has been sent - "true" or "false"
var antispam_enabled = true; // is antispam security form code enabled - "true" or "false"
var val_name = true; // name input  - "true" or "false"
var val_email = true; // email input - "true" or "false"
var val_website = true; // website input - "true" or "false"
var val_where_did_you_hear_about_us = true; // where did you hear about us dropdown - "true" or "false"
var val_countries_input = true; // where are you from dropdown - "true" or "false"
var val_comments = true; // comments input - "true" or "false"

/* modal overlay and "submitting form" message */
var modalOverlayBackground = '#000'; // modal overlay background color
var modalOverlayOpacity = '3' // model overlay opacity rate (0-9)
var loadingMessageFontProperties = 'normal 16px "Segoe UI", "Trebuchet MS", Arial, Verdana, Serif'; // font properties of the "posting entry" text
var loadingMessage = 'submitting form. please, wait...'; // "posting entry text"
var loadingMessageWidth = '300'; // width of the "posting entry" box
var loadingMessageHeight = '42'; // height of the "posting entry" box
var loadingMessageRoundedCornerTopLeft = yes; // rounded top left corner of the "posting entry" box -  "yes" or "no"
var loadingMessageRoundedCornerTopRight = yes; // rounded top right corner of the "posting entry" box -  "yes" or "no"
var loadingMessageRoundedCornerBottomRight = yes; // rounded bottom right corner of the "posting entry" box -  "yes" or "no"
var loadingMessageRoundedCornerBottomLeft = yes; // rounded bottom left corner of the "posting entry" box -  "yes" or "no"

/* do not edit these two */
var yes = true;
var no = false;