var isHREF = false; //this is used to override a goTo event when the user clicks directly on a link (protects against double posts)

function goTo(url) {
    if (!isHREF) {
        window.location.href = url;
    }
}

function goToNew(url) {
    if (!isHREF) {
        _new.location.href = url;
    }
}

