function addZip_forms() 
{
	var error_flag = false;
	var F = document.addZipForm;

	var zip1 = F.zip1.value;
	var state1 = F.state1.value;
	var city1 = F.city1.value;
	var county = F.county.value;
	var latitude = F.latitude.value;
	var longitude = F.longitude.value;
	var cityWebAddress = F.cityWebAddress.value;
	var otherNote = F.otherNote.value;
	var cityNm = F.cityNm.value;
	var statenm = F.statenm.value;

	if(zip1.length >= 0 && zip1.length < 5) {
	  if (!zipcodeLength_Validation("zip1", "ZipcodeRequire1", "ZipTR1")) {
		error_flag = true;
	  }
	}
	else {
	  if (!validationControls_AlphaNumeric("zip1", "ZipcodeRequire1", "ZipTR1", true)) {
		error_flag = true;
	  }
	}
	validationControls_Blank("state1", "StateRequire1", "StateTR1", true);

	if (!validationControls_Alphabets("city1", "cityRequire1", "cityTR1", true)) {
	  error_flag = true;
	}
	if (!validationControls_Alphabets("county", "countyRequire", "countyTR", true)) {
	  error_flag = true;
	}

	if (error_flag) {
	  return false;
	}
		  
	var url = 'addZipCodeForm.php?zip1=' + zip1 + '&state1=' + state1 + '&city1=' + city1 + '&county=' + county + '&latitude=' + latitude + '&longitude=' + longitude + '&cityWebAddress=' + cityWebAddress + '&otherNote=' + otherNote ;

	xmlhttp.open('GET', url, true);
	xmlhttp.onreadystatechange = function() 
	{
		if(xmlhttp.readyState == 4 && xmlhttp.status == 200) 
		{
			var varstr = xmlhttp.responseText;
			if(varstr == "Done")
			{
				parent.window.document.getElementById(cityNm).value=city1;
				parent.window.document.getElementById(statenm).value=state1;
				self.parent.tb_remove(); 	 
				return false;
			} else {
				return false;
			}		
		} 
	};
	xmlhttp.send(null);  
	return false;
}

//XMLhttp variable will hold the XMLHttpRequest object
var xmlhttp = false;
		
// If the user is using Mozilla/Firefox/Safari/etc
if (window.XMLHttpRequest) 
{
	xmlhttp = new XMLHttpRequest();
}
// If the user is using IE
else if (window.ActiveXObject) 
{
	xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
