// JavaScript Document

// allows the use of pop up windows against W3C-AAA which does not allow target=_blank. This is perfectly valid process/work around 

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";
			anchor.title = "New Window: "+anchor.getAttribute("title");
		}
	}
}
window.onload = externalLinks;


