function investorsLink(page, currentLocation) {

    var agree = false;

    if (currentLocation == 'FINANCE') {
        if (page == '../default.aspx') {
            agree = confirm('Are you sure you wish to leave StaticPool Financials Website?');
            if (agree) {
                window.open(page, "_blank");
            }
        }
        else {
            window.open(page, "_self");
        }
    }
    else {
        agree = confirm('Are you sure you wish to leave Santander Consumer USA Website?');
        if (agree) {
            window.open(page, "_blank");
        }
    }
}

function toggleVisibility() {
    var dtbl;
    var tbl;
    dtbl = document.getElementById('atbl2007');
    tbl = document.getElementById('tbl2007');
    if (dtbl.style.visibility == "hidden") {
        dtbl.style.visibility = "visible";
        tbl.style.display = "inline-block";
    }
    else {
        dtbl.style.visibility = "hidden";
        tbl.style.display = "inline-block";
    }
}

function go(where) {
    if (where != "-") {
        window.open(where, '', '', false);
    }
}