HeadingLinks = {};

HeadingLinks.jumpTo = function(id) {
    var theElement = document.getElementById(id);
    var selectedPosX = 0;
    var selectedPosY = 0;
    while (theElement != null) {
        selectedPosX += theElement.offsetLeft;
        selectedPosY += theElement.offsetTop;
        theElement = theElement.offsetParent;
    }
    window.scrollTo(selectedPosX, selectedPosY);
}


HeadingLinks.getIePosition = function() {
    document.getElementById('jumpto').style.top = 200 + document.body.scrollTop + "px";
    alert('hello');
}







