
var position = 1;
function goPageTop() {
   if(navigator.appName == "Microsoft Internet Explorer" && document.compatMode == "CSS1Compat") {
      var scrPx = document.body.parentNode.scrollTop;
   } else {
      var scrPx = document.body.scrollTop;
   }
   
   if(position < 50 && scrPx) {
      scrPx = (scrPx > 2) ? Math.ceil(scrPx*.10) : 1;
      position++;
      scrollBy(0, -scrPx);
      setTimeout("goPageTop()", 0.001);
  	  position = 1;
   }else{
      scrollTo(0, 0);
      position = 1;
   }
}

function addBookmark(title,url) { 
    if (window.sidebar) { 
        window.sidebar.addPanel(title, url,""); 
    } else if( document.all ) { 
        window.external.AddFavorite( url, title); 
    } else if( window.opera && window.print ) { 
        return true; 
    } 
}
