/**
 * @author Asper
 */
 
var Layout = new Class({
	
	initialize: function(){
		this.imageLists();
		new Fx.SmoothScroll();
	},
	imageLists: function(){
		var lis = $$('.image_list li');
		lis.each(function(li){
			var a = li.getElement('a');
			if(!a) return;
			a.setStyle('opacity', 0);
			var fx = new Fx.Tween(a, {
				property: 'opacity',
				link: 'cancel',
			});
			li.addEvents({
				'mouseover': function(){
					fx.start(1);
				},
				'mouseout': function(){
					fx.start(0);
				}
			});
		});
	}
	
});

