
function getCountryCode(countryName) {
	var countryCodeList = [
		
			{country: "Afghanistan", countryCode: "AF"},
		
			{country: "Albania", countryCode: "AL"},
		
			{country: "Algeria", countryCode: "DZ"},
		
			{country: "American Samoa", countryCode: "AS"},
		
			{country: "Andorra", countryCode: "AD"},
		
			{country: "Angola", countryCode: "AO"},
		
			{country: "Anguilla", countryCode: "AI"},
		
			{country: "Antarctica", countryCode: "AQ"},
		
			{country: "Antigua and Barbuda", countryCode: "AG"},
		
			{country: "Argentina", countryCode: "AR"},
		
			{country: "Armenia", countryCode: "AM"},
		
			{country: "Aruba", countryCode: "AW"},
		
			{country: "Australia", countryCode: "AU"},
		
			{country: "Austria", countryCode: "AT"},
		
			{country: "Azerbaijan", countryCode: "AZ"},
		
			{country: "Bahamas", countryCode: "BS"},
		
			{country: "Bahrain", countryCode: "BH"},
		
			{country: "Bangladesh", countryCode: "BD"},
		
			{country: "Barbados", countryCode: "BB"},
		
			{country: "Belarus", countryCode: "BY"},
		
			{country: "Belgium", countryCode: "BE"},
		
			{country: "Belize", countryCode: "BZ"},
		
			{country: "Benin", countryCode: "BJ"},
		
			{country: "Bermuda", countryCode: "BM"},
		
			{country: "Bhutan", countryCode: "BT"},
		
			{country: "Bolivia", countryCode: "BO"},
		
			{country: "Bosnia and Herzegowina", countryCode: "BA"},
		
			{country: "Botswana", countryCode: "BW"},
		
			{country: "Bouvet Island", countryCode: "BV"},
		
			{country: "Brazil", countryCode: "BR"},
		
			{country: "British Indian Ocean Territory", countryCode: "IO"},
		
			{country: "Brunei Darussalam", countryCode: "BN"},
		
			{country: "Bulgaria", countryCode: "BG"},
		
			{country: "Burkina Faso", countryCode: "BF"},
		
			{country: "Burundi", countryCode: "BI"},
		
			{country: "Cambodia", countryCode: "KH"},
		
			{country: "Cameroon", countryCode: "CM"},
		
			{country: "Canada", countryCode: "CA"},
		
			{country: "Cape Verde", countryCode: "CV"},
		
			{country: "Cayman Islands", countryCode: "KY"},
		
			{country: "Central African Republic", countryCode: "CF"},
		
			{country: "Chad", countryCode: "TD"},
		
			{country: "Chile", countryCode: "CL"},
		
			{country: "China", countryCode: "CN"},
		
			{country: "Christmas Island", countryCode: "CX"},
		
			{country: "Cocoa (Keeling) Islands", countryCode: "CC"},
		
			{country: "Colombia", countryCode: "CO"},
		
			{country: "Comoros", countryCode: "KM"},
		
			{country: "Congo", countryCode: "CG"},
		
			{country: "Cook Islands", countryCode: "CK"},
		
			{country: "Costa Rica", countryCode: "CR"},
		
			{country: "Cote Divoire", countryCode: "CI"},
		
			{country: "Croatia (Hrvatska)", countryCode: "CT"},
		
			{country: "Cuba", countryCode: "CU"},
		
			{country: "Cyprus", countryCode: "CY"},
		
			{country: "Czech Republic", countryCode: "CZ"},
		
			{country: "Denmark", countryCode: "DK"},
		
			{country: "Djibouti", countryCode: "DJ"},
		
			{country: "DoDDs Schools", countryCode: "DS"},
		
			{country: "Dominica", countryCode: "DM"},
		
			{country: "Dominican Republic", countryCode: "DO"},
		
			{country: "East Timor", countryCode: "TP"},
		
			{country: "Ecuador", countryCode: "EC"},
		
			{country: "Egypt", countryCode: "EG"},
		
			{country: "El Salvador", countryCode: "SV"},
		
			{country: "Equatorial Guinea", countryCode: "GQ"},
		
			{country: "Eritrea", countryCode: "ER"},
		
			{country: "Estonia", countryCode: "EE"},
		
			{country: "Ethiopia", countryCode: "ET"},
		
			{country: "Falkland Islands (Malvinas)", countryCode: "FK"},
		
			{country: "Faroe Islands", countryCode: "FO"},
		
			{country: "Fiji", countryCode: "FJ"},
		
			{country: "Finland", countryCode: "FI"},
		
			{country: "France", countryCode: "FR"},
		
			{country: "Gabon", countryCode: "GA"},
		
			{country: "Gambia", countryCode: "GM"},
		
			{country: "Georgia", countryCode: "GE"},
		
			{country: "Germany", countryCode: "DE"},
		
			{country: "Ghana", countryCode: "GH"},
		
			{country: "Gibraltar", countryCode: "GI"},
		
			{country: "Greece", countryCode: "GR"},
		
			{country: "Greenland", countryCode: "GL"},
		
			{country: "Grenada", countryCode: "GD"},
		
			{country: "Guam", countryCode: "GU"},
		
			{country: "Guatemala", countryCode: "GT"},
		
			{country: "Guinea", countryCode: "GN"},
		
			{country: "Guinea-Bissau", countryCode: "GW"},
		
			{country: "Guyana", countryCode: "GY"},
		
			{country: "Haiti", countryCode: "HT"},
		
			{country: "Heard and Mc Donald Islands", countryCode: "HM"},
		
			{country: "Honduras", countryCode: "HN"},
		
			{country: "Hong Kong", countryCode: "HK"},
		
			{country: "Hungary", countryCode: "HU"},
		
			{country: "Iceland", countryCode: "IS"},
		
			{country: "India", countryCode: "IN"},
		
			{country: "Indonesia", countryCode: "ID"},
		
			{country: "Iran (Islamic Republic of)", countryCode: "IR"},
		
			{country: "Iraq", countryCode: "IQ"},
		
			{country: "Ireland", countryCode: "IE"},
		
			{country: "Israel", countryCode: "IL"},
		
			{country: "Italy", countryCode: "IT"},
		
			{country: "Jamaica", countryCode: "JM"},
		
			{country: "Japan", countryCode: "JP"},
		
			{country: "Jordan", countryCode: "JO"},
		
			{country: "Kazakhstan", countryCode: "KZ"},
		
			{country: "Kenya", countryCode: "KE"},
		
			{country: "Kiribati", countryCode: "KI"},
		
			{country: "Korea,  Democratic Peoples Republic of", countryCode: "KP"},
		
			{country: "Korea,  Republic of", countryCode: "KR"},
		
			{country: "Kuwait", countryCode: "KW"},
		
			{country: "Kyrgyzstan", countryCode: "KG"},
		
			{country: "Lao Peoples Democratic Republic", countryCode: "LA"},
		
			{country: "Latvia", countryCode: "LV"},
		
			{country: "Lebanon", countryCode: "LB"},
		
			{country: "Lesotho", countryCode: "LS"},
		
			{country: "Liberia", countryCode: "LR"},
		
			{country: "Libyan Arab Jamahiriya", countryCode: "LY"},
		
			{country: "Liechtenstein", countryCode: "LI"},
		
			{country: "Lithuania", countryCode: "LT"},
		
			{country: "Luxembourg", countryCode: "LU"},
		
			{country: "Macau", countryCode: "MO"},
		
			{country: "Macedonia, The Former Yugoslav Republic of", countryCode: "MK"},
		
			{country: "Madagascar", countryCode: "MG"},
		
			{country: "Malawi", countryCode: "MW"},
		
			{country: "Malaysia", countryCode: "MY"},
		
			{country: "Maldives", countryCode: "MV"},
		
			{country: "Mali", countryCode: "ML"},
		
			{country: "Malta", countryCode: "MT"},
		
			{country: "Marshall Islands", countryCode: "MH"},
		
			{country: "Mauritania", countryCode: "MR"},
		
			{country: "Mauritius", countryCode: "MU"},
		
			{country: "Mexico", countryCode: "MX"},
		
			{country: "Micronesia, Federated States of", countryCode: "FM"},
		
			{country: "Moldova,  Republic of", countryCode: "MD"},
		
			{country: "Monaco", countryCode: "MC"},
		
			{country: "Mongolia", countryCode: "MN"},
		
			{country: "Montserrat", countryCode: "MS"},
		
			{country: "Morocco", countryCode: "MA"},
		
			{country: "Mozambique", countryCode: "MZ"},
		
			{country: "Myanmar", countryCode: "MM"},
		
			{country: "Namibia", countryCode: "NA"},
		
			{country: "Nauru", countryCode: "NR"},
		
			{country: "Nepal", countryCode: "NP"},
		
			{country: "Netherlands", countryCode: "NL"},
		
			{country: "Netherlands Antilles", countryCode: "AN"},
		
			{country: "New Zealand", countryCode: "NZ"},
		
			{country: "Nicaragua", countryCode: "NI"},
		
			{country: "Niger", countryCode: "NE"},
		
			{country: "Nigeria", countryCode: "NG"},
		
			{country: "Niue", countryCode: "NU"},
		
			{country: "Norfolk Island", countryCode: "NF"},
		
			{country: "Northern Mariana Islands", countryCode: "MP"},
		
			{country: "Norway", countryCode: "NO"},
		
			{country: "Oman", countryCode: "OM"},
		
			{country: "Pakistan", countryCode: "PK"},
		
			{country: "Palau", countryCode: "PW"},
		
			{country: "Panama", countryCode: "PA"},
		
			{country: "Papua New Guinea", countryCode: "PG"},
		
			{country: "Paraguay", countryCode: "PY"},
		
			{country: "Peru", countryCode: "PE"},
		
			{country: "Philippines", countryCode: "PH"},
		
			{country: "Pitcairn", countryCode: "PN"},
		
			{country: "Poland", countryCode: "PL"},
		
			{country: "Portugal", countryCode: "PT"},
		
			{country: "Puerto Rico", countryCode: "PR"},
		
			{country: "Qatar", countryCode: "QA"},
		
			{country: "Romania", countryCode: "RO"},
		
			{country: "Russian Federation", countryCode: "RU"},
		
			{country: "Rwanda", countryCode: "RW"},
		
			{country: "Saint Kitts and Nevis", countryCode: "KN"},
		
			{country: "Saint Lucia", countryCode: "LC"},
		
			{country: "Saint Vincent and the Grenadines", countryCode: "VC"},
		
			{country: "Samoa", countryCode: "WS"},
		
			{country: "San Marino", countryCode: "SM"},
		
			{country: "Sao Tome and Principe", countryCode: "ST"},
		
			{country: "Saudi Arabia", countryCode: "SA"},
		
			{country: "Senegal", countryCode: "SN"},
		
			{country: "Seychelles", countryCode: "SC"},
		
			{country: "Sierra Leone", countryCode: "SL"},
		
			{country: "Singapore", countryCode: "SG"},
		
			{country: "Slovakia (Slovak Republic)", countryCode: "SK"},
		
			{country: "Slovenia", countryCode: "SI"},
		
			{country: "Solomon Islands", countryCode: "Sb"},
		
			{country: "Somalia", countryCode: "SO"},
		
			{country: "South Africa", countryCode: "ZA"},
		
			{country: "South Georgia and the South Sandwich Islands", countryCode: "GS"},
		
			{country: "Spain", countryCode: "ES"},
		
			{country: "Sri Lanka", countryCode: "LK"},
		
			{country: "St. Helena", countryCode: "SH"},
		
			{country: "Sudan", countryCode: "SD"},
		
			{country: "Suriname", countryCode: "SR"},
		
			{country: "Svalbard and Jan Mayen Islands", countryCode: "SJ"},
		
			{country: "Swaziland", countryCode: "SZ"},
		
			{country: "Sweden", countryCode: "SE"},
		
			{country: "Switzerland", countryCode: "CH"},
		
			{country: "Syrian ArabRepublic", countryCode: "SY"},
		
			{country: "Taiwan", countryCode: "TW"},
		
			{country: "Tajikistan", countryCode: "TJ"},
		
			{country: "Tanzania,  United Republic of", countryCode: "TZ"},
		
			{country: "Thailand", countryCode: "TH"},
		
			{country: "Togo", countryCode: "TG"},
		
			{country: "Tokelau", countryCode: "TK"},
		
			{country: "Tonga", countryCode: "TO"},
		
			{country: "Trinidad and Tobago", countryCode: "TT"},
		
			{country: "Tunisia", countryCode: "TN"},
		
			{country: "Turkey", countryCode: "TR"},
		
			{country: "Turkmenistan", countryCode: "TM"},
		
			{country: "Turks and Caicos Islands", countryCode: "TC"},
		
			{country: "Tuvalu", countryCode: "TV"},
		
			{country: "Uganda", countryCode: "UG"},
		
			{country: "Ukraine", countryCode: "UA"},
		
			{country: "United ArabEmirates", countryCode: "AE"},
		
			{country: "United Kingdom", countryCode: "UK"},
		
			{country: "United States", countryCode: "US"},
		
			{country: "United States Minor Outlying Islands", countryCode: "UM"},
		
			{country: "Uruguay", countryCode: "UY"},
		
			{country: "Uzbekistan", countryCode: "UZ"},
		
			{country: "Vanuatu", countryCode: "VU"},
		
			{country: "Vatican City State(Holy See)", countryCode: "VA"},
		
			{country: "Venezuela", countryCode: "VE"},
		
			{country: "Viet Nam", countryCode: "VN"},
		
			{country: "Virgin Islands (British)", countryCode: "VG"},
		
			{country: "Virgin Islands (U.S.)", countryCode: "VI"},
		
			{country: "Western Sahara", countryCode: "EH"},
		
			{country: "Yeman", countryCode: "YE"},
		
			{country: "Yugoslavia", countryCode: "YU"},
		
			{country: "Zaire", countryCode: "ZR"},
		
			{country: "Zambia", countryCode: "ZM"},
		
			{country: "Zimbabwe", countryCode: "ZW"},
		
	];
	var count = 0;
	var userBrowser = navigator.userAgent.toLowerCase();
	
	if( !(userBrowser.indexOf('msie') + 1) )
		count = countryCodeList.length;
	else
		count = countryCodeList.length - 1;
	
	// Special case for US.
	if(countryName=="USA")
		countryName = "United States";
	
	for (var i=0; i < count; i++ ) {
		if(countryName==countryCodeList[i].country)
			return countryCodeList[i].countryCode;
	}	
	
	return "";
}	
	
