function movimiento(cantidadimg){


    var cantidaditems = new Array();  
    
    for (var i=0; i<cantidadimg; i++){
      cantidaditems[i] = i;
    }

       window.addEvent('domready',function(){
                    		//SAMPLE 1 (auto, every 5 sec)
                    		var nS1 = new noobSlide({
                    			box: $('box1'),
                    			items: cantidaditems,
                    			size: 756,
                    			autoPlay: true
                    		});
                    		
                    		var nS2 = new noobSlide({
                    			box: $('box2'),
                    			items: cantidaditems,
                    			size: 315,
                    			autoPlay: true
                    		});
                    	});		

}