<!--

    highlight_color = "#efffa2";
    name1 = location.hash;
    name1 = name1.substring(1, name1.length);

    // adds "highlight_color" to text or headings
    function highlight_heading(name, color) 
    {
      if(color != "" && typeof(color) != "undefined")
      {
        remove_highlights ("span");
      }
      else { color = highlight_color; }

      remove_highlights("h1");
      remove_highlights("h2");

      if(name == "onload")
      {
        name = location.hash;
        name = name.substring(1, name.length);
      }

      name = name.replace(/ /gi, '_');       

      if(document.getElementById(name)) {
        document.getElementById(name).style.backgroundColor = color;
        return 1;
      }
      else { 

        return 0; 
      }

    }

    // Removes the background highlights from highlighted text or headings
    function remove_highlights (tagtype) 
    {
      
      if(tagtype != "") {
        tag_array = document.getElementsByTagName(tagtype);
      }
      else {
        tag_array = document.getElementsByTagName("h1");
      }

      for(i = 0; i < tag_array.length; i++)
      {
        if(navigator.appName == "Netscape")
        {
          if(tag_array[i].id != "" && tag_array[i].style.backgroundColor != "")
          {   
            tag_array[i].style.backgroundColor = "transparent";
          }
        }
        else 
        {
          if(tag_array[i].id != "")
          {
            tag_array[i].style.backgroundColor = "";
          }
        }
      }
    }




    // function toggles the expand/retract arrows on the text columns
    function toggle_row(name)
    { 
          var optional_image = name + "_img";
          var toggled_image = "";
	
          if(typeof document.images[optional_image] != "undefined" && document.getElementById(name + "_img").src != "") {
            if(document.images[optional_image].src.indexOf("/images/icons/retract_up.gif") > 0 ) {
              toggled_image = document.getElementById(name + "_img").src = "/images/icons/expand_down.gif";
           }
            else if(document.images[optional_image].src.indexOf("/images/icons/expand_down.gif") > 0) {
              toggled_image = "/images/icons/retract_up.gif";
            }
            else if(document.images[optional_image].src.indexOf("/images/icons/plus_btn.gif") > 0) {
              toggled_image = "/images/icons/minus_btn.gif";
            }
            else if(document.images[optional_image].src.indexOf("/images/icons/minus_btn.gif") > 0) {
              toggled_image = "/images/icons/plus_btn.gif";
            }
            else {
              toggled_image = ""
           }
          }

          if(document.getElementById(name).style.display == 'none')
          { 
              if(typeof document.images[optional_image] != "undefined" && document.getElementById(name + "_img").src != "") {
                  document.getElementById(name + "_img").src = toggled_image;

              }
              document.getElementById(name).style.display = 'block';
          }
          else
          {  
              if(typeof document.images[optional_image] != "undefined" && document.getElementById(name + "_img").src != "") {
                  document.getElementById(name + "_img").src = toggled_image;
              }
              document.getElementById(name).style.display = 'none';
          }

    }
  -->
