//<![CDATA[
// code by sam 2007-02-14
function do_it(){
if ( checkAlitalkpopup() )
{
//document.body.insertBefore(this.alitalk_chk_show,document.getElementsByTagName('div')[0]);
var anim = function(){
n += 5;
if(n >= 45){
document.getElementById('alitalk_chk_show').style.marginTop = "0";
window.clearInterval(t1);
}else{
document.getElementById('alitalk_chk_show').style.marginTop = "-"+(45 - n)+"px";
}
},n=0;
var t1 = window.setInterval(anim,80);
}
setCookieAlitalkpopup() ;
}
function close_chk_show(){
var anim = function(){
n += 5;
//alert(n);
if(n >= 45){
document.getElementById('alitalk_chk_show').style.marginTop = "-45px";
//document.getElementById('alitalk_chk_show').style.display = "none";
window.clearInterval(t1);
}else{
document.getElementById('alitalk_chk_show').style.marginTop = "-"+ n +"px";
}
},n=0;
var t1 = window.setInterval(anim,80);
}
//]]>
