function mce_success_cb(a){$("#mce-success-response").hide(),$("#mce-error-response").hide();if(a.result=="success")$("#mce-"+a.result+"-response").show(),$("#mce-"+a.result+"-response").html(a.msg),$("#mc-embedded-subscribe-form").each(function(){this.reset()});else{var b=-1,c;try{var d=a.msg.split(" - ",2);d[1]==undefined?c=a.msg:(i=parseInt(d[0]),i.toString()==d[0]?(b=d[0],c=d[1]):(b=-1,c=a.msg))}catch(e){b=-1,c=a.msg}try{if(b==-1)$("#mce-"+a.result+"-response").show(),$("#mce-"+a.result+"-response").html(c);else{err_id="mce_tmp_error_msg",html='<div id="'+err_id+'" style="'+err_style+'"> '+c+"</div>";var f="#mc_embed_signup",g=$(f);ftypes[b]=="address"?(f="#mce-"+fnames[b]+"-addr1",g=$(f).parent().parent().get(0)):ftypes[b]=="date"?(f="#mce-"+fnames[b]+"-month",g=$(f).parent().parent().get(0)):(f="#mce-"+fnames[b],g=$().parent(f).get(0)),g?($(g).append(html),$(f).focus()):($("#mce-"+a.result+"-response").show(),$("#mce-"+a.result+"-response").html(c))}}catch(e){$("#mce-"+a.result+"-response").show(),$("#mce-"+a.result+"-response").html(c)}}}var fnames=[],ftypes=[];fnames[0]="EMAIL",ftypes[0]="email",fnames[1]="FNAME",ftypes[1]="text",fnames[2]="LNAME",ftypes[2]="text";var err_style="";try{err_style=""}catch(e){err_style="margin: 1em 0 0 0; padding: 1em 0.5em 0.5em 0.5em; background: ERROR_BGCOLOR none repeat scroll 0% 0%; font-weight: bold; float: left; z-index: 1; width: 80%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: ERROR_COLOR;"}var head=document.getElementsByTagName("head")[0],style=document.createElement("style");style.type="text/css",style.styleSheet?style.styleSheet.cssText=".mce_inline_error {"+err_style+"}":style.appendChild(document.createTextNode(".mce_inline_error {"+err_style+"}")),head.appendChild(style),$(document).ready(function(a){var b={errorClass:"mce_inline_error",errorElement:"div",onkeyup:function(){},onfocusout:function(){},onblur:function(){}},c=a("#mc-embedded-subscribe-form").validate(b);b={url:"http://ideveloppement.us1.list-manage.com/subscribe/post-json?u=87b16198fd1c8ca99968f2407&id=92cecbaa53&c=?",type:"GET",dataType:"json",contentType:"application/json; charset=utf-8",beforeSubmit:function(){a("#mce_tmp_error_msg").remove(),a(".datefield","#mc_embed_signup").each(function(){var b="filled",c=[],d=0;a(":text",this).each(function(){c[d]=this,d++}),a(":hidden",this).each(function(){c[0].value=="MM"&&c[1].value=="DD"&&c[2].value=="YYYY"?this.value="":c[0].value==""&&c[1].value==""&&c[2].value==""?this.value="":this.value=c[0].value+"/"+c[1].value+"/"+c[2].value})});return c.form()},success:mce_success_cb},a("#mc-embedded-subscribe-form").ajaxForm(b)})
