window.f360WebIMHtml = ''; window.f360Setting = {floatRight: true, offsetTop: 250, offsetSide: 10 }; window.f360Config = { isDev: false, assetUrlRoot: 'http://webim.fuhai360.com' }; !function(t,e){function i(){s=!("minWidth"in $("html")[0].style);var i=$('
').html(t.f360WebIMHtml);h.floatRight?i.css({top:h.offsetTop,right:h.offsetSide}):i.css({top:h.offsetTop,left:h.offsetSide}),$(e.body).append(i),i.show(),o(i),i.find("ul > .scrollbar-item").each(n)}function n(){var t=$(this),e=t.width(),i=t.height(),n=t.find(".item-content"),o=0,a=0;if(n.length){if(n.hasClass("item-content-im")){var s=n.find("li").length;s>12?n.data("width",648):s>6?n.data("width",408):n.data("width",288)}n.css(h.floatRight?{right:e}:{left:e}),o=n.data("width")||n.width(),n.width(o),a=n.data("height")||n.height(),n.width(e),n.height(i)}var d=h.floatRight?{right:e,width:o}:{left:e,width:o};t.hover(function(){t.addClass("current-item"),0!=o&&n.show().stop(!0,!0).animate(d,138,function(){a>i&&n.stop().animate({height:a},89)})},function(){if(0==o)return void t.removeClass("current-item");a>i?n.stop().animate({height:i},39,function(){n.stop().animate(d,89,function(){n.hide(),n.width(e),n.height(i),t.removeClass("current-item")})}):n.stop().animate(d,89,function(){n.hide(),n.width(e),n.height(i),t.removeClass("current-item")})})}function o(i){window.onresize=window.onscroll=function(){var n=e.documentElement.scrollTop||t.pageYOffset||e.body.scrollTop;s&&i.css({top:n+h.offsetTop})}}function a(t,i){var n=e.createElement("script");n.type="text/javascript",n.readyState?n.onreadystatechange=function(){"loaded"!=n.readyState&&"complete"!=n.readyState||(n.onreadystatechange=null,i())}:n.onload=function(){i()},n.src=t,document.getElementsByTagName("head")[0].appendChild(n)}var s,d=t.f360Config||{assetUrlRoot:""},h=t.f360Setting||{floatRight:!1,offsetTop:100,offsetSide:36};!function(t){var i=e.createElement("link");i.href=t,i.rel="stylesheet",i.type="text/css",document.getElementsByTagName("head")[0].appendChild(i)}(d.assetUrlRoot+"/assets/style1/index.css"),setTimeout(function(){t.jQuery?i():a("http://cdn.bootcss.com/jquery/1.8.3/jquery.js",function(){i()})},368)}(window,document);