// 4/1/2005 If you edit the menu here, be sure to edit the 
// special menu on the ktghome.html page as well. - Brian
// 2/26/2005 Doesn't work when page is loaded from index link. - Brian
// 2/26/2005 - I really need to make this so it is independent of the base url. 
// And I need to use regular expression and arrays to simplify this. - Brian
// 2/25/2005 - Highlight the current menu code below. 
// It will check the current URL, then make the current menu id
// the same as the pub either ktg or wtgl and because they match
// the html body id, it will highlight this page too. - Brian
// First set the base url which in the if statement.
var baseURL = "http://www.kytravel.com/esc/ktg";
// Set the id tag to ktg as a variable. (See html body tag 
// as it is either ktg or wtgl based on CSS.)
var idKTG = " id=\"ktg\"";
// Then just make each menu variable the current url.
var cover = location.href;
var welcome = location.href;
var howtouse = location.href;
var contents = location.href;
var map = location.href;
var index = location.href;
var related = location.href;
var contact = location.href;
// compare the menu variable against known list of urls.
if (cover == baseURL + "cover.html") {cover = idKTG };
if (welcome == baseURL + "welcome.html") {welcome = idKTG };
if (howtouse == baseURL + "howtouse.html") {howtouse = idKTG };
if (contents == baseURL + "contents.html") {contents = idKTG };
    if (contents == baseURL + "area01.html") {contents = idKTG };
    if (contents == baseURL + "area02.html") {contents = idKTG };
    if (contents == baseURL + "area03.html") {contents = idKTG };
    if (contents == baseURL + "area04.html") {contents = idKTG };
    if (contents == baseURL + "area05.html") {contents = idKTG };
    if (contents == baseURL + "area06.html") {contents = idKTG };
    if (contents == baseURL + "area07.html") {contents = idKTG };
    if (contents == baseURL + "area08.html") {contents = idKTG };
    if (contents == baseURL + "area09.html") {contents = idKTG };
    if (contents == baseURL + "area10.html") {contents = idKTG };
    if (contents == baseURL + "area11.html") {contents = idKTG };
    if (contents == baseURL + "area12.html") {contents = idKTG };
    if (contents == baseURL + "area13.html") {contents = idKTG };
    if (contents == baseURL + "area14.html") {contents = idKTG };
    if (contents == baseURL + "area15.html") {contents = idKTG };
    if (contents == baseURL + "area16.html") {contents = idKTG };
    if (contents == baseURL + "area17.html") {contents = idKTG };
    if (contents == baseURL + "area18.html") {contents = idKTG };
    if (contents == baseURL + "area19.html") {contents = idKTG };
    if (contents == baseURL + "area20.html") {contents = idKTG };
    if (contents == baseURL + "area21.html") {contents = idKTG };
    if (contents == baseURL + "area22.html") {contents = idKTG };
    if (contents == baseURL + "area23.html") {contents = idKTG };
    if (contents == baseURL + "area24.html") {contents = idKTG };
    if (contents == baseURL + "area25.html") {contents = idKTG };
    if (contents == baseURL + "area26.html") {contents = idKTG };
    if (contents == baseURL + "area27.html") {contents = idKTG };
    if (contents == baseURL + "area28.html") {contents = idKTG };
    if (contents == baseURL + "area29.html") {contents = idKTG };
    if (contents == baseURL + "area30.html") {contents = idKTG };
    if (contents == baseURL + "area31.html") {contents = idKTG };
    if (contents == baseURL + "area32.html") {contents = idKTG };
    if (contents == baseURL + "area33.html") {contents = idKTG };
    if (contents == baseURL + "area34.html") {contents = idKTG };
    if (contents == baseURL + "area35.html") {contents = idKTG };
    if (contents == baseURL + "area36.html") {contents = idKTG };
