js.dojo.dojo.js Maven / Gradle / Ivy
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/license
*/
/*
This is a compiled version of Dojo, built for deployment and not for
development. To get an editable version, please visit:
http://dojotoolkit.org
for documentation and information on getting the source.
*/
(function(){var _1=null;if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){var _2="",_3="",_4="",_5={},_6={};_1=_1||djConfig.scopeMap;for(var i=0;i<_1.length;i++){var _8=_1[i];_2+="var "+_8[0]+" = {}; "+_8[1]+" = "+_8[0]+";"+_8[1]+"._scopeName = '"+_8[1]+"';";_3+=(i==0?"":",")+_8[0];_4+=(i==0?"":",")+_8[1];_5[_8[0]]=_8[1];_6[_8[1]]=_8[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}(function(){if(!this["console"]){this.console={log:function(){}};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _c=tn+"";console[_c]=function(){var a=Array.apply({},arguments);a.unshift(_c+":");console.log(a.join(" "));};})();}}if(typeof dojo=="undefined"){this.dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){this.dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){this.dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var _f in djConfig){d.config[_f]=djConfig[_f];}}var _10=["Browser","Rhino","Spidermonkey","Mobile"];var t;while((t=_10.shift())){d["is"+t]=false;}dojo.locale=d.config.locale;var rev="$Rev: 13682 $".match(/\d+/);dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:rev?+rev[0]:999999,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(obj,_14){var _15={};for(var x in _14){if(_15[x]===undefined||_15[x]!=_14[x]){obj[x]=_14[x];}}if(d["isIE"]&&_14){var p=_14.toString;if(typeof p=="function"&&p!=obj.toString&&p!=_15.toString&&p!="\nfunction toString() {\n [native code]\n}\n"){obj.toString=_14.toString;}}return obj;};dojo.mixin=function(obj,_19){for(var i=1,l=arguments.length;i0){console.warn("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(dojo.config.useXDomain&&d.isOpera)){if(dojo.isAIR){setTimeout(function(){dojo.loaded();},0);}else{setTimeout(dojo._scopeName+".loaded();",0);}}else{d.loaded();}};dojo._getModuleSymbols=function(_4c){var _4d=_4c.split(".");for(var i=_4d.length;i>0;i--){var _4f=_4d.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_4f)){_4d[0]="../"+_4d[0];}else{var _50=this._getModulePrefix(_4f);if(_50!=_4f){_4d.splice(0,i,_50);break;}}}return _4d;};dojo._global_omit_module_check=false;dojo._loadModule=dojo.require=function(_51,_52){_52=this._global_omit_module_check||_52;var _53=this._loadedModules[_51];if(_53){return _53;}var _54=this._getModuleSymbols(_51).join("/")+".js";var _55=(!_52)?_51:null;var ok=this._loadPath(_54,_55);if(!ok&&!_52){throw new Error("Could not load '"+_51+"'; last tried '"+_54+"'");}if(!_52&&!this._isXDomain){_53=this._loadedModules[_51];if(!_53){throw new Error("symbol '"+_51+"' is not defined after loading '"+_54+"'");}}return _53;};dojo.provide=function(_57){_57=_57+"";return (d._loadedModules[_57]=d.getObject(_57,true));};dojo.platformRequire=function(_58){var _59=_58.common||[];var _5a=_59.concat(_58[d._name]||_58["default"]||[]);for(var x=0;x<_5a.length;x++){var _5c=_5a[x];if(_5c.constructor==Array){d._loadModule.apply(d,_5c);}else{d._loadModule(_5c);}}};dojo.requireIf=function(_5d,_5e){if(_5d===true){var _5f=[];for(var i=1;i0&&!(j==1&&_70[0]=="")&&_70[j]==".."&&_70[j-1]!=".."){if(j==(_70.length-1)){_70.splice(j,1);_70[j-1]="";}else{_70.splice(j-1,2);j-=2;}}}}_6d.path=_70.join("/");}}}}uri=[];if(_6d.scheme){uri.push(_6d.scheme,":");}if(_6d.authority){uri.push("//",_6d.authority);}uri.push(_6d.path);if(_6d.query){uri.push("?",_6d.query);}if(_6d.fragment){uri.push("#",_6d.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_73,url){var loc=d._getModuleSymbols(_73).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _76=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_76==-1||_76>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};})();if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var d=dojo;if(document&&document.getElementsByTagName){var _78=document.getElementsByTagName("script");var _79=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_78.length;i++){var src=_78[i].getAttribute("src");if(!src){continue;}var m=src.match(_79);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_78[i].getAttribute("djConfig");if(cfg){var _7e=eval("({ "+cfg+" })");for(var x in _7e){dojo.config[x]=_7e[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent;var dav=n.appVersion;var tv=parseFloat(dav);d.isOpera=(dua.indexOf("Opera")>=0)?tv:0;var idx=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(idx){d.isSafari=parseFloat(dav.split("Version/")[1])||((parseFloat(dav.substr(idx+7))>=419.3)?3:2)||2;}d.isAIR=(dua.indexOf("AdobeAIR")>=0)?1:0;d.isKhtml=(dav.indexOf("Konqueror")>=0||d.isSafari)?tv:0;d.isMozilla=d.isMoz=(dua.indexOf("Gecko")>=0&&!d.isKhtml)?tv:0;d.isFF=d.isIE=0;if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1])||0;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||0;}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}var cm=document.compatMode;d.isQuirks=cm=="BackCompat"||cm=="QuirksMode"||d.isIE<6;d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _86=null;var _87=null;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_86=new XMLHttpRequest();}catch(e){}}if(!_86){for(var i=0;i<3;++i){var _89=d._XMLHTTP_PROGIDS[i];try{_86=new ActiveXObject(_89);}catch(e){_87=e;}if(_86){d._XMLHTTP_PROGIDS=[_89];break;}}}if(!_86){throw new Error("XMLHTTP not available: "+_87);}return _86;};d._isDocumentOk=function(_8a){var _8b=_8a.status||0;return (_8b>=200&&_8b<300)||_8b==304||_8b==1223||(!_8b&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _8c=window.location+"";var _8d=document.getElementsByTagName("base");var _8e=(_8d&&_8d.length>0);d._getText=function(uri,_90){var _91=this._xhrObj();if(!_8e&&dojo._Url){uri=(new dojo._Url(_8c,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_91.open("GET",uri,false);try{_91.send(null);if(!d._isDocumentOk(_91)){var err=Error("Unable to load "+uri+" status:"+_91.status);err.status=_91.status;err.responseText=_91.responseText;throw err;}}catch(e){if(_90){return null;}throw e;}return _91.responseText;};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _94=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_94!="domcontentloaded"&&_94!="load")){return;}arguments.callee.initialized=true;if("_khtmlTimer" in dojo){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};dojo._fakeLoadInit=function(){dojo._loadInit({type:"load"});};if(!dojo.config.afterOnLoad){if(document.addEventListener){if(dojo.isOpera||dojo.isFF>=3||(dojo.isMoz&&dojo.config.enableMozDomContentLoaded===true)){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}if(dojo.isAIR){window.addEventListener("load",dojo._loadInit,null);}else{if(/(WebKit|khtml)/i.test(navigator.userAgent)){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}}}(function(){var _w=window;var _96=function(_97,fp){var _99=_w[_97]||function(){};_w[_97]=function(){fp.apply(_w,arguments);_99.apply(_w,arguments);};};if(dojo.isIE){if(!dojo.config.afterOnLoad){document.write(""+" ");}try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}catch(e){}}_96("onbeforeunload",function(){dojo.unloaded();});})();}(function(){var mp=dojo.config["modulePaths"];if(mp){for(var _9b in mp){dojo.registerModulePath(_9b,mp[_9b]);}}})();if(dojo.config.isDebug){dojo.require("dojo._firebug.firebug");}if(dojo.config.debugAtAllCosts){dojo.config.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");dojo.require("dojo.i18n");}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");dojo.isString=function(it){return !!arguments.length&&it!=null&&(typeof it=="string"||it instanceof String);};dojo.isArray=function(it){return it&&(it instanceof Array||typeof it=="array");};dojo.isFunction=(function(){var _9e=function(it){return it&&(typeof it=="function"||it instanceof Function);};return dojo.isSafari?function(it){if(typeof it=="function"&&it=="[object NodeList]"){return false;}return _9e(it);}:_9e;})();dojo.isObject=function(it){return it!==undefined&&(it===null||typeof it=="object"||dojo.isArray(it)||dojo.isFunction(it));};dojo.isArrayLike=function(it){var d=dojo;return it&&it!==undefined&&!d.isString(it)&&!d.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(d.isArray(it)||isFinite(it.length));};dojo.isAlien=function(it){return it&&!dojo.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.extend=function(_a5,_a6){for(var i=1,l=arguments.length;i2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_b0){_b0=_af;_af=null;}if(dojo.isString(_b0)){_af=_af||dojo.global;if(!_af[_b0]){throw (["dojo.hitch: scope[\"",_b0,"\"] is null (scope=\"",_af,"\")"].join(""));}return function(){return _af[_b0].apply(_af,arguments||[]);};}return !_af?_b0:function(){return _b0.apply(_af,arguments||[]);};};dojo.delegate=dojo._delegate=function(obj,_b2){function TMP(){};TMP.prototype=obj;var tmp=new TMP();if(_b2){dojo.mixin(tmp,_b2);}return tmp;};dojo.partial=function(_b4){var arr=[null];return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));};dojo._toArray=function(obj,_b7,_b8){var arr=_b8||[];for(var x=_b7||0;x=0){this._fire();}return this;},_fire:function(){var _12c=this.chain;var _12d=this.fired;var res=this.results[_12d];var self=this;var cb=null;while((_12c.length>0)&&(this.paused==0)){var f=_12c.shift()[_12d];if(!f){continue;}try{res=f(res);_12d=((res instanceof Error)?1:0);if(res instanceof dojo.Deferred){cb=function(res){self._resback(res);self.paused--;if((self.paused==0)&&(self.fired>=0)){self._fire();}};this.paused++;}}catch(err){console.debug(err);_12d=1;res=err;}}this.fired=_12d;this.results[_12d]=res;if((cb)&&(this.paused)){res.addBoth(cb);}}});}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(json){return eval("("+json+")");};dojo._escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_136,_137){if(it===undefined){return "undefined";}var _138=typeof it;if(_138=="number"||_138=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}if(it.nodeType&&it.cloneNode){return "";}var _139=arguments.callee;var _13a;_137=_137||"";var _13b=_136?_137+dojo.toJsonIndentStr:"";if(typeof it.__json__=="function"){_13a=it.__json__();if(it!==_13a){return _139(_13a,_136,_13b);}}if(typeof it.json=="function"){_13a=it.json();if(it!==_13a){return _139(_13a,_136,_13b);}}var sep=_136?" ":"";var _13d=_136?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_139(obj,_136,_13b);if(typeof val!="string"){val="undefined";}return _13d+_13b+val;});return "["+res.join(","+sep)+_13d+_137+"]";}if(_138=="function"){return null;}var _141=[],key;for(key in it){var _143,val;if(typeof key=="number"){_143="\""+key+"\"";}else{if(typeof key=="string"){_143=dojo._escapeString(key);}else{continue;}}val=_139(it[key],_136,_13b);if(typeof val!="string"){continue;}_141.push(_13d+_13b+_143+":"+sep+val);}return "{"+_141.join(","+sep)+_13d+_137+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _145=function(arr,obj,cb){return [dojo.isString(arr)?arr.split(""):arr,obj||dojo.global,dojo.isString(cb)?new Function("item","index","array",cb):cb];};dojo.mixin(dojo,{indexOf:function(_149,_14a,_14b,_14c){var step=1,end=_149.length||0,i=0;if(_14c){i=end-1;step=end=-1;}if(_14b!=undefined){i=_14b;}if((_14c&&i>end)||i>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new dojo.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=dojo.Color.named[str];return a&&dojo.colorFromArray(a,obj)||dojo.colorFromRgb(str,obj)||dojo.colorFromHex(str,obj);};}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo._gearsObject=function(){var _19a;var _19b;var _19c=dojo.getObject("google.gears");if(_19c){return _19c;}if(typeof GearsFactory!="undefined"){_19a=new GearsFactory();}else{if(dojo.isIE){try{_19a=new ActiveXObject("Gears.Factory");}catch(e){}}else{if(navigator.mimeTypes["application/x-googlegears"]){_19a=document.createElement("object");_19a.setAttribute("type","application/x-googlegears");_19a.setAttribute("width",0);_19a.setAttribute("height",0);_19a.style.display="none";document.documentElement.appendChild(_19a);}}}if(!_19a){return null;}dojo.setObject("google.gears.factory",_19a);return dojo.getObject("google.gears");};dojo.isGears=(!!dojo._gearsObject())||0;dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_19d,_19e){dojo.global=_19d;dojo.doc=_19e;};dojo._fireCallback=function(_19f,_1a0,_1a1){if(_1a0&&dojo.isString(_19f)){_19f=_1a0[_19f];}return _19f.apply(_1a0,_1a1||[]);};dojo.withGlobal=function(_1a2,_1a3,_1a4,_1a5){var rval;var _1a7=dojo.global;var _1a8=dojo.doc;try{dojo.setContext(_1a2,_1a2.document);rval=dojo._fireCallback(_1a3,_1a4,_1a5);}finally{dojo.setContext(_1a7,_1a8);}return rval;};dojo.withDoc=function(_1a9,_1aa,_1ab,_1ac){var rval;var _1ae=dojo.doc;try{dojo.doc=_1a9;rval=dojo._fireCallback(_1aa,_1ab,_1ac);}finally{dojo.doc=_1ae;}return rval;};}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");(function(){var del=(dojo._event_listener={add:function(node,name,fp){if(!node){return;}name=del._normalizeEventName(name);fp=del._fixCallback(name,fp);var _1b3=name;if(!dojo.isIE&&(name=="mouseenter"||name=="mouseleave")){var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){if(!dojo.isDescendant(e.relatedTarget,node)){return ofp.call(this,e);}};}node.addEventListener(name,fp,false);return fp;},remove:function(node,_1b7,_1b8){if(node){node.removeEventListener(del._normalizeEventName(_1b7),_1b8,false);}},_normalizeEventName:function(name){return name.slice(0,2)=="on"?name.slice(2):name;},_fixCallback:function(name,fp){return name!="keypress"?fp:function(e){return fp.call(this,del._fixEvent(e,this));};},_fixEvent:function(evt,_1be){switch(evt.type){case "keypress":del._setKeyChar(evt);break;}return evt;},_setKeyChar:function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;}});dojo.fixEvent=function(evt,_1c1){return del._fixEvent(evt,_1c1);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _1c3=dojo._listener;dojo._connect=function(obj,_1c5,_1c6,_1c7,_1c8){var _1c9=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=!_1c9?0:(!_1c8?1:2),l=[dojo._listener,del,_1c3][lid];var h=l.add(obj,_1c5,dojo.hitch(_1c6,_1c7));return [obj,_1c5,h,lid];};dojo._disconnect=function(obj,_1ce,_1cf,_1d0){([dojo._listener,del,_1c3][_1d0]).remove(obj,_1ce,_1cf);};dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145};if(dojo.isIE){var _1d1=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;if(!dojo.config._allow_leaks){_1c3=iel=dojo._ie_listener={handlers:[],add:function(_1d5,_1d6,_1d7){_1d5=_1d5||dojo.global;var f=_1d5[_1d6];if(!f||!f._listeners){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d._listeners=[];f=_1d5[_1d6]=d;}return f._listeners.push(ieh.push(_1d7)-1);},remove:function(_1db,_1dc,_1dd){var f=(_1db||dojo.global)[_1dc],l=f&&f._listeners;if(f&&l&&_1dd--){delete ieh[l[_1dd]];delete l[_1dd];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_1e1,fp){if(!node){return;}_1e1=del._normalizeEventName(_1e1);if(_1e1=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd._listeners||!kd._stealthKeydownHandle){var h=del.add(node,"onkeydown",del._stealthKeyDown);kd=node.onkeydown;kd._stealthKeydownHandle=h;kd._stealthKeydownRefs=1;}else{kd._stealthKeydownRefs++;}}return iel.add(node,_1e1,del._fixCallback(fp));},remove:function(node,_1e6,_1e7){_1e6=del._normalizeEventName(_1e6);iel.remove(node,_1e6,_1e7);if(_1e6=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_1e9){return _1e9.slice(0,2)!="on"?"on"+_1e9:_1e9;},_nop:function(){},_fixEvent:function(evt,_1eb){if(!evt){var w=_1eb&&(_1eb.ownerDocument||_1eb.document||_1eb).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_1eb||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _1ef=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _1f0=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_1ef.scrollLeft||0)-_1f0.x;evt.pageY=evt.clientY+(_1ef.scrollTop||0)-_1f0.y;if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}evt.stopPropagation=del._stopPropagation;evt.preventDefault=del._preventDefault;return del._fixKeys(evt);},_fixKeys:function(evt){switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;del._setKeyChar(evt);break;}return evt;},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39},_stealthKeyDown:function(evt){var kp=evt.currentTarget.onkeypress;if(!kp||!kp._listeners){return;}var k=evt.keyCode;var _1f6=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_1f6||evt.ctrlKey){var c=_1f6?0:k;if(evt.ctrlKey){if(k==3||k==13){return;}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=del._punctMap[c]||c;}}}}var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});kp.call(evt.currentTarget,faux);evt.cancelBubble=faux.cancelBubble;evt.returnValue=faux.returnValue;_1d1(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_1d1(this,0);}this.returnValue=false;}});dojo.stopEvent=function(evt){evt=evt||window.event;del._stopPropagation.call(evt);del._preventDefault.call(evt);};}del._synthesizeEvent=function(evt,_1fb){var faux=dojo.mixin({},evt,_1fb);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_1fe){switch(evt.type){case "keypress":var c=evt.which;if(c==3){c=99;}c=((c<41)&&(!evt.shiftKey)?0:c);if((evt.ctrlKey)&&(!evt.shiftKey)&&(c>=65)&&(c<=90)){c+=32;}return del._synthesizeEvent(evt,{charCode:c});}return evt;}});}if(dojo.isSafari){dojo.mixin(del,{_fixEvent:function(evt,_201){switch(evt.type){case "keypress":var c=evt.charCode,s=evt.shiftKey,k=evt.keyCode;k=k||_205[evt.keyIdentifier]||0;if(evt.keyIdentifier=="Enter"){c=0;}else{if((evt.ctrlKey)&&(c>0)&&(c<27)){c+=96;}else{if(c==dojo.keys.SHIFT_TAB){c=dojo.keys.TAB;s=true;}else{c=(c>=32&&c<63232?c:0);}}}return del._synthesizeEvent(evt,{charCode:c,shiftKey:s,keyCode:k});}return evt;}});dojo.mixin(dojo.keys,{SHIFT_TAB:25,UP_ARROW:63232,DOWN_ARROW:63233,LEFT_ARROW:63234,RIGHT_ARROW:63235,F1:63236,F2:63237,F3:63238,F4:63239,F5:63240,F6:63241,F7:63242,F8:63243,F9:63244,F10:63245,F11:63246,F12:63247,PAUSE:63250,DELETE:63272,HOME:63273,END:63275,PAGE_UP:63276,PAGE_DOWN:63277,INSERT:63302,PRINT_SCREEN:63248,SCROLL_LOCK:63249,NUM_LOCK:63289});var dk=dojo.keys,_205={"Up":dk.UP_ARROW,"Down":dk.DOWN_ARROW,"Left":dk.LEFT_ARROW,"Right":dk.RIGHT_ARROW,"PageUp":dk.PAGE_UP,"PageDown":dk.PAGE_DOWN};}})();if(dojo.isIE){dojo._ieDispatcher=function(args,_208){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=args.callee,ls=c._listeners,t=h[c.target];var r=t&&t.apply(_208,args);for(var i in ls){if(!(i in ap)){h[ls[i]].apply(_208,args);}}return r;};dojo._getIeDispatcher=function(){return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)");};dojo._event_listener._fixCallback=function(fp){var f=dojo._event_listener._fixEvent;return function(e){return fp.call(this,f(e,this));};};}}if(!dojo._hasResource["dojo._base.html"]){dojo._hasResource["dojo._base.html"]=true;dojo.provide("dojo._base.html");try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}if(dojo.isIE||dojo.isOpera){dojo.byId=function(id,doc){if(dojo.isString(id)){var _d=doc||dojo.doc;var te=_d.getElementById(id);if(te&&te.attributes.id.value==id){return te;}else{var eles=_d.all[id];if(!eles||!eles.length){return eles;}var i=0;while((te=eles[i++])){if(te.attributes.id.value==id){return te;}}}}else{return id;}};}else{dojo.byId=function(id,doc){return dojo.isString(id)?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var _21c=null;dojo.addOnUnload(function(){_21c=null;});dojo._destroyElement=function(node){node=d.byId(node);try{if(!_21c){_21c=document.createElement("div");}_21c.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_21c.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_21f){try{node=d.byId(node);_21f=d.byId(_21f);while(node){if(node===_21f){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_221){node=d.byId(node);if(d.isMozilla){node.style.MozUserSelect=_221?"":"none";}else{if(d.isKhtml){node.style.KhtmlUserSelect=_221?"auto":"none";}else{if(d.isIE){node.unselectable=_221?"":"on";d.query("*",node).forEach(function(_222){_222.unselectable=_221?"":"on";});}}}};var _223=function(node,ref){ref.parentNode.insertBefore(node,ref);return true;};var _226=function(node,ref){var pn=ref.parentNode;if(ref==pn.lastChild){pn.appendChild(node);}else{return _223(node,ref.nextSibling);}return true;};dojo.place=function(node,_22b,_22c){if(!node||!_22b||_22c===undefined){return false;}node=d.byId(node);_22b=d.byId(_22b);if(typeof _22c=="number"){var cn=_22b.childNodes;if((_22c==0&&cn.length==0)||cn.length==_22c){_22b.appendChild(node);return true;}if(_22c==0){return _223(node,_22b.firstChild);}return _226(node,cn[_22c-1]);}switch(_22c.toLowerCase()){case "before":return _223(node,_22b);case "after":return _226(node,_22b);case "first":if(_22b.firstChild){return _223(node,_22b.firstChild);}default:_22b.appendChild(node);return true;}};dojo.boxModel="content-box";if(d.isIE){var _dcm=document.compatMode;d.boxModel=_dcm=="BackCompat"||_dcm=="QuirksMode"||d.isIE<6?"border-box":"content-box";}var gcs,dv=document.defaultView;if(d.isSafari){gcs=function(node){var s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}return s||{};};}else{if(d.isIE){gcs=function(node){return node.currentStyle;};}else{gcs=function(node){return dv.getComputedStyle(node,null);};}}dojo.getComputedStyle=gcs;if(!d.isIE){dojo._toPixelValue=function(_235,_236){return parseFloat(_236)||0;};}else{dojo._toPixelValue=function(_237,_238){if(!_238){return 0;}if(_238=="medium"){return 4;}if(_238.slice&&(_238.slice(-2)=="px")){return parseFloat(_238);}with(_237){var _239=style.left;var _23a=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_238;_238=style.pixelLeft;}catch(e){_238=0;}style.left=_239;runtimeStyle.left=_23a;}return _238;};}var px=d._toPixelValue;dojo._getOpacity=d.isIE?function(node){try{return node.filters.alpha.opacity/100;}catch(e){return 1;}}:function(node){return gcs(node).opacity;};dojo._setOpacity=d.isIE?function(node,_23f){if(_23f==1){var _240=/FILTER:[^;]*;?/i;node.style.cssText=node.style.cssText.replace(_240,"");if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){i.style.cssText=i.style.cssText.replace(_240,"");});}}else{var o="Alpha(Opacity="+_23f*100+")";node.style.filter=o;}if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){i.style.filter=o;});}return _23f;}:function(node,_245){return node.style.opacity=_245;};var _246={left:true,top:true};var _247=/margin|padding|width|height|max|min|offset/;var _248=function(node,type,_24b){type=type.toLowerCase();if(d.isIE&&_24b=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(!(type in _246)){_246[type]=_247.test(type);}return _246[type]?px(node,_24b):_24b;};var _24c=d.isIE?"styleFloat":"cssFloat";var _24d={"cssFloat":_24c,"styleFloat":_24c,"float":_24c};dojo.style=function(node,_24f,_250){var n=d.byId(node),args=arguments.length,op=(_24f=="opacity");_24f=_24d[_24f]||_24f;if(args==3){return op?d._setOpacity(n,_250):n.style[_24f]=_250;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&!d.isString(_24f)){for(var x in _24f){d.style(node,x,_24f[x]);}return s;}return (args==1)?s:_248(n,_24f,s[_24f]);};dojo._getPadExtents=function(n,_257){var s=_257||gcs(n),l=px(n,s.paddingLeft),t=px(n,s.paddingTop);return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};};dojo._getBorderExtents=function(n,_25c){var ne="none",s=_25c||gcs(n),bl=(s.borderLeftStyle!=ne?px(n,s.borderLeftWidth):0),bt=(s.borderTopStyle!=ne?px(n,s.borderTopWidth):0);return {l:bl,t:bt,w:bl+(s.borderRightStyle!=ne?px(n,s.borderRightWidth):0),h:bt+(s.borderBottomStyle!=ne?px(n,s.borderBottomWidth):0)};};dojo._getPadBorderExtents=function(n,_262){var s=_262||gcs(n),p=d._getPadExtents(n,s),b=d._getBorderExtents(n,s);return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};};dojo._getMarginExtents=function(n,_267){var s=_267||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isSafari&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_26e){var s=_26e||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t;if(d.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{var p=node.parentNode;if(p&&p.style){var pcs=gcs(p);if(pcs.overflow!="visible"){var be=d._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else{if(d.isOpera){var p=node.parentNode;if(p){var be=d._getBorderExtents(p);l-=be.l,t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_279){var s=_279||gcs(node),pe=d._getPadExtents(node,s),be=d._getBorderExtents(node,s),w=node.clientWidth,h;if(!w){w=node.offsetWidth,h=node.offsetHeight;}else{h=node.clientHeight,be.w=be.h=0;}if(d.isOpera){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};dojo._getBorderBox=function(node,_280){var s=_280||gcs(node),pe=d._getPadExtents(node,s),cb=d._getContentBox(node,s);return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};};dojo._setBox=function(node,l,t,w,h,u){u=u||"px";var s=node.style;if(!isNaN(l)){s.left=l+u;}if(!isNaN(t)){s.top=t+u;}if(w>=0){s.width=w+u;}if(h>=0){s.height=h+u;}};dojo._usesBorderBox=function(node){var n=node.tagName;return d.boxModel=="border-box"||n=="TABLE"||n=="BUTTON";};dojo._setContentSize=function(node,_28e,_28f,_290){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_290);if(_28e>=0){_28e+=pb.w;}if(_28f>=0){_28f+=pb.h;}}d._setBox(node,NaN,NaN,_28e,_28f);};dojo._setMarginBox=function(node,_293,_294,_295,_296,_297){var s=_297||gcs(node);var bb=d._usesBorderBox(node),pb=bb?_29b:d._getPadBorderExtents(node,s),mb=d._getMarginExtents(node,s);if(_295>=0){_295=Math.max(_295-pb.w-mb.w,0);}if(_296>=0){_296=Math.max(_296-pb.h-mb.h,0);}d._setBox(node,_293,_294,_295,_296);};var _29b={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=dojo.byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _2a7=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_2ab=0,_b=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_2ab+=val-0;if(node==_b){break;}}node=node.parentNode;}return _2ab;};dojo._docScroll=function(){var _b=d.body(),_w=d.global,de=d.doc.documentElement;return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||d._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};};dojo._isBodyLtr=function(){return !("_bodyLtr" in d)?d._bodyLtr=gcs(d.body()).direction=="ltr":d._bodyLtr;};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;return (d.isIE>=7)?{x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top}:{x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};};dojo._fixIeBiDiScrollLeft=function(_2b1){var dd=d.doc;if(d.isIE&&!dojo._isBodyLtr()){var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;return _2b1+de.clientWidth-de.scrollWidth;}return _2b1;};dojo._abs=function(node,_2b5){var _2b6=node.ownerDocument;var ret={x:0,y:0};var db=d.body();if(d.isIE||(d.isFF>=3)){var _2b9=node.getBoundingClientRect();var _2ba=(d.isIE)?d._getIeDocumentElementOffset():{x:0,y:0};ret.x=_2b9.left-_2ba.x;ret.y=_2b9.top-_2ba.y;}else{if(_2b6["getBoxObjectFor"]){var bo=_2b6.getBoxObjectFor(node),b=d._getBorderExtents(node);ret.x=bo.x-b.l-_2a7(node,"scrollLeft");ret.y=bo.y-b.t-_2a7(node,"scrollTop");}else{if(node["offsetParent"]){var _2bd;if(d.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){_2bd=db;}else{_2bd=db.parentNode;}if(node.parentNode!=db){var nd=node;if(d.isOpera){nd=db;}ret.x-=_2a7(nd,"scrollLeft");ret.y-=_2a7(nd,"scrollTop");}var _2bf=node;do{var n=_2bf.offsetLeft;if(!d.isOpera||n>0){ret.x+=isNaN(n)?0:n;}var t=_2bf.offsetTop;ret.y+=isNaN(t)?0:t;if(d.isSafari&&_2bf!=node){var cs=gcs(_2bf);ret.x+=px(_2bf,cs.borderLeftWidth);ret.y+=px(_2bf,cs.borderTopWidth);}_2bf=_2bf.offsetParent;}while((_2bf!=_2bd)&&_2bf);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}}if(_2b5){var _2c3=d._docScroll();ret.y+=_2c3.y;ret.x+=_2c3.x;}return ret;};dojo.coords=function(node,_2c5){var n=d.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d._abs(n,_2c5);mb.x=abs.x;mb.y=abs.y;return mb;};var _2ca=function(name){switch(name.toLowerCase()){case "tabindex":return (d.isIE&&d.isIE<8)?"tabIndex":"tabindex";default:return name;}};var _2cc={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType"};dojo.hasAttr=function(node,name){var attr=d.byId(node).getAttributeNode(_2ca(name));return attr?attr.specified:false;};var _2d0={};var _ctr=0;var _2d2=dojo._scopeName+"attrid";dojo.attr=function(node,name,_2d5){var args=arguments.length;if(args==2&&!d.isString(name)){for(var x in name){d.attr(node,x,name[x]);}return;}node=d.byId(node);name=_2ca(name);if(args==3){if(d.isFunction(_2d5)){var _2d8=d.attr(node,_2d2);if(!_2d8){_2d8=_ctr++;d.attr(node,_2d2,_2d8);}if(!_2d0[_2d8]){_2d0[_2d8]={};}var h=_2d0[_2d8][name];if(h){d.disconnect(h);}else{try{delete node[name];}catch(e){}}_2d0[_2d8][name]=d.connect(node,name,_2d5);}else{if(typeof _2d5=="boolean"){node[name]=_2d5;}else{node.setAttribute(name,_2d5);}}return;}else{var prop=_2cc[name.toLowerCase()];if(prop){return node[prop];}else{var _2d5=node[name];return (typeof _2d5=="boolean"||typeof _2d5=="function")?_2d5:(d.hasAttr(node,name)?node.getAttribute(name):null);}}};dojo.removeAttr=function(node,name){d.byId(node).removeAttribute(_2ca(name));};})();dojo.hasClass=function(node,_2de){return ((" "+dojo.byId(node).className+" ").indexOf(" "+_2de+" ")>=0);};dojo.addClass=function(node,_2e0){node=dojo.byId(node);var cls=node.className;if((" "+cls+" ").indexOf(" "+_2e0+" ")<0){node.className=cls+(cls?" ":"")+_2e0;}};dojo.removeClass=function(node,_2e3){node=dojo.byId(node);var t=dojo.trim((" "+node.className+" ").replace(" "+_2e3+" "," "));if(node.className!=t){node.className=t;}};dojo.toggleClass=function(node,_2e6,_2e7){if(_2e7===undefined){_2e7=!dojo.hasClass(node,_2e6);}dojo[_2e7?"addClass":"removeClass"](node,_2e6);};}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var d=dojo;var tnl=function(arr){arr.constructor=dojo.NodeList;dojo._mixin(arr,dojo.NodeList.prototype);return arr;};var _2eb=function(func,_2ed){return function(){var _a=arguments;var aa=d._toArray(_a,0,[null]);var s=this.map(function(i){aa[0]=i;return d[func].apply(d,aa);});return (_2ed||((_a.length>1)||!d.isString(_a[0])))?this:s;};};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};dojo.NodeList._wrap=tnl;dojo.extend(dojo.NodeList,{slice:function(){var a=dojo._toArray(arguments);return tnl(a.slice.apply(this,a));},splice:function(){var a=dojo._toArray(arguments);return tnl(a.splice.apply(this,a));},concat:function(){var a=dojo._toArray(arguments,0,[this]);return tnl(a.concat.apply([],a));},indexOf:function(_2f5,_2f6){return d.indexOf(this,_2f5,_2f6);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_2f7,_2f8){return d.every(this,_2f7,_2f8);},some:function(_2f9,_2fa){return d.some(this,_2f9,_2fa);},map:function(func,obj){return d.map(this,func,obj,d.NodeList);},forEach:function(_2fd,_2fe){d.forEach(this,_2fd,_2fe);return this;},coords:function(){return d.map(this,d.coords);},attr:_2eb("attr"),style:_2eb("style"),addClass:_2eb("addClass",true),removeClass:_2eb("removeClass",true),toggleClass:_2eb("toggleClass",true),connect:_2eb("connect",true),place:function(_2ff,_300){var item=d.query(_2ff)[0];return this.forEach(function(i){d.place(i,item,(_300||"last"));});},orphan:function(_303){var _304=_303?d._filterQueryResult(this,_303):this;_304.forEach(function(item){if(item.parentNode){item.parentNode.removeChild(item);}});return _304;},adopt:function(_306,_307){var item=this[0];return d.query(_306).forEach(function(ai){d.place(ai,item,_307||"last");});},query:function(_30a){if(!_30a){return this;}var ret=d.NodeList();this.forEach(function(item){d.query(_30a,item).forEach(function(_30d){if(_30d!==undefined){ret.push(_30d);}});});return ret;},filter:function(_30e){var _30f=this;var _a=arguments;var r=d.NodeList();var rp=function(t){if(t!==undefined){r.push(t);}};if(d.isString(_30e)){_30f=d._filterQueryResult(this,_a[0]);if(_a.length==1){return _30f;}_a.shift();}d.forEach(d.filter(_30f,_a[0],_a[1]),rp);return r;},addContent:function(_314,_315){var ta=d.doc.createElement("span");if(d.isString(_314)){ta.innerHTML=_314;}else{ta.appendChild(_314);}if(_315===undefined){_315="last";}var ct=(_315=="first"||_315=="after")?"lastChild":"firstChild";this.forEach(function(item){var tn=ta.cloneNode(true);while(tn[ct]){d.place(tn[ct],item,_315);}});return this;},empty:function(){return this.forEach("item.innerHTML='';");},instantiate:function(_31a,_31b){var c=d.isFunction(_31a)?_31a:d.getObject(_31a);return this.forEach(function(i){new c(_31b||{},i);});}});d.forEach(["blur","focus","click","keydown","keypress","keyup","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup"],function(evt){var _oe="on"+evt;dojo.NodeList.prototype[_oe]=function(a,b){return this.connect(_oe,a,b);};});})();}if(!dojo._hasResource["dojo._base.query"]){dojo._hasResource["dojo._base.query"]=true;dojo.provide("dojo._base.query");(function(){var d=dojo;var _323=dojo.isIE?"children":"childNodes";var _324=false;var _325=function(_326){if(">~+".indexOf(_326.charAt(_326.length-1))>=0){_326+=" *";}_326+=" ";var ts=function(s,e){return d.trim(_326.slice(s,e));};var _32a=[];var _32b=-1;var _32c=-1;var _32d=-1;var _32e=-1;var _32f=-1;var inId=-1;var _331=-1;var lc="";var cc="";var _334;var x=0;var ql=_326.length;var _337=null;var _cp=null;var _339=function(){if(_331>=0){var tv=(_331==x)?null:ts(_331,x).toLowerCase();_337[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;_331=-1;}};var _33b=function(){if(inId>=0){_337.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _33c=function(){if(_32f>=0){_337.classes.push(ts(_32f+1,x).replace(/\\/g,""));_32f=-1;}};var _33d=function(){_33b();_339();_33c();};for(;lc=cc,cc=_326.charAt(x),x=0){if(cc=="]"){if(!_cp.attr){_cp.attr=ts(_32b+1,x);}else{_cp.matchFor=ts((_32d||_32b+1),x);}var cmf=_cp.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_cp.matchFor=cmf.substring(1,cmf.length-1);}}_337.attrs.push(_cp);_cp=null;_32b=_32d=-1;}else{if(cc=="="){var _33f=("|~^$*".indexOf(lc)>=0)?lc:"";_cp.type=_33f+cc;_cp.attr=ts(_32b+1,x-_33f.length);_32d=x+1;}}}else{if(_32c>=0){if(cc==")"){if(_32e>=0){_cp.value=ts(_32c+1,x);}_32e=_32c=-1;}}else{if(cc=="#"){_33d();inId=x+1;}else{if(cc=="."){_33d();_32f=x;}else{if(cc==":"){_33d();_32e=x;}else{if(cc=="["){_33d();_32b=x;_cp={};}else{if(cc=="("){if(_32e>=0){_cp={name:ts(_32e+1,x),value:null};_337.pseudos.push(_cp);}_32c=x;}else{if(cc==" "&&lc!=cc){_33d();if(_32e>=0){_337.pseudos.push({name:ts(_32e+1,x)});}_337.hasLoops=(_337.pseudos.length||_337.attrs.length||_337.classes.length);_337.query=ts(_334,x);_337.tag=(_337["oper"])?null:(_337.tag||"*");_32a.push(_337);_337=null;}}}}}}}}}return _32a;};var _340={"*=":function(attr,_342){return "[contains(@"+attr+", '"+_342+"')]";},"^=":function(attr,_344){return "[starts-with(@"+attr+", '"+_344+"')]";},"$=":function(attr,_346){return "[substring(@"+attr+", string-length(@"+attr+")-"+(_346.length-1)+")='"+_346+"']";},"~=":function(attr,_348){return "[contains(concat(' ',@"+attr+",' '), ' "+_348+" ')]";},"|=":function(attr,_34a){return "[contains(concat(' ',@"+attr+",' '), ' "+_34a+"-')]";},"=":function(attr,_34c){return "[@"+attr+"='"+_34c+"']";}};var _34d=function(_34e,_34f,_350,_351){d.forEach(_34f.attrs,function(attr){var _353;if(attr.type&&_34e[attr.type]){_353=_34e[attr.type](attr.attr,attr.matchFor);}else{if(attr.attr.length){_353=_350(attr.attr);}}if(_353){_351(_353);}});};var _354=function(_355){var _356=".";var _357=_325(d.trim(_355));while(_357.length){var tqp=_357.shift();var _359;var _35a="";if(tqp.oper==">"){_359="/";tqp=_357.shift();}else{if(tqp.oper=="~"){_359="/following-sibling::";tqp=_357.shift();}else{if(tqp.oper=="+"){_359="/following-sibling::";_35a="[position()=1]";tqp=_357.shift();}else{_359="//";}}}_356+=_359+tqp.tag+_35a;if(tqp.id){_356+="[@id='"+tqp.id+"'][1]";}d.forEach(tqp.classes,function(cn){var cnl=cn.length;var _35d=" ";if(cn.charAt(cnl-1)=="*"){_35d="";cn=cn.substr(0,cnl-1);}_356+="[contains(concat(' ',@class,' '), ' "+cn+_35d+"')]";});_34d(_340,tqp,function(_35e){return "[@"+_35e+"]";},function(_35f){_356+=_35f;});}return _356;};var _360={};var _361=function(path){if(_360[path]){return _360[path];}var doc=d.doc;var _364=_354(path);var tf=function(_366){var ret=[];var _368;try{_368=doc.evaluate(_364,_366,null,XPathResult.ANY_TYPE,null);}catch(e){console.debug("failure in exprssion:",_364,"under:",_366);console.debug(e);}var _369=_368.iterateNext();while(_369){ret.push(_369);_369=_368.iterateNext();}return ret;};return _360[path]=tf;};var _36a={};var _36b={};var _36c=function(_36d,_36e){if(!_36d){return _36e;}if(!_36e){return _36d;}return function(){return _36d.apply(window,arguments)&&_36e.apply(window,arguments);};};var _36f=function(root){var ret=[];var te,x=0,tret=root[_323];while((te=tret[x++])){if(te.nodeType==1){ret.push(te);}}return ret;};var _375=function(root,_377){var ret=[];var te=root;while((te=te.nextSibling)){if(te.nodeType==1){ret.push(te);if(_377){break;}}}return ret;};var _37a=function(_37b,_37c,_37d,idx){var nidx=idx+1;var _380=(_37c.length==nidx);var tqp=_37c[idx];if(tqp.oper){var ecn=(tqp.oper==">")?_36f(_37b):_375(_37b,(tqp.oper=="+"));if(!ecn||!ecn.length){return;}nidx++;_380=(_37c.length==nidx);var tf=_384(_37c[idx+1]);for(var x=0,ecnl=ecn.length,te;x=0);};},"^=":function(attr,_3a9){return function(elem){return (_3a1(elem,attr).indexOf(_3a9)==0);};},"$=":function(attr,_3ac){var tval=" "+_3ac;return function(elem){var ea=" "+_3a1(elem,attr);return (ea.lastIndexOf(_3ac)==(ea.length-_3ac.length));};},"~=":function(attr,_3b1){var tval=" "+_3b1+" ";return function(elem){var ea=" "+_3a1(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3b6){var _3b7=" "+_3b6+"-";return function(elem){var ea=" "+(elem.getAttribute(attr,2)||"");return ((ea==_3b6)||(ea.indexOf(_3b7)==0));};},"=":function(attr,_3bb){return function(elem){return (_3a1(elem,attr)==_3bb);};}};var _3bd={"first-child":function(name,_3bf){return function(elem){if(elem.nodeType!=1){return false;}var fc=elem.previousSibling;while(fc&&(fc.nodeType!=1)){fc=fc.previousSibling;}return (!fc);};},"last-child":function(name,_3c3){return function(elem){if(elem.nodeType!=1){return false;}var nc=elem.nextSibling;while(nc&&(nc.nodeType!=1)){nc=nc.nextSibling;}return (!nc);};},"empty":function(name,_3c7){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt==1)||(nt==3)){return false;}}return true;};},"contains":function(name,_3ce){return function(elem){if(_3ce.charAt(0)=="\""||_3ce.charAt(0)=="'"){_3ce=_3ce.substr(1,_3ce.length-2);}return (elem.innerHTML.indexOf(_3ce)>=0);};},"not":function(name,_3d1){var ntf=_384(_325(_3d1)[0]);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3d5){var pi=parseInt;if(_3d5=="odd"){_3d5="2n+1";}else{if(_3d5=="even"){_3d5="2n";}}if(_3d5.indexOf("n")!=-1){var _3d7=_3d5.split("n",2);var pred=_3d7[0]?(_3d7[0]=="-"?-1:pi(_3d7[0])):1;var idx=_3d7[1]?pi(_3d7[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_396(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_3d5=idx;}}var _3de=pi(_3d5);return function(elem){return (_396(elem)==_3de);};}};var _3e0=(d.isIE)?function(cond){var clc=cond.toLowerCase();return function(elem){return elem[cond]||elem[clc];};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _395=function(_3e6){var _3e7=(_36b[_3e6.query]||_36a[_3e6.query]);if(_3e7){return _3e7;}var ff=null;if(_3e6.id){if(_3e6.tag!="*"){ff=_36c(ff,function(elem){return (elem.tagName.toLowerCase()==_3e6.tag);});}}d.forEach(_3e6.classes,function(_3ea,idx,arr){var _3ed=_3ea.charAt(_3ea.length-1)=="*";if(_3ed){_3ea=_3ea.substr(0,_3ea.length-1);}var re=new RegExp("(?:^|\\s)"+_3ea+(_3ed?".*":"")+"(?:\\s|$)");ff=_36c(ff,function(elem){return re.test(elem.className);});ff.count=idx;});d.forEach(_3e6.pseudos,function(_3f0){if(_3bd[_3f0.name]){ff=_36c(ff,_3bd[_3f0.name](_3f0.name,_3f0.value));}});_34d(_3a4,_3e6,_3e0,function(_3f1){ff=_36c(ff,_3f1);});if(!ff){ff=function(){return true;};}return _36b[_3e6.query]=ff;};var _3f2={};var _389=function(_3f3,root){var fHit=_3f2[_3f3.query];if(fHit){return fHit;}if(_3f3.id&&!_3f3.hasLoops&&!_3f3.tag){return _3f2[_3f3.query]=function(root){return [d.byId(_3f3.id)];};}var _3f7=_395(_3f3);var _3f8;if(_3f3.tag&&_3f3.id&&!_3f3.hasLoops){_3f8=function(root){var te=d.byId(_3f3.id,(root.ownerDocument||root));if(_3f7(te)){return [te];}};}else{var tret;if(!_3f3.hasLoops){_3f8=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_3f3.tag);while((te=tret[x++])){ret.push(te);}return ret;};}else{_3f8=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_3f3.tag);while((te=tret[x++])){if(_3f7(te)){ret.push(te);}}return ret;};}}return _3f2[_3f3.query]=_3f8;};var _404={};var _405={"*":d.isIE?function(root){return root.all;}:function(root){return root.getElementsByTagName("*");},"~":_375,"+":function(root){return _375(root,true);},">":_36f};var _409=function(_40a){var _40b=_325(d.trim(_40a));if(_40b.length==1){var tt=_389(_40b[0]);tt.nozip=true;return tt;}var sqf=function(root){var _40f=_40b.slice(0);var _410;if(_40f[0].oper==">"){_410=[root];}else{_410=_389(_40f.shift())(root);}return _38a(_410,_40f);};return sqf;};var _411=((document["evaluate"]&&!d.isSafari)?function(_412){var _413=_412.split(" ");if((document["evaluate"])&&(_412.indexOf(":")==-1)&&(_412.indexOf("+")==-1)){if(((_413.length>2)&&(_412.indexOf(">")==-1))||(_413.length>3)||(_412.indexOf("[")>=0)||((1==_413.length)&&(0<=_412.indexOf(".")))){return _361(_412);}}return _409(_412);}:_409);var _414=function(_415){var qcz=_415.charAt(0);if(d.doc["querySelectorAll"]&&((!d.isSafari)||(d.isSafari>3.1))&&(">+~".indexOf(qcz)==-1)){return function(root){var r=root.querySelectorAll(_415);r.nozip=true;return r;};}if(_405[_415]){return _405[_415];}if(0>_415.indexOf(",")){return _405[_415]=_411(_415);}else{var _419=_415.split(/\s*,\s*/);var tf=function(root){var _41c=0;var ret=[];var tp;while((tp=_419[_41c++])){ret=ret.concat(_411(tp,tp.indexOf(" "))(root));}return ret;};return _405[_415]=tf;}};var _41f=0;var _zip=function(arr){if(arr&&arr.nozip){return d.NodeList._wrap(arr);}var ret=new d.NodeList();if(!arr){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_41f++;arr[0]["_zipIdx"]=_41f;for(var x=1,te;te=arr[x];x++){if(arr[x]["_zipIdx"]!=_41f){ret.push(te);}te["_zipIdx"]=_41f;}return ret;};d.query=function(_425,root){if(_425.constructor==d.NodeList){return _425;}if(!d.isString(_425)){return new d.NodeList(_425);}if(d.isString(root)){root=d.byId(root);}return _zip(_414(_425)(root||d.doc));};d.query.pseudos=_3bd;d._filterQueryResult=function(_427,_428){var tnl=new d.NodeList();var ff=(_428)?_384(_325(_428)[0]):function(){return true;};for(var x=0,te;te=_427[x];x++){if(ff(te)){tnl.push(te);}}return tnl;};})();}if(!dojo._hasResource["dojo._base.xhr"]){dojo._hasResource["dojo._base.xhr"]=true;dojo.provide("dojo._base.xhr");(function(){var _d=dojo;function setValue(obj,name,_430){var val=obj[name];if(_d.isString(val)){obj[name]=[val,_430];}else{if(_d.isArray(val)){val.push(_430);}else{obj[name]=_430;}}};dojo.formToObject=function(_432){var ret={};var iq="input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]), select, textarea";_d.query(iq,_432).filter(function(node){return !node.disabled&&node.name;}).forEach(function(item){var _in=item.name;var type=(item.type||"").toLowerCase();if(type=="radio"||type=="checkbox"){if(item.checked){setValue(ret,_in,item.value);}}else{if(item.multiple){ret[_in]=[];_d.query("option",item).forEach(function(opt){if(opt.selected){setValue(ret,_in,opt.value);}});}else{setValue(ret,_in,item.value);if(type=="image"){ret[_in+".x"]=ret[_in+".y"]=ret[_in].x=ret[_in].y=0;}}}});return ret;};dojo.objectToQuery=function(map){var enc=encodeURIComponent;var _43c=[];var _43d={};for(var name in map){var _43f=map[name];if(_43f!=_43d[name]){var _440=enc(name)+"=";if(_d.isArray(_43f)){for(var i=0;i<_43f.length;i++){_43c.push(_440+enc(_43f[i]));}}else{_43c.push(_440+enc(_43f));}}}return _43c.join("&");};dojo.formToQuery=function(_442){return _d.objectToQuery(_d.formToObject(_442));};dojo.formToJson=function(_443,_444){return _d.toJson(_d.formToObject(_443),_444);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_d.forEach(qp,function(item){if(item.length){var _44a=item.split("=");var name=dec(_44a.shift());var val=dec(_44a.join("="));if(_d.isString(ret[name])){ret[name]=[ret[name]];}if(_d.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}});return ret;};dojo._blockAsync=false;dojo._contentHandlers={"text":function(xhr){return xhr.responseText;},"json":function(xhr){return _d.fromJson(xhr.responseText);},"json-comment-filtered":function(xhr){if(!dojo.config.useCommentedJson){console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues, if you wish to "+" decrease the chances of hijacking, use the standard the 'json' handler and "+" prefix your json with :\n{}&&\n "+" (use djConfig.useCommentedJson=true to turn off this message)");}var _450=xhr.responseText;var _451=_450.indexOf("/*");var _452=_450.lastIndexOf("*/");if(_451==-1||_452==-1){throw new Error("JSON was not comment filtered");}return _d.fromJson(_450.substring(_451+2,_452));},"javascript":function(xhr){return _d.eval(xhr.responseText);},"xml":function(xhr){var _455=xhr.responseXML;if(_d.isIE&&(!_455||_455.documentElement==null)){_d.forEach(["MSXML2","Microsoft","MSXML","MSXML3"],function(_456){try{var dom=new ActiveXObject(_456+".XMLDOM");dom.async=false;dom.loadXML(xhr.responseText);_455=dom;}catch(e){}});}return _455;}};dojo._contentHandlers["json-comment-optional"]=function(xhr){var _459=_d._contentHandlers;if(xhr.responseText&&xhr.responseText.indexOf("/*")!=-1){return _459["json-comment-filtered"](xhr);}else{return _459["json"](xhr);}};dojo._ioSetArgs=function(args,_45b,_45c,_45d){var _45e={args:args,url:args.url};var _45f=null;if(args.form){var form=_d.byId(args.form);var _461=form.getAttributeNode("action");_45e.url=_45e.url||(_461?_461.value:null);_45f=_d.formToObject(form);}var _462=[{}];if(_45f){_462.push(_45f);}if(args.content){_462.push(args.content);}if(args.preventCache){_462.push({"dojo.preventCache":new Date().valueOf()});}_45e.query=_d.objectToQuery(_d.mixin.apply(null,_462));_45e.handleAs=args.handleAs||"text";var d=new _d.Deferred(_45b);d.addCallbacks(_45c,function(_464){return _45d(_464,d);});var ld=args.load;if(ld&&_d.isFunction(ld)){d.addCallback(function(_466){return ld.call(args,_466,_45e);});}var err=args.error;if(err&&_d.isFunction(err)){d.addErrback(function(_468){return err.call(args,_468,_45e);});}var _469=args.handle;if(_469&&_d.isFunction(_469)){d.addBoth(function(_46a){return _469.call(args,_46a,_45e);});}d.ioArgs=_45e;return d;};var _46b=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _at=typeof xhr.abort;if(_at=="function"||_at=="unknown"){xhr.abort();}var err=new Error("xhr cancelled");err.dojoType="cancel";return err;};var _470=function(dfd){return _d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);};var _472=function(_473,dfd){console.debug(_473);return _473;};var _475=null;var _476=[];var _477=function(){var now=(new Date()).getTime();if(!_d._blockAsync){for(var i=0,tif;i<_476.length&&(tif=_476[i]);i++){var dfd=tif.dfd;try{if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_476.splice(i--,1);}else{if(tif.ioCheck(dfd)){_476.splice(i--,1);tif.resHandle(dfd);}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)0){setTimeout(_p,de);return _t;}_p();return _t;},_play:function(_4a3){var _t=this;_t._startTime=new Date().valueOf();if(_t._paused){_t._startTime-=_t.duration*_t._percent;}_t._endTime=_t._startTime+_t.duration;_t._active=true;_t._paused=false;var _4a5=_t.curve.getValue(_t._percent);if(!_t._percent){if(!_t._startRepeatCount){_t._startRepeatCount=_t.repeat;}_t._fire("onBegin",[_4a5]);}_t._fire("onPlay",[_4a5]);_t._cycle();return _t;},pause:function(){this._stopTimer();if(!this._active){return this;}this._paused=true;this._fire("onPause",[this.curve.getValue(this._percent)]);return this;},gotoPercent:function(_4a6,_4a7){this._stopTimer();this._active=this._paused=true;this._percent=_4a6;if(_4a7){this.play();}return this;},stop:function(_4a8){if(!this._timer){return this;}this._stopTimer();if(_4a8){this._percent=1;}this._fire("onStop",[this.curve.getValue(this._percent)]);this._active=this._paused=false;return this;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _t=this;if(_t._active){var curr=new Date().valueOf();var step=(curr-_t._startTime)/(_t._endTime-_t._startTime);if(step>=1){step=1;}_t._percent=step;if(_t.easing){step=_t.easing(step);}_t._fire("onAnimate",[_t.curve.getValue(step)]);if(_t._percent<1){_t._startTimer();}else{_t._active=false;if(_t.repeat>0){_t.repeat--;_t.play(null,true);}else{if(_t.repeat==-1){_t.play(null,true);}else{if(_t._startRepeatCount){_t.repeat=_t._startRepeatCount;_t._startRepeatCount=0;}}}_t._percent=0;_t._fire("onEnd");_t._stopTimer();}}return _t;}});var ctr=0;var _4ad=[];var _4ae={run:function(){}};var _4af=null;dojo._Animation.prototype._startTimer=function(){if(!this._timer){this._timer=d.connect(_4ae,"run",this,"_cycle");ctr++;}if(!_4af){_4af=setInterval(d.hitch(_4ae,"run"),this.rate);}};dojo._Animation.prototype._stopTimer=function(){if(this._timer){d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_4af);_4af=null;ctr=0;}};var _4b0=(d.isIE)?function(node){var ns=node.style;if(!ns.zoom.length&&d.style(node,"zoom")=="normal"){ns.zoom="1";}if(!ns.width.length&&d.style(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=d.byId(args.node);var _4b4=d.mixin({properties:{}},args);var _4b5=(_4b4.properties.opacity={});_4b5.start=!("start" in _4b4)?function(){return Number(d.style(_4b4.node,"opacity"));}:_4b4.start;_4b5.end=_4b4.end;var anim=d.animateProperty(_4b4);d.connect(anim,"beforeBegin",d.partial(_4b0,_4b4.node));return anim;};dojo.fadeIn=function(args){return d._fade(d.mixin({end:1},args));};dojo.fadeOut=function(args){return d._fade(d.mixin({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _4ba=function(_4bb){this._properties=_4bb;for(var p in _4bb){var prop=_4bb[p];if(prop.start instanceof d.Color){prop.tempColor=new d.Color();}}this.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p];var _4c2=prop.start;if(_4c2 instanceof d.Color){ret[p]=d.blendColors(_4c2,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_4c2)){ret[p]=((prop.end-_4c2)*r)+_4c2+(p!="opacity"?prop.units||"px":"");}}}return ret;};};dojo.animateProperty=function(args){args.node=d.byId(args.node);if(!args.easing){args.easing=d._defaultEasing;}var anim=new d._Animation(args);d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];prop=pm[p]=d.mixin({},(d.isObject(prop)?prop:{end:prop}));if(d.isFunction(prop.start)){prop.start=prop.start();}if(d.isFunction(prop.end)){prop.end=prop.end();}var _4c8=(p.toLowerCase().indexOf("color")>=0);function getStyle(node,p){var v=({height:node.offsetHeight,width:node.offsetWidth})[p];if(v!==undefined){return v;}v=d.style(node,p);return (p=="opacity")?Number(v):(_4c8?v:parseFloat(v));};if(!("end" in prop)){prop.end=getStyle(this.node,p);}else{if(!("start" in prop)){prop.start=getStyle(this.node,p);}}if(_4c8){prop.start=new d.Color(prop.start);prop.end=new d.Color(prop.end);}else{prop.start=(p=="opacity")?Number(prop.start):parseFloat(prop.start);}}this.curve=new _4ba(pm);});d.connect(anim,"onAnimate",anim,function(_4cc){for(var s in _4cc){d.style(this.node,s,_4cc[s]);}});return anim;};dojo.anim=function(node,_4cf,_4d0,_4d1,_4d2,_4d3){return d.animateProperty({node:node,duration:_4d0||d._Animation.prototype.duration,properties:_4cf,easing:_4d1,onEnd:_4d2}).play(_4d3||0);};})();}if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");if(dojo.config.require){dojo.forEach(dojo.config.require,"dojo['require'](item);");}}if(dojo.config.afterOnLoad&&dojo.isBrowser){window.setTimeout(dojo._fakeLoadInit,1000);}})();
© 2015 - 2024 Weber Informatics LLC | Privacy Policy