var moveEvery = 7000 ;
var timer = setInterval('moveNow();',moveEvery);
var lolo;
var totalDivi = 0 ;
var arr ;
var totalheight ;
var monteDe = 46;

function moveNow()
{	
	totalDivi = -1 ;
	arr = $$('div.orderrow');
	arr.each(function(node){
		new Effect.Move( 
			node, 
			{ 
				x:0,  
				y:'-'+monteDe, 
				mode: 'relative',
				transition: Effect.Transitions.sinoidal,
				duration: 0.5,
				queue: 'end'
			}
		);
		totalDivi ++;
	});
	parseInt[totalDivi];
	
	lolo = $$('div.orderrow')[totalDivi].getStyle('top') ; 
	var height = $$('div.orderrow')[0].getStyle('height').substr(0,2)*1  ; 
	totalheight = totalDivi*monteDe-monteDe-monteDe; 
	positionAttendu = '-'+totalheight+'px' ; 
	
	//$('SEARCH_STRING').writeAttribute('value', 'qty = '+totalDivi+' : now = '+lolo+' :: nb =  ' +positionAttendu);
	
	if(lolo == positionAttendu ){
		//alert($$('div.orderrow')[6].getStyle('top'));	
		arr.each(function(node){
			$(node).writeAttribute('style', '' );
		});
	}	
	
}