// JavaScript Document
var aThumb = document.getElementById("thumb");
var scrolldiv=document.getElementById("scrollcontent");
if (scrolldiv.offsetHeight > 200) {
	points = scrolldiv.offsetHeight / 170;
	Drag.init(aThumb, null, 0, 0, 0, 140);
	aThumb.onDrag = function(x, y) {
		if (scrolldiv.offsetHeight > 170)
			scrolldiv.style.top=(Math.round(y*points)-y)*(-1) +"px";
	}
} else document.getElementById('cntr_scroll').style.display = 'none';

