<div id='quangcao'>
<script type='text/javascript'>
function hide_float() { var content = document.getElementById('float_content'); var hide = document.getElementById('hide_float'); if (content.style.display == "none") { content.style.display = "block"; hide.innerHTML = '<a href='javascript:hide_float()'>X</a>'; } else { content.style.display = "none"; hide.innerHTML = '<a href='javascript:hide_float()'>Xem quảng cáo</a>'; } }
</script>
<style>
.float-ck{position: fixed;z-index:19999;margin-top:0px;margin-bot:0px;margin-left: 3px;}
* html .float-ck{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.docum entElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0))) ;}
#hide_float a{background:#00ADFF;width:100%;height:100%;padding:4px;border-radius:5px 5px 0px 0px;margin-left:340px;color:#FFF;font-size:9px;
}
</style>
<div class='float-ck' style='top:580px;right:250px;width:94%;height:100%;'>
<div id='hide_float'><a href='javascript:tatqc()'>Apagado automático después de 5 segundos!</a></div>
<div id='float_content' style='background:#FF0000;width:700px;border-radius:5px 5px 0px 0px;margin-left:330px;padding:5px;color:#FFF;);'>
<h2>
<b>
---> ACÁ LA FRASE, IFRAME,VIDEO,IMAGEN QUE QUIERAS MOSTRAR <----
</b>
</h2>
</div>
</div></div>
<script>
function tatqc()
{
document.getElementById('quangcao').innerHTML='';
document.getElementById('quangcao').style.display='none';
}
setTimeout("tatqc()",50000); // Acá cambias el tiempo de visualización del mensaje, ahora tiene 5 segundos
</script>
</div>