// JavaScript Document
conBrowser=1;
switch1on  = new Image();  switch1on.src  = "/catalog/images/" + imagePath + "1a.gif";
switch1off = new Image();  switch1off.src = "/catalog/images/" + imagePath + "1.gif";
switch2on  = new Image();  switch2on.src  = "/catalog/images/" + imagePath + "2a.gif";
switch2off = new Image();  switch2off.src = "/catalog/images/" + imagePath + "2.gif";
switch3on  = new Image();  switch3on.src  = "/catalog/images/" + imagePath + "3a.gif";
switch3off = new Image();  switch3off.src = "/catalog/images/" + imagePath + "3.gif";
switch4on  = new Image();  switch4on.src  = "/catalog/images/" + imagePath + "4a.gif";
switch4off = new Image();  switch4off.src = "/catalog/images/" + imagePath + "4.gif";
switch5on  = new Image();  switch5on.src  = "/catalog/images/" + imagePath + "5a.gif";
switch5off = new Image();  switch5off.src = "/catalog/images/" + imagePath + "5.gif";
switch6on  = new Image();  switch6on.src  = "/catalog/images/" + imagePath + "6a.gif";
switch6off = new Image();  switch6off.src = "/catalog/images/" + imagePath + "6.gif";
switch7on  = new Image();  switch7on.src  = "/catalog/images/" + imagePath + "7a.gif";
switch7off = new Image();  switch7off.src = "/catalog/images/" + imagePath + "7.gif";
switch8on  = new Image();  switch8on.src  = "/catalog/images/" + imagePath + "8a.gif";
switch8off = new Image();  switch8off.src = "/catalog/images/" + imagePath + "8.gif";
switch9on  = new Image();  switch9on.src  = "/catalog/images/" + imagePath + "9a.gif";
switch9off = new Image();  switch9off.src = "/catalog/images/" + imagePath + "9.gif";
switch10on  = new Image();  switch10on.src  = "/catalog/images/" + imagePath + "10a.gif";
switch10off = new Image();  switch10off.src = "/catalog/images/" + imagePath + "10.gif";
switch11on  = new Image();  switch11on.src  = "/catalog/images/" + imagePath + "11a.gif";
switch11off = new Image();  switch11off.src = "/catalog/images/" + imagePath + "11.gif";
switch12on  = new Image();  switch12on.src  = "/catalog/images/" + imagePath + "12a.gif";
switch12off = new Image();  switch12off.src = "/catalog/images/" + imagePath + "12.gif";


function HighLight(musswitch) {
	if (conBrowser) {
		switchnavn = eval(musswitch + "on");
		document [musswitch].src = switchnavn.src;
		}
	}
function UndoHighLight(musswitch) {
	if (conBrowser) {
		switchnavn = eval(musswitch + "off");
		document [musswitch].src = switchnavn.src;
		}
	}

function notice1() {
	window.open('notices.php?c=1','tipWin','width=500,height=300,resizeable=yes,scrollbars=yes,top=0,left=0');
}
function notice2() {
	window.open('notices.php?c=2','tipWin','width=500,height=300,resizeable=yes,scrollbars=auto,top=0,left=0');
}
function notice3() {
	window.open('notices.php?c=3','tipWin','width=500,height=300,resizeable=yes,scrollbars=yes,top=0,left=0');
}
function notice4() {
	window.open('notices.php?c=4','tipWin','width=500,height=300,resizeable=yes,scrollbars=auto,top=0,left=0');
}
function notice5() {
	window.open('notices.php?c=5','tipWin','width=500,height=300,resizeable=yes,scrollbars=yes,top=0,left=0');
}
function notice6() {
	window.open('notices.php?c=6','tipWin','width=500,height=300,resizeable=yes,scrollbars=auto,top=0,left=0');
}
function notice7() {
	window.open('notices.php?c=7','tipWin','width=500,height=300,resizeable=yes,scrollbars=auto,top=0,left=0');
}
function notice8() {
	window.open('notices.php?c=8','tipWin','width=500,height=300,resizeable=yes,scrollbars=auto,top=0,left=0');
}
function notice9() {
	window.open('notices.php?c=9','tipWin','width=500,height=300,resizeable=yes,scrollbars=auto,top=0,left=0');
}
function notice10() {
	window.open('notices.php?c=10','tipWin','width=500,height=300,resizeable=yes,scrollbars=auto,top=0,left=0');
}

function emailCheck (emailStr) {
	var emailPat=/^(.+)@(.+)$/
	var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]"
	var validChars="\[^\\s" + specialChars + "\]"
	var quotedUser="(\"[^\"]*\")"
	var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/
	var atom=validChars + '+'
	var word="(" + atom + "|" + quotedUser + ")"
	var userPat=new RegExp("^" + word + "(\\." + word + ")*$")
	var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$")
	var matchArray=emailStr.match(emailPat)
	if (matchArray==null) {
		alert("Email address seems incorrect (check @ and .'s)")
		return false
	}
	var user=matchArray[1]
	var domain=matchArray[2]
	
	if (user.match(userPat)==null) {
	    alert("The username doesn't seem to be valid.")
	    return false
	}
	
	var IPArray=domain.match(ipDomainPat)
	if (IPArray!=null) {
		  for (var i=1;i<=4;i++) {
		    if (IPArray[i]>255) {
		        alert("Destination IP address is invalid!")
			return false
		    }
	    }
	    return true
	}
	
	var domainArray=domain.match(domainPat)
	if (domainArray==null) {
		alert("The domain name doesn't seem to be valid.")
	    return false
	}
	
	var atomPat=new RegExp(atom,"g")
	var domArr=domain.match(atomPat)
	var len=domArr.length
	if (domArr[domArr.length-1].length<2 || 
	    domArr[domArr.length-1].length>3) {
	   alert("The address must end in a three-letter domain, or two letter country.")
	   return false
	}
	
	if (len<2) {
	   var errStr="This address is missing a hostname!"
	   alert(errStr)
	   return false
	}
	return true
}

