// JavaScript Document
var $j = jQuery.noConflict();
$j(document).ready(function($){

// scroll de tekst
	var contentYloc = $j('#content').offset().top;
	var viewportHeight = function () {
		return $j('body').height() - contentYloc;
	};
	var contentHeight = function () {
		return $j('#content').height();
	};
	$j('body').css('overflow','hidden');
	$j('#scrollbox').mousemove(function (e) {
		var mousePosY = e.pageY - contentYloc;
		var dY = viewportHeight() - contentHeight();
		var offset = Math.floor((dY) * mousePosY / viewportHeight()) + "px";
		if (dY < 0) {
			$j('#content').animate({top: offset}, {duration: 0, queue: false}); 
		}
	});

});
