// ---------------- // // Utitaires divers // // ---------------- // function getEvent (e) {return (e ? e :window.event);}; function $ (id) {return document.getElementById (id);} //-------------------------------------- function setOpacity (elementID, valeur) { var element = $(elementID); // Affectations if (element.filters) {// IE element.style.filter = "alpha(opacity=" + valeur + ")"; element.filters.alpha.opacity=valeur; } else { element.style.opacity = valeur/100; element.style['-moz-opacity'] = valeur/100; element.style['-khtml-opacity'] = valeur/100; } } // setOpacity // Seuillage de 0 à 100 function seuillage (x) {return (x < 0 ? 0 :(x > 100 ? 100:x));} //----------------------------------------------// // Variation de l'opacité plage = [0,100] // // quoi :ID de l'élément à fader // // depart :opacité départ (défaut 0) // // arrivee :opacité arrivée (défaut 100) // // pas :saut d'opacité (défaut 20) // // intervalle :ms entre 2 pas (défaut 50) // //----------------------------------------------// function doOpacity (quoi, sens, pas, intervalle) { var depart; var arrivee; switch (sens){ case "in": depart=0; arrivee=100;break; case "out":depart=100; arrivee=0;break; } pas=(pas?pas:20); pas = (depart < arrivee ? 1 :-1) * Math.abs (pas); intervalle = (intervalle?intervalle:90); // Seuillage depart = seuillage (depart); arrivee = seuillage (arrivee); // Affectation setOpacity (quoi, depart); // Au départ, l'élément est visible et affiché $(quoi).style.display = "block"; $(quoi).style.visibility = "visible"; // Animation animation (quoi, depart, arrivee, pas, intervalle); } // doOpacity //---------------------------------------------------------// function animation (quoi, depart, arrivee, pas, intervalle) { // Seuillage depart = seuillage (depart); arrivee = seuillage (arrivee); // if (quoi == "loader") window.status = quoi + "/" + depart + "->" + arrivee + " a " + pas; // Affectation setOpacity (quoi, depart); // Rebouclage // SI depart = arrivee ALORS if (depart == arrivee) { // SI on arrive à 0 ALORS if (arrivee == 0) { // On efface $(quoi).style.display = (arrivee == 0 ? "none" :"block"); $(quoi).style.visibility = (arrivee == 0 ? "hidden" :"visible"); } } // SINON else {// Calcul de la nouvelle valeurs depart += pas; setTimeout('animation ("'+ quoi+'",'+depart+','+arrivee+','+pas+','+intervalle+')', intervalle); } } //animation // ------------------- // // Après le chargement // // ------------------- // function doAfterLoad () { doOpacity ("loader","out", 25); doOpacity ("contenu","in", 5); APP.setLangage(); BLINK.init(); } //doAfterLoad // ------------------------ // // Coordonnées de la souris // // ------------------------ // var SOURIS = function () { var X; var Y; return { // Famille de fonctions // Utilitaires divers getX: function () {return X;}, getY: function () {return Y;}, move: function (e) { var ev = (e ? e :window.event); X = ev.clientX; Y = ev.clientY; // window.status = "X= " + X + "/ Y= " + Y; } } } (); document.onmousemove = SOURIS.move; // ------------------------------------------- // // Objet APPlication (gestion des traductions) // // Menu contextuel ... // // ------------------------------------------- // var APP = new function () { // Privé var DEFAULT_LANG ="fr"; var LANGAGE = new Array (); var ANNEE="2008"; var DEFAULT_CONTENU = "pdm"; // Gestion de l'affichage dynamique var contenu_courant = ""; //DEFAULT_CONTENU; // arrivée par défaut //------------------// LANGAGE["fr"]={ // Menu welcome:"Bienvenue aux Manoques!", mt_camping:"Dans le camping", m_camping:"Camping", m_locatif:"Locatifs", m_espace:"Espace détente & bien être", m_piscine:"Piscines", m_visite:"Visite virtuelle", m_diaporama:"Diaporama", mt_autour:"Autour du camping", m_stage:"Stages", m_animation:"Animations", m_alentour:"Les alentours", m_plan:"Plan d'accès", m_livredor:"Livre d'or", m_tarif:"Tarifs "+ ANNEE + "", m_demande:"Demande d'informations", //Camping camping_texte:"Aux portes du Quercy blanc, sur l'axe Agen-Cahors découvrez Les Manoques.

Tel une presqu'île, le terrain n'est relié au reste du monde que par un petit chemin...

Une fois passé le portail, on retrouve une autre dimension, une autre énergie.

C'est pourquoi nous avons voulu créer notre \"centre naturiste de médecines douces\" dans ce lieu fort.

