// An article about using the XHTML Target Module to allow the target="_blank"
// However the extending of DTD with XHTML Target Module is badly implemented in most browsers
// http://www.zeldman.com/daily/0503a.shtml#strictlyspeaking
// http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/dtd_module_defs.html#a_module_Target

// Another article showing another technique to mark up then dynamically add the target attribute after the page has loaded
// http://www.sitepoint.com/article/standards-compliant-world
function targetBlank() {
 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.getAttribute("rel") == "download"))
     	anchor.target = "_blank";
 }
}
window.onload = targetBlank;


function OpenWin (l,name) {
    newwindow = window.open(l,name,'width=530,height=560,scrollbars=yes,status=yes,screenX=20,screenY=20,top=20,left=20');
	newwindow.focus();
}