var slide_url_image_128b;
var deballe_128b;
//var l_visu_128b = 300;
//var h_visu_128b = 250;
var l_visu_128b = 600;
var h_visu_128b = 300;
var l_visu_image_128b = l_visu_128b + 12;
var h_visu_image_128b = h_visu_128b + 7;
var l_div_visu_128b = l_visu_128b + 40;
var h_div_visu_128b = h_visu_128b + 20;
var l_control_128b = l_visu_128b + 15;
var l_pub_128b = l_visu_128b + 15;
var l_hide_128b = l_visu_128b + 15;
var start_128b=0;
var button128b = "<
<";
if(!document.all && document.getElementById) ejs_hauteur_128b = window.innerHeight-h_visu_128b-20;
else
{
ejs_hauteur_128b = document.body.clientHeight-h_visu_128b-20;
if (ejs_hauteur_128b<0) ejs_hauteur_128b = document.documentElement.clientHeight-h_visu_128b-20;
}
function init_style_128b()
{
document.write('');
}
function init_div_128b(urlpop128b)
{
document.write('
');
document.write('
');
document.write('');
document.write('
');
document.write('
');
document.write('
');
/*document.write('
');
document.write('

');
document.write('
');*/
document.write('
');
document.write('');
document.write('

');
document.write('
');
}
function slide_start_128b()
{
var o = document.getElementById('ejs_slide_box_128b');
o.style.MozOpacity=1
o.style.left='0px';
var p = document.getElementById('img_click_128b');
p.style.MozOpacity=1
p.style.left='0px';
start_128b=1;
testscroll_128b();
}
function slide_close_128b(){
if(document.getElementById){
var o = document.getElementById('ejs_slide_box_128b');
var p = document.getElementById('img_click_128b');
//o.innerHTML = '';
o.style.top = '-10000px';
o.style.left = '-10000px';
o.style.width = 1;
o.style.height = 1;
//p.innerHTML = '';
p.style.top = '-10000px';
p.style.left = '-10000px';
p.style.width = 1;
p.style.height = 1;
}
}
function rentre_slide_128b(testauto)
{
var o = document.getElementById('ejs_slide_box_128b');
var p = document.getElementById('img_click_128b');
if ((start_128b==1) || (testauto=="1")){
o.style.left=-l_hide_128b + 'px';
p.style.left=-l_hide_128b + 'px';
button128b = ">
>";
document.getElementById("button128b").innerHTML = button128b;
start_128b=0;
}
else
{
o.style.left='0px';
p.style.left='0px';
button128b = "<
<";
document.getElementById("button128b").innerHTML = button128b;
start_128b=1;
}
}
function sort_over_128b()
{
if (start_128b==0)
{
var o = document.getElementById('ejs_slide_box_128b');
var p = document.getElementById('img_click_128b');
o.style.left='0px';
p.style.left='0px';
button128b = "<
<";
document.getElementById("button128b").innerHTML = button128b;
start_128b=1;
}
}
function open_pub_128b()
{
window.open(slide_url_image_128b,'_blank','toolbar=1,location=1,directories=1,status=1,scrollbars=1,resizable=1,copyhistory=1,menuBar=1,width=800,height=600');
focus();
}
function testscroll_128b()
{
if (document.getElementById)
{
var scroll128b = document.body.scrollTop;
if (scroll128b==0) var scroll128b = document.documentElement.scrollTop;
document.getElementById("ejs_slide_box_128b").style.top=(scroll128b+ejs_hauteur_128b-21) + "px";
document.getElementById("img_click_128b").style.top=(scroll128b+ejs_hauteur_128b-21) + "px";
setTimeout("testscroll_128b()",1);
}
}
function WriteJS_128b(id, idsite, idvisuel, data){
var urlpop128b = 'http://ads.128b.com/click.php?data=' + data + '&id=' + id + '&idvisuel=' + idvisuel + '&idsite=' + idsite + '&js=1';
var urlopen128b = 'http://ads.128b.com/click.php?data=' + data + '&id=' + id + '&idvisuel=' + idvisuel + '&idsite=' + idsite + '&js=1&open=1';
if (window.open)
{
var testpop128b = window.open(urlpop128b, '_blank','toolbar=1,location=1,directories=1,status=1,scrollbars=1,resizable=1,copyhistory=1,menuBar=1,width=800,height=600');
}
else var testpop128b = false;
window.focus();
if(!testpop128b)
{
slide_url_image_128b = urlpop128b;
init_style_128b();
init_div_128b(urlpop128b);
slide_start_128b();
setTimeout("rentre_slide_128b(true)", 10000);
}
}
WriteJS_128b('105', '7414', '247', '420');