/*
FILE ARCHIVED ON 22:16:30 Sep 3, 2011 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 16:18:49 Feb 2, 2015.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
document.write('\
');document.write('
\
');
var cpt_3996=new Array();
var limite_cpt_3996=new Array();
var limite_type_3996=new Array();
var num_quest_3996=new Array();
cpt_3996[6398]=0;
limite_cpt_3996[6398]=0;
limite_type_3996[6398]='max';
num_quest_3996[6398]=1;
function compter3996(cb,idq)
{
if(cb.type == 'checkbox')
{
if(cb.checked == true)
{
cpt_3996[idq]++;
}
else
{
cpt_3996[idq]--;
}
}
else if(cb.type == 'radio')
{
if(cb.checked == true)
{
cpt_3996[idq]=1;
}
else
{
cpt_3996[idq]=0;
}
}
}
function formSubmit3996()
{
msg1=msg2='';
for(idq in cpt_3996)
{
if(cpt_3996[idq] == 0)
{
msg2='Veuillez s\351lectionner une r\351ponse !';
break;
}
else if(limite_type_3996[idq] == 'max' && limite_cpt_3996[idq] > 0 && cpt_3996[idq] > limite_cpt_3996[idq])
{
msg1+='- Veuillez ne pas cocher plus de '+limite_cpt_3996[idq]+' r\351ponses pour la question num\351ro '+num_quest_3996[idq]+' !\n';
}
else if(limite_type_3996[idq] == 'exact' && limite_cpt_3996[idq] > 0 && cpt_3996[idq] != limite_cpt_3996[idq])
{
msg1+='- Veuillez cocher '+limite_cpt_3996[idq]+' r\351ponses pour la question num\351ro '+num_quest_3996[idq]+' !\n';
}
}
if(msg2 != '')
{
alert(msg2);
return false;
}
else if(msg1 != '')
{
alert(msg1);
return false;
}
document.getElementById('formSondage3996').referer.value=document.location.href;
return true;
}
window.setTimeout('document.getElementById(\'formSondage3996\').reset()',500);