
function displaystickybox(){
var ie=document.all && !window.opera
var dom=document.getElementById
iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
objref=(dom)? document.getElementById("MainTable") : document.all.MainTable
var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset
showonscrollvar=setInterval("stickybox()", 50)
}

function stickybox(){
var ie=document.all && !window.opera
var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset
objref.style.top=scroll_top+"px"
}



if (window.addEventListener)
window.addEventListener("load", displaystickybox, false)
else if (window.attachEvent)
window.attachEvent("onload", displaystickybox)
else if (document.getElementById)
window.onload=displaystickybox