function populateState(countryCode)
{
	
	var form=document.forms['theForm'];
	var objstate=form.elements['customer_state'];
	   	objstate.options.length = 1;
	var userBrowser = navigator.userAgent.toLowerCase();
	
  //changed for chinese support
		
  //changed over
		 if(countryCode!="JP")
		 {
			var statelist= [
				
						{id: 75, title: "Australian Capital Territory", refID: "Australia"},
				
						{id: 76, title: "New South Wales", refID: "Australia"},
				
						{id: 77, title: "Northern Territory", refID: "Australia"},
				
						{id: 78, title: "Queensland", refID: "Australia"},
				
						{id: 79, title: "South Australia ", refID: "Australia"},
				
						{id: 80, title: "Tasmania", refID: "Australia"},
				
						{id: 110, title: "Victoria", refID: "Australia"},
				
						{id: 82, title: "Western Australia", refID: "Australia"},
				
						{id: 53, title: "Alberta", refID: "Canada"},
				
						{id: 56, title: "British Columbia", refID: "Canada"},
				
						{id: 58, title: "Manitoba", refID: "Canada"},
				
						{id: 60, title: "New Brunswick", refID: "Canada"},
				
						{id: 55, title: "Newfoundland", refID: "Canada"},
				
						{id: 401, title: "Northwest Territories", refID: "Canada"},
				
						{id: 59, title: "Nova Scotia", refID: "Canada"},
				
						{id: 57, title: "Nunavut", refID: "Canada"},
				
						{id: 52, title: "Ontario", refID: "Canada"},
				
						{id: 54, title: "Prince Edward", refID: "Canada"},
				
						{id: 62, title: "Quebec", refID: "Canada"},
				
						{id: 61, title: "Saskatchewan", refID: "Canada"},
				
						{id: 63, title: "Yukon", refID: "Canada"},
				
						{id: 453, title: "???", refID: "CN"},
				
						{id: 470, title: "???", refID: "CN"},
				
						{id: 479, title: "??????", refID: "CN"},
				
						{id: 450, title: "???", refID: "CN"},
				
						{id: 475, title: "???", refID: "CN"},
				
						{id: 455, title: "???", refID: "CN"},
				
						{id: 472, title: "???", refID: "CN"},
				
						{id: 452, title: "???", refID: "CN"},
				
						{id: 477, title: "???????", refID: "CN"},
				
						{id: 464, title: "???", refID: "CN"},
				
						{id: 468, title: "???", refID: "CN"},
				
						{id: 458, title: "???", refID: "CN"},
				
						{id: 469, title: "???", refID: "CN"},
				
						{id: 478, title: "???????", refID: "CN"},
				
						{id: 480, title: "?????????", refID: "CN"},
				
						{id: 465, title: "???", refID: "CN"},
				
						{id: 467, title: "???", refID: "CN"},
				
						{id: 463, title: "???", refID: "CN"},
				
						{id: 460, title: "???", refID: "CN"},
				
						{id: 466, title: "???", refID: "CN"},
				
						{id: 473, title: "???", refID: "CN"},
				
						{id: 462, title: "???", refID: "CN"},
				
						{id: 461, title: "???", refID: "CN"},
				
						{id: 483, title: "???????", refID: "CN"},
				
						{id: 476, title: "???", refID: "CN"},
				
						{id: 474, title: "???", refID: "CN"},
				
						{id: 481, title: "?????", refID: "CN"},
				
						{id: 471, title: "???", refID: "CN"},
				
						{id: 456, title: "???", refID: "CN"},
				
						{id: 451, title: "???", refID: "CN"},
				
						{id: 459, title: "???", refID: "CN"},
				
						{id: 457, title: "???", refID: "CN"},
				
						{id: 482, title: "???????", refID: "CN"},
				
						{id: 454, title: "????", refID: "CN"},
				
						{id: 112, title: "All", refID: "Denmark"},
				
						{id: 113, title: "All", refID: "DoDDs Schools"},
				
						{id: 114, title: "All", refID: "Finland"},
				
						{id: 157, title: "Alsace", refID: "France"},
				
						{id: 152, title: "Aquitaine", refID: "France"},
				
						{id: 155, title: "Auvergne", refID: "France"},
				
						{id: 159, title: "Basse-Normandie", refID: "France"},
				
						{id: 164, title: "Bourgogne", refID: "France"},
				
						{id: 167, title: "Bretagne", refID: "France"},
				
						{id: 161, title: "Centre", refID: "France"},
				
						{id: 160, title: "Champagne-Ardenne", refID: "France"},
				
						{id: 162, title: "Corse", refID: "France"},
				
						{id: 145, title: "DOM", refID: "France"},
				
						{id: 165, title: "Franche-ComtŽ", refID: "France"},
				
						{id: 150, title: "Haute-Normandie", refID: "France"},
				
						{id: 147, title: "Ile-de-France", refID: "France"},
				
						{id: 163, title: "Languedoc-Roussillon", refID: "France"},
				
						{id: 151, title: "Limousin", refID: "France"},
				
						{id: 168, title: "Lorraine", refID: "France"},
				
						{id: 148, title: "Midi-PyrŽnŽes", refID: "France"},
				
						{id: 156, title: "Nord-Pas-de-Calais", refID: "France"},
				
						{id: 153, title: "PACA", refID: "France"},
				
						{id: 154, title: "Pays de la Loire", refID: "France"},
				
						{id: 158, title: "Picardie", refID: "France"},
				
						{id: 149, title: "Poitou-Charentes", refID: "France"},
				
						{id: 166, title: "Rh™ne-Alpes", refID: "France"},
				
						{id: 146, title: "TOM", refID: "France"},
				
						{id: 324, title: "Baden-Wźrttemberg", refID: "Germany"},
				
						{id: 326, title: "Bayern", refID: "Germany"},
				
						{id: 320, title: "Berlin", refID: "Germany"},
				
						{id: 336, title: "Brandenburg", refID: "Germany"},
				
						{id: 328, title: "Bremen", refID: "Germany"},
				
						{id: 327, title: "Hamburg", refID: "Germany"},
				
						{id: 335, title: "Hessen", refID: "Germany"},
				
						{id: 322, title: "Mecklenburg-Vorpommern", refID: "Germany"},
				
						{id: 334, title: "Niedersachsen", refID: "Germany"},
				
						{id: 321, title: "Nordrhein-Westfalen", refID: "Germany"},
				
						{id: 329, title: "Rheinland-Pfalz", refID: "Germany"},
				
						{id: 323, title: "Saarland", refID: "Germany"},
				
						{id: 330, title: "Sachsen ", refID: "Germany"},
				
						{id: 325, title: "Sachsen-Anhalt", refID: "Germany"},
				
						{id: 333, title: "Schleswig-Holstein", refID: "Germany"},
				
						{id: 331, title: "Thźringen", refID: "Germany"},
				
						{id: 87, title: "Central And Western", refID: "Hong Kong"},
				
						{id: 88, title: "Eastern", refID: "Hong Kong"},
				
						{id: 89, title: "Islands", refID: "Hong Kong"},
				
						{id: 90, title: "Kowloon City", refID: "Hong Kong"},
				
						{id: 91, title: "Kwai Tsing", refID: "Hong Kong"},
				
						{id: 92, title: "Kwun Tong", refID: "Hong Kong"},
				
						{id: 93, title: "North", refID: "Hong Kong"},
				
						{id: 94, title: "Sai Kung", refID: "Hong Kong"},
				
						{id: 95, title: "Sha Tin", refID: "Hong Kong"},
				
						{id: 96, title: "Sham Shui Po", refID: "Hong Kong"},
				
						{id: 97, title: "Southern", refID: "Hong Kong"},
				
						{id: 98, title: "Tai Po", refID: "Hong Kong"},
				
						{id: 99, title: "Tsuen Wan", refID: "Hong Kong"},
				
						{id: 100, title: "Tuen Mun", refID: "Hong Kong"},
				
						{id: 101, title: "Wan Chai", refID: "Hong Kong"},
				
						{id: 102, title: "Wong Tai Sin", refID: "Hong Kong"},
				
						{id: 103, title: "Yau Tsim Mong", refID: "Hong Kong"},
				
						{id: 104, title: "Yuen Long", refID: "Hong Kong"},
				
						{id: 119, title: "Carlow", refID: "Ireland"},
				
						{id: 120, title: "Cavan", refID: "Ireland"},
				
						{id: 121, title: "Clare", refID: "Ireland"},
				
						{id: 122, title: "Cork", refID: "Ireland"},
				
						{id: 123, title: "Donegal", refID: "Ireland"},
				
						{id: 124, title: "Dublin", refID: "Ireland"},
				
						{id: 125, title: "Galway", refID: "Ireland"},
				
						{id: 126, title: "Kerry", refID: "Ireland"},
				
						{id: 127, title: "Kildare", refID: "Ireland"},
				
						{id: 128, title: "Kilkenny", refID: "Ireland"},
				
						{id: 129, title: "Laois", refID: "Ireland"},
				
						{id: 130, title: "Leitrim", refID: "Ireland"},
				
						{id: 131, title: "Limerick", refID: "Ireland"},
				
						{id: 132, title: "Longford", refID: "Ireland"},
				
						{id: 133, title: "Louth", refID: "Ireland"},
				
						{id: 134, title: "Mayo", refID: "Ireland"},
				
						{id: 135, title: "Meath", refID: "Ireland"},
				
						{id: 136, title: "Monaghan", refID: "Ireland"},
				
						{id: 137, title: "Offaly", refID: "Ireland"},
				
						{id: 138, title: "Roscommon", refID: "Ireland"},
				
						{id: 139, title: "Sligo", refID: "Ireland"},
				
						{id: 140, title: "Tipperary", refID: "Ireland"},
				
						{id: 141, title: "Waterford", refID: "Ireland"},
				
						{id: 142, title: "Westmeath", refID: "Ireland"},
				
						{id: 143, title: "Wexford", refID: "Ireland"},
				
						{id: 144, title: "Wicklow", refID: "Ireland"},
				
						{id: 217, title: "Agrigento", refID: "Italy"},
				
						{id: 218, title: "Alessandria", refID: "Italy"},
				
						{id: 219, title: "Ancona", refID: "Italy"},
				
						{id: 220, title: "Aosta", refID: "Italy"},
				
						{id: 221, title: "Arezzo", refID: "Italy"},
				
						{id: 222, title: "Ascoli Piceno", refID: "Italy"},
				
						{id: 223, title: "Asti", refID: "Italy"},
				
						{id: 224, title: "Avellino", refID: "Italy"},
				
						{id: 225, title: "Bari", refID: "Italy"},
				
						{id: 226, title: "Belluno", refID: "Italy"},
				
						{id: 227, title: "Benevento", refID: "Italy"},
				
						{id: 228, title: "Bergamo", refID: "Italy"},
				
						{id: 229, title: "Biella", refID: "Italy"},
				
						{id: 230, title: "Bologna", refID: "Italy"},
				
						{id: 231, title: "Bolzano", refID: "Italy"},
				
						{id: 232, title: "Brescia", refID: "Italy"},
				
						{id: 233, title: "Brindisi", refID: "Italy"},
				
						{id: 234, title: "Cagliari", refID: "Italy"},
				
						{id: 235, title: "Caltanissetta", refID: "Italy"},
				
						{id: 236, title: "Campobasso", refID: "Italy"},
				
						{id: 237, title: "Caserta", refID: "Italy"},
				
						{id: 238, title: "Catania", refID: "Italy"},
				
						{id: 239, title: "Catanzaro", refID: "Italy"},
				
						{id: 240, title: "Chieti", refID: "Italy"},
				
						{id: 241, title: "Como", refID: "Italy"},
				
						{id: 242, title: "Cosenza", refID: "Italy"},
				
						{id: 243, title: "Cremona", refID: "Italy"},
				
						{id: 244, title: "Crotone", refID: "Italy"},
				
						{id: 245, title: "Cuneo", refID: "Italy"},
				
						{id: 246, title: "Enna", refID: "Italy"},
				
						{id: 247, title: "Ferrara", refID: "Italy"},
				
						{id: 248, title: "Firenze", refID: "Italy"},
				
						{id: 249, title: "Foggia", refID: "Italy"},
				
						{id: 250, title: "Forl“ - Cesena", refID: "Italy"},
				
						{id: 251, title: "Frosinone", refID: "Italy"},
				
						{id: 252, title: "Genova", refID: "Italy"},
				
						{id: 253, title: "Gorizia", refID: "Italy"},
				
						{id: 254, title: "Grosseto", refID: "Italy"},
				
						{id: 255, title: "Imperia", refID: "Italy"},
				
						{id: 256, title: "Isernia", refID: "Italy"},
				
						{id: 257, title: "La Spezia", refID: "Italy"},
				
						{id: 258, title: "L'Aquila", refID: "Italy"},
				
						{id: 259, title: "Latina", refID: "Italy"},
				
						{id: 260, title: "Lecce", refID: "Italy"},
				
						{id: 261, title: "Lecco", refID: "Italy"},
				
						{id: 262, title: "Livorno", refID: "Italy"},
				
						{id: 263, title: "Lodi", refID: "Italy"},
				
						{id: 264, title: "Lucca", refID: "Italy"},
				
						{id: 265, title: "Macerata", refID: "Italy"},
				
						{id: 266, title: "Mantova", refID: "Italy"},
				
						{id: 267, title: "Massa Carrara", refID: "Italy"},
				
						{id: 268, title: "Matera", refID: "Italy"},
				
						{id: 269, title: "Messina", refID: "Italy"},
				
						{id: 270, title: "Milano", refID: "Italy"},
				
						{id: 271, title: "Modena", refID: "Italy"},
				
						{id: 272, title: "Napoli", refID: "Italy"},
				
						{id: 273, title: "Novara", refID: "Italy"},
				
						{id: 274, title: "Nuoro", refID: "Italy"},
				
						{id: 275, title: "Oristano", refID: "Italy"},
				
						{id: 276, title: "Padova", refID: "Italy"},
				
						{id: 277, title: "Palermo", refID: "Italy"},
				
						{id: 278, title: "Parma", refID: "Italy"},
				
						{id: 279, title: "Pavia", refID: "Italy"},
				
						{id: 280, title: "Perugia", refID: "Italy"},
				
						{id: 281, title: "Pesaro", refID: "Italy"},
				
						{id: 282, title: "Pescara", refID: "Italy"},
				
						{id: 283, title: "Piacenza", refID: "Italy"},
				
						{id: 284, title: "Pisa", refID: "Italy"},
				
						{id: 285, title: "Pistoia", refID: "Italy"},
				
						{id: 286, title: "Pordenone", refID: "Italy"},
				
						{id: 287, title: "Potenza", refID: "Italy"},
				
						{id: 288, title: "Prato", refID: "Italy"},
				
						{id: 289, title: "Ragusa", refID: "Italy"},
				
						{id: 290, title: "Ravenna", refID: "Italy"},
				
						{id: 291, title: "Reggio Calabria", refID: "Italy"},
				
						{id: 292, title: "Reggio Emilia", refID: "Italy"},
				
						{id: 293, title: "Rieti", refID: "Italy"},
				
						{id: 294, title: "Rimini", refID: "Italy"},
				
						{id: 295, title: "Roma", refID: "Italy"},
				
						{id: 296, title: "Rovigo", refID: "Italy"},
				
						{id: 297, title: "Salerno", refID: "Italy"},
				
						{id: 298, title: "Sassari", refID: "Italy"},
				
						{id: 299, title: "Savona", refID: "Italy"},
				
						{id: 300, title: "Siena", refID: "Italy"},
				
						{id: 301, title: "Siracusa", refID: "Italy"},
				
						{id: 302, title: "Sondrio", refID: "Italy"},
				
						{id: 303, title: "Taranto", refID: "Italy"},
				
						{id: 304, title: "Teramo", refID: "Italy"},
				
						{id: 305, title: "Terni", refID: "Italy"},
				
						{id: 306, title: "Torino", refID: "Italy"},
				
						{id: 307, title: "Trapani", refID: "Italy"},
				
						{id: 308, title: "Trento", refID: "Italy"},
				
						{id: 309, title: "Treviso", refID: "Italy"},
				
						{id: 310, title: "Trieste", refID: "Italy"},
				
						{id: 311, title: "Udine", refID: "Italy"},
				
						{id: 312, title: "Varese", refID: "Italy"},
				
						{id: 313, title: "Venezia", refID: "Italy"},
				
						{id: 314, title: "Verbania-Cusio-Ossola", refID: "Italy"},
				
						{id: 315, title: "Vercelli", refID: "Italy"},
				
						{id: 316, title: "Verona", refID: "Italy"},
				
						{id: 317, title: "Vibo Valenza", refID: "Italy"},
				
						{id: 318, title: "Vicenza", refID: "Italy"},
				
						{id: 319, title: "Viterbo", refID: "Italy"},
				
						{id: 195, title: "???", refID: "Japan"},
				
						{id: 170, title: "???", refID: "Japan"},
				
						{id: 210, title: "???", refID: "Japan"},
				
						{id: 202, title: "???", refID: "Japan"},
				
						{id: 205, title: "???", refID: "Japan"},
				
						{id: 180, title: "???", refID: "Japan"},
				
						{id: 186, title: "????", refID: "Japan"},
				
						{id: 216, title: "???", refID: "Japan"},
				
						{id: 187, title: "???", refID: "Japan"},
				
						{id: 172, title: "???", refID: "Japan"},
				
						{id: 208, title: "???", refID: "Japan"},
				
						{id: 204, title: "???", refID: "Japan"},
				
						{id: 214, title: "???", refID: "Japan"},
				
						{id: 185, title: "???", refID: "Japan"},
				
						{id: 215, title: "???", refID: "Japan"},
				
						{id: 190, title: "???", refID: "Japan"},
				
						{id: 193, title: "???", refID: "Japan"},
				
						{id: 177, title: "???", refID: "Japan"},
				
						{id: 178, title: "???", refID: "Japan"},
				
						{id: 188, title: "???", refID: "Japan"},
				
						{id: 213, title: "???", refID: "Japan"},
				
						{id: 176, title: "???", refID: "Japan"},
				
						{id: 200, title: "???", refID: "Japan"},
				
						{id: 173, title: "???", refID: "Japan"},
				
						{id: 194, title: "???", refID: "Japan"},
				
						{id: 203, title: "???", refID: "Japan"},
				
						{id: 199, title: "???", refID: "Japan"},
				
						{id: 192, title: "???", refID: "Japan"},
				
						{id: 206, title: "???", refID: "Japan"},
				
						{id: 181, title: "???", refID: "Japan"},
				
						{id: 183, title: "???", refID: "Japan"},
				
						{id: 175, title: "???", refID: "Japan"},
				
						{id: 174, title: "????", refID: "Japan"},
				
						{id: 209, title: "???", refID: "Japan"},
				
						{id: 201, title: "???", refID: "Japan"},
				
						{id: 184, title: "???", refID: "Japan"},
				
						{id: 191, title: "???", refID: "Japan"},
				
						{id: 189, title: "???", refID: "Japan"},
				
						{id: 196, title: "???", refID: "Japan"},
				
						{id: 179, title: "???", refID: "Japan"},
				
						{id: 198, title: "???", refID: "Japan"},
				
						{id: 207, title: "???", refID: "Japan"},
				
						{id: 171, title: "???", refID: "Japan"},
				
						{id: 197, title: "???", refID: "Japan"},
				
						{id: 182, title: "???", refID: "Japan"},
				
						{id: 211, title: "???", refID: "Japan"},
				
						{id: 212, title: "????", refID: "Japan"},
				
						{id: 418, title: "Aguascalientes", refID: "Mexico"},
				
						{id: 419, title: "Baja California", refID: "Mexico"},
				
						{id: 420, title: "Baja California Sur", refID: "Mexico"},
				
						{id: 421, title: "Campeche", refID: "Mexico"},
				
						{id: 422, title: "Chiapas", refID: "Mexico"},
				
						{id: 423, title: "Chihuahua", refID: "Mexico"},
				
						{id: 424, title: "Coahuila", refID: "Mexico"},
				
						{id: 425, title: "Colima", refID: "Mexico"},
				
						{id: 426, title: "Distrito Federal", refID: "Mexico"},
				
						{id: 427, title: "Durango", refID: "Mexico"},
				
						{id: 428, title: "Guanajuato", refID: "Mexico"},
				
						{id: 429, title: "Guerrero", refID: "Mexico"},
				
						{id: 430, title: "Hidalgo", refID: "Mexico"},
				
						{id: 431, title: "Jalisco", refID: "Mexico"},
				
						{id: 432, title: "MŽxico", refID: "Mexico"},
				
						{id: 433, title: "Michoac‡n", refID: "Mexico"},
				
						{id: 434, title: "Morelos", refID: "Mexico"},
				
						{id: 435, title: "Nayarit", refID: "Mexico"},
				
						{id: 436, title: "Nuevo Le—n", refID: "Mexico"},
				
						{id: 437, title: "Oaxaca", refID: "Mexico"},
				
						{id: 438, title: "Puebla", refID: "Mexico"},
				
						{id: 439, title: "QuerŽtaro", refID: "Mexico"},
				
						{id: 440, title: "Quintana Roo", refID: "Mexico"},
				
						{id: 441, title: "San Luis Potos’", refID: "Mexico"},
				
						{id: 442, title: "Sinaloa", refID: "Mexico"},
				
						{id: 443, title: "Sonora", refID: "Mexico"},
				
						{id: 444, title: "Tabasco", refID: "Mexico"},
				
						{id: 445, title: "Tamaulipas", refID: "Mexico"},
				
						{id: 446, title: "Tlaxcala", refID: "Mexico"},
				
						{id: 447, title: "Veracruz", refID: "Mexico"},
				
						{id: 448, title: "Yucat‡n", refID: "Mexico"},
				
						{id: 449, title: "Zacatecas ", refID: "Mexico"},
				
						{id: 389, title: "Drenthe", refID: "Netherlands"},
				
						{id: 390, title: "Flevoland", refID: "Netherlands"},
				
						{id: 391, title: "Friesland", refID: "Netherlands"},
				
						{id: 392, title: "Gelderland", refID: "Netherlands"},
				
						{id: 393, title: "Groningen", refID: "Netherlands"},
				
						{id: 394, title: "Limburg", refID: "Netherlands"},
				
						{id: 395, title: "Noord-Brabant", refID: "Netherlands"},
				
						{id: 396, title: "Noord-Holland", refID: "Netherlands"},
				
						{id: 397, title: "Overijssel", refID: "Netherlands"},
				
						{id: 398, title: "Utrecht", refID: "Netherlands"},
				
						{id: 399, title: "Zeeland", refID: "Netherlands"},
				
						{id: 400, title: "Zuid-Holland", refID: "Netherlands"},
				
						{id: 402, title: "Auckland", refID: "New Zealand"},
				
						{id: 403, title: "Bay of Plenty", refID: "New Zealand"},
				
						{id: 404, title: "Canterbury", refID: "New Zealand"},
				
						{id: 405, title: "Gisborne", refID: "New Zealand"},
				
						{id: 406, title: "Hawke's Bay", refID: "New Zealand"},
				
						{id: 407, title: "Manawatu-Wanganui", refID: "New Zealand"},
				
						{id: 408, title: "Marlborough", refID: "New Zealand"},
				
						{id: 409, title: "Nelson", refID: "New Zealand"},
				
						{id: 410, title: "Northland", refID: "New Zealand"},
				
						{id: 411, title: "Otago", refID: "New Zealand"},
				
						{id: 412, title: "Southland", refID: "New Zealand"},
				
						{id: 413, title: "Taranaki", refID: "New Zealand"},
				
						{id: 414, title: "Tasman", refID: "New Zealand"},
				
						{id: 415, title: "Waikato", refID: "New Zealand"},
				
						{id: 416, title: "Wellington", refID: "New Zealand"},
				
						{id: 417, title: "West Coast", refID: "New Zealand"},
				
						{id: 118, title: "All", refID: "Norway"},
				
						{id: 111, title: "All", refID: "Singapore"},
				
						{id: 105, title: "East", refID: "Singapore"},
				
						{id: 106, title: "North", refID: "Singapore"},
				
						{id: 107, title: "South", refID: "Singapore"},
				
						{id: 108, title: "West", refID: "Singapore"},
				
						{id: 337, title: "çlava", refID: "Spain"},
				
						{id: 338, title: "Albacete", refID: "Spain"},
				
						{id: 339, title: "Alicante", refID: "Spain"},
				
						{id: 340, title: "Almer’a", refID: "Spain"},
				
						{id: 341, title: "Asturias", refID: "Spain"},
				
						{id: 342, title: "çvila", refID: "Spain"},
				
						{id: 343, title: "Badajoz", refID: "Spain"},
				
						{id: 344, title: "Balears, Illes", refID: "Spain"},
				
						{id: 345, title: "Barcelona", refID: "Spain"},
				
						{id: 346, title: "Burgos", refID: "Spain"},
				
						{id: 347, title: "C‡ceres", refID: "Spain"},
				
						{id: 348, title: "C‡diz", refID: "Spain"},
				
						{id: 349, title: "Cantabria", refID: "Spain"},
				
						{id: 350, title: "Castell—n", refID: "Spain"},
				
						{id: 351, title: "Ceuta", refID: "Spain"},
				
						{id: 352, title: "Ciudad Real", refID: "Spain"},
				
						{id: 353, title: "C—rdoba", refID: "Spain"},
				
						{id: 354, title: "Coru–a, A", refID: "Spain"},
				
						{id: 355, title: "Cuenca", refID: "Spain"},
				
						{id: 356, title: "Girona/Gerona", refID: "Spain"},
				
						{id: 357, title: "Granada", refID: "Spain"},
				
						{id: 358, title: "Guadalajara", refID: "Spain"},
				
						{id: 359, title: "Guipśzcoa", refID: "Spain"},
				
						{id: 360, title: "Huelva", refID: "Spain"},
				
						{id: 361, title: "Huesca", refID: "Spain"},
				
						{id: 362, title: "JaŽn", refID: "Spain"},
				
						{id: 363, title: "Le—n", refID: "Spain"},
				
						{id: 364, title: "LŽrida/Lleida", refID: "Spain"},
				
						{id: 365, title: "Lugo", refID: "Spain"},
				
						{id: 366, title: "Madrid", refID: "Spain"},
				
						{id: 367, title: "M‡laga", refID: "Spain"},
				
						{id: 368, title: "Melilla", refID: "Spain"},
				
						{id: 369, title: "Murcia", refID: "Spain"},
				
						{id: 370, title: "Navarra", refID: "Spain"},
				
						{id: 371, title: "Ourense", refID: "Spain"},
				
						{id: 372, title: "Palencia", refID: "Spain"},
				
						{id: 373, title: "Palmas, Las", refID: "Spain"},
				
						{id: 374, title: "Pontevedra", refID: "Spain"},
				
						{id: 375, title: "Rioja, La", refID: "Spain"},
				
						{id: 376, title: "Salamanca", refID: "Spain"},
				
						{id: 377, title: "Santa Cruz de Tenerife", refID: "Spain"},
				
						{id: 378, title: "Segovia", refID: "Spain"},
				
						{id: 379, title: "Sevilla", refID: "Spain"},
				
						{id: 380, title: "Soria", refID: "Spain"},
				
						{id: 381, title: "Tarragona", refID: "Spain"},
				
						{id: 382, title: "Teruel", refID: "Spain"},
				
						{id: 383, title: "Toledo", refID: "Spain"},
				
						{id: 384, title: "Valencia", refID: "Spain"},
				
						{id: 385, title: "Valladolid", refID: "Spain"},
				
						{id: 386, title: "Vizcaya", refID: "Spain"},
				
						{id: 387, title: "Zamora", refID: "Spain"},
				
						{id: 388, title: "Zaragoza", refID: "Spain"},
				
						{id: 117, title: "All", refID: "Sweden"},
				
						{id: 65, title: "Channel Islands", refID: "United Kingdom"},
				
						{id: 64, title: "East", refID: "United Kingdom"},
				
						{id: 84, title: "Isle Of Man", refID: "United Kingdom"},
				
						{id: 66, title: "London and South East", refID: "United Kingdom"},
				
						{id: 67, title: "Midlands", refID: "United Kingdom"},
				
						{id: 68, title: "Northeast", refID: "United Kingdom"},
				
						{id: 69, title: "Northern Ireland", refID: "United Kingdom"},
				
						{id: 70, title: "Northwest", refID: "United Kingdom"},
				
						{id: 71, title: "Scotland", refID: "United Kingdom"},
				
						{id: 72, title: "South", refID: "United Kingdom"},
				
						{id: 73, title: "Southwest", refID: "United Kingdom"},
				
						{id: 74, title: "Wales", refID: "United Kingdom"},
				
						{id: 1, title: "Alabama", refID: "USA"},
				
						{id: 2, title: "Alaska", refID: "USA"},
				
						{id: 3, title: "Arizona", refID: "USA"},
				
						{id: 4, title: "Arkansas", refID: "USA"},
				
						{id: 5, title: "California", refID: "USA"},
				
						{id: 6, title: "Colorado", refID: "USA"},
				
						{id: 7, title: "Connecticut", refID: "USA"},
				
						{id: 8, title: "Delaware", refID: "USA"},
				
						{id: 10, title: "Florida", refID: "USA"},
				
						{id: 11, title: "Georgia", refID: "USA"},
				
						{id: 12, title: "Hawaii", refID: "USA"},
				
						{id: 13, title: "Idaho", refID: "USA"},
				
						{id: 14, title: "Illinois", refID: "USA"},
				
						{id: 15, title: "Indiana", refID: "USA"},
				
						{id: 16, title: "Iowa", refID: "USA"},
				
						{id: 17, title: "Kansas", refID: "USA"},
				
						{id: 18, title: "Kentucky", refID: "USA"},
				
						{id: 19, title: "Louisiana", refID: "USA"},
				
						{id: 20, title: "Maine", refID: "USA"},
				
						{id: 21, title: "Maryland", refID: "USA"},
				
						{id: 22, title: "Massachusetts", refID: "USA"},
				
						{id: 23, title: "Michigan", refID: "USA"},
				
						{id: 24, title: "Minnesota", refID: "USA"},
				
						{id: 25, title: "Mississippi", refID: "USA"},
				
						{id: 26, title: "Missouri", refID: "USA"},
				
						{id: 27, title: "Montana", refID: "USA"},
				
						{id: 28, title: "Nebraska", refID: "USA"},
				
						{id: 29, title: "Nevada", refID: "USA"},
				
						{id: 30, title: "New Hampshire", refID: "USA"},
				
						{id: 31, title: "New Jersey", refID: "USA"},
				
						{id: 32, title: "New Mexico", refID: "USA"},
				
						{id: 33, title: "New York", refID: "USA"},
				
						{id: 34, title: "North Carolina", refID: "USA"},
				
						{id: 35, title: "North Dakota", refID: "USA"},
				
						{id: 36, title: "Ohio", refID: "USA"},
				
						{id: 37, title: "Oklahoma", refID: "USA"},
				
						{id: 38, title: "Oregon", refID: "USA"},
				
						{id: 39, title: "Pennsylvania", refID: "USA"},
				
						{id: 40, title: "Rhode Island", refID: "USA"},
				
						{id: 41, title: "South Carolina", refID: "USA"},
				
						{id: 42, title: "South Dakota", refID: "USA"},
				
						{id: 43, title: "Tennessee", refID: "USA"},
				
						{id: 44, title: "Texas", refID: "USA"},
				
						{id: 45, title: "Utah", refID: "USA"},
				
						{id: 46, title: "Vermont", refID: "USA"},
				
						{id: 47, title: "Virginia", refID: "USA"},
				
						{id: 48, title: "Washington", refID: "USA"},
				
						{id: 9, title: "Washington DC", refID: "USA"},
				
						{id: 49, title: "West Virginia", refID: "USA"},
				
						{id: 50, title: "Wisconsin", refID: "USA"},
				
						{id: 51, title: "Wyoming", refID: "USA"},
				
				];
		 }
		 
		 else
		 {
		 	var statelist= [
				
						{id: 205, title: "Hokkaido", refID: "Japan"},
				
						{id: 207, title: "Aomori", refID: "Japan"},
				
						{id: 191, title: "Akita", refID: "Japan"},
				
						{id: 188, title: "Iwate", refID: "Japan"},
				
						{id: 204, title: "Miyagi", refID: "Japan"},
				
						{id: 190, title: "Yamagata", refID: "Japan"},
				
						{id: 184, title: "Fukushima", refID: "Japan"},
				
						{id: 196, title: "Ibaraki", refID: "Japan"},
				
						{id: 192, title: "Tochigi", refID: "Japan"},
				
						{id: 189, title: "Gunma", refID: "Japan"},
				
						{id: 216, title: "Saitama", refID: "Japan"},
				
						{id: 180, title: "Chiba", refID: "Japan"},
				
						{id: 199, title: "Tokyo", refID: "Japan"},
				
						{id: 174, title: "Kanagaw", refID: "Japan"},
				
						{id: 193, title: "Yamanashi", refID: "Japan"},
				
						{id: 198, title: "Nagono", refID: "Japan"},
				
						{id: 203, title: "Niigata", refID: "Japan"},
				
						{id: 185, title: "Toyama", refID: "Japan"},
				
						{id: 175, title: "Ishikawa", refID: "Japan"},
				
						{id: 209, title: "Fukui", refID: "Japan"},
				
						{id: 177, title: "Gifu", refID: "Japan"},
				
						{id: 171, title: "Shizuoka", refID: "Japan"},
				
						{id: 194, title: "Aichi", refID: "Japan"},
				
						{id: 195, title: "Mie", refID: "Japan"},
				
						{id: 181, title: "Shiga", refID: "Japan"},
				
						{id: 170, title: "Kyoto", refID: "Japan"},
				
						{id: 172, title: "Osaka", refID: "Japan"},
				
						{id: 202, title: "Hyogo", refID: "Japan"},
				
						{id: 208, title: "Nara", refID: "Japan"},
				
						{id: 186, title: "Wakayama", refID: "Japan"},
				
						{id: 211, title: "Tottori", refID: "Japan"},
				
						{id: 213, title: "Shimane", refID: "Japan"},
				
						{id: 178, title: "Okayama", refID: "Japan"},
				
						{id: 176, title: "Hiroshima", refID: "Japan"},
				
						{id: 215, title: "Yamaguchi", refID: "Japan"},
				
						{id: 200, title: "Tokushima", refID: "Japan"},
				
						{id: 197, title: "Kagawa", refID: "Japan"},
				
						{id: 173, title: "Ehime", refID: "Japan"},
				
						{id: 182, title: "Kochi", refID: "Japan"},
				
						{id: 201, title: "Fukuoka", refID: "Japan"},
				
						{id: 210, title: "Chiga", refID: "Japan"},
				
						{id: 179, title: "Nagasaki", refID: "Japan"},
				
						{id: 183, title: "Kumamoto", refID: "Japan"},
				
						{id: 187, title: "Oita", refID: "Japan"},
				
						{id: 214, title: "Miyazaki", refID: "Japan"},
				
						{id: 212, title: "Kagoshima", refID: "Japan"},
				
						{id: 206, title: "Okinawa", refID: "Japan"},
				
				];
		 
		 }	
	
	objstate.options.length = 1;

		if( !(userBrowser.indexOf('msie') + 1) )
			statesNum = statelist.length;
		else
			statesNum = statelist.length - 1;
		
		cid =document.theForm.customer_country[document.theForm.customer_country.selectedIndex].value;
		var counter = 0;
		for ( i=0; i < statesNum; i++ ){
			
			if ( getCountryCode(statelist[i].refID)==cid){
				counter++;
				objstate.options[counter]=new Option( statelist[i].title, statelist[i].title);
			}
		}	
		
	
		if(counter>0 && countryCode!='US')
		{
		 	document.getElementById('regionDropdown').style.display='';
		}
		
		else
		{
			document.getElementById('regionDropdown').style.display='none';
		}
		
}

function displayPostalCodeSample(countryCode) {
	var sampleText = "example: ";
	var e = document.getElementById("postalCodeSample");
	
	e.innerHTML = "";
	
}
