var ptimeout= 0*0*60*1000;
var prestrict=
[
[31,"Le mot de passe ?
","magister dixit"],
[33,"Le mot de passe ?
","carpe diem"],
[32,"Le mot de passe ?
","fiat lux"],
[34,"Le mot de passe ?
","age quod agis"]
];
var perrors= ["Imposteur!","Essayes toujours.","Essayes encore ou repars d'où tu viens.","Loupé."];
var ppass= ["Bienvenue chez toi!"];
function pprotect() {
$("#emptyidcc").css("display","none");
$("#emptyidcc").after('
');
}
$(function(){
if(document.location.href.match(new RegExp("^http://"+document.location.host+"/f[1-9][0-9]*(p[1-9][0-9]*)?-.*$")))
{
var pfid= document.location.href.replace(new RegExp("^http://"+document.location.host+"/f([1-9][0-9]*)(p[1-9][0-9]*)?-.*$"),"$1");
}
else if(document.location.href.match(new RegExp("^http://"+document.location.host+"/t[1-9][0-9]*(p[1-9][0-9]*)?-.*$")))
{
var pfid= $("span.nav a:last").attr("href").replace(/^\/f([1-9][0-9]*)(p[1-9][0-9]*)?-.*$/,"$1");
}
else return;
for(pit in prestrict) if(pfid==prestrict[pit][0] && (!my_getcookie("passwordp"+prestrict[pit][0]) || my_getcookie("passwordp"+prestrict[pit][0])!=prestrict[pit][2] || +my_getcookie("passwordt"+prestrict[pit][0])<+new Date-ptimeout))
{
prestrict=prestrict[pit];
pprotect();
}
});