if (document.body)
var larg = (document.body.clientWidth);
else
var larg = (window.innerWidth);
document.write ('
');
document.write('');
function jtcvideo(idvideo,thumb,tracker) {
if (idvideo == 0 ) idvideo=1;
jtc_popdhtml_template = '';
document.getElementById("jtcpopcatchdhtml").style.display='block';
document.getElementById('jtcpopcatchdhtml-cadre').innerHTML=jtc_popdhtml_template;
}
function jtclostpass() {
jtclost_popdhtml_template = '';
document.getElementById("jtcpopcatchdhtml").style.display='block';
document.getElementById('jtcpopcatchdhtml-cadre').innerHTML=jtclost_popdhtml_template;
}
function jtcopenvideo(formname)
{
document.getElementById(formname).submit();
}
function annuler()
{
document.getElementById("jtcpopcatchdhtml").style.display='none';
window.focus();
}
function refuser()
{
}
function jtccheckEmail(email) {
email = email + "";
var reg = /^([_a-z0-9-]+(\.[_a-z0-9-]+)*)@([_a-z0-9-]+(\.[_a-z0-9-]+)*)\.([a-z]{2,6})$/i;
return reg.test(email);
}
function jtcvalidateForm() { //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=jtcvalidateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) {
//p=val.indexOf('@');
//if (p<1 || p==(val.length-1)) errors+='Le champ Email doit être une adresse e-mail valide\n';
var re = /([a-z0-9]+([-_]?[a-z0-9]+)*.)*[a-z0-9]+([-_]?[a-z0-9]+)*@([a-z0-9]+([-_]?[a-z0-9]+)*.)+[a-z]{2,4}/gi;
//return ();
if (!jtccheckEmail(val)) errors+='Vous devez fournir une adresse e-mail valide\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i