
window.addEvent('domready', function () {
	var scl, tim, ef;
	scl = $(document).getElement('.moduletable_jumpto');
	if (scl == undefined) return false;
	ef = new Fx.Style(scl, 'margin-top', {duration: 350});
	window.addEvent('scroll', function() {
		if (tim) clearTimeout(tim);
		tim = setTimeout(function () {
			var sclTp = document.documentElement.scrollTop;
			if ((sclTp > 440 || self.pageYOffset > 441) && (sclTp < 3000 || self.pageYOffset < 3000)) 
			{ef.start(scl.getStyle('margin-top'), (sclTp - 421)); } 
			else if (sclTp < 441 || self.pageYOffset < 441) 
			{ ef.start(scl.getStyle('margin-top'), 0); }
		}, 100);
	});
});
