tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r691359 [5/8] - in /tomcat/trunk: ./ java/org/apache/cometd/ java/org/apache/cometd/bayeux/ java/org/apache/tomcat/bayeux/ java/org/apache/tomcat/bayeux/request/ test/org/apache/cometd/ test/org/apache/cometd/bayeux/ test/org/apache/cometd/...
Date Tue, 02 Sep 2008 20:00:38 GMT
Added: tomcat/trunk/webapps/cometd/examples/dojo/dojo/dojo.xd.js
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/cometd/examples/dojo/dojo/dojo.xd.js?rev=691359&view=auto
==============================================================================
--- tomcat/trunk/webapps/cometd/examples/dojo/dojo/dojo.xd.js (added)
+++ tomcat/trunk/webapps/cometd/examples/dojo/dojo/dojo.xd.js Tue Sep  2 13:00:36 2008
@@ -0,0 +1,20 @@
+/*
+	Copyright (c) 2004-2007, 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/book/dojo-book-0-9/introduction/licensing
+*/
+
+/*
+	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.
+*/
+
+if(typeof dojo=="undefined"){(function(){if(typeof this["djConfig"]=="undefined"){this.djConfig={};}if((!this["console"])||(!console["firebug"])){this.console={};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","log","profile","profileEnd","time","timeEnd","trace","warn"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){console[tn]=function(){};}}if(typeof this["dojo"]=="undefined"){this.dojo={};}var d=dojo;dojo.global=this;var _5={isDebug:false,libraryScriptUri:"",preventBackButtonFix:true,delayMozLoadingFix:false};for(var _6 in _5){if(typeof djConfig[_6]=="undefined"){djConfig[_6]=_5[_6];}}var _7=["Browser","Rhino","Spidermonkey","Mobile"];var t;while(t=_7.shift()){d["is"+t]=false;}dojo.locale=djConfig.locale;var _9="$Rev: 11742 $".match(/\d+/);dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:_9?Number(_9[0]):999999,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="
 undefined"){OpenAjax.hub.registerLibrary("dojo","http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(_a,_b){var _c={};for(var x in _b){if(_c[x]===undefined||_c[x]!=_b[x]){_a[x]=_b[x];}}if(d["isIE"]&&_b){var p=_b.toString;if(typeof p=="function"&&p!=_a.toString&&p!=_c.toString&&p!="\nfunction toString() {\n    [native code]\n}\n"){_a.toString=_b.toString;}}return _a;};dojo.mixin=function(_f,_10){for(var i=1,l=arguments.length;i<l;i++){d._mixin(_f,arguments[i]);}return _f;};dojo._getProp=function(_13,_14,_15){var obj=_15||d.global;for(var i=0,p;obj&&(p=_13[i]);i++){obj=(p in obj?obj[p]:(_14?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_19,_1a,_1b){var _1c=_19.split("."),p=_1c.pop(),obj=d._getProp(_1c,true,_1b);return (obj&&p?(obj[p]=_1a):undefined);};dojo.getObject=function(_1f,_20,_21){return d._getProp(_1f.split("."),_20,_21);};dojo.exists=function(_22,obj){return !!d.getObject(_22,false,obj);};dojo["eval"]=function(_24){return d.global.eval?d.
 global.eval(_24):eval(_24);};d.deprecated=d.experimental=function(){};})();(function(){var d=dojo;d.mixin(d,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_26){var mp=this._modulePrefixes;return !!(mp[_26]&&mp[_26].value);},_getModulePrefix:function(_28){var mp=this._modulePrefixes;if(this._moduleHasPrefix(_28)){return mp[_28].value;}return _28;},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadUriAndCheck=function(uri,_2b,cb){var ok=false;try{ok=this._loadUri(uri,cb);}catch(e){console.error("failed loading "+uri+" with error: "+e);}return !!(ok&&this._loadedModules[_2b]);};dojo.loaded=function(){this._loadNotifying=true;this._postLoad=true;var mll=this._loaders;this._loaders=[];for(var x=0;x<mll.length;x++){try{mll[x]();}catch(e){console.error(e);}}this._loadNotifying=false;if(d._postLo
 ad&&d._inFlightCount==0&&this._loaders.length>0){d._callLoaded();}};dojo.unloaded=function(){var mll=this._unloaders;while(mll.length){(mll.pop())();}};dojo.addOnLoad=function(obj,_32){if(arguments.length==1){d._loaders.push(obj);}else{if(arguments.length>1){d._loaders.push(function(){obj[_32]();});}}if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){d._callLoaded();}};dojo.addOnUnload=function(obj,_34){if(arguments.length==1){d._unloaders.push(obj);}else{if(arguments.length>1){d._unloaders.push(function(){obj[_34]();});}}};dojo._modulesLoaded=function(){if(d._postLoad){return;}if(d._inFlightCount>0){console.warn("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(djConfig.useXDomain&&d.isOpera)){setTimeout("dojo.loaded();",0);}else{d.loaded();}};dojo._getModuleSymbols=function(_35){var _36=_35.split(".");for(var i=_36.length;i>0;i--){var _38=_36.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_38)){_36
 [0]="../"+_36[0];}else{var _39=this._getModulePrefix(_38);if(_39!=_38){_36.splice(0,i,_39);break;}}}return _36;};dojo._global_omit_module_check=false;dojo._loadModule=dojo.require=function(_3a,_3b){_3b=this._global_omit_module_check||_3b;var _3c=this._loadedModules[_3a];if(_3c){return _3c;}var _3d=this._getModuleSymbols(_3a).join("/")+".js";var _3e=(!_3b)?_3a:null;var ok=this._loadPath(_3d,_3e);if(!ok&&!_3b){throw new Error("Could not load '"+_3a+"'; last tried '"+_3d+"'");}if(!_3b&&!this._isXDomain){_3c=this._loadedModules[_3a];if(!_3c){throw new Error("symbol '"+_3a+"' is not defined after loading '"+_3d+"'");}}return _3c;};dojo.provide=function(_40){_40=_40+"";return (d._loadedModules[_40]=d.getObject(_40,true));};dojo.platformRequire=function(_41){var _42=_41.common||[];var _43=_42.concat(_41[d._name]||_41["default"]||[]);for(var x=0;x<_43.length;x++){var _45=_43[x];if(_45.constructor==Array){d._loadModule.apply(d,_45);}else{d._loadModule(_45);}}};dojo.requireIf=function
 (_46,_47){if(_46===true){var _48=[];for(var i=1;i<arguments.length;i++){_48.push(arguments[i]);}d.require.apply(d,_48);}};dojo.requireAfterIf=d.requireIf;dojo.registerModulePath=function(_4a,_4b){d._modulePrefixes[_4a]={name:_4a,value:_4b};};dojo.requireLocalization=function(_4c,_4d,_4e,_4f){d.require("dojo.i18n");d.i18n._requireLocalization.apply(d.hostenv,arguments);};var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$");var ire=new RegExp("^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$");dojo._Url=function(){var n=null;var _a=arguments;var uri=_a[0];for(var i=1;i<_a.length;i++){if(!_a[i]){continue;}var _56=new d._Url(_a[i]+"");var _57=new d._Url(uri+"");if(_56.path==""&&!_56.scheme&&!_56.authority&&!_56.query){if(_56.fragment!=n){_57.fragment=_56.fragment;}_56=_57;}else{if(!_56.scheme){_56.scheme=_57.scheme;if(!_56.authority){_56.authority=_57.authority;if(_56.path.charAt(0)!="/"){var _58=_57.path.substring(0,_57.path.lastIndexOf("/")+1)+_56.path;
 var _59=_58.split("/");for(var j=0;j<_59.length;j++){if(_59[j]=="."){if(j==_59.length-1){_59[j]="";}else{_59.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_59[0]=="")&&_59[j]==".."&&_59[j-1]!=".."){if(j==(_59.length-1)){_59.splice(j,1);_59[j-1]="";}else{_59.splice(j-1,2);j-=2;}}}}_56.path=_59.join("/");}}}}uri="";if(_56.scheme){uri+=_56.scheme+":";}if(_56.authority){uri+="//"+_56.authority;}uri+=_56.path;if(_56.query){uri+="?"+_56.query;}if(_56.fragment){uri+="#"+_56.fragment;}}this.uri=uri.toString();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[5];this.port=r[7]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_5c,url){var loc=d._getModuleSymbols(_5c).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc
 +="/";}var _5f=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_5f==-1||_5f>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};})();dojo.provide("dojo._base._loader.loader_xd");dojo._xdReset=function(){this._isXDomain=djConfig.useXDomain||false;this._xdTimer=0;this._xdInFlight={};this._xdOrderedReqs=[];this._xdDepMap={};this._xdContents=[];this._xdDefList=[];};dojo._xdReset();dojo._xdCreateResource=function(_60,_61,_62){var _63=_60.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"");var _64=[];var _65=/dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\(([\w\W]*?)\)/mg;var _66;while((_66=_65.exec(_63))!=null){if(_66[1]=="requireLocalization"){eval(_66[0]);}else{_64.push("\""+_66[1]+"\", "+_66[2]);}}var _67=[];_67.push("dojo._xdResourceLoaded({\n");if(_64.length>0){_67.push("depends: [");for(var i=0;i<_64.length;i++){if(i>0){_67.push(",\n");}_67.push("["+_64[i]+"]");}_67.push("],");}_67.push("\ndefineResource: function(dojo){");if(!djConfi
 g["debugAtAllCosts"]||_61=="dojo._base._loader.loader_debug"){_67.push(_60);}_67.push("\n}, resourceName: '"+_61+"', resourcePath: '"+_62+"'});");return _67.join("");};dojo._xdIsXDomainPath=function(_69){var _6a=_69.indexOf(":");var _6b=_69.indexOf("/");if(_6a>0&&_6a<_6b){return true;}else{var url=this.baseUrl;_6a=url.indexOf(":");_6b=url.indexOf("/");if(_6a>0&&_6a<_6b&&(!location.host||url.indexOf("http://"+location.host)!=0)){return true;}}return false;};dojo._loadPath=function(_6d,_6e,cb){var _70=this._xdIsXDomainPath(_6d);this._isXDomain|=_70;var uri=this.baseUrl+_6d;if(_70){var _72=_6d.indexOf(":");var _73=_6d.indexOf("/");if(_72>0&&_72<_73){uri=_6d;}}if(djConfig.cacheBust&&dojo.isBrowser){uri+="?"+String(djConfig.cacheBust).replace(/\W+/g,"");}try{return ((!_6e||this._isXDomain)?this._loadUri(uri,cb,_70,_6e):this._loadUriAndCheck(uri,_6e,cb));}catch(e){console.debug(e);return false;}};dojo._loadUri=function(uri,cb,_76,_77){if(this._loadedUrls[uri]){return 1;}if(this._i
 sXDomain&&_77&&_77!="dojo.i18n"){this._xdOrderedReqs.push(_77);if(_76||uri.indexOf("/nls/")==-1){this._xdInFlight[_77]=true;this._inFlightCount++;}if(!this._xdTimer){this._xdTimer=setInterval("dojo._xdWatchInFlight();",100);}this._xdStartTime=(new Date()).getTime();}if(_76){var _78=uri.lastIndexOf(".");if(_78<=0){_78=uri.length-1;}var _79=uri.substring(0,_78)+".xd";if(_78!=uri.length-1){_79+=uri.substring(_78,uri.length);}var _7a=document.createElement("script");_7a.type="text/javascript";_7a.src=_79;if(!this.headElement){this._headElement=document.getElementsByTagName("head")[0];if(!this._headElement){this._headElement=document.getElementsByTagName("html")[0];}}this._headElement.appendChild(_7a);}else{var _7b=this._getText(uri,null,true);if(_7b==null){return 0;}if(this._isXDomain&&uri.indexOf("/nls/")==-1&&_77!="dojo.i18n"){var res=this._xdCreateResource(_7b,_77,uri);dojo.eval(res);}else{if(cb){_7b="("+_7b+")";}var _7d=dojo.eval(_7b);if(cb){cb(_7d);}}}this._loadedUrls[uri]=
 true;this._loadedUrls.push(uri);return true;};dojo._xdResourceLoaded=function(res){var _7f=res.depends;var _80=null;var _81=null;var _82=[];if(_7f&&_7f.length>0){var dep=null;var _84=0;var _85=false;for(var i=0;i<_7f.length;i++){dep=_7f[i];if(dep[0]=="provide"){_82.push(dep[1]);}else{if(!_80){_80=[];}if(!_81){_81=[];}var _87=this._xdUnpackDependency(dep);if(_87.requires){_80=_80.concat(_87.requires);}if(_87.requiresAfter){_81=_81.concat(_87.requiresAfter);}}var _88=dep[0];var _89=_88.split(".");if(_89.length==2){dojo[_89[0]][_89[1]].apply(dojo[_89[0]],dep.slice(1));}else{dojo[_88].apply(dojo,dep.slice(1));}}if(_82.length==1&&_82[0]=="dojo._base._loader.loader_debug"){res.defineResource(dojo);}else{var _8a=this._xdContents.push({content:res.defineResource,resourceName:res["resourceName"],resourcePath:res["resourcePath"],isDefined:false})-1;for(var i=0;i<_82.length;i++){this._xdDepMap[_82[i]]={requires:_80,requiresAfter:_81,contentIndex:_8a};}}for(var i=0;i<_82.length;i++){thi
 s._xdInFlight[_82[i]]=false;}}};dojo._xdLoadFlattenedBundle=function(_8b,_8c,_8d,_8e){_8d=_8d||"root";var _8f=dojo.i18n.normalizeLocale(_8d).replace("-","_");var _90=[_8b,"nls",_8c].join(".");var _91=dojo["provide"](_90);_91[_8f]=_8e;var _92=[_8b,_8f,_8c].join(".");var _93=dojo._xdBundleMap[_92];if(_93){for(var _94 in _93){_91[_94]=_8e;}}};dojo._xdInitExtraLocales=function(){var _95=djConfig.extraLocale;if(_95){if(!_95 instanceof Array){_95=[_95];}dojo._xdReqLoc=dojo.xdRequireLocalization;dojo.xdRequireLocalization=function(m,b,_98,_99){dojo._xdReqLoc(m,b,_98,_99);if(_98){return;}for(var i=0;i<_95.length;i++){dojo._xdReqLoc(m,b,_95[i],_99);}};}};dojo._xdBundleMap={};dojo.xdRequireLocalization=function(_9b,_9c,_9d,_9e){if(dojo._xdInitExtraLocales){dojo._xdInitExtraLocales();dojo._xdInitExtraLocales=null;dojo.xdRequireLocalization.apply(dojo,arguments);return;}var _9f=_9e.split(",");var _a0=dojo.i18n.normalizeLocale(_9d);var _a1="";for(var i=0;i<_9f.length;i++){if(_a0.indexOf(
 _9f[i])==0){if(_9f[i].length>_a1.length){_a1=_9f[i];}}}var _a3=_a1.replace("-","_");var _a4=dojo.getObject([_9b,"nls",_9c].join("."));if(_a4&&_a4[_a3]){bundle[_a0.replace("-","_")]=_a4[_a3];}else{var _a5=[_9b,(_a3||"root"),_9c].join(".");var _a6=dojo._xdBundleMap[_a5];if(!_a6){_a6=dojo._xdBundleMap[_a5]={};}_a6[_a0.replace("-","_")]=true;dojo.require(_9b+".nls"+(_a1?"."+_a1:"")+"."+_9c);}};dojo._xdRealRequireLocalization=dojo.requireLocalization;dojo.requireLocalization=function(_a7,_a8,_a9,_aa){var _ab=this.moduleUrl(_a7).toString();if(this._xdIsXDomainPath(_ab)){return dojo.xdRequireLocalization.apply(dojo,arguments);}else{return dojo._xdRealRequireLocalization.apply(dojo,arguments);}};dojo._xdUnpackDependency=function(dep){var _ad=null;var _ae=null;switch(dep[0]){case "requireIf":case "requireAfterIf":if(dep[1]===true){_ad=[{name:dep[2],content:null}];}break;case "platformRequire":var _af=dep[1];var _b0=_af["common"]||[];var _ad=(_af[dojo.hostenv.name_])?_b0.concat(_af[do
 jo.hostenv.name_]||[]):_b0.concat(_af["default"]||[]);if(_ad){for(var i=0;i<_ad.length;i++){if(_ad[i] instanceof Array){_ad[i]={name:_ad[i][0],content:null};}else{_ad[i]={name:_ad[i],content:null};}}}break;case "require":_ad=[{name:dep[1],content:null}];break;case "i18n._preloadLocalizations":dojo.i18n._preloadLocalizations.apply(dojo.i18n._preloadLocalizations,dep.slice(1));break;}if(dep[0]=="requireAfterIf"||dep[0]=="requireIf"){_ae=_ad;_ad=null;}return {requires:_ad,requiresAfter:_ae};};dojo._xdWalkReqs=function(){var _b2=null;var req;for(var i=0;i<this._xdOrderedReqs.length;i++){req=this._xdOrderedReqs[i];if(this._xdDepMap[req]){_b2=[req];_b2[req]=true;this._xdEvalReqs(_b2);}}};dojo._xdEvalReqs=function(_b5){while(_b5.length>0){var req=_b5[_b5.length-1];var res=this._xdDepMap[req];if(res){var _b8=res.requires;if(_b8&&_b8.length>0){var _b9;for(var i=0;i<_b8.length;i++){_b9=_b8[i].name;if(_b9&&!_b5[_b9]){_b5.push(_b9);_b5[_b9]=true;this._xdEvalReqs(_b5);}}}var _bb=this._xd
 Contents[res.contentIndex];if(!_bb.isDefined){var _bc=_bb.content;_bc["resourceName"]=_bb["resourceName"];_bc["resourcePath"]=_bb["resourcePath"];this._xdDefList.push(_bc);_bb.isDefined=true;}this._xdDepMap[req]=null;var _b8=res.requiresAfter;if(_b8&&_b8.length>0){var _b9;for(var i=0;i<_b8.length;i++){_b9=_b8[i].name;if(_b9&&!_b5[_b9]){_b5.push(_b9);_b5[_b9]=true;this._xdEvalReqs(_b5);}}}}_b5.pop();}};dojo._xdClearInterval=function(){clearInterval(this._xdTimer);this._xdTimer=0;};dojo._xdWatchInFlight=function(){var _bd="";var _be=(djConfig.xdWaitSeconds||15)*1000;var _bf=(this._xdStartTime+_be)<(new Date()).getTime();for(var _c0 in this._xdInFlight){if(this._xdInFlight[_c0]===true){if(_bf){_bd+=_c0+" ";}else{return;}}}this._xdClearInterval();if(_bf){throw "Could not load cross-domain resources: "+_bd;}this._xdWalkReqs();var _c1=this._xdDefList.length;for(var i=0;i<_c1;i++){var _c3=dojo._xdDefList[i];if(djConfig["debugAtAllCosts"]&&_c3["resourceName"]){if(!this["_xdDebugQueu
 e"]){this._xdDebugQueue=[];}this._xdDebugQueue.push({resourceName:_c3.resourceName,resourcePath:_c3.resourcePath});}else{_c3(dojo);}}for(var i=0;i<this._xdContents.length;i++){var _c4=this._xdContents[i];if(_c4.content&&!_c4.isDefined){_c4.content(dojo);}}this._xdReset();if(this["_xdDebugQueue"]&&this._xdDebugQueue.length>0){this._xdDebugFileLoaded();}else{this._xdNotifyLoaded();}};dojo._xdNotifyLoaded=function(){this._inFlightCount=0;if(this._initFired&&!this._loadNotifying){this._callLoaded();}};if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var d=dojo;if(document&&document.getElementsByTagName){var _c6=document.getElementsByTagName("script");var _c7=/dojo(\.xd)?\.js([\?\.]|$)/i;for(var i=0;i<_c6.length;i++){var src=_c6[i].getAttribute("src");if(!src){continue;}var m=src.match(_c7);if(m){if(!djConfig["baseUrl"]){djConfig["baseUrl"]=src.substring(0,m.index);}var cfg=_c6[i].getAttribute("djConfig");if(cfg){var _cc=eval("({ "+cfg+" })");fo
 r(var x in _cc){djConfig[x]=_cc[x];}}break;}}}d.baseUrl=djConfig["baseUrl"];var n=navigator;var dua=n.userAgent;var dav=n.appVersion;var tv=parseFloat(dav);d.isOpera=(dua.indexOf("Opera")>=0)?tv:0;d.isKhtml=(dav.indexOf("Konqueror")>=0)||(dav.indexOf("Safari")>=0)?tv:0;if(dav.indexOf("Safari")>=0){d.isSafari=parseFloat(dav.split("Version/")[1])||2;}var _d2=dua.indexOf("Gecko");d.isMozilla=d.isMoz=((_d2>=0)&&(!d.isKhtml))?tv:0;d.isFF=0;d.isIE=0;try{if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1].split(" ")[0]);}if((document.all)&&(!d.isOpera)){d.isIE=parseFloat(dav.split("MSIE ")[1].split(";")[0]);}}catch(e){}if(dojo.isIE&&(window.location.protocol==="file:")){djConfig.ieForceActiveXXhr=true;}var cm=document["compatMode"];d.isQuirks=(cm=="BackCompat")||(cm=="QuirksMode")||(d.isIE<6);d.locale=djConfig.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._println=console.debug;d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=
 function(){var _d4=null;var _d5=null;if(!dojo.isIE||!djConfig.ieForceActiveXXhr){try{_d4=new XMLHttpRequest();}catch(e){}}if(!_d4){for(var i=0;i<3;++i){var _d7=dojo._XMLHTTP_PROGIDS[i];try{_d4=new ActiveXObject(_d7);}catch(e){_d5=e;}if(_d4){dojo._XMLHTTP_PROGIDS=[_d7];break;}}}if(!_d4){throw new Error("XMLHTTP not available: "+_d5);}return _d4;};d._isDocumentOk=function(_d8){var _d9=_d8.status||0;return ((_d9>=200)&&(_d9<300))||(_d9==304)||(_d9==1223)||(!_d9&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _da=window.location+"";var _db=document.getElementsByTagName("base");var _dc=(_db&&_db.length>0);d._getText=function(uri,_de){var _df=this._xhrObj();if(!_dc&&dojo._Url){uri=(new dojo._Url(_da,uri)).toString();}_df.open("GET",uri,false);try{_df.send(null);if(!d._isDocumentOk(_df)){var err=Error("Unable to load "+uri+" status:"+_df.status);err.status=_df.status;err.responseText=_df.responseText;throw err;}}catch(e){if(_de){return null;}throw e;}return _df.r
 esponseText;};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _e2=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_e2!="domcontentloaded"&&_e2!="load")){return;}arguments.callee.initialized=true;if(typeof dojo["_khtmlTimer"]!="undefined"){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};if(document.addEventListener){if(dojo.isOpera||(dojo.isMoz&&(djConfig["enableMozDomContentLoaded"]===true))){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}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 _e4=function(_e5,fp){var _e7=_w[_e5]||function(){};_w[_e5]=function(){fp.apply(_w,arguments);_e7.apply(_w,arguments);};};if(dojo.isIE){document.write("<scr"+"ipt de
 fer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){dojo._loadInit();}\">"+"</scr"+"ipt>");var _e8=true;_e4("onbeforeunload",function(){_w.setTimeout(function(){_e8=false;},0);});_e4("onunload",function(){if(_e8){dojo.unloaded();}});try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}catch(e){}}else{_e4("onbeforeunload",function(){dojo.unloaded();});}})();}if(djConfig.isDebug){dojo.require("dojo._firebug.firebug");}if(djConfig.debugAtAllCosts){djConfig.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");}}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");dojo.isString=function(it){return typeof it=="string"||it instanceof String;};dojo.isArray=function(it){return it&&it instanceof Array||typeof it=="array";};dojo.isFunction=(function(){var _eb=func
 tion(it){return typeof it=="function"||it instanceof Function;};return dojo.isSafari?function(it){if(typeof it=="function"&&it=="[object NodeList]"){return false;}return _eb(it);}:_eb;})();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(_f2,_f3){for(var i=1,l=arguments.length;i<l;i++){dojo._mixin(_f2.prototype,arguments[i]);}return _f2;};dojo._hitchArgs=function(_f6,_f7){var pre=dojo._toArray(arguments,2);var _f9=dojo.isString(_f7);return function(){var _fa=dojo._toArray(arguments);var f=_f9?(_f6||dojo.global)[_f7]:_f7;return f&&f.apply(_f6||this,pre.concat(_fa));};};dojo.hitch=function(
 _fc,_fd){if(arguments.length>2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_fd){_fd=_fc;_fc=null;}if(dojo.isString(_fd)){_fc=_fc||dojo.global;if(!_fc[_fd]){throw (["dojo.hitch: scope[\"",_fd,"\"] is null (scope=\"",_fc,"\")"].join(""));}return function(){return _fc[_fd].apply(_fc,arguments||[]);};}return !_fc?_fd:function(){return _fd.apply(_fc,arguments||[]);};};dojo.delegate=dojo._delegate=function(obj,_ff){function TMP(){};TMP.prototype=obj;var tmp=new TMP();if(_ff){dojo.mixin(tmp,_ff);}return tmp;};dojo.partial=function(_101){var arr=[null];return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));};dojo._toArray=function(obj,_104,_105){var arr=_105||[];for(var x=_104||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};dojo.clone=function(o){if(!o){return o;}if(dojo.isArray(o)){var r=[];for(var i=0;i<o.length;++i){r.push(dojo.clone(o[i]));}return r;}if(!dojo.isObject(o)){return o;}if(o.nodeType&&o.cloneNode){return o.cloneNode(true);}if(o instanceof Date)
 {return new Date(o.getTime());}var r=new o.constructor();for(var i in o){if(!(i in r)||r[i]!=o[i]){r[i]=dojo.clone(o[i]);}}return r;};dojo.trim=function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");};}if(!dojo._hasResource["dojo._base.declare"]){dojo._hasResource["dojo._base.declare"]=true;dojo.provide("dojo._base.declare");dojo.declare=function(_10c,_10d,_10e){if(dojo.isFunction(_10e)||(arguments.length>3)){dojo.deprecated("dojo.declare: for class '"+_10c+"' pass initializer function as 'constructor' property instead of as a separate argument.","","1.0");var c=_10e;_10e=arguments[3]||{};_10e.constructor=c;}var dd=arguments.callee,_111=null;if(dojo.isArray(_10d)){_111=_10d;_10d=_111.shift();}if(_111){for(var i=0,m;i<_111.length;i++){m=_111[i];if(!m){throw ("Mixin #"+i+" to declaration of "+_10c+" is null. It's likely a required module is not loaded.");}_10d=dd._delegate(_10d,m);}}var init=(_10e||0).constructor,ctor=dd._delegate(_10d),fn;for(var i in _10e){if(doj
 o.isFunction(fn=_10e[i])&&(!0[i])){fn.nom=i;}}dojo.extend(ctor,{declaredClass:_10c,_constructor:init,preamble:null},_10e||0);ctor.prototype.constructor=ctor;return dojo.setObject(_10c,ctor);};dojo.mixin(dojo.declare,{_delegate:function(base,_118){var bp=(base||0).prototype,mp=(_118||0).prototype;var ctor=dojo.declare._makeCtor();dojo.mixin(ctor,{superclass:bp,mixin:mp,extend:dojo.declare._extend});if(base){ctor.prototype=dojo._delegate(bp);}dojo.extend(ctor,dojo.declare._core,mp||0,{_constructor:null,preamble:null});ctor.prototype.constructor=ctor;ctor.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;return ctor;},_extend:function(_11c){for(var i in _11c){if(dojo.isFunction(fn=_11c[i])&&(!0[i])){fn.nom=i;}}dojo.extend(this,_11c);},_makeCtor:function(){return function(){this._construct(arguments);};},_core:{_construct:function(args){var c=args.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=args,ii,fn;if(a[0]){if((fn=a[0]["pre
 amble"])){a=fn.apply(this,a)||a;}}if(fn=c.prototype.preamble){a=fn.apply(this,a)||a;}if(ct&&ct.apply){ct.apply(this,a);}if(mct&&mct.apply){mct.apply(this,a);}if(ii=c.prototype._constructor){ii.apply(this,args);}if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){ct.apply(this,args);}},_findMixin:function(_127){var c=this.constructor,p,m;while(c){p=c.superclass;m=c.mixin;if(m==_127||(m instanceof _127.constructor)){return p;}if(m&&(m=m._findMixin(_127))){return m;}c=p&&p.constructor;}},_findMethod:function(name,_12c,_12d,has){var p=_12d,c,m,f;do{c=p.constructor;m=c.mixin;if(m&&(m=this._findMethod(name,_12c,m,has))){return m;}if((f=p[name])&&(has==(f==_12c))){return p;}p=c.superclass;}while(p);return !has&&(p=this._findMixin(_12d))&&this._findMethod(name,_12c,p,has);},inherited:function(name,args,_135){var a=arguments;if(!dojo.isString(a[0])){_135=args;args=name;name=args.callee.nom;}var c=args.callee,p=this.constructor.prototype,a=_135||args,fn,mp;if(this[name]!
 =c||p[name]==c){mp=this._findMethod(name,c,p,true);if(!mp){throw (this.declaredClass+": name argument (\""+name+"\") to inherited must match callee (declare.js)");}p=this._findMethod(name,c,mp,false);}fn=p&&p[name];if(!fn){console.debug(mp.declaredClass+": no inherited \""+name+"\" was found (declare.js)");return;}return fn.apply(this,a);}}});}if(!dojo._hasResource["dojo._base.connect"]){dojo._hasResource["dojo._base.connect"]=true;dojo.provide("dojo._base.connect");dojo._listener={getDispatcher:function(){return function(){var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target;var r=t&&t.apply(this,arguments);for(var i in ls){if(!(i in ap)){ls[i].apply(this,arguments);}}return r;};},add:function(_141,_142,_143){_141=_141||dojo.global;var f=_141[_142];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_141[_142]=d;}return f._listeners.push(_143);},remove:function(_146,_147,_148){var f=(_146||dojo.global)[_147];if(f&&f._liste
 ners&&_148--){delete f._listeners[_148];}}};dojo.connect=function(obj,_14b,_14c,_14d,_14e){var a=arguments,args=[],i=0;args.push(dojo.isString(a[0])?null:a[i++],a[i++]);var a1=a[i+1];args.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){args.push(a[i]);}return dojo._connect.apply(this,args);};dojo._connect=function(obj,_155,_156,_157){var l=dojo._listener,h=l.add(obj,_155,dojo.hitch(_156,_157));return [obj,_155,h,l];};dojo.disconnect=function(_15a){if(_15a&&_15a[0]!==undefined){dojo._disconnect.apply(this,_15a);delete _15a[0];}};dojo._disconnect=function(obj,_15c,_15d,_15e){_15e.remove(obj,_15c,_15d);};dojo._topics={};dojo.subscribe=function(_15f,_160,_161){return [_15f,dojo._listener.add(dojo._topics,_15f,dojo.hitch(_160,_161))];};dojo.unsubscribe=function(_162){if(_162){dojo._listener.remove(dojo._topics,_162[0],_162[1]);}};dojo.publish=function(_163,args){var f=dojo._topics[_163];if(f){f.apply(this,args||[]);}};dojo.connectPublis
 her=function(_166,obj,_168){var pf=function(){dojo.publish(_166,arguments);};return (_168)?dojo.connect(obj,_168,pf):dojo.connect(obj,pf);};}if(!dojo._hasResource["dojo._base.Deferred"]){dojo._hasResource["dojo._base.Deferred"]=true;dojo.provide("dojo._base.Deferred");dojo.Deferred=function(_16a){this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=_16a;this.silentlyCancelled=false;};dojo.extend(dojo.Deferred,{_nextId:(function(){var n=1;return function(){return n++;};})(),cancel:function(){var err;if(this.fired==-1){if(this.canceller){err=this.canceller(this);}else{this.silentlyCancelled=true;}if(this.fired==-1){if(!(err instanceof Error)){var res=err;err=new Error("Deferred Cancelled");err.dojoType="cancel";err.cancelResult=res;}this.errback(err);}}else{if((this.fired==0)&&(this.results[0] instanceof dojo.Deferred)){this.results[0].cancel();}}},_resback:function(res){this.fired=((res instanceof Error)?1:0);this.results[th
 is.fired]=res;this._fire();},_check:function(){if(this.fired!=-1){if(!this.silentlyCancelled){throw new Error("already called!");}this.silentlyCancelled=false;return;}},callback:function(res){this._check();this._resback(res);},errback:function(res){this._check();if(!(res instanceof Error)){res=new Error(res);}this._resback(res);},addBoth:function(cb,cbfn){var _173=dojo.hitch(cb,cbfn);if(arguments.length>2){_173=dojo.partial(_173,arguments,2);}return this.addCallbacks(_173,_173);},addCallback:function(cb,cbfn){var _176=dojo.hitch(cb,cbfn);if(arguments.length>2){_176=dojo.partial(_176,arguments,2);}return this.addCallbacks(_176,null);},addErrback:function(cb,cbfn){var _179=dojo.hitch(cb,cbfn);if(arguments.length>2){_179=dojo.partial(_179,arguments,2);}return this.addCallbacks(null,_179);},addCallbacks:function(cb,eb){this.chain.push([cb,eb]);if(this.fired>=0){this._fire();}return this;},_fire:function(){var _17c=this.chain;var _17d=this.fired;var res=this.results[_17d];var sel
 f=this;var cb=null;while((_17c.length>0)&&(this.paused==0)){var f=_17c.shift()[_17d];if(!f){continue;}try{res=f(res);_17d=((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);_17d=1;res=err;}}this.fired=_17d;this.results[_17d]=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){try{return eval("("+json+")");}catch(e){console.debug(e);return 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,_186,_187){_187=_187||"";var _188=_186?_187+dojo.toJsonIndentStr:"";var _189=_186?"\n"
 :"";var _18a=typeof it;if(_18a=="undefined"){return "undefined";}if(_18a=="number"||_18a=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}if(it.nodeType&&it.cloneNode){return "";}var _18b=arguments.callee;var _18c;if(typeof it.__json__=="function"){_18c=it.__json__();if(it!==_18c){return _18b(_18c,_186,_188);}}if(typeof it.json=="function"){_18c=it.json();if(it!==_18c){return _18b(_18c,_186,_188);}}var sep=_186?" ":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_18b(obj,_186,_188);if(typeof val!="string"){val="undefined";}return _189+_188+val;});return "["+res.join(","+sep)+_189+_187+"]";}if(_18a=="function"){return null;}var _191=[];for(var key in it){var _193;if(typeof key=="number"){_193="\""+key+"\"";}else{if(typeof key=="string"){_193=dojo._escapeString(key);}else{continue;}}val=_18b(it[key],_186,_188);if(typeof val!="string"){continue;}_191.push(_189+_188+_193+":"+sep+val);}return "{"+_191.jo
 in(","+sep)+_189+_187+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _194=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(_198,_199,_19a,_19b){var i=0,step=1,end=_198.length;if(_19b){i=end-1;step=end=-1;}for(i=_19a||i;i!=end;i+=step){if(_198[i]==_199){return i;}}return -1;},lastIndexOf:function(_19f,_1a0,_1a1){return dojo.indexOf(_19f,_1a0,_1a1,true);},forEach:function(arr,_1a3,obj){if(!arr||!arr.length){return;}var _p=_194(arr,obj,_1a3);arr=_p[0];for(var i=0,l=_p[0].length;i<l;i++){_p[2].call(_p[1],arr[i],i,arr);}},_everyOrSome:function(_1a8,arr,_1aa,obj){var _p=_194(arr,obj,_1aa);arr=_p[0];for(var i=0,l=arr.length;i<l;i++){var _1af=!!_p[2].call(_p[1],arr[i],i,arr);if(_1a8^_1af){return _1af;}}return _1a8;},every:function(arr,_1b1,_1b2){return
  this._everyOrSome(true,arr,_1b1,_1b2);},some:function(arr,_1b4,_1b5){return this._everyOrSome(false,arr,_1b4,_1b5);},map:function(arr,func,obj){var _p=_194(arr,obj,func);arr=_p[0];var _1ba=((arguments[3])?(new arguments[3]()):[]);for(var i=0;i<arr.length;++i){_1ba.push(_p[2].call(_p[1],arr[i],i,arr));}return _1ba;},filter:function(arr,_1bd,obj){var _p=_194(arr,obj,_1bd);arr=_p[0];var _1c0=[];for(var i=0;i<arr.length;i++){if(_p[2].call(_p[1],arr[i],i,arr)){_1c0.push(arr[i]);}}return _1c0;}});})();}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");dojo.Color=function(_1c2){if(_1c2){this.setColor(_1c2);}};dojo.Color.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255]};dojo.extend(do
 jo.Color,{r:255,g:255,b:255,a:1,_set:function(r,g,b,a){var t=this;t.r=r;t.g=g;t.b=b;t.a=a;},setColor:function(_1c8){var d=dojo;if(d.isString(_1c8)){d.colorFromString(_1c8,this);}else{if(d.isArray(_1c8)){d.colorFromArray(_1c8,this);}else{this._set(_1c8.r,_1c8.g,_1c8.b,_1c8.a);if(!(_1c8 instanceof d.Color)){this.sanitize();}}}return this;},sanitize:function(){return this;},toRgb:function(){var t=this;return [t.r,t.g,t.b];},toRgba:function(){var t=this;return [t.r,t.g,t.b,t.a];},toHex:function(){var arr=dojo.map(["r","g","b"],function(x){var s=this[x].toString(16);return s.length<2?"0"+s:s;},this);return "#"+arr.join("");},toCss:function(_1cf){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_1cf?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_1d2,end,_1d4,obj){var d=dojo,t=obj||new dojo.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_1d2[x]+(end[x]-_1d2[x])*_1d4;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sa
 nitize();};dojo.colorFromRgb=function(_1d9,obj){var m=_1d9.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_1dc,obj){var d=dojo,t=obj||new d.Color(),bits=(_1dc.length==4)?4:8,mask=(1<<bits)-1;_1dc=Number("0x"+_1dc.substr(1));if(isNaN(_1dc)){return null;}d.forEach(["b","g","r"],function(x){var c=_1dc&mask;_1dc>>=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");(function(){if(djConfig.require){for(var x=0;x<djConfig.require.length;x++){dojo["require"](djConfig.require[x]);}
 }})();}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo._gearsObject=function(){var _1eb;var _1ec;var _1ed=dojo.getObject("google.gears");if(_1ed){return _1ed;}if(typeof GearsFactory!="undefined"){_1eb=new GearsFactory();}else{if(dojo.isIE){try{_1eb=new ActiveXObject("Gears.Factory");}catch(e){}}else{if(navigator.mimeTypes["application/x-googlegears"]){_1eb=document.createElement("object");_1eb.setAttribute("type","application/x-googlegears");_1eb.setAttribute("width",0);_1eb.setAttribute("height",0);_1eb.style.display="none";document.documentElement.appendChild(_1eb);}}}if(!_1eb){return null;}dojo.setObject("google.gears.factory",_1eb);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(_1ee,_1ef){dojo.global=_1ee;dojo.doc=_1ef
 ;};dojo._fireCallback=function(_1f0,_1f1,_1f2){if(_1f1&&dojo.isString(_1f0)){_1f0=_1f1[_1f0];}return (_1f1?_1f0.apply(_1f1,_1f2||[]):_1f0());};dojo.withGlobal=function(_1f3,_1f4,_1f5,_1f6){var rval;var _1f8=dojo.global;var _1f9=dojo.doc;try{dojo.setContext(_1f3,_1f3.document);rval=dojo._fireCallback(_1f4,_1f5,_1f6);}finally{dojo.setContext(_1f8,_1f9);}return rval;};dojo.withDoc=function(_1fa,_1fb,_1fc,_1fd){var rval;var _1ff=dojo.doc;try{dojo.doc=_1fa;rval=dojo._fireCallback(_1fb,_1fc,_1fd);}finally{dojo.doc=_1ff;}return rval;};(function(){var mp=djConfig["modulePaths"];if(mp){for(var _201 in mp){dojo.registerModulePath(_201,mp[_201]);}}})();}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 _206=name;if(!dojo.isIE&&(name=="mouseenter")||(name=="mouselea
 ve")){var _206=name;var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){var id=dojo.isDescendant(e.relatedTarget,node);if(id==false){return ofp.call(this,e);}};}node.addEventListener(name,fp,false);return fp;},remove:function(node,_20b,_20c){node&&node.removeEventListener(del._normalizeEventName(_20b),_20c,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,_212){switch(evt.type){case "keypress":del._setKeyChar(evt);break;}return evt;},_setKeyChar:function(evt){evt.keyChar=(evt.charCode?String.fromCharCode(evt.charCode):"");}});dojo.fixEvent=function(evt,_215){return del._fixEvent(evt,_215);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _217=dojo._listener;dojo._connect=function(obj,_219,_21a,_21b,_21c){var _21d=obj&&(obj.nodeType||obj.attac
 hEvent||obj.addEventListener);var lid=!_21d?0:(!_21c?1:2),l=[dojo._listener,del,_217][lid];var h=l.add(obj,_219,dojo.hitch(_21a,_21b));return [obj,_219,h,lid];};dojo._disconnect=function(obj,_222,_223,_224){([dojo._listener,del,_217][_224]).remove(obj,_222,_223);};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 _225=function(e,code){try{return (e.keyCode=code);}catch(e
 ){return 0;}};var iel=dojo._listener;if(!djConfig._allow_leaks){_217=iel=dojo._ie_listener={handlers:[],add:function(_229,_22a,_22b){_229=_229||dojo.global;var f=_229[_22a];if(!f||!f._listeners){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d._listeners=[];f=_229[_22a]=d;}return f._listeners.push(ieh.push(_22b)-1);},remove:function(_22f,_230,_231){var f=(_22f||dojo.global)[_230],l=f&&f._listeners;if(f&&l&&_231--){delete ieh[l[_231]];delete l[_231];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_235,fp){if(!node){return;}_235=del._normalizeEventName(_235);if(_235=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd._listeners||!kd._stealthKeydown){del.add(node,"onkeydown",del._stealthKeyDown);node.onkeydown._stealthKeydown=true;}}return iel.add(node,_235,del._fixCallback(fp));},remove:function(node,_239,_23a){iel.remove(node,del._normalizeEventName(_239),_23a);},_normalizeEventName:function(_23b){return (_23b.slice(0,2)!="on"?"on"+_23b:_23b);},_nop:functi
 on(){},_fixEvent:function(evt,_23d){if(!evt){var w=(_23d)&&((_23d.ownerDocument||_23d.document||_23d).parentWindow)||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_23d||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _241=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _242=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_241.scrollLeft||0)-_242.x;evt.pageY=evt.clientY+(_241.scrollTop||0)-_242.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 _248=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_248||evt.ctrlKey){var c=(_248?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;_225(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_225(this,0);}this.returnValue=false;}});dojo.stopEvent=function(evt){evt=evt||window.even
 t;del._stopPropagation.call(evt);del._preventDefault.call(evt);};}del._synthesizeEvent=function(evt,_24d){var faux=dojo.mixin({},evt,_24d);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_250){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,_253){switch(evt.type){case "keypress":var c=evt.charCode,s=evt.shiftKey,k=evt.keyCode;k=k||_257[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,_257={"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._getIeDispatcher=function(){return function(){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=arguments.callee,ls=c._listeners,t=h[c.target];var r=t&&t.apply(this,arguments);for(var i in ls){if(!(i in ap)){h[ls[i]].apply(this,arguments);}}return r;};};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._hasResou
 rce["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){return;}if(!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){if(dojo.isString(id)){return (doc||dojo.doc).getElementById(id);}else{return id;}};}(function(){var _26b=null;dojo._destroyElement=function(node){node=dojo.byId(node);try{if(!_26b){_26b=document.createElement("div");}_26b.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_26b.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_26e){try{node=dojo.byId(node);_26e=dojo.byId(_26e);while(node){if(node===_26e){return true;}node=node.parentNode;}}catch(e){return -
 1;}return false;};dojo.setSelectable=function(node,_270){node=dojo.byId(node);if(dojo.isMozilla){node.style.MozUserSelect=_270?"":"none";}else{if(dojo.isKhtml){node.style.KhtmlUserSelect=_270?"auto":"none";}else{if(dojo.isIE){node.unselectable=_270?"":"on";dojo.query("*",node).forEach(function(_271){_271.unselectable=_270?"":"on";});}}}};var _272=function(node,ref){ref.parentNode.insertBefore(node,ref);return true;};var _275=function(node,ref){var pn=ref.parentNode;if(ref==pn.lastChild){pn.appendChild(node);}else{return _272(node,ref.nextSibling);}return true;};dojo.place=function(node,_27a,_27b){if(!node||!_27a||_27b===undefined){return false;}node=dojo.byId(node);_27a=dojo.byId(_27a);if(typeof _27b=="number"){var cn=_27a.childNodes;if((_27b==0&&cn.length==0)||cn.length==_27b){_27a.appendChild(node);return true;}if(_27b==0){return _272(node,_27a.firstChild);}return _275(node,cn[_27b-1]);}switch(_27b.toLowerCase()){case "before":return _272(node,_27a);case "after":return _27
 5(node,_27a);case "first":if(_27a.firstChild){return _272(node,_27a.firstChild);}else{_27a.appendChild(node);return true;}break;default:_27a.appendChild(node);return true;}};dojo.boxModel="content-box";if(dojo.isIE){var _dcm=document.compatMode;dojo.boxModel=(_dcm=="BackCompat")||(_dcm=="QuirksMode")||(dojo.isIE<6)?"border-box":"content-box";}var gcs,dv=document.defaultView;if(dojo.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(dojo.isIE){gcs=function(node){return node.currentStyle;};}else{gcs=function(node){return dv.getComputedStyle(node,null);};}}dojo.getComputedStyle=gcs;if(!dojo.isIE){dojo._toPixelValue=function(_284,_285){return parseFloat(_285)||0;};}else{dojo._toPixelValue=function(_286,_287){if(!_287){return 0;}if(_287=="medium"){return 4;}if(_287.slice&&(_287.slice(-2)=="px")){return parseFloat(_287);}with(_286){var _288=style.left;var _289=runtimeS
 tyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_287;_287=style.pixelLeft;}catch(e){_287=0;}style.left=_288;runtimeStyle.left=_289;}return _287;};}dojo._getOpacity=(dojo.isIE?function(node){try{return (node.filters.alpha.opacity/100);}catch(e){return 1;}}:function(node){return dojo.getComputedStyle(node).opacity;});dojo._setOpacity=(dojo.isIE?function(node,_28d){if(_28d==1){node.style.cssText=node.style.cssText.replace(/FILTER:[^;]*;?/i,"");if(node.nodeName.toLowerCase()=="tr"){dojo.query("> td",node).forEach(function(i){i.style.cssText=i.style.cssText.replace(/FILTER:[^;]*;?/i,"");});}}else{var o="Alpha(Opacity="+(_28d*100)+")";node.style.filter=o;}if(node.nodeName.toLowerCase()=="tr"){dojo.query("> td",node).forEach(function(i){i.style.filter=o;});}return _28d;}:function(node,_292){return node.style.opacity=_292;});var _293={width:true,height:true,left:true,top:true};var _294=function(node,type,_297){type=type.toLowerCase();if(_293[type]===true){return dojo._t
 oPixelValue(node,_297);}else{if(_293[type]===false){return _297;}else{if(dojo.isOpera&&type=="cssText"){}if((type.indexOf("margin")>=0)||(type.indexOf("padding")>=0)||(type.indexOf("width")>=0)||(type.indexOf("height")>=0)||(type.indexOf("max")>=0)||(type.indexOf("min")>=0)||(type.indexOf("offset")>=0)){_293[type]=true;return dojo._toPixelValue(node,_297);}else{_293[type]=false;return _297;}}}};dojo.style=function(node,_299,_29a){var n=dojo.byId(node),args=arguments.length,op=(_299=="opacity");if(args==3){return op?dojo._setOpacity(n,_29a):n.style[_299]=_29a;}if(args==2&&op){return dojo._getOpacity(n);}var s=dojo.getComputedStyle(n);return (args==1)?s:_294(n,_299,s[_299]);};dojo._getPadExtents=function(n,_2a0){var s=_2a0||gcs(n),px=dojo._toPixelValue,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,_2a6){var ne="none",px=dojo._toPixelValue,s=_2a6||gcs(n),bl=(s.borderLeftStyle!=n
 e?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,_2ad){var s=_2ad||gcs(n),p=dojo._getPadExtents(n,s),b=dojo._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,_2b2){var s=_2b2||gcs(n),px=dojo._toPixelValue,l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(dojo.isSafari&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_2ba){var s=_2ba||gcs(node),me=dojo._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t;if(dojo.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=dojo._getBorderExte
 nts(p,pcs);l+=be.l,t+=be.t;}}}}else{if(dojo.isOpera){var p=node.parentNode;if(p){var be=dojo._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,_2c5){var s=_2c5||gcs(node),pe=dojo._getPadExtents(node,s),be=dojo._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(dojo.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,_2cc){var s=_2cc||gcs(node),pe=dojo._getPadExtents(node,s),cb=dojo._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";with(node.style){if(!isNaN(l)){left=l+u;}if(!isNaN(t)){top=t+u;}if(w>=0){width=w+u;}if(h>=0){height=h+u;}}};dojo._usesBorderBox=function(node){var n=node.tagName;return dojo.boxModel=="border-box"||n=="TABLE"||n=="BUTTON";};dojo._se
 tContentSize=function(node,_2d9,_2da,_2db){var bb=dojo._usesBorderBox(node);if(bb){var pb=dojo._getPadBorderExtents(node,_2db);if(_2d9>=0){_2d9+=pb.w;}if(_2da>=0){_2da+=pb.h;}}dojo._setBox(node,NaN,NaN,_2d9,_2da);};dojo._setMarginBox=function(node,_2df,_2e0,_2e1,_2e2,_2e3){var s=_2e3||dojo.getComputedStyle(node);var bb=dojo._usesBorderBox(node),pb=bb?_2e7:dojo._getPadBorderExtents(node,s),mb=dojo._getMarginExtents(node,s);if(_2e1>=0){_2e1=Math.max(_2e1-pb.w-mb.w,0);}if(_2e2>=0){_2e2=Math.max(_2e2-pb.h-mb.h,0);}dojo._setBox(node,_2df,_2e0,_2e1,_2e2);};var _2e7={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=dojo.byId(node),s=gcs(n),b=box;return !b?dojo._getMarginBox(n,s):dojo._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?dojo._getContentBox(n,s):dojo._setContentSize(n,b.w,b.h,s);};var _2f3=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_2f7=0,_b=dojo.body();while(node&&n
 ode.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_2f7+=val-0;if(node==_b){break;}}node=node.parentNode;}return _2f7;};dojo._docScroll=function(){var _b=dojo.body();var _w=dojo.global;var de=dojo.doc.documentElement;return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||dojo._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};};dojo._isBodyLtr=function(){return !("_bodyLtr" in dojo)?dojo._bodyLtr=dojo.getComputedStyle(dojo.body()).direction=="ltr":dojo._bodyLtr;};dojo._getIeDocumentElementOffset=function(){var de=dojo.doc.documentElement;if(dojo.isIE>=7){return {x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top};}else{return {x:dojo._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};}};dojo._fixIeBiDiScrollLeft=function(_2fd){if(dojo.isIE&&!dojo._isBodyLtr()){var de=dojo.doc.documentElement;return _2fd+de.clientWidth-de.scrollWidth;}return _2fd;};do
 jo._abs=function(node,_300){var _301=node.ownerDocument;var ret={x:0,y:0};var _303=false;var db=dojo.body();if(dojo.isIE){var _305=node.getBoundingClientRect();var _306=dojo._getIeDocumentElementOffset();ret.x=_305.left-_306.x;ret.y=_305.top-_306.y;}else{if(_301["getBoxObjectFor"]){var bo=_301.getBoxObjectFor(node);ret.x=bo.x-_2f3(node,"scrollLeft");ret.y=bo.y-_2f3(node,"scrollTop");}else{if(node["offsetParent"]){_303=true;var _308;if(dojo.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){_308=db;}else{_308=db.parentNode;}if(node.parentNode!=db){var nd=node;if(dojo.isOpera||(dojo.isSafari>=3)){nd=db;}ret.x-=_2f3(nd,"scrollLeft");ret.y-=_2f3(nd,"scrollTop");}var _30a=node;do{var n=_30a["offsetLeft"];if(!dojo.isOpera||n>0){ret.x+=isNaN(n)?0:n;}var m=_30a["offsetTop"];ret.y+=isNaN(m)?0:m;_30a=_30a.offsetParent;}while((_30a!=_308)&&_30a);}else{if(node["x"]&&node["y"]){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}}if(_303||_300){var _30d=dojo._d
 ocScroll();var m=_303?(!_300?-1:0):1;ret.y+=m*_30d.y;ret.x+=m*_30d.x;}return ret;};dojo.coords=function(node,_30f){var n=dojo.byId(node),s=gcs(n),mb=dojo._getMarginBox(n,s);var abs=dojo._abs(n,_30f);mb.x=abs.x;mb.y=abs.y;return mb;};var _314=function(name){switch(name.toLowerCase()){case "tabindex":return dojo.isIE?"tabIndex":"tabindex";default:return name;}};var _316={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType"};var _317=function(node,name){var attr=node.getAttributeNode(name);return attr?attr.specified:false;};dojo.hasAttr=function(node,name){return _317(dojo.byId(node),_314(name));};dojo.attr=function(node,name,_31f){node=dojo.byId(node);name=_314(name);if(arguments.length==3){node.setAttribute(name,_31f);return undefined;}else{var prop=_316[name.toLowerCase()];if(prop){return node[prop];}else{return _317(node,name)?node.getAttribute(name):
 null;}}};dojo.removeAttr=function(node,name){dojo.byId(node).removeAttribute(_314(name));};})();dojo.hasClass=function(node,_324){return ((" "+dojo.byId(node).className+" ").indexOf(" "+_324+" ")>=0);};dojo.addClass=function(node,_326){node=dojo.byId(node);var cls=node.className;if((" "+cls+" ").indexOf(" "+_326+" ")<0){node.className=cls+(cls?" ":"")+_326;}};dojo.removeClass=function(node,_329){node=dojo.byId(node);var t=dojo.trim((" "+node.className+" ").replace(" "+_329+" "," "));if(node.className!=t){node.className=t;}};dojo.toggleClass=function(node,_32c,_32d){if(_32d===undefined){_32d=!dojo.hasClass(node,_32c);}dojo[_32d?"addClass":"removeClass"](node,_32c);};}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;};dojo.NodeList=function(){return tnl(Array.apply(null,argu
 ments));};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(_334,_335){return d.indexOf(this,_334,_335);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_336,_337){return d.every(this,_336,_337);},some:function(_338,_339){return d.some(this,_338,_339);},map:function(func,obj){return d.map(this,func,obj,d.NodeList);},forEach:function(_33c,_33d){d.forEach(this,_33c,_33d);return this;},coords:function(){return d.map(this,d.coords);},style:function(){var aa=d._toArray(arguments,0,[null]);var s=this.map(function(i){aa[0]=i;return d.style.apply(d,aa);});return (arguments.length>1)?this:s;},styles:function(){d.deprecated("NodeList.styles","use NodeList.
 style instead","1.1");return this.style.apply(this,arguments);},addClass:function(_341){this.forEach(function(i){d.addClass(i,_341);});return this;},removeClass:function(_343){this.forEach(function(i){d.removeClass(i,_343);});return this;},place:function(_345,_346){var item=d.query(_345)[0];_346=_346||"last";for(var x=0;x<this.length;x++){d.place(this[x],item,_346);}return this;},connect:function(_349,_34a,_34b){this.forEach(function(item){d.connect(item,_349,_34a,_34b);});return this;},orphan:function(_34d){var _34e=(_34d)?d._filterQueryResult(this,_34d):this;_34e.forEach(function(item){if(item["parentNode"]){item.parentNode.removeChild(item);}});return _34e;},adopt:function(_350,_351){var item=this[0];return d.query(_350).forEach(function(ai){d.place(ai,item,(_351||"last"));});},query:function(_354){_354=_354||"";var ret=d.NodeList();this.forEach(function(item){d.query(_354,item).forEach(function(_357){if(typeof _357!="undefined"){ret.push(_357);}});});return ret;},filter:
 function(_358){var _359=this;var _a=arguments;var r=d.NodeList();var rp=function(t){if(typeof t!="undefined"){r.push(t);}};if(d.isString(_358)){_359=d._filterQueryResult(this,_a[0]);if(_a.length==1){return _359;}d.forEach(d.filter(_359,_a[1],_a[2]),rp);return r;}d.forEach(d.filter(_359,_a[0],_a[1]),rp);return r;},addContent:function(_35e,_35f){var ta=d.doc.createElement("span");if(d.isString(_35e)){ta.innerHTML=_35e;}else{ta.appendChild(_35e);}var ct=((_35f=="first")||(_35f=="after"))?"lastChild":"firstChild";this.forEach(function(item){var tn=ta.cloneNode(true);while(tn[ct]){d.place(tn[ct],item,_35f);}});return this;}});d.forEach(["blur","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._b
 ase.query");(function(){var d=dojo;var _369=dojo.isIE?"children":"childNodes";var _36a=function(_36b){if(_36b.charAt(_36b.length-1)==">"){_36b+=" *";}_36b+=" ";var ts=function(s,e){return d.trim(_36b.slice(s,e));};var _36f=[];var _370=-1;var _371=-1;var _372=-1;var _373=-1;var _374=-1;var inId=-1;var _376=-1;var lc="";var cc="";var _379;var x=0;var ql=_36b.length;var _37c=null;var _cp=null;var _37e=function(){if(_376>=0){var tv=(_376==x)?null:ts(_376,x).toLowerCase();_37c[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;_376=-1;}};var _380=function(){if(inId>=0){_37c.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _381=function(){if(_374>=0){_37c.classes.push(ts(_374+1,x).replace(/\\/g,""));_374=-1;}};var _382=function(){_380();_37e();_381();};for(;lc=cc,cc=_36b.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_37c){_379=x;_37c={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null};_376=x;}if(_370>=0){if(cc=="]"){if(!_cp.attr){_cp.attr=ts(_370+1,x);}else{_cp.matchFor=ts((
 _372||_370+1),x);}var cmf=_cp.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_cp.matchFor=cmf.substring(1,cmf.length-1);}}_37c.attrs.push(_cp);_cp=null;_370=_372=-1;}else{if(cc=="="){var _384=("|~^$*".indexOf(lc)>=0)?lc:"";_cp.type=_384+cc;_cp.attr=ts(_370+1,x-_384.length);_372=x+1;}}}else{if(_371>=0){if(cc==")"){if(_373>=0){_cp.value=ts(_371+1,x);}_373=_371=-1;}}else{if(cc=="#"){_382();inId=x+1;}else{if(cc=="."){_382();_374=x;}else{if(cc==":"){_382();_373=x;}else{if(cc=="["){_382();_370=x;_cp={};}else{if(cc=="("){if(_373>=0){_cp={name:ts(_373+1,x),value:null};_37c.pseudos.push(_cp);}_371=x;}else{if(cc==" "&&lc!=cc){_382();if(_373>=0){_37c.pseudos.push({name:ts(_373+1,x)});}_37c.hasLoops=(_37c.pseudos.length||_37c.attrs.length||_37c.classes.length);_37c.query=ts(_379,x);_37c.tag=(_37c["oper"])?null:(_37c.tag||"*");_36f.push(_37c);_37c=null;}}}}}}}}}return _36f;};var _385={"*=":function(attr,_387){return "[contains(@"+attr+", '"+_387+"')]";},"^=":function(at
 tr,_389){return "[starts-with(@"+attr+", '"+_389+"')]";},"$=":function(attr,_38b){return "[substring(@"+attr+", string-length(@"+attr+")-"+(_38b.length-1)+")='"+_38b+"']";},"~=":function(attr,_38d){return "[contains(concat(' ',@"+attr+",' '), ' "+_38d+" ')]";},"|=":function(attr,_38f){return "[contains(concat(' ',@"+attr+",' '), ' "+_38f+"-')]";},"=":function(attr,_391){return "[@"+attr+"='"+_391+"']";}};var _392=function(_393,_394,_395,_396){d.forEach(_394.attrs,function(attr){var _398;if(attr.type&&_393[attr.type]){_398=_393[attr.type](attr.attr,attr.matchFor);}else{if(attr.attr.length){_398=_395(attr.attr);}}if(_398){_396(_398);}});};var _399=function(_39a){var _39b=".";var _39c=_36a(d.trim(_39a));while(_39c.length){var tqp=_39c.shift();var _39e;if(tqp.oper==">"){_39e="/";tqp=_39c.shift();}else{_39e="//";}_39b+=_39e+tqp.tag;if(tqp.id){_39b+="[@id='"+tqp.id+"'][1]";}d.forEach(tqp.classes,function(cn){var cnl=cn.length;var _3a1=" ";if(cn.charAt(cnl-1)=="*"){_3a1="";cn=cn.su
 bstr(0,cnl-1);}_39b+="[contains(concat(' ',@class,' '), ' "+cn+_3a1+"')]";});_392(_385,tqp,function(_3a2){return "[@"+_3a2+"]";},function(_3a3){_39b+=_3a3;});}return _39b;};var _3a4={};var _3a5=function(path){if(_3a4[path]){return _3a4[path];}var doc=d.doc;var _3a8=_399(path);var tf=function(_3aa){var ret=[];var _3ac;try{_3ac=doc.evaluate(_3a8,_3aa,null,XPathResult.ANY_TYPE,null);}catch(e){console.debug("failure in exprssion:",_3a8,"under:",_3aa);console.debug(e);}var _3ad=_3ac.iterateNext();while(_3ad){ret.push(_3ad);_3ad=_3ac.iterateNext();}return ret;};return _3a4[path]=tf;};var _3ae={};var _3af={};var _3b0=function(_3b1,_3b2){if(!_3b1){return _3b2;}if(!_3b2){return _3b1;}return function(){return _3b1.apply(window,arguments)&&_3b2.apply(window,arguments);};};var _3b3=function(_3b4,_3b5,_3b6,idx){var nidx=idx+1;var _3b9=(_3b5.length==nidx);var tqp=_3b5[idx];if(tqp.oper==">"){var ecn=_3b4[_369];if(!ecn||!ecn.length){return;}nidx++;_3b9=(_3b5.length==nidx);var tf=_3bd(_3b5[i
 dx+1]);for(var x=0,ecnl=ecn.length,te;x<ecnl,te=ecn[x];x++){if(tf(te)){if(_3b9){_3b6.push(te);}else{_3b3(te,_3b5,_3b6,nidx);}}}}var _3c1=_3c2(tqp)(_3b4);if(_3b9){while(_3c1.length){_3b6.push(_3c1.shift());}}else{while(_3c1.length){_3b3(_3c1.shift(),_3b5,_3b6,nidx);}}};var _3c3=function(_3c4,_3c5){var ret=[];var x=_3c4.length-1,te;while(te=_3c4[x--]){_3b3(te,_3c5,ret,0);}return ret;};var _3bd=function(q){if(_3ae[q.query]){return _3ae[q.query];}var ff=null;if(q.tag){if(q.tag=="*"){ff=_3b0(ff,function(elem){return (elem.nodeType==1);});}else{ff=_3b0(ff,function(elem){return ((elem.nodeType==1)&&(q.tag==elem.tagName.toLowerCase()));});}}if(q.id){ff=_3b0(ff,function(elem){return ((elem.nodeType==1)&&(elem.id==q.id));});}if(q.hasLoops){ff=_3b0(ff,_3ce(q));}return _3ae[q.query]=ff;};var _3cf=function(node){var pn=node.parentNode;var pnc=pn.childNodes;var nidx=-1;var _3d4=pn.firstChild;if(!_3d4){return nidx;}var ci=node["__cachedIndex"];var cl=pn["__cachedLength"];if(((typeof cl=="n
 umber")&&(cl!=pnc.length))||(typeof ci!="number")){pn["__cachedLength"]=pnc.length;var idx=1;do{if(_3d4===node){nidx=idx;}if(_3d4.nodeType==1){_3d4["__cachedIndex"]=idx;idx++;}_3d4=_3d4.nextSibling;}while(_3d4);}else{nidx=ci;}return nidx;};var _3d8=0;var _3d9="";var _3da=function(elem,attr){if(attr=="class"){return elem.className||_3d9;}if(attr=="for"){return elem.htmlFor||_3d9;}return elem.getAttribute(attr,2)||_3d9;};var _3dd={"*=":function(attr,_3df){return function(elem){return (_3da(elem,attr).indexOf(_3df)>=0);};},"^=":function(attr,_3e2){return function(elem){return (_3da(elem,attr).indexOf(_3e2)==0);};},"$=":function(attr,_3e5){var tval=" "+_3e5;return function(elem){var ea=" "+_3da(elem,attr);return (ea.lastIndexOf(_3e5)==(ea.length-_3e5.length));};},"~=":function(attr,_3ea){var tval=" "+_3ea+" ";return function(elem){var ea=" "+_3da(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3ef){var _3f0=" "+_3ef+"-";return function(elem){var ea=" "+(elem.
 getAttribute(attr,2)||"");return ((ea==_3ef)||(ea.indexOf(_3f0)==0));};},"=":function(attr,_3f4){return function(elem){return (_3da(elem,attr)==_3f4);};}};var _3f6={"first-child":function(name,_3f8){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,_3fc){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,_400){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;};},"not":function(name,_407){var ntf=_3bd(_36a(_407)[0]);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_40b){var pi=parseInt;if(_40b=="odd"){return function(elem){return (((_3cf(elem))%2)==1);};}else{if((_40b=="2n")||(_40b=="even"))
 {return function(elem){return ((_3cf(elem)%2)==0);};}else{if(_40b.indexOf("0n+")==0){var _40f=pi(_40b.substr(3));return function(elem){return (elem.parentNode[_369][_40f-1]===elem);};}else{if((_40b.indexOf("n+")>0)&&(_40b.length>3)){var _411=_40b.split("n+",2);var pred=pi(_411[0]);var idx=pi(_411[1]);return function(elem){return ((_3cf(elem)%pred)==idx);};}else{if(_40b.indexOf("n")==-1){var _40f=pi(_40b);return function(elem){return (_3cf(elem)==_40f);};}}}}}}};var _416=(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 _3ce=function(_41c){var _41d=(_3af[_41c.query]||_3ae[_41c.query]);if(_41d){return _41d;}var ff=null;if(_41c.id){if(_41c.tag!="*"){ff=_3b0(ff,function(elem){return (elem.tagName.toLowerCase()==_41c.tag);});}}d.forEach(_41c.classes,function(_420,idx,arr){var _423=_420.charAt(_420.length-1)=="*";if(_423){_4
 20=_420.substr(0,_420.length-1);}var re=new RegExp("(?:^|\\s)"+_420+(_423?".*":"")+"(?:\\s|$)");ff=_3b0(ff,function(elem){return re.test(elem.className);});ff.count=idx;});d.forEach(_41c.pseudos,function(_426){if(_3f6[_426.name]){ff=_3b0(ff,_3f6[_426.name](_426.name,_426.value));}});_392(_3dd,_41c,_416,function(_427){ff=_3b0(ff,_427);});if(!ff){ff=function(){return true;};}return _3af[_41c.query]=ff;};var _428={};var _3c2=function(_429,root){var fHit=_428[_429.query];if(fHit){return fHit;}if(_429.id&&!_429.hasLoops&&!_429.tag){return _428[_429.query]=function(root){return [d.byId(_429.id)];};}var _42d=_3ce(_429);var _42e;if(_429.tag&&_429.id&&!_429.hasLoops){_42e=function(root){var te=d.byId(_429.id);if(_42d(te)){return [te];}};}else{var tret;if(!_429.hasLoops){_42e=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_429.tag);while(te=tret[x++]){ret.push(te);}return ret;};}else{_42e=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_429.tag
 );while(te=tret[x++]){if(_42d(te)){ret.push(te);}}return ret;};}}return _428[_429.query]=_42e;};var _43a={};var _43b={"*":d.isIE?function(root){return root.all;}:function(root){return root.getElementsByTagName("*");},">":function(root){var ret=[];var te,x=0,tret=root[_369];while(te=tret[x++]){if(te.nodeType==1){ret.push(te);}}return ret;}};var _443=function(_444){var _445=_36a(d.trim(_444));if(_445.length==1){var tt=_3c2(_445[0]);tt.nozip=true;return tt;}var sqf=function(root){var _449=_445.slice(0);var _44a;if(_449[0].oper==">"){_44a=[root];}else{_44a=_3c2(_449.shift())(root);}return _3c3(_44a,_449);};return sqf;};var _44b=((document["evaluate"]&&!d.isSafari)?function(_44c){var _44d=_44c.split(" ");if((document["evaluate"])&&(_44c.indexOf(":")==-1)&&((true))){if(((_44d.length>2)&&(_44c.indexOf(">")==-1))||(_44d.length>3)||(_44c.indexOf("[")>=0)||((1==_44d.length)&&(0<=_44c.indexOf(".")))){return _3a5(_44c);}}return _443(_44c);}:_443);var _44e=function(_44f){if(_43b[_44f]){r
 eturn _43b[_44f];}if(0>_44f.indexOf(",")){return _43b[_44f]=_44b(_44f);}else{var _450=_44f.split(/\s*,\s*/);var tf=function(root){var _453=0;var ret=[];var tp;while(tp=_450[_453++]){ret=ret.concat(_44b(tp,tp.indexOf(" "))(root));}return ret;};return _43b[_44f]=tf;}};var _456=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;}_456++;arr[0]["_zipIdx"]=_456;for(var x=1,te;te=arr[x];x++){if(arr[x]["_zipIdx"]!=_456){ret.push(te);}te["_zipIdx"]=_456;}return ret;};d.query=function(_45c,root){if(_45c.constructor==d.NodeList){return _45c;}if(!d.isString(_45c)){return new d.NodeList(_45c);}if(d.isString(root)){root=d.byId(root);}return _zip(_44e(_45c)(root||d.doc));};d._filterQueryResult=function(_45e,_45f){var tnl=new d.NodeList();var ff=(_45f)?_3bd(_36a(_45f)[0]):function(){return true;};for(var x=0,te;te=_45e[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,_467){var val=obj[name];if(_d.isString(val)){obj[name]=[val,_467];}else{if(_d.isArray(val)){val.push(_467);}else{obj[name]=_467;}}};dojo.formToObject=function(_469){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,_469).filter(function(node){return !node.disabled;}).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 _473=[];var _474={};for(var name in map){var _476=map[name];if(_476!=_474[name]){var _477=enc(name)+"=";if(_d.isArray(_476)){for(var i=0;i<_476.length;i++){_473.push(_477+enc(_476[i]));}}else{_473.push(_477+enc(_476));}}}return _473.join("&");};dojo.formToQuery=function(_479){return _d.objectToQuery(_d.formToObject(_479));};dojo.formToJson=function(_47a,_47b){return _d.toJson(_d.formToObject(_47a),_47b);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_d.forEach(qp,function(item){if(item.length){var _481=item.split("=");var name=dec(_481.shift());var val=dec(_481.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){if(!djConfig.usePlainJson){console.warn("Consider using mimetype:text/json-comment-filt
 ered"+" to avoid potential security issues with JSON endpoints"+" (use djConfig.usePlainJson=true to turn off this message)");}return _d.fromJson(xhr.responseText);},"json-comment-filtered":function(xhr){var _487=xhr.responseText;var _488=_487.indexOf("/*");var _489=_487.lastIndexOf("*/");if(_488==-1||_489==-1){throw new Error("JSON was not comment filtered");}return _d.fromJson(_487.substring(_488+2,_489));},"javascript":function(xhr){return _d.eval(xhr.responseText);},"xml":function(xhr){var _48c=xhr.responseXML;if(_d.isIE&&(!_48c||window.location.protocol=="file:")){_d.forEach(["MSXML2","Microsoft","MSXML","MSXML3"],function(_48d){try{var dom=new ActiveXObject(_48d+".XMLDOM");dom.async=false;dom.loadXML(xhr.responseText);_48c=dom;}catch(e){}});}return _48c;}};dojo._contentHandlers["json-comment-optional"]=function(xhr){var _490=_d._contentHandlers;try{return _490["json-comment-filtered"](xhr);}catch(e){return _490["json"](xhr);}};dojo._ioSetArgs=function(args,_492,_493,_4
 94){var _495={args:args,url:args.url};var _496=null;if(args.form){var form=_d.byId(args.form);var _498=form.getAttributeNode("action");_495.url=_495.url||(_498?_498.value:null);_496=_d.formToObject(form);}var _499=[{}];if(_496){_499.push(_496);}if(args.content){_499.push(args.content);}if(args.preventCache){_499.push({"dojo.preventCache":new Date().valueOf()});}_495.query=_d.objectToQuery(_d.mixin.apply(null,_499));_495.handleAs=args.handleAs||"text";var d=new _d.Deferred(_492);d.addCallbacks(_493,function(_49b){return _494(_49b,d);});var ld=args.load;if(ld&&_d.isFunction(ld)){d.addCallback(function(_49d){return ld.call(args,_49d,_495);});}var err=args.error;if(err&&_d.isFunction(err)){d.addErrback(function(_49f){return err.call(args,_49f,_495);});}var _4a0=args.handle;if(_4a0&&_d.isFunction(_4a0)){d.addBoth(function(_4a1){return _4a0.call(args,_4a1,_495);});}d.ioArgs=_495;return d;};var _4a2=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 _4a7=function(dfd){return _d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);};var _4a9=function(_4aa,dfd){console.debug(_4aa);return _4aa;};var _4ac=function(args){var dfd=_d._ioSetArgs(args,_4a2,_4a7,_4a9);dfd.ioArgs.xhr=_d._xhrObj(dfd.ioArgs.args);return dfd;};var _4af=null;var _4b0=[];var _4b1=function(){var now=(new Date()).getTime();if(!_d._blockAsync){for(var i=0,tif;i<_4b0.length&&(tif=_4b0[i]);i++){var dfd=tif.dfd;try{if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_4b0.splice(i--,1);}else{if(tif.ioCheck(dfd)){_4b0.splice(i--,1);tif.resHandle(dfd);}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_4b0.splice(i--,1);var err=new Error("timeout exceeded");err.dojoType="timeout";dfd.errback(err);dfd.cancel();}}}}}catch(e){console.debug(e);dfd.errback(new Error("_watchInFlightError!"));}}}if(!_4b0.length){clearInterval(_4af);
 _4af=null;return;}};dojo._ioCancelAll=function(){try{_d.forEach(_4b0,function(i){i.dfd.cancel();});}catch(e){}};if(_d.isIE){_d.addOnUnload(_d._ioCancelAll);}_d._ioWatch=function(dfd,_4b9,_4ba,_4bb){if(dfd.ioArgs.args.timeout){dfd.startTime=(new Date()).getTime();}_4b0.push({dfd:dfd,validCheck:_4b9,ioCheck:_4ba,resHandle:_4bb});if(!_4af){_4af=setInterval(_4b1,50);}_4b1();};var _4bc="application/x-www-form-urlencoded";var _4bd=function(dfd){return dfd.ioArgs.xhr.readyState;};var _4bf=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _4c1=function(dfd){var xhr=dfd.ioArgs.xhr;if(_d._isDocumentOk(xhr)){dfd.callback(dfd);}else{var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);err.status=xhr.status;err.responseText=xhr.responseText;dfd.errback(err);}};var _4c5=function(type,dfd){var _4c8=dfd.ioArgs;var args=_4c8.args;_4c8.xhr.open(type,_4c8.url,args.sync!==true,args.user||undefined,args.password||undefined);if(args.headers){for(var hdr in args.headers)
 {if(hdr.toLowerCase()==="content-type"&&!args.contentType){args.contentType=args.headers[hdr];}else{_4c8.xhr.setRequestHeader(hdr,args.headers[hdr]);}}}_4c8.xhr.setRequestHeader("Content-Type",args.contentType||_4bc);try{_4c8.xhr.send(_4c8.query);}catch(e){dfd.cancel();}_d._ioWatch(dfd,_4bd,_4bf,_4c1);return dfd;};dojo._ioAddQueryToUrl=function(_4cb){if(_4cb.query.length){_4cb.url+=(_4cb.url.indexOf("?")==-1?"?":"&")+_4cb.query;_4cb.query=null;}};dojo.xhrGet=function(args){var dfd=_4ac(args);_d._ioAddQueryToUrl(dfd.ioArgs);return _4c5("GET",dfd);};dojo.xhrPost=function(args){return _4c5("POST",_4ac(args));};dojo.rawXhrPost=function(args){var dfd=_4ac(args);dfd.ioArgs.query=args.postData;return _4c5("POST",dfd);};dojo.xhrPut=function(args){return _4c5("PUT",_4ac(args));};dojo.rawXhrPut=function(args){var dfd=_4ac(args);var _4d4=dfd.ioArgs;if(args.putData){_4d4.query=args.putData;args.putData=null;}return _4c5("PUT",dfd);};dojo.xhrDelete=function(args){var dfd=_4ac(args);_d._i
 oAddQueryToUrl(dfd.ioArgs);return _4c5("DELETE",dfd);};})();}if(!dojo._hasResource["dojo._base.fx"]){dojo._hasResource["dojo._base.fx"]=true;dojo.provide("dojo._base.fx");dojo._Line=function(_4d7,end){this.start=_4d7;this.end=end;this.getValue=function(n){return ((this.end-this.start)*n)+this.start;};};dojo.declare("dojo._Animation",null,{constructor:function(args){dojo.mixin(this,args);if(dojo.isArray(this.curve)){this.curve=new dojo._Line(this.curve[0],this.curve[1]);}},duration:1000,repeat:0,rate:10,_percent:0,_startRepeatCount:0,fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;},play:function(_4dd,_4de){var _t=this;if(_4de){_t._stopTimer();_t._active=_t._paused=false;_t._percent=0;}else{if(_t._active&&!_t._paused){return _t;}}_t.fire("beforeBegin");var d=_4dd||_t.delay;var _p=dojo.hitch(_t,"_play",_4de);if(d>0){setTimeout(_p,d);return _t;}_p();return _t;},_play:function(_4e2){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 _4e4=_t.curve.getValue(_t._percent);if(!_t._percent){if(!_t._startRepeatCount){_t._startRepeatCount=_t.repeat;}_t.fire("onBegin",[_4e4]);}_t.fire("onPlay",[_4e4]);_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(_4e5,_4e6){this._stopTimer();this._active=this._paused=true;this._percent=_4e5;if(_4e6){this.play();}return this;},stop:function(_4e7){if(!this._timer){return;}this._stopTimer();if(_4e7){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");}}return _t;}});(function(){var d=dojo;var ctr=0;var _4ed=[];var _4ee={run:function(){}};var _4ef=null;dojo._Animation.prototype._startTimer=function(){if(!this._timer){this._timer=dojo.connect(_4ee,"run",this,"_cycle");ctr++;}if(!_4ef){_4ef=setInterval(dojo.hitch(_4ee,"run"),this.rate);}};dojo._Animation.prototype._stopTimer=function(){dojo.disconnect(this._timer);this._timer=null;ctr--;if(!ctr){clearInterval(_4ef);_4ef=null;}};var _4f0=(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(n
 ode,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=d.byId(args.node);var _4f4=d.mixin({properties:{}},args);var _4f5=(_4f4.properties.opacity={});_4f5.start=!("start" in _4f4)?function(){return Number(d.style(_4f4.node,"opacity"));}:_4f4.start;_4f5.end=_4f4.end;var anim=d.animateProperty(_4f4);d.connect(anim,"beforeBegin",d.partial(_4f0,_4f4.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 _4fa=function(_4fb){this._properties=_4fb;for(var p in _4fb){var prop=_4fb[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 _502=prop.start;if(_502 instanceof d.Color){ret[p]=d.blendColors(_502,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(
 _502)){ret[p]=((prop.end-_502)*r)+_502+(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){var prop=(pm[p]=d.mixin({},this.properties[p]));if(d.isFunction(prop.start)){prop.start=prop.start();}if(d.isFunction(prop.end)){prop.end=prop.end();}var _508=(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):parseFloat(v);};if(!("end" in prop)){prop.end=getStyle(this.node,p);}else{if(!("start" in prop)){prop.start=getStyle(this.node,p);}}if(_508){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 _4fa(pm);
 });d.connect(anim,"onAnimate",anim,function(_50c){for(var s in _50c){d.style(this.node,s,_50c[s]);}});return anim;};})();}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_50e,_50f,_510){_510=dojo.i18n.normalizeLocale(_510);var _511=_510.split("-");var _512=[_50e,"nls",_50f].join(".");var _513=dojo._loadedModules[_512];if(_513){var _514;for(var i=_511.length;i>0;i--){var loc=_511.slice(0,i).join("_");if(_513[loc]){_514=_513[loc];break;}}if(!_514){_514=_513.ROOT;}if(_514){var _517=function(){};_517.prototype=_514;return new _517();}}throw new Error("Bundle not found: "+_50f+" in "+_50e+" , locale="+_510);};dojo.i18n.normalizeLocale=function(_518){var _519=_518?_518.toLowerCase():dojo.locale;if(_519=="root"){_519="ROOT";}return _519;};dojo.i18n._requireLocalization=function(_51a,_51b,_51c,_51d){var _51e=dojo.i18n.normalizeLocale(_51c);var _51f=[_51a,"nls",_51b].join(".");var _520="";if(_51d){va
 r _521=_51d.split(",");for(var i=0;i<_521.length;i++){if(_51e.indexOf(_521[i])==0){if(_521[i].length>_520.length){_520=_521[i];}}}if(!_520){_520="ROOT";}}var _523=_51d?_520:_51e;var _524=dojo._loadedModules[_51f];var _525=null;if(_524){if(djConfig.localizationComplete&&_524._built){return;}var _526=_523.replace(/-/g,"_");var _527=_51f+"."+_526;_525=dojo._loadedModules[_527];}if(!_525){_524=dojo["provide"](_51f);var syms=dojo._getModuleSymbols(_51a);var _529=syms.concat("nls").join("/");var _52a;dojo.i18n._searchLocalePath(_523,_51d,function(loc){var _52c=loc.replace(/-/g,"_");var _52d=_51f+"."+_52c;var _52e=false;if(!dojo._loadedModules[_52d]){dojo["provide"](_52d);var _52f=[_529];if(loc!="ROOT"){_52f.push(loc);}_52f.push(_51b);var _530=_52f.join("/")+".js";_52e=dojo._loadPath(_530,null,function(hash){var _532=function(){};_532.prototype=_52a;_524[_52c]=new _532();for(var j in hash){_524[_52c][j]=hash[j];}});}else{_52e=true;}if(_52e&&_524[_52c]){_52a=_524[_52c];}else{_524[_5
 2c]=_52a;}if(_51d){return true;}});}if(_51d&&_51e!=_520){_524[_51e.replace(/-/g,"_")]=_524[_520.replace(/-/g,"_")];}};(function(){var _534=djConfig.extraLocale;if(_534){if(!_534 instanceof Array){_534=[_534];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_538,_539){req(m,b,_538,_539);if(_538){return;}for(var i=0;i<_534.length;i++){req(m,b,_534[i],_539);}};}})();dojo.i18n._searchLocalePath=function(_53b,down,_53d){_53b=dojo.i18n.normalizeLocale(_53b);var _53e=_53b.split("-");var _53f=[];for(var i=_53e.length;i>0;i--){_53f.push(_53e.slice(0,i).join("-"));}_53f.push(false);if(down){_53f.reverse();}for(var j=_53f.length-1;j>=0;j--){var loc=_53f[j]||"ROOT";var stop=_53d(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_544,_545){function preload(_546){_546=dojo.i18n.normalizeLocale(_546);dojo.i18n._searchLocalePath(_546,true,function(loc){for(var i=0;i<_545.length;i++){if(_545[i]==loc){dojo["require"](_544+"_"+loc);return true;
 }}return false;});};preload();var _549=djConfig.extraLocale||[];for(var i=0;i<_549.length;i++){preload(_549[i]);}};}



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message