var upScrollTimer;function upScroll(toY,frms,Y) {  if (upScrollTimer) clearTimeout(upScrollTimer); if (!Y) Y = 0 + getPositionTop(); if (!frms) frms = 6; if (toY > Y ) toY = 1; Y += (toY - getPositionTop()) / frms;  if (Y < 0) Y = 0; var posY = Math.round(Y); window.scrollTo(1, posY); if (posY != toY) {  upScrollTimer = setTimeout("upScroll("+toY+","+frms+","+Y+")",8); }}function upTop() {  upScroll(0,8);}function getPositionTop() {  if ((navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1)) {  return document.body.scrollTop; } else if (window.pageYOffset) {  return window.pageYOffset; } else {  return 0; }}
