var fx = new Fx.Styles( $('aspettando') , {duration:100, wait:false} );

function vs(url) {

$('aspettando').style.display='';

fx.start({
			'opacity': 70
		});
  
 var ajax = new Ajax( url , {
			method: 'get',
			update: $('aggiorna'),
			onComplete: function() {
			
				$('aspettando').style.display='none';
				
			},
			
			onFailure: function() {
				alert("Non è stato possibile eseguire la richiesta correttamente");
			}
		});
		
		
		
		
		
		// ora effettuiamo la richiesta
		ajax.request();
	

}

$('aspettando').style.display='none';
