// <!--
    var ScrollTop = 0;
    var objPos = 0;
    function getY( oElement )
        {
        var iReturnValue = 0;
        while( oElement != null )
            {
                iReturnValue += oElement.offsetTop;
                oElement = oElement.offsetParent;
            }
        return iReturnValue;
        }
    function scroll_event()
        {
        objPos = getY(document.getElementById("webpiare"));
        ScrollTop = document.body.scrollTop;
        if (ScrollTop == 0)
          {
            if(window.pageYOffset)
              ScrollTop = window.pageYOffset;
            else
              ScrollTop = (document.body.parentElement) ? document.body.parentElement.scrollTop : 0;
          }
        }
    window.onscroll = function () {scroll_event();}
// -->
