function auto_nav() {

  var globallinks = new Array

   ("/photography/index.html", "/photography/Gallery/index.html", "/photography/tutorials/index.html","/photography/technical/index.html", "/photography/reviews/index.html", "/photography/forums/index.html" , "/photography/books/index.html", "/photography/artprints/index.html", "/photography/search/index.html", "/photography/eosfaq/index.html", "/photography/digital/index.html", "/photography/faq/index.html","/photography/links/index.html",

"/photography/magazines/index.html", 

"/photography/about.html", "/photography/ads.html", "/photography/about.html#email", "/photography/about.html#list");

  



  var globallabels = new Array

   ("HOME", "Images", "Editorial", "Technical", "Reviews", "Forums", "Books", "Art Prints", "SEARCH", "EOS FAQ", "Digital", "Photo FAQ", "Links", "Magazines", "About", "For Sale", "Email", "Register");

  document.write("<CENTER>");
  
  document.write ("<img src='/photography/common/bapbannerad.jpg' width='480' height='60'><br>");

  document.write("<font size=-1>");

  print_links("",

globallinks, globallabels);



}



function print_links(navbarlabel,

  linksarray, labelsarray) {

  var pathname = document.location.pathname;

 var counter1 = 0;

// document.write(pathname);

  if(navbarlabel) {

    document.write("<B>" + navbarlabel

      + "</B>");

  }

  for(var link in linksarray) {

    if (counter1 == 9) {

    document.write("<br>");

}

    if(pathname == linksarray[link]) {

      document.write("<B>" 

        + labelsarray[link] 

        + "</B> &nbsp; ");

    } else {

      document.write("<A HREF=" 

        + linksarray[link] 

        + ">" + labelsarray[link] 

        + "</A> &nbsp; ");

    }

counter1 = counter1 + 1;

  } 

}



auto_nav();



document.bgColor='eaeaea';



// document.write("<p>");