var isMac = (navigator.appVersion.indexOf("Mac") != -1) ? true : false
var isSa = (navigator.userAgent.indexOf("Safari") != -1) ? true : false
var isNav = (navigator.appName == "Netscape") ? true : false
function goThere(form) {
   var newloc 

     if(isNav) {
        newloc = form.urlList.options[form.urlList.selectedIndex].value
      } else {
        newloc = form.urlList.value
      }  
      if(newloc != "----")window.location.href  = newloc
}
document.write('<form name="con">')
document.write('<span style="font-size:65%">&nbsp;<br></span>')
document.write('<select NAME="urlList" onChange="goThere(this.form)" style="font-size: x-small; font-family: Arial,Helvetica;">')
document.write('<option selected value="----"> Contents </option>')
document.write('<option value="index.html">› Business Directory Home</option>')
document.write('<option value="busdir1.html">› Automotive</option>')
document.write('<option value="busdir2.html">› Business & Financial Services</option>')
document.write('<option value="busdir3.html">› Computers & Technology</option>')
document.write('<option value="busdir4.html">› Health Services</option>')
document.write('<option value="busdir5.html">› Home & Real Estate</option>')
document.write('<option value="busdir6.html">› Dining & Travel</option>')
document.write('<option value="busdir7.html">› Shops & Services</option>')
document.write('<option value="busdir8.html">› Entertainment & Media</option>')
document.write('<option value="---"> --- </option>')
document.write('<option value="SubmitListing.html">› Site Submission</option>')
document.write('</select>')
document.write('</form>')
var wstr=unescape(window.location.href)
var np=false
var nm
if(wstr.indexOf("index.html") != -1)np=true
if(wstr.indexOf("html") == -1)np=true
if(wstr.indexOf("Submit") != -1)nm=10
if(!np && nm != 10) {
var s=wstr.lastIndexOf("busdir")
var w=wstr.indexOf("html")
nm=parseInt(wstr.substring(s+6,w-1))
} else if(np) nm=0
document.con.urlList.options[nm+1].selected=true
