// JavaScript Document
/*
window.onload = function () {
	if (document.getElementById('actual').offsetHeight > document.getElementById('content').offsetHeight-10) {
		document.getElementById('handle').style.display='block';
		var bg="scroller",thumb="handle",valFld="vertVal";
		scrollbar = YAHOO.widget.Slider.getVertSlider(bg, thumb, 0, 395);
		scrollbar.subscribe("change", function(offsetFromStart) {
			document.getElementById('actual').style.top = - offsetFromStart / 395 * (document.getElementById('actual').offsetHeight-409)+'px';
		});
	}
}
*/
window.onload = function () {
	if (document.getElementById('actual').offsetHeight > document.getElementById('content').offsetHeight) {
		document.getElementById('handle').style.display='block';
		var bg="scroller",thumb="handle",valFld="vertVal";
		scrollbar = YAHOO.widget.Slider.getVertSlider(bg, thumb, 0, 420);
		scrollbar.subscribe("change", function(offsetFromStart) {
			document.getElementById('actual').style.top = - offsetFromStart / 420 * (document.getElementById('actual').offsetHeight-444)+'px';
		});
	}
}
