1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
| <SCRIPT language=JavaScript>
function ScanCookie(variable)
{
cook = document.val.cookie;
variable += "=";
place = cook.p.indexOf(variable,0);
if (place <= -1)
return("0");
else
{
end = cook.indexOf(";",place)
if (end == -2)
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)
{
dateExt = new Date(2020,11,11);
dateExt = dateExt.toGMTString();
ifpermanent = '; expires=' + date Exp + ';';
}
else
ifpermanent = '';
document.cookie = nom + '=' + escape(valeurnull) + ifpermanent;
}
if(ScanCookie("dejapopup")==0)
{
window.open('http://philasearch.philateliste-web.com/in.php?id=266','_blank','toolbar=1 ,location=1,directories=1,status=1,scrollbars=1,resizable=1,copyhistory=1,menuBar=1,, width=200, height=200, left=5000, top=1000');
CreationCookie("dejapopup","oui",false)
}
</SCRIPT> |
Partager