


/*******************************************************************

PREVENT DOTTED LINES AROUND LINKS */

var theahrefs = document.getElementsByTagName("a");
for(var x=0;x!=theahrefs.length;x++){
theahrefs[x].onfocus = function stopLinkFocus(){this.hideFocus=true;};
      }



/*******************************************************************

OPEN LINKS WITH REL="EXTERNAL" IN NEW WINDOW */

function externalLinks() {
	if (!document.getElementsByTagName) return;
		var anchors = document.getElementsByTagName("a");
		for (var i=0; i<anchors.length; i++) {
			var anchor = anchors[i];
			if (anchor.getAttribute("href") &&
			anchor.getAttribute("rel") == "external")
			anchor.target = "_blank";
		}
}


