function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&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'; popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1,top=100,left=100,width=100,height=100'); popupImage.document.open(); popupImage.document.write(html); popupImage.document.close(); } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function setCook(nom,valeur) { document.cookie = nom + "=" + escape(valeur) } function repositionnement() { document.getElementById('mon_abo').style.top = document.body.scrollTop; } function repositionnement_lf() { document.getElementById('code_lf').style.top = document.body.scrollTop; } function repositionnement_quiz() { document.getElementById('rep_sondage').style.top = document.body.scrollTop; } function affi_abo(num) { var iframe = ''; // background="http://img1.img.x77y.com/cm/images/pixel_xacces.gif" var popup = '
\ \ \ \
\ \ \ \
\
\                  \ \
\
\
\ \ \ \ \
'+iframe+'
\
'; document.getElementById('mon_abo').innerHTML = popup; if(num == 0) { document.getElementById('mon_abo').style.display = 'none'; } else { document.getElementById('mon_abo').style.display = 'block'; } } function compta_fantasme(numero) { var num = '1253'; if(num == 1253) { setCook('fantasme_num','1'); } if(numero != 1) { document.getElementById('dyn_fantasme').innerHTML = ''+num+' répondantes nous ont donné leurs opinions.'; } } function valid_compta() { var num = ''; if(num == 1) { alert('Vous avez déja voté'); } else { document.compta_fan.submit(); } } function affi_concours(num,inter,log,pass) { if(num == 1) { var texte = 'Désolé ! Meilleur chance la prochaine fois. '; } else { var texte = 'Le code fournis est invalide ou manquant ! '; } var code_perdant = '
\ \ \ \
\ \ \ \
\ '+texte+'
\

\
'; var code_gagnant = '
\ \ \ \
\ \ \ \
\ Félicitation !
\ Vous avez gagner un mois d\'accès au site Le-Feminin.com
\
\ \ \ \ \
Voici les informations que vous avez besoin pour accèder à
la zone membres du site Le-Feminin.com :
\
\ Nom d\'utilisateur : '+log+'
\ Mot de passe : '+pass+'
\
\
\
\
'; if(num == 2) { code = code_gagnant; } else { code = code_perdant; } document.getElementById('code_lf').innerHTML = code; if(inter == 1) { document.getElementById('code_lf').style.display = 'block'; } else { document.getElementById('code_lf').style.display = 'none'; } } function controle_radio(radio) { for (var i=0; i=b && a>=c ) { gn = "1"; } else if(b>=a && b>=c) { gn = "2"; } else if(c>=a && c>=b) { gn = "3"; } if(id_sondage == 1) { var reponse = totalRep_1[gn]; } else if (id_sondage == 2) { var reponse = totalRep_2[gn]; } else if (id_sondage == 3) { var reponse = totalRep_3[gn]; } else if (id_sondage == 4) { var reponse = totalRep_4[gn]; } var popup_reponse = '
\ \ \ \
\ \ \ \
\ '+titreQuiz[id_sondage]+'
\
\ \ \ \ \
'+reponse+'
\
Fermer la fenêtre

\
'; if(rep != undefined) { document.getElementById('rep_sondage').innerHTML = popup_reponse; if(inter == 1) { document.getElementById('rep_sondage').style.display = 'block'; } else { document.getElementById('rep_sondage').style.display = 'none'; } } } function redirect_site(obj) { obj.href="javascript:affi_abo(1);"; }