En camping ou location, votre emplacement d'au moins 110m² est isolé des autres par un écrin de verdure.", //Locatif chalet46:"Chalet 4-6 personnes", chalet68:"Chalet 6-8 personnes", mobilhome:"Mobil-home", btm:"Bungalow de toile meublé (carrelé, doublé bois, avec sanitaire)", //Espace espace_texte:"Les Manoques vous proposent des séances d'Osthéopathie, Massages Californiens, Drainage lymphatique, Réflexologie plantaire, Kinésiologie, Shiatsu et Médecine chinoise réalisées par des professionnels diplômés.

Ces séances vous sont proposées au prix de 40 € sur rendez-vous.

L'accès au Sauna, Jacuzzi et cardio-training est ", //Piscine piscine_texte:"Une piscine de 100m² pour la détente des adultes et une pataugeoire de 25m² pour les enfants", //Visite carte_titre:"Bouger la souris sur la carte et découvrez le site", vpiscine:"Ici la piscine", vanimation:"Ici les animations", vsanitaire:"Ici les sanitaires", vbtm:"Ici les BTM", vespace:"Ici l'espace de détente", vmobilhome:"Ici les mobil home", vvolley:"Ici le terrain de volley", vchalet:"Ici les chalets", vtennis:"Ici le tennis", vsnack:"Ici le snack", varc:"Ici le tir à l'arc", //Stages stage_texte:"Les stages de massages sont à la portée de ceux qui ont envie de donner.
"+ "Nul besoin de connaissance particulière. C'est de toute façon, une semaine de détente car les stages sont basés essentiellement sur la pratique (réservation obligatoire lors de la réservation du séjour).
"+ "

Initiation au massage traditionnel indien: du 04 au 08 août

"+ "Ce massage est relié à la connaissance de l'ayurvéda et se pratique avec des huiles essentielles adaptées. Il favorise la tonification de la peau et des tissus, facilite l'élimination des toxines et réduit les tensions nerveuses.
"+ "

Animatrice Marie Brigitte Borredon Certifiée d'APMA international.

"+ "

Massage californien: du 11 au 15 août

"+ "Massage de tout le corps très doux, très lent: c'est l'un des rares massages qui abouti au lâcher-prise.
"+ "

Animateur: Xavier Lemaire, Masseur Kinésithérapeute, Osthéopathe D.O.
A découvert le massage californien il y a 15 ans et l'enseigne depuis 12 ans.

