
if(v){a=new Array();aln=0;}
function getFormNum (formName) {
formNum =-1;
for (i=0;i<document.forms.length;i++){
tempForm = document.forms[i];
if (formName == tempForm) {
formNum = i;
correctForm = tempForm;
break;
   }
}
return formNum;
}
function jmp(formName,elementNum) {
getFormNum(formName);
if (formNum>=0) {
with (document.forms[formNum].elements[elementNum]) {
i=selectedIndex;
if (i>=0) location=options[i].value;
      }
   }
}
function O(txt,url) {
a[k]=new Option(txt,url);k++;
}
function relate(formName,elementNum,j) {
if(v) {
k=1;
if(j==0) {  // default category item
a=new Array();
O("Select a City","");
}

if(j==1) { // 1st category items
a=new Array();
O("Select a City","");
O("Birmingham ","http://www.superpages.com/cities/Birmingham-AL.html");
O("Montgomery","http://www.superpages.com/cities/Montgomery-AL.html");

}

if(j==2) { // 2nd category items
a=new Array();
O("Select a City","");
O ("Anchorage","http://www.superpages.com/cities/Anchorage-AK.html");
O ("Juneau","http://www.superpages.com/cities/Tucson-AZ.html");

}

if(j==3) { // 3rd category items
a=new Array();
O("Select a City","");
O ("Phoenix ","http://www.superpages.com/cities/Phoenix-AZ.html");
O ("Tucson","http://www.superpages.com/cities/Tucson-AZ.html");

}

if(j==4) { // 4th category items
a=new Array();
O("Select a City","");
O ("Little Rock","http://www.superpages.com/cities/Little+Rock-AR.html");

}

if(j==5) { // 5th category items
a=new Array();
O("Select a City","");
O ("Fresno","http://www.superpages.com/cities/Fresno-CA.html");
O ("Long Beach","http://www.superpages.com/cities/Long+Beach-CA.htm");
O ("Los Angeles","http://www.superpages.com/cities/Los+Angeles-CA.html");
O ("Orange County","http://www.superpages.com/cities/Orange+County-CA.htm");
O ("Riverside - San Bern.","http://www.superpages.com/cities/Riverside,San+Bernardino-CA.html");
O ("Sacramento","http://www.superpages.com/cities/Sacramento-CA.html");
O ("San Diego","http://www.superpages.com/cities/San+Diego-CA.html");
O ("San Fran. Bay Area","http://www.superpages.com/cities/San+Francisco-CA.html");
O ("San Jose","http://www.superpages.com/cities/San+Jose-CA.html");
O ("Santa Barbara","http://www.superpages.com/cities/Santa+Barbara-CA.html");

}

if(j==6) { // 6th category items
a=new Array();
O("Select a City","");
O ("Denver","http://www.superpages.com/cities/Denver-CO.html");

}

if(j==7) { // 7th category items
a=new Array();
O("Select a City","");
O ("Hartford","http://www.superpages.com/cities/Hartford-CT.html");

}

if(j==8) { // 8th category items
a=new Array();
O("Select a City","");
O ("Dover","http://www.superpages.com/cities/Dover-DE.html");
O ("Wilmington","http://www.superpages.com/cities/Wilmington-DE.html");

}

if(j==9) { // 9th category items
a=new Array();
O("Select a City","");
O ("Washington, D.C.","http://www.superpages.com/cities/Washington-DC.html");

}

if(j==10) { // 10th category items
a=new Array();
O("Select a City","");
O ("Bradenton - Sarasota ","http://www.superpages.com/cities/Bradenton,Sarasota-FL.html ");
O ("Clearwater","http://www.superpages.com/cities/Clearwater-FL.html");
O ("Fort Lauderdale","http://www.superpages.com/cities/Fort+Lauderdale-FL.html");
O ("Jacksonville","http://www.superpages.com/cities/Jacksonville-FL.html");
O ("Lakeland","http://www.superpages.com/cities/Lakeland-FL.html");
O ("Miami","http://www.superpages.com/cities/Miami-FL.html");
O ("Orlando","http://www.superpages.com/cities/Orlando-FL.html");
O ("Tallahassee","http://www.superpages.com/cities/Tallahassee-FL.html");
O ("Tampa Bay Area","http://www.superpages.com/cities/Tampa-FL.html");

}

if(j==11) { // 11th category items
a=new Array();
O("Select a City","");
O ("Atlanta","http://www.superpages.com/cities/Atlanta-GA.html");

}

if(j==12) { // 12th category items
a=new Array();
O("Select a City","");
O ("Honolulu","http://www.superpages.com/cities/Honolulu-HI.html");

}

if(j==13) { // 13th category items
a=new Array();
O("Select a City","");
O ("Boise","http://www.superpages.com/cities/Boise-ID.html");

}

if(j==14) { // 14th category items
a=new Array();
O("Select a City","");
O ("Chicago","http://www.superpages.com/cities/Chicago-IL.html");
O ("Springfield","http://www.superpages.com/cities/Springfield-IL.html");

}

if(j==15) { // 15th category items
a=new Array();
O("Select a City","");
O ("Fort Wayne","http://www.superpages.com/cities/Fort+Wayne-IN.html");
O ("Indianapolis","http://www.superpages.com/cities/Indianapolis-IN.html");

}

if(j==16) { // 16th category items
a=new Array();
O("Select a City","");
O ("Des Moines","http://www.superpages.com/cities/Des+Moines-IA.html");

}

if(j==17) { // 17th category items
a=new Array();
O("Select a City","");
O ("Topeka","http://www.superpages.com/cities/Topeka-KS.html");

}

if(j==18) { // 18th category items
a=new Array();
O("Select a City","");
O ("Frankfort","http://www.superpages.com/cities/Frankfort-KY.html");
O ("Lexington","http://www.superpages.com/cities/Lexington-KY.html");
O ("Louisville","http://www.superpages.com/cities/Louisville-KY.html");

}

if(j==19) { // 19th category items
a=new Array();
O("Select a City","");
O ("Baton Rouge","http://www.superpages.com/cities/Baton+Rouge-LA.html");
O ("New Orleans","http://www.superpages.com/cities/New+Orleans-LA.html");

}

if(j==20) { // 20th category items
a=new Array();
O("Select a City","");
O ("Augusta","http://www.superpages.com/cities/Augusta-ME.html");

}

if(j==21) { // 21th category items
a=new Array();
O("Select a City","");
O ("Annapolis","http://www.superpages.com/cities/Annapolis-MD.html");
O ("Baltimore","http://www.superpages.com/cities/Baltimore-MD.html");

}

if(j==22) { // 22th category items
a=new Array();
O("Select a City","");
O ("Boston","http://www.superpages.com/cities/Boston-MA.html");

}

if(j==23) { // 23th category items
a=new Array();
O("Select a City","");
O ("Detroit","http://www.superpages.com/cities/Detroit-MI.html");
O ("Grand Rapids","http://www.superpages.com/cities/Grand+Rapids-MI.html");
O ("Lansing","http://www.superpages.com/cities/Lansing-MI.html");

}

if(j==24) { // 24th category items
a=new Array();
O("Select a City","");
O ("Minneapolis - St. Paul","http://www.superpages.com/cities/Minneapolis-MN.html");

}

if(j==25) { // 25th category items
a=new Array();
O("Select a City","");
O ("Jackson","http://www.superpages.com/cities/Jackson-MS.html");

}

if(j==26) { // 26th category items
a=new Array();
O("Select a City","");
O ("Branson","http://www.superpages.com/cities/Branson-MO.html");
O ("Jefferson City","http://www.superpages.com/cities/Jefferson+City-MO.html");
O ("Kansas City","http://www.superpages.com/cities/Kansas+City-MO.html");
O ("St. Louis","http://www.superpages.com/cities/St.+Louis-MO.html");

}

if(j==27) { // 27th category items
a=new Array();
O("Select a City","");
O ("Helena","http://www.superpages.com/cities/Helena-MT.html");

}

if(j==28) { // 28th category items
a=new Array();
O("Select a City","");
O ("Lincoln","http://www.superpages.com/cities/Lincoln-NE.html");
O ("Omaha","http://www.superpages.com/cities/Omaha-NE.html");

}

if(j==29) { // 29th category items
a=new Array();
O("Select a City","");
O ("Carson City","http://www.superpages.com/cities/Carson+City-NV.html");
O ("Las Vegas","http://www.superpages.com/cities/Las+Vegas-NV.html");

}

if(j==30) { // 30th category items
a=new Array();
O("Select a City","");
O ("Concord","http://www.superpages.com/cities/Concord-NH.html");

}

if(j==31) { // 31th category items
a=new Array();
O("Select a City","");
O ("Trenton","http://www.superpages.com/cities/Trenton-NJ.html");

}

if(j==32) { // 32th category items
a=new Array();
O("Select a City","");
O ("Albuquerque","http://www.superpages.com/cities/Albuquerque-NM.html");
O ("Santa Fe","http://www.superpages.com/cities/Santa+Fe-NM.html");

}

if(j==33) { // 33th category items
a=new Array();
O("Select a City","");
O ("Albany","http://www.superpages.com/cities/Albany-NY.html");
O ("Brooklyn","http://www.superpages.com/cities/Brooklyn-NY.html");
O ("Buffalo","http://www.superpages.com/cities/Buffalo-NY.html");
O ("New York City","http://www.superpages.com/cities/New+York-NY.html");
O ("Rochester","http://www.superpages.com/cities/Rochester-NY.html");
O ("Syracuse","http://www.superpages.com/cities/Syracuse-NY.html");

}

if(j==34) { // 34th category items
a=new Array();
O("Select a City","");
O ("Charlotte","http://www.superpages.com/cities/Charlotte-NC.html");
O ("Greensboro","http://www.superpages.com/cities/Greensboro-NC.html");
O ("Raleigh - Durham","http://www.superpages.com/cities/Raleigh-NC.html");

}

if(j==35) { // 35th category items
a=new Array();
O("Select a City","");
O ("Bismark","http://www.superpages.com/cities/Bismarck-ND.html");

}

if(j==36) { // 36th category items
a=new Array();
O("Select a City","");
O ("Cincinnati","http://www.superpages.com/cities/Cincinnati-OH.html");
O ("Cleveland","http://www.superpages.com/cities/Cleveland-OH.html");
O ("Columbus","http://www.superpages.com/cities/Columbus-OH.html");
O ("Dayton","http://www.superpages.com/cities/Dayton-OH.html");
O ("Toledo","http://www.superpages.com/cities/Toledo-OH.html");

}

if(j==37) { // 37th category items
a=new Array();
O("Select a City","");
O ("Oklahoma City","http://www.superpages.com/cities/Oklahoma+City-OK.html");
O ("Tulsa","http://www.superpages.com/cities/Tulsa-OK.html");

}

if(j==38) { // 38th category items
a=new Array();
O("Select a City","");
O ("Portland","http://www.superpages.com/cities/Portland-OR.html");
O ("Salem","http://www.superpages.com/cities/Salem-OR.html");

}

if(j==39) { // 39th category items
a=new Array();
O("Select a City","");
O ("Harrisburg","http://www.superpages.com/cities/Harrisburg-PA.html");
O ("Philadelphia","http://www.superpages.com/cities/Philadelphia-PA.html");
O ("Pittsburgh","http://www.superpages.com/cities/Pittsburgh-PA.html");

}

if(j==40) { // 40th category items
a=new Array();
O("Select a City","");
O ("Providence","http://www.superpages.com/cities/Providence-RI.html");

}

if(j==41) { // 41th category items
a=new Array();
O("Select a City","");
O ("Charleston","http://www.superpages.com/cities/Charleston-SC.html");
O ("Columbia","http://www.superpages.com/cities/Columbia-SC.html");

}

if(j==42) { // 42th category items
a=new Array();
O("Select a City","");
O ("Pierre","http://www.superpages.com/cities/Pierre-SD.html");

}

if(j==43) { // 43th category items
a=new Array();
O("Select a City","");
O ("Knoxville","http://www.superpages.com/cities/Knoxville-TN.html");
O ("Memphis","http://www.superpages.com/cities/Memphis-TN.html");
O ("Nashville","http://www.superpages.com/cities/Nashville-TN.html");

}

if(j==44) { // 44th category items
a=new Array();
O("Select a City","");
O ("Austin","http://www.superpages.com/cities/Austin-TX.html");
O ("Dallas","http://www.superpages.com/cities/Dallas-TX.html");
O ("Fort Worth","http://www.superpages.com/cities/Fort+Worth-TX.html");
O ("El Paso","http://www.superpages.com/cities/El+Paso-TX.html");
O ("Houston","http://www.superpages.com/cities/Houston-TX.html");
O ("San Antonio","http://www.superpages.com/cities/San+Antonio-TX.html");

}

if(j==45) { // 45th category items
a=new Array();
O("Select a City","");
O ("Salt Lake City","http://www.superpages.com/cities/Salt+Lake+City-UT.html");

}

if(j==46) { // 46th category items
a=new Array();
O("Select a City","");
O ("Montpelier","http://www.superpages.com/cities/Montpelier-VT.html");

}

if(j==47) { // 47th category items
a=new Array();
O("Select a City","");
O ("Norfolk","http://www.superpages.com/cities/Norfolk-VA.html");
O ("Richmond","http://www.superpages.com/cities/Richmond-VA.html");
O ("Virginia Beach","http://www.superpages.com/cities/Virginia+Beach-VA.html");

}

if(j==48) { // 48th category items
a=new Array();
O("Select a City","");
O ("Everett","http://www.superpages.com/cities/Everett-WA.html");
O ("Olympia","http://www.superpages.com/cities/Olympia-WA.html");
O ("Seattle","http://www.superpages.com/cities/Seattle-WA.html");
O ("Spokane","http://www.superpages.com/cities/Spokane-WA.html");
O ("Tacoma","http://www.superpages.com/cities/Tacoma-WA.html");

}

if(j==49) { // 49th category items
a=new Array();
O("Select a City","");
O ("Charleston","http://www.superpages.com/cities/Charleston-WV.html");

}

if(j==50) { // 50th category items
a=new Array();
O("Select a City","");
O ("Madison","http://www.superpages.com/cities/Madison-WI.html");
O ("Milwaukee","http://www.superpages.com/cities/Milwaukee-WI.html");
O ("Wausau","http://www.superpages.com/cities/Wausau-WI.html");

}

if(j==51) { // 51th category items
a=new Array();
O("Select a City","");
O ("Cheyenne","http://www.superpages.com/cities/Cheyenne-WY.html");

}


aln2=a.length;
getFormNum(formName);
if (formNum>=0) {
formNum = formNum + 1;
with (document.forms[formNum].elements[elementNum]) {
for (var i=options.length-1;i>0;i--) options[i]=null;
for (var i=1;i<aln2;i++) options[i-1]=a[i];
options[0].selected=true;
      }
   }
} else {
jmp(formName,elementNum);
   }
}
function selectCheck() {
fa=document.f1.m1.selectedIndex;
fb=document.f1;
if (fa == 1){ relate(fb,0,1); }
if (fa == 2){ relate(fb,0,2); }
if (fa == 3){ relate(fb,0,3); }
if (fa == 4){ relate(fb,0,4); }
if (fa == 5){ relate(fb,0,5); }
if (fa == 6){ relate(fb,0,6); }
if (fa == 7){ relate(fb,0,7); }
if (fa == 8){ relate(fb,0,8); }
if (fa == 9){ relate(fb,0,9); }
if (fa == 10){ relate(fb,0,10); }
if (fa == 11){ relate(fb,0,11); }
if (fa == 12){ relate(fb,0,12); }
if (fa == 13){ relate(fb,0,13); }
if (fa == 14){ relate(fb,0,14); }
if (fa == 15){ relate(fb,0,15); }
if (fa == 16){ relate(fb,0,16); }
if (fa == 17){ relate(fb,0,17); }
if (fa == 18){ relate(fb,0,18); }
if (fa == 19){ relate(fb,0,19); }
if (fa == 20){ relate(fb,0,20); }
if (fa == 21){ relate(fb,0,21); }
if (fa == 22){ relate(fb,0,22); }
if (fa == 23){ relate(fb,0,23); }
if (fa == 24){ relate(fb,0,24); }
if (fa == 25){ relate(fb,0,25); }
if (fa == 26){ relate(fb,0,26); }
if (fa == 27){ relate(fb,0,27); }
if (fa == 28){ relate(fb,0,28); }
if (fa == 29){ relate(fb,0,29); }
if (fa == 30){ relate(fb,0,30); }
if (fa == 31){ relate(fb,0,31); }
if (fa == 32){ relate(fb,0,32); }
if (fa == 33){ relate(fb,0,33); }
if (fa == 34){ relate(fb,0,34); }
if (fa == 35){ relate(fb,0,35); }
if (fa == 36){ relate(fb,0,36); }
if (fa == 37){ relate(fb,0,37); }
if (fa == 38){ relate(fb,0,38); }
if (fa == 39){ relate(fb,0,39); }
if (fa == 40){ relate(fb,0,40); }
if (fa == 41){ relate(fb,0,41); }
if (fa == 42){ relate(fb,0,42); }
if (fa == 43){ relate(fb,0,43); }
if (fa == 44){ relate(fb,0,44); }
if (fa == 45){ relate(fb,0,45); }
if (fa == 46){ relate(fb,0,46); }
if (fa == 47){ relate(fb,0,47); }
if (fa == 48){ relate(fb,0,48); }
if (fa == 49){ relate(fb,0,49); }
if (fa == 50){ relate(fb,0,50); }
if (fa == 51){ relate(fb,0,51); }
if (fa == 52){ relate(fb,0,52); }
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
