
function getObject(id) {
    if(document.all) {
        return document.all(id);
    }
    else {
        return document.getElementById(id);
    }
}

function doBackScroll() {
    var pos = new Object();
    pos.x = document.body.scrollLeft || document.documentElement.scrollLeft;
    pos.y = document.body.scrollTop || document.documentElement.scrollTop;
    window.scrollTo(Math.max(Math.floor(pos.x / 2),0), Math.max(Math.floor(pos.y -(pos.y / 5)),0));
    if(pos.x > 0 || pos.y > 0) {
        window.setTimeout("doBackScroll()", 35);
    }
}

function viewA(id) {
    var obj;
    
    obj = getObject("a" + id);
    if(obj.className == "av") {
        obj.className = "ah";
    }
    else {
        obj.className = "av";
    }
}