", //Animations sport:"Activités sportives:", volley:"Volley ball", tennis:"Tennis", boule:"Pétanque", arc:"Tir à l'arc", paddle:"Tennis mou", vtt:"V.T.T.", pingpong:"Ping pong", stages:"Les stages:", cours_mc:"Cours de massages californiens", cours_mosaique:"Mosaïque au village ", proximite:"A proximité:", equitation:"Equitation", parachute:"Parachute", ballade:"Les ballades:", vallee_lot:"Vallée du Lot", circuit:"Circuit des bastides", bonaguil:"Chateau de Bonaguil", biron:"Chateau de Biron", brassac:"Chateau de Brassac", moissac:"Ville de Moissac", montauban:"Ville de Montauban", agen:"Ville d'Agen", vsl:"Ville de Villeneuve sur Lot", prayssac:"Ville de Prayssac", puy:"Ville de Puy l'évèque", cahors:"Ville de Cahors", gr:"GR à proximité", canoe:"Canoé sur le Lot à 15 Km", soiree:"Les soirées:", repasd:"Repas dansant", pianobar:"Piano bar", karaoke:"Karaoké", feudc:"Feu de camp", spectacle:"Spectacles", carnaval:"Carnaval", //Alentour situation:"Le camping est situé au coeur de 3 départements:", villes:"Les principales villes de la région:", sites_web:"Les principaux sites WEB de la région:", //Plan //Tarif t_soleil:"[Adhérent à un club Soleil: - 5% (réduction non cumulable)]", camping:"Le camping", midi_midi:"De midi à midi", sejour:"Séjours de plus de 15 jours:-10%", haute:"Du 28 juin au 23 août", moyenne:"Du 14 au 28 juin & du 23 au 30 août", basse:"Du 7 au 14 juin & du 30 août au 7 septembre", f1pev:"Forfait 1 personne + emplacement + voiture", f2pev:"Forfait 2 personnes + emplacement + voiture", e0_7:"Enfants de 0 à 7 ans", ado:"Enfants de 7 à 18 ans", sejour_ado:"1 € le séjour!", ppsup_18:"Par personne supplémentaire +18 ans", animaux:"Animaux (vaccinés et tatoués)", edf:"Borne électrique 10 ampères", taxe:"Pas de taxe de séjour - Pas de frais de réservation", ancv:"
Les Manoques sont affiliées Chéques-Vacances. Pensez-y!
", locatif:"Les locatifs", semaine:"La semaine du samedi 16h au samedi 10h", promo_locatif:"3 semaines de location: -10%", p1:"Du 7 au 14 juin & du 30 août au 6 septembre", p2:"Du 14 au 28 juin & du 23 au 30 août", p3:"Du 28 juin au 19 juillet & du 16 au 23 août", p4:"Du 19 juillet au 16 août", c68p:"Chalet 6-8 personnes", c46p:"Chalet 4-6 personnes", mh47p:"Mobilhome 4-7 personnes", btm45p:"Bungalow Toile Meublé 4-5 personnes", c4p:"Caravane 4 personnes", weekend:"Formules week end", selon_dispo:"Selon disponibilité", nous_contacter:"Nous contacter pour vos week end", //Demande d'information email:"Votre email*", lnom:"Prénom et Nom*", ladresse:"Adresse*", ltelephone:"Téléphone", lquestion:"Votre demande*", type_reservation:"Type de réservation", periode_du:"Période du ", periode_au:" au ", liste:{rien:"",chalet24:"Chalet 2-4 personnes",chalet46:"Chalet 4-6 personnes",chalet68:"Chalet 6-8 personnes",mobilhom:"Mobilhome",btm:"BTM",caravane:"Caravane",place:"Emplacement"}, submit:"Envoyer", reset:"Effacer", //Calendrier tMois:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"], tJours:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"], calendrier_titre:"Calendrier", FORM_EMAIL_INVALIDE:"Attention:email invalide !", FORM_CHAMP_OBLIGATOIRE1:"Attention:le champ ", FORM_CHAMP_OBLIGATOIRE2:" est obligatoire !", //Divers mail_ok:"Email envoyé!", mail_ko:"Un problème est survenu. Merci de renouveller l'envoi!", chargement:"... Chargement en cours ...", gratuit:"GRATUIT", last:"dernier!" }; // fr //------------------// LANGAGE ["en"]={ // Menu welcome:"Welcome to Les Manoques!", mt_camping:"In the camp site", m_camping:"The camp site", m_locatif:"Renting", m_espace:"Well being and relaxation center", m_piscine:"The swimming pools", m_visite:"Virtual tour", m_diaporama:"Slide show", mt_autour:"Arround the camp", m_stage:"Training courses", m_animation:"Activities", m_alentour:"Neighbourhood", m_plan:"Plan of access", m_livredor:"Guest book", m_tarif:"Rates "+ ANNEE + "", m_demande:"Information request", //Camping camping_texte:"Near the white Quercy, between Agen and Cahors, visit Les Manoques campsite.

"+ "Like a peninsula, the site is linked to the rest of the world only with a little track...

"+ "After the portal, you will experience a new dimension, a new energy.

"+ "Your campsite or your renting place of 110m² is isolated

"+ "from the others by a curtain of greenery.", //Locatif chalet46:"Chalet 4-6 persons", chalet68:"Chalet 6-8 persons", mobilhome:"Mobil-home", btm:"BTM (tiled, doubled wood, with bathroom)", //Espace espace_texte:"Les Manoques propose you session of Osteopathy, Californian massages, Lymphatic drainage, Plantar reflexology, Kinesiologie, Shiatsu and Chinese medecine operated by graduated.

These sessions are proposed at 40 € on rendez-vous.

The entrance to the Sauna, Spa and cardio-training center is ", //Piscine piscine_texte:"One swimming pool of 100m² for the adults relaxation, one padding pool of 25 m² for children", //Visite carte_titre:"Move the mouse over the map and discover the place", vpiscine:"The swimming pool", vanimation:"The activities area", vsanitaire:"The lavatories", vbtm:"There are the BTM", vespace:"The well being & relaxation center", vmobilhome:"The mobil homes", vvolley:"The volley playground", vchalet:"The chalets", vtennis:"The tennis", vsnack:"The snack", varc:"The archery area", //Stages stage_texte:"Massages courses are within the reach of people who want to give
"+ "Needless to knowledge. It is anyway a week of relaxation because the courses are based primarily on the practice (reservations required at the booking time).
"+ "

Introduction to indian traditionnal massage: from 04 to 08 August

"+ "This massage is connected to the knowledge of ayurveda and practice with appropriated essential oils. It promotes the toning of the skin and tissues, helps eliminate toxins and reduced nerve tensions.
"+ "

Leader: Marie Brigitte Borredon Certified internationalses of APMA.

"+ "

Californian massage: from 11 to 15 August

"+ "Full body massage, very sweet, very slow: it is ones of the massages that let yourself go.
"+ "

Leader : Xavier Lemaire, Physiotherapist, Osthéopathe DO.
He discovered californian massage 15 years ago and teach it since 12 years.