function ValidateForm() {
	if (lushnz_form.name.value=="") {
		alert ("You name is required for this form to succesfully");
		lushnz_form.name.focus();
		return false;
	}

	if (!emailCheck(lushnz_form.email.value)) {
		lushnz_form.email.focus();
		return false;
	}

	if (lushnz_form.message.value == "") {
		alert('Your message is required for this form to succesfully');
		lushnz_form.message.focus();
		return false;
	}
	return true;
}

function resetStateText(theForm) {
  theForm.state.value = '';
  if (theForm.zone_id.options.length > 1) {
    theForm.state.value = '-- Select Above --';
  }
}

function resetZoneSelected(theForm) {
  if (theForm.zone_id.options.length > 1) {
    theForm.state.value = '-- Select Above --';
  }
}

function update_zone(theForm) {
   var NumState = theForm.zone_id.options.length;
            
   while(NumState > 0) {
      NumState--;
      theForm.zone_id.options[NumState] = null;
   }

   var SelectedCountry = "";
            
   SelectedCountry = theForm.country.options[theForm.country.selectedIndex].value;
            
  if (SelectedCountry == "13") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Australian Capital Territory", "86");
    theForm.zone_id.options[2] = new Option("New South Wales", "79");
    theForm.zone_id.options[3] = new Option("Northern Territory", "82");
    theForm.zone_id.options[4] = new Option("Queensland", "81");
    theForm.zone_id.options[5] = new Option("South Australia", "84");
    theForm.zone_id.options[6] = new Option("Tasmania", "85");
    theForm.zone_id.options[7] = new Option("Victoria", "80");
    theForm.zone_id.options[8] = new Option("Western Australia", "83");
  }
  else if (SelectedCountry == "38") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Alberta", "66");
    theForm.zone_id.options[2] = new Option("British Columbia", "67");
    theForm.zone_id.options[3] = new Option("Manitoba", "68");
    theForm.zone_id.options[4] = new Option("New Brunswick", "70");
    theForm.zone_id.options[5] = new Option("Newfoundland", "69");
    theForm.zone_id.options[6] = new Option("Northwest Territories", "72");
    theForm.zone_id.options[7] = new Option("Nova Scotia", "71");
    theForm.zone_id.options[8] = new Option("Nunavut", "73");
    theForm.zone_id.options[9] = new Option("Ontario", "74");
    theForm.zone_id.options[10] = new Option("Prince Edward Island", "75");
    theForm.zone_id.options[11] = new Option("Quebec", "76");
    theForm.zone_id.options[12] = new Option("Saskatchewan", "77");
    theForm.zone_id.options[13] = new Option("Yukon Territory", "78");
  }
  else if (SelectedCountry == "44") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Anhui", "553");
    theForm.zone_id.options[2] = new Option("Beijing", "554");
    theForm.zone_id.options[3] = new Option("Chongqing", "555");
    theForm.zone_id.options[4] = new Option("Fujian", "556");
    theForm.zone_id.options[5] = new Option("Gansu", "557");
    theForm.zone_id.options[6] = new Option("Guangdong", "558");
    theForm.zone_id.options[7] = new Option("Guangxi", "559");
    theForm.zone_id.options[8] = new Option("Guizhou", "560");
    theForm.zone_id.options[9] = new Option("Hainan", "561");
    theForm.zone_id.options[10] = new Option("Hebei", "562");
    theForm.zone_id.options[11] = new Option("Heilongjiang", "563");
    theForm.zone_id.options[12] = new Option("Henan", "564");
    theForm.zone_id.options[13] = new Option("Hong Kong", "565");
    theForm.zone_id.options[14] = new Option("Hubei", "566");
    theForm.zone_id.options[15] = new Option("Hunan", "567");
    theForm.zone_id.options[16] = new Option("Inner Mongolia", "568");
    theForm.zone_id.options[17] = new Option("Jiangsu", "569");
    theForm.zone_id.options[18] = new Option("Jiangxi", "570");
    theForm.zone_id.options[19] = new Option("Jilin", "571");
    theForm.zone_id.options[20] = new Option("Liaoning", "572");
    theForm.zone_id.options[21] = new Option("Macau", "573");
    theForm.zone_id.options[22] = new Option("Ningxia", "574");
    theForm.zone_id.options[23] = new Option("Shaanxi", "575");
    theForm.zone_id.options[24] = new Option("Shandong", "576");
    theForm.zone_id.options[25] = new Option("Shanghai", "577");
    theForm.zone_id.options[26] = new Option("Shanxi", "578");
    theForm.zone_id.options[27] = new Option("Sichuan", "579");
    theForm.zone_id.options[28] = new Option("Tianjin", "580");
    theForm.zone_id.options[29] = new Option("Xinjiang", "581");
    theForm.zone_id.options[30] = new Option("Yunnan", "582");
    theForm.zone_id.options[31] = new Option("Zhejiang", "583");
  }
  else if (SelectedCountry == "81") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Baden-W&uuml;rttemberg", "637");
    theForm.zone_id.options[2] = new Option("Bayern", "638");
    theForm.zone_id.options[3] = new Option("Berlin", "639");
    theForm.zone_id.options[4] = new Option("Brandenburg", "640");
    theForm.zone_id.options[5] = new Option("Bremen", "641");
    theForm.zone_id.options[6] = new Option("Hamburg", "642");
    theForm.zone_id.options[7] = new Option("Hessen", "643");
    theForm.zone_id.options[8] = new Option("Mecklenburg-Vorpommern", "644");
    theForm.zone_id.options[9] = new Option("Niedersachsen", "645");
    theForm.zone_id.options[10] = new Option("Nordrhein-Westfalen", "646");
    theForm.zone_id.options[11] = new Option("Rheinland-Pfalz", "647");
    theForm.zone_id.options[12] = new Option("Saarland", "648");
    theForm.zone_id.options[13] = new Option("Sachsen", "649");
    theForm.zone_id.options[14] = new Option("Sachsen-Anhalt", "650");
    theForm.zone_id.options[15] = new Option("Schleswig-Holstein", "651");
    theForm.zone_id.options[16] = new Option("Th&uuml;ringen", "652");
  }
  else if (SelectedCountry == "99") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Faisalabad", "479");
    theForm.zone_id.options[2] = new Option("Gujrat", "477");
    theForm.zone_id.options[3] = new Option("Islamabad", "474");
    theForm.zone_id.options[4] = new Option("Karachi", "472");
    theForm.zone_id.options[5] = new Option("Lahore", "473");
    theForm.zone_id.options[6] = new Option("Peshawar", "476");
    theForm.zone_id.options[7] = new Option("Quetta", "475");
    theForm.zone_id.options[8] = new Option("Rawal Pindi", "480");
    theForm.zone_id.options[9] = new Option("Sahiwal", "478");
  }
  else if (SelectedCountry == "107") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Aichi", "206");
    theForm.zone_id.options[2] = new Option("Ehime", "221");
    theForm.zone_id.options[3] = new Option("Fukui", "201");
    theForm.zone_id.options[4] = new Option("Fukuoka", "223");
    theForm.zone_id.options[5] = new Option("Gifu", "204");
    theForm.zone_id.options[6] = new Option("Hiroshima", "217");
    theForm.zone_id.options[7] = new Option("Hyogo", "211");
    theForm.zone_id.options[8] = new Option("Ishikawa", "200");
    theForm.zone_id.options[9] = new Option("Kagawa", "220");
    theForm.zone_id.options[10] = new Option("Kagoshima", "229");
    theForm.zone_id.options[11] = new Option("Kochi", "222");
    theForm.zone_id.options[12] = new Option("Kumamoto", "226");
    theForm.zone_id.options[13] = new Option("Kyoto", "209");
    theForm.zone_id.options[14] = new Option("Mie", "207");
    theForm.zone_id.options[15] = new Option("Miyazaki", "228");
    theForm.zone_id.options[16] = new Option("Nagano", "203");
    theForm.zone_id.options[17] = new Option("Nagasaki", "225");
    theForm.zone_id.options[18] = new Option("Nara", "212");
    theForm.zone_id.options[19] = new Option("Niigata", "198");
    theForm.zone_id.options[20] = new Option("Oita", "227");
    theForm.zone_id.options[21] = new Option("Okayama", "216");
    theForm.zone_id.options[22] = new Option("Osaka", "210");
    theForm.zone_id.options[23] = new Option("Saga", "224");
    theForm.zone_id.options[24] = new Option("Shiga", "208");
    theForm.zone_id.options[25] = new Option("Shimane", "215");
    theForm.zone_id.options[26] = new Option("Shizuoka", "205");
    theForm.zone_id.options[27] = new Option("Tokushima", "219");
    theForm.zone_id.options[28] = new Option("Tottori", "214");
    theForm.zone_id.options[29] = new Option("Toyama", "199");
    theForm.zone_id.options[30] = new Option("Wakayama", "213");
    theForm.zone_id.options[31] = new Option("Yamaguchi", "218");
    theForm.zone_id.options[32] = new Option("Yamanashi", "202");
  }
  else if (SelectedCountry == "113") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Ch'ungch'ong-bukto", "584");
    theForm.zone_id.options[2] = new Option("Ch'ungch'ong-namdo", "585");
    theForm.zone_id.options[3] = new Option("Cheju-do", "586");
    theForm.zone_id.options[4] = new Option("Cholla-bukto", "587");
    theForm.zone_id.options[5] = new Option("Cholla-namdo", "588");
    theForm.zone_id.options[6] = new Option("Inch'on-gwangyoksi", "589");
    theForm.zone_id.options[7] = new Option("Kangwon-do", "590");
    theForm.zone_id.options[8] = new Option("Kwangju-gwangyoksi", "591");
    theForm.zone_id.options[9] = new Option("Kyonggi-do", "592");
    theForm.zone_id.options[10] = new Option("Kyongsang-bukto", "593");
    theForm.zone_id.options[11] = new Option("Kyongsang-namdo", "594");
    theForm.zone_id.options[12] = new Option("Pusan-gwangyoksi", "595");
    theForm.zone_id.options[13] = new Option("Soul-t'ukpyolsi", "596");
    theForm.zone_id.options[14] = new Option("Taegu-gwangyoksi", "597");
    theForm.zone_id.options[15] = new Option("Taejon-gwangyoksi", "598");
  }
  else if (SelectedCountry == "129") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Johor", "538");
    theForm.zone_id.options[2] = new Option("Kedah", "539");
    theForm.zone_id.options[3] = new Option("Kelantan", "540");
    theForm.zone_id.options[4] = new Option("Labuan", "541");
    theForm.zone_id.options[5] = new Option("Melaka", "542");
    theForm.zone_id.options[6] = new Option("Negeri Sembilan", "543");
    theForm.zone_id.options[7] = new Option("Pahang", "544");
    theForm.zone_id.options[8] = new Option("Perak", "545");
    theForm.zone_id.options[9] = new Option("Perlis", "546");
    theForm.zone_id.options[10] = new Option("Pulau Pinang", "547");
    theForm.zone_id.options[11] = new Option("Sabah", "548");
    theForm.zone_id.options[12] = new Option("Sarawak", "549");
    theForm.zone_id.options[13] = new Option("Selangor", "550");
    theForm.zone_id.options[14] = new Option("Terengganu", "551");
    theForm.zone_id.options[15] = new Option("Wilayah Persekutuan", "552");
  }
  else if (SelectedCountry == "138") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Aguascalientes", "421");
    theForm.zone_id.options[2] = new Option("Baja California", "422");
    theForm.zone_id.options[3] = new Option("Baja California Sur", "423");
    theForm.zone_id.options[4] = new Option("Campeche", "424");
    theForm.zone_id.options[5] = new Option("Chiapas", "427");
    theForm.zone_id.options[6] = new Option("Chihuahua", "428");
    theForm.zone_id.options[7] = new Option("Coahuila", "425");
    theForm.zone_id.options[8] = new Option("Colima", "426");
    theForm.zone_id.options[9] = new Option("Distrito Federal", "429");
    theForm.zone_id.options[10] = new Option("Durango", "430");
    theForm.zone_id.options[11] = new Option("Estado de Mexico", "431");
    theForm.zone_id.options[12] = new Option("Guanajuato", "432");
    theForm.zone_id.options[13] = new Option("Guerrero", "433");
    theForm.zone_id.options[14] = new Option("Hidalgo", "434");
    theForm.zone_id.options[15] = new Option("Jalisco", "435");
    theForm.zone_id.options[16] = new Option("Michoacan", "436");
    theForm.zone_id.options[17] = new Option("Morelos", "437");
    theForm.zone_id.options[18] = new Option("Nayarit", "438");
    theForm.zone_id.options[19] = new Option("Nuevo Leon", "439");
    theForm.zone_id.options[20] = new Option("Oaxaca", "440");
    theForm.zone_id.options[21] = new Option("Puebla", "441");
    theForm.zone_id.options[22] = new Option("Queretaro", "442");
    theForm.zone_id.options[23] = new Option("Quintana Roo", "443");
    theForm.zone_id.options[24] = new Option("San Luis Potosi", "444");
    theForm.zone_id.options[25] = new Option("Sinaloa", "445");
    theForm.zone_id.options[26] = new Option("Sonora", "446");
    theForm.zone_id.options[27] = new Option("Tabasco", "447");
    theForm.zone_id.options[28] = new Option("Tamaulipas", "448");
    theForm.zone_id.options[29] = new Option("Tlaxcala", "449");
    theForm.zone_id.options[30] = new Option("Veracruz", "450");
    theForm.zone_id.options[31] = new Option("Yucatan", "451");
    theForm.zone_id.options[32] = new Option("Zacatecas", "452");
  }
  else if (SelectedCountry == "152") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Iles Loyaute", "653");
    theForm.zone_id.options[2] = new Option("Nord", "654");
    theForm.zone_id.options[3] = new Option("Sud", "655");
  }
  else if (SelectedCountry == "153") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Auckland", "618");
    theForm.zone_id.options[2] = new Option("Bay of Plenty", "619");
    theForm.zone_id.options[3] = new Option("Canterbury", "620");
    theForm.zone_id.options[4] = new Option("Coromandel", "621");
    theForm.zone_id.options[5] = new Option("Fiordland", "623");
    theForm.zone_id.options[6] = new Option("Gisborne", "622");
    theForm.zone_id.options[7] = new Option("Hawke's Bay", "624");
    theForm.zone_id.options[8] = new Option("Manawatu-Wanganui", "626");
    theForm.zone_id.options[9] = new Option("Marlborough", "625");
    theForm.zone_id.options[10] = new Option("Mt Cook-Mackenzie", "627");
    theForm.zone_id.options[11] = new Option("Nelson", "628");
    theForm.zone_id.options[12] = new Option("Northland", "629");
    theForm.zone_id.options[13] = new Option("Otago", "630");
    theForm.zone_id.options[14] = new Option("Southland", "631");
    theForm.zone_id.options[15] = new Option("Taranaki", "632");
    theForm.zone_id.options[16] = new Option("Waikato", "634");
    theForm.zone_id.options[17] = new Option("Wairprarapa", "635");
    theForm.zone_id.options[18] = new Option("Wellington", "633");
    theForm.zone_id.options[19] = new Option("West Coast", "636");
  }
  else if (SelectedCountry == "160") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Akershus", "454");
    theForm.zone_id.options[2] = new Option("Aust-Agder", "455");
    theForm.zone_id.options[3] = new Option("Buskerud", "456");
    theForm.zone_id.options[4] = new Option("Finnmark", "457");
    theForm.zone_id.options[5] = new Option("Hedmark", "458");
    theForm.zone_id.options[6] = new Option("Hordaland", "459");
    theForm.zone_id.options[7] = new Option("Mĝre og Romsdal", "460");
    theForm.zone_id.options[8] = new Option("Nord-Trĝndelag", "462");
    theForm.zone_id.options[9] = new Option("Nordland", "461");
    theForm.zone_id.options[10] = new Option("Oppland", "463");
    theForm.zone_id.options[11] = new Option("Oslo", "453");
    theForm.zone_id.options[12] = new Option("Ĝstfold", "470");
    theForm.zone_id.options[13] = new Option("Rogaland", "464");
    theForm.zone_id.options[14] = new Option("Sogn og Fjordane", "465");
    theForm.zone_id.options[15] = new Option("Sĝr-Trĝndelag", "466");
    theForm.zone_id.options[16] = new Option("Svalbard", "471");
    theForm.zone_id.options[17] = new Option("Telemark", "467");
    theForm.zone_id.options[18] = new Option("Troms", "468");
    theForm.zone_id.options[19] = new Option("Vest-Agder", "469");
  }
  else if (SelectedCountry == "175") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Alba", "481");
    theForm.zone_id.options[2] = new Option("Arad", "482");
    theForm.zone_id.options[3] = new Option("Arges", "483");
    theForm.zone_id.options[4] = new Option("Bacau", "484");
    theForm.zone_id.options[5] = new Option("Bihor", "485");
    theForm.zone_id.options[6] = new Option("Bistrita-Nasaud", "486");
    theForm.zone_id.options[7] = new Option("Botosani", "487");
    theForm.zone_id.options[8] = new Option("Braila", "489");
    theForm.zone_id.options[9] = new Option("Brasov", "488");
    theForm.zone_id.options[10] = new Option("Bucuresti", "490");
    theForm.zone_id.options[11] = new Option("Buzau", "491");
    theForm.zone_id.options[12] = new Option("Calarasi", "493");
    theForm.zone_id.options[13] = new Option("Caras-Severin", "492");
    theForm.zone_id.options[14] = new Option("Cluj", "494");
    theForm.zone_id.options[15] = new Option("Constanta", "495");
    theForm.zone_id.options[16] = new Option("Covasna", "496");
    theForm.zone_id.options[17] = new Option("Dimbovita", "497");
    theForm.zone_id.options[18] = new Option("Dolj", "498");
    theForm.zone_id.options[19] = new Option("Galati", "499");
    theForm.zone_id.options[20] = new Option("Giurgiu", "500");
    theForm.zone_id.options[21] = new Option("Gorj", "501");
    theForm.zone_id.options[22] = new Option("Harghita", "502");
    theForm.zone_id.options[23] = new Option("Hunedoara", "503");
    theForm.zone_id.options[24] = new Option("Ialomita", "504");
    theForm.zone_id.options[25] = new Option("Iasi", "505");
    theForm.zone_id.options[26] = new Option("Ilfov", "506");
    theForm.zone_id.options[27] = new Option("Maramures", "507");
    theForm.zone_id.options[28] = new Option("Mehedint", "508");
    theForm.zone_id.options[29] = new Option("Mures", "509");
    theForm.zone_id.options[30] = new Option("Neamt", "510");
    theForm.zone_id.options[31] = new Option("Olt", "511");
    theForm.zone_id.options[32] = new Option("Prahova", "512");
    theForm.zone_id.options[33] = new Option("Salaj", "514");
    theForm.zone_id.options[34] = new Option("Satu-Mare", "513");
    theForm.zone_id.options[35] = new Option("Sibiu", "515");
    theForm.zone_id.options[36] = new Option("Suceava", "516");
    theForm.zone_id.options[37] = new Option("Teleorman", "517");
    theForm.zone_id.options[38] = new Option("Timis", "518");
    theForm.zone_id.options[39] = new Option("Tulcea", "519");
    theForm.zone_id.options[40] = new Option("Valcea", "521");
    theForm.zone_id.options[41] = new Option("Vaslui", "520");
    theForm.zone_id.options[42] = new Option("Vrancea", "522");
  }
  else if (SelectedCountry == "193") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Eastern Cape", "656");
    theForm.zone_id.options[2] = new Option("Free State", "657");
    theForm.zone_id.options[3] = new Option("Gauteng", "658");
    theForm.zone_id.options[4] = new Option("KwaZulu-Natal", "659");
    theForm.zone_id.options[5] = new Option("Limpopo", "660");
    theForm.zone_id.options[6] = new Option("Mpumalanga", "661");
    theForm.zone_id.options[7] = new Option("North West", "662");
    theForm.zone_id.options[8] = new Option("Northern Cape", "663");
    theForm.zone_id.options[9] = new Option("Western Cape", "664");
  }
  else if (SelectedCountry == "215") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("ADANA", "239");
    theForm.zone_id.options[2] = new Option("ADIYAMAN", "240");
    theForm.zone_id.options[3] = new Option("AFYON", "241");
    theForm.zone_id.options[4] = new Option("AGRI", "242");
    theForm.zone_id.options[5] = new Option("AKSARAY", "306");
    theForm.zone_id.options[6] = new Option("AMASYA", "243");
    theForm.zone_id.options[7] = new Option("ANKARA", "244");
    theForm.zone_id.options[8] = new Option("ANTALYA", "245");
    theForm.zone_id.options[9] = new Option("ARDAHAN", "313");
    theForm.zone_id.options[10] = new Option("ARTVIN", "246");
    theForm.zone_id.options[11] = new Option("AYDIN", "247");
    theForm.zone_id.options[12] = new Option("BALIKESIR", "248");
    theForm.zone_id.options[13] = new Option("BARTIN", "312");
    theForm.zone_id.options[14] = new Option("BATMAN", "310");
    theForm.zone_id.options[15] = new Option("BAYBURT", "307");
    theForm.zone_id.options[16] = new Option("BILECIK", "249");
    theForm.zone_id.options[17] = new Option("BINGÖL", "250");
    theForm.zone_id.options[18] = new Option("BITLIS", "251");
    theForm.zone_id.options[19] = new Option("BOLU", "252");
    theForm.zone_id.options[20] = new Option("BURDUR", "253");
    theForm.zone_id.options[21] = new Option("BURSA", "254");
    theForm.zone_id.options[22] = new Option("ÇANAKKALE", "255");
    theForm.zone_id.options[23] = new Option("ÇANKIRI", "256");
    theForm.zone_id.options[24] = new Option("ÇORUM", "257");
    theForm.zone_id.options[25] = new Option("DENIZLI", "258");
    theForm.zone_id.options[26] = new Option("DIYARBAKIR", "259");
    theForm.zone_id.options[27] = new Option("DÜZCE", "319");
    theForm.zone_id.options[28] = new Option("EDIRNE", "260");
    theForm.zone_id.options[29] = new Option("ELAZIG", "261");
    theForm.zone_id.options[30] = new Option("ERZINCAN", "262");
    theForm.zone_id.options[31] = new Option("ERZURUM", "263");
    theForm.zone_id.options[32] = new Option("ESKISEHIR", "264");
    theForm.zone_id.options[33] = new Option("GAZIANTEP", "265");
    theForm.zone_id.options[34] = new Option("GIRESUN", "266");
    theForm.zone_id.options[35] = new Option("GÜMÜSHANE", "267");
    theForm.zone_id.options[36] = new Option("HAKKARI", "268");
    theForm.zone_id.options[37] = new Option("HATAY", "269");
    theForm.zone_id.options[38] = new Option("IÇEL", "271");
    theForm.zone_id.options[39] = new Option("IGDIR", "314");
    theForm.zone_id.options[40] = new Option("ISPARTA", "270");
    theForm.zone_id.options[41] = new Option("ISTANBUL", "272");
    theForm.zone_id.options[42] = new Option("IZMIR", "273");
    theForm.zone_id.options[43] = new Option("KAHRAMANMARAS", "284");
    theForm.zone_id.options[44] = new Option("KARABÜK", "316");
    theForm.zone_id.options[45] = new Option("KARAMAN", "308");
    theForm.zone_id.options[46] = new Option("KARS", "274");
    theForm.zone_id.options[47] = new Option("KASTAMONU", "275");
    theForm.zone_id.options[48] = new Option("KAYSERI", "276");
    theForm.zone_id.options[49] = new Option("KILIS", "317");
    theForm.zone_id.options[50] = new Option("KIRIKKALE", "309");
    theForm.zone_id.options[51] = new Option("KIRKLARELI", "277");
    theForm.zone_id.options[52] = new Option("KIRSEHIR", "278");
    theForm.zone_id.options[53] = new Option("KOCAELI", "279");
    theForm.zone_id.options[54] = new Option("KONYA", "280");
    theForm.zone_id.options[55] = new Option("KÜTAHYA", "281");
    theForm.zone_id.options[56] = new Option("MALATYA", "282");
    theForm.zone_id.options[57] = new Option("MANISA", "283");
    theForm.zone_id.options[58] = new Option("MARDIN", "285");
    theForm.zone_id.options[59] = new Option("MUGLA", "286");
    theForm.zone_id.options[60] = new Option("MUS", "287");
    theForm.zone_id.options[61] = new Option("NEVSEHIR", "288");
    theForm.zone_id.options[62] = new Option("NIGDE", "289");
    theForm.zone_id.options[63] = new Option("ORDU", "290");
    theForm.zone_id.options[64] = new Option("OSMANIYE", "318");
    theForm.zone_id.options[65] = new Option("RIZE", "291");
    theForm.zone_id.options[66] = new Option("SAKARYA", "292");
    theForm.zone_id.options[67] = new Option("SAMSUN", "293");
    theForm.zone_id.options[68] = new Option("SANLIURFA", "301");
    theForm.zone_id.options[69] = new Option("SIIRT", "294");
    theForm.zone_id.options[70] = new Option("SINOP", "295");
    theForm.zone_id.options[71] = new Option("SIRNAK", "311");
    theForm.zone_id.options[72] = new Option("SIVAS", "296");
    theForm.zone_id.options[73] = new Option("TEKIRDAG", "297");
    theForm.zone_id.options[74] = new Option("TOKAT", "298");
    theForm.zone_id.options[75] = new Option("TRABZON", "299");
    theForm.zone_id.options[76] = new Option("TUNCELI", "300");
    theForm.zone_id.options[77] = new Option("USAK", "302");
    theForm.zone_id.options[78] = new Option("VAN", "303");
    theForm.zone_id.options[79] = new Option("YALOVA", "315");
    theForm.zone_id.options[80] = new Option("YOZGAT", "304");
    theForm.zone_id.options[81] = new Option("ZONGULDAK", "305");
  }
  else if (SelectedCountry == "220") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Singapore", "523");
  }
  else if (SelectedCountry == "222") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Avon", "103");
    theForm.zone_id.options[2] = new Option("Bedfordshire", "104");
    theForm.zone_id.options[3] = new Option("Berkshire", "105");
    theForm.zone_id.options[4] = new Option("Birmingham", "106");
    theForm.zone_id.options[5] = new Option("Borders", "107");
    theForm.zone_id.options[6] = new Option("Buckinghamshire", "108");
    theForm.zone_id.options[7] = new Option("Cambridgeshire", "109");
    theForm.zone_id.options[8] = new Option("Central", "110");
    theForm.zone_id.options[9] = new Option("Cheshire", "111");
    theForm.zone_id.options[10] = new Option("Cleveland", "112");
    theForm.zone_id.options[11] = new Option("Clwyd", "113");
    theForm.zone_id.options[12] = new Option("Cornwall", "114");
    theForm.zone_id.options[13] = new Option("Cumbria", "115");
    theForm.zone_id.options[14] = new Option("Derbyshire", "116");
    theForm.zone_id.options[15] = new Option("Devon", "117");
    theForm.zone_id.options[16] = new Option("Dorset", "118");
    theForm.zone_id.options[17] = new Option("Dumfries & Galloway", "119");
    theForm.zone_id.options[18] = new Option("Durham", "120");
    theForm.zone_id.options[19] = new Option("Dyfed", "121");
    theForm.zone_id.options[20] = new Option("East Sussex", "122");
    theForm.zone_id.options[21] = new Option("Essex", "123");
    theForm.zone_id.options[22] = new Option("Fife", "124");
    theForm.zone_id.options[23] = new Option("Glamorgan", "125");
    theForm.zone_id.options[24] = new Option("Gloucestershire", "126");
    theForm.zone_id.options[25] = new Option("Grampian", "127");
    theForm.zone_id.options[26] = new Option("Gwent", "128");
    theForm.zone_id.options[27] = new Option("Gwynedd", "129");
    theForm.zone_id.options[28] = new Option("Hampshire", "130");
    theForm.zone_id.options[29] = new Option("Hereford & Worcester", "131");
    theForm.zone_id.options[30] = new Option("Hertfordshire", "132");
    theForm.zone_id.options[31] = new Option("Humberside", "133");
    theForm.zone_id.options[32] = new Option("Kent", "134");
    theForm.zone_id.options[33] = new Option("Lancashire", "135");
    theForm.zone_id.options[34] = new Option("Leicestershire", "136");
    theForm.zone_id.options[35] = new Option("Lincolnshire", "137");
    theForm.zone_id.options[36] = new Option("London", "138");
    theForm.zone_id.options[37] = new Option("Lothian", "139");
    theForm.zone_id.options[38] = new Option("Manchester", "140");
    theForm.zone_id.options[39] = new Option("Merseyside", "141");
    theForm.zone_id.options[40] = new Option("Norfolk", "142");
    theForm.zone_id.options[41] = new Option("North west Highlands", "144");
    theForm.zone_id.options[42] = new Option("North Yorkshire", "143");
    theForm.zone_id.options[43] = new Option("Northamptonshire", "145");
    theForm.zone_id.options[44] = new Option("Northumberland", "146");
    theForm.zone_id.options[45] = new Option("Nottinghamshire", "147");
    theForm.zone_id.options[46] = new Option("Oxfordshire", "148");
    theForm.zone_id.options[47] = new Option("Powys", "149");
    theForm.zone_id.options[48] = new Option("Shropshire", "150");
    theForm.zone_id.options[49] = new Option("Somerset", "151");
    theForm.zone_id.options[50] = new Option("South Yorkshire", "152");
    theForm.zone_id.options[51] = new Option("Staffordshire", "153");
    theForm.zone_id.options[52] = new Option("Strathclyde", "154");
    theForm.zone_id.options[53] = new Option("Suffolk", "155");
    theForm.zone_id.options[54] = new Option("Surrey", "156");
    theForm.zone_id.options[55] = new Option("Tayside", "158");
    theForm.zone_id.options[56] = new Option("Tyne & Wear", "159");
    theForm.zone_id.options[57] = new Option("Warwickshire", "160");
    theForm.zone_id.options[58] = new Option("West Isles", "161");
    theForm.zone_id.options[59] = new Option("West Sussex", "157");
    theForm.zone_id.options[60] = new Option("West Yorkshire", "162");
    theForm.zone_id.options[61] = new Option("Wiltshire", "163");
  }
  else if (SelectedCountry == "223") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Alabama", "1");
    theForm.zone_id.options[2] = new Option("Alaska", "2");
    theForm.zone_id.options[3] = new Option("American Samoa", "3");
    theForm.zone_id.options[4] = new Option("Arizona", "4");
    theForm.zone_id.options[5] = new Option("Arkansas", "5");
    theForm.zone_id.options[6] = new Option("Armed Forces Africa", "6");
    theForm.zone_id.options[7] = new Option("Armed Forces Americas", "7");
    theForm.zone_id.options[8] = new Option("Armed Forces Canada", "8");
    theForm.zone_id.options[9] = new Option("Armed Forces Europe", "9");
    theForm.zone_id.options[10] = new Option("Armed Forces Middle East", "10");
    theForm.zone_id.options[11] = new Option("Armed Forces Pacific", "11");
    theForm.zone_id.options[12] = new Option("California", "12");
    theForm.zone_id.options[13] = new Option("Colorado", "13");
    theForm.zone_id.options[14] = new Option("Connecticut", "14");
    theForm.zone_id.options[15] = new Option("Delaware", "15");
    theForm.zone_id.options[16] = new Option("District of Columbia", "16");
    theForm.zone_id.options[17] = new Option("Federated States Of Micronesia", "17");
    theForm.zone_id.options[18] = new Option("Florida", "18");
    theForm.zone_id.options[19] = new Option("Georgia", "19");
    theForm.zone_id.options[20] = new Option("Guam", "20");
    theForm.zone_id.options[21] = new Option("Hawaii", "21");
    theForm.zone_id.options[22] = new Option("Idaho", "22");
    theForm.zone_id.options[23] = new Option("Illinois", "23");
    theForm.zone_id.options[24] = new Option("Indiana", "24");
    theForm.zone_id.options[25] = new Option("Iowa", "25");
    theForm.zone_id.options[26] = new Option("Kansas", "26");
    theForm.zone_id.options[27] = new Option("Kentucky", "27");
    theForm.zone_id.options[28] = new Option("Louisiana", "28");
    theForm.zone_id.options[29] = new Option("Maine", "29");
    theForm.zone_id.options[30] = new Option("Marshall Islands", "30");
    theForm.zone_id.options[31] = new Option("Maryland", "31");
    theForm.zone_id.options[32] = new Option("Massachusetts", "32");
    theForm.zone_id.options[33] = new Option("Michigan", "33");
    theForm.zone_id.options[34] = new Option("Minnesota", "34");
    theForm.zone_id.options[35] = new Option("Mississippi", "35");
    theForm.zone_id.options[36] = new Option("Missouri", "36");
    theForm.zone_id.options[37] = new Option("Montana", "37");
    theForm.zone_id.options[38] = new Option("Nebraska", "38");
    theForm.zone_id.options[39] = new Option("Nevada", "39");
    theForm.zone_id.options[40] = new Option("New Hampshire", "40");
    theForm.zone_id.options[41] = new Option("New Jersey", "41");
    theForm.zone_id.options[42] = new Option("New Mexico", "42");
    theForm.zone_id.options[43] = new Option("New York", "43");
    theForm.zone_id.options[44] = new Option("North Carolina", "44");
    theForm.zone_id.options[45] = new Option("North Dakota", "45");
    theForm.zone_id.options[46] = new Option("Northern Mariana Islands", "46");
    theForm.zone_id.options[47] = new Option("Ohio", "47");
    theForm.zone_id.options[48] = new Option("Oklahoma", "48");
    theForm.zone_id.options[49] = new Option("Oregon", "49");
    theForm.zone_id.options[50] = new Option("Palau", "50");
    theForm.zone_id.options[51] = new Option("Pennsylvania", "51");
    theForm.zone_id.options[52] = new Option("Puerto Rico", "52");
    theForm.zone_id.options[53] = new Option("Rhode Island", "53");
    theForm.zone_id.options[54] = new Option("South Carolina", "54");
    theForm.zone_id.options[55] = new Option("South Dakota", "55");
    theForm.zone_id.options[56] = new Option("Tennessee", "56");
    theForm.zone_id.options[57] = new Option("Texas", "57");
    theForm.zone_id.options[58] = new Option("Utah", "58");
    theForm.zone_id.options[59] = new Option("Vermont", "59");
    theForm.zone_id.options[60] = new Option("Virgin Islands", "60");
    theForm.zone_id.options[61] = new Option("Virginia", "61");
    theForm.zone_id.options[62] = new Option("Washington", "62");
    theForm.zone_id.options[63] = new Option("West Virginia", "63");
    theForm.zone_id.options[64] = new Option("Wisconsin", "64");
    theForm.zone_id.options[65] = new Option("Wyoming", "65");
  }
  else if (SelectedCountry == "229") {
    theForm.zone_id.options[0] = new Option("Please Select", "");
    theForm.zone_id.options[1] = new Option("Amazonas", "320");
    theForm.zone_id.options[2] = new Option("Anzoátegui", "321");
    theForm.zone_id.options[3] = new Option("Apure", "323");
    theForm.zone_id.options[4] = new Option("Aragua", "322");
    theForm.zone_id.options[5] = new Option("Barinas", "324");
    theForm.zone_id.options[6] = new Option("Bolívar", "325");
    theForm.zone_id.options[7] = new Option("Carabobo", "326");
    theForm.zone_id.options[8] = new Option("Cojedes", "327");
    theForm.zone_id.options[9] = new Option("Delta Amacuro", "328");
    theForm.zone_id.options[10] = new Option("Distrito Capital", "329");
    theForm.zone_id.options[11] = new Option("Falcón", "330");
    theForm.zone_id.options[12] = new Option("Guayana", "332");
    theForm.zone_id.options[13] = new Option("Guárico", "331");
    theForm.zone_id.options[14] = new Option("Lara", "333");
    theForm.zone_id.options[15] = new Option("Mérida", "334");
    theForm.zone_id.options[16] = new Option("Miranda", "335");
    theForm.zone_id.options[17] = new Option("Monagas", "336");
    theForm.zone_id.options[18] = new Option("Nueva Esparta", "337");
    theForm.zone_id.options[19] = new Option("Portuguesa", "338");
    theForm.zone_id.options[20] = new Option("Sucre", "339");
    theForm.zone_id.options[21] = new Option("Táchira", "340");
    theForm.zone_id.options[22] = new Option("Trujillo", "341");
    theForm.zone_id.options[23] = new Option("Vargas", "342");
    theForm.zone_id.options[24] = new Option("Yaracuy", "343");
    theForm.zone_id.options[25] = new Option("Zulia", "344");
  }
  else {
    theForm.zone_id.options[0] = new Option("Type Below", "");
  }
   resetStateText(theForm);
}
