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;

function innewlyr(url) {
 window.open(url,'_blank','menubar=yes,toolbar=yes,location=yes,scrollbars=yes,width=500,height=800,top=10,left=10'); return false;
}

function innewplay(url) {
 window.open(url,'_blank','menubar=yes,toolbar=yes,location=yes,width=360,height=180,top=660,left=480'); return false;
}




function innew800(url) {
 window.open(url,'_blank','menubar=yes,toolbar=yes,location=yes,width=800,height=600,top=20,left=20'); return false;
}

function innew900(url) {
 window.open(url,'_blank','menubar=yes,toolbar=yes,location=yes,width=900,height=700,top=20,left=20'); return false;
}

function innew1000(url) {
 window.open(url,'_blank','menubar=yes,toolbar=yes,location=yes,width=1000,height=800,top=20,left=20'); return false;
}


