var checktopAds=false; 

function open_chk_show(){ 

if(!checktopAds){ 

var anim = function(){ 

n += 10; 

if(n >= 150){ 

document.getElementById('topAds_chk_show').style.marginTop = "0"; 

window.clearInterval(t1); 

} 

else{ 

document.getElementById('topAds_chk_show').style.marginTop = "-"+(150 - n)+"px"; 

} 

},n=0; 

var t1 = window.setInterval(anim,80); 

} 

}

function close_chk_show(){ 

var anim = function(){ 

n += 10; 

if(n >= 150){ 

document.getElementById('topAds_chk_show').style.marginTop = "-150px"; 

window.clearInterval(t1); 

} 

else{ 

document.getElementById('topAds_chk_show').style.marginTop = "-"+ n +"px"; 

} 

},n=0; 

var t1 = window.setInterval(anim,80); 

} 

window.onload=function(){ 

open_chk_show() 

window.setTimeout('close_chk_show()',50000) 

} 