  tableconfig = DBASEgetField(inputrow,"tableconfig") ;
  tableconfig = tableconfig.replace(/\n/g,"") ;
  tableconfig = tableconfig.replace(/\r/g,"") ;
  tableconfig = tableconfig.replace(/\f/g,"") ;
  otableconfig = "" ;
  while(otableconfig != tableconfig) {
    otableconfig = tableconfig ;
    tableconfig = tableconfig.replace(/ \{\{/g,"{{") ;
    tableconfig = tableconfig.replace(/\{\{ /g,"{{") ;
    tableconfig = tableconfig.replace(/ \}\}/g,"}}") ;
    tableconfig = tableconfig.replace(/\}\} /g,"}}") ;
    tableconfig = tableconfig.replace(/ ::/g,"::") ;
    tableconfig = tableconfig.replace(/:: /g,"::") ;
    tableconfig = tableconfig.replace(/ ;;/g,";;") ;
    tableconfig = tableconfig.replace(/;; /g,";;") ;
  }
  thetables = tableconfig.split("}}")
  if ( memtype.indexOf('adm') > -1 ) {
    document.write('<div id="navadm" style="text-align:center;border-bottom:1px solid #000000;color:#000000;line-height:25px;font-size:11px;background-color:#ffffff;">');
    document.write('<a href="/">SITE HOME</a>•') ;
    document.write('<a href="/utyadm/index.html">Adm Home</a>•') ;
    document.write('<a href="/utyadm/config.html">Site</a>•') ;
    document.write('<a href="/utyadm/pdtledit.html">Self</a>•') ;
    document.write('<a href="/utyadm/usrlist.html">Users</a>•') ;
    if ( thetables.length > 0 ) {
      for(ff=0;ff<thetables.length-1;ff++) {
        document.write('<a href="/utyadm/tablelist.html?aSort=&aFilter=&table='+thetables[ff].split("{{")[0]+'">'+thetables[ff].split("{{")[0]+'</a>•') ;
      }
    }
    document.write('<a href="/utyadm/tranlist.html">Transactions</a>•') ;
    document.write('<a href="/utyadm/bookings.html">Booking</a>•') ;
    document.write('<a href="/utyadm/upload.html">Files</a>•') ;
    document.write('<a href="/utyadm/upldart.html">Pics</a>•') ;
    document.write('<a href="/utyadm/upldpage.html">Pages</a>•') ;
    document.write('<a href="/allasp/pageedit.asp?a=edit&c=adm&p=/admnav.js&page='+window.location.pathname+'&wid='+window.name+'">Edit</a>•') ;
    document.write('<a href="/utyadm/stats.html">Stats</a>•') ;
    document.write('<a href="/utyadm-help.asp?wid='+window.name+'">Help</a>•') ;
    document.write('<a href="/allasp/logoff.asp?wid='+window.name+'">Log Off</a>') ;
    document.write('</div>') ;
  }
if ( memtype.indexOf('man') > -1 ) {
  document.write('<div style="position:absolute;left:170px;top:65px;width:600px;white-space:nowrap;background-color:#ffffff;">') ;
  document.write('<a class="nav2" href="/utyman/index.html">Managers Home</a>•') ;
  document.write('<a class="nav2" href="/utyman/pdtledit.html">Self</a>•') ;
  document.write('<a class="nav2" href="/utyman/rooms.html">Rooms</a>•') ;
  document.write('<a class="nav2" href="/utyman/availability.html">Availability</a>•') ;
  document.write('<a class="nav2" href="/utyman/offers.html">Offers</a>•') ;
  document.write('<a class="nav2" href="/utyman/prices.html">Prices</a>•') ;
  document.write('<a class="nav2" href="/utyman/historical.html">Historical</a>•') ;
  document.write('<a class="nav2" href="/utyman/bookings.html">Bookings</a>•') ;
  /* document.write('<a class="nav2" href="/utyman/memlist.html">Customers</a>•') ; */
  document.write('<a class="nav2" href="/allasp/logoff.asp">Log Off</a>') ;
  document.write('</div>') ;
}
