
// Function to set external links open in new Browser Window in XHTML 1.0 Strict

function setExternalLinks() {
    if (!document.getElementsByTagName) {
        return null;
    }
    var anchors = document.getElementsByTagName("a");
    for (var i=0;i < anchors.length;i++) {
        var anchor = anchors[i];
        if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "ext") {
            anchor.setAttribute("target", "blank");
        }
    }
}

window.onload = setExternalLinks;

/*$(document).ready(function() {
   $("#showresults1").click(function() {
      $("#results1").load('http://l-arc.ch/fileadmin/templates/docinfo.php?fileId=15');
   });
});*/