﻿// Name:        BookingControls.Panier.Panier.debug.js
// Assembly:    BookingControls
// Version:     1.0.0.0
// FileVersion: 1.0.0.0
Type.registerNamespace("BookingControls");

BookingControls.Panier = function(element) {
    
    BookingControls.Panier.initializeBase(this, [element]);
    /* ------------------------------------------- Variables ------------------------------------ */
    this._content = null;
    this._dynamicServicePath = null;
    this._dynamicPopulateMethod = null;
    this._dynamicDeleteItemMethod = null;
    this._autoPostBackId = null;

    this._isContentLoaded = false;
    this._buildMode = BookingControls.BuildMode.Light;
    this._resultLight = null;
    this._resultCompact = null;
    this._resultDetail = null;
    this.showApercu = false;
    
    this._viewapercu$delegates;
    this._onselect$delegates;
    this._panierDel$delegates;
};

BookingControls.Panier.prototype = {
    /* ------------------------------------------- Properties ------------------------------------ */
    get_content : function() {
        return this._content;
    },
    set_content : function(value) {
        if (this._content != value) {
            this._content = eval('(' + value + ')'); 
            this._isContentLoaded = true;
            //this._content = value;
            this.raisePropertyChanged('content');
        }
    },

    get_dynamicServicePath : function() {
        return this._dynamicServicePath;
    },
    set_dynamicServicePath : function(value) {
        if (this._dynamicServicePath != value) {
            this._dynamicServicePath = value;
            this.raisePropertyChanged('dynamicServicePath');
        }
    },

    get_dynamicPopulateMethod : function() {
        return this._dynamicPopulateMethod;
    },
    set_dynamicPopulateMethod : function(value) {
        if (this._dynamicPopulateMethod != value) {
            this._dynamicPopulateMethod = value;
            this.raisePropertyChanged('dynamicPopulateMethod');
        }
    },
    
    get_dynamicDeleteItemMethod : function() {
        return this._dynamicDeleteItemMethod;
    },
    set_dynamicDeleteItemMethod : function(value) {
        if (this._dynamicDeleteItemMethod != value) {
            this._dynamicDeleteItemMethod = value;
            this.raisePropertyChanged('dynamicDeleteItemMethod');
        }
    },
    
    get_buildMode : function() {
        return this._buildMode;
    },
    set_buildMode : function(value) {
        if (this._buildMode != value) {
            this._buildMode = value;
            this.raisePropertyChanged('buildMode');
        }
    },
    
    get_autoPostBackId : function() {
        return this._autoPostBackId;
    },
    set_autoPostBackId : function(value) {
        this._autoPostBackId = value;
    },  
    
    is_IE : function(){
        return (Sys.Browser.agent == Sys.Browser.InternetExplorer);
    },
    
    get_total : function(){
        return (this._content) ? this._content.totalPrice : 0;
    },
    
    /* ------------------------------------------- Base Methods ------------------------------------ */
    initialize : function() {
        BookingControls.Panier.callBaseMethod(this, 'initialize');
        var elt = this.get_element();
        $common.addCssClasses(elt, ["panier"]);
        //this._isContentLoaded = this.isnull(this._content) ? false : true;
             
        
        this._viewapercu$delegates = {
            click : Function.createDelegate(this, this._onselect),
            mouseover : Function.createDelegate(this, this._showapercu),
            mouseout : Function.createDelegate(this, this._hideapercu)
        };
        this._onselect$delegates = {
            click : Function.createDelegate(this, this._onselect)
        };
        this._panierDel$delegates = {
            click : Function.createDelegate(this, this._panierDel)
        };
        this._onload$delegate = Function.createDelegate(this, this._onload);
        Sys.Application.add_load(this._onload$delegate);
    },
    
    dispose: function() {        
        Sys.Application.remove_load(this._app_onload$delegate);
    
        BookingControls.Panier.callBaseMethod(this, 'dispose');
    },
    
    /* ------------------------------------------- Methods: Populate ------------------------------------ */  
    add_populated : function(handler) {
        this.get_events().addHandler("populated", handler);
    },
    remove_populated : function(handler) {
        this.get_events().removeHandler("populated", handler);
    },
    raisePopulated : function() {
        var eh = this.get_events().getHandler("populated");
        if (eh) {
            eh(this, Sys.EventArgs.Empty);
        }
    },
    
    populate : function() {
         if (this._dynamicServicePath && this._dynamicPopulateMethod) {
            Sys.Net.WebServiceProxy.invoke(this._dynamicServicePath, this._dynamicPopulateMethod, false, { },
                Function.createDelegate(this, this._onPopulateMethodComplete), Function.createDelegate(this, this._onMethodError),
                0);
         }
    },
    _onPopulateMethodComplete: function(result, userContext, methodName) {
        this.set_content(result);
        //this._content = eval('(' + result + ')');
        //this._isContentLoaded = true;
        this._resultLight = null;
        this._resultCompact = null;
        this._resultDetail = null;
        this._build();
        this.raisePopulated();
    },
    
    deleteItem : function(indexOffre, idOffre) {
         if (this._dynamicServicePath && this._dynamicDeleteItemMethod) {
            Sys.Net.WebServiceProxy.invoke(this._dynamicServicePath, this._dynamicDeleteItemMethod, false, 
                { index: indexOffre },
                Function.createDelegate(this, this._onDeleteItemMethodComplete), Function.createDelegate(this, this._onMethodError),
                idOffre,
                0);
         }
    },
    _onDeleteItemMethodComplete : function (result, userContext, methodName) {
        $common.removeCssClasses(this.get_element(), ["loadingcontent"]);
        this._content = eval('(' + result + ')'); 
        this._isContentLoaded = true;
        this._resultLight = null;
        this._resultCompact = null;
        this._resultDetail = null;
        this._build();
        this.raiseItemRemoved(userContext);
    },
    
    add_itemRemoved : function(handler) {
        this.get_events().addHandler("itemRemoved", handler);
    },
    remove_itemRemoved : function(handler) {
        this.get_events().removeHandler("itemRemoved", handler);
    },
    raiseItemRemoved : function(e) {
        var eh = this.get_events().getHandler("itemRemoved");
        if (eh) {
            eh(this, e);
        }
    },
    
    /* ------------------------------------------- Methods: Build ------------------------------------ */    
    _build: function(){
        var elt = this.get_element();
        elt.innerHTML = "";
        switch(this._buildMode){
            case BookingControls.BuildMode.Light:
                this._buildLight(elt);
                break;
            case BookingControls.BuildMode.Compact:
                this._buildCompact(elt);
                break;
            case BookingControls.BuildMode.Detail:
                this._buildDetail(elt);
                break;
            case BookingControls.BuildMode.Medium:
                this._buildProduct(elt);
                break;
        }
    },
    _buildLight: function(container){
        var elt = container;
        if (!this.is_IE() && this._isContentLoaded && this._resultLight)
        {
            elt.appendChild(this._resultLight);
        }
        else
        {
            var total = 0;
            var itemCount = 0;
            if (this._isContentLoaded)
            {
                $common.removeCssClasses(elt, ["loadingcontent", "errorloadingcontent"]);
                total = this._content.totalPrice;
                itemCount = (this._content.items) ? this._content.items.length : 0;
            }
            else
            {
                $common.addCssClasses(elt, ["loadingcontent"]);
                this.populate();
            }
            this._resultLight = $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["blocPanierContent"], events: this._onselect$delegates }, elt);
            this._resultLight.appendChild(document.createTextNode(String.format("Votre réservation ({0}) : {1} euros", itemCount, total)));
            if (this._isContentLoaded)
                this._buildCompact(elt);
        }
    },
    _buildCompact: function(container){
        var elt = container;
        var id = this.get_id();
        if (!this.is_IE() && this._isContentLoaded && this._resultCompact)
        {
            elt.appendChild(this._resultCompact);
        }
        else
        {
            this._resultCompact = $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["blocPanierApercu"], properties:{id: id+'_popupapercu'}, events: this._onselect$delegates }, elt);
            if (this._content.items)
                for(var i=0; i<this._content.items.length; i++)
                {
                    var item = this._content.items[i];
                    var itemControl = $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["panieritem"]}, this._resultCompact);
                    this._buildOIIdentity(itemControl, item, i);
                }
            var _hoverBehavior = $create(AjaxControlToolkit.HoverMenuBehavior, 
                {"popupElement":$get(id+'_popupapercu'), "PopupPosition":2, "OffsetX": 0, "OffsetY": 0, "dynamicServicePath":"/Booking/BookingResults.aspx", "HoverCssClass":"", "PopDelay":25, "id":id+'_hoverbehavior'}, null, null, elt);

            $common.setVisible(this._resultCompact, false);
        }
    },
    _buildDetail: function(container){
        var elt = container;
        var id = this.get_id();
//        if (!this.is_IE() && this._isContentLoaded && this._resultDetail)
//        {
//            elt.appendChild(this._resultDetail);
//        }
//        else
//        {
            if (this._isContentLoaded)
            {
                $common.removeCssClasses(elt, ["loadingcontent"]);
                this._resultDetail = $common.createElementFromTemplate({ nodeName: "div", cssClasses: ["blocPanierDetail"] }, elt);
                if (this._content.items)
                    for(var i=0; i<this._content.items.length; i++)
                    {
                        var item = this._content.items[i];
                        var itemControl = $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["panieritem"]}, this._resultDetail);
                        this._buildOIIdentity(itemControl, item, i);
                    }
                var controlTotal = $common.createElementFromTemplate({ 
                    nodeName : "div", 
                    cssClasses : ["blocPanierTotal"], 
                    children: [{
                        nodeName : "span",
                        cssClasses : ["text"], 
                        properties: { innerHTML: BookingControls.Resources.Panier_Total }
                        },{
                        nodeName : "span",
                        cssClasses : ["value"], 
                        properties: { innerHTML: String.format("{0} €",this._content.totalPrice) }
                        }] 
                    }, this._resultDetail);
            }
            else
            {
                $common.addCssClasses(elt, ["loadingcontent", "errorloadingcontent"]);
                this.populate();
            }
