/*  %CopyRight 
    ToolsRel: 8.18.09 */

function getScrollX()
{
return document.body.scrollLeft;
}

function getScrollY()
{
return document.body.scrollTop;
}

//% IE5.5sp2 and IE5 generate spurious events when clicking on a dropdown
//% that can cause an incrreoct submit (which browser then fails to handle correctly)
//% This code prevents it by checking for a second submit less than 2 seconds after the
//% previous. (Note IE6 takes more than 1 second to generate the error!!!)
var nLoad_main0 = 0;

function isLoading_main0()
{
var now = new Date().getTime();
if (nLoad_main0 != 0 && now - nLoad_main0 < 500)
  return true;
nLoad_main0 = now;
return false;
}






