").append(b.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.expr.pseudos.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length},b.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=b.css(e,"position"),c=b(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=b.css(e,"top"),u=b.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,b.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},b.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){b.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===b.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===b.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=b(e).offset()).top+=b.css(e,"borderTopWidth",!0),i.left+=b.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-b.css(r,"marginTop",!0),left:t.left-i.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===b.css(e,"position");)e=e.offsetParent;return e||ye})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;b.fn[e]=function(r){return W(this,function(e,r,i){var o;if(m(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),b.each(["top","left"],function(e,t){b.cssHooks[t]=Me(h.pixelPosition,function(e,n){if(n)return n=Ie(e,t),_e.test(n)?b(e).position()[t]+"px":n})}),b.each({Height:"height",Width:"width"},function(e,t){b.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){b.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return W(this,function(t,n,i){var o;return m(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?b.css(t,n,s):b.style(t,n,i,s)},t,a?i:void 0,a)}})}),b.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),b.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),b.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=o.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(o.call(arguments)))}).guid=e.guid=e.guid||b.guid++,i},b.holdReady=function(e){e?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=A,b.isFunction=g,b.isWindow=m,b.camelCase=X,b.type=x,b.now=Date.now,b.isNumeric=function(e){var t=b.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return b});var Ut=e.jQuery,Xt=e.$;return b.noConflict=function(t){return e.$===b&&(e.$=Xt),t&&e.jQuery===b&&(e.jQuery=Ut),b},t||(e.jQuery=e.$=b),b}),$(".show_menu").click(function(){return $(".menu_holder").toggleClass("open"),!1}),$(".menu_close").click(function(){return $(".menu_holder").toggleClass("open"),!1}),$(document).ready(function(){initURL()}),$("#totop").click(function(){$("html, body").animate({scrollTop:0},400)}),$(window).scroll(function(){$(this).scrollTop()>0?$("#totop").show(300):$("#totop").hide(300)}),function(e){function t(){if(i){var e=r[i];e&&e.thumb&&e.thumbInitial&&(e.thumb.src=e.thumbInitial)}i=null,o=null}function n(e,n,a){if(t(),e){var s=e.src;if(0==s.indexOf("data:image"))return;if(s.lastIndexOf("/")>0)var u=s.substring(0,s.lastIndexOf("/")+1);var l=e.id;l||(l="rid_"+(new Date).getTime(),e.id=l);var c=1;e.src.indexOf(""+u+c+".jpg")>=0&&(c=2),r[l]={thumb:e,thumbInitial:s,prefix:u,count:n,ext:".jpg",idx:c-1},r[l].thumb&&(o=(new Date).getTime(),i=l,function e(t,n,a){var s=r[t];if(s){var u=s.thumb,l=s.prefix,c=s.count,f=s.ext,d=s.idx;d=d==c?1:d+1,s.idx=d;var p=l+d+(f||".jpg"),h=new Image;h.onload=function(){t==i&&n==o&&(0==h.width&&e(t,n,a),u.src=p,setTimeout(function(){e(t,n,a)},1e3*a))},h.onerror=function(){t==i&&n==o&&e(t,n,a)},h.src=p,r[t]=s}}(l,o,a))}}var r={},i=null,o=null;e.fn.thumbs=function(r){return this.each(function(){var i=r||.35,o=e(this),a=parseInt(o.attr("data-cnt"));a&&a>1&&(o.mouseover(function(){n(this,a,i)}),o.mouseout(function(){t()}))}),this}}(jQuery),$(document).ready(function(){var e=/iphone|ipad|Android|webOS|iPod|BlackBerry|Windows Phone/gi.test(navigator.appVersion);$.fn.thumbs&&(e||$("img[data-cnt]").thumbs()),$("[data-rt]").mousedown(function(){var e=$(this).attr("data-rt");if(e){var t=window.location.href;t.indexOf("#")>0&&(t=t.substring(0,t.indexOf("#"))),(new Image).src=t+(t.indexOf("?")>=0?"&":"?")+"mode=async&action=rotator_videos&pqr="+e,$(this).attr("data-rt","")}})});var domain=document.domain,my_url="//"+domain,current_site=my_url,id_input="#wordinput",id_list="#worddiv",suggest_count=0,suggest_selected=0;function e(e){$(id_list+" div").eq(suggest_selected-1).removeClass("active"),1==e&&suggest_count>suggest_selected?suggest_selected++:-1==e&&suggest_selected>0&&suggest_selected--,suggest_selected>0&&$(id_list+" div").eq(suggest_selected-1).addClass("active")}$(id_input).keyup(function(e){switch(e.keyCode){case 13:if(suggest_selected){e.preventDefault();var t=$(id_list+" div").eq(suggest_selected-1).html(),n=BASE_URL_SEARCH+"/autocomplete/xxx/?keyword="+t;$(location).attr("href",n.url)}break;case 27:case 38:case 40:break;default:var r=$(id_input).val();r.length>=1?$.get(BASE_URL_SEARCH+"/autocomplete/xxx/",{keyword:r}).done(function(e){$(id_list).html("");var t=jQuery.parseJSON(e);suggest_count=t.length,suggest_selected=0,$(t).each(function(e,t){var n=t.type,r=t.title;r+="category"==n||"actor"==n||"tube"==n?''+n+"":''+t.view+"",$(id_list).append('