/*
	Chop Shop: Bodies of Work
	2010-10-23
	Author: Thomas Van Doren
*/

function openForeignLinksInNewWindow() {
    var a = document.getElementsByTagName("a");
    for (var i = 0; i < a.length; i++) {
        if (a[i].getAttribute("class") && a[i].getAttribute("class").indexOf("win") >= 0) {
            a[i].setAttribute("target", "_blank");
        }
    }
}

function main() {
    openForeignLinksInNewWindow();
}

window.onload = main;

