// Fade solo para PORTADA Marvel and Marchand

var c=0;
var obj;
var speed=50;

window.onload=function() {
obj=document.getElementById('menu_main');
 {
fadeinOut('in');
}

}

function fadeinOut(dir){
if(obj.filters) {
obj.style.filter='alpha(opacity='+c+')';
}
else {
obj.style.opacity=c/100;
}
if(dir=='in') {
dir1='in'
c++;
}
else {
dir1='out';
c--;
}
if(c>100){
c=100;
return;
}
if(c<0){
c=0;
return;
}
setTimeout('fadeinOut(dir1)',speed)
}