function scrollDiv(strId,intSpd) {
		if ( objScrll=document.getElementById(strId) ) {
			var top = parseInt(objScrll.style.top);
			if ( (intSpd>0) ? (top<0) : (top>parseInt(objScrll.parentNode.style.height)-objScrll.offsetHeight) ) 
				objScrll.style.top = (top + intSpd) +"px";
			eval( 'tvar' + strId +'= setTimeout("scrollDiv(\''+ strId +'\',' + intSpd + ')",50)' );
			if (objSelf=scrollDiv.arguments[2]) 
				objSelf.onmouseup = objSelf.onmouseout = new Function('fx','clearTimeout(tvar' + strId + ')');
		}
	}


function checkHeight() {
var contenter = document.getElementById("content");
if (contenter) {
var contentHeight = contenter.offsetHeight;
var divContainer = document.getElementById("divContainer");
var divContainerHeight = divContainer.offsetHeight;
  if (contentHeight > divContainerHeight)  {    
    scrollerT=document.getElementById("scroller");
    scrollerT.style.visibility = "visible";
   }
  }
}
window.onload = checkHeight;

