티스토리 수익 글 보기

티스토리 수익 글 보기

if(typeof window!=”undefined”&&typeof window.nhn==”undefined”){window.nhn=new Object}if(typeof window!=”undefined”){window.jindo={}}else{jindo={}}jindo.$Jindo=function(){var a=arguments.callee;var b=a._cached;if(b){return b}if(!(this instanceof a)){return new a()}if(!b){a._cached=this}this.version=”$$version$$”};jindo.$=function(m){var l=new Array;var c=null;var d=/^<([a-z]+|h[1-5])>$/i;var e=/^<([a-z]+|h[1-5])(\s+[^>]+)?>/i;for(var g=0;g1?l:(l[0]||null)};jindo.$Class=function(b){function d(){var l=this;var g=[];var f=function(n,q,r){if(n!=”constructor”&&r.toString().indexOf(“$super”)>-1){var p=r.toString().replace(/function\s*\(([^\)]*)[\w\W]*/g,”$1″).split(“,”);var o=r.toString().replace(/function[^{]*{/,””).replace(/(\w|\.?)(this\.\$super|this)/g,function(s,u,t){if(!u){return t+”.$super”}return s});o=o.substr(0,o.length-1);r=q[n]=new Function(p,o)}return function(){var u=this.$this[n];var m=this.$this;var s=(m[n]=r).apply(m,arguments);m[n]=u;return s}};while(typeof l._$superClass!=”undefined”){l.$super=new Object;l.$super.$this=this;for(var e in l._$superClass.prototype){if(typeof this[e]==”undefined”&&e!=”$init”){this[e]=l._$superClass.prototype[e]}if(e!=”constructor”&&e!=”_$superClass”&&typeof l._$superClass.prototype[e]==”function”){l.$super[e]=f(e,l._$superClass,l._$superClass.prototype[e])}else{l.$super[e]=l._$superClass.prototype[e]}}if(typeof l.$super.$init==”function”){g[g.length]=l}l=l.$super}for(var h=g.length-1;h>-1;h–){g[h].$super.$init.apply(g[h].$super,arguments)}if(typeof this.$init==”function”){this.$init.apply(this,arguments)}}if(typeof b.$static!=”undefined”){var c=0,a;for(a in b){a==”$static”||c++}for(a in b.$static){d[a]=b.$static[a]}if(!c){return b.$static}delete b.$static}d.prototype=b;d.prototype.constructor=d;d.extend=jindo.$Class.extend;return d};jindo.$Class.extend=function(b){this.prototype._$superClass=b;for(var a in b){if(a==”prototype”){continue}this[a]=b[a]}return this};jindo.$$=jindo.cssquery=(function(){var sVersion=”2.3″;var debugOption={repeat:1};var UID=1;var cost=0;var validUID={};var bSupportByClassName=jindo.$(“
“).getElementsByClassName?true:false;var safeHTML=false;var getUID4HTML=function(oEl){var nUID=safeHTML?(oEl._cssquery_UID&&oEl._cssquery_UID[0]):oEl._cssquery_UID;if(nUID&&validUID[nUID]==oEl){return nUID}nUID=UID++;oEl._cssquery_UID=safeHTML?[nUID]:nUID;validUID[nUID]=oEl;return nUID};var getUID4XML=function(oEl){var oAttr=oEl.getAttribute(“_cssquery_UID”);var nUID=safeHTML?(oAttr&&oAttr[0]):oAttr;if(!nUID){nUID=UID++;oEl.setAttribute(“_cssquery_UID”,safeHTML?[nUID]:nUID)}return nUID};var getUID=getUID4HTML;var uniqid=function(sPrefix){return(sPrefix||””)+new Date().getTime()+parseInt(Math.random()*100000000)};function getElementsByClass(searchClass,node,tag){var classElements=new Array();if(node==null){node=document}if(tag==null){tag=”*”}var els=node.getElementsByTagName(tag);var elsLen=els.length;var pattern=new RegExp(“(^|\\s)”+searchClass+”(\\s|$)”);for(i=0,j=0;i -1)’;case”^=”:return”(“+sVar+” && “+sVar+”.indexOf(“+sVal+”) == 0)”;case”$=”:return”(“+sVar+” && “+sVar+”.substr(“+sVar+”.length – “+oExpr.val.length+”) == “+sVal+”)”;case”*=”:return”(“+sVar+” && “+sVar+”.indexOf(“+sVal+”) > -1)”;case”!=”:return”(“+sVar+” != “+sVal+”)”;case”=”:return”(“+sVar+” == “+sVal+”)”}return”(“+sVar+”)”};var getNodeIndex=function(oEl){var nUID=getUID(oEl);var nIndex=oNodeIndexes[nUID]||0;if(nIndex==0){for(var oSib=(oEl.parentNode||oEl._IE5_parentNode).firstChild;oSib;oSib=oSib.nextSibling){if(oSib.nodeType!=1){continue}nIndex++;setNodeIndex(oSib,nIndex)}nIndex=oNodeIndexes[nUID]}return nIndex};var oNodeIndexes={};var setNodeIndex=function(oEl,nIndex){var nUID=getUID(oEl);oNodeIndexes[nUID]=nIndex};var unsetNodeIndexes=function(){setTimeout(function(){oNodeIndexes={}},0)};var oPseudoes_dontShrink={contains:function(oEl,sOption){return(oEl.innerText||oEl.textContent||””).indexOf(sOption)>-1},”last-child”:function(oEl,sOption){for(oEl=oEl.nextSibling;oEl;oEl=oEl.nextSibling){if(oEl.nodeType==1){return false}}return true},”first-child”:function(oEl,sOption){for(oEl=oEl.previousSibling;oEl;oEl=oEl.previousSibling){if(oEl.nodeType==1){return false}}return true},”only-child”:function(oEl,sOption){var nChild=0;for(var oChild=(oEl.parentNode||oEl._IE5_parentNode).firstChild;oChild;oChild=oChild.nextSibling){if(oChild.nodeType==1){nChild++}if(nChild>1){return false}}return nChild?true:false},empty:function(oEl,_){return oEl.firstChild?false:true},”nth-child”:function(oEl,nMul,nAdd){var nIndex=getNodeIndex(oEl);return nIndex%nMul==nAdd},”nth-last-child”:function(oEl,nMul,nAdd){var oLast=(oEl.parentNode||oEl._IE5_parentNode).lastChild;for(;oLast;oLast=oLast.previousSibling){if(oLast.nodeType==1){break}}var nTotal=getNodeIndex(oLast);var nIndex=getNodeIndex(oEl);var nLastIndex=nTotal-nIndex+1;return nLastIndex%nMul==nAdd}};var getExpression=function(sBody){var oRet={defines:””,returns:”true”};var sBody=restoreKeys(sBody,true);var aExprs=[];var aDefineCode=[],aReturnCode=[];var sId,sTagName;var sBody=sBody.replace(/:([\w-]+)(\(([^)]*)\))?/g,function(_1,sType,_2,sOption){switch(sType){case”not”:var oInner=getExpression(sOption);var sFuncDefines=oInner.defines;var sFuncReturns=oInner.returnsID+oInner.returnsTAG+oInner.returns;aReturnCode.push(“!(function() { “+sFuncDefines+” return “+sFuncReturns+” })()”);break;case”nth-child”:case”nth-last-child”:sOption=restoreString(sOption);if(sOption==”even”){sOption=”2n”}else{if(sOption==”odd”){sOption=”2n+1″}}var nMul,nAdd;if(/([0-9]*)n([+-][0-9]+)*/.test(sOption)){nMul=parseInt(RegExp.$1)||1;nAdd=parseInt(RegExp.$2)||0}else{nMul=Infinity;nAdd=parseInt(sOption)}aReturnCode.push(“oPseudoes_dontShrink[“+wrapQuot(sType)+”](oEl, “+nMul+”, “+nAdd+”)”);break;case”first-of-type”:case”last-of-type”:sType=(sType==”first-of-type”?”nth-of-type”:”nth-last-of-type”);sOption=1;case”nth-of-type”:case”nth-last-of-type”:sOption=restoreString(sOption);if(sOption==”even”){sOption=”2n”}else{if(sOption==”odd”){sOption=”2n+1″}}var nMul,nAdd;if(/([0-9]*)n([+-][0-9]+)*/.test(sOption)){nMul=parseInt(RegExp.$1)||1;nAdd=parseInt(RegExp.$2)||0}else{nMul=Infinity;nAdd=parseInt(sOption)}oRet.nth=[nMul,nAdd,sType];break;default:sOption=sOption?restoreString(sOption):””;aReturnCode.push(“oPseudoes_dontShrink[“+wrapQuot(sType)+”](oEl, “+wrapQuot(sOption)+”)”);break}return””});var sBody=sBody.replace(/\[(@?[\w-]+)(([!^~$*]?=)([^\]]*))?\]/g,function(_1,sKey,_2,sOp,sVal){sKey=restoreString(sKey);sVal=restoreString(sVal);if(sKey==”checked”||sKey==”disabled”||sKey==”enabled”||sKey==”readonly”||sKey==”selected”){if(!sVal){sOp=”=”;sVal=”true”}}aExprs.push({key:sKey,op:sOp,val:sVal});return””});var sClassName=null;var sBody=sBody.replace(/\.([\w-]+)/g,function(_,sClass){aExprs.push({key:”class”,op:”~=”,val:sClass});if(!sClassName){sClassName=sClass}return””});var sBody=sBody.replace(/#([\w-]+)/g,function(_,sIdValue){if(bXMLDocument){aExprs.push({key:”id”,op:”=”,val:sIdValue})}else{sId=sIdValue}return””});sTagName=sBody==”*”?””:sBody;var oVars={};for(var i=0,oExpr;oExpr=aExprs[i];i++){var sKey=oExpr.key;if(!oVars[sKey]){aDefineCode.push(getDefineCode(sKey))}aReturnCode.unshift(getReturnCode(oExpr));oVars[sKey]=true}if(aDefineCode.length){oRet.defines=”var “+aDefineCode.join(“,”)+”;”}if(aReturnCode.length){oRet.returns=aReturnCode.join(“&&”)}oRet.quotID=sId?wrapQuot(sId):””;oRet.quotTAG=sTagName?wrapQuot(bXMLDocument?sTagName:sTagName.toUpperCase()):””;if(bSupportByClassName){oRet.quotCLASS=sClassName?wrapQuot(sClassName):””}oRet.returnsID=sId?”oEl.id == “+oRet.quotID+” && “:””;oRet.returnsTAG=sTagName&&sTagName!=”*”?”oEl.tagName == “+oRet.quotTAG+” && “:””;return oRet};var splitToParts=function(sQuery){var aParts=[];var sRel=” “;var sBody=sQuery.replace(/(.*?)\s*(!?[+>~ ]|!)\s*/g,function(_,sBody,sRelative){if(sBody){aParts.push({rel:sRel,body:sBody})}sRel=sRelative.replace(/\s+$/g,””)||” “;return””});if(sBody){aParts.push({rel:sRel,body:sBody})}return aParts};var isNth_dontShrink=function(oEl,sTagName,nMul,nAdd,sDirection){var nIndex=0;for(var oSib=oEl;oSib;oSib=oSib[sDirection]){if(oSib.nodeType==1&&(!sTagName||sTagName==oSib.tagName)){nIndex++}}return nIndex%nMul==nAdd};var compileParts=function(aParts){var aPartExprs=[];for(var i=0,oPart;oPart=aParts[i];i++){aPartExprs.push(getExpression(oPart.body))}var sFunc=””;var sPushCode=”aRet.push(oEl); if (oOptions.single) { bStop = true; }”;for(var i=aParts.length-1,oPart;oPart=aParts[i];i–){var oExpr=aPartExprs[i];var sPush=(debugOption.callback?”cost++;”:””)+oExpr.defines;var sReturn=”if (bStop) {“+(i==0?”return aRet;”:”return;”)+”}”;if(oExpr.returns==”true”){sPush+=(sFunc?sFunc+”(oEl);”:sPushCode)+sReturn}else{sPush+=”if (“+oExpr.returns+”) {“+(sFunc?sFunc+”(oEl);”:sPushCode)+sReturn+”}”}var sCheckTag=”oEl.nodeType != 1″;if(oExpr.quotTAG){sCheckTag=”oEl.tagName != “+oExpr.quotTAG}var sTmpFunc=”(function(oBase”+(i==0?”, oOptions) { var bStop = false; var aRet = [];”:”) {“);if(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” “:if(oExpr.quotID){sTmpFunc+=”var oEl = oDocument_dontShrink.getElementById(“+oExpr.quotID+”);var oCandi = oEl;for (; oCandi; oCandi = (oCandi.parentNode || oCandi._IE5_parentNode)) {if (oCandi == oBase) break;}if (!oCandi || “+sCheckTag+”) return aRet;”+sPush}else{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”>”:if(oExpr.quotID){sTmpFunc+=”var oEl = oDocument_dontShrink.getElementById(“+oExpr.quotID+”);if ((oEl.parentNode || oEl._IE5_parentNode) != oBase || “+sCheckTag+”) return aRet;”+sPush}else{sTmpFunc+=”for (var oEl = oBase.firstChild; oEl; oEl = oEl.nextSibling) {if (“+sCheckTag+”) { continue; }”+sPush+”}”}break;case”+”:if(oExpr.quotID){sTmpFunc+=”var oEl = oDocument_dontShrink.getElementById(“+oExpr.quotID+”);var oPrev;for (oPrev = oEl.previousSibling; oPrev; oPrev = oPrev.previousSibling) { if (oPrev.nodeType == 1) break; }if (!oPrev || oPrev != oBase || “+sCheckTag+”) return aRet;”+sPush}else{sTmpFunc+=”for (var oEl = oBase.nextSibling; oEl; oEl = oEl.nextSibling) { if (oEl.nodeType == 1) break; }if (!oEl || “+sCheckTag+”) { return aRet; }”+sPush}break;case”~”:if(oExpr.quotID){sTmpFunc+=”var oEl = oDocument_dontShrink.getElementById(“+oExpr.quotID+”);var oCandi = oEl;for (; oCandi; oCandi = oCandi.previousSibling) { if (oCandi == oBase) break; }if (!oCandi || “+sCheckTag+”) return aRet;”+sPush}else{sTmpFunc+=”for (var oEl = oBase.nextSibling; oEl; oEl = oEl.nextSibling) {if (“+sCheckTag+”) { continue; }if (!markElement_dontShrink(oEl, “+i+”)) { break; }”+sPush+”}”}break;case”!”:if(oExpr.quotID){sTmpFunc+=”var oEl = oDocument_dontShrink.getElementById(“+oExpr.quotID+”);for (; oBase; oBase = (oBase.parentNode || oBase._IE5_parentNode)) { if (oBase == oEl) break; }if (!oBase || “+sCheckTag+”) return aRet;”+sPush}else{sTmpFunc+=”for (var oEl = (oBase.parentNode || oBase._IE5_parentNode); oEl; oEl = (oEl.parentNode || oEl._IE5_parentNode)) {if (“+sCheckTag+”) { continue; }”+sPush+”}”}break;case”!>”:if(oExpr.quotID){sTmpFunc+=”var oEl = oDocument_dontShrink.getElementById(“+oExpr.quotID+”);var oRel = (oBase.parentNode || oBase._IE5_parentNode);if (!oRel || oEl != oRel || (“+sCheckTag+”)) return aRet;”+sPush}else{sTmpFunc+=”var oEl = (oBase.parentNode || oBase._IE5_parentNode);if (!oEl || “+sCheckTag+”) { return aRet; }”+sPush}break;case”!+”:if(oExpr.quotID){sTmpFunc+=”var oEl = oDocument_dontShrink.getElementById(“+oExpr.quotID+”);var oRel;for (oRel = oBase.previousSibling; oRel; oRel = oRel.previousSibling) { if (oRel.nodeType == 1) break; }if (!oRel || oEl != oRel || (“+sCheckTag+”)) return aRet;”+sPush}else{sTmpFunc+=”for (oEl = oBase.previousSibling; oEl; oEl = oEl.previousSibling) { if (oEl.nodeType == 1) break; }if (!oEl || “+sCheckTag+”) { return aRet; }”+sPush}break;case”!~”:if(oExpr.quotID){sTmpFunc+=”var oEl = oDocument_dontShrink.getElementById(“+oExpr.quotID+”);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}else{sTmpFunc+=”for (oEl = oBase.previousSibling; oEl; oEl = oEl.previousSibling) {if (“+sCheckTag+”) { continue; }if (!markElement_dontShrink(oEl, “+i+”)) { break; }”+sPush+”}”}break}sTmpFunc+=(i==0?”return aRet;”:””)+”})”;sFunc=sTmpFunc}eval(“var fpCompiled = “+sFunc+”;”);return fpCompiled};var parseQuery=function(sQuery){var sCacheKey=sQuery;var fpSelf=arguments.callee;var fpFunction=fpSelf._cache[sCacheKey];if(!fpFunction){sQuery=backupKeys(sQuery);var aParts=splitToParts(sQuery);fpFunction=fpSelf._cache[sCacheKey]=compileParts(aParts);fpFunction.depth=aParts.length}return fpFunction};parseQuery._cache={};var parseTestQuery=function(sQuery){var fpSelf=arguments.callee;var aSplitQuery=backupKeys(sQuery).split(/\s*,\s*/);var aResult=[];var nLen=aSplitQuery.length;var aFunc=[];for(var i=0;i“+sTag+”:nth-of-type(“+sTh+”)”});return cssquery(sXPath,oParent)};cssquery.debug=function(fpCallback,nRepeat){debugOption.callback=fpCallback;debugOption.repeat=nRepeat||1};cssquery.safeHTML=function(bFlag){var bIE=/MSIE/.test(window.navigator.userAgent);if(arguments.length>0){safeHTML=bFlag&&bIE}return safeHTML||!bIE};cssquery.version=sVersion;cssquery.release=function(){if(/MSIE/.test(window.navigator.userAgent)){delete validUID;validUID={};if(bUseResultCache){cssquery.clearCache()}}};cssquery._getCacheInfo=function(){return{uidCache:validUID,eleCache:oResultCache}};cssquery._resetUID=function(){UID=0};return cssquery})();jindo.$Agent=function(){var a=arguments.callee;var b=a._cached;if(b){return b}if(!(this instanceof a)){return new a}if(!b){a._cached=this}this._navigator=navigator};jindo.$Agent.prototype.navigator=function(){var l=new Object;var a=-1;var d=-1;var c=this._navigator.userAgent;var b=this._navigator.vendor||””;function g(f,e){return((e||””).indexOf(f)>-1)}l.getName=function(){var e=””;for(x in l){if(typeof l[x]==”boolean”&&l[x]&&l.hasOwnProperty(x)){e=x}}return e};l.webkit=g(“WebKit”,c);l.opera=(typeof window.opera!=”undefined”)||g(“Opera”,c);l.ie=!l.opera&&g(“MSIE”,c);l.chrome=l.webkit&&g(“Chrome”,c);l.safari=l.webkit&&!l.chrome&&g(“Apple”,b);l.firefox=g(“Firefox”,c);l.mozilla=g(“Gecko”,c)&&!l.safari&&!l.chrome&&!l.firefox;l.camino=g(“Camino”,b);l.netscape=g(“Netscape”,c);l.omniweb=g(“OmniWeb”,c);l.icab=g(“iCab”,b);l.konqueror=g(“KDE”,b);l.mobile=(g(“Mobile”,c)||g(“Android”,c)||g(“Nokia”,c)||g(“webOS”,c)||g(“Opera Mini”,c)||g(“BlackBerry”,c)||g(“PPC”,c)||g(“Smartphone”,c)||g(“IEMobile”,c))&&!g(“iPad”,c);l.msafari=(!g(“IEMobile”,c)&&g(“Mobile”,c))||(g(“iPad”,c)&&g(“Safari”,c));l.mopera=g(“Opera Mini”,c);l.mie=g(“PPC”,c)||g(“Smartphone”,c)||g(“IEMobile”,c);try{if(l.ie){a=c.match(/(?:MSIE) ([0-9.]+)/)[1];if(c.match(/(?:Trident)\/([0-9.]+)/)&&c.match(/(?:Trident)\/([0-9.]+)/)[1]==4){d=8}}else{if(l.safari||l.msafari){a=parseFloat(c.match(/Safari\/([0-9.]+)/)[1]);if(a==100){a=1.1}else{a=[1,1.2,-1,1.3,2,3][Math.floor(a/100)]}}else{if(l.mopera){a=c.match(/(?:Opera\sMini)\/([0-9.]+)/)[1]}else{if(l.firefox||l.opera||l.omniweb){a=c.match(/(?:Firefox|Opera|OmniWeb)\/([0-9.]+)/)[1]}else{if(l.mozilla){a=c.match(/rv:([0-9.]+)/)[1]}else{if(l.icab){a=c.match(/iCab[ \/]([0-9.]+)/)[1]}else{if(l.chrome){a=c.match(/Chrome[ \/]([0-9.]+)/)[1]}}}}}}}l.version=parseFloat(a);l.nativeVersion=parseFloat(d);if(isNaN(l.version)){l.version=-1}}catch(h){l.version=-1}this.navigator=function(){return l};return l};jindo.$Agent.prototype.os=function(){var d=new Object;var a=this._navigator.userAgent;var c=this._navigator.platform;var b=function(f,e){return(e.indexOf(f)>-1)};d.getName=function(){var e=””;for(x in d){if(typeof d[x]==”boolean”&&d[x]){e=x}}return e};d.win=b(“Win”,c);d.mac=b(“Mac”,c);d.linux=b(“Linux”,c);d.win2000=d.win&&(b(“NT 5.0”,a)||b(“2000”,a));d.winxp=d.win&&b(“NT 5.1”,a);d.xpsp2=d.winxp&&b(“SV1”,a);d.vista=d.win&&b(“NT 6.0”,a);d.win7=d.win&&b(“NT 6.1”,a);this.os=function(){return d};return d};jindo.$Agent.prototype.flash=function(){var h=new Object;var g=this._navigator.plugins;var a=this._navigator.mimeTypes;var c=null;h.installed=false;h.version=-1;if(typeof g!=”undefined”&&g.length){c=g[“Shockwave Flash”];if(c){h.installed=true;if(c.description){h.version=parseFloat(c.description.match(/[0-9.]+/)[0])}}if(g[“Shockwave Flash 2.0”]){h.installed=true;h.version=2}}else{if(typeof a!=”undefined”&&a.length){c=a[“application/x-shockwave-flash”];h.installed=(c&&c.enabledPlugin)}else{for(var b=10;b>1;b–){try{c=new ActiveXObject(“ShockwaveFlash.ShockwaveFlash.”+b);h.installed=true;h.version=b;break}catch(d){}}}}this.flash=function(){return h};this.info=this.flash;return h};jindo.$Agent.prototype.silverlight=function(){var d=new Object;var c=this._navigator.plugins;var a=null;d.installed=false;d.version=-1;if(typeof c!=”undefined”&&c.length){a=c[“Silverlight Plug-In”];if(a){d.installed=true;d.version=parseInt(a.description.split(“.”)[0]);if(a.description==”1.0.30226.2″){d.version=2}}}else{try{a=new ActiveXObject(“AgControl.AgControl”);d.installed=true;if(a.isVersionSupported(“3.0”)){d.version=3}else{if(a.isVersionSupported(“2.0”)){d.version=2}else{if(a.isVersionSupported(“1.0”)){d.version=1}}}}catch(b){}}this.silverlight=function(){return d};return d};jindo.$A=function(c){var a=arguments.callee;if(typeof c==”undefined”||!c){c=[]}if(c instanceof a){return c}if(!(this instanceof a)){return new a(c)}this._array=[];if(c.constructor!=String){this._array=[];for(var b=0;b-1)};jindo.$A.prototype.indexOf=function(a){if(typeof this._array.indexOf!=”undefined”){return this._array.indexOf(a)}for(var b=0;bMath.random()?1:-1});return this};jindo.$A.prototype.reverse=function(){this._array.reverse();return this};jindo.$A.prototype.empty=function(){return this.length(0)};jindo.$A.Break=function(){if(!(this instanceof arguments.callee)){throw new arguments.callee}};jindo.$A.Continue=function(){if(!(this instanceof arguments.callee)){throw new arguments.callee}};jindo.$A.prototype.map=function(l,c){var a=this._array;var g=this.constructor.Break;var m=this.constructor.Continue;function d(n,o,f){try{return l.call(c,n,o,f)}catch(p){if(p instanceof m){return n}else{throw p}}}if(typeof this._array.map==”function”){try{this._array=this._array.map(d)}catch(h){if(!(h instanceof g)){throw h}}return this}for(var b=0;b=c.length){c[f]=e[g]}}this._array=c;return this};jindo.$Ajax=function(c,f){var a=arguments.callee;if(!(this instanceof a)){return new a(c,f)}function b(){if(window.XMLHttpRequest){return new XMLHttpRequest()}else{if(ActiveXObject){try{return new ActiveXObject(“MSXML2.XMLHTTP”)}catch(m){return new ActiveXObject(“Microsoft.XMLHTTP”)}return null}}}var l=location.toString();var g=””;try{g=l.match(/^https?:\/\/([a-z0-9_\-\.]+)/i)[1]}catch(h){}this._status=0;this._url=c;this._options=new Object;this._headers=new Object;this._options={type:”xhr”,method:”post”,proxy:””,timeout:0,onload:function(e){},onerror:null,ontimeout:function(e){},jsonp_charset:”utf-8″,callbackid:””,callbackname:””,sendheader:true,async:true,decode:true,postBody:false};this.option(f);if(jindo.$Ajax.CONFIG){this.option(jindo.$Ajax.CONFIG)}var d=this._options;d.type=d.type.toLowerCase();d.method=d.method.toLowerCase();if(typeof window.__jindo2_callback==”undefined”){window.__jindo2_callback=new Array()}switch(d.type){case”put”:case”delete”:case”get”:case”post”:d.method=d.type;d.type=”xhr”;case”xhr”:this._request=b();break;case”flash”:if(!jindo.$Ajax.SWFRequest){throw Error(“Require $Ajax.SWFRequest”)}this._request=new jindo.$Ajax.SWFRequest();this._request._decode=d.decode;break;case”jsonp”:if(!jindo.$Ajax.JSONPRequest){throw Error(“Require $Ajax.JSONPRequest”)}d.method=”get”;this._request=new jindo.$Ajax.JSONPRequest();this._request.charset=d.jsonp_charset;this._request.callbackid=d.callbackid;this._request.callbackname=d.callbackname;break;case”iframe”:if(!jindo.$Ajax.FrameRequest){throw Error(“Require $Ajax.FrameRequest”)}this._request=new jindo.$Ajax.FrameRequest();this._request._proxy=d.proxy;break}};jindo.$Ajax.prototype._onload=(function(a){if(a){return function(){var b=this._request.readyState==4&&this._request.status==200;var c;if(this._request.readyState==4){try{if(this._request.status!=200&&typeof this._options.onerror==”function”){if(!this._request.status==0){this._options.onerror(jindo.$Ajax.Response(this._request))}}else{c=this._options.onload(jindo.$Ajax.Response(this._request))}}finally{if(typeof this._oncompleted==”function”){this._oncompleted(b,c)}this.abort();delete this._request.onreadystatechange;try{delete this._request.onload}catch(d){this._request.onload=undefined}}}}}else{return function(){var b=this._request.readyState==4&&this._request.status==200;var c;if(this._request.readyState==4){try{if(this._request.status!=200&&typeof this._options.onerror==”function”){this._options.onerror(jindo.$Ajax.Response(this._request))}else{c=this._options.onload(jindo.$Ajax.Response(this._request))}}finally{this._status–;if(typeof this._oncompleted==”function”){this._oncompleted(b,c)}}}}}})(/MSIE/.test(window.navigator.userAgent));jindo.$Ajax.prototype.request=function(c){this._status++;var o=this;var h=this._request;var d=this._options;var g,n,m=[],g=””;var e=null;var b=this._url;if(d.postBody&&d.type.toUpperCase()==”XHR”&&d.method.toUpperCase()!=”GET”){if(typeof c==”string”){g=c}else{g=$Json(c).toString()}}else{if(typeof c==”undefined”||!c){g=null}else{for(var f in c){n=c[f];if(typeof n==”function”){n=n()}if(n instanceof Array||n instanceof jindo.$A){jindo.$A(n).forEach(function(p,a,q){m[m.length]=f+”=”+encodeURIComponent(p)})}else{m[m.length]=f+”=”+encodeURIComponent(n)}}g=m.join(“&”)}}if(d.type.toUpperCase()==”XHR”&&d.method.toUpperCase()==”GET”){if(b.indexOf(“?”)==-1){b+=”?”}else{b+=”&”}b+=g;g=null}h.open(d.method.toUpperCase(),b,d.async);if(d.sendheader){h.setRequestHeader(“Content-Type”,”application/x-www-form-urlencoded; charset=utf-8″);h.setRequestHeader(“charset”,”utf-8″);for(var l in this._headers){if(typeof this._headers[l]==”function”){continue}h.setRequestHeader(l,String(this._headers[l]))}}if(h.addEventListener){if(this._loadFunc){h.removeEventListener(“load”,this._loadFunc,false)}this._loadFunc=function(a){clearTimeout(e);o._onload(a)};h.addEventListener(“load”,this._loadFunc,false)}else{if(typeof h.onload!=”undefined”){h.onload=function(a){clearTimeout(e);o._onload(a)}}else{h.onreadystatechange=function(a){clearTimeout(e);o._onload(a)}}}if(d.timeout>0){e=setTimeout(function(){try{h.abort()}catch(a){}d.ontimeout(h);if(typeof this._oncompleted==”function”){this._oncompleted(false)}},d.timeout*1000)}h.send(g);return this};jindo.$Ajax.prototype.isIdle=function(){return this._status==0};jindo.$Ajax.prototype.abort=function(){try{this._request.abort()}finally{this._status–}return this};jindo.$Ajax.prototype.option=function(b,c){if(typeof b==”undefined”){return””}if(typeof b==”string”){if(typeof c==”undefined”){return this._options[b]}this._options[b]=c;return this}try{for(var a in b){this._options[a]=b[a]}}catch(d){}return this};jindo.$Ajax.prototype.header=function(b,c){if(typeof b==”undefined”){return””}if(typeof b==”string”){if(typeof c==”undefined”){return this._headers[b]}this._headers[b]=c;return this}try{for(var a in b){this._headers[a]=b[a]}}catch(d){}return this};jindo.$Ajax.Response=function(a){if(this===jindo.$Ajax){return new jindo.$Ajax.Response(a)}this._response=a};jindo.$Ajax.Response.prototype.xml=function(){return this._response.responseXML};jindo.$Ajax.Response.prototype.text=function(){return this._response.responseText};jindo.$Ajax.Response.prototype.status=function(){return this._response.status};jindo.$Ajax.Response.prototype.readyState=function(){return this._response.readyState};jindo.$Ajax.Response.prototype.json=function(){if(this._response.responseJSON){return this._response.responseJSON}else{if(this._response.responseText){try{return new Function(“return “+this._response.responseText)()}catch(a){return{}}}}return{}};jindo.$Ajax.Response.prototype.header=function(a){if(typeof a==”string”){return this._response.getResponseHeader(a)}return this._response.getAllResponseHeaders()};jindo.$Ajax.RequestBase=jindo.$Class({_respHeaderString:””,callbackid:””,callbackname:””,responseXML:null,responseJSON:null,responseText:””,status:404,readyState:0,$init:function(){},onload:function(){},abort:function(){},open:function(){},send:function(){},setRequestHeader:function(a,b){this._headers[a]=b},getResponseHeader:function(a){return this._respHeaders[a]||””},getAllResponseHeaders:function(){return this._respHeaderString},_getCallbackInfo:function(){var b=””;if(this.callbackid!=””){var a=0;do{b=”_”+this.callbackid+”_”+a;a++}while(window.__jindo2_callback[b])}else{do{b=”_”+Math.floor(Math.random()*10000)}while(window.__jindo2_callback[b])}if(this.callbackname==””){this.callbackname=”_callback”}return{callbackname:this.callbackname,id:b,name:”window.__jindo2_callback.”+b}}});jindo.$Ajax.JSONPRequest=jindo.$Class({_headers:{},_respHeaders:{},charset:”utf-8″,_script:null,_onerror:null,_callback:function(b){if(this._onerror){clearTimeout(this._onerror);this._onerror=null}var a=this;this.responseJSON=b;this.onload(this);setTimeout(function(){a.abort()},10)},abort:function(){if(this._script){try{this._script.parentNode.removeChild(this._script)}catch(a){}}},open:function(b,a){this.responseJSON=null;this._url=a},send:function(d){var b=this;var e=this._getCallbackInfo();var a=document.getElementsByTagName(“head”)[0];this._script=jindo.$(“