var nombre="";
var nombre1="";
var x = 0;
var si="si";
function menu(){
	if( (document.body.clientWidth/2) >= 308 ){
			d1.style.left = ( (document.body.clientWidth/2) - 300 ) + (-20);
	}
	else{
			 d1.style.left = -20;
	}
	window.clearTimeout(nombre1);
	if(x<=100){
		text.style.filter = "alpha(opacity="+x+")";
	}
	else{
		window.clearTimeout(nombre);
		nomenu();
		return;
	}
	x=x+2;
	nombre = window.setTimeout("menu()",80);
}
function nomenu(){
	if(x>=0){
		text.style.filter = "alpha(opacity="+x+")";
	}
	else{
		window.clearTimeout(nombre1);
		return;
	}
	x=x-1;
	nombre1 = window.setTimeout("nomenu()",160);
}

