var scroll;
var scrollf;

window.addEvent('load',function(){
    //alert("cargado archivo de slideshow");
    if($('imagenes_sticky')!=null){
        scroll = new Fx.Scroll('imagenes_sticky',{transition:'quint:out', duration:1000});

        scrollf = moverScroll.periodical(3000,{"actual":0});
    }


});

var moverScroll = function(){

    this.actual++;
    if(this.actual>=$$('.rect_img').length){
        this.actual=0;
    }
    scroll.start(0,(this.actual)*230);
    
}
