function scrollPreventDisappear(n,t){var i=$(t).offset().top,u=$(t).outerHeight(),f=$(n).height(),r=$(n).scrollTop();(r>i+u||r]*>([\s\S]*)<\/title>/.exec(n);return t&&t.length===2?t[1]:n}function ajaxRequest(n){n.timeout==undefined&&(n.timeout=3e4);n.cache==undefined&&(n.cache=!1);n.async==undefined&&(n.async=!0);n.beforeAjax&&n.beforeAjax();n.traditional=n.traditional==undefined||n.traditional==null||n.traditional==!1?!1:!0;$.ajax({type:n.type,dataType:n.dataType,url:n.url,data:n.data,cache:n.cache,async:n.async,timeout:n.timeout,traditional:n.traditional,beforeSend:function(t){n.beforeSend&&n.beforeSend(t)},success:function(t){n.success&&n.success(t);n.endAjax&&n.endAjax()},error:function(t,i,r){if(t.responseText!=undefined&&t.responseText!=null){var u=matchTitle(t.responseText);u?window.alert(u):t.status==0&&alert("��������������Ժ�����")}else t.statusText!=undefined&&t.statusText!=null&&window.alert(t.statusText);n.error&&n.error(t,i,r);n.endAjax&&n.endAjax()}})}function isMobile(){return/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)?!0:!1}(function(){if(!Array.prototype.equals){Array.prototype.equals=function(n){if(!n||this.length!==n.length)return!1;for(var t=0,i=this.length;t-1&&this.splice(t,1)};try{Object.defineProperty(Array.prototype,"remove",{enumerable:!1})}catch(n){}}if(!Array.prototype.clear){Array.prototype.clear=function(){this.splice(0,this.length)};try{Object.defineProperty(Array.prototype,"clear",{enumerable:!1})}catch(n){}}})();String.prototype.format=function(n){var t=typeof n=="object"?n:arguments;return this.replace(/\{([^{}]+)\}/g,function(n,i){return t.hasOwnProperty(i)?t[i]:n})}