<!--
	function validateZipCode(textItem, textDesc, minLength, maxLength, alphaNumeric, specialChars, callFocus)
	{
		var returnValue = true;
		
		if(minLength == undefined) minLength = 5;
		if(maxLength == undefined) maxLength = 10;
		if(alphaNumeric == undefined) alphaNumeric = false;
		if(specialChars == undefined) specialChars = "-";
		if(callFocus == undefined) callFocus = true;
		
		if((textItem.value != "") && ((textItem.value.length >= minLength) && (textItem.value.length <= maxLength)))
		{
			var zipCode = textItem.value.toLowerCase();
			var alphaChars = "abcdefghijklmnopqrstuvwxyz";
			var numericChars = "0123456789";
			var acceptableChars = specialChars + numericChars;
			if(alphaNumeric) acceptableChars += alphaChars;			
			
			for(var i = 0; i < zipCode.length; i++)
			{
				if(!charInString(zipCode.charAt(i), acceptableChars))
				{
					returnValue = false;
					break;
				}
			}
		}
		else
		{
			returnValue = false;
		}

		if(!returnValue)
		{
			alert("Please enter a valid zip code for " + textDesc + ".");
			if(callFocus) flipImg(textItem, imgErrSrc); textItem.focus();
		}
		
		return(returnValue);
	}
//-->