document.write('\ ');document.write('
\
\
\ \
VOUS ET VOTRE COUPLE
\
\ \
\
1/11 Comment vous gérez votre argent?
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\ \ \ \ \ \ \ \ \ \ \ \ \
\
\
\
\
\ '); var cpt_3842 = new Array(); var limite_cpt_3842 = new Array(); var limite_type_3842 = new Array(); var num_quest_3842 = new Array(); cpt_3842[42832] = 0; limite_cpt_3842[42832] = 0; limite_type_3842[42832] = 'max'; num_quest_3842[42832] = 1; cpt_3842[42833] = 0; limite_cpt_3842[42833] = 0; limite_type_3842[42833] = 'max'; num_quest_3842[42833] = 2; cpt_3842[42823] = 0; limite_cpt_3842[42823] = 0; limite_type_3842[42823] = 'max'; num_quest_3842[42823] = 3; cpt_3842[42824] = 0; limite_cpt_3842[42824] = 0; limite_type_3842[42824] = 'max'; num_quest_3842[42824] = 4; cpt_3842[42825] = 0; limite_cpt_3842[42825] = 0; limite_type_3842[42825] = 'max'; num_quest_3842[42825] = 5; cpt_3842[42826] = 0; limite_cpt_3842[42826] = 0; limite_type_3842[42826] = 'max'; num_quest_3842[42826] = 6; cpt_3842[42827] = 0; limite_cpt_3842[42827] = 0; limite_type_3842[42827] = 'max'; num_quest_3842[42827] = 7; cpt_3842[42828] = 0; limite_cpt_3842[42828] = 0; limite_type_3842[42828] = 'max'; num_quest_3842[42828] = 8; cpt_3842[42829] = 0; limite_cpt_3842[42829] = 0; limite_type_3842[42829] = 'max'; num_quest_3842[42829] = 9; cpt_3842[42830] = 0; limite_cpt_3842[42830] = 0; limite_type_3842[42830] = 'max'; num_quest_3842[42830] = 10; cpt_3842[42831] = 0; limite_cpt_3842[42831] = 0; limite_type_3842[42831] = 'max'; num_quest_3842[42831] = 11; function sondage_pager3842(direction) { var active_question = 0; for(i = 0 ; i < 11 ; i ++) { if(document.getElementsByClassName('contenu3842')[i].style.display == 'block') { active_question = i; break; } } if(direction == 'next') { active_question ++; if(active_question > 10) { active_question = 10; } document.getElementsByClassName('pager-link3842')[0].style.display = 'inline-block'; document.getElementsByClassName('pager-link3842')[1].style.display = 'inline-block'; if(active_question == 10) { document.getElementsByClassName('pager-link3842')[1].style.display = 'none'; document.getElementsByClassName('bouton3842')[0].style.display = 'none'; document.getElementsByClassName('bouton3842')[1].style.display = 'block'; } } else { active_question --; if(active_question < 0) { active_question = 0; } document.getElementsByClassName('pager-link3842')[0].style.display = 'inline-block'; document.getElementsByClassName('pager-link3842')[1].style.display = 'inline-block'; if(active_question == 0) { document.getElementsByClassName('pager-link3842')[0].style.display = 'none'; } } for(i = 0 ; i < 11 ; i ++) { if(i == active_question) { document.getElementsByClassName('contenu3842')[i].style.display = 'block'; } else { document.getElementsByClassName('contenu3842')[i].style.display = 'none'; } } } function compter3842(cb, idq) { if(cb.type == 'checkbox') { if(cb.checked == true) { cpt_3842[idq] ++; } else { cpt_3842[idq] --; } } else if(cb.type == 'radio') { if(cb.checked == true) { cpt_3842[idq] = 1; } else { cpt_3842[idq] = 0; } } } function formSubmit3842() { msg1 = msg2 = ''; for(idq in cpt_3842) { if(cpt_3842[idq] == 0) { msg2 = 'Veuillez r\351pondre \340 toutes les questions !'; break; } else if(limite_type_3842[idq] == 'max' && limite_cpt_3842[idq] > 0 && cpt_3842[idq] > limite_cpt_3842[idq]) { msg1 += '- Veuillez ne pas cocher plus de ' + limite_cpt_3842[idq] + ' r\351ponses pour la question num\351ro ' + num_quest_3842[idq] + ' !\n'; } else if(limite_type_3842[idq] == 'exact' && limite_cpt_3842[idq] > 0 && cpt_3842[idq] != limite_cpt_3842[idq]) { msg1 += '- Veuillez cocher ' + limite_cpt_3842[idq] + ' r\351ponses pour la question num\351ro ' + num_quest_3842[idq] + ' !\n'; } } if(msg2 != '') { alert(msg2); return false; } else if(msg1 != '') { alert(msg1); return false; } document.getElementById('formSondage3842').referer.value = document.location.href; return true; } window.setTimeout('document.getElementById(\'formSondage3842\').reset()', 500);