//        }
    },
    _buildProduct: function(container){
        var elt = container;
        var id = this.get_id();
        if (this._isContentLoaded)
        {
            $common.removeCssClasses(elt, ["loadingcontent"]);
            this._resultDetail = $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["blocPanierDetail"] }, elt);
            if (this._content.items)
                for(var i=0; i<this._content.items.length; i++)
                {
                    var item = this._content.items[i];
                    var itemControl = $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["panieritem"]}, this._resultDetail);
                    this._buildOIIdentityProduct(itemControl, item, i);
                }
            var controlTotal = $common.createElementFromTemplate({ 
                nodeName : "div", 
                cssClasses : ["blocPanierTotal"], 
                children: [{
                    nodeName : "span",
                    cssClasses : ["text"], 
                    properties: { innerHTML: BookingControls.Resources.Panier_Total }
                    },{
                    nodeName : "span",
                    cssClasses : ["value"], 
                    properties: { innerHTML: String.format("{0} €",this._content.totalPrice) }
                    }] 
                }, this._resultDetail);
        }
        else
        {
            $common.addCssClasses(elt, ["loadingcontent", "errorloadingcontent"]);
            this.populate();
        }
    },
    
    _buildOIIdentity : function(target, panierItem, indexItem) {
        var item = $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["blocDetailResultIdentity"] }, target);
        $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["blocDetailResultTitle"], children: [{ nodeName : "span", properties : { innerHTML : panierItem.oiTitle } }] }, item);
        if (panierItem.prestationTitle!='')
            $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["blocDetailResultTitlePrestation"], children: [{ nodeName : "span", properties : { innerHTML : panierItem.prestationTitle } }] }, item);
        $common.createElementFromTemplate({ nodeName : "div", properties : { title : panierItem.oiClassementTitle }, cssClasses : ["blocDetailResultClassement", panierItem.oiClassementCssClass] }, item);
        $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["resumeSearch"], children: [{ nodeName : "span", properties : { innerHTML : panierItem.resumeSearch } }] }, item);
        var quantite = parseInt(panierItem.quantite);
        if (quantite>1)
            $common.createElementFromTemplate({ 
                nodeName : "div",
                cssClasses : ["panieritemtotal"],
                children: [{
                    nodeName : "span",
                    cssClasses : ["pricevalue"],
                    properties : { innerHTML : String.format("{0} * {1}", quantite, panierItem.tarifUnitaire) }
                    }] }, item);
        $common.createElementFromTemplate({ 
                    nodeName : "div",
                    cssClasses : ["panieritemtotal"],
                    children: [{
                        nodeName : "span",
                        cssClasses : ["pricetext"],
                        properties : { innerHTML : "Total&nbsp;:&nbsp;" }
                        }, {
                        nodeName : "span",
                        cssClasses : ["pricevalue"],
                        properties : { innerHTML : panierItem.tarifTotal }
                        }, {
                        nodeName : "span",
                        cssClasses : ["pricetext"],
                        properties : { innerHTML : "&nbsp;€" }
                        }] }, item);
        $common.createElementFromTemplate({
                    nodeName : "div",
                    cssClasses : ["panieritemdelete"],
                    properties : { index: indexItem },
                    children: [{
                        nodeName : "span",
                        properties : { innerHTML : BookingControls.Resources.PanierItem_Delete, index: indexItem }
                        }],
                    events: this._panierDel$delegates }, item);
    },
    
    _buildOIIdentityProduct : function(target, panierItem, indexItem) {
        var item = $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["blocDetailResultIdentity", "product"] }, target);
        $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["blocDetailResultTitle"], children: [{ nodeName : "span", properties : { innerHTML : panierItem.oiTitle } }] }, item);
        
        var quantite = parseInt(panierItem.quantite);
        
        $common.createElementFromTemplate({ 
            nodeName : "div",
            cssClasses : [""],
            children: [{
                nodeName : "span",
                cssClasses : ["panieritemquantity"],
                properties : { innerHTML : String.format("{0} ", quantite) }
                }] }, item);
                    
        if (panierItem.prestationTitle!='')
            $common.createElementFromTemplate({ nodeName : "div", cssClasses : ["blocDetailResultTitlePrestation"], children: [{ nodeName : "span", properties : { innerHTML : panierItem.prestationTitle } }] }, item);

                    
        $common.createElementFromTemplate({ 
                    nodeName : "div",
                    cssClasses : ["panieritemtotal"],
                    children: [{
                        nodeName : "span",
                        cssClasses : ["pricetext"],
                        properties : { innerHTML : "Total&nbsp;:&nbsp;" }
                        }, {
                        nodeName : "span",
                        cssClasses : ["pricevalue"],
                        properties : { innerHTML : panierItem.tarifTotal }
                        }, {
                        nodeName : "span",
                        cssClasses : ["pricetext"],
                        properties : { innerHTML : "&nbsp;€" }
                        }] }, item);
        $common.createElementFromTemplate({
                    nodeName : "div",
                    cssClasses : ["panieritemdelete"],
                    properties : { index: indexItem },
                    children: [{
                        nodeName : "span",
                        properties : { innerHTML : BookingControls.Resources.PanierItem_Delete, index: indexItem }
                        }],
                    events: this._panierDel$delegates }, item);
    },
    
    raiseActivated : function() {
        if (this._autoPostBackId) {
            __doPostBack(this._autoPostBackId, "activated");
        }
    },
    /* ------------------------------------------- Methods: Utils ------------------------------------ */
    isnull: function(elt){
        return (elt === undefined || elt === null);
    },
    
    /* ------------------------------------------- Events ------------------------------------ */
    _onload : function(sender, e) {
        this._build();
    },
    _onMethodError : function(webServiceError, userContext, methodName) {
        this._isContentLoaded = true;
        var elt = this.get_element();
        $common.removeCssClasses(elt, ["loadingcontent"]);
        $common.addCssClasses(elt, ["errorloadingcontent"]);
        elt.appendChild(document.createTextNode(String.format("Erreur {0}",webServiceError.get_statusCode())));
    },
    _showapercu : function(sender, e) {
        this.showApercu = true;
        if (this._resultCompact)
        {
            $common.setVisible(this._resultCompact, true);
            setTimeout(String.format("if($find('{0}').showApercu==false)$common.setVisible($get('{0}'+'_popupapercu'), false);", this.get_id()), 500);
        }
    },
    _hideapercu : function(sender, e) {
            this.showApercu = false;
            //$common.setVisible(this._resultCompact, false);
            //setTimeout(String.format("$common.setVisible($get('{0}'+'_popupapercu'), false);", this.get_id()), 2000);
    },
    _onselect: function(sender, e){
        this.raiseActivated();
    },
    _panierDel: function(sender, e) {
        if (sender.target && !this.isnull(sender.target.index))
        {
            var i = parseInt(sender.target.index);
            if (i >= 0)
            {
                $common.addCssClasses(this.get_element(), ["loadingcontent"]);
                //$common.removeElement(sender.target);
                this.deleteItem(i, this._content.items[i].idOffre);
            }
        }
    }
};

