document.write("
");
function showsup()
{logoit();
if(document.getElementById && ScanCookie('wipubsupersticiel')==0)
{
document.getElementById('pub').style.width = larg;
document.getElementById('pub').style.height = haut;
document.getElementById('pub').innerHTML = html_haut+html_mil+html_bas;
setTimeout('closeSup()',15000);
CreationCookie('wipubsupersticiel',false);
}
}
function closeSup()
{
if(document.getElementById)
{
document.getElementById('pub').style.width = 1;
document.getElementById('pub').style.height = 1;
document.getElementById('pub').innerHTML = '';
}
}
function ScanCookie(variable)
{
cook = document.cookie;
variable += '=';
place = cook.indexOf(variable,0);
if (place <= -1)
return('0');
else
{
end = cook.indexOf(';',place)
if (end <= -1)
return(unescape(cook.substring(place+variable.length,cook.length)));
else
return(unescape(cook.substring(place+variable.length,end)));
}
}
function CreationCookie(nom,valeur,permanent)
{
/*
if(permanent)
{
dateExp = new Date(2020,11,11);
dateExp = dateExp.toGMTString();
ifpermanent = '; expires=' + dateExp + ';';
}
else
ifpermanent = '';
document.cookie = nom + '=' + escape(valeur) + ifpermanent;
*/
}
if(!document.all && document.getElementById){
haut = window.innerHeight-20;
larg = window.innerWidth;
}
else {
larg = document.body.clientWidth;
haut = document.body.clientHeight;
}
function logoit()
{
if (document.getElementById)
{
w2=document.body.scrollTop;
document.getElementById("pub").style.top=w2;
setTimeout("logoit()",1);
}
}
html_haut = " ";
html_bas = " |
";
html_mil = "";
html_mil += " ";
html_mil += " | ";
html_mil += "
";
html_mil += "
";
window.onload = showsup;