1 2function AfficherDate() { 3 var tab_jours = new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"); 4 var tab_mois = new Array("Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre" ); 5 var date = new Date(); 6 var jour = date.getDate() 7 8 if (jour == "1") 9 jour = "1er" 10 11 document.write( " " + tab_jours[date.getDay()] + " <br>" + jour + "<br> " + tab_mois[date.getMonth()] + " "); 12} 13 14function VerifForm() 15{ 16 var s; 17 18 if (document.form_contact.nom.value == "") 19 { 20 alert("Vous n'avez pas précisez votre Nom !"); 21 document.form_contact.nom.focus(); 22 return(false); 23 } 24 25 if (document.form_contact.commentaire.value.length < 10) 26 { 27 alert("Votre message doit faire 10 caractères au minimum !"); 28 document.form_contact.commentaire.focus(); 29 return(false); 30 } 31 32 // Envoi du formulaire 33 if (document.form_contact.email.value == "") 34 alert("Merci pour votre message, nous vous répondrons au plus vite."); 35 else 36 alert("Merci pour votre message, vous recevrez une copie à l'adresse : "+document.form_contact.email.value); 37 document.form_contact.submit(); 38} 39 40function VerifFormWebmaster() 41{ 42 var s; 43 44 if (document.form_contact.nom.value == "") 45 { 46 alert("Vous n'avez pas précisez le Titre de votre site !"); 47 document.form_contact.nom.focus(); 48 return(false); 49 } 50 51 if (document.form_contact.email.value == "") 52 { 53 alert("Vous n'avez pas précisez votre adresse Mail !"); 54 document.form_contact.email.focus(); 55 return(false); 56 } 57 58 if (document.form_contact.commentaire.value.length < 10) 59 { 60 alert("Votre message doit faire 10 caractères au minimum !"); 61 document.form_contact.commentaire.focus(); 62 return(false); 63 } 64 65 // Envoi du formulaire 66 alert("Votre demande a été envoyée, vous recevrez une copie à l'adresse : "+document.form_contact.email.value); 67 document.form_contact.submit(); 68} 69 70function VerifFormSondage() 71{ 72 var s; 73 74 // Envoi du formulaire 75 alert("Merci beaucoup de votre participation au sondage !"); 76 document.form_contact.submit(); 77} 78 79function VerifFormSuggestion() 80{ 81 var s; 82 83 if (document.form_suggestion.chp_suggestion.value.length < 10) 84 { 85 alert("Votre message doit faire 10 caractères au minimum !"); 86 document.form_suggestion.chp_suggestion.focus(); 87 return(false); 88 } 89 90 // Envoi du formulaire 91 alert("Merci pour votre suggestion et bonne visite tango."); 92 document.form_suggestion.submit(); 93 document.form_suggestion.chp_suggestion.value = ""; 94} 95 96function removeelements(){ 97 //store all elements with id=remove to "remove_el" 98 var remove_el=document.all.remove 99 //if there is only one element with id=remove 100 if (remove_el!=''&&remove_el.length==null) 101 remove_el.style.display='none' 102 else{ 103 //for each element with id=remove 104 for (i=0;i<remove_el.length;i++) 105 remove_el[i].style.display='none' 106 } 107} 108 109function revertback(){ 110 setTimeout("window.location.reload()",50) 111} 112 113function video56(){ 114 VIDEO.URL="milonga_56.wmv" 115} 116 117function videonorm(){ 118 VIDEO.URL="milonga.wmv" 119} 120 121function video768(){ 122 VIDEO.URL="milonga_768.wmv" 123} 124 125function videodirect(nomvideo){ 126 VIDEO.URL=nomvideo 127} 128 129function audiodirect(nomaudio){ 130 document.monaudio.src=nomaudio 131 alert(document.monaudio.src) 132 monaudio.src=nomaudio 133 alert(monaudio.src) 134} 135 136function MontrerMenu() { 137// Distance par rapport aux bords de la fenetre 138var EspaceDroit = document.body.clientWidth-event.clientX; 139var EspaceBas = document.body.clientHeight-event.clientY; 140var nompagephp = "A"+window.location+"A"; 141var posrech = nompagephp.indexOf("tango-plan-site"); 142var posrech2 = nompagephp.indexOf("127.0.0.1"); 143 144 if (posrech > 0) 145 javascript:history.go(-1); 146 else { 147 if (posrech2 > 0) 148 window.location="http://127.0.0.1/tango-plan-site.php"; 149 else 150 window.location="http://www.bailando-tango.com/tango-plan-site.php"; 151 } 152 153 // Affichage du menu suivant la position du curseur 154 //if (EspaceDroit < CMenu.offsetWidth) 155 // CMenu.style.left = document.body.scrollLeft + event.clientX - CMenu.offsetWidth; 156 //else 157 // CMenu.style.left = document.body.scrollLeft + event.clientX; 158 CMenu.style.left = 0 159 160 if (EspaceBas < CMenu.offsetHeight) 161 CMenu.style.top = document.body.scrollTop + event.clientY - CMenu.offsetHeight; 162 else 163 CMenu.style.top = document.body.scrollTop + event.clientY; 164 165 if (EspaceBas < CMenu.offsetHeight) 166 CMenu.style.top = document.body.scrollTop + event.clientY - CMenu.offsetHeight; 167 else 168 CMenu.style.top = document.body.scrollTop + event.clientY; 169 170 // Affichage du menu 171 CMenu.style.visibility = "hidden"; 172 return false; 173} 174 175function MasquerMenu(){ 176 CMenu.style.visibility = "hidden"; 177} 178 179function MM_swapImgRestore() { //v3.0 180 var i,x,a=document.MM_sr;
180 for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; 181} 182 183function MM_preloadImages() { //v3.0 184 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 185 var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 186 if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 187} 188 189function MM_findObj(n, d) { //v4.01 190 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 191 d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 192 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 193 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 194 if(!x && d.getElementById) x=d.getElementById(n); return x; 195} 196 197function MM_swapImage() { //v3.0 198 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 199 if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} 200} 201 202function ouvre_site(nomsite) { 203 if (nomsite == 'tangodazur') { 204 javascript:window.open('http://tangodazur.free.fr/Agenda.htm','site','scrollbars=yes,resizable=yes,menubar=yes,toolbar=yes,location=yes');void(0); 205 } 206 else { 207 javascript:window.open('http://www.'+nomsite,'site','scrollbars=yes,resizable=yes,menubar=yes,toolbar=yes');void(0); 208 } 209} 210 211function ouvre_site2(nomsite) { 212 javascript:window.open('http://'+nomsite,'site','scrollbars=yes,resizable=yes,menubar=yes,toolbar=yes');void(0); 213} 214 215function ouvre_site_video(nomsite) { 216 javascript:window.open('http://www.'+nomsite,'site','width=485,height=660,scrollbars=yes,resizable=yes,menubar=no,toolbar=no');void(0); 217} 218 219function popup_news(nompagehtm) { 220 javascript:window.open(nompagehtm,'annonce','width=450,height=500,scrollbars=yes,resizable=yes');void(0); 221} 222 223function popup_news2(nompagehtm) { 224 javascript:window.open(nompagehtm,'annonce','scrollbars=yes,resizable=yes');void(0); 225} 226 227function popup_video(nomvideo) { 228 javascript:window.open(nomvideo,'video','width=400,height=420,scrollbars=no,resizable=yes');void(0); 229} 230 231function popup_video_gf(nomvideo) { 232 javascript:window.open(nomvideo,'video','width=600,height=630,scrollbars=no,resizable=yes');void(0); 233} 234 235function popup_video_b(nomvideo_b) { 236 javascript:window.open(nomvideo_b,'video_b','width=240,height=340,scrollbars=no,resizable=yes');void(0); 237} 238 239function popup_video169(nomvideo) { 240 javascript:window.open(nomvideo,'video','width=450,height=380,scrollbars=no,resizable=yes');void(0); 241} 242 243function popup_video169_gf(nomvideo) { 244 javascript:window.open(nomvideo,'video','width=675,height=570,scrollbars=no,resizable=yes');void(0); 245} 246 247function popup_video169_b(nomvideo_b) { 248 javascript:window.open(nomvideo_b,'video_b','width=262,height=265,scrollbars=no,resizable=yes');void(0); 249} 250 251function popup_video_embed(nomvideo) { 252 javascript:window.open(nomvideo,'video','width=425,height=450,scrollbars=no,resizable=yes');void(0); 253} 254 255function popup_video_yt(nomvideo) { 256 javascript:window.open(nomvideo,'video','width=320,height=355,scrollbars=no,resizable=yes');void(0); 257}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.