/* Drop-down Navigation
---------------------------------------------------------- */
sfHover = function() {
    var sfEls = document.getElementById("nav").getElementsByTagName("li");
    for (var i=0; i<sfEls.length; i++) {
        sfEls[i].onmouseover=function() {
            this.className+=" sfhover";
        }
        sfEls[i].onmouseout=function() {
            this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfHover); 
/* Drop Down List navigation
    (used by the global locations list in the header)
---------------------------------------------------------- */
function goto_dropdown_selection(entered) {
    with (entered)     {
      ref = options[selectedIndex].value; 
      splitcharacter = ref.lastIndexOf("&"); 
      if (splitcharacter != -1) {
        loc = ref.substring(0,splitcharacter); 
        target = ref.substring(splitcharacter+1,1000).toLowerCase();
      }
    else {
      loc = ref;
      target = "_self";
      }
      lowloc = loc.toLowerCase();
    
      if (lowloc == "false" || lowloc == "") {
        return;
        }
      else if (target=="_self") {
        document.location=loc;
        } 
      else if (target=="_top") {
        top.location=loc;
        } 
      else if (target=="_blank") {
        window.open(loc);
        } 
      else if (target=="_parent") {
        parent.location=loc;
        }
      else {
        parent.frames[target].location = loc;
        } 
      }
    }
