function avert() { alert("Vous n'avez droit qu'à un vote par hotesse par mois."); } function afficheGal(chemin) { window.open(chemin,'pop','toolbar=0,location=0,scrollbars=1, status=0,width=600,height=510'); } function afficheMaxi(chemin) { i1 = new Image; i1.src = chemin; html = 'Galerie Photos
'; popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1,top=100,left=100'); popupImage.document.open(); popupImage.document.write(html); popupImage.document.close() } function select_anim() { document.theForm.submit(); } function profil_grand(id,nom) { window.open('http://www.xponsor.com/planning/profilgrand.php?id='+id+'&nom='+nom+'','pop','toolbar=0,location=0,scrollbars=0, status=0,width=100,height=100'); } function fiche_hotesse(animatrice,form,id,scpt,source,lns,site,j,part,lien_pm,username) { document.location.href = ''+lien_pm+'?animatrice='+animatrice+'&form='+form+'&id='+id+'&scpt='+scpt+'&source='+source+'&lns='+lns+'&site='+site+'&j='+j+'&part='+part+'&username='+username+''; } function controle_form() { valid=true; if (valid) if(document.formu.pseudo.value == "") { alert("Vous devez indiquer un pseudo"); document.formu.pseudo.focus(); valid=false; } if (valid) if(document.formu.taera.value == "") { alert("Vous devez ecrire votre message"); document.formu.taera.focus(); valid=false; } if(valid) document.formu.submit(); }