", //Animations sport:"Athletic activities:", volley:"Volley ball", tennis:"Tennis", boule:"Pétanque (french bowls)", arc:"Archery", paddle:"Paddle", vtt:"Mountain bike", pingpong:"Table tennis", stages:"Courses:", cours_mc:"Californian massage", cours_mosaique:"Mosaic in town", proximite:"Near:", equitation:"Horse riding", parachute:"Parachuting", ballade:"Ballads:", vallee_lot:"Lot valley", circuit:"Fortress tour", bonaguil:"Chateau de Bonaguil", biron:"Chateau de Biron", brassac:"Chateau de Brassac", moissac:"City of Moissac", montauban:"City of Montauban", agen:"City of Agen", vsl:"City of Villeneuve sur Lot", prayssac:"City of Prayssac", puy:"City of Puy l'évèque", cahors:"City of Cahors", gr:"Hiking trail", canoe:"Canoe on the Lot at 15 Km", soiree:"Evening parties:", repasd:"Dancing dinner", pianobar:"Piano bar", karaoke:"Karaoké", feudc:"Campfire", spectacle:"Shows", carnaval:"Carnival", //Alentour villes:"The main cities of the region:", sites_web:"The main WEB sites of the region:", situation:"The camp site is located in the middle of 3 departments:", //Plan //Tarif t_soleil:"[Club Soleil member: - 5% (unsimultaneously reduction)]", camping:"Campsite", midi_midi:"From 12am to 12am", sejour:"Stay greated than 15 days:-10% off", haute:"From 6/28 to 8/23", moyenne:"From 6/14 to 6/28 & from 8/23 to 8/30", basse:"From 6/7 to 6/14 & from 8/30 to 9/7", f1pev:"Package :1 adult, site + car", f2pev:"Package :2 adults, site + car", e0_7:"Children from 0 to 7", ado:"Children from 7 to 18", sejour_ado:"1 € the stay!", ppsup_18:"Additional person +18 years old", animaux:"Pets (vaccinated and tatooed)", edf:"Power site (10 amp)", taxe:"No tourist tax - No booking fees", ancv:"
", locatif:"Renting", semaine:"The week from saturday 4pm to saturday 10am", promo_locatif:"3 rental week: -10% off", p1:"From 6/7 to 6/14 & from 8/30 to 9/6", p2:"From 6/14 to 6/28 & from 8/23 to 8/30", p3:"From 6/28 to 7/19 & from 8/16 to 8/23", p4:"From 7/19 to 8/16", c68p:"Chalet 6-8 persons", c46p:"Chalet 4-6 persons", mh47p:"Mobil-home 4-7 persons", btm45p:"Bungali 4-5 persons", c4p:"Caravan 4 persons", weekend:"Week end schedule", selon_dispo:"If available", nous_contacter:"Please contact us for your week end", //Demande d'information email:"Your email*", lnom:"First name and Name*", ladresse:"Address*", ltelephone:"Phone", lquestion:"Your request*", type_reservation:"Booking type", periode_du:"Period from ", periode_au:" to ", liste:{rien:"N/A",chalet24:"Chalet 2-4 persons",chalet46:"Chalet 4-6 persons",chalet68:"Chalet 6-8 persons",mobilhom:"Mobil home",btm:"Bungali",caravane:"Caravan",place:"Place"}, submit:"Submit", reset:"Reset", //Calendrier tMois:["January","February","March","April","May","June","July","August","September","October","November","December"], tJours:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], FORM_EMAIL_INVALIDE:"Warning:invalid email !", FORM_CHAMP_OBLIGATOIRE1:"Warning:the field ", FORM_CHAMP_OBLIGATOIRE2:" is mandatory !", //Divers mail_ok:"Mail send!", mail_ko:"A problem as occured. Please try later!", chargement:"... Site is loading ...", gratuit:"FREE", last:"dernier!" };//en //------------------// LANGAGE["nl"]={ //Menu welcome:"Welkom bij Les Manoques!", mt_camping:"De camping", m_camping:"Camping", m_locatif:"huuraccommodaties", m_espace:"Ruimte voor ontspanning en welzijn", m_piscine:"Zwembaden", m_visite:"Virtuele rondleiding", m_diaporama:"Foto's", mt_autour:LANGAGE['en'].mt_autour, m_stage:"Cursusssen", m_animation:"Vermaak", m_alentour:"De omgeving", m_plan:"Toegangsroute", m_livredor:"Gastenboek", m_tarif:"Tarieven "+ ANNEE + "", m_demande:"Contact", //Camping camping_texte:"Ontdek Les Manoques langs de doorgaande weg Agen - Cahors, op de grens van de departementen Lot, Lot-et-Garonne en Tarn-et-Garonne.

Net als een schiereiland is ons terrein slechts door een smal weggetje verbonden met de rest van de wereld...

