PageSourceSearch

https://newsen.co.kr/script/jindo/jindo.desktop.all.ns.js

js newsen.co.kr collected 2026-10-02 23:55:27 UTC 162,981 bytes, 11 lines download raw bytes

1/**
2�* Jindo2 Framework
3�* @type desktop
4�* @version 2.7.0
5�* NHN_Library:Jindo-2.0.0;JavaScript Framework;
6�*/
7�(function(jindoName){function trim(a){return a.replace(/^(\s| )+/g,"").replace(/(\s| )+$/g,"")}function addExtension(a,b,c){jindo[a][b]?jindo.$Jindo._warn(a+"."+b+" was overwrite."):/^x/.test(b)?jindo[a][b]=c:jindo.$Jindo._warn("The Extension Method("+a+"."+b+") must be used with x prefix.")}function _toArray(a){return _slice.apply(a)}function _createEle(a,b,c,d){var e="R"+(new Date).getTime()+parseInt(Math.random()*1e5,10),f=c.createElement("div");switch(a){case"select":case"table":case"dl":case"ul":case"fieldset":case"audio":f.innerHTML="<"+a+' class="'+e+'">'+b+"</"+a+">";break;case"thead":case"tbody":case"col":f.innerHTML="<table><"+a+' class="'+e+'">'+b+"</"+a+"></table>";break;case"tr":f.innerHTML='<table><tbody><tr class="'+e+'">'+b+"</tr></tbody></table>";break;default:f.innerHTML='<div class="'+e+'">'+b+"</div>"}var g;for(g=f.firstChild;g;g=g.firstChild)if(g.className==e)break;return d?g:g.childNodes}function _kindOf(a,b){return a!=b?a._$superClass?_kindOf(a._$superClass.prototype,b):!1:!0}function hasCustomEvent(a){return!!getCustomEvent(a)||!!normalCustomEvent[a]}function getCustomEvent(a){return customEvent[a]}function addCustomEventListener(a,b,c,d,e){customEventStore[b]||(customEventStore[b]={},customEventStore[b].ele=a),customEventStore[b][c]||(customEventStore[b][c]={}),customEventStore[b][c][d]||(customEventStore[b][c][d]={custom:e})}function setCustomEventListener(a,b,c,d,e){customEventStore[a][b][c].real_listener=d,customEventStore[a][b][c].wrap_listener=e}function getCustomEventListener(a,b,c){var d=customEventStore[a];return d&&d[b]&&d[b][c]?d[b][c]:{}}function getNormalEventListener(a,b,c){var d=normalCustomEvent[b];return d&&d[a]&&d[a][c]?d[a][c]:{}}function hasCustomEventListener(a,b,c){var d=customEventStore[a];return d&&d[b]&&d[b][c]?!0:!1}function _event_getScrollbarSize(){var a={x:0,y:0},b=jindo.$(['<div style="',["overflow:scroll","width:100px","height:100px","position:absolute","left:-1000px","border:0","margin:0","padding:0"].join(" !important;"),' !important;">'].join(""));return document.body.insertBefore(b,document.body.firstChild),a={x:b.offsetWidth-b.scrollWidth,y:b.offsetHeight-b.scrollHeight},document.body.removeChild(b),b=null,_event_getScrollbarSize=function(){return a},a}function _ie_check_scroll(a,b){return document.body.componentFromPoint&&parseInt(_j_ag.match(/(?:MSIE) ([0-9.]+)/)[1],10)==8?_ie_check_scroll=function(a,b){return!/HTMLGenericElement/.test(a+"")&&/(scrollbar|outside)/.test(a.componentFromPoint(b.clientX,b.clientY))}:_ie_check_scroll=function(a,b){return/(scrollbar|outside)/.test(a.componentFromPoint(b.clientX,b.clientY))},_ie_check_scroll(a,b)}function _event_isScroll(a,b){if(a.componentFromPoint)return _ie_check_scroll(a,b);if(_JINDO_IS_FF)try{var c=b.originalTarget.localName;return c==="thumb"||c==="slider"||c==="scrollcorner"||c==="scrollbarbutton"}catch(d){return!0}var e=jindo.$Element(a).css("display");if(e==="inline")return!1;var f={x:b.offsetX||b.layerX||0,y:b.offsetY||b.layerY||0};_JINDO_IS_WK&&(f.x-=a.clientLeft,f.y-=a.clientTop);var g=_event_getScrollbarSize(),h={x:[a.clientWidth,a.clientWidth+g.x],y:[a.clientHeight,a.clientHeight+g.y]};return h.x[0]<=f.x&&f.x<=h.x[1]||h.y[0]<=f.y&&f.y<=h.y[1]}function splitEventSelector(a){var b=a.match(/^([a-z]*)(.*)/),c=trim(b[1]),d=trim(b[2].replace("@",""));return{type:d?"delegate":"normal",event:c,selector:d}}function _makeRandom(){return"e"+(new Date).getTime()+parseInt(Math.random()*1e8,10)}function releaseEventHandlerForAllChildren(a){var b=a._element.all||a._element.getElementsByTagName("*"),c=b.length,d=null,e;for(e=0;e<c;e++)d=b[e],d.nodeType==1&&d.__jindo__id&&jindo.$Element.eventManager.cleanUpUsingKey(d.__jindo__id,!0);b=d=null}function canUseClassList(){var a="classList"in document.body&&"classList"in document.createElementNS("http://www.w3.org/2000/svg","g");return canUseClassList=function(){return a},canUseClassList()}function cssNameToJavaScriptName(a){if(/^(\-(?:moz|ms|o|webkit))/.test(a)){var b=RegExp.$1;a=a.replace(b,vendorPrefixObj[b])}return a.replace(/(:?-(\w))/g,function(a,a,b){return b.toUpperCase()})}function getStyleIncludeVendorPrefix(a){var b=["Transition","Transform","Animation","Perspective"],c=["webkit","-","Moz","O","ms"],d="",e="",f="",g={},h=a||document.body.style;for(var i=0,j=b.length;i<j;i++){d=b[i];for(var k=0,l=c.length;k<l;k++){e=c[k],f=e!="-"?e+d:d.toLowerCase();if(typeof h[f]!="undefined"){g[d.toLowerCase()]=f;break}g[d.toLowerCase()]=!1}}return a?g:(getStyleIncludeVendorPrefix=function(){return g},getStyleIncludeVendorPrefix())}function getTransformStringForValue(a){var b=getStyleIncludeVendorPrefix(a),c=b.transform;return b.transform==="MozTransform"?c="-moz-transform":b.transform==="webkitTransform"?c="-webkit-transform":b.transform==="OTransform"?c="-o-transform":b.transform==="msTransform"&&(c="-ms-transform"),a?c:(getTransformStringForValue=function(){return c},getTransformStringForValue())}function setOpacity(a,b){typeof document.body.style.webkitTransition!="undefined"?setOpacity=function(a,b){a.style.opacity=b}:setOpacity=function(a,b){setTimeout(function(){a.style.opacity=b},50)},setOpacity(a,b)}function _revisionCSSAttr(a,b){var c=jindo.$Element.hook(a);return c?a=c:a=cssNameToJavaScriptName(a).replace(/^(animation|perspective|transform|transition)/i,function(a){return b[a.toLowerCase()]}),a}function changeTransformValue(a,b){return a.replace(/([\s|-]*)(?:transform)/,function(a,c){return trim(c).length>0?a:c+getTransformStringForValue(b)})}function customEventAttach(a,b,c,d,e,f,g){if(!hasCustomEventListener(f.__jindo__id,b,c)){var h=getCustomEvent(b),i=new h,j=i.events;i.real_listener.push(d),i.wrap_listener.push(e);for(var k=0,l=j.length;k<l;k++)i["_fp"+j[k]]=jindo.$Fn(i[j[k]],i).bind(),g(a,j[k],c,i["_fp"+j[k]]);addCustomEventListener(f,f.__jindo__id,b,c,i)}else{var i=getCustomEventListener(f.__jindo__id,b,c).custom;i.real_listener&&(i.real_listener.push(d),i.wrap_listener.push(e))}}function normalCustomEventAttach(a,b,c,d,e,f){normalCustomEvent[b][c]||(normalCustomEvent[b][c]={},normalCustomEvent[b][c].ele=a,normalCustomEvent[b][c][d]={},normalCustomEvent[b][c][d].real_listener=[],normalCustomEvent[b][c][d].wrap_listener=[]),normalCustomEvent[b][c][d].real_listener.push(e),normalCustomEvent[b][c][d].wrap_listener.push(f)}function customEventDetach(a,b,c,d,e,f){var g=getCustomEventListener(e.__jindo__id,b,c),h=g.custom,i=h.events;for(var j=0,k=i.length;j<k;j++)f(a,i[j],c,h["_fp"+i[j]])}var jindo={};if(window[jindoName]){var __old_jindo=window[jindoName];
7for(var i in __old_jindo)jindo[i]=__old_jindo[i]}window[jindoName]=jindo;var _j_ag=navigator.userAgent,_JINDO_IS_IE=_j_ag.indexOf("MSIE")>-1,_JINDO_IS_FF=_j_ag.indexOf("Firefox")>-1,_JINDO_IS_OP=_j_ag.indexOf("Opera")>-1,_JINDO_IS_SP=_j_ag.indexOf("Safari")>-1,_JINDO_IS_SF=_j_ag.indexOf("Apple")>-1,_JINDO_IS_CH=_j_ag.indexOf("Chrome")>-1,_JINDO_IS_WK=_j_ag.indexOf("WebKit")>-1,_JINDO_IS_MO=/(iPad|Mobile|Android|Nokia|webOS|BlackBerry|Opera Mini)/.test(_j_ag),tNumeric="Numeric",tElement="Element+",tDocument="Document+",tFunction="Function+",tArray="Array+",tString="String+",tBoolean="Boolean",tDate="Date+",tRegExp="RegExp",tNode="Node",tHash="Hash+",tNull="Null",tUndefined="Undefined",tWindow="Window+",t$Class="$Class",tArrayStyle="ArrayStyle",tForm="Form+",tVariant="Variant";jindo.$Jindo=function(){var a=arguments.callee,b=a._cached;if(b)return b;if(!(this instanceof a))return new a;b||(a._cached=this),this.version="2.7.0"},jindo.$Jindo.VERSION="2.7.0",jindo.$Jindo.compatible=function(){return!1},jindo.$Jindo.mixin=function(a,b){g_checkVarType(arguments,{obj:["oDestination:"+tHash,"oSource:"+tHash]},"<static> $Jindo#mixin");var c={};for(var d in a)c[d]=a[d];for(d in b)b.hasOwnProperty(d)&&!jindo.$Jindo.isHash(b[d])&&(c[d]=b[d]);return c};var _objToString=Object.prototype.toString,_slice=Array.prototype.slice;jindo.$Error=function(a,b){this.message="\tmethod : "+b+"\n\tmessage : "+a,this.type="Jindo Custom Error",this.toString=function(){return this.message+"\n\t"+this.type}},jindo.$Except={CANNOT_USE_OPTION:"해당 옵션은 사용할 수 없습니다.",CANNOT_USE_HEADER:"type이 jsonp일때 header메서드는 사용할 수 없습니다.",PARSE_ERROR:"파싱중 에러가 발생했습니다.",NOT_FOUND_ARGUMENT:"파라미터가 없습니다.",NOT_STANDARD_QUERY:"css셀렉터가 정상적이지 않습니다.",INVALID_DATE:"날짜 포멧이 아닙니다.",REQUIRE_AJAX:"가 없습니다.",NOT_FOUND_ELEMENT:"엘리먼트가 없습니다.",HAS_FUNCTION_FOR_GROUP:"그룹으로 지우지 않는 경우 detach할 함수가 있어야 합니다.",NONE_ELEMENT:"에 해당하는 엘리먼트가 없습니다.",NOT_SUPPORT_SELECTOR:"는 지원하지 않는 selector입니다.",NOT_SUPPORT_METHOD:"desktop에서 지원하지 않는 메서드 입니다.",JSON_MUST_HAVE_ARRAY_HASH:"get메서드는 json타입이 hash나 array타입만 가능합니다.",MUST_APPEND_DOM:"document에 붙지 않은 엘리먼트를 기준 엘리먼트로 사용할 수 없습니다.",NOT_USE_CSS:"는 css를 사용 할수 없습니다.",NOT_WORK_DOMREADY:"domready이벤트는 iframe안에서 사용할 수 없습니다.",CANNOT_SET_OBJ_PROPERTY:"속성은 오브젝트입니다.\n클래스 속성이 오브젝트이면 모든 인스턴스가 공유하기 때문에 위험합니다.",NOT_FOUND_HANDLEBARS:"",INVALID_MEDIA_QUERY:""};try{_slice.apply(document.documentElement.childNodes)}catch(e){_toArray=function(a){var b=[],c=a.length;for(var d=0;d<c;d++)b.push(a[d]);return b}}jindo.$Jindo.isNumeric=function(a){return!isNaN(parseFloat(a))&&!jindo.$Jindo.isArray(a)&&isFinite(a)},function(){var a={Element:1,Document:9};for(var b in a)jindo.$Jindo["is"+b]=function(a,b){return function(c){return(new RegExp(a)).test(_objToString.call(c))?!0:_objToString.call(c)=="[object Object]"&&c!==null&&c!==undefined&&c.nodeType==b?!0:!1}}(b,a[b]);var c=["Function","Array","String","Boolean","Date","RegExp"];for(var b=0,d=c.length;b<d;b++)jindo.$Jindo["is"+c[b]]=function(a){return function(b){return _objToString.call(b)=="[object "+a+"]"}}(c[b])}(),jindo.$Jindo.isNode=function(a){try{return!!a&&!!a.nodeType}catch(b){return!1}},jindo.$Jindo.isHash=function(a){return _objToString.call(a)=="[object Object]"&&a!==null&&a!==undefined&&!a.nodeType&&!jindo.$Jindo.isWindow(a)},jindo.$Jindo.isNull=function(a){return a===null},jindo.$Jindo.isUndefined=function(a){return a===undefined},jindo.$Jindo.isWindow=function(a){return a&&(a==window.top||a==a.window)},jindo.$Jindo.Break=function(){if(!(this instanceof arguments.callee))throw new arguments.callee},jindo.$Jindo.Continue=function(){if(!(this instanceof arguments.callee))throw new arguments.callee},jindo.$Jindo._F=function(a){return a},jindo.$Jindo._warn=function(a){window.console&&((console.warn&&console.warn(a),!0)||(console.log&&console.log(a),!0))},jindo.$Jindo._maxWarn=function(a,b,c){a>b&&jindo.$Jindo._warn("추가적인 파라미터가 있습니다. : "+c)},jindo.$Jindo.checkVarType=function(a,b,c){var c=c||a.callee.name||"anonymous",d=jindo.$Jindo,e=d.compatible(),f=a.callee["_checkVarType_"+e];if(f)return f(a,b,c);var g=[];g.push("var nArgsLen = aArgs.length;"),g.push("var $Jindo = "+jindoName+".$Jindo;"),e&&(g.push("var nMatchScore;"),g.push("var nMaxMatchScore = -1;"),g.push("var oFinalRet = null;"));var h=[],i=0;for(var j in b)b.hasOwnProperty(j)&&(i=Math.max(b[j].length,i));for(var j in b)if(b.hasOwnProperty(j)){var k=b[j],l=k.length,m=[],n=[],o=[];e||(l<i?n.push("nArgsLen === "+l):n.push("nArgsLen >= "+l)),o.push("var oRet = new $Jindo._varTypeRetObj();");var p=l;for(var q=0;q<l;++q){/^([^:]+):([^\+]*)(\+?)$/.test(k[q]);var r=RegExp.$1,s=RegExp.$2,t=RegExp.$3?!0:!1;if(s==="Variant")e&&n.push(q+" in aArgs"),o.push('oRet["'+r+'"] = aArgs['+q+"];"),p--;else if(d._varTypeList[s]){var u="tmp"+s+"_"+q;m.push("var "+u+" = $Jindo._varTypeList."+s+"(aArgs["+q+"], "+t+");"),n.push(u+" !== "+jindoName+".$Jindo.VARTYPE_NOT_MATCHED"),o.push('oRet["'+r+'"] = '+u+";")}else if(/^\$/.test(s)&&jindo[s]){var v="",w;t&&(w={$Fn:"Function",$S:"String",$A:"Array",$H:"Hash",$ElementList:"Array"}[s]||s.replace(/^\$/,""),jindo.$Jindo["is"+w]&&(v=" || $Jindo.is"+w+"(vNativeArg_"+q+")")),n.push("(aArgs["+q+"] instanceof "+jindoName+"."+s+v+")"),o.push('oRet["'+r+'"] = '+jindoName+"."+s+"(aArgs["+q+"]);")}else{if(!jindo.$Jindo["is"+s])throw new Error("VarType("+s+") Not Found");var v="",x;t&&(x={Function:"$Fn",String:"$S",Array:"$A",Hash:"$H"}[s]||"$"+s,jindo[x]&&(v=" || aArgs["+q+"] instanceof "+jindoName+"."+x)),n.push("($Jindo.is"+s+"(aArgs["+q+"])"+v+")"),o.push('oRet["'+r+'"] = vNativeArg_'+q+";")}}o.push('oRet.__type = "'+j+'";
7'),e?(o.push("nMatchScore = "+(l*1e3+p*10)+" + (nArgsLen === "+l+" ? 1 : 0);"),o.push("if (nMatchScore > nMaxMatchScore) {"),o.push("    nMaxMatchScore = nMatchScore;"),o.push("    oFinalRet = oRet;"),o.push("}")):o.push("return oRet;"),h.push(m.join("\n")),n.length&&h.push("if ("+n.join(" && ")+") {"),h.push(o.join("\n")),n.length&&h.push("}")}g.push(" $Jindo._maxWarn(nArgsLen,"+i+',"'+c+'");');for(var q=0;q<i;++q){var y="aArgs["+q+"]";g.push(["var vNativeArg_",q," = ",y," && ",y,".$value ? ",y,".$value() : ",y+";"].join(""))}return e||h.push("$Jindo.checkVarType._throwException(aArgs, oRules, sFuncName);"),h.push("return oFinalRet;"),a.callee["_checkVarType_"+e]=f=new Function("aArgs,oRules,sFuncName",g.join("\n")+h.join("\n")),f(a,b,c)};var g_checkVarType=jindo.$Jindo.checkVarType;jindo.$Jindo._varTypeRetObj=function(){},jindo.$Jindo._varTypeRetObj.prototype.toString=function(){return this.__type},jindo.$Jindo.checkVarType._throwException=function(a,b,c){var d=function(a){for(var b in jindo)if(jindo.hasOwnProperty(b)){var c=jindo[b];if(typeof c!="function")continue;if(a instanceof c)return b}var d=jindo.$Jindo;for(var b in d)if(d.hasOwnProperty(b)){if(!/^is(.+)$/.test(b))continue;var e=RegExp.$1,f=d[b];if(f(a))return e}return"Unknown"},e=function(a,b,c){var d=["잘못된 파라미터입니다.",""];a&&(d.push("호출한 형태 :"),d.push("\t"+a),d.push(""));if(b.length){d.push("사용 가능한 형태 :");for(var e=0,f=b.length;e<f;e++)d.push("\t"+b[e]);d.push("")}return c&&(d.push("매뉴얼 페이지 :"),d.push("\t"+c),d.push("")),d.unshift(),d.join("\n")},f=[];for(var g=0,h=a.length;g<h;++g)try{f.push(d(a[g]))}catch(i){f.push("Unknown")}var j=c+"("+f.join(", ")+")",k=[];for(var l in b)if(b.hasOwnProperty(l)){var m=b[l];k.push(""+c+"("+m.join(", ").replace(/(^|,\s)[^:]+:/g,"$1")+")")}var n;throw/(\$\w+)#(\w+)?/.test(c)&&(n="http://jindo.nhncorp.com/docs/jindo/archive/Jindo2-2.7.0/desktop/ko/classes/"+encodeURIComponent(RegExp.$1)+".html"+"#method_"+RegExp.$2),new TypeError(e(j,k,n))};var _getElementById=function(a,b){docEle=a.documentElement;var c="jindo"+(new Date).getTime(),d=a.createElement("div");return d.style.display="none",typeof MSApp!="undefined"?MSApp.execUnsafeLocalFunction(function(){d.innerHTML="<input type='hidden' name='"+c+"'/>"}):d.innerHTML="<input type='hidden' name='"+c+"'/>",docEle.insertBefore(d,docEle.firstChild),a.getElementById(c)?_getElementById=function(a,b){var c=a.getElementById(b);if(c==null)return c;if(c.attributes.id&&c.attributes["id"].value==b)return c;var d=a.all[b];for(var e=1;e<d.length;e++)if(d[e].attributes.id&&d[e].attributes["id"].value==b)return d[e]}:_getElementById=function(a,b){return a.getElementById(b)},docEle.removeChild(d),_getElementById(a,b)};jindo.$Jindo.varType=function(){var a=this.checkVarType(arguments,{s4str:["sTypeName:"+tString,"fpFunc:"+tFunction],s4obj:["oTypeLists:"+tHash],g:["sTypeName:"+tString]}),b=jindo.$Jindo._denyTypeListComma;switch(a+""){case"s4str":var c=","+a.sTypeName.replace(/\+$/,"")+",";if(b.indexOf(c)>-1)throw new Error("Not allowed Variable Type");return this._varTypeList[a.sTypeName]=a.fpFunc,this;case"s4obj":var d=a.oTypeLists;for(var e in d)d.hasOwnProperty(e)&&(fpFunc=d[e],arguments.callee.call(this,e,fpFunc));return this;case"g":return this._varTypeList[a.sTypeName]}},jindo.$Jindo.VARTYPE_NOT_MATCHED={},function(){var a=jindo.$Jindo._varTypeList={},b=jindo.$Jindo,c=b.VARTYPE_NOT_MATCHED;a.Numeric=function(a){return b.isNumeric(a)?a*1:c},a.Hash=function(a,d){return d&&jindo.$H&&a instanceof jindo.$H?a.$value():b.isHash(a)?a:c},a.$Class=function(a,d){return!b.isFunction(a)||!a.extend?c:a};var d=[];for(var e in b)b.hasOwnProperty(e)&&/^is(.+)$/.test(e)&&d.push(RegExp.$1);b._denyTypeListComma=d.join(","),b.varType("ArrayStyle",function(a,d){return a?/(Arguments|NodeList|HTMLCollection|global|Window)/.test(_objToString.call(a))||/Object/.test(_objToString.call(a))&&b.isNumeric(a.length)?_toArray(a):c:c}),b.varType("Form",function(a,b){return a?(b&&a.$value&&(a=a.$value()),a.tagName&&a.tagName.toUpperCase()=="FORM"?a:c):c})}
7(),jindo.$=function(a){if(!arguments.length)throw new jindo.$Error(jindo.$Except.NOT_FOUND_ARGUMENT,"$");var b=[],c=arguments,d=c.length,e=c[d-1],f=document,g=null,h=/^<([a-z]+|h[1-5])>$/i,i=/^<([a-z]+|h[1-5])(\s+[^>]+)?>/i;d>1&&typeof e!="string"&&e.body&&(c=Array.prototype.slice.apply(c,[0,d-1]),f=e);for(var j=0;j<d;j++){g=c[j]&&c[j].$value?c[j].$value():c[j];if(jindo.$Jindo.isString(g)||jindo.$Jindo.isNumeric(g)){g+="",g=g.replace(/^\s+|\s+$/g,""),g=g.replace(/<!--(.|\n)*?-->/g,"");if(g.indexOf("<")>-1){if(h.test(g))g=f.createElement(RegExp.$1);else if(i.test(g)){var k={thead:"table",tbody:"table",tr:"tbody",td:"tr",dt:"dl",dd:"dl",li:"ul",legend:"fieldset",option:"select",source:"audio"},l=RegExp.$1.toLowerCase(),m=_createEle(k[l],g,f);for(var j=0,n=m.length;j<n;j++)b.push(m[j]);g=null}}else g=_getElementById(f,g)}g&&g.nodeType&&(b[b.length]=g)}return b.length>1?b:b[0]||null},jindo.$Class=function(oDef){function typeClass(){var t=this,a=[],superFunc=function(m,superClass,func){if(m!="constructor"&&func.toString().indexOf("$super")>-1){var funcArg=func.toString().replace(/function\s*\(([^\)]*)[\w\W]*/g,"$1").split(","),funcStr=func.toString().replace(/function[^{]*{/,"").replace(/(\w|\.?)(this\.\$super|this)/g,function(a,b,c){return b?a:c+".$super"});funcStr=funcStr.substr(0,funcStr.length-1),func=superClass[m]=eval("false||function("+funcArg.join(",")+"){"+funcStr+"}")}return function(){var a=this.$this[m],b=this.$this,c=(b[m]=func).apply(b,arguments);return b[m]=a,c}};while(t._$superClass!==undefined){t.$super=new Object,t.$super.$this=this;for(var x in t._$superClass.prototype)t._$superClass.prototype.hasOwnProperty(x)&&(this[x]===undefined&&x!="$init"&&(this[x]=t._$superClass.prototype[x]),x!="constructor"&&x!="_$superClass"&&typeof t._$superClass.prototype[x]=="function"?t.$super[x]=superFunc(x,t._$superClass,t._$superClass.prototype[x]):t.$super[x]=t._$superClass.prototype[x]);typeof t.$super.$init=="function"&&(a[a.length]=t),t=t.$super}for(var i=a.length-1;i>-1;i--)a[i].$super.$init.apply(a[i].$super,arguments);if(this.$autoBind)for(var i in this)/^\_/.test(i)&&(this[i]=jindo.$Fn(this[i],this).bind());typeof this.$init=="function"&&this.$init.apply(this,arguments)}var oArgs=g_checkVarType(arguments,{"4obj":["oDef:"+tHash]},""+t$Class);if(oDef.$static!==undefined){var i=0,x;for(x in oDef)oDef.hasOwnProperty(x)&&(x=="$static"||i++);for(x in oDef.$static)oDef.$static.hasOwnProperty(x)&&(typeClass[x]=oDef.$static[x]);if(!i)return oDef.$static;delete oDef.$static}return typeClass.prototype=oDef,typeClass.prototype.constructor=typeClass,typeClass.prototype.kindOf=function(a){return _kindOf(this.constructor.prototype,a.prototype)},typeClass.extend=jindo.$Class.extend,typeClass},jindo.$Class.extend=function(a){var b=g_checkVarType(arguments,{"4obj":["oDef:"+t$Class]},"<static> $Class#extend");this.prototype._$superClass=a;var c=a.prototype;for(var d in c)jindo.$Jindo.isHash(c[d])&&jindo.$Jindo._warn(jindo.$Except.CANNOT_SET_OBJ_PROPERTY);for(var e in a)if(a.hasOwnProperty(e)){if(e=="prototype")continue;this[e]=a[e]}return this},jindo.$$=jindo.cssquery=function(){function GEBID(a,b,c){if(a.nodeType===9||a.parentNode&&a.parentNode.tagName)return _getElementById(c,b);var d=a.getElementsByTagName("*");for(var e=0,f=d.length;e<f;e++)if(d[e].id===b)return d[e]}function getElementsByClass(a,b,c){var d=new Array;b==null&&(b=document),c==null&&(c="*");var e=b.getElementsByTagName(c),f=e.length,g=new RegExp("(^|\\s)"+a+"(\\s|$)");for(i=0,j=0;i<f;i++)g.test(e[i].className)&&(d[j]=e[i],j++);return d}var sVersion="3.0",debugOption={repeat:1},UID=1,cost=0,validUID={},bSupportByClassName=document.getElementsByClassName?!0:!1,safeHTML=!1,getUID4HTML=function(a){var b=safeHTML?a._cssquery_UID&&a._cssquery_UID[0]:a._cssquery_UID;return b&&validUID[b]==a?b:(b=UID++,a._cssquery_UID=safeHTML?[b]:b,validUID[b]=a,b)},getUID4XML=function(a){var b=a.getAttribute("_cssquery_UID"),c=safeHTML?b&&b[0]:b;return c||(c=UID++,a.setAttribute("_cssquery_UID",safeHTML?[c]:c)),c},getUID=getUID4HTML,uniqid=function(a){return(a||"")+(new Date).getTime()+parseInt(Math.random()*1e8,10)},getChilds_dontShrink=function(a,b,c){return bSupportByClassName&&c?a.getElementsByClassName?a.getElementsByClassName(c):a.querySelectorAll?a.querySelectorAll(c):getElementsByClass(c,a,b):b=="*"?a.all||a.getElementsByTagName(b):a.getElementsByTagName(b)},clearKeys=function(){backupKeys._keys={}},oDocument_dontShrink=document,bXMLDocument=!1,backupKeys=function(a){var b=backupKeys._keys;a=a.replace(/'(\\'|[^'])*'/g,function(a){var c=uniqid("QUOT");return b[c]=a,c}),a=a.replace(/"(\\"|[^"])*"/g,function(a){var c=uniqid("QUOT");return b[c]=a,c}),a=a.replace(/\[(.*?)\]/g,function(a,c){if(c.indexOf("ATTR")==0)return a;var d="["+uniqid("ATTR")+"]";return b[d]=a,d});var c;do c=!1,a=a.replace(/\(((\\\)|[^)|^(])*)\)/g,function(a,d){if(d.indexOf("BRCE")==0)return a;var e="_"+uniqid("BRCE");return b[e]=a,c=!0,e});while(c);return a},restoreKeys=function(a,b){var c=backupKeys._keys,d,e=b?/(\[ATTR[0-9]+\])/g:/(QUOT[0-9]+|\[ATTR[0-9]+\])/g;do d=!1,a=a.replace(e,function(a){return c[a]?(d=!0,c[a]):a});while(d);return a=a.replace(/_BRCE[0-9]+/g,function(a){return c[a]?c[a]:a}),a},restoreString=function(sKey){var oKeys=backupKeys._keys,sOrg=oKeys[sKey];return sOrg?eval(sOrg):sKey},wrapQuot=function(a){return'"'+a.replace(/"/g,'\\"')+'"'},getStyleKey=function(a){return/^@/.test(a)?a.substr(1):null},getCSS=function(a,b){return a.currentStyle?(b=="float"&&(b="styleFloat"),a.currentStyle[b]||a.style[b]):window.getComputedStyle?oDocument_dontShrink.defaultView.getComputedStyle(a,null).getPropertyValue(b.replace(/([A-Z])/g,"-$1").toLowerCase())||a.style[b]:(b=="float"&&_JINDO_IS_IE&&(b="styleFloat"),a.style[b])},oCamels={accesskey:"accessKey",cellspacing:"cellSpacing",cellpadding:"cellPadding","class":"className",colspan:"colSpan","for":"htmlFor",maxlength:"maxLength",readonly:"readOnly",rowspan:"rowSpan",tabindex:"tabIndex",valign:"vAlign"},getDefineCode=function(a){var b,c;if(bXMLDocument)b='oEl.getAttribute("'+a+'",2)';else if(c=getStyleKey(a))a="$$"+c,b='getCSS(oEl, "'+c+'")';else switch(a){case"checked":b='oEl.checked + ""';break;case"disabled":b='oEl.disabled + ""';break;case"enabled":b='!oEl.disabled + ""';break;case"readonly":b='oEl.readOnly + ""';break;case"selected":b='oEl.selected + ""';break;default:oCamels[a]?b="oEl."+oCamels[a]:b='oEl.getAttribute("'+a+'",2)'}return"_"+a.replace(/\-/g,"_")+" = "+b},getReturnCode=function(a){var b=getStyleKey(a.key),c="_"+(b?"$$"+b:a.key);c=c.replace(/\-/g,"_");var d=a.val?wrapQuot(a.val):"";switch(a.op){case"~=":return"("+c+' && (" " + '+c+' + " ").indexOf(" " + '+d+' + " ") > -1)';case"^=":return"("+c+" && "+c+".indexOf("+d+") == 0)";case"$=":return"("+c+" && "+c+".substr("+c+".length - "+a.val.length+") == "+d+")";case"*=":return"("+c+" && "+c+".indexOf("+d+") > -1)";case"!=":return"("+c+" != "+d+")";case"=":return"("+c+" == "+d+")"}return"("+c+")"},getNodeIndex=function(a){var b=getUID(a),c=oNodeIndexes[b]||0;if(c==0){for(var d=(a.parentNode||a._IE5_parentNode).firstChild;d;d=d.nextSibling){if(d.nodeType!=1)continue;c++,setNodeIndex(d,c)}c=oNodeIndexes[b]}return c},oNodeIndexes={},setNodeIndex=function(a,b){var c=getUID(a);oNodeIndexes[c]=b},unsetNodeIndexes=function(){setTimeout(function(){oNodeIndexes={}},0)},oPseudoes_dontShrink={contains:function(a,b){return(a.innerText||a.textContent||"").indexOf(b)>-1},"last-child":function(a,b){for(a=a.nextSibling;a;a=a.nextSibling)if(a.nodeType==1)return!1;return!0},"first-child":function(a,b){for(a=a.previousSibling;a;a=a.previousSibling)if(a.nodeType==1)return!1;return!0},"only-child":function(a,b){var c=0;for(var d=(a.parentNode||a._IE5_parentNode).firstChild;d;d=d.nextSibling){d.nodeType==1&&c++;if(c>1)return!1}return c?!0:!1},empty:function(a,b){return a.firstChild?!1:!0},"nth-child":function(a,b,c){var d=getNodeIndex(a);return d%b==c},"nth-last-child":function(a,b,c){var d=(a.parentNode||a._IE5_parentNode).lastChild;for(;d;d=d.previousSibling)if(d.nodeType==1)break;var e=getNodeIndex(d),f=getNodeIndex(a),g=e-f+1;return g%b==c},checked:function(a){return!!a.checked},selected:function(a){return!!a.selected},enabled:function(a){return!a.disabled},disabled:function(a){return!!a.disabled}},getExpression=function(a){var b={defines:"",returns:"true"},a=restoreKeys(a,!0),c=[],d=[],e=[],f,g,a=a.replace(/:([\w-]+)(\(([^)]*)\))?/g,function(a,c,d,f){switch(c){case"not":var g=getExpression(f),h=g.defines,i=g.returnsID+g.returnsTAG+g.returns;e.push("!(function() { "+h+" return "+i+" })()");break;case"nth-child":case"nth-last-child":f=restoreString(f),f=="even"?f="2n":f=="odd"&&(f="2n+1");var j,k,l=f.match(/([0-9]*)n([+-][0-9]+)*/);l?(j=l[1]||1,k=l[2]||0):(j=Infinity,k=parseInt(f,10)),e.push("oPseudoes_dontShrink["+wrapQuot(c)+"](oEl, "+j+", "+k+")");break;case"first-of-type":case"last-of-type":c=c=="first-of-type"?"nth-of-type":"nth-last-of-type",f=1;case"nth-of-type":case"nth-last-of-type":f=restoreString(f),f=="even"?f="2n":f=="odd"&&(f="2n+1");var j,k;/([0-9]*)n([+-][0-9]+)*/.test(f)?(j=parseInt(RegExp.$1,10)||1,k=parseInt(RegExp.$2,20)||0):(j=Infinity,k=parseInt(f,10)),b.nth=[j,k,c];break;default:f=f?restoreString(f):"",e.push("oPseudoes_dontShrink["+wrapQuot(c)+"](oEl, "+wrapQuot(f)+")")}return""}),a=a.replace(/\[(@?[\w-]+)(([!^~$*]?=)([^\]]*))?\]/g,function(a,b,d,e,f){b=restoreString(b),f=restoreString(f);if(b=="checked"||b=="disabled"||b=="enabled"||b=="readonly"||b=="selected")f||(e="=",f="true");return c.push({key:b,op:e,val:f}),""}),h=null,a=a.replace(/\.([\w-]+)/g,function(a,b){return c.push({key:"class",op:"~=",val:b}),h||(h=b),""}),a=a.replace(/#([\w-]+)/g,function(a,b){return bXMLDocument?c.push({key:"id",op:"=",val:b}):f=b,""});g=a=="*"?"":a;var i={};for(var j=0,k;k=c[j];j++){var l=k.key;i[l]||d.push(getDefineCode(l)),e.unshift(getReturnCode(k)),i[l]=!0}return d.length&&(b.defines="var "+d.join(",")+";"),e.length&&(b.returns=e.join("&&")),b.quotID=f?wrapQuot(f):"",b.quotTAG=g?wrapQuot(bXMLDocument?g:g.toUpperCase()):"",bSupportByClassName&&(b.quotCLASS=h?wrapQuot(h):""),b.returnsID=f?"oEl.id == "+b.quotID+" && ":"",b.returnsTAG=g&&g!="*"?"oEl.tagName == "+b.quotTAG+" && ":"",b},splitToParts=function(a){var b=[],c=" ",d=a.replace(/(.*?)\s*(!?[+>~ ]|!)\s*/g,function(a,d,e){return d&&b.push({rel:c,body:d}),c=e.replace(/\s+$/g,"")||" ",""});return d&&b.push({rel:c,body:d}),b},isNth_dontShrink=function(a,b,c,d,e){var f=0;for(var g=a;g;g=g[e])g.nodeType==1&&(!b||b==g.tagName)&&f++;return f%c==d},compileParts=function(aParts){var aPartExprs=[];for(var i=0,oPart;oPart=aParts[i];i++)aPartExprs.push(getExpression(oPart.body));var sFunc="",sPushCode="aRet.push(oEl); if (oOptions.single) { bStop = true; }";
7for(var i=aParts.length-1,oPart;oPart=aParts[i];i--){var oExpr=aPartExprs[i],sPush=(debugOption.callback?"cost++;":"")+oExpr.defines,sReturn="if (bStop) {"+(i==0?"return aRet;":"return;")+"}";oExpr.returns=="true"?sPush+=(sFunc?sFunc+"(oEl);":sPushCode)+sReturn:sPush+="if ("+oExpr.returns+") {"+(sFunc?sFunc+"(oEl);":sPushCode)+sReturn+"}";var sCheckTag="oEl.nodeType != 1";oExpr.quotTAG&&(sCheckTag="oEl.tagName != "+oExpr.quotTAG);var sTmpFunc="(function(oBase"+(i==0?", oOptions) { var bStop = false; var aRet = [];":") {");oExpr.nth&&(sPush="if (isNth_dontShrink(oEl, "+(oExpr.quotTAG?oExpr.quotTAG:"false")+","+oExpr.nth[0]+","+oExpr.nth[1]+","+'"'+(oExpr.nth[2]=="nth-of-type"?"previousSibling":"nextSibling")+'")) {'+sPush+"}");switch(oPart.rel){case" ":oExpr.quotID?sTmpFunc+="var oEl = GEBID(oBase,"+oExpr.quotID+",oDocument_dontShrink);"+"var oCandi = oEl;"+"for (; oCandi; oCandi = (oCandi.parentNode || oCandi._IE5_parentNode)) {"+"if (oCandi == oBase) break;"+"}"+"if (!oCandi || "+sCheckTag+") return aRet;"+sPush:sTmpFunc+="var aCandi = getChilds_dontShrink(oBase, "+(oExpr.quotTAG||'"*"')+", "+(oExpr.quotCLASS||"null")+");"+"for (var i = 0, oEl; oEl = aCandi[i]; i++) {"+(oExpr.quotCLASS?"if ("+sCheckTag+") continue;":"")+sPush+"}";break;case">":oExpr.quotID?sTmpFunc+="var oEl = GEBID(oBase,"+oExpr.quotID+",oDocument_dontShrink);"+"if ((oEl.parentNode || oEl._IE5_parentNode) != oBase || "+sCheckTag+") return aRet;"+sPush:sTmpFunc+="for (var oEl = oBase.firstChild; oEl; oEl = oEl.nextSibling) {if ("+sCheckTag+") { continue; }"+sPush+"}";break;case"+":oExpr.quotID?sTmpFunc+="var oEl = GEBID(oBase,"+oExpr.quotID+",oDocument_dontShrink);"+"var oPrev;"+"for (oPrev = oEl.previousSibling; oPrev; oPrev = oPrev.previousSibling) { if (oPrev.nodeType == 1) break; }"+"if (!oPrev || oPrev != oBase || "+sCheckTag+") return aRet;"+sPush:sTmpFunc+="for (var oEl = oBase.nextSibling; oEl; oEl = oEl.nextSibling) { if (oEl.nodeType == 1) break; }if (!oEl || "+sCheckTag+") { return aRet; }"+sPush;break;case"~":oExpr.quotID?sTmpFunc+="var oEl = GEBID(oBase,"+oExpr.quotID+",oDocument_dontShrink);"+"var oCandi = oEl;"+"for (; oCandi; oCandi = oCandi.previousSibling) { if (oCandi == oBase) break; }"+"if (!oCandi || "+sCheckTag+") return aRet;"+sPush:sTmpFunc+="for (var oEl = oBase.nextSibling; oEl; oEl = oEl.nextSibling) {if ("+sCheckTag+") { continue; }"+"if (!markElement_dontShrink(oEl, "+i+")) { break; }"+sPush+"}";break;case"!":oExpr.quotID?sTmpFunc+="var oEl = GEBID(oBase,"+oExpr.quotID+",oDocument_dontShrink);"+"for (; oBase; oBase = (oBase.parentNode || oBase._IE5_parentNode)) { if (oBase == oEl) break; }"+"if (!oBase || "+sCheckTag+") return aRet;"+sPush:sTmpFunc+="for (var oEl = (oBase.parentNode || oBase._IE5_parentNode); oEl; oEl = (oEl.parentNode || oEl._IE5_parentNode)) {if ("+sCheckTag+") { continue; }"+sPush+"}";break;case"!>":oExpr.quotID?sTmpFunc+="var oEl = GEBID(oBase,"+oExpr.quotID+",oDocument_dontShrink);"+"var oRel = (oBase.parentNode || oBase._IE5_parentNode);"+"if (!oRel || oEl != oRel || ("+sCheckTag+")) return aRet;"+sPush:sTmpFunc+="var oEl = (oBase.parentNode || oBase._IE5_parentNode);if (!oEl || "+sCheckTag+") { return aRet; }"+sPush;break;case"!+":oExpr.quotID?sTmpFunc+="var oEl = GEBID(oBase,"+oExpr.quotID+",oDocument_dontShrink);"+"var oRel;"+"for (oRel = oBase.previousSibling; oRel; oRel = oRel.previousSibling) { if (oRel.nodeType == 1) break; }"+"if (!oRel || oEl != oRel || ("+sCheckTag+")) return aRet;"+sPush:sTmpFunc+="for (oEl = oBase.previousSibling; oEl; oEl = oEl.previousSibling) { if (oEl.nodeType == 1) break; }if (!oEl || "+sCheckTag+") { return aRet; }"+sPush;break;case"!~":oExpr.quotID?sTmpFunc+="var oEl = GEBID(oBase,"+oExpr.quotID+",oDocument_dontShrink);"+"var oRel;"+"for (oRel = oBase.previousSibling; oRel; oRel = oRel.previousSibling) { "+"if (oRel.nodeType != 1) { continue; }"+"if (oRel == oEl) { break; }"+"}"+"if (!oRel || ("+sCheckTag+")) return aRet;"+sPush:sTmpFunc+="for (oEl = oBase.previousSibling; oEl; oEl = oEl.previousSibling) {if ("+sCheckTag+") { continue; }"+"if (!markElement_dontShrink(oEl, "+i+")) { break; }"+sPush+"}"}sTmpFunc+=(i==0?"return aRet;":"")+"})",sFunc=sTmpFunc}return eval("var fpCompiled = "+sFunc+";"),fpCompiled},parseQuery=function(a){var b=a,c=arguments.callee,d=c._cache[b];if(!d){a=backupKeys(a);var e=splitToParts(a);d=c._cache[b]=compileParts(e),d.depth=e.length}return d};parseQuery._cache={};var parseTestQuery=function(sQuery){var fpSelf=arguments.callee,aSplitQuery=backupKeys(sQuery).split(/\s*,\s*/),aResult=[],nLen=aSplitQuery.length,aFunc=[];for(var i=0;i<nLen;i++)aFunc.push(function(sQuery){var sCacheKey=sQuery,fpFunction=fpSelf._cache[sCacheKey];if(!fpFunction){sQuery=backupKeys(sQuery);var oExpr=getExpression(sQuery);eval("fpFunction = function(oEl) { "+oExpr.defines+"return ("+oExpr.returnsID+oExpr.returnsTAG+oExpr.returns+"); };")}return fpFunction}(restoreKeys(aSplitQuery[i])));return aFunc};parseTestQuery._cache={};var distinct=function(a){var b=[],c={};for(var d=0,e;e=a[d];d++){var f=getUID(e);if(c[f])continue;b.push(e),c[f]=!0}return b},markElement_dontShrink=function(a,b){var c=getUID(a);return cssquery._marked[b][c]?!1:(cssquery._marked[b][c]=!0,!0)},getParentElement=function(a){var b;a=a&&a.$value?a.$value():a;if(jindo.$Jindo.isString(a))try{a=document.getElementById(a)}catch(c){a=document}return a||(a=document),b=a.nodeType,b!=1&&b!=9&&b!=10&&b!=11&&(a=a.ownerDocument||a.document),a||a.ownerDocument||a.document},oResultCache=null,bUseResultCache=!1,bExtremeMode=!1,old_cssquery=function(a,b,c){var d=g_checkVarType(arguments,{"4str":["sQuery:"+tString],"4var":["sQuery:"+tString,"oParent:"+tVariant],"4var2":["sQuery:"+tString,"oParent:"+tVariant,"oOptions:"+tVariant]},"cssquery");b=getParentElement(b),c=c&&c.$value?c.$value():c;if(typeof a=="object"){var e={};for(var f in a)a.hasOwnProperty(f)&&(e[f]=arguments.callee(a[f],b,c));return e
8}cost=0;var g=(new Date).getTime(),h;for(var i=0,j=debugOption.repeat;i<j;i++)h=function(a,b,c){c?c.oneTimeOffCache||(c.oneTimeOffCache=!1):c={oneTimeOffCache:!1},cssquery.safeHTML(c.oneTimeOffCache),b||(b=document),oDocument_dontShrink=b.ownerDocument||b.document||b;if(/\bMSIE\s([0-9]+(\.[0-9]+)*);/.test(_j_ag)&&parseFloat(RegExp.$1)<6){try{oDocument_dontShrink.location}catch(d){oDocument_dontShrink=document}oDocument_dontShrink.firstChild=oDocument_dontShrink.getElementsByTagName("html")[0],oDocument_dontShrink.firstChild._IE5_parentNode=oDocument_dontShrink}bXMLDocument=typeof XMLDocument!="undefined"?oDocument_dontShrink.constructor===XMLDocument:!oDocument_dontShrink.location,getUID=bXMLDocument?getUID4XML:getUID4HTML,clearKeys();var e=backupKeys(a).split(/\s*,\s*/),f=[],g=e.length;for(var h=0;h<g;h++)e[h]=restoreKeys(e[h]);for(var h=0;h<g;h++){var i=e[h],j=null,k=i+(c.single?"_single":""),l=bUseResultCache?oResultCache[k]:null;if(l)for(var m=0,n;n=l[m];m++)if(n.parent==b){j=n.result;break}if(!j){var o=parseQuery(i);cssquery._marked=[];for(var m=0,p=o.depth;m<p;m++)cssquery._marked.push({});j=distinct(o(b,c)),bUseResultCache&&!c.oneTimeOffCache&&(oResultCache[k]instanceof Array||(oResultCache[k]=[]),oResultCache[k].push({parent:b,result:j}))}f=f.concat(j)}return unsetNodeIndexes(),f}(a,b,c);return g=(new Date).getTime()-g,debugOption.callback&&debugOption.callback(a,cost,g),h},cssquery;if(document.querySelectorAll){function _isNonStandardQueryButNotException(a){return/\[\s*(?:checked|selected|disabled)/.test(a)}function _commaRevise(a,b){return a.replace(/\,/gi,b)}function _startCombinator(a){return/^[~>+]/.test(a)}function _addQueryId(a,b){var c,d;return a.id?c="#"+a.id:(d="C"+(new Date).getTime()+Math.floor(Math.random()*1e6),a.setAttribute(b,d),c="["+b+"="+d+"]"),c}var _div=document.createElement("div");cssquery=function(a,b,c){var d=g_checkVarType(arguments,{"4str":["sQuery:"+tString],"4var":["sQuery:"+tString,"oParent:"+tVariant],"4var2":["sQuery:"+tString,"oParent:"+tVariant,"oOptions:"+tVariant]},"cssquery"),e,f,g,h,i,j,k,l;b=getParentElement(b),c=c&&c.$value?c.$value():c,a=a.replace(/\[(.*?)\=(\d*)\]/g,function(a,b,c){return"["+b+"='"+c+"']"}),g=b.nodeType;try{if(_isNonStandardQueryButNotException(a))return old_cssquery(a,b,c);l=(b.tagName||"").toUpperCase();if(g!==9&&l!="HTML")g===11&&(b=b.cloneNode(!0),k=_div.cloneNode(!0),k.appendChild(b),b=k,k=null),j=_addQueryId(b,"queryid"),h=!0,(_parent=b.parentNode)||l==="BODY"||jindo.$Element._contain((b.ownerDocument||b.document).body,b)?(i=b,b=_parent):(k=_div.cloneNode(!0),i=b,k.appendChild(i),b=k),a=_commaRevise(j+" "+a,", "+j+" ");else{b=b.ownerDocument||b.document||b;if(_startCombinator(a))return[]}c&&c.single?f=[b.querySelector(a)]:f=_toArray(b.querySelectorAll(a))}catch(m){f=old_cssquery(a,b,c)}return h&&(i.removeAttribute("queryid"),k=null),f}}else cssquery=old_cssquery;return cssquery.test=function(a,b){clearKeys();try{var c=g_checkVarType(arguments,{"4ele":["oEl:"+tElement,"sQuery:"+tString],"4doc":["oEl:"+tDocument,"sQuery:"+tString]},"<static> cssquery#test");eEl=c.oEl,b=c.sQuery}catch(d){return!1}var e=parseTestQuery(b);for(var f=0,g=e.length;f<g;f++)if(e[f](a))return!0;return!1},cssquery.useCache=function(a){return a!==undefined&&(bUseResultCache=a,cssquery.clearCache()),bUseResultCache},cssquery.clearCache=function(){oResultCache={}},cssquery.getSingle=function(a,b,c){return c=c&&c.$value?c.$value():c,cssquery(a,b,{single:!0,oneTimeOffCache:c?!!c.oneTimeOffCache:!1})[0]||null},cssquery.xpath=function(a,b){return a=a&&a.$value?a.$value():a,a=a.replace(/\/(\w+)(\[([0-9]+)\])?/g,function(a,b,c,d){return d=d||"1",">"+b+":nth-of-type("+d+")"}),old_cssquery(a,b)},cssquery.debug=function(a,b){var c=g_checkVarType(arguments,{"4fun":["fpCallback:"+tFunction],"4fun2":["fpCallback:"+tFunction,"nRepeat:"+tNumeric]},"<static> cssquery#debug");debugOption.callback=c.fpCallback,debugOption.repeat=c.nRepeat||1},cssquery.safeHTML=function(a){return arguments.length>0&&(safeHTML=a&&_JINDO_IS_IE),safeHTML||!_JINDO_IS_IE},cssquery.version=sVersion,cssquery.release=function(){_JINDO_IS_IE&&(delete val
8idUID,validUID={},bUseResultCache&&cssquery.clearCache())},cssquery._getCacheInfo=function(){return{uidCache:validUID,eleCache:oResultCache}},cssquery._resetUID=function(){UID=0},cssquery.extreme=function(a){arguments.length==0&&(a=!0),bExtremeMode=a},cssquery}(),jindo.$Agent=function(){var a=arguments.callee,b=a._cached;if(b)return b;if(!(this instanceof a))return new a;b||(a._cached=this),this._navigator=navigator,this._dm=document.documentMode},jindo.$Agent.prototype.navigator=function(){function g(a,b){return(b||"").indexOf(a)>-1}var a={},b=-1,c=-1,d=this._navigator.userAgent,e=this._navigator.vendor||"",f=this._dm;a.getName=function(){var b="";for(x in a)typeof a[x]=="boolean"&&a[x]&&a.hasOwnProperty(x)&&(b=x);return b},a.webkit=g("WebKit",d),a.opera=window.opera!==undefined||g("Opera",d),a.ie=!a.opera&&g("MSIE",d),a.chrome=a.webkit&&g("Chrome",d),a.safari=a.webkit&&!a.chrome&&g("Apple",e),a.firefox=g("Firefox",d),a.mozilla=g("Gecko",d)&&!a.safari&&!a.chrome&&!a.firefox,a.camino=g("Camino",e),a.netscape=g("Netscape",d),a.omniweb=g("OmniWeb",d),a.icab=g("iCab",e),a.konqueror=g("KDE",e),a.mobile=(g("Mobile",d)||g("Android",d)||g("Nokia",d)||g("webOS",d)||g("Opera Mini",d)||g("BlackBerry",d)||g("Windows",d)&&g("PPC",d)||g("Smartphone",d)||g("IEMobile",d))&&!g("iPad",d),a.msafari=!g("IEMobile",d)&&g("Mobile",d)||g("iPad",d)&&g("Safari",d),a.mopera=g("Opera Mini",d),a.mie=g("PPC",d)||g("Smartphone",d)||g("IEMobile",d);try{if(a.ie)if(f>0){b=f;if(d.match(/(?:Trident)\/([0-9.]+)/)){var h=parseInt(RegExp.$1,10);h>3&&(c=h+4)}else c=b}else c=b=d.match(/(?:MSIE) ([0-9.]+)/)[1];else a.safari||a.msafari?(b=parseFloat(d.match(/Safari\/([0-9.]+)/)[1]),b==100?b=1.1:d.match(/Version\/([0-9.]+)/)?b=RegExp.$1:b=[1,1.2,-1,1.3,2,3][Math.floor(b/100)]):a.mopera?b=d.match(/(?:Opera\sMini)\/([0-9.]+)/)[1]:a.firefox||a.opera||a.omniweb?b=d.match(/(?:Firefox|Opera|OmniWeb)\/([0-9.]+)/)[1]:a.mozilla?b=d.match(/rv:([0-9.]+)/)[1]:a.icab?b=d.match(/iCab[ \/]([0-9.]+)/)[1]:a.chrome&&(b=d.match(/Chrome[ \/]([0-9.]+)/)[1]);a.version=parseFloat(b),a.nativeVersion=parseFloat(c),isNaN(a.version)&&(a.version=-1)}catch(i){a.version=-1}return this.navigator=function(){return a},a},jindo.$Agent.prototype.os=function(){var a={};return u=this._navigator.userAgent,p=this._navigator.platform,f=function(a,b){return b.indexOf(a)>-1},aMatchResult=null,a.getName=function(){var b="";for(x in a)a[x]===!0&&a.hasOwnProperty(x)&&(b=x);return b},a.win=f("Win",p),a.mac=f("Mac",p),a.linux=f("Linux",p),a.win2000=a.win&&(f("NT 5.0",u)||f("Windows 2000",u)),a.winxp=a.win&&f("NT 5.1",u),a.xpsp2=a.winxp&&f("SV1",u),a.vista=a.win&&f("NT 6.0",u),a.win7=a.win&&f("NT 6.1",u),a.win8=a.win&&f("NT 6.2",u),a.ipad=f("iPad",u),a.iphone=f("iPhone",u)&&!a.ipad,a.android=f("Android",u),a.nokia=f("Nokia",u),a.webos=f("webOS",u),a.blackberry=f("BlackBerry",u),a.mwin=f("PPC",u)||f("Smartphone",u)||f("IEMobile",u)||f("Windows Phone",u),a.ios=a.ipad||a.iphone,a.symbianos=f("SymbianOS",u),a.version=null,a.win?(aMatchResult=u.match(/Windows NT ([\d|\.]+)/),aMatchResult!=null&&aMatchResult[1]!=undefined&&(a.version=aMatchResult[1])):a.mac?(aMatchResult=u.match(/Mac OS X ([\d|_]+)/),aMatchResult!=null&&aMatchResult[1]!=undefined&&(a.version=String(aMatchResult[1]).split("_").join("."))):a.linux||(a.android?(aMatchResult=u.match(/Android ([\d|\.]+)/),aMatchResult!=null&&aMatchResult[1]!=undefined&&(a.version=aMatchResult[1])):a.ios?(aMatchResult=u.match(/(iPhone )?OS ([\d|_]+)/),aMatchResult!=null&&aMatchResult[2]!=undefined&&(a.version=String(aMatchResult[2]).split("_").join("."))):a.blackberry?(aMatchResult=u.match(/Version\/([\d|\.]+)/),aMatchResult==null&&(aMatchResult=u.match(/BlackBerry\s?\d{4}\/([\d|\.]+)/)),aMatchResult!=null&&aMatchResult[1]!=undefined&&(a.version=aMatchResult[1])):a.symbianos?(aMatchResult=u.match(/SymbianOS\/(\d+.\w+)/),aMatchResult!=null&&aMatchResult[1]!=undefined&&(a.version=aMatchResult[1])):a.webos?(aMatchResult=u.match(/webOS\/([\d|\.]+)/),aMatchResult!=null&&aMatchResult[1]!=undefined&&(a.version=aMatchResult[1])):a.mwin&&(aMatchResult=u.match(/Windows CE ([\d|\.]+)/),aMatchResult!=null&&aMatchResult[1]!=undefined&&(a.version=aMatchResult[1]),!a.version&&(aMatchResult=u.match(/Windows Phone (OS )?([\d|\.]+)/))&&
8(a.version=aMatchResult[2]))),this.os=function(){return a},a},jindo.$Agent.prototype.flash=function(){var a={},b=this._navigator.plugins,c=this._navigator.mimeTypes,d=null;a.installed=!1,a.version=-1;if(!jindo.$Jindo.isUndefined(b)&&b.length)d=b["Shockwave Flash"],d&&(a.installed=!0,d.description&&(a.version=parseFloat(d.description.match(/[0-9.]+/)[0]))),b["Shockwave Flash 2.0"]&&(a.installed=!0,a.version=2);else if(!jindo.$Jindo.isUndefined(c)&&c.length)d=c["application/x-shockwave-flash"],a.installed=d&&d.enabledPlugin;else try{a.version=parseFloat((new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").match(/(.\d?),/)[1]),a.installed=!0}catch(e){}return this.flash=function(){return a},this.info=this.flash,a},jindo.$Agent.prototype.silverlight=function(){var a=new Object,b=this._navigator.plugins,c=null;a.installed=!1,a.version=-1;if(!jindo.$Jindo.isUndefined(b)&&b.length)c=b["Silverlight Plug-In"],c&&(a.installed=!0,a.version=parseInt(c.description.split(".")[0],10),c.description=="1.0.30226.2"&&(a.version=2));else try{c=new ActiveXObject("AgControl.AgControl"),a.installed=!0,c.isVersionSupported("3.0")?a.version=3:c.isVersionSupported("2.0")?a.version=2:c.isVersionSupported("1.0")&&(a.version=1)}catch(d){}return this.silverlight=function(){return a},a},jindo.$A=function(a){var b=arguments.callee;if(a instanceof b)return a;
8if(!(this instanceof b))try{return jindo.$Jindo._maxWarn(arguments.length,1,"$A"),new b(a)}catch(c){if(c instanceof TypeError)return null;throw c}var d=g_checkVarType(arguments,{"4voi":[],"4arr":["aPram:"+tArray],"4nul":["oNull:"+tNull],"4und":["oUndefined:"+tUndefined],arrt:["aPram:"+tArrayStyle]},"$A");d==null&&(a=[]);switch(d+""){case"arrt":case"4arr":a=d.aPram;break;case"4nul":case"4und":case"4voi":a=[]}this._array=[];for(var e=0;e<a.length;e++)this._array[this._array.length]=a[e]},jindo.$A.checkVarTypeObj={"4fun":["fCallback:"+tFunction],"4thi":["fCallback:"+tFunction,"oThis:"+tVariant]},jindo.$A.prototype.toString=function(){return this._array.toString()},jindo.$A.prototype.get=function(a){return g_checkVarType(arguments,{"4num":["nIndex:"+tNumeric]},"$A#get"),this._array[a]},jindo.$A.prototype.set=function(a,b){return g_checkVarType(arguments,{"4num":["nIndex:"+tNumeric,"vValue:"+tVariant]},"$A#set"),this._array[a]=b,this},jindo.$A.prototype.length=function(a,b){var c=g_checkVarType(arguments,{"4num":[jindo.$Jindo._F("nLen:"+tNumeric)],sv:["nLen:"+tNumeric,"vValue:"+tVariant],"4voi":[]},"$A#length");switch(c+""){case"4num":return this._array.length=c.nLen,this;case"sv":var d=this._array.length;this._array.length=c.nLen;for(var e=d;e<a;e++)this._array[e]=c.vValue;return this;case"4voi":return this._array.length}},jindo.$A.prototype.has=function(a){return this.indexOf(a)>-1},jindo.$A.prototype.indexOf=function(a){return this._array.indexOf?jindo.$A.prototype.indexOf=function(a){return this._array.indexOf(a)}:jindo.$A.prototype.indexOf=function(a){for(var b=0;b<this._array.length;b++)if(this._array[b]==a)return b;return-1},this.indexOf(a)},jindo.$A.prototype.$value=function(){return this._array},jindo.$A.prototype.push=function(a){return this._array.push.apply(this._array,_toArray(arguments))},jindo.$A.prototype.pop=function(){return this._array.pop()},jindo.$A.prototype.shift=function(){return this._array.shift()},jindo.$A.prototype.unshift=function(a){return this._array.unshift.apply(this._array,_toArray(arguments)),this._array.length},jindo.$A.prototype.forEach=function(a,b){function c(a){return function(b,c){function f(a,d,f){try{b.apply(c||e,_slice.call(arguments))}catch(g){if(!(g instanceof e.constructor.Continue))throw g}}var d=g_checkVarType(arguments,jindo.$A.checkVarTypeObj,"$A#forEach"),e=this;return a(this,f),this}}return this._array.forEach?jindo.$A.prototype.forEach=c(function(a,b){try{a._array.forEach(b)}catch(c){if(!(c instanceof a.constructor.Break))throw c}}):jindo.$A.prototype.forEach=c(function(a,b){var c=a._array;for(var d=0,e=c.length;d<e;d++)try{b(c[d],d,c)}catch(f){if(f instanceof a.constructor.Break)break;throw f}}),this.forEach.apply(this,_slice.call(arguments))},jindo.$A.prototype.slice=function(a,b){var c=this._array.slice.call(this._array,a,b);return jindo.$A(c)},jindo.$A.prototype.splice=function(a,b){var c=this._array.splice.apply(this._array,_toArray(arguments));return jindo.$A(c)},jindo.$A.prototype.shuffle=function(){return this._array.sort(function(a,b){return Math.random()>Math.random()?1:-1}),this},jindo.$A.prototype.reverse=function(){return this._array.reverse(),this},jindo.$A.prototype.empty=function(){return this._array.length=0,this},jindo.$A.Break=jindo.$Jindo.Break,jindo.$A.Continue=jindo.$Jindo.Continue,jindo.$A.prototype.map=function(a,b){function c(a){return function(b,c){function g(a,d,g){try{e.push(b.apply(c||f,_toArray(arguments)))}catch(h){if(!(h instanceof f.constructor.Continue))throw h;e.push(a)}}var d=g_checkVarType(arguments,jindo.$A.checkVarTypeObj,"$A#map");if(d==null)return this;var e=[],f=this;return a(this,g),jindo.$A(e)}}return this._array.map?jindo.$A.prototype.map=c(function(a,b){a.forEach(b)}):jindo.$A.prototype.map=c(function(a,b){var c=a._array;for(var d=0,e=a._array.length;d<e;d++)try{b(c[d],d,c)}catch(f){if(f instanceof a.constructor.Break)break;throw f}}),this.map.apply(this,_toArray(arguments))},jindo.$A.prototype.filter=function(a,b){function c(a){return function(b,c){function g(a,d,g){try{b.apply(c||f,_toArray(arguments))&&e.push(a)}catch(h){if(!(h instanceof f.constructor.Continue))throw h}}var d=g_checkVarType(arguments,jindo.$A.checkVarTypeObj,"$A#filter");if(d==null)return this;var e=[],f=this;return a(this,g),jindo.$A(e)}}return this._array.filter?jindo.$A.prototype.filter=c(function(a,b){try{a.forEach(b)}catch(c){if(!(c instanceof a.constructor.Break))throw c}}):jindo.$A.prototype.filter=c(function(a,b){var c=a._array;for(var d=0,e=a._array.length;d<e;d++)try{b(c[d],d,c)}catch(f){if(f instanceof a.constructor.Break)break;throw f}}),this.filter.apply(this,_toArray(arguments))},jindo.$A.prototype.every=function(a,b){var c=g_checkVarType,d=jindo.$A.checkVarTypeObj;return this._array.every?jindo.$A.prototype.every=function(a,b){return c(arguments,d,"$A#every"),this._array.every(a,b||this)}:jindo.$A.prototype.every=function(a,b){c(arguments,d,"$A#every");var e=!0,f=this._array;for(var g=0,h=f.length;g<h;g++)if(a.call(b||this,f[g],g,f)===!1){e=!1;break}return e},this.every.apply(this,_toArray(arguments))},jindo.$A.prototype.some=function(a,b){var c=g_checkVarType,d=jindo.$A.checkVarTypeObj;return this._array.some?jindo.$A.prototype.some=function(a,b){return c(arguments,d,"$A#some"),this._array.some(a,b||this)}:jindo.$A.prototype.some=function(a,b){c(arguments,d,"$A#some");var e=!1,f=this._array;for(var g=0,h=f.length;g<h;g++)if(a.call(b||this,f[g],g,f)===!0){e=!0;break}return e},this.some.apply(this,_toArray(arguments))},jindo.$A.prototype.refuse=function(a){var b=jindo.$A(_slice.apply(arguments));return this.filter(function(a,c){return!(b.indexOf(a)>-1)})},jindo.$A.prototype.unique=function(){var a=this._array,b=[],c=a.length,d,e;for(d=0;d<c;d++){for(e=0;e<b.length;e++)if(a[d]==b[e])break;e>=b.length&&(b[e]=a[d])}return this._array=b,this},jindo.$Ajax=function(a,b){function i(){if(window.XMLHttpRequest)return new XMLHttpRequest;
8if(ActiveXObject){try{return new ActiveXObject("MSXML2.XMLHTTP")}catch(a){return new ActiveXObject("Microsoft.XMLHTTP")}return null}}var c=arguments.callee;if(!(this instanceof c))try{return jindo.$Jindo._maxWarn(arguments.length,2,"$Ajax"),new c(a,b||{})}catch(d){if(d instanceof TypeError)return null;throw d}var e=jindo.$Ajax,f=jindo.$Error,g=jindo.$Except,h=g_checkVarType(arguments,{"4str":["sURL:"+tString],"4obj":["sURL:"+tString,"oOption:"+tHash]},"$Ajax");h+""=="for_string"&&(h.oOption={});var j=location.toString(),k="";try{k=j.match(/^https?:\/\/([a-z0-9_\-\.]+)/i)[1]}catch(d){}this._status=0,this._url=h.sURL,this._headers={},this._options={type:"xhr",method:"post",proxy:"",timeout:0,onload:function(a){},onerror:null,ontimeout:function(a){},jsonp_charset:"utf-8",callbackid:"",callbackname:"",sendheader:!0,async:!0,decode:!0,postBody:!1},this._options=e._setProperties(h.oOption,this),e._validationOption(this._options,"$Ajax"),e.CONFIG&&this.option(e.CONFIG);var l=this._options;l.type=l.type.toLowerCase(),l.method=l.method.toLowerCase(),window["__"+jindoName+"_callback"]===undefined&&(window["__"+jindoName+"_callback"]=[],window["__"+jindoName+"2_callback"]=[]);var m=this;switch(l.type){case"put":case"delete":case"get":case"post":l.method=l.type;case"xhr":this._request=i();break;case"flash":if(!e.SWFRequest)throw new f(jindoName+".$Ajax.SWFRequest"+g.REQUIRE_AJAX,"$Ajax");this._request=new e.SWFRequest(function(a,b){return m.option.apply(m,arguments)});break;case"jsonp":if(!e.JSONPRequest)throw new f(jindoName+".$Ajax.JSONPRequest"+g.REQUIRE_AJAX,"$Ajax");this._request=new e.JSONPRequest(function(a,b){return m.option.apply(m,arguments)});break;case"iframe":if(!e.FrameRequest)throw new f(jindoName+".$Ajax.FrameRequest"+g.REQUIRE_AJAX,"$Ajax");this._request=new e.FrameRequest(function(a,b){return m.option.apply(m,arguments)})}},jindo.$Ajax._setProperties=function(a,b){a=a||{};var c;return c=a.type=a.type||"xhr",a.onload=jindo.$Fn(a.onload||function(){},b).bind(),a.method=a.method||"post",c!="iframe"&&(a.timeout=a.timeout||0,a.ontimeout=jindo.$Fn(a.ontimeout||function(){},b).bind(),a.onerror=jindo.$Fn(a.onerror||function(){},b).bind()),c=="xhr"?(a.async=a.async===undefined?!0:a.async,a.postBody=a.postBody===undefined?!1:a.postBody):c=="jsonp"?(a.method="get",a.jsonp_charset=a.jsonp_charset||"utf-8",a.callbackid=a.callbackid||"",a.callbackname=a.callbackname||""):c=="flash"?(a.sendheader=a.sendheader===undefined?!0:a.sendheader,a.decode=a.decode===undefined?!0:a.decode):c=="iframe"&&(a.proxy=a.proxy||""),a},jindo.$Ajax._validationOption=function(a,b){var c=jindo.$Except,d=a.type;d==="jsonp"?a.method!=="get"&&jindo.$Jindo._warn(c.CANNOT_USE_OPTION+"\n\t"+b+"-method="+a.method):d==="flash"&&a.method!=="get"&&a.method!=="post"&&jindo.$Jindo._warn(c.CANNOT_USE_OPTION+"\n\t"+b+"-method="+a.method),a.postBody&&(d!=="xhr"||a.method==="get")&&jindo.$Jindo._warn(c.CANNOT_USE_OPTION+"\n\t"+a.method+"-postBody="+a.postBody);var e={xhr:"onload|timeout|ontimeout|onerror|async|method|postBody|type",jsonp:"onload|timeout|ontimeout|onerror|jsonp_charset|callbackid|callbackname|method|type",flash:"onload|timeout|ontimeout|onerror|sendheader|decode|method|type",iframe:"onload|proxy|method|type"},f=[],g=0;for(f[g++]in a);var h=e[d];for(var g=0,i=f.length;g<i;g++)h.indexOf(f[g])==-1&&jindo.$Jindo._warn(c.CANNOT_USE_OPTION+"\n\t"+d+"-"+f[g])},jindo.$Ajax.prototype._onload=function(a){var b=jindo.$Ajax,c=jindo.$Jindo;return a?function(){var a=this._request.status,d=this._request.readyState==4&&(a==200||a==0),e;if(this._request.readyState==4)try{!d&&c.isFunction(this._options.onerror)?this._options.onerror(new b.Response(this._request)):this._is_abort||(e=this._options.onload(new b.Response(this._request)))}catch(f){throw f}finally{c.isFunction(this._oncompleted)&&this._oncompleted(d,e);if(this._options.type=="xhr"){this.abort();try{delete this._request.onload}catch(f){this._request.onload=undefined}}delete this._request.onreadystatechange}}:function(){var a=this._request.status,d=this._request.readyState==4&&(a==200||a==0),e;if(this._request.readyState==4)try{!d&&c.isFunction(this._options.onerror)?this._options.onerror
8(new b.Response(this._request)):e=this._options.onload(new b.Response(this._request))}catch(f){throw f}finally{this._status--,c.isFunction(this._oncompleted)&&this._oncompleted(d,e)}}}(_JINDO_IS_IE),jindo.$Ajax.prototype.request=function(a){var b=jindo.$Jindo,c=b.checkVarType(arguments,{"4voi":[],"4obj":[b._F("oData:"+tHash)],"4str":["sData:"+tString]},"$Ajax#request");this._status++;var d=this,e=this._request,f=this._options,g,h,i=[],g="",j=null,k=this._url;this._is_abort=!1;var l=f.type.toUpperCase(),m=f.method.toUpperCase();if(f.postBody&&l=="XHR"&&m!="GET")c+""=="4str"?g=c.sData:c+""=="4obj"?g=jindo.$Json(c.oData).toString():g=null;else switch(c+""){case"4voi":g=null;break;case"4obj":var a=c.oData;for(var n in a)if(a.hasOwnProperty(n)){h=a[n],b.isFunction(h)&&(h=h());if(b.isArray(h)||jindo.$A&&h instanceof jindo.$A){h instanceof jindo.$A&&(h=h._array);for(var o=0;o<h.length;o++)i[i.length]=n+"="+encodeURIComponent(h[o])}else i[i.length]=n+"="+encodeURIComponent(h)}g=i.join("&")}g&&l=="XHR"&&m=="GET"&&(k.indexOf("?")==-1?k+="?":k+="&",k+=g,g=null),l=="XHR"&&f.async?e.open(m,k,f.async):l=="XHR"?e.open(m,k,!1):e.open(m,k),l=="XHR"&&m=="POST"&&e.setRequestHeader("If-Modified-Since","Thu, 1 Jan 1970 00:00:00 GMT");if(l=="XHR"||l=="IFRAME"||l=="FLASH"&&f.sendheader){this._headers["Content-Type"]||e.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=utf-8"),e.setRequestHeader("charset","utf-8"),this._headers["X-Requested-With"]||e.setRequestHeader("X-Requested-With","XMLHttpRequest");for(var p in this._headers)if(this._headers.hasOwnProperty(p)){if(typeof this._headers[p]=="function")continue;e.setRequestHeader(p,String(this._headers[p]))}}if(e.addEventListener&&!_JINDO_IS_OP&&!_JINDO_IS_IE)this._loadFunc&&e.removeEventListener("load",this._loadFunc,!1),this._loadFunc=function(a){clearTimeout(j),j=undefined,d._onload(a)},e.addEventListener("load",this._loadFunc,!1);else if(e.onload!==undefined)e.onload=function(a){e.readyState==4&&!d._is_abort&&(clearTimeout(j),j=undefined,d._onload(a))};else if(_j_ag.match(/(?:MSIE) ([0-9.]+)/)[1]==6&&f.async){var q=function(a){e.readyState==4&&!d._is_abort&&(j&&(clearTimeout(j),j=undefined),d._onload(a),clearInterval(d._interval),d._interval=undefined)};this._interval=setInterval(q,300)}else e.onreadystatechange=function(a){e.readyState==4&&(clearTimeout(j),j=undefined,d._onload(a))};return f.timeout>0&&(this._timer&&clearTimeout(this._timer),j=setTimeout(function(){d._is_abort=!0,d._interval&&(clearInterval(d._interval),d._interval=undefined);try{e.abort()}catch(a){}f.ontimeout(e),b.isFunction(d._oncompleted)&&d._oncompleted(!1)},f.timeout*1e3),this._timer=j),this._test_url=k,e.send(g),this},jindo.$Ajax.prototype.isIdle=function(){return this._status==0},jindo.$Ajax.prototype.abort=function(){try{this._interval&&clearInterval(this._interval),this._timer&&clearTimeout(this._timer),this._interval=undefined,this._timer=undefined,this._is_abort=!0,this._request.abort()}finally{this._status--}return this},jindo.$Ajax.prototype.url=function(a){var b=g_checkVarType(arguments,{g:[],s:["sURL:"+tString]},"$Ajax#url");switch(b+""){case"g":return this._url;case"s":return this._url=b.sURL,this}},jindo.$Ajax.prototype.option=function(a,b){var c=g_checkVarType(arguments,{s4var:["sKey:"+tString,"vValue:"+tVariant],s4obj:["oOption:"+tHash],g:["sKey:"+tString]},"$Ajax#option");switch(c+""){case"s4var":c.oOption={},c.oOption[c.sKey]=c.vValue;case"s4obj":var d=c.oOption;try{for(var e in d)d.hasOwnProperty(e)&&(e==="onload"||e==="ontimeout"||e==="onerror"?this._options[e]=jindo.$Fn(d[e],this).bind():this._options[e]=d[e])}catch(f){}break;case"g":return this._options[c.sKey]}return jindo.$Ajax._validationOption(this._options,"$Ajax#option"),this},jindo,jindo.$Ajax.prototype.header=function(a,b){this._options.type==="jsonp"&&jindo.$Jindo._warn("");var c=g_checkVarType(arguments,{s4str:["sKey:"+tString,"sValue:"+tString],s4obj:["oOption:"+tHash],g:["sKey:"+tString]},"$Ajax#option");switch(c+""){case"s4str":this._headers[c.sKey]=c.sValue;break;case"s4obj":var d=c.oOption;try{for(var e in d)d.hasOwnProperty(e)&&(this._headers[e]=d[e])}catch(f){}break;case"g":return this._headers[c.sKey]}return this},jindo.$Ajax.Response=function(a){this._response=a,this._regSheild=/^for\(;;\);/},jindo.$Ajax.Response.prototype.xml=function(){return this._response.responseXML},jindo.$Ajax.Response.prototype.text=function(){return this._response.responseText.replace(this._regSheild,"")},jindo.$Ajax.Response.prototype.status=function(){var a=this._response.status;return a==0?200:a},jindo.$Ajax.Response.prototype.readyState=function(){return this._response.readyState},jindo.$Ajax.Response.prototype.json=function(){if(this._response.responseJSON)return this._response.responseJSON;if(this._response.responseText)try{return eval("("+this.text()+")")}catch(e){throw new jindo.$Error(jindo.$Except.PARSE_ERROR,"$Ajax#json")}return{}},jindo.$Ajax.Response.prototype.header=function(a){var b=g_checkVarType(arguments,{"4str":["n
8ame:"+tString],"4voi":[]},"$Ajax.Response#header");switch(b+""){case"4str":return this._response.getResponseHeader(a);case"4voi":return this._response.getAllResponseHeaders()}};var klass=jindo.$Class;jindo.$Ajax.RequestBase=klass({_respHeaderString:"",callbackid:"",callbackname:"",responseXML:null,responseJSON:null,responseText:"",status:404,readyState:0,$init:function(a){},onload:function(){},abort:function(){},open:function(){},send:function(){},setRequestHeader:function(a,b){g_checkVarType(arguments,{"4str":["sName:"+tString,"sValue:"+tString]},"$Ajax.RequestBase#setRequestHeader"),this._headers[a]=b},getResponseHeader:function(a){return g_checkVarType(arguments,{"4str":["sName:"+tString]},"$Ajax.RequestBase#getResponseHeader"),this._respHeaders[a]||""},getAllResponseHeaders:function(){return this._respHeaderString},_getCallbackInfo:function(){var a="";if(this.option("callbackid")!=""){var b=0;do a="_"+this.option("callbackid")+"_"+b,b++;while(window["__"+jindoName+"_callback"][a])}else do a="_"+Math.floor(Math.random()*1e4);while(window["__"+jindoName+"_callback"][a]);return this.option("callbackname")==""&&this.option("callbackname","_callback"),{callbackname:this.option("callbackname"),id:a,name:"window.__"+jindoName+"_callback."+a}}}),jindo.$Ajax.JSONPRequest=klass({_headers:{},_respHeaders:{},_script:null,_onerror:null,$init:function(a){this.option=a},_callback:function(a){this._onerror&&(clearTimeout(this._onerror),this._onerror=null);var b=this;this.responseJSON=a,this.onload(this),setTimeout(function(){b.abort()},10)},abort:function(){if(this._script)try{this._script.parentNode.removeChild(this._script)}catch(a){}},open:function(a,b){g_checkVarType(arguments,{"4str":["method:"+tString,"url:"+tString]},"$Ajax.JSONPRequest#open"),this.responseJSON=null,this._url=b},send:function(a){var b=g_checkVarType(arguments,{"4voi":[],"4nul":["data:"+tNull],"4str":["data:"+tString]},"$Ajax.JSONPRequest#send"),c=this,d=this._getCallbackInfo(),e=document.getElementsByTagName("head")[0];this._script=document.createElement("script"),this._script.type="text/javascript",this._script.charset=this.option("jsonp_charset"),e?e.appendChild(this._script):document.body&&document.body.appendChild(this._script),window["__"+jindoName+"_callback"][d.id]=function(a){try{c.readyState=4,c.status=200,c._callback(a)}finally{delete window["__"+jindoName+"_callback"][d.id],delete window["__"+jindoName+"2_callback"][d.id]}},window["__"+jindoName+"2_callback"][d.id]=function(a){window["__"+jindoName+"_callback"][d.id](a)};var f=jindo.$Agent(navigator),g=function(){c.responseJSON||(c.readyState=4,c.status=500,c._onerror=setTimeout(function(){c._callback(null)},200))};f.navigator().ie?this._script.onreadystatechange=function(){this.readyState=="loaded"&&(g(),this.onreadystatechange=null)}:this._script.onload=this._script.onerror=function(){g(),this.onerror=null,this.onload=null};var h="&";this._url.indexOf("?")==-1&&(h="?");switch(b+""){case"4voi":case"4nul":a="";break;case"4str":a="&"+a}this._test_url=this._script.src=this._url+h+d.callbackname+"="+d.name+a}}).extend(jindo.$Ajax.RequestBase),jindo.$Ajax.SWFRequest=klass({$init:function(a){this.option=a},_headers:{},_respHeaders:{},_getFlashObj:function(){var a=jindo.$Ajax.SWFRequest._tmpId,b=jindo.$Agent(window.navigator).navigator(),c;return b.ie&&b.version==9?c=_getElementById(document,a):c=window.document[a],(this._getFlashObj=function(){return c})()},_callback:function(a,b,c){this.readyState=4,jindo.$Jindo.isNumeric(a)?this.status=a:a==1&&(this.status=200);if(this.status==200){if(jindo.$Jindo.isString(b))try{this.responseText=this.option("decode")?decodeURIComponent(b):b;if(!this.responseText||this.responseText=="")this.responseText=b}catch(d){if(d.name=="URIError"){this.responseText=b;if(!this.responseText||this.responseText=="")this.responseText=b}}jindo.$Jindo.isHash(c)&&(this._respHeaders=c)}this.onload(this)},open:function(a,b){g_checkVarType(arguments,{"4str":["method:"+tString,"url:"+tString]},"$Ajax.SWFRequest#open");var c=/https?:\/\/([a-z0-9_\-\.]+)/i;this._url=b,this._method=a},send:function(a){function h(a){switch(typeof a){case"string":return'"'+a.replace(/\"/g,'\\"')+'"';case"number":return a;case"object":var c="",d=[];if(b.isArray(a)){for(var e=0;e<a.length;e++)d[e]=h(a[e]);c="["+d.join(",")+"]"}else{for(var f in a)a.hasOwnProperty(f)&&(d[d.length]=h(f)+":"+h(a[f]));c="{"+d.join(",")+"}"}return c;default:return'""'}}var b=jindo.$Jindo,c=b.checkVarType(arguments,{"4voi":[],"4nul":["data:"+tNull],"4str":["data:"+tString]},"$Ajax.SWFRequest#send");this.responseXML=!1,this.responseText="";var d=this,e={},f=this._getCallbackInfo(),g=this._getFlashObj();a=(a||"").split("&");var i;for(var j=0;j<a.length;j++)i=a[j],pos=i.indexOf("="),key=i.substring(0,pos),val=i.substring(pos+1),e[key]=decodeURIComponent(val);this._current_callback_id=f.id,window["__"+jindoName+"_callback"][f.id]=function(a,b){try{d._callback(a,b)}finally{delete window["__"+jindoName+"_callback"][f.id]}},window["__"+jindoName+"2_callback"][f.id]=function(a){window["__"+jindoName+"_callback"][f.id](a)};
8var k={url:this._url,type:this._method,data:e,charset:"UTF-8",callback:f.name,header_json:this._headers};g.requestViaFlash(h(k))},abort:function(){this._current_callback_id&&(window["__"+jindoName+"_callback"][this._current_callback_id]=function(){delete window["__"+jindoName+"_callback"][info.id],delete window["__"+jindoName+"2_callback"][info.id]},window["__"+jindoName+"2_callback"][this._current_callback_id]=function(a){window["__"+jindoName+"_callback"][this._current_callback_id](a)})}}).extend(jindo.$Ajax.RequestBase),jindo.$Ajax.SWFRequest.write=function(a){var b=g_checkVarType(arguments,{"4voi":[],"4str":["data:"+tString]},"<static> $Ajax.SWFRequest#write");switch(b+""){case"4voi":a="./ajax.swf"}var c=jindo.$Ajax;c.SWFRequest._tmpId="tmpSwf"+(new Date).getMilliseconds()+Math.floor(Math.random()*1e5);var d=jindoName+".$Ajax.SWFRequest.loaded",e=location.protocol=="https:"?"https:":"http:";c._checkFlashLoad(),document.write('<div style="position:absolute;top:-1000px;left:-1000px"><object id="'+c.SWFRequest._tmpId+'" width="1" height="1" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+e+'//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"><param name="movie" value="'+a+'"><param name = "FlashVars" value = "activeCallback='+d+'" /><param name = "allowScriptAccess" value = "always" /><embed name="'+c.SWFRequest._tmpId+'" src="'+a+'" type="application/x-shockwave-flash" pluginspage="'+e+'://www.macromedia.com/go/getflashplayer" width="1" height="1" allowScriptAccess="always" swLiveConnect="true" FlashVars="activeCallback='+d+'"></embed></object></div>')},jindo.$Ajax._checkFlashLoad=function(){jindo.$Ajax._checkFlashKey=setTimeout(function(){jindo.$Ajax.SWFRequest.onerror()},5e3),jindo.$Ajax._checkFlashLoad=function(){}},jindo.$Ajax.SWFRequest.activeFlash=!1,jindo.$Ajax.SWFRequest.onload=function(){},jindo.$Ajax.SWFRequest.onerror=function(){},jindo.$Ajax.SWFRequest.loaded=function(){clearTimeout(jindo.$Ajax._checkFlashKey),jindo.$Ajax.SWFRequest.activeFlash=!0,jindo.$Ajax.SWFRequest.onload()},jindo.$Ajax.FrameRequest=klass({_headers:{},_respHeaders:{},_frame:null,_domain:"",$init:function(a){this.option=a},_callback:function(a,b,c){var d=this;this.readyState=4,this.status=200,this.responseText=b,this._respHeaderString=c,c.replace(/^([\w\-]+)\s*:\s*(.+)$/m,function(a,b,c){d._respHeaders[b]=c}),this.onload(this),setTimeout(function(){d.abort()},10)},abort:function(){if(this._frame)try{this._frame.parentNode.removeChild(this._frame)}catch(a){}},open:function(a,b){g_checkVarType(arguments,{"4str":["method:"+tString,"url:"+tString]},"$Ajax.FrameRequest#open");var c=/https?:\/\/([a-z0-9_\-\.]+)/i,d=document.location.toString().match(c);this._method=a,this._url=b,this._remote=String(b).match(/(https?:\/\/[a-z0-9_\-\.]+)(:[0-9]+)?/i
9)[0],this._frame=null,this._domain=d!=null&&d[1]!=document.domain?document.domain:""},send:function(a){var b=g_checkVarType(arguments,{"4voi":[],"4nul":["data:"+tNull],"4str":["data:"+tString]},"$Ajax.FrameRequest#send");this.responseXML="",this.responseText="";var c=this,d=/https?:\/\/([a-z0-9_\-\.]+)/i,e=this._getCallbackInfo(),f,g=[];g.push(this._remote+"/ajax_remote_callback.html?method="+this._method);var h=[];window["__"+jindoName+"_callback"][e.id]=function(a,b,d){try{c._callback(a,b,d)}finally{delete window["__"+jindoName+"_callback"][e.id],delete window["__"+jindoName+"2_callback"][e.id]}},window["__"+jindoName+"2_callback"][e.id]=function(a,b,c){window["__"+jindoName+"_callback"][e.id](a,b,c)};for(var i in this._headers)this._headers.hasOwnProperty(i)&&(h[h.length]="'"+i+"':'"+this._headers[i]+"'");h="{"+h.join(",")+"}",g.push("&id="+e.id),g.push("&header="+encodeURIComponent(h)),g.push("&proxy="+encodeURIComponent(this.option("proxy"))),g.push("&domain="+this._domain),g.push("&url="+encodeURIComponent(this._url.replace(d,""))),g.push("#"+encodeURIComponent(a));var j=this._frame=document.createElement("iframe"),k=j.style;k.position="absolute",k.visibility="hidden",k.width="1px",k.height="1px";var l=document.body||document.documentElement;l.firstChild?l.insertBefore(j,l.firstChild):l.appendChild(j),typeof MSApp!="undefined"&&MSApp.addPublicLocalApplicationUri(this.option("proxy")),j.src=g.join("")}}).extend(jindo.$Ajax.RequestBase),jindo.$Ajax.Queue=function(a){var b=arguments.callee;if(!(this instanceof b))return new b(a||{});var c=g_checkVarType(arguments,{"4voi":[],"4obj":["option:"+tHash]},"$Ajax.Queue");a=c.option,this._options={async:!1,useResultAsParam:!1,stopOnFailure:!1},this.option(a),this._queue=[]},jindo.$Ajax.Queue.prototype.option=function(a,b){var c=g_checkVarType(arguments,{s4str:["sKey:"+tString,"
9sValue:"+tVariant],s4obj:["oOption:"+tHash],g:["sKey:"+tString]},"$Ajax.Queue#option");switch(c+""){case"s4str":this._options[c.sKey]=c.sValue;break;case"s4obj":var d=c.oOption;try{for(var e in d)d.hasOwnProperty(e)&&(this._options[e]=d[e])}catch(f){}break;case"g":return this._options[c.sKey]}return this},jindo.$Ajax.Queue.prototype.add=function(a,b){var c=g_checkVarType(arguments,{"4obj":["oAjax:"+tHash],"4obj2":["oAjax:"+tHash,"oPram:"+tHash]},"$Ajax.Queue");switch(c+""){case"4obj2":b=c.oPram}return this._queue.push({obj:a,param:b}),this},jindo.$Ajax.Queue.prototype.request=function(){return this._requestAsync.apply(this,this.option("async")?[]:[0]),this},jindo.$Ajax.Queue.prototype._requestSync=function(a,b){var c=this,d=this._queue;d.length>a+1&&(d[a].obj._oncompleted=function(b,d){(!c.option("stopOnFailure")||b)&&c._requestSync(a+1,d)});var e=d[a].param||{};if(this.option("useResultAsParam")&&b)try{for(var f in b)e[f]===undefined&&b.hasOwnProperty(f)&&(e[f]=b[f])}catch(g){}d[a].obj.request(e)},jindo.$Ajax.Queue.prototype._requestAsync=function(){for(var a=0;a<this._queue.length;a++)this._queue[a].obj.request(this._queue[a].param||{})},jindo.$H=function(a){var b=arguments.callee;if(a instanceof b)return a;
9if(!(this instanceof b))try{return jindo.$Jindo._maxWarn(arguments.length,1,"$H"),new b(a||{})}catch(c){if(c instanceof TypeError)return null;throw c}var d=g_checkVarType(arguments,{"4obj":["oObj:"+tHash],"4vod":[]},"$H");this._table={};for(var e in a)a.hasOwnProperty(e)&&(this._table[e]=a[e])},jindo.$H.prototype.$value=function(){return this._table},jindo.$H.prototype.$=function(a,b){var c=g_checkVarType(arguments,{s4var:[jindo.$Jindo._F("key:"+tString),"value:"+tVariant],s4var2:["key:"+tNumeric,"value:"+tVariant],g4str:["key:"+tString],s4obj:["oObj:"+tHash],g4num:["key:"+tNumeric]},"$H#$");switch(c+""){case"s4var":case"s4var2":return this._table[a]=b,this;case"s4obj":var d=c.oObj;for(var e in d)this._table[e]=d[e];return this;default:return this._table[a]}},jindo.$H.prototype.length=function(){var a=0;for(var b in this._table)if(this._table.hasOwnProperty(b)){if(Object.prototype[b]!==undefined&&Object.prototype[b]===this._table[b])continue;a++}return a},jindo.$H.prototype.forEach=function(a,b){var c=g_checkVarType(arguments,{"4fun":["callback:"+tFunction],"4obj":["callback:"+tFunction,"thisObject:"+tVariant]},"$H#forEach"),d=this._table,e=this.constructor;for(var f in d)if(d.hasOwnProperty(f)){if(!d.propertyIsEnumerable(f))continue;try{a.call(b||this,d[f],f,d)}catch(g){if(g instanceof e.Break)break;if(g instanceof e.Continue)continue;throw g}}return this},jindo.$H.prototype.filter=function(a,b){var c=g_checkVarType(arguments,{"4fun":["callback:"+tFunction],"4obj":["callback:"+tFunction,"thisObject:"+tVariant]},"$H#filter"),d=jindo.$H(),e=this._table,f=this.constructor;for(var g in e)if(e.hasOwnProperty(g)){if(!e.propertyIsEnumerable(g))continue;try{a.call(b||this,e[g],g,e)&&d.add(g,e[g])}catch(h){if(h instanceof f.Break)break;if(h instanceof f.Continue)continue;throw h}}return d},jindo.$H.prototype.map=function(a,b){var c=g_checkVarType(arguments,{"4fun":["callback:"+tFunction],"4obj":["callback:"+tFunction,"thisObject:"+tVariant]},"$H#map"),d=jindo.$H(),e=this._table,f=this.constructor;for(var g in e)if(e.hasOwnProperty(g)){if(!e.propertyIsEnumerable(g))continue;try{d.add(g,a.call(b||this,e[g],g,e))}catch(h){if(h instanceof f.Break)break;if(!(h instanceof f.Continue))throw h;d.add(g,e[g])}}return d},jindo.$H.prototype.add=function(a,b){var c=g_checkVarType(arguments,{"4str":["key:"+tString,"value:"+tVariant],"4num":["key:"+tNumeric,"value:"+tVariant]},"$H#add");return this._table[a]=b,this},jindo.$H.prototype.remove=function(a){var b=g_checkVarType(arguments,{"4str":["key:"+tString],"4num":["key:"+tNumeric]},"$H#remove");if(this._table[a]===undefined)return null;var c=this._table[a];return delete this._table[a],c},jindo.$H.prototype.search=function(a){var b=g_checkVarType(arguments,{"4str":["value:"+tVariant]},"$H#search"),c=!1,d=this._table;for(var e in d)if(d.hasOwnProperty(e)){if(!d.propertyIsEnumerable(e))continue;var f=d[e];if(f===a){c=e;break}}return c},jindo.$H.prototype.hasKey=function(a){var b=g_checkVarType(arguments,{"4str":["key:"+tString],"4num":["key:"+tNumeric]},"$H#hasKey");return this._table[a]!==undefined},jindo.$H.prototype.hasValue=function(a){var b=g_checkVarType(arguments,{"4str":["value:"+tVariant]},"$H#hasValue");return this.search(a)!==!1},jindo.$H.prototype.sort=function(){var a=new Object,b=[];for(var c in this._table)this._table.hasOwnProperty(c)&&(b[b.length]=this._table[c]);var c=!1;b.sort();for(var d=0;d<b.length;d++)c=this.search(b[d]),a[c]=b[d],delete this._table[c];return this._table=a,this},jindo.$H.prototype.ksort=function(){var a=new Object,b=this.keys();b.sort();for(var c=0;c<b.length;c++)a[b[c]]=this._table[b[c]];return this._table=a,this},jindo.$H.prototype.keys=function(){var a=new Array;for(var b in this._table)this._table.hasOwnProperty(b)&&a.push(b);return a},jindo.$H.prototype.values=function(){var a=[];for(var b in this._table)this._table.hasOwnProperty(b)&&(a[a.length]=this._table[b]);return a},jindo.$H.prototype.toQueryString=function(){var a=[],b=null,c=0;for(var d in this._table)if(this._table.hasOwnProperty(d)){b=this._table[d];if(jindo.$Jindo.isArray(b))for(i=0;i<b.length;i++)a[a.length]=encodeURIComponent(d)+"[]="+encodeURIComponent(b[i]+"");else a[a.length]=encodeURIComponent(d)+"="+encodeURIComponent(this._table[d]+"")}return a.join("&")},jindo.$H.prototype.empty=function(){return this._table={},this},jindo.$H.Break=jindo.$Jindo.Break,jindo.$H.Continue=jindo.$Jindo.Continue,jindo.$Json=function(a){var b=arguments.callee;if(a instanceof b)return a;
9if(!(this instanceof b))try{return jindo.$Jindo._maxWarn(arguments.length,1,"$Json"),new b(arguments.length?a:{})}catch(c){if(c instanceof TypeError)return null;throw c}g_checkVarType(arguments,{"4var":["oObject:"+tVariant]},"$Json"),this._object=a},jindo.$Json._oldMakeJSON=function(sObject,sType){try{if(!jindo.$Jindo.isString(sObject)||!/^(?:\s*)[\{\[]/.test(sObject))return sObject;sObject=eval("("+sObject+")")}catch(e){throw new jindo.$Error(jindo.$Except.PARSE_ERROR,sType)}return sObject},jindo.$Json.fromXML=function(a){var b=jindo.$Jindo,c=b.checkVarType(arguments,{"4str":["sXML:"+tString]},"<static> $Json#fromXML"),d={},e=/\s*<(\/?[\w:\-]+)((?:\s+[\w:\-]+\s*=\s*(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'))*)\s*((?:\/>)|(?:><\/\1>|\s*))|\s*<!\[CDATA\[([\w\W]*?)\]\]>\s*|\s*>?([^<]*)/ig,f=/^[0-9]+(?:\.[0-9]+)?$/,g={"&amp;":"&","&nbsp;":" ","&quot;":'"',"&lt;":"<","&gt;":">"},h={tags:["/"],stack:[d]},i=function(a){return b.isUndefined(a)?"":a.replace(/&[a-z]+;/g,function(a){return b.isString(g[a])?g[a]:a})},j=function(a,b){a.replace(/([\w\:\-]+)\s*=\s*(?:"((?:\\"|[^"])*)"|'((?:\\'|[^'])*)')/g,function(a,c,d,e){b[c]=i((d?d.replace(/\\"/g,'"'):undefined)||(e?e.replace(/\\'/g,"'"):undefined))})},k=function(a){for(var b in a)if(a.hasOwnProperty(b)){if(Object.prototype[b])continue;return!1}return!0},l=function(a,c,d,e,g,l){var m,n="",o=h.stack.length-1;if(b.isString(c)&&c)if(c.substr(0,1)!="/"){var p=typeof d=="string"&&d,q=typeof e=="string"&&e,r=!p&&q?"":{};m=h.stack[o];if(b.isUndefined(m[c]))m[c]=r,m=h.stack[o+1]=m[c];else if(m[c]instanceof Array){var s=m[c].length;m[c][s]=r,m=h.stack[o+1]=m[c][s]}else m[c]=[m[c],r],m=h.stack[o+1]=m[c][1];p&&j(d,m),h.tags[o+1]=c,q&&(h.tags.length--,h.stack.length--)}else h.tags.length--,h.stack.length--;else b.isString(g)&&g?n=g:b.isString(l)&&l&&(n=i(l));if(n.replace(/^\s+/g,"").length>0){var t=h.stack[o-1],u=h.tags[o];f.test(n)?n=parseFloat(n):n=="true"?n=!0:n=="false"&&(n=!1);if(b.isUndefined(t))return;if(t[u]instanceof Array){var v=t[u];b.isHash(v[v.length-1])&&!k(v[v.length-1])?(v[v.length-1].$cdata=n,v[v.length-1].toString=function(){return n}):v[v.length-1]=n}else b.isHash(t[u])&&!k(t[u])?(t[u].$cdata=n,t[u].toString=function(){return n}):t[u]=n}};return a=a.replace(/<(\?|\!-)[^>]*>/g,""),a.replace(e,l),jindo.$Json(d)},jindo.$Json.prototype.get=function(a){var b=jindo.$Jindo,c=b.checkVarType(arguments,{"4str":["sPath:"+tString]},"$Json#get"),d=jindo.$Json._oldMakeJSON(this._object,"$Json#get");if(!b.isHash(d)&&!b.isArray(d))throw new jindo.$Error(jindo.$Except.JSON_MUST_HAVE_ARRAY_HASH,"$Json#get");var e=a.split("/"),f=/^([\w:\-]+)\[([0-9]+)\]$/,g=[[d]],h=g[0],i=e.length,j,k,l,m,n;for(var o=0;o<i;o++){if(e[o]=="."||e[o]=="")continue;if(e[o]=="..")g.length--;else{l=[],k=-1,j=h.length;if(j==0)return[];f.test(e[o])&&(k=+RegExp.$2);for(m=0;m<j;m++){n=h[m][e[o]];if(b.isUndefined(n))continue;b.isArray(n)?k>-1?k<n.length&&(l[l.length]=n[k]):l=l.concat(n):k==-1&&(l[l.length]=n)}g[g.length]=l}h=g[g.length-1]}return h},jindo.$Json.prototype.toString=function(){return jindo.$Json._oldToString(this._object)},jindo.$Json._oldToString=function(a){var b=jindo.$Jindo,c={$:function(a){if(b.isNull(a)||a==Infinity)return"null";if(b.isFunction(a))return undefined;if(b.isUndefined(a))return undefined;if(b.isBoolean(a))return a?"true":"false";if(b.isString(a))return this.s(a);if(b.isNumeric(a))return a;if(b.isArray(a))return this.a(a);if(b.isHash(a))return this.o(a);if(b.isDate(a))return a+"";if(typeof a=="object"||b.isRegExp(a))return"{}";if(isNaN(a))return"null"},s:function(a){var b={'"':'\\"',"\\":"\\\\","\n":"\\n","\r":"\\r","\t":"\\t"},c=function(a){return b[a]!==undefined?b[a]:a};return'"'+a.replace(/[\\"'\n\r\t]/g,c)+'"'},a:function(a){var c="[",d="",e=a.length;for(var f=0;f<e;f++){if(b.isFunction(a[f]))continue;c+=d+this.$(a[f]),d||(d=",")}return c+"]"},o:function(a){a=jindo.$H(a).ksort().$value();var c="{",d="";for(var e in a)if(a.hasOwnProperty(e)){if(b.isUndefined(a[e])||b.isFunction(a[e]))continue;c+=d+this.s(e)+":"+this.$(a[e]),d||(d=",")}return c+"}"}};return c.$(a)},jindo.$Json.prototype.toXML=function(){var a=function(b,c){var d=function(a,b){return"<"+c+(b||"")+">"+a+"</"+c+">"};switch(typeof b){case"undefined":case"null":return d("");case"number":return d(b);case"string":return b.indexOf("<")<0?d(b.replace(/&/g,"&amp;
9")):d("<![CDATA["+b+"]]>");case"boolean":return d(String(b));case"object":var e="";if(b instanceof Array){var g=b.length;for(var h=0;h<g;h++)e+=a(b[h],c)}else{var i="";for(var j in b)if(b.hasOwnProperty(j)){if(j=="$cdata"||typeof b[j]=="function")continue;e+=a(b[j],j)}c&&(e=d(e,i))}return e}};return a(jindo.$Json._oldMakeJSON(this._object,"$Json#toXML"),"")},jindo.$Json.prototype.toObject=function(){return jindo.$Json._oldMakeJSON(this._object,"$Json#toObject")},jindo.$Json.prototype.compare=function(a){function d(a,c){if(b.isArray(a)){if(a.length!==c.length)return!1;for(var d=0,e=a.length;d<e;d++)if(!arguments.callee(a[d],c[d]))return!1;return!0}if(b.isRegExp(a)||b.isFunction(a)||b.isDate(a))return String(a)===String(c);if(typeof a=="number"&&isNaN(a))return isNaN(c);if(b.isHash(a)){var e=0;for(var f in a)e++;for(var f in c)e--;if(e!==0)return!1;for(var f in a)if(f in c==0||!arguments.callee(a[f],c[f]))return!1;return!0}return a===c}var b=jindo.$Jindo,c=b.checkVarType(arguments,{"4obj":["oData:"+tHash],"4arr":["oData:"+tArray]},"$Json#compare");try{return d(jindo.$Json._oldMakeJSON(this._object,"$Json#compare"),a)}catch(e){return!1}},jindo.$Json.prototype.$value=jindo.$Json.prototype.toObject,jindo.$Cookie=function(){var a=arguments.callee,b=a._cached;if(a._cached)return a._cached;if(!(this instanceof a))try{return jindo.$Jindo._maxWarn(arguments.length,1,"$Cookie"),arguments.length>0?new a(arguments[0]):new a}catch(c){if(c instanceof TypeError)return null;throw c}typeof jindo.$Jindo.isUndefined(a._cached)&&(a._cached=this);var d=g_checkVarType(arguments,{"4voi":[],"4bln":["bURIComponent:"+tBoolean]},"$Cookie");switch(d+""){case"4voi":this._bURIComponent=!1;break;case"4bln":this._bURIComponent=d.bURIComponent}},jindo.$Cookie.prototype.keys=function(){var a=document.cookie.split(";"),b=/^\s+|\s+$/g,c=new Array;for(var d=0;d<a.length;d++)c[c.length]=a[d].substr(0,a[d].indexOf("=")).replace(b,"");return c},jindo.$Cookie.prototype.get=function(a){var b=g_checkVarType(arguments,{"4str":["sName:"+tString]},"$Cookie#get"),c=document.cookie.split(/\s*;\s*/),d=new RegExp("^(\\s*"+a+"\\s*=)"),e,f;for(var g=0;g<c.length;g++)if(d.test(c[g]))return e=c[g].substr(RegExp.$1.length),this._bURIComponent&&jindo.$Jindo.isNull(e.match(/%u\w{4}/))?f=decodeURIComponent(e):f=unescape(e),f;return null},jindo.$Cookie.prototype.set=function(a,b,c,d,e){var f=jindo.$Jindo,g=f.checkVarType(arguments,{"4str":["sName:"+tString,"sValue:"+tString],day_for_string:["sName:"+tString,"sValue:"+tString,"nDays:"+tNumeric],domain_for_string:["sName:"+tString,"sValue:"+tString,"nDays:"+tNumeric,"sDomain:"+tString],path_for_string:["sName:"+tString,"sValue:"+tString,"nDays:"+tNumeric,"sDomain:"+tString,"sPath:"+tString]},"$Cookie#set"),h="",i;return g+""!="4str"&&c!==0&&(h=";expires="+(new Date((new Date).getTime()+c*1e3*60*60*24)).toGMTString()),f.isUndefined(d)&&(d=""),f.isUndefined(e)&&(e="/"),this._bURIComponent?i=encodeURIComponent(b):i=escape(b),document.cookie=a+"="+i+h+"; path="+e+(d?"; domain="+d:""),this},jindo.$Cookie.prototype.remove=function(a,b,c){var d=jindo.$Jindo,e=d.checkVarType(arguments,{"4str":["sName:"+tString],domain_for_string:["sName:"+tString,"sDomain:"+tString],path_for_string:["sName:"+tString,"sDomain:"+tString,"sPath:"+tString]},"$Cookie#remove"),f=_toArray(arguments),g=[];for(var h=0,i=f.length;h<i;h++)g.push(f[h]),h==0&&(g.push(""),g.push(-1));return d.isNull(this.get(a))||this.set.apply(this,g),this},jindo.$Event=function(a){return a?function(a){var b=arguments.callee;if(a instanceof b)return a;
9if(!(this instanceof b))return new b(a);this._event=this._posEvent=a,this._globalEvent=window.event,this.type=a.type.toLowerCase(),this.type=="dommousescroll"?this.type="mousewheel":this.type=="domcontentloaded"&&(this.type="domready"),this.isTouch=!1,this.type.indexOf("touch")>-1&&(this._posEvent=a.changedTouches[0],this.isTouch=!0),this.canceled=!1,this.element=a.target||a.srcElement,this.currentElement=a.currentTarget,this.relatedElement=null,jindo.$Jindo.isUndefined(a.relatedTarget)?a.fromElement&&a.toElement&&(this.relatedElement=a[this.type=="mouseout"?"toElement":"fromElement"]):this.relatedElement=a.relatedTarget}:function(a){var b=arguments.callee;if(a instanceof b)return a;if(!(this instanceof b))return new b(a);a===undefined&&(a=window.event),a===window.event&&document.createEventObject&&(a=document.createEventObject(a)),this.isTouch=!1,this._event=this._posEvent=a,this._globalEvent=window.event,this.type=a.type.toLowerCase(),this.type=="dommousescroll"?this.type="mousewheel":this.type=="domcontentloaded"&&(this.type="domready"),this.canceled=!1,this.element=a.target||a.srcElement,this.currentElement=a.currentTarget,this.relatedElement=null,a.relatedTarget!==undefined?this.relatedElement=a.relatedTarget:a.fromElement&&a.toElement&&(this.relatedElement=a[this.type=="mouseout"?"toElement":"fromElement"])}}(_JINDO_IS_MO);var customEvent={};window.customEventStore={},window.normalCustomEvent={},jindo.$Event.customEvent=function(a,b){var c=g_checkVarType(arguments,{s4str:["sName:"+tString],s4obj:["sName:"+tString,"oEvent:"+tHash]},"$Event.customEvent");switch(c+""){case"s4str":if(hasCustomEvent(a))throw new jindo.$Error("The Custom Event Name have to unique.");return normalCustomEvent[a]={},this;case"s4obj":if(hasCustomEvent(a))throw new jindo.$Error("The Custom Event Name have to unique.");normalCustomEvent[a]={},customEvent[a]=function(){this.name=a,this.real_listener=[],this.wrap_listener=[]};var d=customEvent[a].prototype;d.events=[];for(var e in b)d[e]=b[e],d.events.push(e);return customEvent[a].prototype.fireEvent=function(a){for(var b=0,c=this.wrap_listener.length;b<c;b++)this.wrap_listener[b](a)},this}},jindo.$Event.prototype.mouse=function(a){g_checkVarType(arguments,{voi:[],bol:["bIsScrollbar:"+tBoolean]});var b=this._event,c=this.element,d=0,e=!1,f=!1,g=!1,e=b.which?b.button==0:!!(b.button&1),f=b.which?b.button==1:!!(b.button&4),g=b.which?b.button==2:!!(b.button&2),h={};b.wheelDelta?d=b.wheelDelta/120:b.detail&&(d=-b.detail/3);var i;return a&&(i=_event_isScroll(c,b)),h={delta:d,left:e,middle:f,right:g,scrollbar:i},this.mouse=function(a){return a&&(h.scrollbar=_event_isScroll(this.element,this._event),this.mouse=function(){return h}),h},h},jindo.$Event.prototype.key=function(){var a=this._event,b=a.keyCode||a.charCode,c={keyCode:b,alt:a.altKey,ctrl:a.ctrlKey,meta:a.metaKey,shift:a.shiftKey,up:b==38,down:b==40,left
9:b==37,right:b==39,enter:b==13,esc:b==27};return this.key=function(){return c},c},jindo.$Event.prototype.pos=function(a){g_checkVarType(arguments,{voi:[],bol:["bGetOffset:"+tBoolean]});var b=this._posEvent,c=this.element.ownerDocument||document,d=c.body,e=c.documentElement,f=[d.scrollLeft||e.scrollLeft,d.scrollTop||e.scrollTop],g={clientX:b.clientX,clientY:b.clientY,pageX:"pageX"in b?b.pageX:b.clientX+f[0]-d.clientLeft,pageY:"pageY"in b?b.pageY:b.clientY+f[1]-d.clientTop,layerX:"offsetX"in b?b.offsetX:b.layerX-1,layerY:"offsetY"in b?b.offsetY:b.layerY-1};if(a&&jindo.$Element){var h=jindo.$Element(this.element).offset();g.offsetX=g.pageX-h.left,g.offsetY=g.pageY-h.top}return g},jindo.$Event.prototype.stop=function(a){g_checkVarType(arguments,{voi:[],num:["nCancel:"+tNumeric]}),a=a||jindo.$Event.CANCEL_ALL;var b=window.event&&window.event==this._globalEvent?this._globalEvent:this._event,c=!!(a&jindo.$Event.CANCEL_BUBBLE),d=!!(a&jindo.$Event.CANCEL_DEFAULT),e=this.realType;return c&&(e==="focusin"||e==="focusout")&&jindo.$Jindo._warn("The "+e+" event can't stop bubble."),this.canceled=!0,b.preventDefault!==undefined&&d&&b.preventDefault(),b.stopPropagation!==undefined&&c&&b.stopPropagation(),d&&(b.returnValue=!1),c&&(b.cancelBubble=!0),this},jindo.$Event.prototype.stopDefault=function(){return this.stop(jindo.$Event.CANCEL_DEFAULT)},jindo.$Event.prototype.stopBubble=function(){return this.stop(jindo.$Event.CANCEL_BUBBLE)},jindo.$Event.CANCEL_BUBBLE=1,jindo.$Event.CANCEL_DEFAULT=2,jindo.$Event.CANCEL_ALL=3,jindo.$Event.prototype.$value=function(){return this._event},function(a){var b="Touch";for(var c=0,d=a.length;c<d;c++)jindo.$Event.prototype[a[c]+b]=function(a){return function(b){if(this.isTouch){var c=[],d=this._event[a+"es"],e=d.length,f;for(var g=0;g<e;g++)f=d[g],c.push({id:f.identifier,event:this,element:f.target,_posEvent:f,pos:jindo.$Event.prototype.pos});this[a]=function(b){var d=g_checkVarType(arguments,{"void":[],"4num":["nIndex:"+tNumeric]},"$Event#"+a);return d+""=="void"?c:c[b]}}else this[a]=function(b){throw new jindo.$Error(jindo.$Except.NOT_SUPPORT_METHOD,"$Event#"+a)};return this[a].apply(this,_toArray(arguments))}}(a[0]+b)}(["changed","target"]),jindo.$Element=function(a){var b=arguments.callee;if(a&&a instanceof b)return a;
9if(!(this instanceof b))try{return jindo.$Jindo._maxWarn(arguments.length,1,"$"+tElement),new b(a)}catch(c){if(c instanceof TypeError)return null;throw c}var d=jindo.$Jindo,e=d.checkVarType(arguments,{"4str":["sID:"+tString],"4nod":["oEle:"+tNode],"4doc":["oEle:"+tDocument],"4win":["oEle:"+tWindow]},"$"+tElement);switch(e+""){case"4str":a=jindo.$(a);break;default:a=e.oEle}this._element=a;if(this._element==null)throw new TypeError("{not_found_element}");if(this._element.__jindo__id)this._key=this._element.__jindo__id;else try{this._element.__jindo__id=this._key=_makeRandom()}catch(c){}this.tag=(this._element.tagName||"").toLowerCase()};var NONE_GROUP="_jindo_event_none",vendorPrefixObj={"-moz":"Moz","-ms":"ms","-o":"O","-webkit":"webkit"};jindo.$Element._eventBind=function(a,b,c,d){a.addEventListener?document.documentMode==9?jindo.$Element._eventBind=function(a,b,c,d){/resize/.test(b)?a.attachEvent("on"+b,c):a.addEventListener(b,c,!!d)}:jindo.$Element._eventBind=function(a,b,c,d){a.addEventListener(b,c,!!d)}:jindo.$Element._eventBind=function(a,b,c){a.attachEvent("on"+b,c)},jindo.$Element._eventBind(a,b,c,d)},jindo.$Element._unEventBind=function(a,b,c){a.removeEventListener?document.documentMode==9?jindo.$Element._unEventBind=function(a,b,c){/resize/.test(b)?a.detachEvent("on"+b,c):a.removeEventListener(b,c,!1)}:jindo.$Element._unEventBind=function(a,b,c){a.removeEventListener(b,c,!1)}:jindo.$Element._unEventBind=function(a,b,c){a.detachEvent("on"+b,c)},jindo.$Element._unEventBind(a,b,c)},jindo.$Element.prototype.$value=function(){return this._element},jindo.$Element.prototype.visible=function(a,b){var c=g_checkVarType(arguments,{g:[],s4bln:[jindo.$Jindo._F("bVisible:"+tBoolean)],s4str:["bVisible:"+tBoolean,"sDisplay:"+tString]},"$Element#visible");switch(c+""){case"g":return this._getCss(this._element,"display")!="none";case"s4bln":return this[a?"show":"hide"](),this;case"s4str":return this[a?"show":"hide"](b),this}},jindo.$Element.prototype.show=function(a){var b=g_checkVarType(arguments,{"4voi":[],"4str":["sDisplay:"+tString]},"$Element#show"),c=this._element.style,d="block",e={p:d,div:d,form:d,h1:d,h2:d,h3:d,h4:d,ol:d,ul:d,fieldset:d,td:"table-cell",th:"table-cell",li:"list-item",table:"table",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",col:"table-column",colgroup:"table-column-group",caption:"table-caption",dl:d,dt:d,dd:d};try{switch(b+""){case"4voi":var f=e[this.tag];c.display=f||"inline";break;case"4str":c.display=a}}catch(g){c.display="block"}return this},jindo.$Element.prototype.hide=function(){return this._element.style.display="none",this},jindo.$Element.prototype.toggle=function(a){var b=g_checkVarType(arguments,{"4voi":[],"4str":["sDisplay:"+tString]},"$Element#toggle");return this[this._getCss(this._element,"display")=="none"?"show":"hide"].apply(this,arguments),this},jindo.$Element.prototype.opacity=function(a){var b=g_checkVarType(arguments,{g:[],s:["nOpacity:"+tNumeric]},"$Element#opacity"),c,d=this._element,e;switch(b+""){case"g":return e=this._getCss(d,"display")!="none",typeof d.style.opacity!="undefined"?(c=parseFloat(d.style.opacity),isNaN(c)&&(c=e?1:0)):(c=typeof d.filters.alpha=="undefined"?e?100:0:d.filters.alpha.opacity,c/=100),c;case"s":return e=this._getCss(d,"display")!="none",a=b.nOpacity,d.style.zoom=1,a=Math.max(Math.min(a,1),0),typeof d.style.opacity!="undefined"?d.style.opacity=a:(a=Math.ceil(a*100),typeof d.filters!="unknown"&&typeof d.filters.alpha!="undefined"?d.filters.alpha.opacity=a:d.style.filter=d.style.filter+" alpha(opacity="+a+")"),this}},jindo.$Element.prototype.css=function(a,b){var c=g_checkVarType(arguments,{g:["sName:"+tString],s4str:[jindo.$Jindo._F("sName:"+tString),jindo.$Jindo._F("vValue:"+tString)],s4num:["sName:"+tString,"vValue:"+tNumeric],s4obj:["oObj:"+tHash]},"$Element#css"),d=this._element;switch(c+""){case"s4str":case"s4num":var e={};a=_revisionCSSAttr(a,getStyleIncludeVendorPrefix()),e[a]=b,a=e;break;case"s4obj":a=c.oObj;var e={},f=getStyleIncludeVendorPrefix();for(i in a)a.hasOwnProperty(i)&&(e[_revisionCSSAttr(i,f)]=a[i]);a=e;break;case"g":var f=getStyleIncludeVendorPrefix();a=_revisionCSSAttr(a,f);var g=this._getCss;
9if(a=="opacity")return this.opacity();if((_JINDO_IS_FF||_JINDO_IS_OP)&&(a=="backgroundPositionX"||a=="backgroundPositionY")){var h=g(d,"backgroundPosition").split(/\s+/);return a=="backgroundPositionX"?h[0]:h[1]}if(!window.getComputedStyle&&a=="backgroundPosition")return g(d,"backgroundPositionX")+" "+g(d,"backgroundPositionY");if(!_JINDO_IS_OP&&window.getComputedStyle&&(a=="padding"||a=="margin")){var j=g(d,a+"Top"),k=g(d,a+"Right"),l=g(d,a+"Bottom"),m=g(d,a+"Left");return j==k&&l==m?j:j==l?k==m?j+" "+k:j+" "+k+" "+l+" "+m:j+" "+k+" "+l+" "+m}return g(d,a)}var n,o;for(var p in a)if(a.hasOwnProperty(p)){n=a[p];if(!jindo.$Jindo.isString(n)&&!jindo.$Jindo.isNumeric(n))continue;if(p=="opacity"){this.opacity(n);continue}p=="cssFloat"&&_JINDO_IS_IE&&(p="styleFloat");if(!_JINDO_IS_FF&&!_JINDO_IS_OP||p!="backgroundPositionX"&&p!="backgroundPositionY")this._setCss(d,p,/transition/i.test(p)?changeTransformValue(n):n);else{var h=this.css("backgroundPosition").split(/\s+/);n=p=="backgroundPositionX"?n+" "+h[1]:h[0]+" "+n,this._setCss(d,"backgroundPosition",n)}}return this},jindo.$Element.prototype._getCss=function(a,b){var c;return window.getComputedStyle?c=function(a,b){try{b=="cssFloat"&&(b="float");var c=a.ownerDocument||a.document||document,d=a.style[b]||c.defaultView.getComputedStyle(a,null).getPropertyValue(b.replace(/([A-Z])/g,"-$1").toLowerCase());return b=="textDecoration"&&(d=d.replace(",","")),d}catch(e){throw new jindo.$Error((a.tagName||"document")+jindo.$Except.NOT_USE_CSS,"$Element#css")}}:a.currentStyle?c=function(a,b){try{b=="cssFloat"&&(b="styleFloat");var c=a.style[b];if(c)return c;var d=a.currentStyle;return d?d[b]:c}catch(e){throw new jindo.$Error((a.tagName||"document")+jindo.$Except.NOT_USE_CSS,"$Element#css")}}:c=function(a,b){try{return b=="cssFloat"&&_JINDO_IS_IE&&(b="styleFloat"),a.style[b]}catch(c){throw new jindo.$Error((a.tagName||"document")+jindo.$Except.NOT_USE_CSS,"$Element#css")}},jindo.$Element.prototype._getCss=c,c(a,b)},jindo.$Element.prototype._setCss=function(a,b,c){"#top#left#right#bottom#".indexOf(b+"#")>0&&(typeof c=="number"||/\d$/.test(c))?a.style[b]=parseInt(c,10)+"px":a.style[b]=c},jindo.$Element.prototype.attr=function(a,b){var c=g_checkVarType(arguments,{g:["sName:"+tString],s4str:["sName:"+tString,"vValue:"+tString],s4num:["sName:"+tString,"vValue:"+tNumeric],s4nul:["sName:"+tString,"vValue:"+tNull],s4bln:["sName:"+tString,"vValue:"+tBoolean],s4arr:["sName:"+tString,"vValue:"+tArray],s4obj:[jindo.$Jindo._F("oObj:"+tHash)]},"$Element#attr"),d=this._element,e=null,f,g,h,i,j,k;switch(c+""){case"s4str":case"s4nul":case"s4num":case"s4bln":case"s4arr":var l={};l[a]=b,a=l;break;case"s4obj":a=c.oObj;break;case"g":if(a=="class"||a=="className")return d.className;if(a=="style")return d.style.cssText;if(a=="checked"||a=="disabled")return!!d[a];if(a=="value"){if(this.tag=="button")return d.getAttributeNode("value").value;if(this.tag=="select"){if(d.multiple){for(f=0,g=d.options.length;f<g;f++)j=d.options[f],j.selected&&(e||(e=[]),b=j.value,b==""&&(b=j.text),e.push(b));return e}return d.selectedIndex<0?null:(b=d.options[d.selectedIndex].value,b==""?d.options[d.selectedIndex].text:b)}return d.value}if(a=="href")return d.getAttribute(a,2);return d.getAttribute(a)}i=function(a,b){var c=-1,d,e,f;for(d=0,e=a.length;d<e;d++){f=a[d];if(f.value===b||f.text===b){c=d;break}}return c};for(var m in a)if(a.hasOwnProperty(m)){var n=a[m];if(jindo.$Jindo.isNull(n))if(this.tag=="select")if(d.multiple)for(f=0,g=d.options.length;f<g;f++)d.options[f].selected=!1;else d.selectedIndex=-1;else d.removeAttribute(m);else if(m=="class"||m=="className")d.className=n;else if(m=="style")d.style.cssText=n;else if(m=="checked"||m=="disabled")d[m]=n;else if(m=="value")if(this.tag=="select")if(d.multiple)if(jindo.$Jindo.isArray(n)){k=jindo.$A(n);for(f=0,g=d.options.length;f<g;f++)j=d.options[f],j.selected=k.has(j.value)||k.has(j.text)}else d.selectedIndex=i(d.options,n);else d.selectedIndex=i(d.options,n);else d.value=n;else d.setAttribute(m,n)}return this},jindo.$Element.prototype.width=function(a){var b=g_checkVarType(arguments,{g:[],s:["nWidth:"+tNumeric]},"$Element#width");switch(b+""){case"g":return this._element.offsetWidth;case"s":a=b.nWidth;var c=this._element;c.style.width=a+"px";var d=c.offsetWidth;if(d!=a&&d!==0){var e=a*2-d;e>0&&(c.style.width=e+"px")}return this}},jindo.$Element.prototype.height=function(a){var b=g_checkVarType(arguments,{g:[],s:["nHeight:"+tNumeric]},"$Element#height");switch(b+""){case"g":return this._element.offsetHeight;case"s":a=b.nHeight;var c=this._element;c.style.height=a+"px";var d=c.offsetHeight;if(d!=a&&d!==0){var a=a*2-d;a>0&&(c.style.height=a+"px")}return this}},jindo.$Element.prototype.className=function(a){var b=g_checkVarType(arguments,{g:[],s:[jindo.$Jindo._F("sClass:"+tString)]},"$Element#className"),c=this._element;switch(b+""){case"g":return c.className;case"s":return c.className=a,this}},jindo.$Element.prototype.hasClass=function(a){var b=g_checkVarType;return canUseClassList()?jindo.$Element.prototype.hasClass=function(a){var c=b(arguments,{"4str":["sClass:"+tString]},"$Element#hasClass");return this._element.classList.contains(a)}:jindo.$Element.prototype.hasClass=function(a){var c=b(arguments,{"4str":["sClass:"+tString]},"$Element#hasClass");return(" "+this._element.className+" ").indexOf(" "+a+" ")>-1},this.hasClass.apply(this,arguments)},jindo.$Element.prototype.addClass=function(a){var b=g_checkVarType(arguments,{"4str":["sClass:"+tString]},"$Element#addClass"),c=this._element,d=c.className,e=(a+"").split(" "),f;for(var g=e.length-1;g>=0;g--)f=e[g],(" "+d+" ").indexOf(" "+f+" ")==-1&&(d=d+" "+f);return c.className=d.replace(/\s+$/,"").replace(/^\s+/,""),this},jindo.$Element.prototype.removeClass=function(a){var b=g_checkVarType(arguments,{"4str":["sClass:"+tString]},"$Element#removeClass"),c=this._element,d=c.className,e=(a+"").split(" "),f;for(var g=e.length-1;g>=0;g--)d=(" "+d+" ").replace(new RegExp("\\b"+e[g]+"\\s+","g")," ");return c.className=d.replace(/\s+$/,"").replace(/^\s+/,""),this},jindo.$Element.prototype.toggleClass=function(a,b){var c=g_checkVarType;return canUseClassList()?jindo.$Element.prototype.toggleClass=function(a,b){var d=c(arguments,{"4str":["sClass:"+tString],"4str2":["sClass:"+tString,"
9sClass2:"+tString]},"$Element#toggleClass");switch(d+""){case"4str":this._element.classList.toggle(a+"");break;case"4str2":a+="",b+="",this.hasClass(a)?(this.removeClass(a),this.addClass(b)):(this.addClass(a),this.removeClass(b))}return this}:jindo.$Element.prototype.toggleClass=function(a,b){var d=c(arguments,{"4str":["sClass:"+tString],"4str2":["sClass:"+tString,"sClass2:"+tString]},"$Element#toggleClass");return b=b||"",this.hasClass(a)?(this.removeClass(a),b&&this.addClass(b)):(this.addClass(a),b&&this.removeClass(b)),this},this.toggleClass.apply(this,arguments)},jindo.$Element.prototype.cssClass=function(a,b){var c=g_checkVarType(arguments,{g:["sClass:"+tString],s4bln:["sClass:"+tString,"bCondition:"+tBoolean],s4obj:["oObj:"+tHash]},"$Element#cssClass");switch(c+""){case"g":return this.hasClass(c.sClass);case"s4bln":return c.bCondition?this.addClass(c.sClass):this.removeClass(c.sClass),this;case"s4obj":var d=this._element;a=c.oObj;var e=d.className;for(var f in a)a.hasOwnProperty(f)&&(a[f]?(" "+e+" ").indexOf(" "+f+" ")==-1&&(e=(e+" "+f).replace(/^\s+/,"")):(" "+e+" ").indexOf(" "+f+" ")>-1&&(e=(" "+e+" ").replace(" "+f+" "," ").replace(/\s+$/,"").replace(/^\s+/,"")));return d.className=e,this}},jindo.$Element.prototype.text=function(a){var b=g_checkVarType(arguments,{g:[],s4str:["sText:"+tString],s4num:[jindo.$Jindo._F("sText:"+tNumeric)],s4bln:["sText:"+tBoolean]},"$Element#text"),c=this._element,d=this.tag,e,f;switch(b+""){case"g":e=c.textContent!==undefined?"textContent":"innerText";if(d=="textarea"||d=="input")e="value";return c[e];case"s4str":case"s4num":case"s4bln":try{if(d=="textarea"||d=="input")c.value=a+"";else{var f=c.ownerDocument||
10c.document||document;this.empty(),c.appendChild(f.createTextNode(a))}}catch(g){return c.innerHTML=(a+"").replace(/&/g,"&amp;").replace(/</g,"&lt;")}return this}},jindo.$Element.prototype.html=function(a){var b=_JINDO_IS_IE,c=_JINDO_IS_FF,d={g:[],s4str:[jindo.$Jindo._F("sText:"+tString)],s4num:["sText:"+tNumeric],s4bln:["sText:"+tBoolean]},e=g_checkVarType;return b?jindo.$Element.prototype.html=function(a){var b=e(arguments,d,"$Element#html");switch(b+""){case"g":return this._element.innerHTML;case"s4str":case"s4num":case"s4bln":a+="",jindo.cssquery&&jindo.cssquery.release();var c=this._element;while(c.firstChild)c.removeChild(c.firstChild);var f="R"+(new Date).getTime()+parseInt(Math.random()*1e5,10),g=c.ownerDocument||c.document||document,h,i=c.tagName.toLowerCase();switch(i){case"select":case"table":h=g.createElement("div"),h.innerHTML="<"+i+' class="'+f+'">'+a+"</"+i+">";break;case"tr":case"thead":case"tbody":case"colgroup":h=g.createElement("div"),h.innerHTML="<table><"+i+' class="'+f+'">'+a+"</"+i+"></table>";break;default:c.innerHTML=a}if(h){var j;for(j=h.firstChild;j;j=j.firstChild)if(j.className==f)break;if(j){var k=!0;for(var l;l=c.firstChild;)l.removeNode(!0);for(var l=j.firstChild;l;l=j.firstChild)if(i=="select"){var m=l.cloneNode(!0);l.selected&&k&&(k=!1,m.selected=!0),c.appendChild(m),l.removeNode(!0)}else c.appendChild(l);h.removeNode&&h.removeNode(!0)}h=null}return this}}:c?jindo.$Element.prototype.html=function(a){var b=e(arguments,d,"$Element#html");switch(b+""){case"g":return this._element.innerHTML;case"s4str":case"s4num":case"s4bln":a+="";var c=this._element;if(!c.parentNode){var f="R"+(new Date).getTime()+parseInt(Math.random()*1e5,10),g=c.ownerDocument||c.document||document,h,i=c.tagName.toLowerCase();switch(i){case"select":case"table":h=g.createElement("div"),h.innerHTML="<"+i+' class="'+f+'">'+a+"</"+i+">";break;case"tr":case"thead":case"tbody":case"colgroup":h=g.createElement("div"),h.innerHTML="<table><"+i+' class="'+f+'">'+a+"</"+i+"></table>";break;default:c.innerHTML=a}if(h){var j;for(j=h.firstChild;j;j=j.firstChild)if(j.className==f)break;if(j){for(var k;k=c.firstChild;)k.removeNode(!0);for(var k=j.firstChild;k;k=j.firstChild)c.appendChild(k);h.removeNode&&h.removeNode(!0)}h=null}}else c.innerHTML=a;return this}}:jindo.$Element.prototype.html=function(a){var b=e(arguments,d,"$Element#html");switch(b+""){case"g":return this._element.innerHTML;case"s4str":case"s4num":case"s4bln":a+="";var c=this._element;return c.innerHTML=a,this}},this.html.apply(this,arguments)},jindo.$Element.prototype.outerHTML=function(){var a=this._element;if(a.outerHTML!==undefined)return a.outerHTML;var b=a.ownerDocument||a.document||document,c=b.createElement("div"),d=a.parentNode;if(!d)return a.innerHTML;d.insertBefore(c,a),c.style.display="none",c.appendChild(a);var e=c.innerHTML;return d.insertBefore(a,c),d.removeChild(c),e},jindo.$Element.prototype.toString=jindo.$Element.prototype.outerHTML,jindo.$Element.prototype.attach=function(a,b){var c=g_checkVarType(arguments,{"4str":["sEvent:"+tStr
10ing,"fpCallback:"+tFunction],"4obj":["hListener:"+tHash]},"$Element#attach"),d,e;switch(c+""){case"4str":d=splitEventSelector(c.sEvent),this._add(d.type,d.event,d.selector,b);break;case"4obj":e=c.hListener;for(var f in e)this.attach(f,e[f])}return this},jindo.$Element.prototype.detach=function(a,b){var c=g_checkVarType(arguments,{"4str":["sEvent:"+tString,"fpCallback:"+tFunction],"4obj":["hListener:"+tHash]},"$Element#detach"),d,e;switch(c+""){case"4str":d=splitEventSelector(c.sEvent),this._del(d.type,d.event,d.selector,b);break;case"4obj":e=c.hListener;for(var f in e)this.detach(f,e[f])}return this},jindo.$Element.prototype.delegate=function(a,b,c){var d=g_checkVarType(arguments,{"4str":["sEvent:"+tString,"vFilter:"+tString,"fpCallback:"+tFunction],"4fun":["sEvent:"+tString,"vFilter:"+tFunction,"fpCallback:"+tFunction]},"$Element#delegate");return this._add("delegate",a,b,c)},jindo.$Element.prototype.undelegate=function(a,b,c){var d=g_checkVarType(arguments,{"4str":["sEvent:"+tString,"vFilter:"+tString,"fpCallback:"+tFunction],"4fun":["sEvent:"+tString,"vFilter:"+tFunction,"fpCallback:"+tFunction],group_for_string:["sEvent:"+tString,"vFilter:"+tString],group_for_function:["sEvent:"+tString,"vFilter:"+tFunction]},"$Element#undelegate");return this._del("delegate",a,b,c)},jindo.$Element.prototype._add=function(a,b,c,d){var e=jindo.$Element.eventManager,f=b;b=b.toLowerCase();var g=e.splitGroup(b);b=g.event;var h=g.group,i=this._element,j=i.__jindo__id,k=i.ownerDocument||i.document||document;if(hasCustomEvent(b)){c=c||"_NONE_";var l=jindo.$Fn(d,this).bind();normalCustomEventAttach(i,b,j,c,d,l),getCustomEvent(b)&&customEventAttach(a,b,c,d,l,i,jindo.$Fn(this._add,this).bind())}else{if(b=="domready"&&jindo.$Jindo.isWindow(i))return jindo.$Element(k).attach(b,d),this;if(b=="load"&&i===k)return jindo.$Element(window).attach(b,d),this;if(!document.addEventListener&&"domready"==b){if(window.top!=window)throw jindo.$Error(jindo.$Except.NOT_WORK_DOMREADY,"$Element#attach");return jindo.$Element._domready(i,d),this}b=e.revisionEvent(a,b,f),d=e.revisionCallback(a,b,f,d),e.isInit(this._key)||e.init(this._key,i),e.hasEvent(this._key,b,f)||e.initEvent(this,b,f,h),e.hasGroup(this._key,b,h)||e.initGroup(this._key,b,h),e.addEventListener(this._key,b,h,a,c,d)}return this},jindo.$Element.prototype._del=function(a,b,c,d){var e=jindo.$Element.eventManager,f=b;b=b.toLowerCase();var g=e.splitGroup(b);b=g.event;var h=g.group,i=this._element.ownerDocument||this._element.document||document;if(hasCustomEvent(b)){var j=this._element.__jindo__id;c=c||"_NONE_";var k=getNormalEventListener(j,b,c),l=k.wrap_listener,m=k.real_listener,n=[],o=[];for(var p=0,q=m.length;p<q;p++)m[p]!=d&&(n.push(l[p]),o.push(m[p]));if(o.length==0){var r=normalCustomEvent[b][j],s=0;for(var p in r)if(p!=="ele"){s++;break}s===0?delete normalCustomEvent[b][j]:delete normalCustomEvent[b][j][c]}customEvent[b]&&(setCustomEventListener(j,b,c,o,n),o.length==0&&(customEventDetach(a,b,c,d,this._element,jindo.$Fn(this._del,this).bind()),delete customEventStore[j][b][c]))}else{if(b=="domready"&&jindo.$Jindo.isWindow(this._element))return jindo.$Element(i).detach(b,d),this;if(b=="load"&&this._element===i)return jindo.$Element(window).detach(b,d),this;b=e.revisionEvent(a,b,f);if(!document.addEventListener&&"domready"==b){var t=[],u=jindo.$Element._domready.list;for(var p=0,q=u.length;p<q;p++)u[p]!=d&&t.push(u[p]);return jindo.$Element._domready.list=t,this}if(h===NONE_GROUP&&!jindo.$Jindo.isFunction(d)&&!c)throw new jindo.$Error(jindo.$Except.HAS_FUNCTION_FOR_GROUP,"$Element#"+(a=="normal"?"detach":"delegate"));e.removeEventListener(this._key,b,h,a,c,d)}return this};var mouseTouchPointerEvent=function(a){var b={};return window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>0?b={mousedown:"MSPointerDown",mouseup:"MSPointerUp",mousemove:"MSPointerMove",mouseover:"MSPointerOver",mouseout:"MSPointerOut",touchstart:"MSPointerDown",touchend:"MSPointerUp",touchmove:"MSPointerMove",pointerdown:"MSPointerDown",pointerup:"MSPointerUp",pointermove:"MSPointerMove",pointerover:"MSPointerOver",pointerout:"MSPointerOut",pointercancel:"MSPointerCancel"}:_JINDO_IS_MO&&(b={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove",pointerdown:"touchstart",pointerup:"touchend",pointermove:"touchmove"}),mouseTouchPointerEvent=function(a){return b[a]?b[a]:a},mouseTouchPointerEvent(a)};jindo.$Element.eventManager=function(){function b(a,b,c){return function(){var d=_slice.call(arguments,0);return c.length&&(d=c.concat(d)),a.apply(b,d)}}var a={};return{revisionCallback:function(a,b,c,d){if((document.addEventListener||_JINDO_IS_IE&&a=="delegate")&&(c=="mouseenter"||c=="mouseleave")){var e=jindo.$Element.eventManager._fireWhenElementBoundary(a,d);e._origin_=d,d=e}return d},_fireWhenElementBoundary:function(a,b){return function(c){var d=c.relatedElement?jindo.$Element(c.relatedElement):null,e=c.currentElement;a=="delegate"&&(e=c.element);if(d&&(d.isEqual(e)||d.isChildOf(e)))return;b(c)}},revisionEvent:function(a,b,c){return document.addEventListener!==undefined?this.revisionEvent=function(a,b,c){if(/^ms/i.test(c))return c;var d=jindo.$Event.hook(b);if(d)return jindo.$Jindo.isFunction(d)?d():d;b=b.toLowerCase();if(b=="domready"||b=="domcontentloaded")b="DOMContentLoaded";else if(b=="mousewheel"&&!_JINDO_IS_WK&&!_JINDO_IS_OP&&!_JINDO_IS_IE)b="DOMMouseScroll";else if(b!="mouseenter"||!!_JINDO_IS_IE&&a!="delegate")if(b!="mouseleave"||!!_JINDO_IS_IE&&a!="delegate"){if(b=="transitionend"||b=="transitionstart"){var e=b.replace("transition",""),f=getStyleIncludeVendorPrefix();f.transition!="transition"&&(e=e.substr(0,1).toUpperCase()+e.substr(1)),b=f.transition+e}else if(b=="animationstart"||b=="animationend"||b=="animationiteration"){var e=b.replace("animation",""),f=getStyleIncludeVendorPrefix();f.animation!="animation"&&(e=e.substr(0,1).toUpperCase()+e.substr(1)),b=f.animation+e}else if(b==="focusin"||b==="focusout")b=b==="focusin"?"focus":"blur"}else b="mouseout";else b="mouseover";return mouseTouchPointerEvent(b)}:this.revisionEvent=function(a,b,c){if(/^ms/i.test(c))return c;var d=jindo.$Event.hook(b);return d?jindo.$Jindo.isFunction(d)?d():d:(a=="delegate"&&b=="mouseenter"?b="mouseover":a=="delegate"&&b=="mouseleave"&&(b="mou
10seout"),mouseTouchPointerEvent(b))},this.revisionEvent(a,b,c)},test:function(){return a},isInit:function(b){return!!a[b]},init:function(b,c){a[b]={ele:c,event:{}}},getEventConfig:function(b){return a[b]},hasEvent:function(b,c,d){if(!document.addEventListener&&c.toLowerCase()=="domready")return jindo.$Element._domready.list?jindo.$Element._domready.list.length>0?!0:!1:!1;c=jindo.$Element.eventManager.revisionEvent("",c,d);try{return!!a[b].event[c]}catch(e){return!1}},hasGroup:function(b,c,d){return!!a[b].event[c].type[d]},initEvent:function(c,d,e,f){var g=c._key,h=a[g].event,i=b(function(a,b,c){c=c||window.event,c.currentTarget===undefined&&(c.currentTarget=this._element);var d=jindo.$Event(c);d.currentElement||(d.currentElement=this._element),d.realType=b;var e=d.element,f=jindo.$Element.eventManager,g=f.getEventConfig(d.currentElement.__jindo__id),h=g.event[a].type;for(var i in h)if(h.hasOwnProperty(i)){var j=h[i].normal;for(var k=0,l=j.length;k<l;k++)j[k].call(this,d);var m=h[i].delegate,n,o;for(var p in m)if(m.hasOwnProperty(p)){n=m[p].checker(e);if(n[0]){o=m[p].callback,d.element=n[1];for(var q=0,r=o.length;q<r;q++)o[q].call(this,d)}}}},c,[d,e]);h[d]={listener:i,type:{}},jindo.$Element._eventBind(c._element,d,i,e==="focusin"||e==="focusout")},initGroup:function(b,c,d){var e=a[b].event[c].type;e[d]={normal:[],delegate:{}}},addEventListener:function(b,c,d,e,f,g){var h=a[b].event[c].type[d];e==="normal"?h.normal.push(g):e==="delegate"&&(this.hasDelegate(h,f)||this.initDelegate(a[b].ele,h,f),this.addDelegate(h,f,g))},hasDelegate:function(a,b){return!!a.delegate[b]},containsElement:function(a,b,c,d){if(a==b&&d)return!0;var e=jindo.$$(c,a);for(var f=0,g=e.length;f<g;f++)if(e[f]==b)return!0;return!1},initDelegate:function(a,c,d){var e;jindo.$Jindo.isString(d)?e=b(function(a,b,c){var d=c,e=this.containsElement(a,c,b,!0);if(!e){var f=this._getParent(a,c);for(var g=0,h=f.length;g<h;g++){d=f[g];if(this.containsElement(a,d,b)){e=!0;break}}}return[e,d]},this,[a,d]):e=b(function(a,b,c){var d=c,e=b(a,c);if(!e){var f=this._getParent(a,c);for(var g=0,h=f.length;g<h;g++){d=f[g];if(b(a,d)){e=!0;break}}}return[e,d]},this,[a,d]),c.delegate[d]={checker:e,callback:[]}},addDelegate:function(a,b,c){a.delegate[b].callback.push(c)},removeEventListener:function(b,c,d,e,f,g){var h;try{h=a[b].event[c].type[d]}catch(i){return}var j=[],k;e==="normal"?k=h.normal:k=h.delegate[f].callback;if(c==NONE_GROUP||jindo.$Jindo.isFunction(g))for(var l=0,m=k.length;l<m;l++)(k[l]._origin_||k[l])!=g&&j.push(k[l]);e==="normal"?(delete h.normal,h.normal=j):e==="delegate"&&(delete h.delegate[f].callback,h.delegate[f].callback=j),this.cleanUp(b,c)},cleanUpAll:function(){var b;for(var c in a)a.hasOwnProperty(c)&&this.cleanUpUsingKey(c,!0)},cleanUpUsingKey:function(b,c){var d;if(!a[b]||!a[b].event)return;d=a[b].event;for(var e in d)d.hasOwnProperty(e)&&this.cleanUp(b,e,c)},cleanUp:function(b,c,d){var e;try{e=a[b].event[c].type}catch(f){return}var g,h=!1;if(!d)for(var i in e)if(e.hasOwnProperty(i)){g=e[i];if(g.normal.length){h=!0;break}var j=g.delegate;for(var k in j)if(j.hasOwnProperty(k)&&j[k].callback.length){h=!0;break}if(h)break}if(!h){jindo.$Element._unEventBind(a[b].ele,c,a[b].event[c].listener),delete a[b].event[c];var l=!0,m=a[b].event;for(var n in m)if(m.hasOwnProperty(n)){l=!1;break}l&&delete a[b]}},splitGroup:function(a){var b=/\s*(.+?)\s*\(\s*(.*?)\s*\)/.exec(a);return b?{event:b[1].toLowerCase(),group:b[2].toLowerCase()}:{event:a.toLowerCase(),group:NONE_GROUP}},_getParent:function(a,b){var c=a,d=[],e=null,f=b.ownerDocument||b.document||document;while(b.parentNode&&e!=c){e=b.parentNode;if(e==f.documentElement)break;d[d.length]=e,b=e}return d}}}(),jindo.$Element._domready=function(a,b){if(jindo.$Element._domready.list===undefined){var c=null;jindo.$Element._domready.list=[b];var d=!1,e=function(){if(!d){d=!0;var b=jindo.$Element._domready.list.concat(),e={type:"domready",target:a,currentTarget:a};while(c=b.shift())c(e)}};(function(){try{a.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,50);return}e()})(),a.onreadystatechange=function(){a.readyState=="complete"&&(a.onreadystatechange=null,e())}}else jindo.$Element._domready.list.push(b)},jindo.$Element.prototype.appear=function(a,b){function f(){var c=g_checkVarType(arguments,{"4voi":[],"4num":["nDuration:"+tNumeric],"4fun":["nDuration:"+tNumeric,"fpCallback:"+tFunction]},"$Element#appear");switch(c+""){case"4voi":a=.3,b=function(){};break;case"4num":a=c.nDuration,b=function(){};break;case"4fun":a=c.nDuration,b=c.fpCallback}return[a,b]}var c=getStyleIncludeVendorPrefix(),d=c.transition,e;return d=="transition"?e="end":e="End",c.transition?jindo.$Element.prototype.appear=function(a,b){var d=f.apply(this,_toArray(arguments));a=d[0],b=d[1];var g=this,h=this._element,i=c.transition,j=function(){g.show(),h.style[i+"Property"]="",h.style[i+"Duration"]="",h.style[i+"TimingFunction"]="",h.style.opacity="",b.call(g,g),h.removeEventListener(i+e,arguments.callee,!1)};return this.visible()||(h.style.opacity=h.style.opacity||0,g.show()),h.addEventListener(i+e,j,!1),h.style[i+"Property"]="opacity",h.style[i+"Duration"]=a+"s",h.style[i+"TimingFunction"]="linear",setOpacity(h,"1"),this}:jindo.$Element.prototype.appear=function(a,b){var c=f.apply(this,_toArray(arguments));a=c[0],b=c[1];var d=this,e=this.opacity();this._getCss(this._element,"display")=="none"&&(e=0);if(e==1)return this;try{clearTimeout(this._fade_timer)}catch(g){}var h=(1-e)/((a||.3)*100),i=function(){e+=h,d.opacity(e),e>=1?(d._element.style.filter="",b.call(d,d)):d._fade_timer=setTimeout(i,10)};return this.show(),i(),this},this.appear.apply(this,arguments)},jindo.$Element.prototype.disappear=function(a,b){function f(){var c=g_checkVarType(arguments,{"4voi":[],"4num":["nDuration:"+tNumeric],"4fun":["nDuration:"+tNumeric,"fpCallback:"+tFunction]},"$Element#disappear");switch(c+""){case"4voi":a=.3,b=function(){};break;case"4num":a=c.nDuration,b=function(){};break;case"4fun":a=c.nDuration,b=c.fpCallback}return[a,b]}var c=getStyleIncludeVendorPrefix(),d=c.transition,e;return d=="transition"?e="end":e="End",c.transition?jindo.$Element.prototype.disappear=function(a,b){var d=f.apply(this,_toArray(arguments));a=d[0],b=d[1];var g=this,h=c.transition,i=this._element,j=function(){g.hide(),i.style[h+"Property"]="",i.style[h+"Duration"]="",i.style[h+"TimingFunction"]="",i.style.opacity="",b.call(g,g),i.removeEventListener(h+e,arguments.callee,!1)};return i.addEventListener(h+e,j,!1),i.style[h+"Property"]="opacity",i.style[h+"Duration"]=a+"s",i.style[h+"TimingFunction"]="linear",setOpacity(i,"0"),this}:jindo.$Element.prototype.disappear=function(a,b){var c=f.apply(this,_toArray(arguments));a=c[0],b=c[1];var d=this,e=this.opacity();if(e==0)return this;try{clearTimeout(this._fade_timer)}catch(g){}var h=e/((a||.3)*100),i=function(){e-=h,d.opacity(e),e<=0?(d._element.style.display="none",d.opacity(1),b.call(d,d)):d._fade_timer=setTimeout(i,10)};return i(),this},this.disappear.apply(this,arguments)},jindo.$Element.prototype.offset=function(a,b){var c=g_checkVarType(arguments,{g:[],s:["nTop:"+tNumeric,"nLeft:"+tNumeric]},"$Element#offset");
10switch(c+""){case"g":return this.offset_get();case"s":return this.offset_set(c.nTop,c.nLeft)}},jindo.$Element.prototype.offset_set=function(a,b){var c=this._element,d=null;isNaN(parseFloat(this._getCss(c,"top")))&&(c.style.top="0px"),isNaN(parseFloat(this._getCss(c,"left")))&&(c.style.left="0px");var e=this.offset_get(),f={top:a-e.top,left:b-e.left};return c.style.top=parseFloat(this._getCss(c,"top"))+f.top+"px",c.style.left=parseFloat(this._getCss(c,"left"))+f.left+"px",this},jindo.$Element.prototype.offset_get=function(a,b){var c=this._element,d=null,e=_JINDO_IS_SP&&!_JINDO_IS_CH,f=_JINDO_IS_IE,g=0;f&&(document.documentMode?g=document.documentMode:g=navigator.userAgent.match(/(?:MSIE) ([0-9.]+)/)[1]);var h=function(a){var b={left:0,top:0};for(var c=a,d=c.offsetParent;c=c.parentNode;)c.offsetParent&&(b.left-=c.scrollLeft,b.top-=c.scrollTop),c==d&&(b.left+=a.offsetLeft+c.clientLeft,b.top+=a.offsetTop+c.clientTop,c.offsetParent||(b.left+=c.offsetLeft,b.top+=c.offsetTop),d=c.offsetParent,a=c);return b},i=function(a){var b={left:0,top:0},c=a.ownerDocument||a.document||document,e=c.documentElement,h=c.body;if(a.getBoundingClientRect){if(!d){var i=window==top;if(!i)try{i=window.frameElement&&window.frameElement.frameBorder==1}catch(j){}f&&g<8&&window.external&&i&&document.body.contains(a)?(d={left:2,top:2},oBase=null):d={left:0,top:0}}var k;try{k=a.getBoundingClientRect()}catch(j){k={left:0,top:0}}a!==e&&a!==h&&(b.left=k.left-d.left,b.top=k.top-d.top,b.left+=e.scrollLeft||h.scrollLeft,b.top+=e.scrollTop||h.scrollTop)}else if(c.getBoxObjectFor){var k=c.getBoxObjectFor(a),l=c.getBoxObjectFor(e||h);b.left=k.screenX-l.screenX,b.top=k.screenY-l.screenY}else{for(var m=a;m;m=m.offsetParent)b.left+=m.offsetLeft,b.top+=m.offsetTop;for(var m=a.parentNode;m;m=m.parentNode){if(m.tagName=="BODY")break;m.tagName=="TR"&&(b.top+=2),b.left-=m.scrollLeft,b.top-=m.scrollTop}}return b};return(e?h:i)(c)},jindo.$Element.prototype.evalScripts=function(sHTML){var oArgs=g_checkVarType(arguments,{"4str":["sHTML:"+tString]},"$Element#evalScripts"),aJS=[];return sHTML=sHTML.replace(new RegExp("<script(\\s[^>]+)*>(.*?)</script>","gi"),function(a,b,c){return aJS.push(c),""}),eval(aJS.join("\n")),this},jindo.$Element._common=function(a,b){try{return jindo.$Element(a)._element}catch(c){throw TypeError(c.message.replace(/\$Element/g,"$Element#"+b).replace(/Element\.html/g,"Element.html#"+b))}},jindo.$Element._prepend=function(a,b){var c=a.childNodes;c.length>0?a.insertBefore(b,c[0]):a.appendChild(b)},jindo.$Element.prototype.append=function(a){return this._element.appendChild(jindo.$Element._common(a,"append")),this},jindo.$Element.prototype.prepend=function(a){return jindo.$Element._prepend(this._element,jindo.$Element._common(a,"prepend")),this},jindo.$Element.prototype.replace=function(a){a=jindo.$Element._common(a,"replace"),jindo.cssquery&&jindo.cssquery.release();var b=this._element,c=b.parentNode;if(c&&c.replaceChild)return c.replaceChild(a,b),this;var d=a;return c.insertBefore(d,b),c.removeChild(b),this},jindo.$Element.prototype.appendTo=function(a){return jindo.$Element._common(a,"appendTo").appendChild(this._element),this},jindo.$Element.prototype.prependTo=function(a){return jindo.$Element._prepend(jindo.$Element._common(a,"prependTo"),this._element),this},jindo.$Element.prototype.before=function(a){var b=jindo.$Element._common(a,"before");return this._element.parentNode.insertBefore(b,this._element),this},jindo.$Element.prototype.after=function(a){return a=jindo.$Element._common(a,"after"),this.before(a),jindo.$Element(a).before(this),this},jindo.$Element.prototype.parent=function(a,b){var c=g_checkVarType(arguments,{"4voi":[],"4fun":["fpFunc:"+tFunction],"4nul":["fpFunc:"+tNull],for_function_number:["fpFunc:"+tFunction,"nLimit:"+tNumeric],for_null_number:["fpFunc:"+tNull,"nLimit:"+tNumeric]},"$Element#parent"),d=this._element;switch(c+""){case"4voi":return d.parentNode?jindo.$Element(d.parentNode):null;case"4fun":case"4nul":b=-1;break;case"for_function_number":case"for_null_number":c.nLimit==0&&(b=-1)}var e=[],f=null;while(d.parentNode&&b--!=0){try{f=jindo.$Element(d.parentNode)}catch(d){f=null}if(d.parentNode==document.documentElement)break;
10if(!a||a&&a.call(this,f))e[e.length]=f;d=d.parentNode}return e},jindo.$Element.prototype.child=function(a,b){var c=g_checkVarType(arguments,{"4voi":[],"4fun":["fpFunc:"+tFunction],"4nul":["fpFunc:"+tNull],for_function_number:["fpFunc:"+tFunction,"nLimit:"+tNumeric],for_null_number:["fpFunc:"+tNull,"nLimit:"+tNumeric]},"$Element#child"),d=this._element,e=[],f=null,g=null;switch(c+""){case"4voi":var h=d.childNodes,i=[];for(var j=0,k=h.length;j<k;j++)if(h[j].nodeType==1)try{i.push(jindo.$Element(h[j]))}catch(d){i.push(null)}return i;case"4fun":case"4nul":b=-1;break;case"for_function_number":case"for_null_number":c.nLimit==0&&(b=-1)}return(g=function(b,c,d){var f=null,h=null;for(var i=0;i<b.childNodes.length;i++){f=b.childNodes[i];if(f.nodeType!=1)continue;try{h=jindo.$Element(b.childNodes[i])}catch(j){h=null}if(!a||a&&a.call(d,h))e[e.length]=h;c!=0&&g(b.childNodes[i],c-1)}})(d,b-1,this),e},jindo.$Element.prototype.prev=function(a){var b=g_checkVarType(arguments,{"4voi":[],"4fun":["fpFunc:"+tFunction],"4nul":["fpFunc:"+tNull]},"$Element#prev"),c=this._element,d=[];switch(b+""){case"4voi":if(!c)return null;do{c=c.previousSibling;if(!c||c.nodeType!=1)continue;try{return c==null?null:jindo.$Element(c)}catch(c){return null}}while(c);try{return c==null?null:jindo.$Element(c)}catch(c){return null};case"4fun":case"4nul":if(!c)return d;do{c=c.previousSibling;if(!c||c.nodeType!=1)continue;if(!a||a.call(this,c))try{c==null?d[d.length]=null:d[d.length]=jindo.$Element(c)}catch(c){d[d.length]=null}}while(c);try{return d}catch(c){return null}}},jindo.$Element.prototype.next=function(a){var b=g_checkVarType(arguments,{"4voi":[],"4fun":["fpFunc:"+tFunction],"4nul":["fpFunc:"+tNull]},"$Element#next"),c=this._element,d=[];switch(b+""){case"4voi":if(!c)return null;do{c=c.nextSibling;if(!c||c.nodeType!=1)continue;try{return c==null?null:jindo.$Element(c)}catch(c){return null}}while(c);try{return c==null?null:jindo.$Element(c)}catch(c){return null};case"4fun":case"4nul":if(!c)return d;do{c=c.nextSibling;if(!c||c.nodeType!=1)continue;if(!a||a.call(this,c))try{c==null?d[d.length]=null:d[d.length]=jindo.$Element(c)}catch(c){d[d.length]=null}}while(c);try{return d}catch(c){return null}}},jindo.$Element.prototype.first=function(){var a=this._element.firstElementChild||this._element.firstChild;if(!a)return null;while(a&&a.nodeType!=1)a=a.nextSibling;try{return a?jindo.$Element(a):null}catch(b){return null}},jindo.$Element.prototype.last=function(){var a=this._element.lastElementChild||this._element.lastChild;if(!a)return null;while(a&&a.nodeType!=1)a=a.previousSibling;try{return a?jindo.$Element(a):null}catch(b){return null}},jindo.$Element._contain=function(a,b){if(document.compareDocumentPosition)return!!(a.compareDocumentPosition(b)&16);if(a.contains)return a!==b&&(a.contains?a.contains(b):!0);if(!document.body.contains){var c=a,d=b;while(c&&c.parentNode){c=c.parentNode;if(c==d)return!0}return!1}if(a===(b.ownerDocument||b.document)&&b.tagName&&b.tagName.toUpperCase()==="BODY")return!0;a.nodeType===9&&a!==b&&(a=a.body);try{return a!==b&&(a.contains?a.contains(b):!0)}catch(c){return!1}},jindo.$Element.prototype.isChildOf=function(a){try{return jindo.$Element._contain(jindo.$Element(a)._element,this._element)}catch(b){return!1}},jindo.$Element.prototype.isParentOf=function(a){try{return jindo.$Element._contain(this._element,jindo.$Element(a)._element)}catch(b){return!1}},jindo.$Element.prototype.isEqual=function(a){try{return this._element===jindo.$Element(a)._element}catch(b){return!1}},jindo.$Element.prototype.fireEvent=function(a,b){function d(a,b,c,d){var e=normalCustomEvent[b],f,g;for(var h in e){g=e[h],f=g.ele;var i;for(var j in g)if(j==="_NONE_"){if(f==a||c.isChildOf(f)){i=g[j].wrap_listener;for(var k=0,l=i.length;k<l;k++)i[k]()}}else if(jindo.$Element.eventManager.containsElement(f,a,j,!1)){i=g[j].wrap_listener;for(var k=0,l=i.length;k<l;k++)i[k]()}}}function e(a,b){var e=g_checkVarType(arguments,c,"$Element#fireEvent"),f=this._element;if(normalCustomEvent[a])return d(f,a,this,!!normalCustomEvent[a]),this;a=(a+"").toLowerCase();var g=document.createEventObject();switch(e+""){case"4obj":b=e.oProps;for(k in b)b.hasOwnProperty(k)&&(g[k]=b[k]);g.button=(b.left?1:0)+(b.middle?4:0)+(b.right?2:0),g.relatedTarget=b.relatedElement||null}return this.tag=="input"&&a=="click"&&(f.type=="checkbox"?f.checked=!f.checked:f.type=="radio"&&(f.checked=!0)),this._element.fireEvent("on"+a,g),this}function f(a,b){var e=g_checkVarType(arguments,c,"$Element#fireEvent"),f=this._element;if(normalCustomEvent[a])return d(f,a,this,!!normalCustomEvent[a]),this;var g="HTMLEvents";
10a=(a+"").toLowerCase(),a=="click"||a.indexOf("mouse")==0?(g="MouseEvent",a=="mousewheel"&&(a="dommousescroll")):a.indexOf("key")==0&&(g="KeyboardEvent");var h;switch(e+""){case"4obj":b=e.oProps,b.button=0+(b.middle?1:0)+(b.right?2:0),b.ctrl=b.ctrl||!1,b.alt=b.alt||!1,b.shift=b.shift||!1,b.meta=b.meta||!1;switch(g){case"MouseEvent":h=document.createEvent(g),h.initMouseEvent(a,!0,!0,null,b.detail||0,b.screenX||0,b.screenY||0,b.clientX||0,b.clientY||0,b.ctrl,b.alt,b.shift,b.meta,b.button,b.relatedElement||null);break;case"KeyboardEvent":if(window.KeyEvent)h=document.createEvent("KeyEvents"),h.initKeyEvent(a,!0,!0,window,b.ctrl,b.alt,b.shift,b.meta,b.keyCode,b.keyCode);else try{h=document.createEvent("Events")}catch(i){h=document.createEvent("UIEvents")}finally{h.initEvent(a,!0,!0),h.ctrlKey=b.ctrl,h.altKey=b.alt,h.shiftKey=b.shift,h.metaKey=b.meta,h.keyCode=b.keyCode,h.which=b.keyCode}break;default:h=document.createEvent(g),h.initEvent(a,!0,!0)}break;case"4str":h=document.createEvent(g),h.initEvent(a,!0,!0)}return f.dispatchEvent(h),this}var c={"4str":[jindo.$Jindo._F("sEvent:"+tString)],"4obj":["sEvent:"+tString,"oProps:"+tHash]};return jindo.$Element.prototype.fireEvent=document.dispatchEvent!==undefined?f:e,this.fireEvent.apply(this,_toArray(arguments))},jindo.$Element.prototype.empty=function(){return jindo.cssquery&&jindo.cssquery.release(),this.html(""),this},jindo.$Element.prototype.remove=function(a){jindo.cssquery&&jindo.cssquery.release();var b=jindo.$Element;return b(b._common(a,"remove")).leave(),this},jindo.$Element.prototype.leave=function(){var a=this._element;return a.parentNode&&(jindo.cssquery&&jindo.cssquery.release(),a.parentNode.removeChild(a)),this},jindo.$Element.prototype.wrap=function(a){var b=this._element;return a=jindo.$Element._common(a,"wrap"),b.parentNode&&b.parentNode.insertBefore(a,b),a.appendChild(b),this},jindo.$Element.prototype.ellipsis=function(a){var b=g_checkVarType(arguments,{"4voi":[],"4str":["stringTail:"+tString]},"$Element#ellipsis");a=a||"...";var c=this.text(),d=c.length,e=parseInt(this._getCss(this._element,"paddingTop"),10)+parseInt(this._getCss(this._element,"paddingBottom"),10),f=this._element.offsetHeight-e,g=0,h=this.text("A")._element.offsetHeight-e;if(f<h*1.5)return this.text(c),this;f=h;while(f<h*1.5)g+=Math.max(Math.ceil((d-g)/2),1),f=this.text(c.substring(0,g)+a)._element.offsetHeight-e;while(f>h*1.5)g--,f=this.text(c.substring(0,g)+a)._element.offsetHeight-e;return this},jindo.$Element.prototype.indexOf=function(a){try{var b=jindo.$Element(a)._element,c=this._element.childNodes,d=0,e=c.length;for(var f=0;f<e;f++){if(c[f].nodeType!=1)continue;if(c[f]===b)return d;d++}}catch(b){}return-1},jindo.$Element.prototype.queryAll=function(a){var b=g_checkVarType(arguments,{"4str":["sSelector:"+tString]},"$Element#queryAll"),c=jindo.cssquery(a,this._element),d=[];for(var e=0,f=c.length;e<f;e++)d.push(jindo.$Element(c[e]));return d},jindo.$Element.prototype.query=function(a){var b=g_checkVarType(arguments,{"4str":["sSelector:"+tString]},"$Element#query"),c=jindo.cssquery.getSingle(a,this._element);return c===null?c:jindo.$Element(c)},jindo.$Element.prototype.test=function(a){var b=g_checkVarType(arguments,{"4str":["sSelector:"+tString]},"$Element#test");return jindo.cssquery.test(this._element,a)},jindo.$Element.prototype.xpathAll=function(a){var b=g_checkVarType(arguments,{"4str":["sXPath:"+tString]},"$Element#xpathAll"),c=jindo.cssquery.xpath(a,this._element),d=[];for(var e=0,f=c.length;e<f;e++)d.push(jindo.$Element(c[e]));return d},jindo.$Element.insertAdjacentHTML=function(a,b,c,d,e,f){var g=[b];g.callee=arguments.callee;var h=g_checkVarType(g,{"4str":["sHTML:"+tString]},"$Element#"+f),i=a._element;b+="";if(i.insertAdjacentHTML&&!/^<(option|tr|td|th|col)(?:.*?)>/.test(b.replace(/^(\s| )+|(\s| )+$/g,"").toLowerCase()))i.insertAdjacentHTML(c,b);else{var j=i.ownerDocument||i.document||document,k=j.createDocumentFragment(),l,m=b.replace(/^(\s| )+|(\s| )+$/g,""),n={option:"select",tr:"tbody",thead:"table",tbody:"table",col:"table",td:"tr",th:"tr",div:"div"},o=/^\<(option|tr|thead|tbody|td|th|col)(?:.*?)\>
10/i.exec(m),p=o===null?"div":o[1].toLowerCase(),q=n[p];l=_createEle(q,m,j,!0);var r=l.getElementsByTagName("script");for(var s=0,t=r.length;s<t;s++)r[s].parentNode.removeChild(r[s]);while(l[d])k.appendChild(l[d]);e(k.cloneNode(!0))}return a},jindo.$Element.prototype.appendHTML=function(a){return jindo.$Element.insertAdjacentHTML(this,a,"beforeEnd","firstChild",jindo.$Fn(function(a){var b=this._element;if(b.tagName.toLowerCase()==="table"){var c=b.childNodes;for(var d=0,e=c.length;d<e;d++)if(c[d].nodeType==1){b=c[d];break}}b.appendChild(a)},this).bind(),"appendHTML")},jindo.$Element.prototype.prependHTML=function(a){var b=jindo.$Element;return b.insertAdjacentHTML(this,a,"afterBegin","firstChild",jindo.$Fn(function(a){var c=this._element;if(c.tagName.toLowerCase()==="table"){var d=c.childNodes;for(var e=0,f=d.length;e<f;e++)if(d[e].nodeType==1){c=d[e];break}}b._prepend(c,a)},this).bind(),"prependHTML")},jindo.$Element.prototype.beforeHTML=function(a){return jindo.$Element.insertAdjacentHTML(this,a,"beforeBegin","firstChild",jindo.$Fn(function(a){this._element.parentNode.insertBefore(a,this._element)},this).bind(),"beforeHTML")},jindo.$Element.prototype.afterHTML=function(a){return jindo.$Element.insertAdjacentHTML(this,a,"afterEnd","firstChild",jindo.$Fn(function(a){this._element.parentNode.insertBefore(a,this._element.nextSibling)},this).bind(),"afterHTML")},jindo.$Element.prototype.hasEventListener=function(a){var b=g_checkVarType(arguments,{"4str":["sEvent:"+tString]},"$Element#hasEventListener"),c,d=!1,e=b.sEvent.toLowerCase();return this._key?(c=this._element.ownerDocument||this._element.document||document,e=="load"&&this._element===c?d=jindo.$Element(window).hasEventListener(b.sEvent):e=="domready"&&jindo.$Jindo.isWindow(this._element)?d=jindo.$Element(c).hasEventListener(b.sEvent):d=!!jindo.$Element.eventManager.hasEvent(this._key,b.sEvent),d):!1},jindo.$Element.prototype.preventTapHighlight=function(a){if(_JINDO_IS_MO){var b="no_tap_highlight"+(new Date).getTime(),c=document.createElement("style"),d=document.getElementsByTagName("html")[0];c.type="text/css",d.insertBefore(c,d.firstChild);var e=c.sheet||c.styleSheet;e.insertRule("."+b+" { -webkit-tap-highlight-color: rgba(0,0,0,0); }",0),e.insertRule("."+b+" * { -webkit-tap-highlight-color: rgba(0,0,0,.25); }",0),jindo.$Element.prototype.preventTapHighlight=function(a){return this[a?"addClass":"removeClass"](b)}}else jindo.$Element.prototype.preventTapHighlight=function(a){return this};return this.preventTapHighlight.apply(this,_toArray(arguments))},jindo.$Element.prototype.data=function(sKey,vValue){function toCamelCase(a){return a.replace(/\-(.)/g,function(a,b){return b.toUpperCase()})}function toDash(a){return a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})}var oType={g:["sKey:"+tString],s4var:["sKey:"+tString,"vValue:"+tVariant],s4obj:["oObj:"+tHash]},jindoKey="_jindo";return document.body.dataset?jindo.$Element.prototype.data=function(a,b){var c,d=g_checkVarType(arguments,oType,"$Element#data"),e=jindo.$Jindo.isNull;switch(d+""){case"g":a=toCamelCase(a);var f=this._element.dataset[a+jindoKey],g=this._element.dataset[a];if(g)return f?window.JSON.parse(g):g;return null;case"s4var":var h;if(e(b))return a=toCamelCase(a),delete this._element.dataset[a],delete this._element.dataset[a+jindoKey],this;h={},h[a]=b,a=h;case"s4obj":var i;for(var j in a)i=toCamelCase
11(j),e(a[j])?(delete this._element.dataset[i],delete this._element.dataset[i+jindoKey]):(c=jindo.$Json._oldToString(a[j]),c!=null&&(this._element.dataset[i]=c,this._element.dataset[i+jindoKey]="jindo"));return this}}:jindo.$Element.prototype.data=function(sKey,vValue){var sToStr,oArgs=g_checkVarType(arguments,oType,"$Element#data"),isNull=jindo.$Jindo.isNull;switch(oArgs+""){case"g":sKey=toDash(sKey);var isMakeFromJindo=this._element.getAttribute("data-"+sKey+jindoKey),sVal=this._element.getAttribute("data-"+sKey);return isMakeFromJindo?sVal!=null?eval("("+sVal+")"):null:sVal;case"s4var":var oData;if(isNull(vValue))return sKey=toDash(sKey),this._element.removeAttribute("data-"+sKey),this._element.removeAttribute("data-"+sKey+jindoKey),this;oData={},oData[sKey]=vValue,sKey=oData;case"s4obj":var sChange;
11for(var i in sKey)sChange=toDash(i),isNull(sKey[i])?(this._element.removeAttribute("data-"+sChange),this._element.removeAttribute("data-"+sChange+jindoKey)):(sToStr=jindo.$Json._oldToString(sKey[i]),sToStr!=null&&(this._element.setAttribute("data-"+sChange,sToStr),this._element.setAttribute("data-"+sChange+jindoKey,"jindo")));return this}},this.data.apply(this,_toArray(arguments))},jindo.$Fn=function(func,thisObject){var cl=arguments.callee;if(func instanceof cl)return func;if(!(this instanceof cl))try{return jindo.$Jindo._maxWarn(arguments.length,2,"$Fn"),new cl(func,thisObject)}catch(e){if(e instanceof TypeError)return null;throw e}var oArgs=g_checkVarType(arguments,{"4fun":["func:"+tFunction],"4fun2":["func:"+tFunction,"thisObject:"+tVariant],"4str":["func:"+tString,"thisObject:"+tString]},"$Fn");this._tmpElm=null,this._key=null;switch(oArgs+""){case"4str":this._func=eval("false||function("+func+"){"+thisObject+"}");break;case"4fun":case"4fun2":this._func=func,this._this=thisObject}},jindo.$Fn._commonPram=function(a,b){return g_checkVarType(a,{"4ele":["eElement:"+tElement,"sEvent:"+tString],"4ele2":["eElement:"+tElement,"sEvent:"+tString,"bUseCapture:"+tBoolean],"4str":["eElement:"+tString,"sEvent:"+tString],"4str2":["eElement:"+tString,"sEvent:"+tString,"bUseCapture:"+tBoolean],"4arr":["aElement:"+tArray,"sEvent:"+tString],"4arr2":["aElement:"+tArray,"sEvent:"+tString,"bUseCapture:"+tBoolean],"4doc":["eElement:"+tDocument,"sEvent:"+tString],"4win":["eElement:"+tWindow,"sEvent:"+tString],"4doc2":["eElement:"+tDocument,"sEvent:"+tString,"bUseCapture:"+tBoolean],"4win2":["eElement:"+tWindow,"sEvent:"+tString,"bUseCapture:"+tBoolean]},b)},jindo.$Fn.prototype.$value=function(){return this._func},jindo.$Fn.prototype.bind=function(){var a=_slice.call(arguments,0),b=this._func,c=this._this||this,d;return b.bind?(a.unshift(c),d=Function.prototype.bind.apply(b,a)):d=function(){var d=_slice.call(arguments,0);return a.length&&(d=a.concat(d)),b.apply(c,d)},d},jindo.$Fn.prototype.attach=function(a,b,c){var d=jindo.$Fn._commonPram(arguments,"$Fn#attach"),e=null,f,g=b,h=a,i=_j_ag;c!==!0&&(c=!1),this._bUseCapture=c;switch(d+""){case"4arr":case"4arr2":var h=d.aElement,g=d.sEvent;for(var j=0,f=h.length;j<f;j++)this.attach(h[j],g,!!c);return this}return e=this._bind=this._bind?this._bind:this.bind(),jindo.$Element(h).attach(g,e),this},jindo.$Fn.prototype.detach=function(a,b,c){var d=jindo.$Fn._commonPram(arguments,"$Fn#detach"),e=null,f,g=a,h=b,i=_j_ag;switch(d+""){case"4arr":case"4arr2":var g=d.aElement,h=d.sEvent;for(var j=0,f=g.length;j<f;j++)this.detach(g[j],h,!!c);return this}return e=this._bind=this._bind?this._bind:this.bind(),jindo.$Element(d.eElement).detach(d.sEvent,e),this},jindo.$Fn.prototype.delay=function(a,b){var c=g_checkVarType(arguments,{"4num":["nSec:"+tNumeric],"4arr":["nSec:"+tNumeric,"args:"+tArray]},"$Fn#delay");switch(c+""){case"4num":b=b||[];break;case"4arr":b=c.args}return this._delayKey=setTimeout(this.bind.apply(this,b),a*1e3),this},jindo.$Fn.prototype.setInterval=function(a,b){var c=g_checkVarType(arguments,{"4num":["nSec:"+tNumeric],"4arr":["nSec:"+tNumeric,"args:"+tArray]},"$Fn#setInterval");switch(c+""){case"4num":b=b||[];break;case"4arr":b=c.args}return this._repeatKey=setInterval(this.bind.apply(this,b),a*1e3),this},jindo.$Fn.prototype.repeat=jindo.$Fn.prototype.setInterval,jindo.$Fn.prototype.stopDelay=function(){return this._delayKey!==undefined&&(window.clearTimeout(this._delayKey),delete this._delayKey),this},jindo.$Fn.prototype.stopRepeat=function(){return this._repeatKey!==undefined&&(window.clearInterval(this._repeatKey),delete this._repeatKey),this},jindo.$ElementList=function(a){var b=arguments.callee;if(a instanceof b)return a;
11if(!(this instanceof b))try{return new b(a)}catch(c){if(c instanceof TypeError)return null;throw c}var d=g_checkVarType(arguments,{"4arr":["aEle:"+tArray],"4str":["sCssQuery:"+tString],"4nul":["oEle:"+tNull],"4und":["oEle:"+tUndefined]},"$ElementList");switch(d+""){case"4arr":a=d.aEle;break;case"4str":a=jindo.cssquery(d.sCssQuery);break;case"4nul":case"4und":a=[]}this._elements=[];for(var e=0,f=a.length;e<f;e++)this._elements.push(jindo.$Element(a[e]))},function(a){var b=["show","hide","toggle","addClass","removeClass","toggleClass","fireEvent","leave","empty","className","width","height","text","html","css","attr"];for(var c=0,d=b.length;c<d;c++){var e=b[c];jindo.$Element.prototype[e]&&(a[b[c]]=function(a){return function(){try{var b=[];for(var c=0,d=arguments.length;c<d;c++)b.push(arguments[c]);for(var e=0,f=this._elements.length;e<f;e++)this._elements[e][a].apply(this._elements[e],b);return this}catch(g){throw TypeError(g.message.replace(/\$Element/g,"$Elementlist#"+a).replace(/Element\.html/g,"Elementlist.html#"+a))}}}(b[c]))}var f=["appear","disappear"];for(var c=0,d=f.length;c<d;c++)jindo.$Element.prototype[e]&&(a[f[c]]=function(a){return function(b,c){try{var d=this;for(var e=0,f=this._elements.length;e<f;e++)e==f-1?this._elements[e][a](b,function(){c&&c(d)}):this._elements[e][a](b);return this}catch(g){throw TypeError(g.message.replace(/\$Element/g,"$Elementlist#"+a).replace(/Element\.html/g,"Elementlist.html#"+a))}}}(f[c]))}(jindo.$ElementList.prototype),jindo.$ElementList.prototype.get=function(a){var b=g_checkVarType(arguments,{"4num":["nIdx:"+tNumeric]},"$ElementList#get");return this._elements[a]},jindo.$ElementList.prototype.getFirst=function(){return this._elements[0]},jindo.$ElementList.prototype.getLast=function(){return this._elements[Math.max(this._elements.length-1,0)]},jindo.$ElementList.prototype.length=function(a,b){var c=g_checkVarType(arguments,{"4voi":[],"4num":[jindo.$Jindo._F("nLen:"+tNumeric)],"4var":["nLen:"+tNumeric,"oValue:"+tVariant]},"$ElementList#length"),d=jindo.$A(this._elements);try{return d.length.apply(d,_toArray(arguments))}catch(e){throw TypeError(e.message.replace(/\$A/g,"$Elementlist#length").replace(/A\.html/g,"Elementlist.html#length"))}},jindo.$ElementList.prototype.$value=function(){return this._elements},jindo.$S=function(a){var b=arguments.callee;if(a instanceof b)return a;
11if(!(this instanceof b))try{return jindo.$Jindo._maxWarn(arguments.length,1,"$Json"),new b(a||"")}catch(c){if(c instanceof TypeError)return null;throw c}var d=g_checkVarType(arguments,{"4str":["str:"+tString]},"$S");this._str=a+""},jindo.$S.prototype.$value=function(){return this._str},jindo.$S.prototype.toString=jindo.$S.prototype.$value,jindo.$S.prototype.trim=function(){return"a".trim?jindo.$S.prototype.trim=function(){return jindo.$S(this._str.trim())}:jindo.$S.prototype.trim=function(){return jindo.$S(trim(this._str))},this.trim()},jindo.$S.prototype.escapeHTML=function(){var a={'"':"quot","&":"amp","<":"lt",">":"gt","'":"#39"},b=this._str.replace(/[<>&"']/g,function(b){return a[b]?"&"+a[b]+";":b});return jindo.$S(b)},jindo.$S.prototype.stripTags=function(){return jindo.$S(this._str.replace(/<\/?(?:h[1-5]|[a-z]+(?:\:[a-z]+)?)[^>]*>/ig,""))},jindo.$S.prototype.times=function(a){var b=g_checkVarType(arguments,{"4str":["nTimes:"+tNumeric]},"$S#times");return b?jindo.$S(Array(b.nTimes+1).join(this._str)):this},jindo.$S.prototype.unescapeHTML=function(){var a={quot:'"',amp:"&",lt:"<",gt:">","#39":"'"},b=this._str.replace(/&([a-z]+|#[0-9]+);/g,function(b,c){return a[c]?a[c]:b});return jindo.$S(b)},jindo.$S.prototype.escape=function(){var a=this._str.replace(/([\u0080-\uFFFF]+)|[\n\r\t"'\\]/g,function(a,b,c){return b?escape(b).replace(/%/g,"\\"):(c={"\n":"\\n","\r":"\\r","\t":"\\t"})[a]?c[a]:"\\"+a});return jindo.$S(a)},jindo.$S.prototype.bytes=function(a){var b=g_checkVarType(arguments,{"4voi":[],"4num":["nConfig:"+tNumeric],"4obj":["nConfig:"+tHash]},"$S#bytes"),c=0,d=0,e=0,f=this._str.length,g=(document.charset||document.characterSet||document.defaultCharset)+"",h,i;switch(b+""){case"4voi":h=!1;break;case"4num":h=!0,i=a;break;case"4obj":g=a.charset||g,i=a.size||!1,h=!!i}if(g.toLowerCase()=="utf-8")for(e=0;e<f;e++){c=this._str.charCodeAt(e),c<128?d+=1:c<2048?d+=2:c<65536?d+=3:d+=4;if(h&&d>i){this._str=this._str.substr(0,e);break}}else for(e=0;e<f;e++){d+=this._str.charCodeAt(e)>128?2:1;if(h&&d>i){this._str=this._str.substr(0,e);break}}return h?this:d},jindo.$S.prototype.parseString=function(){if(this._str=="")return{};var a=this._str.split(/&/g),b,c,d,e={},f=!1;for(var g=0;g<a.length;g++){c=a[g].substring(0,b=a[g].indexOf("=")),f=!1;try{d=decodeURIComponent(a[g].substring(b+1))}catch(h){f=!0,d=decodeURIComponent(unescape(a[g].substring(b+1)))}c.substr(c.length-2,2)=="[]"?(c=c.substring(0,c.length-2),jindo.$Jindo.isUndefined(e[c])&&(e[c]=[]),e[c][e[c].length]=f?escape(d):d):e[c]=f?escape(d):d}return e},jindo.$S.prototype.escapeRegex=function(){var a=this._str,b=/([\?\.\*\+\-\/\(\)\{\}\[\]\:\!\^\$\\\|])/g;return jindo.$S(a.replace(b,"\\$1"))},jindo.$S.prototype.format=function(){var a=arguments,b=0,c=this._str.replace(/%([ 0])?(-)?([1-9][0-9]*)?([bcdsoxX])/g,function(c,d,e,f,g){var h=a[b++],i="",j="";f=f?+f:0;if(g=="s")i=h+"";else if(" bcdoxX".indexOf(g)>0){if(!jindo.$Jindo.isNumeric(h))return"";i=g=="c"?String.fromCharCode(h):h.toString({b:2,d:10,o:8,x:16,X:16}[g])," X".indexOf(g)>0&&(i=i.toUpperCase())}return i.length<f&&(j=jindo.$S(d||" ").times(f-i.length)._str),e=="-"?i+=j:i=j+i,i});return jindo.$S(c)},jindo.$Document=function(a){var b=arguments.callee;if(a instanceof b)return a;
11if(!(this instanceof b))try{return jindo.$Jindo._maxWarn(arguments.length,1,"$Document"),new b(a||document)}catch(c){if(c instanceof TypeError)return null;throw c}var d=g_checkVarType(arguments,{"4doc":["oDocument:"+tDocument]},"$Document");d==null?this._doc=document:this._doc=a,this._docKey=this.renderingMode()=="Standards"?"documentElement":"body"},function(){var a=jindo.cssquery,b={query:a.getSingle,queryAll:a,xpathAll:a.xpath};for(var c in b)jindo.$Document.prototype[c]=function(a,b){return function(c){var d=g_checkVarType(arguments,{"4str":["sQuery:"+tString]},"$Document#"+a);return b(c,this._doc)}}(c,b[c])}(),jindo.$Document.prototype.$value=function(){return this._doc},jindo.$Document.prototype.scrollSize=function(){var a=this._doc[_JINDO_IS_WK?"body":this._docKey];return{width:Math.max(a.scrollWidth,a.clientWidth),height:Math.max(a.scrollHeight,a.clientHeight)}},jindo.$Document.prototype.scrollPosition=function(){var a=this._doc[_JINDO_IS_WK?"body":this._docKey];return{left:a.scrollLeft||window.pageXOffset||window.scrollX||0,top:a.scrollTop||window.pageYOffset||window.scrollY||0}},jindo.$Document.prototype.clientSize=function(){var a=this._doc[this._docKey],b=_JINDO_IS_SP&&!_JINDO_IS_CH;return b?{width:window.innerWidth,height:window.innerHeight}:{width:a.clientWidth,height:a.clientHeight}},jindo.$Document.prototype.renderingMode=function(){var a=navigator.userAgent,b=_JINDO_IS_IE,c=_JINDO_IS_WK&&!_JINDO_IS_CH&&navigator.vendor.indexOf("Apple")>-1,d;return"compatMode"in this._doc?d=this._doc.compatMode=="CSS1Compat"?"Standards":b?"Quirks":"Almost":d=c?"Standards":"Quirks",d},jindo.$Form=function(a){var b=arguments.callee;if(a instanceof b)return a;
11if(!(this instanceof b))try{return jindo.$Jindo._maxWarn(arguments.length,1,"$"+tForm),new b(a)}catch(c){if(c instanceof TypeError)return null;throw c}var d=g_checkVarType(arguments,{"4str":["oForm:"+tString],"4ele":["oForm:"+tElement]},"$"+tForm);switch(d+""){case"4str":a=jindo.$(a)}if(!a.tagName||a.tagName.toUpperCase()!="FORM")throw TypeError("only form");this._form=a},jindo.$Form.prototype.$value=function(){return this._form},jindo.$Form.prototype.serialize=function(){var a=this,b={},c=arguments.length,d=function(c,d){if(!c.disabled){var e=a.value(d);e!==undefined&&(b[d]=e)}};if(c==0){var e=this._form.elements.length;for(var f=0;f<e;f++){var g=this._form.elements[f];g.name&&d(g,g.name)}}else for(var f=0;f<c;f++)d(this.element(arguments[f]),arguments[f]);return jindo.$H(b).toQueryString()},jindo.$Form.prototype.element=function(a){var b=g_checkVarType(arguments,{"4voi":[],"4str":[jindo.$Jindo._F("sKey:"+tString)]},"$Form#element");switch(b+""){case"4voi":return _toArray(this._form.elements);case"4str":return this._form.elements[a+""]}},jindo.$Form.prototype.enable=function(a){var b=g_checkVarType(arguments,{s4bln:["sName:"+tString,"bEnable:"+tBoolean],s4obj:["oObj:"+tHash],g:[jindo.$Jindo._F("sName:"+tString)]},"$Form#enable");switch(b+""){case"s4bln":var c=this._form[a];if(!c)return this;c=c.nodeType==1?[c]:c;var d=b.bEnable;for(var e=0;e<c.length;e++)c[e].disabled=!d;return this;case"s4obj":a=b.oObj;var f=this;for(var g in a)a.hasOwnProperty(g)&&f.enable(g,a[g]);return this;case"g":var c=this._form[a];if(!c)return this;c=c.nodeType==1?[c]:c;var h=!0;for(var e=0;e<c.length;e++)if(c[e].disabled){h=!1;break}return h}},jindo.$Form.prototype.value=function(a){var b=g_checkVarType(arguments,{s4str:["sKey:"+tString,"vValue:"+tVariant],s4obj:[jindo.$Jindo._F("oObj:"+tHash)],g:["sKey:"+tString]},"$Form#value"),c,d;if(b+""=="s4obj"){var e=this;a=b.oObj;for(var f in a)a.hasOwnProperty(f)&&e.value(f,a[f]);return this}var g=this._form[a];if(!g)throw new jindo.$Error(a+jindo.$Except.NONE_ELEMENT,"$Form#value");g=g.nodeType==1?[g]:g;switch(b+""){case"s4str":var h=b.vValue,i=g.length;for(var j=0;j<i;j++){var k=g[j];switch(k.type){case"radio":k.checked=k.value==h;break;case"checkbox":h.constructor==Array?k.checked=jindo.$A(h).has(k.value):k.checked=k.value==h;break;case"select-one":var l=-1;for(var j=0,m=k.options.length;j<m;j++){c=k.options[j];if(c.value==h||c.text==h){l=j;continue}}k.selectedIndex=l;break;case"select-multiple":var l=-1;if(jindo.$Jindo.isArray(h)){var n=jindo.$A(h);for(var j=0,m=k.options.length;j<m;j++)c=k.options[j],k.options[j].selected=n.has(c.value)||n.has(c.text)}else{for(var j=0,m=k.options.length;j<m;j++){c=k.options[j];if(c.value==h||c.text==h){l=j;continue}}k.selectedIndex=l}break;default:k.value=h}}return this;case"g":var o=[],i=g.length;for(var j=0;j<i;j++){var k=g[j];switch(k.type){case"radio":case"checkbox":k.checked&&o.push(k.value);break;case"select-one":k.selectedIndex!=-1&&(c=k.options[k.selectedIndex],d=c.value==""?c.text:c.value,o.push(d));break;case"select-multiple":if(k.selectedIndex!=-1)for(var j=0,m=k.options.length;j<m;j++)c=k.options[j],c.selected&&(d=c.value==""?c.text:c.value,o.push(d));break;default:o.push(k.value)}}return o.length>1?o:o[0]}},jindo.$Form.prototype.submit=function(a,b){var c=g_checkVarType(arguments,{voi:[],"4str":["sTargetName:"+tString],"4fun":["fValidation:"+tFunction],"4fun2":["sTargetName:"+tString,"fValidation:"+tFunction]},"$Form#submit"),d=null;switch(c+""){case"4str":d=this._form.target,this._form.target=c.sTargetName;break;case"4fun":case"4fun2":if(!c.fValidation.call(this,this._form))return this;c+""=="4fun2"&&(d=this._form.target,this._form.target=c.sTargetName)}return this._form.submit(),jindo.$Jindo.isNull(d)||(this._form.target=d),this},jindo.$Form.prototype.reset=function(a){var b=g_checkVarType(arguments,{"4voi":[],"4fun":["fValidation:"+tFunction]},"$Form#reset");return b+""=="4fun"&&!a.call(this,this._form)?this:(this._form.reset(),this)},jindo.$Template=function(a,b){var c=null,d="",e=arguments.callee,f;if(a instanceof e)return a;
11if(!(this instanceof e))try{return jindo.$Jindo._maxWarn(arguments.length,2,"$Template"),new e(a||"",b||"default")}catch(g){if(g instanceof TypeError)return null;throw g}var h=g_checkVarType(arguments,{"4str":["str:"+tString],"4ele":["ele:"+tElement],"4str3":["str:"+tString,"sEngineName:"+tString],"4ele3":["ele:"+tElement,"sEngineName:"+tString]},"$Template");(c=_getElementById(document,a)||a)&&c.tagName&&(d=c.tagName.toUpperCase())&&(d=="TEXTAREA"||d=="SCRIPT"&&c.getAttribute("type")=="text/template")&&(a=(c.value||c.innerHTML).replace(/^\s+|\s+$/g,"")),this._str=a+"",f="default";switch(h+""){case"4str3":case"4ele3":f=h.sEngineName}this._compiler=jindo.$Template.getEngine(f)},jindo.$Template._aEngines={},jindo.$Template._cache={},jindo.$Template.splitter=/(?!\\)[\{\}]/g,jindo.$Template.pattern=/^(?:if (.+)|elseif (.+)|for (?:(.+)\:)?(.+) in (.+)|(else)|\/(if|for)|=(.+)|js (.+)|set (.+)|gset (.+))$/,jindo.$Template.addEngine=function(a,b){var c=g_checkVarType(arguments,{"4fun":["sEngineName:"+tString,"fEngine:"+tFunction]},"$Template#addEngine");jindo.$Template._aEngines[c.sEngineName]=c.fEngine},jindo.$Template.getEngine=function(a){var b=g_checkVarType(arguments,{"4str":["sEngineName:"+tString]},"$Template#getEngine");return jindo.$Template._aEngines[b.sEngineName]},jindo.$Template.prototype.process=function(a){var b=g_checkVarType(arguments,{"4obj":["data:"+tHash],"4voi":[]},"$Template#process"),c;return jindo.$Template._cache&&jindo.$Template._cache[this._str]?(c=jindo.$Template._cache[this._str],c(b+""=="for_void"?"":b.data)):(jindo.$Template._cache[this._str]=c=this._compiler(this._str),c(b+""=="for_void"?"":b.data))},jindo.$Template.addEngine("default",function(a){var b="�",c="�",d="�",e=(" "+a+" ").replace(/\\{/g,c).replace(/\\}/g,d).replace(/(?!\\)\}\{/g,"}"+b+"{").split(jindo.$Template.splitter),f=e.length,g={'"':'\\"',"\\":"\\\\","\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f"},h=[/(["'](?:(?:\\.)+|[^\\["']+)*["']|[a-zA-Z_](?:[\w\.]|\[(?:.*?)\])*)/g,/[\n\r\t\f"\\]/g,/^\s+/,/\s+$/,/#/g],i=[function(a){return a.substring(0,1)=='"'||a.substring(0,1)=="'"||a=="null"||a=="false"||a=="true"?a:"d."+a},function(a){return g[a]||a},"",""],j=[],k=0,l;e[0]=e[0].substr(1),e[f-1]=e[f-1].substr(0,e[f-1].length-1);if(f<2)return function(a){return function(){return a}}(e[0]);e=e.reverse();while(f--)f%2?e[f]=e[f].replace(jindo.$Template.pattern,function(){var a=arguments;if(a[11])return a[11].replace(/(\w+)(?:\s*)=(?:\s*)(?:([a-zA-Z0-9_]+)|(.+))$/g,function(){var a=arguments,b="var "+a[1]+"=";return a[2]?b+=a[2]:b+=a[3].replace(/(=(?:[a-zA-Z_][\w\.]*)+)/g,function(a){return a.substring(0,1)=="="?"d."+a.replace("=",""):a}),b})+";";if(a[10])return a[10].replace(/(\w+)(?:\s*)=(?:\s*)(?:([a-zA-Z0-9_]+)|(.+))$/g,function(){var a=arguments,b="d."+a[1]+"=";return a[2]?b+="d."+a[2]:b+=a[3].replace(/(=(?:[a-zA-Z_][\w\.]*)+)/g,function(a){return a.substring(0,1)=="="?"d."+a.replace("=",""):a}),b})+";";if(a[9])return"s[i++] = "+a[9].replace(/(=(?:[a-zA-Z_][\w\.]*)+)/g,function(a){return a.substring(0,1)=="="?"d."+a.replace("=",""):a})+";";if(a[8])return"s[i++] = d."+a[8]+";";if(a[1])return"if("+a[1].replace(h[0],i[0]).replace(/d\.(typeof) /,"$1 ").replace(/ d\.(instanceof) d\./," $1 ")+"){";if(a[2])return"}else if("+a[2].replace(h[0],i[0]).replace(/d\.(typeof) /,"$1 ").replace(/ d\.(instanceof) d\./," $1 ")+"){";if(a[5]){l=a[4];var b=[];return b.push("var t# = d."+a[5]+" || {},"),b.push("p# = "+jindoName+".$Jindo.isArray(t#),"),b.push("i# = 0,"),b.push("j#,"),b.push("leng#,"),b.push("aProp# = [],"),b.push("sProp#;"),b.push("if(p#){"),b.push("\tleng# = t#.length;"),b.push("\tfor(j# = 0; j# < leng#; j#++){aProp#.push(j#);}"),b.push("}else{"),b.push("\tfor(j# in t#){aProp#.push(j#);}"),b.push("}"),b.push("leng# = aProp#.length;"),b.push("for(var x# = 0; x# < leng#; x#++){"),b.push("\tsProp# = aProp#[x#];"),b.push("\tif(!p# && !t#.hasOwnProperty(sProp#)){"),b.push("\t\tcontinue;"),b.push("\t}"),b.push("\tif((p# && isNaN(i# = parseInt(sProp#, 10))) || (!p# && !t#.propertyIsEnumerable(sProp#))){"),b.push("\t\tcontinue;"),b.push("\t}"),b.push("\td."+a[4]+" = t#[sProp#];"),b.push(a[3]?"d."+a[3]+" = sProp#;":""),b.join("").replace(h[4],k++)}return a[6]?"}else{":a[7]?a[7]=="for"?"delete d."+l+"; };":"};":a[0]}):e[f]==b?e[f]="":e[f]&&(e[f]='s[i++] = "'+e[f].replace(h[1],i[1])+'";');e=e.reverse().join("").replace(new RegExp(c,"g"),"{").replace(new RegExp(d,"g"),"}");var m=[];return m.push("d = d || {};"),m.push("var s = [], i = 0;"),m.push(e),m.push('return s.join("");'),e=new Function("d",""+m.join("")),e}),jindo.$Template.addEngine("micro",function(a){return new Function("obj","var p=[],print=function(){p.push.apply(
11p,arguments);};with(obj){p.push('"+a.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split("\t").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');")}),jindo.$Template.addEngine("handlebars",function(a){if(typeof Handlebars=="undefined")throw new jindo.$Error(jindo.$Except.NOT_FOUND_HANDLEBARS,"$Template#process");return Handlebars.compile(a)}),jindo.$Template.addEngine("simple",function(a){return function(b){return a.replace(/\{\{([^{}]*)\}\}/g,function(a,c){return typeof b[c]=="undefined"?"":b[c]})}}),jindo.$Date=function(a){var b=arguments,c="",d=arguments.callee;if(a&&a instanceof d)return a;if(!(this instanceof d)){var e="";for(var f=0,g=b.length;f<g;f++)e+="a["+f+"],";var h=new Function("cl","a","return new cl("+e.replace(/,$/,"")+");");try{return jindo.$Jindo._maxWarn(arguments.length,7,"$"+tDate),h(d,b)}catch(i){if(i instanceof TypeError)return null;throw i}}var j=g_checkVarType(arguments,{"4voi":[],"4str":["src:"+tString],"4num":["src:"+tNumeric],"4dat":["src:"+tDate],"4num2":["src:"+tNumeric,"src:"+tNumeric],"4num3":["src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric],"4num4":["src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric],"4num5":["src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric],"4num6":["src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric],"4num7":["src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric,"src:"+tNumeric]},"$"+tDate);switch(j+""){case"4voi":this._date=new Date;break;case"4num":this._date=new Date(a*1);break;case"4str":/(\d\d\d\d)(?:-?(\d\d)(?:-?(\d\d)))/.test(a)?this._date=jindo.$Date._makeISO(a):this._date=d.parse(a);break;case"4dat":(this._date=new Date).setTime(a.getTime()),this._date.setMilliseconds(a.getMilliseconds());break;case"4num2":case"4num3":case"4num4":case"4num5":case"4num6":case"4num7":for(var f=0;f<7;f++)jindo.$Jindo.isNumeric(b[f])||(b[f]=1);this._date=new Date(b[0],b[1],b[2],b[3],b[4],b[5],b[6])}this._names={};for(var f in jindo.$Date.names)jindo.$Date.names.hasOwnProperty(f)&&(this._names[f]=jindo.$Date.names[f])},jindo.$Date._makeISO=function(a){var b=a.match(/(\d{4})(?:-?(\d\d)(?:-?(\d\d)(?:[T ](\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|(?:([-+])(\d\d)(?::?(\d\d))?)?)?)?)?)?/),c=parseInt(b[4]||0,10),d=parseInt(b[5]||0,10);if(b[8]=="Z")c+=jindo.$Date.utc;else if(b[9]=="+"||b[9]=="-")c+=jindo.$Date.utc-parseInt(b[9]+b[10],10),d+=parseInt(b[9]+b[11],10);return new Date(b[1]||0,parseInt(b[2]||0,10)-1,b[3]||0,c,d,b[6]||0,b[7]||0)},jindo.$Date._paramCheck=function(a,b){return g_checkVarType(a,{s:["nParm:"+tNumeric],g:[]},"$Date#"+b)},jindo.$Date.names={month:["January","Febrary","March","April","May","June","July","August","September","October","Novermber","December"],s_month:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],s_day:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ampm:["AM","PM"]},jindo.$Date.utc=9,jindo.$Date.now=function(){return Date.now?this.now=function(){return Date.now()}:this.now=function(){return+(new Date)},this.now()},jindo.$Date.prototype.name=function(a,b){var c=g_checkVarType(arguments,{s4str:["sKey:"+tString,"aValue:"+tArray],s4obj:["oObject:"+tHash],g:["sKey:"+tString]},"$Date#name");switch(c+""){case"s4str":this._names[a]=b;break;case"s4obj":a=c.oObject;for(var d in a)a.hasOwnProperty(d)&&(this._names[d]=a[d]);break;case"g":return this._names[a]}return this},jindo.$Date.parse=function(a){var b=g_checkVarType(arguments,{"4str":["sKey:"+tString]},"$Date#parse"),c=new Date(Date.parse(a));if(isNaN(c)||c=="Invalid "+tDate)throw new jindo.$Error(jindo.$Except.INVALID_DATE,"$Date#parse");return c},jindo.$Date.prototype.$value=function(){return this._date},jindo.$Date.prototype.format=function(a){var b=g_checkVarType(arguments,{"4str":["sFormat:"+tString]},"$Date#format");a=b.sFormat;var c={},d=this._date,e=this._names,f=this;return(a||"").replace(/[a-z]/ig,function(b){if(c[b]!==undefined)return c[b];switch(b){case"d":case"j":return c.j=d.getDate(),c.d=(c.j>9?"":"0")+c.j,c[b];case"l":case"D":case"w":case"N":return c.w=d.getDay(),c.N=c.w?c.w:7,c.D=e.s_day[c.w],c.l=e.day[c.w],c[b];case"S":return(c.S=["st","nd","rd"][d.getDate()])?c.S:c.S="th";case"z":return c.z=Math.floor((d.getTime()-(new Date(d.getFullYear(),0,1)).getTime())/864e5),c.z;case"m":case"n":return c.n=d.getMonth()+1,c.m=(c.n>9?"":"0")+c.n,c[b];case"L":return c.L=f.isLeapYear(),c.L;case"o":case"Y":case"y":return c.o=c.Y=d.getFullYear(),c.y=(c.o+"").substr(2),c[b];case"a":case"A":case"g":case"G":case"h":case"H":return c.G=d.getHours(),c.g=(c.g=c.G%12)?c.g:12,c.A=c.G<12?e.ampm[0]:e.ampm[1],c.a=c.A.toLowerCase(),c.H=(c.G>9?"":"0")+c.G,c.h=(c.g>9?"":"0")+c.g,c[b];case"i":return c.i=((c.i=d.getMinutes())>9?"":"0")+c.i,c.i;case"s":return c.s=((c.s=d.getSeconds())>9?"":"0")+c.s,c.s;case"u":return c.u=d.getMilliseconds(),c.u;case"U":return c.U=f.time(),c.U;default:return b}})},jindo.$Date.prototype.time=function(a){var b=jindo.$Date._paramCheck(arguments,"time");a=b.nParm;switch(b+""){case"s":return this._date.setTime(a),this;case"g":return this._date.getTime()}},jindo.$Date.prototype.year=function(a){var b=jindo.$Date._paramCheck(arguments,"year");a=b.nParm;switch(b+""){case"s":return this._date.setFullYear(a),this;case"g":return this._date.getFullYear()}},jindo.$Date.prototype.month=function(a){var b=jindo.$Date._paramCheck(arguments,"month");a=b.nParm;switch(b+""){case"s":return this._date.setMonth(a),this;case"g":return this._date.getMonth()}},jindo.$Date.prototype.date=function(a){var b=jindo.$Date._paramCheck(arguments,"date");a=b.nParm;switch(b+""){case"s":return this._date.setDate(a),this;case"g":return this._date.getDate()}},jindo.$Date.prototype.day=function(){return this._date.getDay()},jindo.$Date.prototype.hours=function(a){var b=jindo.$Date._paramCheck(arguments,"hours");a=b.nParm;switch(b+""){case"s":return this._date.setHours(a),this;case"g":return this._date.getHours()}},jindo.$Date.prototype.minutes=function(a){var b=jindo.$Date._paramCheck(arguments,"minutes");a=b.nParm;switch(b+""){case"s":return this._date.setMinutes(a),this;case"g":return this._date.getMinutes()}},jindo.$Date.prototype.seconds=function(a){var b=jindo.$Date._paramCheck(arguments,"seconds");a=b.nParm;switch(b+""){case"s":return this._date.setSeconds(a),this;case"g":return this._date.getSeconds()}},jindo.$Date.prototype.isLeapYear=function(){var a=this._date.getFullYear();return!(a%4)&&!!(a%100)||!(a%400)},jindo.$Date.prototype.compare=function(a,b){var c=g_checkVarType(arguments,{"4dat":["oDate:"+tDate],"4str":["oDate:"+tDate,"sType:"+tString]},"$Date#compare");a=c.oDate,b=c.sType;if(!b)return a-this._date;if(b==="s")return Math.floor(a/1e3)-Math.floor(this._date/1e3);if(b==="i")return Math.floor(Math.floor(a/1e3)/60)-Math.floor(Math.floor(this._date/1e3)/60);if(b==="h")return Math.floor(Math.floor(Math.floor(a/1e3)/60)/60)-Math.floor(Math.floor(Math.floor(this._date/1e3)/60)/60);if(b==="d")return Math.floor(Math.floor(Math.floor(Math.floor(a/1e3)/60)/60)/24)-Math.floor(Math.floor(Math.floor(Math.floor(this._date/1e3)/60)/60)/24);if(b==="m")return a.getMonth()-this._date.getMonth();if(b==="y")return a.getFullYear()-this._date.getFullYear()},jindo.$Window=function(a){var b=arguments.callee;if(a instanceof b)return a;
11if(!(this instanceof b))try{return jindo.$Jindo._maxWarn(arguments.length,1,"$"+tWindow),new b(a||window)}catch(c){if(c instanceof TypeError)return null;throw c}var d=g_checkVarType(arguments,{"4win":["el:"+tWindow]},"$"+tWindow);this._win=a},jindo.$Window.prototype.$value=function(){return this._win},jindo.$Window.prototype.resizeTo=function(a,b){var c=g_checkVarType(arguments,{"4num":["nWidth:"+tNumeric,"nHeight:"+tNumeric]},"$Window#resizeTo");return this._win.resizeTo(a,b),this},jindo.$Window.prototype.resizeBy=function(a,b){var c=g_checkVarType(arguments,{"4num":["nWidth:"+tNumeric,"nHeight:"+tNumeric]},"$Window#resizeBy");return this._win.resizeBy(a,b),this},jindo.$Window.prototype.moveTo=function(a,b){var c=g_checkVarType(arguments,{"4num":["nLeft:"+tNumeric,"nTop:"+tNumeric]},"$Window#moveTo");return this._win.moveTo(a,b),this},jindo.$Window.prototype.moveBy=function(a,b){var c=g_checkVarType(arguments,{"4num":["nLeft:"+tNumeric,"nTop:"+tNumeric]},"$Window#moveBy");return this._win.moveBy(a,b),this},jindo.$Window.prototype.sizeToContent=function(a,b){var c=g_checkVarType(arguments,{"4num":["nWidth:"+tNumeric,"nHeight:"+tNumeric],"4voi":[]},"$Window#sizeToContent");if(this._win.sizeToContent)this._win.sizeToContent();else{if(arguments.length!=2){var d,e,f=this._win,g=this._win.document;f.innerHeight?(d=f.innerWidth,e=f.innerHeight):g.documentElement&&g.documentElement.clientHeight?(d=g.documentElement.clientWidth,e=g.documentElement.clientHeight):g.body&&(d=g.body.clientWidth,e=g.body.clientHeight);var h,i,j=g.body.scrollHeight,k=g.body.offsetHeight;j>k?(h=g.body.scrollWidth,i=g.body.scrollHeight):(h=g.body.offsetWidth,i=g.body.offsetHeight),a=h-d,b=i-e}this._win.resizeBy(a,b)}return this};var aClass=["$Agent","$Ajax","$A","$Cookie","$Date","$Document","$Element","$ElementList","$Event","$Form","$Fn","$H","$Json","$S","$Template","$Window"],sClass,oClass;for(var i=0,l=aClass.length;i<l;i++)sClass=aClass[i],oClass=jindo[sClass],oClass&&(oClass.addExtension=function(a){return function(b,c){return addExtension(a,b,c),this}}(sClass));var hooks=["$Element","$Event"];for(var i=0,l=hooks.length;i<l;i++){var _className=hooks[i];jindo[_className]&&(jindo[_className].hook=function(a){var b={};return function(c,d){var e=g_checkVarType(arguments,{g:["sName:"+tString],s4var:["sName:"+tString,"vRevisionKey:"+tVariant],s4obj:["oObj:"+tHash]},"jindo."+a+".hook");switch(e+""){case"g":return b[e.sName.toLowerCase()];case"s4var":return d==null?delete b[e.sName.toLowerCase()]:b[e.sName.toLowerCase()]=d,this;case"s4obj":var f=e.oObj;for(var g in f)b[g.toLowerCase()]=f[g];return this}}}(_className))}!jindo.$Jindo.isUndefined(window)&&!(_j_ag.indexOf("IEMobile")==-1&&_j_ag.indexOf("Mobile")>-1&&_JINDO_IS_SP)&&(new jindo.$Element(window)).attach("unload",function(a){jindo.$Element.eventManager.cleanUpAll()}),typeof define=="function"&&define.amd&&define.amd.jindo&&define("jindo",[],function(){return jindo})})(function(){var a=document.getElementsByTagName("script");return a[a.length-1].src.match(/[\?\&]jindo=(.*?)\&?$/)&&RegExp.$1?RegExp.$1.replace(/(\&.*)/,""):"jindo"}());

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.