function OnChange(dropdown){
    var myindex  = dropdown.selectedIndex
    var SelValue = dropdown.options[myindex].value
	if(SelValue != ''){ top.location.href = SelValue; }
    return true;
}

function externalLinks() {
  if (!document.getElementsByTagName) return;

  var anchors = document.getElementsByTagName("a");
  for (var i=0; i<anchors.length; i++) { //loop through all the anchors
    var anchor = anchors[i];

    if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") {
      anchor.onclick = function(x) {
        var p = x;
        return function() {
          var w = window.open(p); //try and open up a new window with the url
          if(!w) { //check to see if the window opened
            //let the user know that a window didnt open
            alert("A popup blocker seems to have blocked the window from opening");
          }
          return false;
        }
      }(anchor.getAttribute("href")); //pass through the href for this anchor
    }
  }
}
window.onload = externalLinks;