function FecharDiv(){divImg.style.display = 'none';}function posicao(varLargura,varAltura){   posL = (document.body.clientWidth - varLargura) / 2;   divImg.style.left = posL;   divImg.style.top = 280;   duracao();} tempo = 5;function duracao(){   tempo++;    if(tempo != 30)   {        setTimeout('duracao()', 1000);   }   else   {        FecharDiv();   }}posicao(180,150);