BookingControls.Panier.registerClass('BookingControls.Panier', Sys.UI.Control);

if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();

Type.registerNamespace('BookingControls');
BookingControls.Resources={
"PasswordStrength_InvalidWeightingRatios":"Strength Weighting ratios must have 4 elements",
"Animation_ChildrenNotAllowed":"AjaxControlToolkit.Animation.createAnimation cannot add child animations to type \"{0}\" that does not derive from AjaxControlToolkit.Animation.ParentAnimation",
"PasswordStrength_RemainingSymbols":"{0} symbol characters",
"Service_not":"pas de",
"ExtenderBase_CannotSetClientStateField":"clientStateField can only be set before initialization",
"RTE_PreviewHTML":"Preview HTML",
"ModesPaiement":"Modes de paiements acceptés:",
"PriceFrom":"A partir de&nbsp;",
"PriceUnit":"€",
"ChildAgeFormat":"{0} {1} {2}",
"RTE_JustifyCenter":"Justify Center",
"PasswordStrength_RemainingUpperCase":"{0} more upper case characters",
"Animation_TargetNotFound":"AjaxControlToolkit.Animation.Animation.set_animationTarget requires the ID of a Sys.UI.DomElement or Sys.UI.Control.  No element or control could be found corresponding to \"{0}\"",
"RTE_FontColor":"Font Color",
"RTE_LabelColor":"Label Color",
"Common_InvalidBorderWidthUnit":"A unit type of \"{0}\"\u0027 is invalid for parseBorderWidth",
"Reservation":"Réservation",
"RTE_Heading":"Heading",
"Tabs_PropertySetBeforeInitialization":"{0} cannot be changed before initialization",
"RTE_OrderedList":"Ordered List",
"Tab_Map":"Carto.",
"ShowOtherOffers":"Offres complémentaires",
"NoDispo":"Aucune offre disponible.",
"ReorderList_DropWatcherBehavior_NoChild":"Could not find child of list with id \"{0}\"",
"CascadingDropDown_MethodTimeout":"[Method timeout]",
"RTE_Columns":"Columns",
"RTE_InsertImage":"Insert Image",
"RTE_InsertTable":"Insert Table",
"RTE_Values":"Values",
"RTE_OK":"OK",
"SCEA_Equipements":"Equipements",
"ExtenderBase_PageNotRegisteredForCallbacks":"This Page has not been registered for callbacks",
"Animation_NoDynamicPropertyFound":"AjaxControlToolkit.Animation.createAnimation found no property corresponding to \"{0}\" or \"{1}\"",
"SelectionModeMultiple":"Choix de la date d\u0027arrivée",
"Calendar_Days":"{0} jours",
"Animation_InvalidBaseType":"AjaxControlToolkit.Animation.registerAnimation can only register types that inherit from AjaxControlToolkit.Animation.Animation",
"RTE_UnorderedList":"Unordered List",
"ResizableControlBehavior_InvalidHandler":"{0} handler not a function, function name, or function text",
"OIS_SEJOUR":"Séjour",
"Animation_InvalidColor":"Color must be a 7-character hex representation (e.g. #246ACF), not \"{0}\"",
"RTE_CellColor":"Cell Color",
"PasswordStrength_RemainingMixedCase":"Mixed case characters",
"RTE_Italic":"Italic",
"CascadingDropDown_NoParentElement":"Failed to find parent element \"{0}\"",
"ResumeSearchPeriodeFormat":"du {0} au {1}.",
"ValidatorCallout_DefaultErrorMessage":"This control is invalid",
"RTE_Indent":"Indent",
"ReorderList_DropWatcherBehavior_CallbackError":"Reorder failed, see details below.\\r\\n\\r\\n{0}",
"PopupControl_NoDefaultProperty":"No default property supported for control \"{0}\" of type \"{1}\"",
"RTE_Normal":"Normal",
"DetSimple":"Lit simple",
"PopupExtender_NoParentElement":"Couldn\u0027t find parent element \"{0}\"",
"RTE_ViewValues":"View Values",
"RTE_Legend":"Legend",
"RTE_Labels":"Labels",
"RTE_CellSpacing":"Cell Spacing",
"OIS_LOCATIF":"Locatif",
"PasswordStrength_RemainingNumbers":"{0} more numbers",
"RTE_Border":"Border",
"RTE_Create":"Create",
"RTE_BackgroundColor":"Background Color",
"DetQueen":"Lit Queen size",
"RTE_Cancel":"Cancel",
"OIS_PATRIMOINE_CULTUREL":"Patrimoine culturel",
"RTE_JustifyFull":"Justify Full",
"RTE_JustifyLeft":"Justify Left",
"RTE_Cut":"Cut",
"SCEA_Activites":"Activités",
"OIS_PATRIMOINE_NATUREL":"Patrimoine naturel",
"ResizableControlBehavior_CannotChangeProperty":"Changes to {0} not supported",
"PanierItem_Delete":"Retirer",
"Tab_InfosSup":"Informations complémentaires",
"RTE_ViewSource":"View Source",
"DetKing":"Lit King size",
"Common_InvalidPaddingUnit":"A unit type of \"{0}\" is invalid for parsePadding",
"OIS_COMMERCE_SERVICE":"Commerce et service",
"OffreDureeFormat":"durée: {0} jour(s)",
"RTE_Paste":"Paste",
"ExtenderBase_ControlNotRegisteredForCallbacks":"This Control has not been registered for callbacks",
"DetDouble":"Lit double",
"Calendar_Night":", {0} nuit",
"Calendar_Today":"Aujourd\u0027hui: {0}",
"Common_DateTime_InvalidFormat":"Invalid format",
"ListSearch_DefaultPrompt":"Type to search",
"CollapsiblePanel_NoControlID":"Failed to find element \"{0}\"",
"RTE_ViewEditor":"View Editor",
"Calendar_Nights":", {0} nuits",
"RTE_BarColor":"Bar Color",
"Reservation_add":"Ajouter à la réservation",
"Reservation_del":"Retirer de la réservation",
"PasswordStrength_DefaultStrengthDescriptions":"NonExistent;Very Weak;Weak;Poor;Almost OK;Barely Acceptable;Average;Good;Strong;Excellent;Unbreakable!",
"SearchTypeText":"Nous rechercherons parmi",
"Age":"Age",
"OIS_ITINERAIRE":"Itinéraire",
"Child":"Enfant",
"Total":"Total",
"Tab_Services":"Services",
"Address":"Adresse :",
"RTE_Inserttexthere":"Insert text here",
"OIS_DEGUSTATION":"Dégustation",
"Animation_UknownAnimationName":"AjaxControlToolkit.Animation.createAnimation could not find an Animation corresponding to the name \"{0}\"",
"ExtenderBase_InvalidClientStateType":"saveClientState must return a value of type String",
"Rating_CallbackError":"An unhandled exception has occurred:\\r\\n{0}",
"Tabs_OwnerExpected":"owner must be set before initialize",
"DynamicPopulate_WebServiceTimeout":"Web service call timed out",
"PasswordStrength_RemainingLowerCase":"{0} more lower case characters",
"OIS_VILLAGEVACANCE":"Village vacance",
"OIS_RESTAURANT":"Restaurant",
"Panier_Total":"Total :",
"SCEA_Conforts":"Conforts",
"Animation_MissingAnimationName":"AjaxControlToolkit.Animation.createAnimation requires an object with an AnimationName property",
"RTE_JustifyRight":"Justify Right",
"Tabs_ActiveTabArgumentOutOfRange":"Argument is not a member of the tabs collection",
"RTE_CellPadding":"Cell Padding",
"OIS_HOTEL":"Hôtel",
"RTE_ClearFormatting":"Clear Formatting",
"AlwaysVisible_ElementRequired":"AjaxControlToolkit.AlwaysVisibleControlBehavior must have an element",
"OIS_LOISIR_SPORTIF":"Loisir sportif",
"Slider_NoSizeProvided":"Please set valid values for the height and width attributes in the slider\u0027s CSS classes",
"DynamicPopulate_WebServiceError":"Web Service call failed: {0}",
"PasswordStrength_StrengthPrompt":"Strength: ",
"PasswordStrength_RemainingCharacters":"{0} more characters",
"PasswordStrength_Satisfied":"Nothing more required",
"RTE_Hyperlink":"Hyperlink",
"ResumeSearchPrefixFormat":"Votre demande: {0}",
"Animation_NoPropertyFound":"AjaxControlToolkit.Animation.createAnimation found no property corresponding to \"{0}\"",
"PasswordStrength_InvalidStrengthDescriptionStyles":"Text Strength description style classes must match the number of text descriptions.",
"PasswordStrength_GetHelpRequirements":"Get help on password requirements",
"filterService8":"Animaux admis",
"filterService9":"Accès handicapés",
"filterService0":"Piscine",
"filterService1":"Salle de sports",
"filterService2":"Service en chambre",
"filterService3":"Parking",
"filterService4":"Climatisation",
"filterService5":"Accès Internet WIFI",
"filterService6":"Restaurant",
"filterService7":"Bar",
"DetExtraBed":"Lit supplémentaire",
"PasswordStrength_InvalidStrengthDescriptions":"Invalid number of text strength descriptions specified",
"RTE_Underline":"Underline",
"OIS_FETE_MANIFESTATION":"Fête et manifestation",
"Class_Chaines":"Chaines",
"Class_Handi":"Tourisme Handicap",
"ResumeSearchUniteEnfantsFormat":"et {0} enfant(s)",
"Tabs_PropertySetAfterInitialization":"{0} cannot be changed after initialization",
"RTE_Rows":"Rows",
"RTE_Redo":"Redo",
"RTE_Size":"Size",
"RTE_Undo":"Undo",
"RTE_Bold":"Bold",
"RTE_Copy":"Copy",
"RTE_Font":"Font",
"Lang_Accueil":"Langues parlées à l\u0027accueil",
"PlusDetails":"Plus de détails",
"CascadingDropDown_MethodError":"[Method error {0}]",
"SCEA_Services":"Services",
"RTE_BorderColor":"Border Color",
"filterService19":"Piscine chauffée",
"filterService18":"Club enfant",
"filterService11":"Chauffage",
"filterService10":"Discothèque",
"filterService13":"Garage",
"filterService12":"Cheminée",
"filterService15":"Salle de bain privée",
"filterService14":"Jardin",
"filterService17":"Baby Club",
"filterService16":"Commerce alimentaire",
"Class_Labels":"Labels",
"OIS_TRANSPORT":"Transport",
"Calendar_Day":"{0} jour",
"ResumeSearchUniteFormat":"{0} adulte(s)",
"RTE_Paragraph":"Paragraph",
"RTE_InsertHorizontalRule":"Insert Horizontal Rule",
"VoirOffres":"voir les offres",
"SCEA_Encadrements":"Encadrements",
"Common_UnitHasNoDigits":"No digits",
"RTE_Outdent":"Outdent",
"OIS_LOISIR_CULTUREL":"Loisir culturel",
"OIS_CAMPING":"Camping",
"Common_DateTime_InvalidTimeSpan":"\"{0}\" is not a valid TimeSpan format",
"weekabr":"sem.",
"Animation_CannotNestSequence":"AjaxControlToolkit.Animation.SequenceAnimation cannot be nested inside AjaxControlToolkit.Animation.ParallelAnimation",
"NoPrestaHebergement":"Aucun hébergement disponible",
"day1":"Lun",
"day0":"Dim",
"day3":"Mer",
"day2":"Mar",
"day5":"Ven",
"day4":"Jeu",
"day6":"Sam",
"week":"semaine",
"NoMoreDispo":"Plus de stock disponible",
"Shared_BrowserSecurityPreventsPaste":"Your browser security settings don\u0027t permit the automatic execution of paste operations. Please use the keyboard shortcut Ctrl+V instead.",
"AgeEnfant":"Age Enf."
};

if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();