// Code found at http://www.thefutureoftheweb.com/blog/target-blank-xhtml11
// Just replace (class="new-window") with (class="new-window")
// A great solution for XHTML Strict compliance
//  Thanks Jesse!

window.onload = function() {
    var links = document.getElementsByTagName('a');
    for (var i=0;i < links.length;i++) {
        if (links[i].className == 'new-window') {
            links[i].onclick = function() {
                window.open(this.href);
                return false;
            };
        }
    }
};
