//This is used to open a link in a new window, rather than the same window.
//We used to use target="_blank" for this, but that is no longer allowed in 
//XHTML 1.0 Strict, so this is a workaround.

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;