function hideAd(divId) 
{ if (document.layers) document.layers[divId].visibility = 'hide';
  else if (document.all) document.all[divId].style.visibility = 'hidden';
  else if (document.getElementById) document.getElementById(divId).style.visibility = 'hidden';
}

function adDown(divId) 
{ state=typeof topPos;
  if(state=='undefined') topPos=-360;
  
  if(topPos < 145)
  { topPos+=20;
	   if (document.layers) document.layers[divId].top = topPos;
    else if (document.all) document.all[divId].style.top = topPos;
    else if (document.getElementById) document.getElementById(divId).style.top = topPos;	
    
    setTimeout("adDown('pop');",25);
	 }
}
