↑');
$("#compHeaderContent1 > div.dataContentComposants > a.lienAccueilHeader").after('');
$("#langageEN #compHeaderContent1 > div.dataContentComposants > a.lienAccueilHeader").after('');
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 165) {
$("#MenuVersailles .MenuVersailles").toggleClass("StickyNav", true);
$("body").addClass("scrollConpens");
}
else {
$("#MenuVersailles .MenuVersailles").toggleClass("StickyNav", false);
$("body").removeClass("scrollConpens");
}
});
});
if ($("#langageFR").length > 0) {
$(".oubliMDP td.tableColonne1 ").each(function() {
texteLibelle = $(this).html();
$(this).html(texteLibelle.replace('Email* :','E-mail* :'));
});
}
if ($("#langageEN").length > 0) {
$(".oubliMDP td.tableColonne1 ").each(function() {
texteLibelle = $(this).html();
$(this).html(texteLibelle.replace('Email* :','E-mail*:'));
});
}
if ($("#langageEN").length > 0) {
$(".oubliMDP td.tableColonne1 ").each(function() {
texteLibelle = $(this).html();
$(this).html(texteLibelle.replace('New password* :','New password*:'));
});
}
if ($("#langageEN").length > 0) {
$(".oubliMDP td.tableColonne1 ").each(function() {
texteLibelle = $(this).html();
$(this).html(texteLibelle.replace('Password confirmation* :','Password confirmation*:'));
});
}
var currentLanguage = document.querySelector('meta[http-equiv="Content-Language"]').content;
$("body").addClass("i18n-" + currentLanguage);
window.tarteaucitronForceLanguage = currentLanguage;
tarteaucitron.init({
"privacyUrl": "", /* Privacy policy url */
"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
"cookieName": "tarteaucitron", /* Cookie name */
"orientation": "bottom", /* Banner position (top - bottom) */
"showAlertSmall": false, /* Show the small banner on bottom right */
"cookieslist": false, /* Show the cookie list */
"closePopup": false, /* Show a close X on the banner */
"showIcon": false, /* Show cookie icon to manage cookies */
"iconPosition": "BottomRight", /* BottomRight, BottomLeft, TopRight and TopLeft */
"adblocker": false, /* Show a Warning if an adblocker is detected */
"DenyAllCta" : true, /* Show the deny all button */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": true, /* HIGHLY RECOMMANDED Disable auto consent */
"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
"removeCredit": true, /* Remove credit link */
"moreInfoLink": false, /* Show more info link */
"useExternalCss": false, /* If false, the tarteaucitron.css file will be loaded */
"useExternalJs": false, /* If false, the tarteaucitron.js file will be loaded */
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for multisite */
"readmoreLink": "", /* Change the default readmore link */
"mandatory": true, /* Show a message about mandatory cookies */
});
// Google Analytics
//(tarteaucitron.job = tarteaucitron.job || []).push("gajs");
// MATOMO
tarteaucitron.user.matomotmUrl = "https://stats.chateauversailles.fr/js/container_Il0VvImt.js";
(tarteaucitron.job = tarteaucitron.job || []).push("matomotm");
$("#langageFR #pageCompte .compMentionsLegales .headerComposants .footerComposants .contentComposants .dataContentComposants .mentionsLegales .title ").html('Mes données personnelles');
$("#langageEN #pageCompte .compMentionsLegales .headerComposants .footerComposants .contentComposants .dataContentComposants .mentionsLegales .title ").html('My personal data');
$("#langageFR .etat10").attr( "title", "Complet" );
$("#langageEN .etat10").attr( "title", "Sold Out" );
$("#langageFR .etat10 span").html("Complet");
$("#langageEN .etat10 span").html("Sold-out");
$("#langageFR .compObjet .descEtat10").html("Complet");
$("#langageEN .compObjet .descEtat10").html("Sold-out");
if ($("#langageFR").length > 0) {
$("#MenuVersailles .HeaderVersailles").after('');
}
if ($("#langageEN").length > 0) {
$("#MenuVersailles .HeaderVersailles").after('');
}
$("#MenuVersailles .mentionsupp").css("border-bottom","0px");
} );
// -->