// Define The Wall
var maxLength    = 2; // Max Number images
var counterFluid = 1;
var wallFluid = new Wall("wall", {
                "draggable":false,
                "inertia":true,
                "slideshow":false,
    			"speed":1200,
    			"showDuration":4400,
                "autoposition":true,
                "width":900,
                "height":700,
                "rangex":[-142,142],
                "rangey":[-142,142],
                callOnUpdate: function(items){
                    items.each(function(e, i){
                        var a = new Element("img[src=images/"+counterFluid+".jpg]");
                            a.inject(e.node).fade("hide").fade("in");
                        counterFluid++;
                        // Reset counter
                        if( counterFluid > maxLength ) counterFluid = 1;
                    })
                }
            });
// Init Fluid Wall
wallFluid.initWall();
