var selRow = 1;
var itemsPerRow = 4;

scrollDown = function(elID, iCount)
{
	iRows = Math.ceil(iCount / itemsPerRow);
	
	if (selRow == iRows)
	{
		// do nothing
	
	} else {
	
		$("#" + elID).animate({"top": "-=165px"}, "slow");
		
		selRow++;
	}
}

scrollUp = function(elID, iCount)
{
	iRows = Math.ceil(iCount / itemsPerRow);
	
	if (selRow == 1)
	{
		// do nothing
	
	} else {
	
		$("#" + elID).animate({"top": "+=165px"}, "slow");
		
		selRow--;
	}
}
