/*
Copyright 2011, KISSY UI Library v1.20dev
MIT Licensed
build time: ${build.time}
*/
(function(b,q){var m=this,p={mix:function(a,c,f,g){if(!c||!a)return a;if(f===q)f=true;var i,k,o;if(g&&(o=g.length))for(i=0;i<o;i++){k=g[i];if(k in c)if(f||!(k in a))a[k]=c[k]}else for(k in c)if(f||!(k in a))a[k]=c[k];return a}},h=m&&m[b]||{},e=0;m=h.__HOST||(h.__HOST=m||{});b=m[b]=p.mix(h,p,false);b.mix(b,{__APP_MEMBERS:["namespace"],__APP_INIT_METHODS:["__init"],version:"1.20dev",buildTime:"@TIMESTAMP@",merge:function(){var a={},c,f=arguments.length;for(c=0;c<f;c++)b.mix(a,arguments[c]);return a},
augment:function(){var a=b.makeArray(arguments),c=a.length-2,f=a[0],g=a[c],i=a[c+1],k=1;if(!b.isArray(i)){g=i;i=q;c++}if(!b.isBoolean(g)){g=q;c++}for(;k<c;k++)b.mix(f.prototype,a[k].prototype||a[k],g,i);return f},extend:function(a,c,f,g){if(!c||!a)return a;var i=Object.create?function(u,s){return Object.create(u,{constructor:{value:s}})}:function(u,s){function w(){}w.prototype=u;var x=new w;x.constructor=s;return x},k=c.prototype,o;o=i(k,a);a.prototype=b.mix(o,a.prototype);a.superclass=i(k,c);f&&
b.mix(o,f);g&&b.mix(a,g);return a},__init:function(){this.Config=this.Config||{};this.Env=this.Env||{};this.Config.debug="@DEBUG@"},namespace:function(){var a=b.makeArray(arguments),c=a.length,f=null,g,i,k,o=a[c-1]===true&&c--;for(g=0;g<c;g++){k=(""+a[g]).split(".");f=o?m:this;for(i=m[k[0]]===f?1:0;i<k.length;++i)f=f[k[i]]=f[k[i]]||{}}return f},app:function(a,c){var f=b.isString(a),g=f?m[a]||{}:a,i=0,k=b.__APP_INIT_METHODS.length;for(b.mix(g,this,true,b.__APP_MEMBERS);i<k;i++)b[b.__APP_INIT_METHODS[i]].call(g);
b.mix(g,b.isFunction(c)?c():c);f&&(m[a]=g);return g},config:function(a){for(var c in a)this["_"+c]&&this["_"+c](a[c])},log:function(a,c,f){if(b.Config.debug){if(f)a=f+": "+a;if(m.console!==q&&console.log)console[c&&console[c]?c:"log"](a)}},error:function(a){if(b.Config.debug)throw a;},guid:function(a){return(a||"")+e++}});b.__init();return b})("KISSY");
(function(b,q){function m(){if(B)return B;var d=s;b.each(A,function(j){d+=j+"|"});d=d.slice(0,-1);return B=RegExp(d,"g")}function p(){if(C)return C;var d=s;b.each(D,function(j){d+=j+"|"});d+="&#(\\d{1,5});";return C=RegExp(d,"g")}function h(d){var j=typeof d;return d===null||j!=="object"&&j!=="function"}var e=b.__HOST,a=Object.prototype,c=a.toString,f=a.hasOwnProperty;a=Array.prototype;var g=a.indexOf,i=a.lastIndexOf,k=a.filter,o=String.prototype.trim,u=a.map,s="",w=/^\s+|\s+$/g,x=encodeURIComponent,
z=decodeURIComponent,E={},A={"&amp;":"&","&gt;":">","&lt;":"<","&quot;":'"'},D={},B,C,F;for(F in A)D[A[F]]=F;b.mix(b,{type:function(d){return d==null?String(d):E[c.call(d)]||"object"},isNull:function(d){return d===null},isUndefined:function(d){return d===q},isEmptyObject:function(d){for(var j in d)if(j!==q)return false;return true},isPlainObject:function(d){return d&&c.call(d)==="[object Object]"&&"isPrototypeOf"in d},clone:function(d,j,l){var n=d,r,t,v=l||{};if(d&&((r=b.isArray(d))||b.isPlainObject(d))){if(d["__~ks_cloned"])return v[d["__~ks_cloned"]];
d["__~ks_cloned"]=n=b.guid();v[n]=d;if(r)n=j?b.filter(d,j):d.concat();else{n={};for(t in d)if(t!=="__~ks_cloned"&&d.hasOwnProperty(t)&&(!j||j.call(d,d[t],t,d)!==false))n[t]=b.clone(d[t],j,v)}}if(!l){b.each(v,function(y){if(y["__~ks_cloned"])try{delete y["__~ks_cloned"]}catch(G){y["__~ks_cloned"]=q}});v=q}return n},trim:o?function(d){return d==q?s:o.call(d)}:function(d){return d==q?s:d.toString().replace(w,s)},substitute:function(d,j,l){if(!b.isString(d)||!b.isPlainObject(j))return d;return d.replace(l||
/\\?\{([^{}]+)\}/g,function(n,r){if(n.charAt(0)==="\\")return n.slice(1);return j[r]!==q?j[r]:s})},each:function(d,j,l){var n,r=0,t=d&&d.length,v=t===q||b.type(d)==="function";l=l||e;if(v)for(n in d){if(j.call(l,d[n],n,d)===false)break}else for(n=d[0];r<t&&j.call(l,n,r,d)!==false;n=d[++r]);return d},indexOf:g?function(d,j){return g.call(j,d)}:function(d,j){for(var l=0,n=j.length;l<n;++l)if(j[l]===d)return l;return-1},lastIndexOf:i?function(d,j){return i.call(j,d)}:function(d,j){for(var l=j.length-
1;l>=0;l--)if(j[l]===d)break;return l},unique:function(d,j){var l=d.slice();j&&l.reverse();for(var n=0,r,t;n<l.length;){for(t=l[n];(r=b.lastIndexOf(t,l))!==n;)l.splice(r,1);n+=1}j&&l.reverse();return l},inArray:function(d,j){return b.indexOf(d,j)>-1},filter:k?function(d,j,l){return k.call(d,j,l||this)}:function(d,j,l){var n=[];b.each(d,function(r,t,v){if(j.call(l||this,r,t,v))n.push(r)});return n},map:u?function(d,j,l){return u.call(d,j,l||this)}:function(d,j,l){for(var n=d.length,r=Array(n),t=0;t<
n;t++){var v=b.isString(d)?d.charAt(t):d[t];if(v||t in d)r[t]=j.call(l||this,v,t,d)}return r},reduce:function(d,j){var l=d.length;if(typeof j!=="function")throw new TypeError;if(l==0&&arguments.length==2)throw new TypeError;var n=0,r;if(arguments.length>=3)r=arguments[2];else{do{if(n in d){r=d[n++];break}if(++n>=l)throw new TypeError;}while(1)}for(;n<l;){if(n in d)r=j.call(q,r,d[n],n,d);n++}return r},now:function(){return(new Date).getTime()},fromUnicode:function(d){return d.replace(/\\u([a-f\d]{4})/ig,
function(j,l){return String.fromCharCode(parseInt(l,16))})},escapeHTML:function(d){return d.replace(m(),function(j){return D[j]})},unEscapeHTML:function(d){return d.replace(p(),function(j,l){return A[j]||String.fromCharCode(+l)})},makeArray:function(d){if(d===null||d===q)return[];if(b.isArray(d))return d;if(typeof d.length!=="number"||b.isString(d)||b.isFunction(d))return[d];for(var j=[],l=0,n=d.length;l<n;l++)j[l]=d[l];return j},param:function(d,j,l,n){if(!b.isPlainObject(d))return s;j=j||"&";l=
l||"=";if(b.isUndefined(n))n=true;var r=[],t,v;for(t in d){v=d[t];t=x(t);if(h(v))r.push(t,l,x(v+s),j);else if(b.isArray(v)&&v.length)for(var y=0,G=v.length;y<G;++y)if(h(v[y]))r.push(t,n?x("[]"):s,l,x(v[y]+s),j)}r.pop();return r.join(s)},unparam:function(d,j,l){if(typeof d!=="string"||(d=b.trim(d)).length===0)return{};j=j||"&";l=l||"=";var n={};d=d.split(j);for(var r,t,v=0,y=d.length;v<y;++v){j=d[v].split(l);r=z(j[0]);try{t=z(j[1]||s)}catch(G){t=j[1]||s}if(b.endsWith(r,"[]"))r=r.substring(0,r.length-
2);if(f.call(n,r))if(b.isArray(n[r]))n[r].push(t);else n[r]=[n[r],t];else n[r]=t}return n},later:function(d,j,l,n,r){j=j||0;n=n||{};var t=d,v=b.makeArray(r),y;if(b.isString(d))t=n[d];t||b.error("method undefined");d=function(){t.apply(n,v)};y=l?setInterval(d,j):setTimeout(d,j);return{id:y,interval:l,cancel:function(){this.interval?clearInterval(y):clearTimeout(y)}}},startsWith:function(d,j){return d.lastIndexOf(j,0)==0},endsWith:function(d,j){var l=d.length-j.length;return d.indexOf(j,l)==l}});b.mix(b,
{isBoolean:h,isNumber:h,isString:h,isFunction:h,isArray:h,isDate:h,isRegExp:h,isObject:h});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(d,j){E["[object "+d+"]"]=j=d.toLowerCase();b["is"+d]=function(l){return b.type(l)==j}})})(KISSY);(function(b){if(!("require"in this)){b.__loader={};b.__loaderUtils={};b.__loaderData={}}})(KISSY);(function(b,q){"require"in this||b.mix(q,{LOADING:1,LOADED:2,ERROR:3,ATTACHED:4})})(KISSY,KISSY.__loaderData);
(function(b,q,m){if(!b.use){b.mix(m,{isWebKit:!!navigator.userAgent.match(/AppleWebKit/),IE:!!navigator.userAgent.match(/MSIE/),isCss:function(e){return/\.css(?:\?|$)/i.test(e)},isLinkNode:function(e){return e.nodeName.toLowerCase()=="link"},normalizePath:function(e){e=e.split("/");for(var a=[],c,f=0;f<e.length;f++){c=e[f];if(c!=".")c==".."?a.pop():a.push(c)}return a.join("/")},normalDepModuleName:function e(a,c){if(!c)return c;if(b.isArray(c)){for(var f=0;f<c.length;f++)c[f]=e(a,c[f]);return c}if(p(c,
"../")||p(c,"./")){f="";var g;if((g=a.lastIndexOf("/"))!=-1)f=a.substring(0,g+1);return h(f+c)}else return c.indexOf("./")!=-1||c.indexOf("../")!=-1?h(c):c},removePostfix:function(e){return e.replace(/(-min)?\.js[^/]*$/i,"")},normalBasePath:function(e){if(e.charAt(e.length-1)!="/")e+="/";e=b.trim(e);if(!e.match(/^(http(s)?)|(file):/i)&&!p(e,"/"))e=q.__pagePath+e;return h(e)},indexMapping:function(e){for(var a=0;a<e.length;a++)if(e[a].match(/\/$/))e[a]+="index";return e}});var p=b.startsWith,h=m.normalizePath}})(KISSY,
KISSY.__loader,KISSY.__loaderUtils);
(function(b,q){function m(){var a=true,c;for(c in e){var f=e[c],g=f.node;f=f.callbacks;var i=false;if(p){if(g.sheet)i=true}else if(g.sheet)try{if(g.sheet.cssRules)i=true}catch(k){if(k.name==="NS_ERROR_DOM_SECURITY_ERR")i=true}if(i){b.each(f,function(o){o.call(g)});delete e[c]}else a=false}h=a?null:setTimeout(m,100)}if(!b.use){var p=q.isWebKit,h=null,e={};b.mix(q,{scriptOnload:document.addEventListener?function(a,c){if(q.isLinkNode(a))return q.styleOnload(a,c);a.addEventListener("load",c,false)}:function(a,
c){if(q.isLinkNode(a))return q.styleOnload(a,c);var f=a.onreadystatechange;a.onreadystatechange=function(){if(/loaded|complete/i.test(a.readyState)){a.onreadystatechange=null;f&&f();c.call(this)}}},styleOnload:window.attachEvent?function(a,c){function f(){a.detachEvent("onload",f);c.call(a)}a.attachEvent("onload",f)}:function(a,c){var f=a.href;if(e[f])e[f].callbacks.push(c);else e[f]={node:a,callbacks:[c]};h||m()}})}})(KISSY,KISSY.__loaderUtils);
(function(b,q){if(!("require"in this)){var m=q.scriptOnload;b.mix(b,{getStyle:function(p,h,e){var a=document,c=a.getElementsByTagName("head")[0];a=a.createElement("link");var f=h;if(b.isPlainObject(f)){h=f.success;e=f.charset}a.href=p;a.rel="stylesheet";if(e)a.charset=e;h&&q.scriptOnload(a,h);c.appendChild(a);return a},getScript:function(p,h,e){if(q.isCss(p))return b.getStyle(p,h,e);var a=document,c=a.getElementsByTagName("head")[0],f=a.createElement("script"),g=h,i,k,o;if(b.isPlainObject(g)){h=g.success;
i=g.error;k=g.timeout;e=g.charset}f.src=p;f.async=true;if(e)f.charset=e;if(h||i){m(f,function(){if(o){o.cancel();o=undefined}b.isFunction(h)&&h.call(f)});if(b.isFunction(i)){a.addEventListener&&f.addEventListener("error",function(){if(o){o.cancel();o=undefined}i.call(f)},false);o=b.later(function(){o=undefined;i()},(k||this.Config.timeout)*1E3)}}c.insertBefore(f,c.firstChild);return f}})}})(KISSY,KISSY.__loaderUtils);
(function(b,q,m){if(!("require"in this)){var p=m.IE;b.__HOST.document.getElementsByTagName("head");var h=b.mix;b.mix(q,{add:function(e,a,c){var f=this.Env.mods,g;if(b.isString(e)&&!c&&b.isPlainObject(a)){g={};g[e]=a;e=g}if(b.isPlainObject(e)){b.each(e,function(k,o){k.name=o;f[o]&&h(k,f[o],false)});h(f,e);return this}if(b.isString(e)){var i;if(c&&(i=c.host)){e=f[i];if(!e)return this;if(this.__isAttached(i))a.call(this,this);else{e.fns=e.fns||[];e.fns.push(a)}return this}this.__registerModule(e,a,c);
if(c&&c.attach===false)return this;a=f[e];e=m.normalDepModuleName(e,a.requires);if(this.__isAttached(e))this.__attachMod(a);else if(this.Config.debug&&!a)for(e=b.makeArray(e).length-1;e>=0;e--);return this}if(b.isFunction(e)){c=a;a=e;if(p){e=this.__findModuleNameByInteractive();this.__registerModule(e,a,c);this.__startLoadModuleName=null;this.__startLoadTime=0}else this.__currentModule={def:a,config:c};return this}return this}})}})(KISSY,KISSY.__loader,KISSY.__loaderUtils,KISSY.__loaderData);
(function(b,q,m,p){"require"in this||b.mix(q,{__buildPath:function(h,e){function a(f,g){if(!h[f]&&h[g]){h[g]=m.normalDepModuleName(h.name,h[g]);h[f]=(e||c.base)+h[g]}if(h[f]&&c.debug)h[f]=h[f].replace(/-min/ig,"");if(h[f]&&!h[f].match(/\?t=/)&&h.tag)h[f]+="?t="+h.tag}var c=this.Config;a("fullpath","path");h.cssfullpath!==p.LOADED&&a("cssfullpath","csspath")}})})(KISSY,KISSY.__loader,KISSY.__loaderUtils,KISSY.__loaderData);
(function(b,q){"require"in this||b.mix(q,{__mixMods:function(m){var p=this.Env.mods,h=m.Env.mods,e;for(e in h)this.__mixMod(p,h,e,m)},__mixMod:function(m,p,h,e){var a=m[h]||{},c=a.status;b.mix(a,b.clone(p[h]));if(c)a.status=c;e&&this.__buildPath(a,e.Config.base);m[h]=a}})})(KISSY,KISSY.__loader,KISSY.__loaderUtils);
(function(b,q,m){"require"in this||b.mix(q,{__findModuleNameByInteractive:function(){for(var p=document.getElementsByTagName("script"),h,e,a=0;a<p.length;a++){e=p[a];if(e.readyState=="interactive"){h=e;break}}if(!h)return this.__startLoadModuleName;p=h.src;if(p.lastIndexOf(this.Config.base,0)==0)return m.removePostfix(p.substring(this.Config.base.length));h=this.__packages;for(var c in h){e=h[c].path;if(h.hasOwnProperty(c)&&p.lastIndexOf(e,0)==0)return m.removePostfix(p.substring(e.length))}}})})(KISSY,
KISSY.__loader,KISSY.__loaderUtils);
(function(b,q,m,p){if(!("require"in this)){var h=m.IE;b.__HOST.document.getElementsByTagName("head");var e=p.LOADING,a=p.LOADED,c=p.ERROR,f=p.ATTACHED;b.mix(q,{__load:function(g,i,k){function o(){x[s]=a;if(g.status!==c){if(g.status!==f)g.status=a;i()}}var u=this,s=g.fullpath,w=m.isCss(s),x=u.Env._loadQueue,z=x[s];g.status=g.status||0;if(g.status<e&&z)g.status=z.nodeName?e:a;if(b.isString(g.cssfullpath)){b.getScript(g.cssfullpath);g.cssfullpath=g.csspath=a}if(g.status<e&&s){g.status=e;if(h&&!w){u.__startLoadModuleName=
g.name;u.__startLoadTime=Number(+new Date)}z=b.getScript(s,{success:function(){if(!w){if(u.__currentModule){u.__registerModule(g.name,u.__currentModule.def,u.__currentModule.config);u.__currentModule=null}k.global&&u.__mixMod(u.Env.mods,k.global.Env.mods,g.name,k.global);if(!(g.fns&&g.fns.length>0))g.status=c}o()},error:function(){g.status=c;o()},charset:g.charset});x[s]=z}else g.status===e?m.scriptOnload(z,o):i()}})}})(KISSY,KISSY.__loader,KISSY.__loaderUtils,KISSY.__loaderData);
(function(b,q,m){if(!("require"in this)){b.__HOST.document.getElementsByTagName("head");var p=m.ATTACHED;m=b.mix;m(q,{__pagePath:location.href.replace(/[^/]*$/i,""),__currentModule:null,__startLoadTime:0,__startLoadModuleName:null,__isAttached:function(h){var e=this.Env.mods,a=true;b.each(h,function(c){c=e[c];if(!c||c.status!==p)return a=false});return a}})}})(KISSY,KISSY.__loader,KISSY.__loaderData);
(function(b,q,m){if(!("require"in this)){b.__HOST.document.getElementsByTagName("head");var p=encodeURIComponent(b.buildTime);b.mix(q,{_packages:function(h){var e;e=this.__packages=this.__packages||{};b.each(h,function(a){e[a.name]=a;if(a.path)a.path=m.normalBasePath(a.path);if(a.tag)a.tag=encodeURIComponent(a.tag)})},__getPackagePath:function(h){if(h.packagepath)return h.packagepath;var e=this._combine(h.name),a=this.__packages||{},c="",f;for(f in a)if(a.hasOwnProperty(f)&&b.startsWith(e,f)&&f.length>
c)c=f;a=(e=a[c])&&e.path||this.Config.base;if(e&&e.charset)h.charset=e.charset;h.tag=e?e.tag:p;return h.packagepath=a},_combine:function(h,e){var a=this,c;if(b.isObject(h))b.each(h,function(f,g){b.each(f,function(i){a._combine(i,g)})});else{c=a.__combines=a.__combines||{};if(e)c[h]=e;else return c[h]||h}}})}})(KISSY,KISSY.__loader,KISSY.__loaderUtils);
(function(b,q,m){if(!b.use){b.__HOST.document.getElementsByTagName("head");var p=m.LOADED,h=b.mix;b.mix(q,{__registerModule:function(e,a,c){c=c||{};var f=this.Env.mods,g=f[e]||{};h(g,{name:e,status:p});g.fns=g.fns||[];g.fns.push(a);h(f[e]=g,c)}})}})(KISSY,KISSY.__loader,KISSY.__loaderData);
(function(b,q,m,p){if(!("require"in this)){b.__HOST.document.getElementsByTagName("head");var h=p.LOADED,e=p.ATTACHED;b.mix(q,{use:function(a,c,f){a=a.replace(/\s+/g,"").split(",");m.indexMapping(a);f=f||{};var g=this,i;f.global&&g.__mixMods(f.global);if(g.__isAttached(a)){var k=g.__getModules(a);c&&c.apply(g,k)}else{b.each(a,function(o){g.__attachModByName(o,function(){if(!i&&g.__isAttached(a)){i=true;var u=g.__getModules(a);c&&c.apply(g,u)}},f)});return g}},__getModules:function(a){var c=this,f=
[c];b.each(a,function(g){m.isCss(g)||f.push(c.require(g))});return f},require:function(a){a=this.Env.mods[a];var c=this.onRequire&&this.onRequire(a);if(c!==undefined)return c;return a&&a.value},__attachModByName:function(a,c,f){var g=this.Env.mods,i=g[a];if(!i){i=this.Config.componentJsName||function(k){var o="js";if(/(.+)\.(js|css)$/i.test(k)){o=RegExp.$2;k=RegExp.$1}return k+"-min."+o};i={path:b.isFunction(i)?i(this._combine(a)):i,charset:"utf-8"};g[a]=i}i.name=a;i&&i.status===e||this.__attach(i,
c,f)},__attach:function(a,c,f){function g(){if(!u&&i.__isAttached(a.requires)){a.status===h&&i.__attachMod(a);if(a.status===e){u=true;c()}}}var i=this,k=i.Env.mods,o=(a.requires||[]).concat();a.requires=o;b.each(o,function(s,w,x){s=x[w]=m.normalDepModuleName(a.name,s);(w=k[s])&&w.status===e||i.__attachModByName(s,g,f)});i.__buildPath(a,i.__getPackagePath(a));i.__load(a,function(){a.requires=a.requires||[];b.each(a.requires,function(s,w,x){s=x[w]=m.normalDepModuleName(a.name,s);w=k[s];x=b.inArray(s,
o);w&&w.status===e||x||i.__attachModByName(s,g,f)});g()},f);var u=false},__attachMod:function(a){var c=this,f=a.fns;f&&b.each(f,function(g){g=b.isFunction(g)?g.apply(c,c.__getModules(a.requires)):g;a.value=a.value||g});a.status=e}})}})(KISSY,KISSY.__loader,KISSY.__loaderUtils,KISSY.__loaderData);
(function(b,q,m){function p(c){var f=c.src,g=c.getAttribute("data-combo-prefix")||"??";c=c.getAttribute("data-combo-sep")||",";c=f.split(c);var i,k=c[0];g=k.indexOf(g);if(g==-1)i=f.replace(h,"$1");else{i=k.substring(0,g);f=k.substring(g+2,k.length);if(f.match(e))i+=f.replace(h,"$1");else b.each(c,function(o){if(o.match(e)){i+=o.replace(h,"$1");return false}})}if(!i.match(/^(http(s)?)|(file):/i)&&!b.startsWith(i,"/"))i=a+i;return i}if(!("require"in this)){b.mix(b,q);var h=/^(.*)(seed|kissy)(-min)?\.js[^/]*/i,
e=/(seed|kissy)(-min)?\.js/i,a=b.__pagePath;b.__initLoader=function(){this.Env.mods=this.Env.mods||{};this.Env._loadQueue={}};b.__initLoader();(function(){var c=document.getElementsByTagName("script");c=p(c[c.length-1]);b.Config.base=m.normalBasePath(c);b.Config.timeout=10})();b.each(q,function(c,f){b.__APP_MEMBERS.push(f)});b.__APP_INIT_METHODS.push("__initLoader")}})(KISSY,KISSY.__loader,KISSY.__loaderUtils);
(function(b){function q(){var k=h.documentElement.doScroll,o=k?"onreadystatechange":"DOMContentLoaded",u=function(){m()};f=true;if(h.readyState==="complete")m();else{if(h.addEventListener){var s=function(){h.removeEventListener(o,s,false);m()};h.addEventListener(o,s,false);p.addEventListener("load",u,false)}else{var w=function(){if(h.readyState==="complete"){h.detachEvent(o,w);m()}};h.attachEvent(o,w);p.attachEvent("onload",u);u=false;try{u=p.frameElement==null}catch(x){}if(k&&u){var z=function(){try{k("left");
m()}catch(E){setTimeout(z,50)}};z()}}return 0}}function m(){if(!a){a=true;if(c){for(var k,o=0;k=c[o++];)k.call(p,b);c=null}}}var p=b.__HOST,h=p.document,e=h.documentElement,a=false,c=[],f=false,g=/^#?([\w-]+)$/,i=/\S/;b.mix(b,{isWindow:function(k){return b.type(k)==="object"&&"setInterval"in k&&"document"in k&&k.document.nodeType==9},globalEval:function(k){if(k&&i.test(k)){var o=h.getElementsByTagName("head")[0]||e,u=h.createElement("script");u.text=k;o.insertBefore(u,o.firstChild);o.removeChild(u)}},
ready:function(k){f||q();a?k.call(p,this):c.push(k);return this},available:function(k,o){if((k=(k+"").match(g)[1])&&b.isFunction(o))var u=1,s=b.later(function(){if(h.getElementById(k)&&(o()||1)||++u>500)s.cancel()},40,true)}});if(location&&(location.search||"").indexOf("ks-debug")!==-1)b.Config.debug=true})(KISSY);(function(b){b.config({combine:{core:["dom","ua","event","node","json","ajax","anim","base","cookie"]}})})(KISSY);

