This js file is simply being referenced by a html file as a script src tag. The form at the bottom of this js file will load. The enter zip section is the section I need an enter key validated in addition to pressing the GO button.
_________
var weatherstate;
weatherstate='show';
function GO()
{
//Check if zipcode entered is a number
if (isNaN(document.zipsearch.findzip.value))
{
alert('Please Use Numerical Values Only');
document.zipsearch.findzip.focus();
return;
}
{
var zipcodepars = document.zipsearch.findzip.value;
// document.write(zipcodepars)
//location.href="
document.all['WeatherLayer'].style.top = document.forms['myweather'].offsetTop-20;
MM_showHideLayers('WeatherLayer','','show');
weatherstate='hide';
showhideweatherlink.innerText=weatherstate;
document.weathermagnet.src='
document.weathermagnet.parentElement.href='
}}
function changeweather() {
document.weathermagnet.src='
[document.myweather.weather.selectedIndex].value+'&code=1111';
document.weathermagnet.parentElement.href='
[document.myweather.weather.selectedIndex].value+'&par=internal&site=magnet&code=1111&promo=english';
}
function showhideweather(overridestate) {
document.all['WeatherLayer'].style.top = document.forms['myweather'].offsetTop-20;
if (overridestate!='')
weatherstate=overridestate;
if (weatherstate=='show') {
MM_showHideLayers('WeatherLayer','','show');
weatherstate='hide'
} else {
MM_showHideLayers('WeatherLayer','','hide');
weatherstate='show'
}
changeweather();
showhideweatherlink.innerText=weatherstate;
}
document.write("<div class=fhToolsSubHeadline>"

;
document.write("<table border=0 cellspacing=0 cellpadding=0 width=\"90%\" class=fhToolsSubHeadline>"

;
document.write("<tr><td> Weather</td>"

;
document.write("<td align=right><A class=fhsmallerfont href=\"#\" name=showhideweatherlink onmousedown=\"showhideweather('')\">show</a>"

;
document.write("</td></tr></table>"

;
document.write("</div>"

;
document.write("<div align=center>"

;
document.write("<form name=\"myweather\" class=\"fhSmallForm\">"

;
document.write(" <select name=\"weather\" size=\"1\" class=\"fhsmalldropdown\" onfocus=\"showhideweather('show')\" onchange=\"changeweather();\">"

;
document.write("<option value=\"USGA0028\" "

;
if (user.city == "Atlanta"

document.write("selected"

;
document.write(">Atlanta, GA</option>"

;
document.write("<option value=\"USNJ0052\" "

;
if (user.city == "Boonton"

document.write("selected"

;
document.write(">Boonton, NJ</option>"

;
document.write("<option value=\"USKY0801\" "

;
if (user.city == "Covington"

document.write("selected"

;
document.write(">Covington, KY</option>"

;
document.write("<option value=\"USTX0327\" "

;
if (user.city == "Dallas"

document.write("selected"

;
document.write(">Dallas, TX</option>"

;
document.write("<option value=\"USOH0269\" "

;
if (user.city == "Dublin"

document.write("selected"

;
document.write(">Dublin, OH</option>"

;
document.write("<option value=\"USAR0189\" "

;
if (user.city == "Fayetteville"

document.write("selected"

;
document.write(">Fayetteville, AR</option>"

;
document.write("<option value=\"USAR0197\" "

;
if (user.city == "Fort Smith"

document.write("selected"

;
document.write(">Fort Smith, AR</option>"

;
document.write("<option value=\"USAR0248\" "

;
if (user.city == "Harrison"

document.write("selected"

;
document.write(">Harrison, AR</option>"

;
document.write("<option value=\"CAXX0216\" "

;
if (user.city == "Kelowna"

document.write("selected"

;
document.write(">Kelowna, Canada</option>"

;
document.write("<option value=\"USKY1079\" "

;
if (user.city == "Lexington"

document.write("selected"

;
document.write(">Lexington, KY</option>"

;
document.write("<option value=\"CAXX0297\" "

;
if (user.city == "Moncton"

document.write("selected"

;
document.write(">Moncton, Canada</option>"

;
document.write("<option value=\"USCO0323\" "

;
if (user.city == "Pueblo"

document.write("selected"

;
document.write(">Pueblo, CO</option>"

;
document.write("<option value=\"USAR0485\" "

;
if (user.city == "Rogers"

document.write("selected"

;
document.write(">Rogers, AR</option>"

;
document.write("<option value=\"NLXX0015\" "

;
if (user.city == "Rotterdam"

document.write("selected"

;
document.write(">Rotterdam, Netherlands</option>"

;
document.write("<option value=\"USKY1298\" "

;
if (user.city == "Russell" || user.city == "Bellefonte"

document.write("selected"

;
document.write(">Russell, KY</option>"

;
document.write("<option value=\"USCA1016\" "

;
if (user.city == "Santa Ana"

document.write("selected"

;
document.write(">Santa Ana, CA</option>"

;
document.write("</select></form></div>"

;
document.write("<div align=\"center\"><form name=\"zipsearch\" class=\"fhSmallForm\" method=\"post\" action=\"\" enctype=\"multipart/form-data\">"

;
document.write("<font color=\"#000000\" class=\"fhsmallfont\">Enter US Zip </font>"

;
document.write("<input name=\"findzip\" class=\"fhsmallform\" maxlength=\"5\" size=\"5\" TYPE=\"text\" onsubmit=\"GO()\">"

;
document.write("<input type=\"submit\" value=\"GO\" class=\"fhSmallform\" onClick=\"GO()\" onsubmit=\"GO()\">"

;
document.write("</form></div>"

;
document.write("<div id=\"WeatherLayer\" style=\"background-color: #cccccc; HEIGHT: 150px; LEFT: 180px; POSITION: absolute; TOP: 47px; VISIBILITY: hidden; WIDTH: 270px; Z-INDEX: 7\">"

;
document.write("<div align=right>"

;
document.write("<a href=# onmousedown=\"showhideweather('hide')\"><img src=images/closebutton.gif width=10 height=10 border=0></a>"

;
document.write("<a name=weathermagnetlink href=\"
target=_blank><img name=weathermagnet border=0 vspace=3 hspace=3 width=270 height=140 SRC=\"images/null.gif\"></a>"

;
document.write("</div>"

;
document.write("</div>"

;