
function moveTop()
{
	var top = parseInt($('game-scroll-content').style.top) > 0 ? parseInt($('game-scroll-content').style.top) : 0;
	if(top <= 10){
		new Effect.MoveBy('game-scroll-content', 100, 0 , {duration: 0.6,  transition: Effect.Transitions.sinoidal, queue: 'end'});
	}
	return false;
}    

function moveBottom()
{
	var bottomY = $('game-scroll-content').getHeight() + $('game-scroll-content').cumulativeOffset()[1];
	//alert('bottomY: ' + bottomY + ' ; position: ' + $('game-scroll').cumulativeOffset()[1]);
	if(bottomY > $('game-scroll').cumulativeOffset()[1] + 150){
		new Effect.MoveBy('game-scroll-content', -100, 0 , {duration: 0.6,  transition: Effect.Transitions.sinoidal, queue: 'end'});
	}
	return false;
}    