/**
Because we are using XHTML 1.0 Strict, the "target" attribute is no longer
supported. We need to dynamically use Javascript to set this value.  
*/
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";
		}
	} 
}

window.onload = externalLinks;