Eenmaal voorbij de toegangspoort waant men zich in een andere wereld en ontdekt men nieuwe energie. Daarom hebben wij hier op deze bijzondere plek ons ‘naturistenterrein met natuurgeneeswijzen’ gecreëerd.", //Locatif chalet46:"Chalet 4-6 personen", chalet68:"Chalet 6-8 personen", mobilhome:"Stacaravan O’Hara", btm:"Gemeubileerde \"tentbungalow \" (houten wanden, tentdak, tegelvloer, sanitaire)", //Espace espace_texte:"Les Manoques biedt u de mogelijkheid voor alternatieve behandelwijzen zoals Osteopatie, Californische Massage, Lymfedrainage, Voetreflexologie, Kinesiologie, Shiatsu en Chinesegeneeswijzen door gediplomeerde behandelaars.

Deze behandelingen kosten € 40 per keer.

Het gebruik van sauna, jacuzzi en cardio-training is ", //Piscine piscine_texte:"Een zwembad van 100m² en een peuter/kleuterbad van 25m² voor kinderen", //Visite carte_titre:"Beweeg de muis over de kaart en ontdek de plaats", vpiscine:"De zwembaden", vanimation:"Activiteitenzaal", vsanitaire:"Sanitair", vbtm:"Gemeubileerde tentbungalows", vespace:"Ruimte voor ontspanning en welzijn", vmobilhome:"Mobil homes", vvolley:"Volleybalveld", vchalet:"Chalets", vtennis:"De tennisbaan", vsnack:"De snack", varc:"Handboogschietbaan", //Stages stage_texte:"Massages cursussen zijn binnen het bereik van mensen die willen geven
"+ "Voor hen die dat willen is het mogelijk massagecursussen te volgen. Er is geen voorkennis nodig. Het zijn dagen van ontspanning, want er wordt alleen praktisch gewerkt. (aanmelden tegelijk met het reserveren van uw verblijf)
"+ "

Cursus: Inleiding tot de traditionele Indiase massage 4 t/m 8 augustus

"+ "Deze massage is verbonden met de kennis van de ayurveda en wordt uitgevoerd met daarbij behorende essentiële oliën. De ayurvedisch massage bevordert de doorbloeding van de huid en weefsels, helpt het afvoeren van giftige stoffen en verlaagt zenuwspanningen.
"+ "

De cursus wordt gegeven door: Marie Brigitte Borredon, Internationaal Certificaat APMA.

"+ "

Cursus: Californische massage 11 t/m 15 augustus

"+ "Dit is een zeer zachte en langzame massage over het hele lichaam. Het geeft een diepe totale ontspanning.
"+ "

De cursus wordt gegeven door Xavier Lemaire, fysiotherapeut/ostheopaat D.O. Hij maakte 15 jaar geleden kennis met deze massage en geeft de cursus al 12 jaar.

