window.addEvent('domready',function(){
    if ($('Rotator')) {
		var nS1 = new noobSlide({
		    mode: 'vertical',
			box: $('Rotator'),
			items: [0,1,2],
			interval: 4000,
			fxOptions: {
				duration: 1500,
				transition: Fx.Transitions.Elastic.easeOut,
				wait: false
			},
			size: 86,
			autoPlay: true
		});
	}
	
	
	/*
	$$("img.gall").each(function(el){
        el.setStyles({"opacity": ".7"});
    })
    
    $$("img.gall").each(function(element) {
        var morph = new Fx.Morph(element, {duration: '25', transition: Fx.Transitions.Sine.easeOut});
    	element.addEvent('mouseenter', function(e) {
    		e.stop();
    		morph.start({
    			'opacity': '1'
    		});
    	});
    	
    	element.addEvent('mouseleave', function(e) {
    		e.stop();
    		morph.start({
    			'opacity': '.7'
    		});
    	});
    });
    
    */
	
});
