function pop_into_high(){ pop_into_obj.style.visibility='visible'; pop_into_visible=true; if(pop_into_graduer){ clearInterval(pop_into_graduer); } pop_into_graduer=setInterval("pop_into_higher()",100); } function pop_into_low(){ if (pop_into_graduer){ clearInterval(pop_into_graduer); } pop_into_graduer=setInterval("pop_into_lower()",100); } function pop_into_higher(){ if(pop_into_obj.style.MozOpacity<0.95){ pop_into_obj.style.MozOpacity=parseFloat(pop_into_obj.style.MozOpacity)+0.05; }else if(pop_into_obj.style.opacity<0.95){ pop_into_obj.style.opacity=parseFloat(pop_into_obj.style.opacity)+0.05; }else if(pop_into_obj.filters&&pop_into_obj.filters.alpha.opacity<95){ pop_into_obj.filters.alpha.opacity+=5; }else{ pop_into_wait(); } } function pop_into_wait(){ setTimeout('pop_into_low()',15000); if(pop_into_graduer){ clearInterval(pop_into_graduer); } } function pop_into_lower(){ if(pop_into_obj.style.MozOpacity>0.1){ pop_into_obj.style.MozOpacity=parseFloat(pop_into_obj.style.MozOpacity)-0.05; }else if(pop_into_obj.style.opacity>0.1){ pop_into_obj.style.opacity=parseFloat(pop_into_obj.style.opacity)-0.05; }else if(pop_into_obj.filters&&pop_into_obj.filters.alpha.opacity>10){ pop_into_obj.filters.alpha.opacity-=5; }else{ pop_into_close(); } } function pop_into_close(){ pop_into_obj.style.visibility='hidden'; pop_into_visible=false; if(pop_into_graduer){ clearInterval(pop_into_graduer); } if(pop_into_updater){ clearInterval(pop_into_updater); } } function pop_into_pos(){ var pop_into_left,pop_into_top; pop_into_left=document.body.scrollLeft+((document.body.clientWidth-400)/2)+20; if(pop_into_obj.style.left!=pop_into_left){ pop_into_obj.style.left=pop_into_left+'px'; } pop_into_top=document.body.scrollTop+124; if(pop_into_obj.style.top!=pop_into_top){ pop_into_obj.style.top=pop_into_top+'px'; } } function pop_into_init(){ var preload_img=new Image(); preload_img.src='img/pop_close_over.gif'; pop_into_pos(); pop_into_updater=setInterval('pop_into_pos()',10); pop_into_high(); ajax_send('GET','inc/service.php','service=advertising&place=pop_into&advertiser=rue_des_puzzles&mid=S31CF412EF119&action=view&js_version=2'); } var pop_into_graduer; var pop_into_updater; document.write('
\n'); var pop_into_obj=document.getElementById('pop_into');