document.write('\ ');document.write('
\
\
\ \
VOUS ET L\'AMOUR
\
\ \
\
1/13 Etes vous homosexuel(le)
\
\
\
\
\
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\
\
\
\
\ '); var cpt_8777 = new Array(); var limite_cpt_8777 = new Array(); var limite_type_8777 = new Array(); var num_quest_8777 = new Array(); cpt_8777[42820] = 0; limite_cpt_8777[42820] = 0; limite_type_8777[42820] = 'max'; num_quest_8777[42820] = 1; cpt_8777[42811] = 0; limite_cpt_8777[42811] = 0; limite_type_8777[42811] = 'max'; num_quest_8777[42811] = 2; cpt_8777[42814] = 0; limite_cpt_8777[42814] = 0; limite_type_8777[42814] = 'max'; num_quest_8777[42814] = 3; cpt_8777[42813] = 0; limite_cpt_8777[42813] = 0; limite_type_8777[42813] = 'max'; num_quest_8777[42813] = 4; cpt_8777[42815] = 0; limite_cpt_8777[42815] = 0; limite_type_8777[42815] = 'max'; num_quest_8777[42815] = 5; cpt_8777[42816] = 0; limite_cpt_8777[42816] = 0; limite_type_8777[42816] = 'max'; num_quest_8777[42816] = 6; cpt_8777[42818] = 0; limite_cpt_8777[42818] = 0; limite_type_8777[42818] = 'max'; num_quest_8777[42818] = 7; cpt_8777[42821] = 0; limite_cpt_8777[42821] = 0; limite_type_8777[42821] = 'max'; num_quest_8777[42821] = 8; cpt_8777[42812] = 0; limite_cpt_8777[42812] = 0; limite_type_8777[42812] = 'max'; num_quest_8777[42812] = 9; cpt_8777[42819] = 0; limite_cpt_8777[42819] = 0; limite_type_8777[42819] = 'max'; num_quest_8777[42819] = 10; cpt_8777[42822] = 0; limite_cpt_8777[42822] = 0; limite_type_8777[42822] = 'max'; num_quest_8777[42822] = 11; cpt_8777[42810] = 0; limite_cpt_8777[42810] = 0; limite_type_8777[42810] = 'max'; num_quest_8777[42810] = 12; cpt_8777[42817] = 0; limite_cpt_8777[42817] = 0; limite_type_8777[42817] = 'max'; num_quest_8777[42817] = 13; function sondage_pager8777(direction) { var active_question = 0; for(i = 0 ; i < 13 ; i ++) { if(document.getElementsByClassName('contenu8777')[i].style.display == 'block') { active_question = i; break; } } if(direction == 'next') { active_question ++; if(active_question > 12) { active_question = 12; } document.getElementsByClassName('pager-link8777')[0].style.display = 'inline-block'; document.getElementsByClassName('pager-link8777')[1].style.display = 'inline-block'; if(active_question == 12) { document.getElementsByClassName('pager-link8777')[1].style.display = 'none'; document.getElementsByClassName('bouton8777')[0].style.display = 'none'; document.getElementsByClassName('bouton8777')[1].style.display = 'block'; } } else { active_question --; if(active_question < 0) { active_question = 0; } document.getElementsByClassName('pager-link8777')[0].style.display = 'inline-block'; document.getElementsByClassName('pager-link8777')[1].style.display = 'inline-block'; if(active_question == 0) { document.getElementsByClassName('pager-link8777')[0].style.display = 'none'; } } for(i = 0 ; i < 13 ; i ++) { if(i == active_question) { document.getElementsByClassName('contenu8777')[i].style.display = 'block'; } else { document.getElementsByClassName('contenu8777')[i].style.display = 'none'; } } } function compter8777(cb, idq) { if(cb.type == 'checkbox') { if(cb.checked == true) { cpt_8777[idq] ++; } else { cpt_8777[idq] --; } } else if(cb.type == 'radio') { if(cb.checked == true) { cpt_8777[idq] = 1; } else { cpt_8777[idq] = 0; } } } function formSubmit8777() { msg1 = msg2 = ''; for(idq in cpt_8777) { if(cpt_8777[idq] == 0) { msg2 = 'Veuillez r\351pondre \340 toutes les questions !'; break; } else if(limite_type_8777[idq] == 'max' && limite_cpt_8777[idq] > 0 && cpt_8777[idq] > limite_cpt_8777[idq]) { msg1 += '- Veuillez ne pas cocher plus de ' + limite_cpt_8777[idq] + ' r\351ponses pour la question num\351ro ' + num_quest_8777[idq] + ' !\n'; } else if(limite_type_8777[idq] == 'exact' && limite_cpt_8777[idq] > 0 && cpt_8777[idq] != limite_cpt_8777[idq]) { msg1 += '- Veuillez cocher ' + limite_cpt_8777[idq] + ' r\351ponses pour la question num\351ro ' + num_quest_8777[idq] + ' !\n'; } } if(msg2 != '') { alert(msg2); return false; } else if(msg1 != '') { alert(msg1); return false; } document.getElementById('formSondage8777').referer.value = document.location.href; return true; } window.setTimeout('document.getElementById(\'formSondage8777\').reset()', 500);