// Java Document
<!--
function moveTo(obj, x, y) {
        if (document.getElementById) {
        document.getElementById('Prueba1').style.left = x;
        document.getElementById('Prueba1').style.top = y;
        }
}

function init_capainfo(){
        if(document.getElementById){
        obj = document.getElementById("imagen");
		obj.style.visibility='hidden';		
		obj.style.top='340px';
		obj.style.left = parseInt(document.body.offsetWidth);	        
      }
}

function vacio()
{
}

function slideDown(){
	    if(document.getElementById){         
	    if(parseInt(obj.style.left) > (parseInt(document.body.offsetWidth) - 339)){
                 obj.style.left = parseInt(obj.style.left) - 20 + "px";
		         obj.style.visibility='visible';
                setTimeout("slideDown()",2);
				}	      
		}
       setTimeout("paraAtras(0)",5000);
}

function paraAtras(rapido)
{
	if(document.getElementById)
	{
	   if (rapido==0)
	   {
		   if(parseInt(obj.style.left) < parseInt(document.body.offsetWidth))
		   {
			  obj.style.left = parseInt(obj.style.left) + 2 + "px";
			  setTimeout("paraAtras(0)",2);
	       }
	     else
	     	{

			  obj.style.visibility='hidden';
  			  obj.style.top="-900px";
	     	}
	   }
	   else
	   {
		   if(parseInt(obj.style.left) < parseInt(document.body.offsetWidth))
		   {
			   obj.style.left = parseInt(obj.style.left) + 20 + "px";
			   setTimeout("paraAtras(1)",20);
	       }
	     else
	     	{
			  obj.style.visibility='hidden';
			  obj.style.top="-900px";
	     	}
	    }
	 }
}
	
function ocultacapa(){
        if(document.getElementById){
 				obj.style.visibility = "hidden";
				obj.style.top = obj.offsetHeight * -1;
        }
}


function slideUp(){
        if(document.getElementById){
                if(parseInt(obj.style.top) > -170){
                        obj.style.top = parseInt(obj.style.top) - 10 + "px";
                        setTimeout("slideUp()",50);
                }
        }
}
//-->
