﻿// JScript File


  
function jumpScroll() {
  window.scroll(0, 0); 
}

function EndRequestHandler(sender, args)
{
  $get("UpdateIndicator").style.visibility = "hidden";      
  var scrTop = document.getElementById("ctl00$CPH$TBScrTop");
  if (scrTop)
    if (scrTop.value == "1")
      jumpScroll();
}

function BeginRequestHandler(sender, args)
{
//  $get("UpdateIndicator").style.position = "absolute";
//  $get("UpdateIndicator").style.top = Math.round(screen.availHeight / 2 - 40) + "px";
//  $get("UpdateIndicator").style.left = Math.round(screen.availWidth / 2 - 50) + "px";
  $get("UpdateIndicator").style.visibility = "visible";               
}

