text: !function(t){var i=1;t.extend({notifier:function(o){var n,e={type:"error",title:"Titre d'exemple",text:"Ceci est un exemple",positionY:"bottom",positionX:"right",delay:4e3,fadeOutdelay:4e3,number:5,animationIn:"shake",animationIn_duration:"slow",animationOut:"drop",animationOut_duration:"slow"},a=t.extend(e,o);"top"==a.positionY&&"right"==a.positionX?(n="top:17px;right:10px",pos="tr"):"top"==a.positionY&&"left"==a.positionX?(n="top:17px;left:10px",pos="tl"):"bottom"==a.positionY&&"right"==a.positionX?(n="bottom:10px;right:10px",pos="br"):"bottom"==a.positionY&&"left"==a.positionX&&(n="bottom:10px;left:10px",pos="bl"),(!t("#notifier").length>0||t("#notifier").attr("class")!=a.positionY.charAt(0)+a.positionX.charAt(0))&&(t("#notifier").remove(),t("body").append('<ul id="notifier" class="'+pos+'" style="'+n+'">')),t(".notif").length>a.number&&t(".notif").first().remove(),t("#notifier").append('<li id="box'+i+'" class="notif '+a.type+'"><div class="icon"></div><div class="text"><h5>'+a.title.substring(0,30)+"</h5><p>"+a.text.substring(0,100)+'...</p></div><div class="close" data-id="'+i+'"></div></li>'),t("#box"+i).css("margin-bottom","15px").effect(a.animationIn,a.animationIn_duration).delay(a.delay).effect(a.animationOut,a.animationOut_duration,function(){this.remove()}),t(".notif .close").click(function(){var i=t(this).data("id");t("#box"+i).remove()}),i++}})}(jQuery);