function AfficherTexte(t){document.getElementById(t).style.display="block"}function CacherTexte(t){document.getElementById(t).style.display="none"}function AfficherCacher(t){var e=document.getElementById(t).style.display;"block"==e?document.getElementById(t).style.display="none":document.getElementById(t).style.display="block"}jQuery(document).ready(function(){var t;jQuery("#upload_image_button").click(function(e){return e.preventDefault(),t?void t.open():(t=wp.media.frames.file_frame=wp.media({title:Data.title,button:{text:Data.textebutton},multiple:!1}),t.on("select",function(){attachment=t.state().get("selection").first().toJSON(),jQuery("#upload_image").val(attachment.url)}),void t.open())}),jQuery("#upload_favicon_button").click(function(e){return e.preventDefault(),t?void t.open():(t=wp.media.frames.file_frame=wp.media({title:Data.title,button:{text:Data.textebutton},multiple:!1}),t.on("select",function(){attachment=t.state().get("selection").first().toJSON(),jQuery("#upload_favicon").val(attachment.url)}),void t.open())}),jQuery("#upload_b_image_button").click(function(e){return e.preventDefault(),t?void t.open():(t=wp.media.frames.file_frame=wp.media({title:Data.title,button:{text:Data.textebutton},multiple:!1}),t.on("select",function(){attachment=t.state().get("selection").first().toJSON(),jQuery("#upload_b_image").val(attachment.url)}),void t.open())}),jQuery("#upload_slider_image_button").click(function(e){return e.preventDefault(),t?void t.open():(t=wp.media.frames.file_frame=wp.media({title:Data.title,button:{text:Data.textebutton},multiple:!1}),t.on("select",function(){attachment=t.state().get("selection").first().toJSON(),jQuery("#upload_slider_image").val(attachment.url)}),void t.open())})}),jQuery(window).load(function(){jQuery("#wpmcontainer").sticky({topSpacing:32,zIndex:9980,left:0,getWidthFrom:"#divwpmcontainer"})});