		moving_aq=1;
		step_moving_aq = 99;
		margin_rettangolo_aq=-132;
		top_scorrimento_aq = -2000;
		accellerando_aq=parseInt(0);
		exced_aq = 132;
		tot_passi_aq=1;
		passi_aq=1;
		
		
		
		function des_aq() 
		{ 
		//alert(document.getElementById("col_scorrimento_aq").offsetLeft);
		//alert(tot_passi_aq);
		//alert(passi_aq);
		//CONTEGGIO PASSI
			if (passi_aq<tot_passi_aq)
			{
					passi_aq++;
					moving_aq=1;
					mumble_aq = document.getElementById("col_scorrimento_aq").offsetLeft;
					
					mumble_aq = mumble_aq-exced_aq;
						if (mumble_aq>top_scorrimento_aq)
						{
						var velocita = Math.round(600 / 100); 
						var scatto = 0; 
						var moving_plus_aq=moving_aq+step_moving_aq;
						
							for(moving_aq;moving_aq<=moving_plus_aq;moving_aq++)
							{ 
							setTimeout("moving_div_aq('"+moving_aq+"','multi_des')", (velocita*scatto)); 
							scatto++;
							
							} 
						}
			}
		} 
		
		function moving_div_aq(moving_aq,dir) 
		{ 
		var obj = document.getElementById("col_scorrimento_aq"); 
		
		//REGOLAZIONE TASTI
		document.getElementById("sposta_copertine_ds_aq").setAttribute("onclick","");
		document.getElementById("sposta_copertine_sn_aq").setAttribute("onclick","");
		if (moving_aq==100)
		{
		document.getElementById("sposta_copertine_ds_aq").setAttribute("onclick","des_aq();");
		document.getElementById("sposta_copertine_sn_aq").setAttribute("onclick","sin_aq();");
		}
		
			//SINISTRA
			if (dir=="multi_sin")
			{
				//margin_rettangolo+=260;
				//obj.style.marginLeft =margin_rettangolo-exced;
				 if (moving_aq<=10){accellerando_aq=-10;}//100
				if ((moving_aq>10)&&(moving_aq<=20)){accellerando_aq=-9;}//190
				if ((moving_aq>20)&&(moving_aq<=30)){accellerando_aq=-7;}//260
				if ((moving_aq>30)&&(moving_aq<=40)){accellerando_aq=-7;}//330
				if ((moving_aq>40)&&(moving_aq<=50)){accellerando_aq=-6;}//390
				if ((moving_aq>50)&&(moving_aq<=60)){accellerando_aq=-5;}//440
				if ((moving_aq>60)&&(moving_aq<=70)){accellerando_aq=-3;}//470
				if ((moving_aq>70)&&(moving_aq<=80)){accellerando_aq=-3;}//490
				if ((moving_aq>80)&&(moving_aq<=90)){accellerando_aq=-2;}//510
				if ((moving_aq>90)&&(moving_aq<=98)){accellerando_aq=2;}//519
				if (moving_aq>99){accellerando_aq=4;}
			var pimp = parseInt(obj.offsetLeft)-parseInt(accellerando_aq)-exced_aq;
			
			}
	
			//DESTRA
			if (dir=="multi_des")
			{
			    if (moving_aq<=10){accellerando_aq=-10;}//100
				if ((moving_aq>10)&&(moving_aq<=20)){accellerando_aq=-9;}//190
				if ((moving_aq>20)&&(moving_aq<=30)){accellerando_aq=-7;}//260
				if ((moving_aq>30)&&(moving_aq<=40)){accellerando_aq=-7;}//330
				if ((moving_aq>40)&&(moving_aq<=50)){accellerando_aq=-6;}//390
				if ((moving_aq>50)&&(moving_aq<=60)){accellerando_aq=-5;}//440
				if ((moving_aq>60)&&(moving_aq<=70)){accellerando_aq=-3;}//470
				if ((moving_aq>70)&&(moving_aq<=80)){accellerando_aq=-3;}//490
				if ((moving_aq>80)&&(moving_aq<=90)){accellerando_aq=-2;}//510
				if ((moving_aq>90)&&(moving_aq<=98)){accellerando_aq=2;}//519
				if (moving_aq>99){accellerando_aq=4;}
				
			multiplo_aq = parseInt(moving_aq)+1;
			var num_1 = parseInt(obj.offsetLeft);
			var num_2 = parseInt(accellerando_aq);
			var pimp = num_1+num_2-exced_aq;
			}
			
			//IMPOSTO IL MARGIN-LEFT
			obj.style.marginLeft = pimp+"px"; 
			
		//	document.getElementById("pippo").innerHTML="MARIGN: "+obj.style.marginLeft+" "+pimp+" = "+parseInt(obj.offsetLeft)+" "+parseInt(accellerando)+"";
		}


	
	
		function sin_aq() 
		{ 
			
			if (passi_aq>1)
			{
			passi_aq--;
			
					moving_aq=1;
						if (document.getElementById("col_scorrimento_aq").offsetLeft<=0)
						{
						var velocita = Math.round(600 / 100); 
						
						var scatto = 0;
						
						var moving_plus = moving_aq+step_moving_aq;
							for(moving_aq;moving_aq<=moving_plus;moving_aq++)
							{ 
							setTimeout("moving_div_aq('"+moving_aq+"','multi_sin')", (velocita*scatto)); 
							scatto++;
							} 
						}
			}
		} 	
		
	
		
		
