/**
 * @author luimm
 */
Ext.namespace('DPC');
DPC.config = {
	form : {
		COLUMN_WIDTH:'50%',
		FIELD_WIDTH:175,
		FIELD_WIDTH_SINGLE_COL:350,
		LABEL_WIDTH:150,
		LABEL_WIDTH_SINGLE_COL:200,
		MSG_TARGET:'under'
	}
}
DPC.constants = {
	required:'<span class="required">*</span> '
}
DPC.Locale = {
	countries : [
	    ['US', 'United States of America'],
		['CA', 'Canada'],
		['AF', 'Afghanistan'],
		['AL', 'Albania'],
		['DZ', 'Algeria'],
		['AS', 'American Samoa'],
		['AD', 'Andorra'],
		['AO', 'Angola'],
		['AI', 'Anguilla'],
		['AQ', 'Antarctica'],
		['AG', 'Antigua/Barbuda'],
		['AR', 'Argentina'],
		['AM', 'Armenia'],
		['AW', 'Aruba'],
		['AU', 'Australia'],
		['AT', 'Austria'],
		['AZ', 'Azerbaijan'],
		['BS', 'Bahama'],
		['BH', 'Bahrain'],
		['BD', 'Bangladesh'],
		['BB', 'Barbados'],
		['BY', 'Belarus'],
		['BE', 'Belgium'],
		['BZ', 'Belize'],
		['BJ', 'Benin'],
		['BM', 'Bermuda'],
		['BT', 'Bhutan'],
		['BO', 'Bolivia'],
		['BA', 'Bosnia and Herzegovina'],
		['BW', 'Botswana'],
		['BV', 'Bouvet Island'],
		['BR', 'Brazil'],
		['IO', 'British Indian Ocean Territory'],
		['VG', 'British Virgin Islands'],
		['BN', 'Brunei Darussalam'],
		['BG', 'Bulgaria'],
		['BF', 'Burkina Faso'],
		['BI', 'Burundi'],
		['KH', 'Cambodia'],
		['CM', 'Cameroon'],
		['CV', 'Cape Verde'],
		['KY', 'Cayman Islands'],
		['CF', 'Central African Republic'],
		['TD', 'Chad'],
		['CL', 'Chile'],
		['CN', 'China'],
		['CX', 'Christmas Island'],
		['CC', 'Cocos (Keeling) Islands'],
		['CO', 'Colombia'],
		['KM', 'Comoros'],
		['CG', 'Congo'],
		['CK', 'Cook Iislands'],
		['CR', 'Costa Rica'],
		['HR', 'Croatia'],
		['CU', 'Cuba'],
		['CY', 'Cyprus'],
		['CZ', 'Czech Republic'],
		['DK', 'Denmark'],
		['DJ', 'Djibouti'],
		['DM', 'Dominica'],
		['DO', 'Dominican Republic'],
		['TP', 'East Timor'],
		['EC', 'Ecuador'],
		['EG', 'Egypt'],
		['SV', 'El Salvador'],
		['GQ', 'Equatorial Guinea'],
		['ER', 'Eritrea'],
		['EE', 'Estonia'],
		['ET', 'Ethiopia'],
		['FK', 'Falkland Islands (Malvinas)'],
		['FO', 'Faroe Islands'],
		['FJ', 'Fiji'],
		['FI', 'Finland'],
		['FR', 'France'],
		['FX', 'France, Metropolitan'],
		['GF', 'French Guiana'],
		['PF', 'French Polynesia'],
		['TF', 'French Southern Territories'],
		['GA', 'Gabon'],
		['GM', 'Gambia'],
		['GE', 'Georgia'],
		['DE', 'Germany'],
		['GH', 'Ghana'],
		['GI', 'Gibraltar'],
		['GR', 'Greece'],
		['GL', 'Greenland'],
		['GD', 'Grenada'],
		['GP', 'Guadeloupe'],
		['GU', 'Guam'],
		['GT', 'Guatemala'],
		['GN', 'Guinea'],
		['GW', 'Guinea-Bissau'],
		['GY', 'Guyana'],
		['HT', 'Haiti'],
		['HM', 'Heard &amp; McDonald Islands'],
		['HN', 'Honduras'],
		['HK', 'Hong Kong'],
		['HU', 'Hungary'],
		['IS', 'Iceland'],
		['IN', 'India'],
		['ID', 'Indonesia'],
		['IQ', 'Iraq'],
		['IE', 'Ireland'],
		['IR', 'Islamic Republic of Iran'],
		['IL', 'Israel'],
		['IT', 'Italy'],
		['CI', 'Ivory Coast'],
		['JM', 'Jamaica'],
		['JP', 'Japan'],
		['JO', 'Jordan'],
		['KZ', 'Kazakhstan'],
		['KE', 'Kenya'],
		['KI', 'Kiribati'],
		['KP', 'Korea, Democratic People\'s Republic of'],
		['KR', 'Korea, Republic of'],
		['KW', 'Kuwait'],
		['KG', 'Kyrgyzstan'],
		['LA', 'Lao People\'s Democratic Republic'],
		['LV', 'Latvia'],
		['LB', 'Lebanon'],
		['LS', 'Lesotho'],
		['LR', 'Liberia'],
		['LY', 'Libyan Arab Jamahiriya'],
		['LI', 'Liechtenstein'],
		['LT', 'Lithuania'],
		['LU', 'Luxembourg'],
		['MO', 'Macau'],
		['MG', 'Madagascar'],
		['MW', 'Malawi'],
		['MY', 'Malaysia'],
		['MV', 'Maldives'],
		['ML', 'Mali'],
		['MT', 'Malta'],
		['MH', 'Marshall Islands'],
		['MQ', 'Martinique'],
		['MR', 'Mauritania'],
		['MU', 'Mauritius'],
		['YT', 'Mayotte'],
		['MX', 'Mexico'],
		['FM', 'Micronesia'],
		['MD', 'Moldova, Republic of'],
		['MC', 'Monaco'],
		['MN', 'Mongolia'],
		['MS', 'Monserrat'],
		['MA', 'Morocco'],
		['MZ', 'Mozambique'],
		['MM', 'Myanmar'],
		['NA', 'Nambia'],
		['NR', 'Nauru'],
		['NP', 'Nepal'],
		['AN', 'Netherlands Antilles'],
		['NL', 'Netherlands'],
		['NC', 'New Caledonia'],
		['NZ', 'New Zealand'],
		['NI', 'Nicaragua'],
		['NE', 'Niger'],
		['NG', 'Nigeria'],
		['NU', 'Niue'],
		['NF', 'Norfolk Island'],
		['MP', 'Northern Mariana Islands'],
		['NO', 'Norway'],
		['OM', 'Oman'],
		['PK', 'Pakistan'],
		['PW', 'Palau'],
		['PA', 'Panama'],
		['PG', 'Papua New Guinea'],
		['PY', 'Paraguay'],
		['PE', 'Peru'],
		['PH', 'Philippines'],
		['PN', 'Pitcairn'],
		['PL', 'Poland'],
		['PT', 'Portugal'],
		['QA', 'Qatar'],
		['RE', 'Reunion'],
		['RO', 'Romania'],
		['RU', 'Russian Federation'],
		['RW', 'Rwanda'],
		['LC', 'Saint Lucia'],
		['WS', 'Samoa'],
		['SM', 'San Marino'],
		['ST', 'Sao Tome &amp; Principe'],
		['SA', 'Saudi Arabia'],
		['SN', 'Senegal'],
		['SC', 'Seychelles'],
		['SL', 'Sierra Leone'],
		['SG', 'Singapore'],
		['SK', 'Slovakia'],
		['SI', 'Slovenia'],
		['SB', 'Solomon Islands'],
		['SO', 'Somalia'],
		['ZA', 'South Africa'],
		['GS', 'South Georgia and the South Sandwich Islands'],
		['ES', 'Spain'],
		['LK', 'Sri Lanka'],
		['SH', 'St. Helena'],
		['KN', 'St. Kitts and Nevis'],
		['PM', 'St. Pierre &amp; Miquelon'],
		['VC', 'St. Vincent &amp; the Grenadines'],
		['SD', 'Sudan'],
		['SR', 'Suriname'],
		['SJ', 'Svalbard &amp; Jan Mayen Islands'],
		['SZ', 'Swaziland'],
		['SE', 'Sweden'],
		['CH', 'Switzerland'],
		['SY', 'Syrian Arab Republic'],
		['TW', 'Taiwan, Province of China'],
		['TJ', 'Tajikistan'],
		['TZ', 'Tanzania, United Republic of'],
		['TH', 'Thailand'],
		['TG', 'Togo'],
		['TK', 'Tokelau'],
		['TO', 'Tonga'],
		['TT', 'Trinidad &amp; Tobago'],
		['TN', 'Tunisia'],
		['TR', 'Turkey'],
		['TM', 'Turkmenistan'],
		['TC', 'Turks &amp; Caicos Islands'],
		['TV', 'Tuvalu'],
		['UG', 'Uganda'],
		['UA', 'Ukraine'],
		['AE', 'United Arab Emirates'],
		['US', 'United States of America'],
		['GB', 'United Kingdom (Great Britain)'],
		['UM', 'United States Minor Outlying Islands'],
		['VI', 'United States Virgin Islands'],
		['ZZ', 'Unknown or unspecified country'],
		['UY', 'Uruguay'],
		['UZ', 'Uzbekistan'],
		['VU', 'Vanuatu'],
		['VA', 'Vatican City State (Holy See)'],
		['VE', 'Venezuela'],
		['VN', 'Viet Nam'],
		['WF', 'Wallis &amp; Futuna Islands'],
		['EH', 'Western Sahara'],
		['YE', 'Yemen'],
		['YU', 'Yugoslavia'],
		['ZR', 'Zaire'],
		['ZM', 'Zambia'],
		['ZW', 'Zimbabwe']
	],

	languages : [
		['CA', 'fr', 'French'],
		['*', 'en', 'English']
	],

	states : [
		/* U.S. States & Territories */
		['US', 'AA', 'Armed Forces - Americas'],
		['US', 'AE', 'Armed Forces - Europe'],
		['US', 'AP', 'Armed Forces - Pacific'],
		['US', 'AL', 'Alabama'],
		['US', 'AK', 'Alaska'],
		['US', 'AZ', 'Arizona'],
		['US', 'AR', 'Arkansas'],
		['US', 'CA', 'California'],
		['US', 'CO', 'Colorado'],
		['US', 'CT', 'Connecticut'],
		['US', 'DE', 'Delaware'],
		['US', 'DC', 'District of Columbia'],
		['US', 'FL', 'Florida'],
		['US', 'GA', 'Georgia'],
		['US', 'HI', 'Hawaii'],
		['US', 'ID', 'Idaho'],
		['US', 'IL', 'Illinois'],
		['US', 'IN', 'Indiana'],
		['US', 'IA', 'Iowa'],
		['US', 'KS', 'Kansas'],
		['US', 'KY', 'Kentucky'],
		['US', 'LA', 'Louisiana'],
		['US', 'ME', 'Maine'],
		['US', 'MD', 'Maryland'],
		['US', 'MA', 'Massachusetts'],
		['US', 'MI', 'Michigan'],
		['US', 'MN', 'Minnesota'],
		['US', 'MS', 'Mississippi'],
		['US', 'MO', 'Missouri'],
		['US', 'MT', 'Montana'],
		['US', 'NE', 'Nebraska'],
		['US', 'NV', 'Nevada'],
		['US', 'NH', 'New Hampshire'],
		['US', 'NJ', 'New Jersey'],
		['US', 'NM', 'New Mexico'],
		['US', 'NY', 'New York'],
		['US', 'NC', 'North Carolina'],
		['US', 'ND', 'North Dakota'],
		['US', 'OH', 'Ohio'],
		['US', 'OK', 'Oklahoma'],
		['US', 'OR', 'Oregon'],
		['US', 'PA', 'Pennsylvania'],
		['US', 'RI', 'Rhode Island'],
		['US', 'SC', 'South Carolina'],
		['US', 'SD', 'South Dakota'],
		['US', 'TN', 'Tennessee'],
		['US', 'TX', 'Texas'],
		['US', 'UT', 'Utah'],
		['US', 'VT', 'Vermont'],
		['US', 'VA', 'Virginia'],
		['US', 'WA', 'Washington'],
		['US', 'WV', 'West Virginia'],
		['US', 'WI', 'Wisconsin'],
		['US', 'WY', 'Wyoming'],
		['US', 'AS', 'American Samoa'],
		['US', 'FM', 'Federated States of Micronesia'],
		['US', 'GU', 'Guam'],
		['US', 'MH', 'Marshall Islands'],
		['US', 'MP', 'Northern Mariana Islands'],
		['US', 'PW', 'Palau'],
		['US', 'PR', 'Puerto Rico'],
		['US', 'UM', 'U.S. Minor Outlying Islands'],
		['US', 'VI', 'Virgin Islands of the U.S.'],
		/* Canadian Provinces */
		['CA', 'AB', 'Alberta'],
		['CA', 'BC', 'British Columbia'],
		['CA', 'MB', 'Manitoba'],
		['CA', 'NB', 'New Brunswick'],
		['CA', 'NF', 'Newfoundland'],
		['CA', 'NT', 'Northwest Territories'],
		['CA', 'NS', 'Nova Scotia'],
		['CA', 'NU', 'Nunavut'],
		['CA', 'ON', 'Ontario'],
		['CA', 'PE', 'Prince Edward Island'],
		['CA', 'QC', 'Quebec'],
		['CA', 'SK', 'Saskatchewan'],
		['CA', 'YT', 'Yukon Territory'],
		/* Outside US CANADA */
		['XX', 'XX', 'Outside U.S. and Canada']
	],

	SUTs : [
		['UPP', 'User of Paint Products'],
		['DPP', 'Distributor of Paint Products'],
		['DPC', 'DPC Employee'],
		['OEM', 'Automotive Manufacturer ']
	],

	yesNo: [
		['Y','Yes'],
		['N','No']
	],

	labels : {
		firstName:DPC.constants.required+'First Name',
		lastName:DPC.constants.required+'Last Name',
		companyName:DPC.constants.required+'Company Name',
		phone:DPC.constants.required+'Telephone',
		faxNumber:'Fax',
		companyEmail:DPC.constants.required+'Company E-mail Address',
		countryRegion:DPC.constants.required+'Country / Region',
		address1:DPC.constants.required+'Address Line 1',
		address2:'Address Line 2',
		city:DPC.constants.required+'City',
		state:DPC.constants.required+'State / Province',
		zip:DPC.constants.required+'Zip / Postal Code',
		language:DPC.constants.required+'Language',
		sut:DPC.constants.required+'I am a',
		eut1:DPC.constants.required+'My Primary Business is',
		eut2:DPC.constants.required+'In that business I use paint for',
		otherEUT:DPC.constants.required+'Specify Other Business',
		brands:{
			UPP:DPC.constants.required+'My Primary DuPont Performance Coatings Brand is',
			DPP:DPC.constants.required+'I sell these DuPont Performance Coatings Brands (select all that apply)',
			SPP:DPC.constants.required+'I specify these DuPont Performance Coatings Brands (select all that apply)',
			OEM:DPC.constants.required+'My brand'
		},
		autoOEM:DPC.constants.required+'For this automotive OEM manufacturer',
		otherMan:DPC.constants.required+'I use paint made by these other manufacturers',
		shopMgmtSys:'I use these Shop Management Systems',
		profitnet:DPC.constants.required+'Profitnet #',
		mktPgm:DPC.constants.required+'I participate in the following DuPont Performance Coatings marketing program',
		affiliation:'I participate in the following OEM Affiliation Program',
		affiliationOpt:DPC.constants.required+'Please select your OEM Authorized Program member type',
		affiliationOth:DPC.constants.required+'Type in the name of the OEM Program you belong to',
		perfAlliance:DPC.constants.required+'I am a member of the DPC Performance Alliance',
		champion:DPC.constants.required+'I participate in the DuPont Performance Coatings Champion Program',
		optIn:DPC.constants.required+'I would like to receive notices from DuPont Performance Coatings',
		userID:DPC.constants.required+'User ID',
		password:DPC.constants.required+'Password',
		password2:DPC.constants.required+'Retype password',
		passwordHint:DPC.constants.required+'Password hint',
		termsAgree:DPC.constants.required+'Do you agree to the DuPont terms of use',
		omsauthority:'OMSauthority',
		adminauthority:'Adminauthority',
		assignedTo:'Assigned To',
		notes:'Notes'
	},

	emptyText : {
		phone:'123-456-7890 Ext.123',
		fax:'123-456-7890 Ext.123',
		country:'Select a country...',
		state:'Select a state/province...',
		language:'Select a language...',
		bestfit:'Select one that best applies...'
	},

	legends : {
		company:'Company Information',
		language:'Preferred Language Settings'
	},

	buttons : {
		next:'Next',
		prev:'Previous',
		cancel:'Cancel',
		submit:'Submit'
	},

	msg: {
		validation:'Please check that all required fields are filled out properly (errors highlighted).'
	}
};
