//   HelloGoogle 2003 - webmaster@hellogoogle.com   //

var hidding="", layer_up=null,s=null;

function popup(nombre)
{aux=document.getElementById(nombre);
if (aux.style.visibility=="visible"){persist();}
else{
popdown_now();
aux2=document.getElementById("s");
aux2.style.padding=10;
aux2.style.left=aux.offsetLeft-10;
aux2.style.top=aux.offsetTop-10;
aux2.style.width=aux.offsetWidth+15;
aux2.style.height=aux.offsetHeight+15;
layer_up=aux;
aux.style.visibility='visible';
aux2.style.visibility='visible';
}}

function popdown_now()
{if ((layer_up!=null)&&(hidding!=""))
{hidding="";	
layer_up.style.visibility='hidden';	
aux2=document.getElementById("s");
aux2.style.visibility='hidden';
layer_up=null;}}
function popdown()
{if ((layer_up!=null)&&(hidding!=layer_up.id))
{hidding=layer_up.id; 
id=setTimeout("popdown_now()",300);}}
function persist()
{if (hidding!="")
{hidding="";
clearTimeout(id);}}

