Deprecated: ord(): Passing null to parameter #1 ($character) of type string is deprecated in /homepages/28/d993623409/htdocs/htdocs/min/lib/JSMin.php on line 333

Deprecated: ord(): Passing null to parameter #1 ($character) of type string is deprecated in /homepages/28/d993623409/htdocs/htdocs/min/lib/JSMin.php on line 333

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d993623409/htdocs/htdocs/min/lib/JSMin.php:333) in /homepages/28/d993623409/htdocs/htdocs/min/lib/Minify.php on line 348

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d993623409/htdocs/htdocs/min/lib/JSMin.php:333) in /homepages/28/d993623409/htdocs/htdocs/min/lib/Minify.php on line 348

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d993623409/htdocs/htdocs/min/lib/JSMin.php:333) in /homepages/28/d993623409/htdocs/htdocs/min/lib/Minify.php on line 348

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d993623409/htdocs/htdocs/min/lib/JSMin.php:333) in /homepages/28/d993623409/htdocs/htdocs/min/lib/Minify.php on line 348

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d993623409/htdocs/htdocs/min/lib/JSMin.php:333) in /homepages/28/d993623409/htdocs/htdocs/min/lib/Minify.php on line 348

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d993623409/htdocs/htdocs/min/lib/JSMin.php:333) in /homepages/28/d993623409/htdocs/htdocs/min/lib/Minify.php on line 348

