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