").append(e).dialog({modal:!0,width:"90%",open:function(){var e=$(this);$(".ui-widget-overlay").bind("click",function(){e.dialog("close")})},buttons:{Ok:function(){$(this).dialog("close")}}})},"undefined"!=typeof console&&void 0!==console.log||(console={log:function(e){}});var jq=queryString2JSON();window.ie=isIE(),window.jq=jq,window.jq.q.ndd||(window.jq.q.ndd=location.hostname.replace("www.","")),window.jq&&window.jq.q&&window.jq.q.ctc&&setTimeout(function(){contact(),$("input[name='ndd']").val(jq.q.ndd)},500),parent.location!=location&&(parent.location.host!=location.host?top.location.href="/":(console.log("lplplpl"),$(document).ready(function(){$("#header-container,#footer,.csm-trigger").hide()})));var captcha=!1;function captchaOk(){captcha=!0}function captchaExp(){captcha=!1}var user=jsonTryParse(f_readCookie("data"));function check(e){var o,t="";return(o=e.name).value.match(o.pattern)?(o.style="",f_createCookie("name",o.value,300,"s")):(t+=" - Nom",o.style="border:1px solid red"),(o=e.email).value.match(o.pattern)?(o.style="",f_createCookie("email",o.value,300,"s")):(t+=" - E-mail",o.style="border:1px solid red"),(o=e.tel).value.match(o.pattern)?(o.style="",f_createCookie("tel",o.value,300,"s")):(t+=" - Téléphone",o.style="border:1px solid red"),e.cg.checked?e.cg.style="width:15px;height:13px;":(t+=" - Conditions générales de vente",e.cg.style="width:15px;height:13px;outline:1px solid red"),captcha?document.getElementById("captcha").style="":(t+=" - Je ne suis pas un robot",document.getElementById("captcha").style="border:1px solid red"),""==t||(jAlert(t,"Veuillez corriger les champs"),!1)}$(document).ready(function(){$("form[name='contactform']").off().on("submit",function(e){console.log("deb446544654"),e.preventDefault();var o=$(this);setTimeout(function(){console.log("deb446544655");var e=o.serialize();jQuery.ajax({url:"/cmd.php",beforeSend:function(e){e.setRequestHeader("api","1")},type:"POST",data:e,success:function(e){console.log("deb446544656");try{var o=JSON.parse(e);if("200"==o.code){var t="";if(o.data&&0").append($("").attr("id","test-modal").addClass("white-popup-block").append($('')).append($(o)).append(o&&""!=o?$("").html(o):"").append($("").html(e)).append($("#msgpopclose").html())).html();$.magnificPopup.open({items:{src:n,type:"inline",preloader:!1,modal:!0},showCloseBtn:!1}),t&&t.close&&$.isFunction(t.close)&&($.magnificPopup.instance.close=t.close),$(".popup-modal-dismiss").click(function(){window.parent.$.magnificPopup.close()})},$.fn.jAlert=window.jAlert,window.cookies=function(){window.dg2&&window.dg2.dialog("close"),$("#tpl_cookies").html($("#txt_cookies").html()),window.dg2=$("#tpl_cookies").dialog({modal:!0,title:$("#txt_cookies").attr("title"),width:"700px",open:function(){var e=$(this);$(".ui-widget-overlay").bind("click",function(){e.dialog("close")})}})};var n={data:[{ndd:location.host.replace("www.","")}]};try{!function e(o){console.log(new Date+" - init redir timeout");var t=parseInt(o);isNaN(t)&&(t=4),setTimeout(function(){window.dgc&&dgc.dialog&&dgc.dialog("isOpen")?e("10"):window.dg2&&dg2.dialog&&dg2.dialog("isOpen")?e("10"):(console.log(new Date+" - redirect to page [/redir]"),top.location.href="/redir")},1e3*t),$("#content").html(Mustache.render($("#f6a").html(),n.data[0]))}("10")}catch(e){alert("Une erreur est survenue, veuillez réessayer dans quelques instants [66354]"),console.log("ex12654:",e)}})Location-VenteTout l'immobilier en France2019 © bayonneimmobilier.com | Nous contacterbayonneimmobilier.combayonneimmobilier.comUne question ?ContactContact 2019 © bayonneimmobilier.com Nous contacterbayonneimmobilier.com Une question ? ContactSite Internet en cours de refonte ...bayonneimmobilier.com va vous rediriger dans un instant FORMULAIRE DE CONTACT