", //Animations sport:"Sportactiviteiten:", volley:"Volleybal", tennis:"Tennis", boule:"Jeu de boules", arc:"Boogschieten", paddle:"Soft tennis", vtt:"Mountainbike", pingpong:"Tafeltennis", stages:"Cursussen:", cours_mc:"Californische massage", cours_mosaique:"Mozaïek (in het dorp)", proximite:"In de omgeving:", equitation:"Paardrijden", parachute:"Parachutespringen", ballade:"Bezienswaardigheden:", vallee_lot:"Vallée du Lot", circuit:"Circuit des bastides", bonaguil:"Chateau de Bonaguil", biron:"Chateau de Biron", brassac:"Chateau de Brassac", moissac:"Ville de Moissac", montauban:"Ville de Montauban", agen:"Ville d'Agen", vsl:"Ville de Villeneuve sur Lot", prayssac:"Ville de Prayssac", puy:"Ville de Puy l'évèque", cahors:"Ville de Cahors", gr:"GR-wandelroutes", canoe:"Kanoën op de Lot op 15 km", soiree:"Avondactiviteiten :", repasd:"Diner dansant", pianobar:"Piano bar", karaoke:"Karaoké", feudc:"Barbecue met kampvuur", spectacle:"Optredens", carnaval:"Carnaval", // Alentour situation:"De camping ligt in het hart van 3 departementen:", villes:"De belangrijkste steden in de streek:", sites_web:"Belangrijke links voor de streek:", //Plan //Tarif t_soleil:" [Lid naturistenclub: -5% (korting niet stapelbaar)]", camping:"Kampeerplaats", midi_midi:"Van 12h tot 12h", sejour:"Verblijf langer dan 15 dagen: -10%", haute:"Van 28/6 tot 23/8", moyenne:"Van 14/6 tot 28/6 & van 23/8 tot 30/8", basse:"Van 7/6 tot 14/6 & van 30/8 tot 7/9", f1pev:"1 volwassene+plaats+auto", f2pev:"2 volwassenen+plaats+auto", e0_7:"Kinderen van 0 tot 8", ado:"Kinderen van 7 tot 18", sejour_ado:"1 € verblijf !", ppsup_18:"Extra persoon vanaf 18 jaar", animaux:"Huisdieren (gevaccineerd en getatoeëerd)", edf:"Elektriciteit (10 amp.)", taxe:"Geen toeristenbelasting - geen reserveringskosten", ancv:"
", locatif:"huuraccommodaties", semaine:"Per week van zaterdag 16u. tot zaterdag 10u.", promo_locatif:"3 weeks: -10%", p1:"Van 7/6 tot 14/6 & van 30/8 tot 6/9", p2:"Van 14/6 tot 28/6 & van 23/8 tot 30/8", p3:"Van 28/6 tot 19/7 & van 16/8 tot 23/8", p4:"Van 19/7 tot 16/8", c68p:"Chalet 6-8 personen", c46p:"Chalet 4-6 personen", mh47p:"Stacaravan 4-7 personen", btm45p:"Tentbungalow 4-5 personen", c4p:"Caravan 4 personen", weekend:"Weekend schema", selon_dispo:"Indien beschikbaar", nous_contacter:"Neem contact met ons op voor uw week end", //Demande d'information email:"Uw e-mailadres*", lnom:"Voornaam en naam*", ladresse:"Adres*", ltelephone:"Telefoon", lquestion:"Vragen*", type_reservation:"Reservering type ", periode_du:"Periode van ", periode_au:"tot", liste:{rien:"n.v.t",chalet24:"chalet 2-4 personen",chalet46:"chalet 4-6 personen",chalet68:"chalet 6-8 personen",mobilhom:"Mobil home",btm:"emeubileerde tentbungalow",caravane:"Caravan",place:"kampeerplaats"}, submit:"Verzenden", reset:"Wissen", //calendrier tMois:LANGAGE ["en"].tMois, tJours:LANGAGE ["en"].tJours, calendrier_titre:LANGAGE ["en"].calendrier_titre, FORM_EMAIL_INVALIDE:LANGAGE ["en"].FORM_EMAIL_INVALIDE, FORM_CHAMP_OBLIGATOIRE1:LANGAGE ["en"].FORM_CHAMP_OBLIGATOIRE1, FORM_CHAMP_OBLIGATOIRE2:LANGAGE ["en"].FORM_CHAMP_OBLIGATOIRE2, //Divers mail_ok:"Mail sturen!", mail_ko:"Een probleem als opgetreden. Probeer het later!", chargement:LANGAGE ["en"].chargement, gratuit:"GRATIS", last:"Last!" };//nl // ------------------- // return { getLabel:function (ID) {return (LANGAGE [DEFAULT_LANG][ID] ? LANGAGE [DEFAULT_LANG][ID] :"");}, addLabel:function (langue, nom, libelle) {LANGAGE [langue][nom] = libelle}, getLangage:function () {return DEFAULT_LANG;}, // ------------------------------------------------------------------------------------- // // Traduction des TAG // // TAG avec ID => Alors libellé unique // // TAG sans ID => Alors si il a une classe ET selon si il a une classe de la forme l_ // // ------------------------------------------------------------------------------------- // set:function (TAG) { // SI le SPAN a un ID ALORS on traduit if (TAG.id) {TAG.innerHTML = this.getLabel(TAG.id);} // SINON else {// On analyse la classe, s'il y en a une. Elle doit contenir une classe de la forme L_ if (TAG.className) { var ClassesCSS = TAG.className.split (" "); for (var c=0; c < ClassesCSS.length; c++) if (ClassesCSS [c].indexOf ("l_") == 0) {TAG.innerHTML = this.getLabel(ClassesCSS [c].substr (2));} }//if }//else },//set setDefaultLangage:function (l) {DEFAULT_LANG = l;}, //Langue par défaut setLangage:function (l) {// stockage + traduction DEFAULT_LANG = (l ? l:DEFAULT_LANG); window.defaultStatus = this.getLabel ("welcome"); // Pour tous les SPAN, P, LABEL, LI tTAGs = document.getElementsByTagName("SPAN"); for (var pour=0; pour < tTAGs.length; pour++) this.set (tTAGs[pour]); tTAGs = document.getElementsByTagName("P"); for (var pour=0; pour < tTAGs.length; pour++) this.set (tTAGs[pour]); tTAGs = document.getElementsByTagName("LABEL"); for (var pour=0; pour < tTAGs.length; pour++) this.set (tTAGs[pour]); tTAGs = document.getElementsByTagName("INPUT"); for (var pour=0; pour < tTAGs.length; pour++) tTAGs[pour].value=this.getLabel (tTAGs[pour].id); tTAGs = document.getElementsByTagName("LI"); for (var pour=0; pour < tTAGs.length; pour++) this.set (tTAGs[pour]); /* // Liste var mySelect = $("liste_type_reservation"); var L = this.getLabel ("liste"); var i = 0; for (var c in L) { mySelect.options [i] = new Option (L [c], c); i++; } // Constantes calendrier tMois=this.getLabel("tMois"); tJours=this.getLabel("tJours"); calendrier_titre=this.getLabel("calendrier_titre"); */ FORM_EMAIL_INVALIDE=this.getLabel("FORM_EMAIL_INVALIDE"); FORM_CHAMP_OBLIGATOIRE1=this.getLabel("FORM_CHAMP_OBLIGATOIRE1"); FORM_CHAMP_OBLIGATOIRE2=this.getLabel("FORM_CHAMP_OBLIGATOIRE2"); $("langue").value = DEFAULT_LANG; // Cas particulier $("legende_PDM").innerHTML = this.getLabel ("m_"+contenu_courant); //DL }, //setLangage // Visite virtuelle & navigation par menu// visite: function (quoi) { quoi = (quoi ? quoi : DEFAULT_CONTENU); // gestion de l'appel à vide (RAZ) var legende = $ ("legende_PDM"); // Si on sort du diaporama ALORS if (contenu_courant == "diaporama") $ ("contenu").style.height="400px"; // SI on ne va pas sur le contenu par défaut ALORS if (quoi != DEFAULT_CONTENU) { // On passe sur une rubrique // SI il y a quelque chose d'affiché différent du défaut ALORS if (contenu_courant != "" && contenu_courant != DEFAULT_CONTENU) { // On le masque $ (contenu_courant).style.display = "none"; } contenu_courant = quoi.substr (2); // m_ $ (DEFAULT_CONTENU).className = "pdm_small"; $ (contenu_courant).style.display = "block"; legende.innerHTML = APP.getLabel (quoi); legende.style.display = "inline"; } // SINON (on revient au contenu par défaut plan de masse) else { $ (DEFAULT_CONTENU).className = "pdm_normal"; // SI pas de contenu ALORS if (contenu_courant == "" ) { // On arrive $ ("contenu").style.display = "block"; // on affiche le cadre } // SINON on navigue else { $ (contenu_courant).style.display = "none"; } legende.innerHTML = ""; legende.style.display = "none"; contenu_courant = DEFAULT_CONTENU; } return false; }, //Visite version:function () {return "1.1";} } /// return } (); // APP /* APP.setDefaultLangage ("en"); */ // ------------------ // // Chargement du site // // ------------------ // //var x = 0; //test dev function Loading () { var images_chargees = 0; var tIMGs = document.body.getElementsByTagName ("img"); //var tIMGs = document.images; var pourcentage = 0; if (tIMGs.length == 0) return; for (var i=0; i< tIMGs.length; i++) {images_chargees += (tIMGs[i].complete ? 1 :0);} pourcentage = Math.round (100 * images_chargees / tIMGs.length); $("chargement").innerHTML = APP.getLabel("chargement") + " [" +pourcentage + " %]"; // + x++ + "-" + tIMGs.length; // Fond //$("progress_bar").style.width = Math.floor (pourcentage/2) + "%"; $("progress_bar").style.width = pourcentage + "%"; if (images_chargees < tIMGs.length) { setTimeout ("Loading ()",400); } /* else { $("loader").style.display="none"; $("contenu").style.display="block"; }*/ }//Loading // ----------------------- // // Clignotement de classes // // ----------------------- // var BLINK = new function () { var tACLIGNOTER = new Array (); // liste des DIVs à faire clignoter var tempo = 300; // en ms var CSS = 'l_gratuit'; // style de clignotement //----------------// return { // Liste les éléments à faire clignoter init:function () { var tTAGs = document.getElementsByTagName('SPAN'); for (var pour in tTAGs) { if (tTAGs[pour].className && tTAGs[pour].className.indexOf (CSS) != -1) { tACLIGNOTER [tACLIGNOTER.length] = tTAGs[pour]; }//if }// for BLINK.action (); }, // Inverse la propriété style.visibility de visible/hiddenFais pour les éléments de la page action:function () { if (tACLIGNOTER.length > 0) { for (var t in tACLIGNOTER) { tACLIGNOTER [t].style.visibility = (tACLIGNOTER [t].style.visibility == 'hidden' ? 'visible' :'hidden'); }//for setTimeout ('BLINK.action ()', 500); } // if }, getVersion:function () {return "BLINK 1.0";} } // return } // BLINK // Variables globales pour le calendrier et formulaire (calendrier.js formulaire.js) /*var tMois; var tJours; var calendrier_titre; */ var FORM_EMAIL_INVALIDE; var FORM_CHAMP_OBLIGATOIRE1; var FORM_CHAMP_OBLIGATOIRE2; //---------------------- DL à virer si carte pas très dynamique function Status (texte) { window.status = (texte ? texte:""); $("legende_carte").innerHTML = (texte ? texte:APP.getLabel ('legende_carte')); return true; } // ---------------------------- // // Vérification des formulaires // // ---------------------------- // function enleve (dans, chaine) {return dans.replace (chaine, '');} function IsEmail (p_email){return (/^\w+([\.-_]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(p_email));} function Verification (f) { var OK = true; for (champ=0; champ < f.length; champ++) { if (f [champ].name.indexOf ("*") > 0) if (f [champ].value == "") { OK = false; alert (FORM_CHAMP_OBLIGATOIRE1 + enleve (f [champ].name, '*').toUpperCase () + FORM_CHAMP_OBLIGATOIRE2); break; } else if (f [champ].name.indexOf ("email") > -1) if (!IsEmail (f [champ].value)) { OK = false; alert (FORM_EMAIL_INVALIDE); break; } } if (OK) //f.submit(); envoiMail (f); else f [champ].focus (); } // Verification // Sur vol du plan de masse: on affiche la petite photo dans un flottant // function MyOnMouseOver (quoi) { var x = $ ("minivue"); var img = ""; x.style.display="block"; x.style.left = SOURIS.getX () + "px"; x.style.top = SOURIS.getY () + "px"; switch (quoi) { //case "vanimation": img = "animation.jpg"; break; default: img = quoi } x.firstChild.src = "image/" + img; // http://image.lesmanoques.com/ return true; } function MyOnMouseOut () { var x = $ ("minivue"); x.style.display="none"; x.firstChild.src = "image/ajax-loader.gif"; // http://image.lesmanoques.com/ return true; } function diaporama_fenetre () { // Centrage var l=500; var h=462; var x=(screen.width - l) / 2; var y=(screen.height - h) / 2; window.open ("diaporama.html", "diaporama","scrollbars=no,status=no,resizable=no,width="+l+",height="+h+",top="+y+",left="+x); } // diaporama_fenetre function diaporama () { var m = $ ("diaporama"); if (m.innerHTML == "") { //m.innerHTML=''; m.innerHTML=''; } // Changement de gestion de l'overflow $ ("contenu").style.height="auto"; } // diaporama function livredor () { var m = $ ("livredor"); if (m.innerHTML == "") { m.innerHTML=''; } // Changement de gestion de l'overflow //$ ("contenu").style.height="auto"; } // livredor function google_maps () { var m = $ ("plan"); if (m.innerHTML == "") { m.innerHTML=''; } } // google_maps // ----------------------- // // Appel d'une page en XHR // // ----------------------- // function sendData(data, page, method, async, myfunction) { var XHR; if (window.ActiveXObject) { XHR = new ActiveXObject("Microsoft.XMLHTTP"); } else if (window.XMLHttpRequest) { XHR = new XMLHttpRequest(); } //alert ("Data= " + data + " / Page: " + page + " / Methode: " + method); // Envoie selon la méthode switch (method) { case "GET": XHR.open("GET", page + (data == 'null' ? "" : "?" + data), async); break; case "POST": XHR.open("POST", page, async); break; } // Si appel asynchrone ALORS if (async) { // Réception de la page cible XHR.onreadystatechange = function() { //alert ("dans ORSC " + numero); if (XHR.readyState == 4 && XHR.status == 200) {myfunction (eval ("("+ XHR.responseText+")"));} } } // Suppression de l'effet de cache XHR.setRequestHeader("Pragma", "no-cache"); XHR.setRequestHeader("Expires", "0"); XHR.setRequestHeader("Cache-Control", "no-store"); XHR.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT"); // Envoi de la fin de la demande switch (method) { case "GET": XHR.send(null); break; case "POST": XHR.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); XHR.send(data); break; } // Si appel synchrone ALORS if (!async) { // Appel de la fonction myfunction (XHR.responseText); } } // sendData // Envoi du mail, le formulaire doit être OK // // ----------------------------------------- // function faitChamp (f, champ) { //alert ("Champ="+ champ + "=>" + f[champ].value); return champ + "=" + f[champ].value;} function envoiMail (f) { // Préparation des paramètres var data = faitChamp (f, "email*") + "&" + faitChamp (f, "nom") + "&" + faitChamp (f, "adresse") + "&" + faitChamp (f, "telephone")+ "&" + faitChamp (f, "questions")+ "&" + faitChamp (f, "langue"); var page = "PHP/mailer.php"; sendData (data, page, "POST", false, statusMail); return false; }// envoiMail function statusMail (code) { if (code == "OK") { alert (APP.getLabel ("mail_ok")); } else { alert (APP.getLabel ("mail_ko")); } } // statusMail