(function(){function g(){zk.skipBfUnload=!1}function h(){this.onselectstart=n}function n(a){a=a||window.event;return zk(a.srcElement).isInput()}function p(){this.onselectstart=null}var f={},k={};zk.override(jq.fn,k,{replaceWith:function(a){var b;try{var c;if(c="string"==typeof a&&(b=this[0])&&!jq.nodeName(b,"td","th","table","tr","caption","tbody","thead","tfoot","colgroup","col")){a:{var d=a;if(d)for(var e=0,f=d.length;0<=(e=d.indexOf("</",e))&&e+8<f;)if("script"==d.substring(e+=2,e+6).toLowerCase()){var l=
!0;break a}l=void 0}c=!l}if(c){var g=zjq._beforeOuter(b);jq.cleanData(b.getElementsByTagName("*"));jq.cleanData([b]);b.innerHTML="";b.outerHTML=a;var h=!0;zjq._afterOuter(g);return this}}catch(m){zk.debugLog(m.message||m)}return h?this:k.replaceWith.apply(this,arguments)}});zk.override(zjq,f,{_fixCSS:zk.ie9_?function(a){var b=a.className,c=a.style.display;a.className="";a.style.display="none";a.className=b;a.style.display=c}:function(a){var b=a.style.zoom;a.style.zoom=1;f._fixCSS(a);setTimeout(function(){try{a.style.zoom=
b}catch(c){zk.debugLog(c.message||c)}})}});zk.copy(zjq,{src0:"javascript:'';",fixInput:function(a){try{var b=zk(a);if(b.isInput()){var c=b.getSelectionRange();b.setSelectionRange(c[0],c[1])}}catch(d){zk.debugLog(d.message||d)}},_fixIframe:function(a){try{if(jq.nodeName(a,"iframe"))zk(a).redoSrc();else for(var b=a.getElementsByTagName("iframe"),c=b.length;c--;)zk(b[c]).redoSrc()}catch(d){zk.debugLog(d.message||d)}},_fixClick:function(a){if(zk.confirmClose)for(a=a.target;a;a=a.parentNode)if(jq.nodeName(a,
"a","area")){0<=a.href.indexOf("javascript:")&&(zk.skipBfUnload=!0,setTimeout(g,0));break}},_beforeOuter:zk.$void,_afterOuter:zk.$void});zk.copy(zjq.prototype,{disableSelection:function(){return this.jq.each(h)},enableSelection:function(){return this.jq.each(p)},cellIndex:function(){var a=this.jq[0];if(a)for(var b=a.parentNode.cells,c=0,d=b.length;c<d;c++)if(b[c]==a)return c;return 0}});zk.override(jq.event,zjq._evt={},{fix:function(a){a=zjq._evt.fix.apply(this,arguments);a.which||0!==a.button||(a.which=
1);return a}});zk.ie9&&(zjq.minWidth=function(a){return zk(a).offsetWidth()+1})})();
