// <![CDATA[

var Contents = new Class({
initialize: function(){

this.icons= $S('#contents ul li a');

$A(this.icons).each(function(el){
el.oOver= el.effect('opacity', {duration: 750, transition: fx.sineInOut});
el.oOut= el.effect('opacity', {duration: 500, transition: fx.sineInOut});

el.onmouseover= function(){
el.oOut.clearTimer();

var curOpacity = el.getStyle('opacity') == undefined ? 1:Math.round((el.getStyle('opacity')) * 100) / 100;
el.oOver.custom(curOpacity,0.6);
}.bind(this);

el.onmouseout= function(){
el.oOver.clearTimer();

var curOpacity = el.getStyle('opacity') == undefined ? 1:Math.round((el.getStyle('opacity')) * 100) / 100;
el.oOut.custom(curOpacity,1);
}.bind(this);
},this);

}
});

function customOnLoad() {
	new Contents();
}

// ]]>