Warning: Cannot modify header information - headers already sent by (output started at /homepages/28/d993623409/htdocs/htdocs/min/lib/JSMin.php:333) in /homepages/28/d993623409/htdocs/htdocs/min/lib/Minify.php on line 348
function loadJS(){var fixed=false;$(window).scroll(function(){if(parseInt($(window).scrollTop())>parseInt(50)){if(!fixed){fixed=true;$("#header").addClass('fixedheader');$("#GoTo").hide();}}else{if(fixed){fixed=false;$("#header").removeClass('fixedheader');$("#GoTo").fadeIn().show();}}});if($("#FondFlash").length>0){var heightWAcc=window.innerHeight;$("#FondFlash").css("height",parseInt(heightWAcc)+"px");$("#Flash").css("height",parseInt(heightWAcc)+"px");FlashAcc(idgalerieFlash);} if($(".BgVideo").length>0){$(".BgVideo").css("height",$(window).height()+"px");} if($(".photo-paralax").length>0){$(".photo-paralax").css("height",parseInt($(window).height())+"px");} if($(' .fullscreen').length>0){$('.fullscreen').each(function(){$(this).css("height",$(window).height());});} $('#news .content .item').mouseenter(function(){$(this).find(".texte").animate({opacity:1},500,function(){});});$('#news .content .item').mouseleave(function(){$(this).find(".texte").animate({opacity:0},500,function(){});});$('.itemact').mouseenter(function(){$(this).find(".texte").fadeIn(800).show();$(this).find(".over").fadeIn(800).show()});$('.itemact').mouseleave(function(){$(this).find(".texte").hide();$(this).find(".over").hide();});$("#wall .item").mouseenter(function(){$(this).find(".texte").animate({opacity:1},800);});$("#wall .item").mouseleave(function(){$(this).find(".texte").animate({opacity:0},800);});if($(".blocrouge-para").length>0){$(".blocrouge-para .photo-paralax").css("height",parseInt($(window).height()*1.40)+"px");} if($(".photo-paralax").length>0){} var hheader=$("#header").height();if($("#keywordsearchglobal").length>0){$("#keywordsearchglobal").autocomplete({minLength:2,scrollHeight:220,source:function(req,add){$.ajax({url:'/ajax/search.php',type:"post",dataType:'json',data:'value='+req.term+'&front=1',async:true,cache:true,success:function(data){d="";$.each(data,function(i,item){cl="";d+="
  • "+item.icone+" "+item.titre.replace("\\","")+"
  • ";});$("#ResultSearch").html(d);if(d=="") $("#ResultSearch").hide();else $("#ResultSearch").show();}});}});} if($(".itemproduct").length>0){$(".itemproduct").each(function(){var hentete=$(this).find(".entete").height();var htexte=$(this).find(".texte").height();dif=parseInt(hentete-htexte);$(this).find(".texte").css("margin-top",dif+"px");});} $(".AddItemP").click(function(){var idform=$(this).parent().parent().attr("id");var idp=$(this).parent().parent().find("input[name=idproduit]").val();$.ajax({type:"POST",url:"/ajax/front.php",data:$("#"+idform).serialize(),success:function(data){UpdatePanier();if(typeof gtag!=='undefined'){gtag('event','click',{'event_category':'button','event_label':'ajoutopanier','value':idp});}},error:function(xhr,ajaxOptions,thrownError){alert(xhr.status);alert(thrownError);}});return false;});$('.btnsearch a').click(function(){if($('.searchform').is(':visible')){$('.searchform').hide();$(this).removeClass("actif");}else{$('.searchform').show();$(this).addClass("actif");} return false;});$(".envoyermessage").click(function(){var isvalid=true;var error="";if($("#ContactForm input[name=nom]").val()=='') {isvalid=false;$("#ContactForm input[name=nom]").addClass('ErrorField');}else{$("#ContactForm input[name=nom]").removeClass('ErrorField');} if($("#ContactForm input[name=email]").val()=='') {isvalid=false;$("#ContactForm input[name=email]").addClass('ErrorField');} else {var emailRegex=new RegExp(/^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$/i);var valid=emailRegex.test($("#Form-Email").val());if(!valid){isvalid=false;$("#ContactForm input[name=email]").addClass('ErrorField');}else{$("#ContactForm input[name=email]").removeClass('ErrorField');}} if($("#ContactForm input[name=tel]").val()=='') {isvalid=false;$("#ContactForm input[name=tel]").addClass('ErrorField');} if($("#ContactForm textarea[name=message]").val()=='') {isvalid=false;$("#ContactForm textarea[name=message]").addClass('ErrorField');} if(isvalid) {$.ajax({type:"POST",url:"/ajax/front.php",data:$("#ContactForm").serialize(),success:function(data){$("#ContactForm").html(data);if(typeof gtag!=='undefined'){gtag('event','click',{'event_category':'button','event_label':'demande','value':''});}},error:function(xhr,ajaxOptions,thrownError){alert(xhr.status);alert(thrownError);}});} else {$("#ErrorMsg").html(error);GoTo('ErrorMsg');} return false;});$(".envoyerdevis").click(function(){var isvalid=true;var error="";if($("#ContactForm input[name=nom]").val()=='') {isvalid=false;$("#ContactForm input[name=nom]").addClass('FieldError');}else{$("#ContactForm input[name=nom]").removeClass('FieldError');} if($("#ContactForm input[name=prenom]").val()=='') {isvalid=false;$("#ContactForm input[name=prenom]").addClass('FieldError');}else{$("#ContactForm input[name=prenom]").removeClass('FieldError');} if($("#ContactForm input[name=adresse]").val()=='') {isvalid=false;$("#ContactForm input[name=adresse]").addClass('FieldError');}else{$("#ContactForm input[name=adresse]").removeClass('FieldError');} if($("#ContactForm input[name=codepostal]").val()=='') {isvalid=false;$("#ContactForm input[name=codepostal]").addClass('FieldError');}else{$("#ContactForm input[name=codepostal]").removeClass('FieldError');} if($("#ContactForm input[name=ville]").val()=='') {isvalid=false;$("#ContactForm input[name=ville]").addClass('FieldError');}else{$("#ContactForm input[name=ville]").removeClass('FieldError');} if($("#ContactForm input[name=email]").val()=='') {isvalid=false;$("#ContactForm input[name=email]").addClass('FieldError');} else {var emailRegex=new RegExp(/^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$/i);var valid=emailRegex.test($("#ContactForm input[name=email]").val());if(!valid){isvalid=false;$("#ContactForm input[name=email]").addClass('FieldError');}else{$("#ContactForm input[name=email]").removeClass('FieldError');}} if($("#ContactForm input[name=tel]").val()=='') {isvalid=false;$("#ContactForm input[name=tel]").addClass('FieldError');} return isvalid;});$(".InscriptionNewsletter").click(function(){var formdiv="InscriptionNews";isvalid=true;if(encodeURIComponent($(formdiv+" input[name=email]").val())==""){isvalid=false;$(formdiv+" input[name=email]").addClass("FieldError");}else{$(formdiv+"form input[name=email]").removeClass("FieldError");} if(isvalid) {$.ajax({type:"POST",url:"/ajax/front.php",data:$("#"+formdiv).serialize(),success:function(data){$("#"+formdiv).html(data);if(typeof gtag!=='undefined'){gtag('event','click',{'event_category':'button','event_label':'inscriptionnewsletter','value':''});}},error:function(xhr,ajaxOptions,thrownError){alert(xhr.status);alert(thrownError);}});} return false;}) $(".envoyerprojet").click(function(){var formdiv="ContactForm";isvalid=true;if(encodeURIComponent($("form input[name=nom]").val())==""){isvalid=false;$("form input[name=nom]").addClass("FieldError");}else{$("form input[name=nom]").removeClass("FieldError");} if(encodeURIComponent($("form input[name=email]").val())==""){isvalid=false;$("form input[name=email]").addClass("FieldError");}else{$("form input[name=email]").removeClass("FieldError");} if(encodeURIComponent($("form input[name=tel]").val())==""){isvalid=false;$("form input[name=tel]").addClass("FieldError");}else{$("form input[name=tel]").removeClass("FieldError");} if(encodeURIComponent($("form select[name=typeprojet]").val())=="0"){isvalid=false;$("form select[name=typeprojet]").addClass("FieldError");}else{$("form select[name=typeprojet]").removeClass("FieldError");} if(encodeURIComponent($("form input[name=lieu]").val())==""){isvalid=false;$("form input[name=lieu]").addClass("FieldError");}else{$("form input[name=lieu]").removeClass("FieldError");} if(encodeURIComponent($("form textarea[name=message]").val())==""){isvalid=false;$("form textarea[name=message]").addClass("FieldError");}else{$("form textarea[name=message]").removeClass("FieldError");} if(isvalid) {$.ajax({type:"POST",url:"/ajax/front.php",data:$("#"+formdiv).serialize(),success:function(data){$("#"+formdiv).html(data);if(typeof gtag!=='undefined'){gtag('event','click',{'event_category':'button','event_label':'projet','value':''});}},error:function(xhr,ajaxOptions,thrownError){alert(xhr.status);alert(thrownError);}});} return false;});if($("#Galerie .photo").length>1){heightgal=parseInt($("#Galerie .photo").width()*0.58);$("#Galerie .photo").each(function(){$(this).css("height",heightgal+"px");});$('#Galerie').css("height",heightgal+"px");$('#Galerie').cycle({fx:'fade',timeout:1500,next:'#next',prev:'#prev'});} if($(".slider .item").length>1){if($(".slider").parent().find(".navslider").length>0){$('.slider').cycle({fx:'fade',timeout:5000,next:'.next',prev:'.prev',pagerEvent:'click',pager:"#PageCountAvis",pauseOnPagerHover:true,pagerAnchorBuilder:function(idx,slide){return'';}}).cycle('pause');}else{$('.slider').cycle({fx:'fade',timeout:5000,next:'.next',prev:'.prev'});}} if($(".SliderVertical .texte").length>1&&$(window).width()>960){var heights=$(".SliderVertical .texte").map(function() {return $(this).height();}).get();maxHeight=Math.max.apply(null,heights);$(".SliderVertical").parent().append("");$('.SliderVertical').cycle({fx:'fade',timeout:5000,pagerEvent:'click',pager:'#NavSliderVertical',pauseOnPagerHover:true,pagerAnchorBuilder:function(idx,slide){return'
  • '+$(slide).find("h2").text()+'
  • ';}}).cycle('pause');$(".SliderVertical").css("height",maxHeight+"px");} if($('#SliderDiaporama #Diaporama2 .Picture').length>0){$('#SliderDiaporama #Diaporama2').cycle({fx:'fade',timeout:5000,speed:1500,next:'#DNext',prev:'#DPrev',pagerEvent:'click',pager:'#NavSliderDiapo',pauseOnPagerHover:true,pagerAnchorBuilder:function(idx,slide){return'';},slideResize:true,containerResize:true,width:'100%',height:'100%',fit:1}).cycle("pause");$("#Diaporama2").swipe({swipe:function(event,direction,distance,duration,fingerCount){if(direction=="right") $("#Diaporama2").cycle("next");if(direction=="left") $("#Diaporama2").cycle("prev");},allowPageScroll:"vertical"});$(document.documentElement).keyup(function(event){if(event.keyCode==37){$("#Diaporama2").cycle('prev');}else if(event.keyCode==39){$("#Diaporama2").cycle('next')} else if(event.keyCode==27){$("#SliderDiaporama").fadeOut().hide();}});DiaporamaPlayer();} $(".portfolio-grid .item").mouseenter(function(){$(this).find(".texte").fadeIn(800).show();});$(".portfolio-grid .item").mouseleave(function(){$(this).find(".texte").hide();});$("#listereal .item").mouseenter(function(){$(this).find(".texte").fadeIn(800).show();});$("#listereal .item").mouseleave(function(){$(this).find(".texte").hide();});$(".otherprojet .item").mouseenter(function(){$(this).find(".texte").fadeIn(800).show();});$(".otherprojet .item").mouseleave(function(){$(this).find(".texte").hide();});$(window).resize(function(){if($("#FondFlash #Flash").length>0) {$("#Flash").css("width",parseInt($(window).width())+"px").css("height",parseInt($(window).height())+"px");$("#Flash .item").each(function(){$(this).css("width",parseInt($(window).width())+"px").css("height",parseInt($(window).height())+"px");});$('#Flash').show();} if($("#PhotoArticle").length>0){$("#DetailArticle").css("min-height",$(window).height());if($(window).width()<1000) $("#PhotoArticle").css("height",parseInt($('#PhotoArticle img').height())+"px");} if($("#Team .content .cat").length>0){CalculTeamGrid();} PositionFooter() DiaporamaPlayer();if($('#EnteteProjet .videocontainer').length>0){heightvideo=parseInt($(window).width()*0.58);$('#EnteteProjet .videocontainer .videofond iframe').css("width",$(window).width()).css("height",heightvideo+"px");$('#EnteteProjet').css('height',parseInt(parseInt(heightvideo))+'px');}});if($(".my-slider").length>0){var currentpos=0;var maxmoveposition=$('.my-slider .item').length-nbitemshow;if($(window).width()>800){var nbitemshow=3;var widthitem=parseInt($("#listereal").width()*0.3);}else{var nbitemshow=1;var widthitem=parseInt($("#listereal").width()*0.95);} var sliderwidth=parseInt((widthitem+50)*$('.my-slider .item').length);$(".my-slider .item").css("width",widthitem+"px");$(".my-slider").css("width",sliderwidth+"px").css("height",widthitem);$(".my-slider .item").mouseenter(function(){$(this).find(".texte").fadeIn(800).show();});$(".my-slider .item").mouseleave(function(){$(this).find(".texte").hide();});$("#my-slider").swipe({swipe:function(event,direction,distance,duration,fingerCount,fingerData){if(direction=="left"&¤tpos0){currentpos--;posX=widthitem*currentpos;$("#my-slider").animate({marginLeft:posX},500,function(){});currentpos--;}},threshold:0});} if($(".galerie .slideshow li").length>1){$('.galerie .slideshow').cycle({fx:'fade',timeout:5000,next:".next",prev:".prev"});$(".galerie .slideshow").swipe({swipe:function(event,direction,distance,duration,fingerCount){if(direction=="right") $($this).cycle("next");if(direction=="left") $($this).cycle("prev");},allowPageScroll:"vertical"});} if($(".slideCh div").length>1){$('.slideCh').cycle({fx:'fade',timeout:5000,next:".next",prev:".prev",pagerEvent:'click',pager:'#NavPagerCh',pauseOnPagerHover:true,pagerAnchorBuilder:function(idx,slide){return'';},});$(".slideCh").swipe({swipe:function(event,direction,distance,duration,fingerCount){if(direction=="right") $($this).cycle("next");if(direction=="left") $($this).cycle("prev");},allowPageScroll:"vertical"});} if($(".galeriescroll").length>0){var largeurli=parseInt($('.galeriescroll').width()*0.40);if($(window).width()<960) var largeurli=parseInt($('.galeriescroll').width()-50);var currentpos=0;var posclick=0;$(".scrolling-wrapper").each(function(){$(this).find("li").css("width",largeurli+"px");nb=$(this).find("li").length;$(this).css("width",parseInt((largeurli+50)*nb)+"px");});maxi=2;if($(window).width()<960)maxi=1;if($(".galeriescroll").find(".counter").length>0&&$(".galeriescroll").find(".scrolling-wrapper li").length>maxi){var nbitems=$(".galeriescroll").find(".scrolling-wrapper li").length;for(i=0;i ');}} $(".galeriescroll .next").click(function(){maxwidth=$(this).parent().find(".scrolling-wrapper").width();var element=$(this).parent().find(".scrolling-wrapper");if(currentpos0){currentpos=currentpos-largeurli;$(element).animate({marginLeft:-(currentpos)},300);posclick--;$(".galeriescroll").find(".counter li a").removeClass("selected");$($(".galeriescroll").find(".counter li")[posclick]).find("a").addClass("selected");}});$(".galeriescroll").find(".counter li").click(function(){var index=$(this).index();maxwidth=$(".scrolling-wrapper").width();var element=$(".scrolling-wrapper");currentpos=(largeurli*(index));$(element).animate({marginLeft:-(currentpos)},300);$(".galeriescroll").find(".counter li a").removeClass("selected");$(this).find("a").addClass("selected");posclick=index;return false;});} if($(window).width()<800){$('.galeriediapo').each(function(){height=parseInt($(window).width()*0.85);$(this).css("height",height+"px");$(this).find(".slideshow").css("height",height+"px");$(this).find(".slideshow li").css("height",height+"px");$(this).find(".slideshow li .photo").css("height",height+"px");$(this).find(".slideshow li .photo img").css("height",height+"px");});}else{$('.galeriediapo').each(function(){height=height=parseInt($(window).width()/2*0.75);$(this).css("height",height+"px");$(this).find(".slideshow").css("height",height+"px");$(this).find(".slideshow li").css("height",height+"px");$(this).find(".slideshow li .idx1").css("padding-top",parseInt(height/2)+"px");$(this).find(".slideshow li .idx2").css("padding-top",parseInt(height/2)+"px");});} if($('#txtDate').length>0) {}} function GoTo(div){goto=true;g=parseInt($("#"+div).offset().top);$('html, body').animate({scrollTop:g+"px"},'slow');goto=false;} function FlashAcc(idgal){var widthWAcc=window.innerWidth;var heightWAcc=window.innerHeight;$.ajax({type:"POST",cache:false,url:"/ajax/front.php",async:false,data:"action=affichegalerieacc&idgalerie="+idgal+"&width="+widthWAcc+"&height="+heightWAcc+"&idval=3",success:function(data){$("#Flash").html(data);if($('#Flash .item').length>0) {$('#Flash').cycle({fx:'fade',timeout:4000,speed:1500,slideResize:true,containerResize:true,width:'100%',height:'100%',fit:1,pager:'#NavFlashPager',pagerAnchorBuilder:function(idx,slide){return'
  • 0'+parseInt(idx+1)+'
  • ';},after:function(){$("#Flash .item .legende").hide();$(this).find(".legende").hide().delay(500).fadeIn();}});$("#Flash").swipe({swipe:function(event,direction,distance,duration,fingerCount){if(direction=="right") $("#Flash").cycle("next");if(direction=="left") $("#Flash").cycle("prev");},allowPageScroll:"vertical"});$("#Flash").css("height",parseInt(heightWAcc)+"px");$("#Flash .item").css("height",parseInt(heightWAcc)+"px");if($('#Flash .item').length<2) $('#FondFlash .arrow').hide();} return false;},error:function(xhr,ajaxOptions,thrownError){alert(xhr.status);alert(thrownError);}});} function GetDiaporama(slide){DiaporamaPlayer();$('#Diaporama2').cycle(slide);$('#SliderDiaporama').delay(300).fadeIn(1000).show();} function DiaporamaPlayer(){var widthW=$(window).width();var heightW=parseInt($(window).height());var ratioscreen=widthW/heightW;$('#SliderDiaporama .fleche2').css("top",parseInt((heightW-46)/2)+"px");$('#SliderDiaporama').css("height",parseInt(heightW)+"px").css("width",widthW);$('#SliderDiaporama #Diaporama2').css("height",heightW+"px").css("width",widthW);$('#SliderDiaporama #Diaporama2 .Picture').css("height",heightW+"px").css("width",widthW);$('#SliderDiaporama #Diaporama2 .Picture').each(function(){var ratiophoto=$(this).find("img").width()/$(this).find("img").height();if(ratioscreen>2.5){$(this).find("img").addClass("portrait");}else{if(ratiophoto<1){$(this).find("img").addClass("portrait");} else{$(this).find("img").addClass("paysage");}}});} function CalculTeamGrid(){} function PositionFooter(){var heightWrap=parseInt($("#wrap").height());var WhiteZone=parseInt($(window).height());dif=parseInt(WhiteZone-heightWrap);if(dif>0){$("#Footer").addClass("FixedFooter");}else{$("#Footer").removeClass("FixedFooter");}} function UpdatePanier(){$.ajax({type:"POST",url:"/ajax/front.php",data:"action=getpanier",success:function(data){$(".mypanier").html(data);},error:function(xhr,ajaxOptions,thrownError){alert(xhr.status);alert(thrownError);}});} function UpdateData(value,table,id,field,type,crypter){$.ajax({type:"POST",cache:false,data:"id="+id+"&table="+table+"&field="+field+"&value="+value+"&type="+type+"&crypter="+crypter,url:"/ajax/?action=updatespeed",success:function(data2){},error:function(xhr,ajaxOptions,thrownError){alert(xhr.status);alert(thrownError);}});} function UpdateTotalPrix(id){qte=$('input[name=qte_'+id+']').val();pru=$('input[name=prixu_'+id+']').val();tt=parseFloat(qte*pru);tt=Number(tt).toFixed(2);$('#totalp'+id+'').html(tt+" € HT");} function DeleteToPanier(idp,$redirec) {$.ajax({type:"POST",cache:false,data:"action=deletetopanier&iditempanier="+idp,url:"/ajax/front.php",success:function(data2){if($redirec!="")document.location.href='/panier.php';},error:function(xhr,ajaxOptions,thrownError){alert(xhr.status);alert(thrownError);}});return false;} var positionlogotop=0;;function GestionMenu(btn){if(!$('.MenuDesk').hasClass('visible')){$(btn).addClass('is-active');$(".MenuDesk").fadeIn().show();$(".MenuDesk").addClass('visible');}else{$(btn).removeClass('is-active');$(".MenuDesk").removeClass('visible');$(".MenuDesk").hide();}} function ClicTel(){gtag('event','lead',{'send_to':'telephone'});} function ShowDiv(div){$('#'+div).fadeIn(800).show();if($('#'+div).hasClass("popup")){$('#'+div).appendTo("#AllPopUp");}}