if (map == baseURL + "map.html") {map = idKTG };
  if (map == baseURL + "mapwest.html") {map = idKTG };
  if (map == baseURL + "mapeast.html") {map = idKTG };
  if (map == baseURL + "mapnorth.html") {map = idKTG };
  if (map == baseURL + "mapsouth.html") {map = idKTG };
    if (map == baseURL + "map01.html") {map = idKTG };
    if (map == baseURL + "map02.html") {map = idKTG };
    if (map == baseURL + "map03.html") {map = idKTG };
    if (map == baseURL + "map04.html") {map = idKTG };
    if (map == baseURL + "map05.html") {map = idKTG };
    if (map == baseURL + "map06.html") {map = idKTG };
    if (map == baseURL + "map07.html") {map = idKTG };
    if (map == baseURL + "map08.html") {map = idKTG };
    if (map == baseURL + "map09.html") {map = idKTG };
    if (map == baseURL + "map10.html") {map = idKTG };
    if (map == baseURL + "map11.html") {map = idKTG };
    if (map == baseURL + "map12.html") {map = idKTG };
    if (map == baseURL + "map13.html") {map = idKTG };
    if (map == baseURL + "map14.html") {map = idKTG };
    if (map == baseURL + "map15.html") {map = idKTG };
    if (map == baseURL + "map16.html") {map = idKTG };
    if (map == baseURL + "map17.html") {map = idKTG };
    if (map == baseURL + "map18.html") {map = idKTG };
    if (map == baseURL + "map19.html") {map = idKTG };
    if (map == baseURL + "map20.html") {map = idKTG };
    if (map == baseURL + "map21.html") {map = idKTG };
    if (map == baseURL + "map22.html") {map = idKTG };
    if (map == baseURL + "map23.html") {map = idKTG };
    if (map == baseURL + "map24.html") {map = idKTG };
    if (map == baseURL + "map25.html") {map = idKTG };
    if (map == baseURL + "map26.html") {map = idKTG };
    if (map == baseURL + "map27.html") {map = idKTG };
    if (map == baseURL + "map28.html") {map = idKTG };
    if (map == baseURL + "map29.html") {map = idKTG };
    if (map == baseURL + "map30.html") {map = idKTG };
    if (map == baseURL + "map31.html") {map = idKTG };
    if (map == baseURL + "map32.html") {map = idKTG };
    if (map == baseURL + "map33.html") {map = idKTG };
    if (map == baseURL + "map34.html") {map = idKTG };
    if (map == baseURL + "map35.html") {map = idKTG };
    if (map == baseURL + "map36.html") {map = idKTG };
if (index == baseURL + "index.html") {index = idKTG };
    if (map == baseURL + "index01.html") {index = idKTG };
    if (map == baseURL + "index02.html") {index = idKTG };
    if (map == baseURL + "index03.html") {index = idKTG };
    if (map == baseURL + "index04.html") {index = idKTG };
    if (map == baseURL + "index05.html") {index = idKTG };
    if (map == baseURL + "index06.html") {index = idKTG };
    if (map == baseURL + "index07.html") {index = idKTG };
    if (map == baseURL + "index08.html") {index = idKTG };
    if (map == baseURL + "index09.html") {index = idKTG };
    if (map == baseURL + "index10.html") {index = idKTG };
    if (map == baseURL + "index11.html") {index = idKTG };
    if (map == baseURL + "index12.html") {index = idKTG };
    if (map == baseURL + "index13.html") {index = idKTG };
    if (map == baseURL + "index14.html") {index = idKTG };
    if (map == baseURL + "index15.html") {index = idKTG };
    if (map == baseURL + "index16.html") {index = idKTG };
    if (map == baseURL + "index17.html") {index = idKTG };
    if (map == baseURL + "index18.html") {index = idKTG };
    if (map == baseURL + "index19.html") {index = idKTG };
    if (map == baseURL + "index20.html") {index = idKTG };
    if (map == baseURL + "index21.html") {index = idKTG };
    if (map == baseURL + "index22.html") {index = idKTG };
    if (map == baseURL + "index23.html") {index = idKTG };
if (related == baseURL + "related.html") {related = idKTG };
if (contact == baseURL + "contact.html") {contact = idKTG };
// If it matches, put the body id in the menu id below. If it doesn't match put nothing.
// so that it highlights the right choice below.
 document.write('\
 <br>\
<div id="subhead">\
<a href=\"ktgcover.html\"' + cover + '>Cover Photo</a> <img src=\"/esc/base/ktg/images/bullet.jpg\" alt=\"\" border=\"0\" align=\"middle\" class=\"bullet\"> \
<a href=\"ktgwelcome.html\"' + welcome + '>Governor\'s Welcome</a> <img src=\"/esc/base/ktg/images/bullet.jpg\" alt=\"\" border=\"0\" align=\"middle\" class=\"bullet\"> \
<a href=\"ktghowtouse.html\"' + howtouse + '>How to Use</a> <img src=\"/esc/base/ktg/images/bullet.jpg\" alt=\"\" border=\"0\" align=\"middle\" class=\"bullet\"> \
<a href=\"ktgcontents.html\"' + contents + '>Contents</a> <img src=\"/esc/base/ktg/images/bullet.jpg\" alt=\"\" border=\"0\" align=\"middle\" class=\"bullet\"> \
<a href=\"ktgmap.html\"' + map + '>Maps</a>	 <img src=\"/esc/base/ktg/images/bullet.jpg\" alt=\"\" border=\"0\" align=\"middle\" class=\"bullet\"> \
<a href=\"ktgindex.html\"' + index + '>Index</a> <img src=\"/esc/base/ktg/images/bullet.jpg\" alt=\"\" border=\"0\" align=\"middle\" class=\"bullet\"> \
<a href=\"ktgrelated.html\"' + related + '>Related Sites</a> <img src=\"/esc/base/ktg/images/bullet.jpg\" alt=\"\" border=\"0\" align=\"middle\" class=\"bullet\"> \
<a href=\"ktgcontact.html\"' + contact + '>Contact Us</a> \
</div>');

