window.addEvent('domready',function() {
	if($$('.Moognify')[0]) {
		$$(".Moognify").each(function(e) {
			e.addEvent('click',function() {
				new Moognify(e);
			});
		})
	}
	$$(".hover").each(function(e) {
		var show = new Fx.Tween(e,{duration: 300});
		e.addEvent('mouseover',function() {
			show.cancel();
			show.start('opacity',0.01);
		});
		e.addEvent('mouseleave',function() {
			show.cancel();
			show.start('opacity',1);
		});
	})
});