


function NewWwwWindows (){
 
if (!document.getElementsByTagName) return false;
if (!document.getElementById) return false;
if (!document.getElementById("rightContent")) return false;

var rightContent = document.getElementById("rightContent");

var links = rightContent.getElementsByTagName("a");
 
for (var i=0; i< links.length; i ++) {
 
if (links[i].href.indexOf('http://www.') !== -1) {
 
links[i].onclick =
 
function() {
 
window.open(this.href,'_blank','height=850,width=800,resizable,scrollbars');// 'popper' could also be used instead of _blank
 
return false;
 
}
//links[i].title += "\n(opens in a new window)"; add this if you want to add a title tag to each link and give it the size of the pdf

var img = document.createElement("img");
 
img.setAttribute("src", "../../images/new-win-icon.gif");
 
img.setAttribute("alt", "(opens in a new window)");
 
links[i].appendChild(img);
}
 
}
 
}


function NewEdrWindows (){
 
if (!document.getElementsByTagName) return false;
if (!document.getElementById) return false;
if (!document.getElementById("rightContent")) return false;

var rightContent = document.getElementById("rightContent");

var links = rightContent.getElementsByTagName("a");
 
for (var i=0; i< links.length; i ++) {
 
if (links[i].href.indexOf('http://edr.') !== -1) {
 
links[i].onclick =
 
function() {
 
window.open(this.href,'_blank','height=850,width=800,resizable,scrollbars');// 'popper' could also be used instead of _blank
 
return false;
 
}
//links[i].title += "\n(opens in a new window)"; add this if you want to add a title tag to each link and give it the size of the pdf

var img = document.createElement("img");
 
img.setAttribute("src", "../../images/new-win-icon.gif");
 
img.setAttribute("alt", "(opens in a new window)");
 
links[i].appendChild(img);
}
 
}
 
}




addLoadEvent(NewEdrWindows);
addLoadEvent(NewWwwWindows);










