// GBScripts.js
// AdjustLinkColour() function

// AdjustLinkColour() function
function AdjustLinkColour(Element) {
  var aElement = document.getElementById(Element.id);
  // set all top links to grey first
  for (var i = 1; i <= 3; i++) {
    if (document.getElementById("topLink" + i)) {
      document.getElementById("topLink" + i).style.color = "#666666";

    }
  }
  // now set the color of the calling element to lavender
  aElement.style.color = "#417";
  // remove focus from the element
  aElement.blur();
}