function unblur() {
 this.blur();
} 

function blurLinks() {
 if (!document.getElementById) return;
 theLinks = document.getElementsByTagName("A");
 theAreas = document.getElementsByTagName("AREA");
 for(i=0; i<theLinks.length; i++) {theLinks[i].onfocus = unblur;}
 for(i=0; i<theAreas.length; i++) {theAreas[i].onfocus = unblur;}
}

function openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

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("href").substr(0,7) == "http://") {
     anchor.target = "_blank";
	 }
 }
}

function initialize() {
	blurLinks();
	externalLinks();
}

window.onload = initialize;