/* Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ /* 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 _7=_1[i];_2+="var "+_7[0]+" = {}; "+_7[1]+" = "+_7[0]+";"+_7[1]+"._scopeName = '"+_7[1]+"';";_3+=(i==0?"":",")+_7[0];_4+=(i==0?"":",")+_7[1];_5[_7[0]]=_7[1];_6[_7[1]]=_7[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}(function(){if(typeof this["loadFirebugConsole"]=="function"){this["loadFirebugConsole"]();}else{this.console=this.console||{};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 _8=tn+"";console[_8]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(_8+":");console["log"](a.join(" "));}:function(){};console[_8]._fake=true;})();}}}if(typeof dojo=="undefined"){dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){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 _9 in djConfig){d.config[_9]=djConfig[_9];}}dojo.locale=d.config.locale;var _a="$Rev: 20973 $".match(/\d+/);dojo.version={major:1,minor:4,patch:0,flag:"",revision:_a?+_a[0]:NaN,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());}var _b,_c,_d={};for(var i in {toString:1}){_b=[];break;}dojo._extraNames=_b=_b||["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"];_c=_b.length;dojo._mixin=function(_e,_f){var _10,s,i;for(_10 in _f){s=_f[_10];if(!(_10 in _e)||(_e[_10]!==s&&(!(_10 in _d)||_d[_10]!==s))){_e[_10]=s;}}if(_c&&_f){for(i=0;i<_c;++i){_10=_b[i];s=_f[_10];if(!(_10 in _e)||(_e[_10]!==s&&(!(_10 in _d)||_d[_10]!==s))){_e[_10]=s;}}}return _e;};dojo.mixin=function(obj,_11){if(!obj){obj={};}for(var i=1,l=arguments.length;i0){console.warn("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(d.config.useXDomain&&d.isOpera)){setTimeout(d.isAIR?function(){d.loaded();}:d._scopeName+".loaded();",0);}else{d.loaded();}};dojo._getModuleSymbols=function(_23){var _24=_23.split(".");for(var i=_24.length;i>0;i--){var _25=_24.slice(0,i).join(".");if(i==1&&!d._moduleHasPrefix(_25)){_24[0]="../"+_24[0];}else{var _26=d._getModulePrefix(_25);if(_26!=_25){_24.splice(0,i,_26);break;}}}return _24;};dojo._global_omit_module_check=false;dojo.loadInit=function(_27){_27();};dojo._loadModule=dojo.require=function(_28,_29){_29=d._global_omit_module_check||_29;var _2a=d._loadedModules[_28];if(_2a){return _2a;}var _2b=d._getModuleSymbols(_28).join("/")+".js";var _2c=!_29?_28:null;var ok=d._loadPath(_2b,_2c);if(!ok&&!_29){throw new Error("Could not load '"+_28+"'; last tried '"+_2b+"'");}if(!_29&&!d._isXDomain){_2a=d._loadedModules[_28];if(!_2a){throw new Error("symbol '"+_28+"' is not defined after loading '"+_2b+"'");}}return _2a;};dojo.provide=function(_2d){_2d=_2d+"";return (d._loadedModules[_2d]=d.getObject(_2d,true));};dojo.platformRequire=function(_2e){var _2f=_2e.common||[];var _30=_2f.concat(_2e[d._name]||_2e["default"]||[]);for(var x=0;x<_30.length;x++){var _31=_30[x];if(_31.constructor==Array){d._loadModule.apply(d,_31);}else{d._loadModule(_31);}}};dojo.requireIf=function(_32,_33){if(_32===true){var _34=[];for(var i=1;i0&&!(j==1&&_3f[0]=="")&&_3f[j]==".."&&_3f[j-1]!=".."){if(j==(_3f.length-1)){_3f.splice(j,1);_3f[j-1]="";}else{_3f.splice(j-1,2);j-=2;}}}}_3c.path=_3f.join("/");}}}}uri=[];if(_3c.scheme){uri.push(_3c.scheme,":");}if(_3c.authority){uri.push("//",_3c.authority);}uri.push(_3c.path);if(_3c.query){uri.push("?",_3c.query);}if(_3c.fragment){uri.push("#",_3c.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(_40,url){var loc=d._getModuleSymbols(_40).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _41=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_41==-1||_41>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};})();dojo.provide("dojo._base._loader.loader_xd");dojo._xdReset=function(){dojo._isXDomain=dojo.config.useXDomain||false;dojo._xdClearInterval();dojo._xdInFlight={};dojo._xdOrderedReqs=[];dojo._xdDepMap={};dojo._xdContents=[];dojo._xdDefList=[];};dojo._xdClearInterval=function(){if(dojo._xdTimer){clearInterval(dojo._xdTimer);dojo._xdTimer=0;}};dojo._xdReset();dojo._xdCreateResource=function(_42,_43,_44){var _45=_42.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"");var _46=[];var _47=/dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\s*\(([\w\W]*?)\)/mg;var _48;while((_48=_47.exec(_45))!=null){if(_48[1]=="requireLocalization"){eval(_48[0]);}else{_46.push("\""+_48[1]+"\", "+_48[2]);}}var _49=[];_49.push(dojo._scopeName+"._xdResourceLoaded(function("+dojo._scopePrefixArgs+"){\n");var _4a=dojo._xdExtractLoadInits(_42);if(_4a){_42=_4a[0];for(var i=1;i<_4a.length;i++){_49.push(_4a[i]+";\n");}}_49.push("return {");if(_46.length>0){_49.push("depends: [");for(i=0;i<_46.length;i++){if(i>0){_49.push(",\n");}_49.push("["+_46[i]+"]");}_49.push("],");}_49.push("\ndefineResource: function("+dojo._scopePrefixArgs+"){");if(!dojo.config["debugAtAllCosts"]||_43=="dojo._base._loader.loader_debug"){_49.push(_42);}_49.push("\n}, resourceName: '"+_43+"', resourcePath: '"+_44+"'};});");return _49.join("");};dojo._xdExtractLoadInits=function(_4b){var _4c=/dojo.loadInit\s*\(/g;_4c.lastIndex=0;var _4d=/[\(\)]/g;_4d.lastIndex=0;var _4e=[];var _4f;while((_4f=_4c.exec(_4b))){_4d.lastIndex=_4c.lastIndex;var _50=1;var _51;while((_51=_4d.exec(_4b))){if(_51[0]==")"){_50-=1;}else{_50+=1;}if(_50==0){break;}}if(_50!=0){throw "unmatched paren around character "+_4d.lastIndex+" in: "+_4b;}var _52=_4c.lastIndex-_4f[0].length;_4e.push(_4b.substring(_52,_4d.lastIndex));var _53=_4d.lastIndex-_52;_4b=_4b.substring(0,_52)+_4b.substring(_4d.lastIndex,_4b.length);_4c.lastIndex=_4d.lastIndex-_53;_4c.lastIndex=_4d.lastIndex;}if(_4e.length>0){_4e.unshift(_4b);}return (_4e.length?_4e:null);};dojo._xdIsXDomainPath=function(_54){var _55=_54.indexOf(":");var _56=_54.indexOf("/");if(_55>0&&_55<_56){return true;}else{var url=dojo.baseUrl;_55=url.indexOf(":");_56=url.indexOf("/");if(_55>0&&_55<_56&&(!location.host||url.indexOf("http://"+location.host)!=0)){return true;}}return false;};dojo._loadPath=function(_57,_58,cb){var _59=dojo._xdIsXDomainPath(_57);dojo._isXDomain|=_59;var uri=((_57.charAt(0)=="/"||_57.match(/^\w+:/))?"":dojo.baseUrl)+_57;try{return ((!_58||dojo._isXDomain)?dojo._loadUri(uri,cb,_59,_58):dojo._loadUriAndCheck(uri,_58,cb));}catch(e){console.error(e);return false;}};dojo._xdCharSet="utf-8";dojo._loadUri=function(uri,cb,_5a,_5b){if(dojo._loadedUrls[uri]){return 1;}if(dojo._isXDomain&&_5b&&_5b!="dojo.i18n"){dojo._xdOrderedReqs.push(_5b);if(_5a||uri.indexOf("/nls/")==-1){dojo._xdInFlight[_5b]=true;dojo._inFlightCount++;}if(!dojo._xdTimer){if(dojo.isAIR){dojo._xdTimer=setInterval(function(){dojo._xdWatchInFlight();},100);}else{dojo._xdTimer=setInterval(dojo._scopeName+"._xdWatchInFlight();",100);}}dojo._xdStartTime=(new Date()).getTime();}if(_5a){var _5c=uri.lastIndexOf(".");if(_5c<=0){_5c=uri.length-1;}var _5d=uri.substring(0,_5c)+".xd";if(_5c!=uri.length-1){_5d+=uri.substring(_5c,uri.length);}if(dojo.isAIR){_5d=_5d.replace("app:/","/");}var _5e=document.createElement("script");_5e.type="text/javascript";if(dojo._xdCharSet){_5e.charset=dojo._xdCharSet;}_5e.src=_5d;if(!dojo.headElement){dojo._headElement=document.getElementsByTagName("head")[0];if(!dojo._headElement){dojo._headElement=document.getElementsByTagName("html")[0];}}dojo._headElement.appendChild(_5e);}else{var _5f=dojo._getText(uri,null,true);if(_5f==null){return 0;}if(dojo._isXDomain&&uri.indexOf("/nls/")==-1&&_5b!="dojo.i18n"){var res=dojo._xdCreateResource(_5f,_5b,uri);dojo.eval(res);}else{if(cb){_5f="("+_5f+")";}else{_5f=dojo._scopePrefix+_5f+dojo._scopeSuffix;}var _60=dojo["eval"](_5f+"\r\n//@ sourceURL="+uri);if(cb){cb(_60);}}}dojo._loadedUrls[uri]=true;dojo._loadedUrls.push(uri);return true;};dojo._xdResourceLoaded=function(res){res=res.apply(dojo.global,dojo._scopeArgs);var _61=res.depends;var _62=null;var _63=null;var _64=[];if(_61&&_61.length>0){var dep=null;var _65=0;var _66=false;for(var i=0;i<_61.length;i++){dep=_61[i];if(dep[0]=="provide"){_64.push(dep[1]);}else{if(!_62){_62=[];}if(!_63){_63=[];}var _67=dojo._xdUnpackDependency(dep);if(_67.requires){_62=_62.concat(_67.requires);}if(_67.requiresAfter){_63=_63.concat(_67.requiresAfter);}}var _68=dep[0];var _69=_68.split(".");if(_69.length==2){dojo[_69[0]][_69[1]].apply(dojo[_69[0]],dep.slice(1));}else{dojo[_68].apply(dojo,dep.slice(1));}}if(_64.length==1&&_64[0]=="dojo._base._loader.loader_debug"){res.defineResource(dojo);}else{var _6a=dojo._xdContents.push({content:res.defineResource,resourceName:res["resourceName"],resourcePath:res["resourcePath"],isDefined:false})-1;for(i=0;i<_64.length;i++){dojo._xdDepMap[_64[i]]={requires:_62,requiresAfter:_63,contentIndex:_6a};}}for(i=0;i<_64.length;i++){dojo._xdInFlight[_64[i]]=false;}}};dojo._xdLoadFlattenedBundle=function(_6b,_6c,_6d,_6e){_6d=_6d||"root";var _6f=dojo.i18n.normalizeLocale(_6d).replace("-","_");var _70=[_6b,"nls",_6c].join(".");var _71=dojo["provide"](_70);_71[_6f]=_6e;var _72=[_6b,_6f,_6c].join(".");var _73=dojo._xdBundleMap[_72];if(_73){for(var _74 in _73){_71[_74]=_6e;}}};dojo._xdInitExtraLocales=function(){var _75=dojo.config.extraLocale;if(_75){if(!_75 instanceof Array){_75=[_75];}dojo._xdReqLoc=dojo.xdRequireLocalization;dojo.xdRequireLocalization=function(m,b,_76,_77){dojo._xdReqLoc(m,b,_76,_77);if(_76){return;}for(var i=0;i<_75.length;i++){dojo._xdReqLoc(m,b,_75[i],_77);}};}};dojo._xdBundleMap={};dojo.xdRequireLocalization=function(_78,_79,_7a,_7b){if(dojo._xdInitExtraLocales){dojo._xdInitExtraLocales();dojo._xdInitExtraLocales=null;dojo.xdRequireLocalization.apply(dojo,arguments);return;}var _7c=_7b.split(",");var _7d=dojo.i18n.normalizeLocale(_7a);var _7e="";for(var i=0;i<_7c.length;i++){if(_7d.indexOf(_7c[i])==0){if(_7c[i].length>_7e.length){_7e=_7c[i];}}}var _7f=_7e.replace("-","_");var _80=dojo.getObject([_78,"nls",_79].join("."));if(!_80||!_80[_7f]){var _81=[_78,(_7f||"root"),_79].join(".");var _82=dojo._xdBundleMap[_81];if(!_82){_82=dojo._xdBundleMap[_81]={};}_82[_7d.replace("-","_")]=true;dojo.require(_78+".nls"+(_7e?"."+_7e:"")+"."+_79);}};dojo._xdRealRequireLocalization=dojo.requireLocalization;dojo.requireLocalization=function(_83,_84,_85,_86){var _87=dojo.moduleUrl(_83).toString();if(dojo._xdIsXDomainPath(_87)){return dojo.xdRequireLocalization.apply(dojo,arguments);}else{return dojo._xdRealRequireLocalization.apply(dojo,arguments);}};dojo._xdUnpackDependency=function(dep){var _88=null;var _89=null;switch(dep[0]){case "requireIf":case "requireAfterIf":if(dep[1]===true){_88=[{name:dep[2],content:null}];}break;case "platformRequire":var _8a=dep[1];var _8b=_8a["common"]||[];_88=(_8a[dojo.hostenv.name_])?_8b.concat(_8a[dojo.hostenv.name_]||[]):_8b.concat(_8a["default"]||[]);if(_88){for(var i=0;i<_88.length;i++){if(_88[i] instanceof Array){_88[i]={name:_88[i][0],content:null};}else{_88[i]={name:_88[i],content:null};}}}break;case "require":_88=[{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"){_89=_88;_88=null;}return {requires:_88,requiresAfter:_89};};dojo._xdWalkReqs=function(){var _8c=null;var req;for(var i=0;i0){var req=_8d[_8d.length-1];var res=dojo._xdDepMap[req];var i,_8e,_8f;if(res){_8e=res.requires;if(_8e&&_8e.length>0){for(i=0;i<_8e.length;i++){_8f=_8e[i].name;if(_8f&&!_8d[_8f]){_8d.push(_8f);_8d[_8f]=true;dojo._xdEvalReqs(_8d);}}}var _90=dojo._xdContents[res.contentIndex];if(!_90.isDefined){var _91=_90.content;_91["resourceName"]=_90["resourceName"];_91["resourcePath"]=_90["resourcePath"];dojo._xdDefList.push(_91);_90.isDefined=true;}dojo._xdDepMap[req]=null;_8e=res.requiresAfter;if(_8e&&_8e.length>0){for(i=0;i<_8e.length;i++){_8f=_8e[i].name;if(_8f&&!_8d[_8f]){_8d.push(_8f);_8d[_8f]=true;dojo._xdEvalReqs(_8d);}}}}_8d.pop();}};dojo._xdWatchInFlight=function(){var _92="";var _93=(dojo.config.xdWaitSeconds||15)*1000;var _94=(dojo._xdStartTime+_93)<(new Date()).getTime();for(var _95 in dojo._xdInFlight){if(dojo._xdInFlight[_95]===true){if(_94){_92+=_95+" ";}else{return;}}}dojo._xdClearInterval();if(_94){throw "Could not load cross-domain resources: "+_92;}dojo._xdWalkReqs();var _96=dojo._xdDefList.length;for(var i=0;i<_96;i++){var _97=dojo._xdDefList[i];if(dojo.config["debugAtAllCosts"]&&_97["resourceName"]){if(!dojo["_xdDebugQueue"]){dojo._xdDebugQueue=[];}dojo._xdDebugQueue.push({resourceName:_97.resourceName,resourcePath:_97.resourcePath});}else{_97.apply(dojo.global,dojo._scopeArgs);}}for(i=0;i0){dojo._xdDebugFileLoaded();}else{dojo._xdNotifyLoaded();}};dojo._xdNotifyLoaded=function(){for(var _99 in dojo._xdInFlight){if(typeof dojo._xdInFlight[_99]=="boolean"){return;}}dojo._inFlightCount=0;if(dojo._initFired&&!dojo._loadNotifying){dojo._callLoaded();}};if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var d=dojo;if(document&&document.getElementsByTagName){var _9a=document.getElementsByTagName("script");var _9b=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_9a.length;i++){var src=_9a[i].getAttribute("src");if(!src){continue;}var m=src.match(_9b);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_9a[i].getAttribute("djConfig");if(cfg){var _9c=eval("({ "+cfg+" })");for(var x in _9c){dojo.config[x]=_9c[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);if(dua.indexOf("Opera")>=0){d.isOpera=tv;}if(dua.indexOf("AdobeAIR")>=0){d.isAIR=1;}d.isKhtml=(dav.indexOf("Konqueror")>=0)?tv:0;d.isWebKit=parseFloat(dua.split("WebKit/")[1])||undefined;d.isChrome=parseFloat(dua.split("Chrome/")[1])||undefined;d.isMac=dav.indexOf("Macintosh")>=0;var _9d=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_9d&&!dojo.isChrome){d.isSafari=parseFloat(dav.split("Version/")[1]);if(!d.isSafari||parseFloat(dav.substr(_9d+7))<=419.3){d.isSafari=2;}}if(dua.indexOf("Gecko")>=0&&!d.isKhtml&&!d.isWebKit){d.isMozilla=d.isMoz=tv;}if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1])||undefined;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||undefined;var _9e=document.documentMode;if(_9e&&_9e!=5&&Math.floor(d.isIE)!=_9e){d.isIE=_9e;}}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}d.isQuirks=document.compatMode=="BackCompat";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 _9f,_a0;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_9f=new XMLHttpRequest();}catch(e){}}if(!_9f){for(var i=0;i<3;++i){var _a1=d._XMLHTTP_PROGIDS[i];try{_9f=new ActiveXObject(_a1);}catch(e){_a0=e;}if(_9f){d._XMLHTTP_PROGIDS=[_a1];break;}}}if(!_9f){throw new Error("XMLHTTP not available: "+_a0);}return _9f;};d._isDocumentOk=function(_a2){var _a3=_a2.status||0,lp=location.protocol;return (_a3>=200&&_a3<300)||_a3==304||_a3==1223||(!_a3&&(lp=="file:"||lp=="chrome:"||lp=="app:"));};var _a4=window.location+"";var _a5=document.getElementsByTagName("base");var _a6=(_a5&&_a5.length>0);d._getText=function(uri,_a7){var _a8=d._xhrObj();if(!_a6&&dojo._Url){uri=(new dojo._Url(_a4,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_a8.open("GET",uri,false);try{_a8.send(null);if(!d._isDocumentOk(_a8)){var err=Error("Unable to load "+uri+" status:"+_a8.status);err.status=_a8.status;err.responseText=_a8.responseText;throw err;}}catch(e){if(_a7){return null;}throw e;}return _a8.responseText;};var _a9=window;var _aa=function(_ab,fp){var _ac=_a9.attachEvent||_a9.addEventListener;_ab=_a9.attachEvent?_ab:_ab.substring(2);_ac(_ab,function(){fp.apply(_a9,arguments);},false);};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=d._windowUnloaders;while(mll.length){(mll.pop())();}};var _ad=0;d.addOnWindowUnload=function(obj,_ae){d._onto(d._windowUnloaders,obj,_ae);if(!_ad){_ad=1;_aa("onunload",d.windowUnloaded);}};var _af=0;d.addOnUnload=function(obj,_b0){d._onto(d._unloaders,obj,_b0);if(!_af){_af=1;_aa("onbeforeunload",dojo.unloaded);}};})();dojo._initFired=false;dojo._loadInit=function(e){if(!dojo._initFired){dojo._initFired=true;if(!dojo.config.afterOnLoad&&window.detachEvent){window.detachEvent("onload",dojo._loadInit);}if(dojo._inFlightCount==0){dojo._modulesLoaded();}}};if(!dojo.config.afterOnLoad){if(document.addEventListener){document.addEventListener("DOMContentLoaded",dojo._loadInit,false);window.addEventListener("load",dojo._loadInit,false);}else{if(window.attachEvent){window.attachEvent("onload",dojo._loadInit);}}}if(dojo.isIE){if(!dojo.config.afterOnLoad&&!dojo.config.skipIeDomLoaded){document.write(""+"");}try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");var _b1=["*","group","roundrect","oval","shape","rect","imagedata"],i=0,l=1,s=document.createStyleSheet();if(dojo.isIE>=8){i=1;l=_b1.length;}for(;i2){return d._hitchArgs.apply(d,arguments);}if(!_bb){_bb=_ba;_ba=null;}if(d.isString(_bb)){_ba=_ba||d.global;if(!_ba[_bb]){throw (["dojo.hitch: scope[\"",_bb,"\"] is null (scope=\"",_ba,"\")"].join(""));}return function(){return _ba[_bb].apply(_ba,arguments||[]);};}return !_ba?_bb:function(){return _bb.apply(_ba,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_bc){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_bc){d._mixin(tmp,_bc);}return tmp;};})();var _bd=function(obj,_be,_bf){return (_bf||[]).concat(Array.prototype.slice.call(obj,_be||0));};var _c0=function(obj,_c1,_c2){var arr=_c2||[];for(var x=_c1||0;xend)||i=0;--j){_f5=lin[j].prototype;if(!_f5.hasOwnProperty("declaredClass")){_f5.declaredClass="uniqName_"+(_ec++);}_f6=_f5.declaredClass;if(!_f2.hasOwnProperty(_f6)){_f2[_f6]={count:0,refs:[],cls:lin[j]};++_f3;}rec=_f2[_f6];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_f1[0].refs.push(top);}while(_f1.length){top=_f1.pop();_f0.push(top.cls);--_f3;while(_f7=top.refs,_f7.length==1){top=_f7[0];if(!top||--top.count){top=0;break;}_f0.push(top.cls);--_f3;}if(top){for(i=0,l=_f7.length;i=0;--i){f=_10b[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_10d?_10d[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _10e(ctor,_10f){return function(){var a=arguments,t=a,a0=a[0],f;if(_10f){if(a0){f=a0.preamble;if(f){t=f.apply(this,t)||t;}}f=this.preamble;if(f){f.apply(this,t);}}if(ctor){ctor.apply(this,a);}f=this.postscript;if(f){f.apply(this,a);}};};function _110(_111){return function(){var a=arguments,i=0,f;for(;f=_111[i];++i){m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,a);break;}}f=this.postscript;if(f){f.apply(this,a);}};};function _112(name,_113,_114){return function(){var b,m,f,i=0,step=1;if(_114){i=_113.length-1;step=-1;}for(;b=_113[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};d.declare=function(_115,_116,_117){var _118,i,t,ctor,name,_119,_11a,_11b=1,_11c=_116;if(typeof _115!="string"){_117=_116;_116=_115;_115="";}_117=_117||{};if(_ea.call(_116)=="[object Array]"){_119=_ee(_116);t=_119[0];_11b=_119.length-t;_116=_119[_11b];}else{_119=[0];if(_116){t=_116._meta;_119=_119.concat(t?t.bases:_116);}}if(_116){for(i=_11b-1;;--i){_eb.prototype=_116.prototype;_118=new _eb;if(!i){break;}t=_119[i];mix(_118,t._meta?t._meta.hidden:t.prototype);ctor=new Function;ctor.superclass=_116;ctor.prototype=_118;_116=_118.constructor=ctor;}}else{_118={};}_105(_118,_117);t=_117.constructor;if(t!==op.constructor){t.nom=_ed;_118.constructor=t;}_eb.prototype=0;for(i=_11b-1;i;--i){t=_119[i]._meta;if(t&&t.chains){_11a=mix(_11a||{},t.chains);}}if(_118["-chains-"]){_11a=mix(_11a||{},_118["-chains-"]);}t=!_11a||!_11a.hasOwnProperty(_ed);_119[0]=ctor=(_11a&&_11a.constructor==="manual")?_110(_119):(_119.length==1?_10e(_117.constructor,t):_10a(_119,t));ctor._meta={bases:_119,hidden:_117,chains:_11a,parents:_11c,ctor:_117.constructor};ctor.superclass=_116&&_116.prototype;ctor.extend=_108;ctor.prototype=_118;_118.constructor=ctor;_118.getInherited=_102;_118.inherited=_f8;_118.isInstanceOf=_103;if(_115){_118.declaredClass=_115;d.setObject(_115,ctor);}if(_11a){for(name in _11a){if(_118[name]&&typeof _11a[name]=="string"&&name!=_ed){t=_118[name]=_112(name,_119,_11a[name]==="after");t.nom=name;}}}return ctor;};d.safeMixin=_105;})();}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);var lls;lls=[].concat(ls);for(var i in lls){if(!(i in ap)){lls[i].apply(this,arguments);}}return r;};},add:function(_11d,_11e,_11f){_11d=_11d||dojo.global;var f=_11d[_11e];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_11d[_11e]=d;}return f._listeners.push(_11f);},remove:function(_120,_121,_122){var f=(_120||dojo.global)[_121];if(f&&f._listeners&&_122--){delete f._listeners[_122];}}};dojo.connect=function(obj,_123,_124,_125,_126){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=0&&!this.isFiring){this._fire();}return this;},_fire:function(){this.isFiring=true;var _137=this.chain;var _138=this.fired;var res=this.results[_138];var self=this;var cb=null;while((_137.length>0)&&(this.paused==0)){var f=_137.shift()[_138];if(!f){continue;}var func=function(){var ret=f(res);if(typeof ret!="undefined"){res=ret;}_138=((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++;}};if(dojo.config.debugAtAllCosts){func.call(this);}else{try{func.call(this);}catch(err){_138=1;res=err;}}}this.fired=_138;this.results[_138]=res;this.isFiring=false;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,_139,_13a){if(it===undefined){return "undefined";}var _13b=typeof it;if(_13b=="number"||_13b=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _13c=arguments.callee;var _13d;_13a=_13a||"";var _13e=_139?_13a+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_13d=tf.call(it);if(it!==_13d){return _13c(_13d,_139,_13e);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_139?" ":"";var _13f=_139?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_13c(obj,_139,_13e);if(typeof val!="string"){val="undefined";}return _13f+_13e+val;});return "["+res.join(","+sep)+_13f+_13a+"]";}if(_13b=="function"){return null;}var _140=[],key;for(key in it){var _141,val;if(typeof key=="number"){_141="\""+key+"\"";}else{if(typeof key=="string"){_141=dojo._escapeString(key);}else{continue;}}val=_13c(it[key],_139,_13e);if(typeof val!="string"){continue;}_140.push(_13f+_13e+_141+":"+sep+val);}return "{"+_140.join(","+sep)+_13f+_13a+"}";};}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");(function(){var d=dojo;dojo.Color=function(_142){if(_142){this.setColor(_142);}};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],transparent:d.config.transparentColor||[255,255,255]};dojo.extend(dojo.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(_143){if(d.isString(_143)){d.colorFromString(_143,this);}else{if(d.isArray(_143)){d.colorFromArray(_143,this);}else{this._set(_143.r,_143.g,_143.b,_143.a);if(!(_143 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=d.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(_144){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_144?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_145,end,_146,obj){var t=obj||new d.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_145[x]+(end[x]-_145[x])*_146;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_147,obj){var m=_147.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_148,obj){var t=obj||new d.Color(),bits=(_148.length==4)?4:8,mask=(1<>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new d.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=d.Color.named[str];return a&&d.colorFromArray(a,obj)||d.colorFromRgb(str,obj)||d.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.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_149,_14a){dojo.global=_149;dojo.doc=_14a;};dojo.withGlobal=function(_14b,_14c,_14d,_14e){var _14f=dojo.global;try{dojo.global=_14b;return dojo.withDoc.call(null,_14b.document,_14c,_14d,_14e);}finally{dojo.global=_14f;}};dojo.withDoc=function(_150,_151,_152,_153){var _154=dojo.doc,_155=dojo._bodyLtr,oldQ=dojo.isQuirks;try{dojo.doc=_150;delete dojo._bodyLtr;dojo.isQuirks=dojo.doc.compatMode=="BackCompat";if(_152&&typeof _151=="string"){_151=_152[_151];}return _151.apply(_152,_153||[]);}finally{dojo.doc=_154;delete dojo._bodyLtr;if(_155!==undefined){dojo._bodyLtr=_155;}dojo.isQuirks=oldQ;}};}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 _156=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,_157,_158){if(node){_157=del._normalizeEventName(_157);if(!dojo.isIE&&(_157=="mouseenter"||_157=="mouseleave")){_157=(_157=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_157,_158,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,_159){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;},_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}});dojo.fixEvent=function(evt,_15a){return del._fixEvent(evt,_15a);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _15b=dojo._listener;dojo._connect=function(obj,_15c,_15d,_15e,_15f){var _160=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=_160?(_15f?2:1):0,l=[dojo._listener,del,_15b][lid];var h=l.add(obj,_15c,dojo.hitch(_15d,_15e));return [obj,_15c,h,lid];};dojo._disconnect=function(obj,_161,_162,_163){([dojo._listener,del,_15b][_163]).remove(obj,_161,_162);};dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:dojo.isSafari?91:224,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,copyKey:dojo.isMac&&!dojo.isAIR?(dojo.isSafari?91:224):17};var _164=dojo.isMac?"metaKey":"ctrlKey";dojo.isCopyKey=function(e){return e[_164];};if(dojo.isIE){dojo.mouseButtons={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_165){return e.button&_165;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{dojo.mouseButtons={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_166){return e.button==_166;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}if(dojo.isIE){var _167=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _168=(dojo._ieListenersName="_"+dojo._scopeName+"_listeners");if(!dojo.config._allow_leaks){_15b=iel=dojo._ie_listener={handlers:[],add:function(_169,_16a,_16b){_169=_169||dojo.global;var f=_169[_16a];if(!f||!f[_168]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_168]=[];f=_169[_16a]=d;}return f[_168].push(ieh.push(_16b)-1);},remove:function(_16c,_16d,_16e){var f=(_16c||dojo.global)[_16d],l=f&&f[_168];if(f&&l&&_16e--){delete ieh[l[_16e]];delete l[_16e];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_16f,fp){if(!node){return;}_16f=del._normalizeEventName(_16f);if(_16f=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_168]||!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,_16f,del._fixCallback(fp));},remove:function(node,_170,_171){_170=del._normalizeEventName(_170);iel.remove(node,_170,_171);if(_170=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_172){return _172.slice(0,2)!="on"?"on"+_172:_172;},_nop:function(){},_fixEvent:function(evt,_173){if(!evt){var w=_173&&(_173.ownerDocument||_173.document||_173).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_173||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _174=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _175=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_174.scrollLeft||0)-_175.x;evt.pageY=evt.clientY+(_174.scrollTop||0)-_175.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;},_stealthKeyDown:function(evt){var kp=evt.currentTarget.onkeypress;if(!kp||!kp[_168]){return;}var k=evt.keyCode;var _176=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_176||evt.ctrlKey){var c=_176?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;_167(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_167(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,_177){var faux=dojo.mixin({},evt,_177);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_178){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.isWebKit){del._add=del.add;del._remove=del.remove;dojo.mixin(del,{add:function(node,_179,fp){if(!node){return;}var _17a=del._add(node,_179,fp);if(del._normalizeEventName(_179)=="keypress"){_17a._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _17b=k!=13&&k!=32&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_17b||evt.ctrlKey){var c=_17b?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});fp.call(evt.currentTarget,faux);}});}return _17a;},remove:function(node,_17c,_17d){if(node){if(_17d._stealthKeyDownHandle){del._remove(node,"keydown",_17d._stealthKeyDownHandle);}del._remove(node,_17c,_17d);}},_fixEvent:function(evt,_17e){switch(evt.type){case "keypress":if(evt.faux){return evt;}var c=evt.charCode;c=c>=32?c:0;return del._synthesizeEvent(evt,{charCode:c,faux:true});}return evt;}});}})();if(dojo.isIE){dojo._ieDispatcher=function(args,_17f){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=args.callee,ls=c[dojo._ieListenersName],t=h[c.target];var r=t&&t.apply(_17f,args);var lls=[].concat(ls);for(var i in lls){var f=h[lls[i]];if(!(i in ap)&&f){f.apply(_17f,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(typeof id!="string"){return id;}var _180=doc||dojo.doc,te=_180.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_180.all[id];if(!eles||eles.nodeName){eles=[eles];}var i=0;while((te=eles[i++])){if((te.attributes&&te.attributes.id&&te.attributes.id.value==id)||te.id==id){return te;}}}};}else{dojo.byId=function(id,doc){return (typeof id=="string")?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var byId=d.byId;var _181=null,_182;d.addOnWindowUnload(function(){_181=null;});dojo._destroyElement=dojo.destroy=function(node){node=byId(node);try{var doc=node.ownerDocument;if(!_181||_182!=doc){_181=doc.createElement("div");_182=doc;}_181.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_181.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_183){try{node=byId(node);_183=byId(_183);while(node){if(node==_183){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_184){node=byId(node);if(d.isMozilla){node.style.MozUserSelect=_184?"":"none";}else{if(d.isKhtml||d.isWebKit){node.style.KhtmlUserSelect=_184?"auto":"none";}else{if(d.isIE){var v=(node.unselectable=_184?"":"on");d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _185=function(node,ref){var _186=ref.parentNode;if(_186){_186.insertBefore(node,ref);}};var _187=function(node,ref){var _188=ref.parentNode;if(_188){if(_188.lastChild==ref){_188.appendChild(node);}else{_188.insertBefore(node,ref.nextSibling);}}};dojo.place=function(node,_189,_18a){_189=byId(_189);if(typeof node=="string"){node=node.charAt(0)=="<"?d._toDom(node,_189.ownerDocument):byId(node);}if(typeof _18a=="number"){var cn=_189.childNodes;if(!cn.length||cn.length<=_18a){_189.appendChild(node);}else{_185(node,cn[_18a<0?0:_18a]);}}else{switch(_18a){case "before":_185(node,_189);break;case "after":_187(node,_189);break;case "replace":_189.parentNode.replaceChild(node,_189);break;case "only":d.empty(_189);_189.appendChild(node);break;case "first":if(_189.firstChild){_185(node,_189.firstChild);break;}default:_189.appendChild(node);}}return node;};dojo.boxModel="content-box";if(d.isIE){d.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}var gcs;if(d.isWebKit){gcs=function(node){var s;if(node.nodeType==1){var dv=node.ownerDocument.defaultView;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.nodeType==1?node.currentStyle:{};};}else{gcs=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}dojo.getComputedStyle=gcs;if(!d.isIE){d._toPixelValue=function(_18b,_18c){return parseFloat(_18c)||0;};}else{d._toPixelValue=function(_18d,_18e){if(!_18e){return 0;}if(_18e=="medium"){return 4;}if(_18e.slice&&_18e.slice(-2)=="px"){return parseFloat(_18e);}with(_18d){var _18f=style.left;var _190=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_18e;_18e=style.pixelLeft;}catch(e){_18e=0;}style.left=_18f;runtimeStyle.left=_190;}return _18e;};}var px=d._toPixelValue;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};dojo._getOpacity=d.isIE?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return gcs(node).opacity;};dojo._setOpacity=d.isIE?function(node,_191){var ov=_191*100;node.style.zoom=1;af(node,1).Enabled=!(_191==1);if(!af(node)){node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){d._setOpacity(i,_191);});}return _191;}:function(node,_192){return node.style.opacity=_192;};var _193={left:true,top:true};var _194=/margin|padding|width|height|max|min|offset/;var _195=function(node,type,_196){type=type.toLowerCase();if(d.isIE){if(_196=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_196){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _193)){_193[type]=_194.test(type);}return _193[type]?px(node,_196):_196;};var _197=d.isIE?"styleFloat":"cssFloat",_198={"cssFloat":_197,"styleFloat":_197,"float":_197};dojo.style=function(node,_199,_19a){var n=byId(node),args=arguments.length,op=(_199=="opacity");_199=_198[_199]||_199;if(args==3){return op?d._setOpacity(n,_19a):n.style[_199]=_19a;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&typeof _199!="string"){for(var x in _199){d.style(node,x,_199[x]);}return s;}return (args==1)?s:_195(n,_199,s[_199]||n.style[_199]);};dojo._getPadExtents=function(n,_19b){var s=_19b||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,_19c){var ne="none",s=_19c||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,_19d){var s=_19d||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,_19e){var s=_19e||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isWebKit&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_19f){var s=_19f||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode;if(d.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{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||(d.isIE>7&&!d.isQuirks)){if(p){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,_1a0){var s=_1a0||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,_1a1){var s=_1a1||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._isButtonTag=function(node){return node.tagName=="BUTTON"||node.tagName=="INPUT"&&(node.getAttribute("type")||"").toUpperCase()=="BUTTON";};dojo._usesBorderBox=function(node){var n=node.tagName;return d.boxModel=="border-box"||n=="TABLE"||d._isButtonTag(node);};dojo._setContentSize=function(node,_1a2,_1a3,_1a4){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_1a4);if(_1a2>=0){_1a2+=pb.w;}if(_1a3>=0){_1a3+=pb.h;}}d._setBox(node,NaN,NaN,_1a2,_1a3);};dojo._setMarginBox=function(node,_1a5,_1a6,_1a7,_1a8,_1a9){var s=_1a9||gcs(node),bb=d._usesBorderBox(node),pb=bb?_1aa:d._getPadBorderExtents(node,s);if(d.isWebKit){if(d._isButtonTag(node)){var ns=node.style;if(_1a7>=0&&!ns.width){ns.width="4px";}if(_1a8>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_1a7>=0){_1a7=Math.max(_1a7-pb.w-mb.w,0);}if(_1a8>=0){_1a8=Math.max(_1a8-pb.h-mb.h,0);}d._setBox(node,_1a5,_1a6,_1a7,_1a8);};var _1aa={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=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=byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _1ab=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_1ac=0,_1ad=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_1ac+=val-0;if(node==_1ad){break;}}node=node.parentNode;}return _1ac;};dojo._docScroll=function(){var n=d.global;return "pageXOffset" in n?{x:n.pageXOffset,y:n.pageYOffset}:(n=d.doc.documentElement,n.clientHeight?{x:d._fixIeBiDiScrollLeft(n.scrollLeft),y:n.scrollTop}:(n=d.body(),{x:n.scrollLeft||0,y:n.scrollTop||0}));};dojo._isBodyLtr=function(){return "_bodyLtr" in d?d._bodyLtr:d._bodyLtr=(d.body().dir||d.doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;if(d.isIE<8){var r=de.getBoundingClientRect();var l=r.left,t=r.top;if(d.isIE<7){l+=de.clientLeft;t+=de.clientTop;}return {x:l<0?0:l,y:t<0?0:t};}else{return {x:0,y:0};}};dojo._fixIeBiDiScrollLeft=function(_1ae){var dd=d.doc;if(d.isIE<8&&!d._isBodyLtr()){var de=d.isQuirks?dd.body:dd.documentElement;return _1ae+de.clientWidth-de.scrollWidth;}return _1ae;};dojo._abs=dojo.position=function(node,_1af){var db=d.body(),dh=db.parentNode,ret;node=byId(node);if(node["getBoundingClientRect"]){ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(d.isIE){var _1b0=d._getIeDocumentElementOffset();ret.x-=_1b0.x+(d.isQuirks?db.clientLeft+db.offsetLeft:0);ret.y-=_1b0.y+(d.isQuirks?db.clientTop+db.offsetTop:0);}else{if(d.isFF==3){var cs=gcs(dh);ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);}}}else{ret={x:0,y:0,w:node.offsetWidth,h:node.offsetHeight};if(node["offsetParent"]){ret.x-=_1ab(node,"scrollLeft");ret.y-=_1ab(node,"scrollTop");var _1b1=node;do{var n=_1b1.offsetLeft,t=_1b1.offsetTop;ret.x+=isNaN(n)?0:n;ret.y+=isNaN(t)?0:t;cs=gcs(_1b1);if(_1b1!=node){if(d.isMoz){ret.x+=2*px(_1b1,cs.borderLeftWidth);ret.y+=2*px(_1b1,cs.borderTopWidth);}else{ret.x+=px(_1b1,cs.borderLeftWidth);ret.y+=px(_1b1,cs.borderTopWidth);}}if(d.isMoz&&cs.position=="static"){var _1b2=_1b1.parentNode;while(_1b2!=_1b1.offsetParent){var pcs=gcs(_1b2);if(pcs.position=="static"){ret.x+=px(_1b1,pcs.borderLeftWidth);ret.y+=px(_1b1,pcs.borderTopWidth);}_1b2=_1b2.parentNode;}}_1b1=_1b1.offsetParent;}while((_1b1!=dh)&&_1b1);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}if(_1af){var _1b3=d._docScroll();ret.x+=_1b3.x;ret.y+=_1b3.y;}return ret;};dojo.coords=function(node,_1b4){var n=byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d.position(n,_1b4);mb.x=abs.x;mb.y=abs.y;return mb;};var _1b5={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"},_1b6={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"},_1b7={innerHTML:1,className:1,htmlFor:d.isIE,value:1};var _1b8=function(name){return _1b6[name.toLowerCase()]||name;};var _1b9=function(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};dojo.hasAttr=function(node,name){var lc=name.toLowerCase();return _1b7[_1b5[lc]||name]||_1b9(byId(node),_1b6[lc]||name);};var _1ba={},_1bb=0,_1bc=dojo._scopeName+"attrid",_1bd={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};dojo.attr=function(node,name,_1be){node=byId(node);var args=arguments.length,prop;if(args==2&&typeof name!="string"){for(var x in name){d.attr(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_1bf=_1b5[lc]||name,_1c0=_1b7[_1bf],_1c1=_1b6[lc]||name;if(args==3){do{if(_1bf=="style"&&typeof _1be!="string"){d.style(node,_1be);break;}if(_1bf=="innerHTML"){if(d.isIE&&node.tagName.toLowerCase() in _1bd){d.empty(node);node.appendChild(d._toDom(_1be,node.ownerDocument));}else{node[_1bf]=_1be;}break;}if(d.isFunction(_1be)){var _1c2=d.attr(node,_1bc);if(!_1c2){_1c2=_1bb++;d.attr(node,_1bc,_1c2);}if(!_1ba[_1c2]){_1ba[_1c2]={};}var h=_1ba[_1c2][_1bf];if(h){d.disconnect(h);}else{try{delete node[_1bf];}catch(e){}}_1ba[_1c2][_1bf]=d.connect(node,_1bf,_1be);break;}if(_1c0||typeof _1be=="boolean"){node[_1bf]=_1be;break;}node.setAttribute(_1c1,_1be);}while(false);return node;}_1be=node[_1bf];if(_1c0&&typeof _1be!="undefined"){return _1be;}if(_1bf!="href"&&(typeof _1be=="boolean"||d.isFunction(_1be))){return _1be;}return _1b9(node,_1c1)?node.getAttribute(_1c1):null;};dojo.removeAttr=function(node,name){byId(node).removeAttribute(_1b8(name));};dojo.getNodeProp=function(node,name){node=byId(node);var lc=name.toLowerCase(),_1c3=_1b5[lc]||name;if((_1c3 in node)&&_1c3!="href"){return node[_1c3];}var _1c4=_1b6[lc]||name;return _1b9(node,_1c4)?node.getAttribute(_1c4):null;};dojo.create=function(tag,_1c5,_1c6,pos){var doc=d.doc;if(_1c6){_1c6=byId(_1c6);doc=_1c6.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_1c5){d.attr(tag,_1c5);}if(_1c6){d.place(tag,_1c6,pos);}return tag;};d.empty=d.isIE?function(node){node=byId(node);for(var c;c=node.lastChild;){d.destroy(c);}}:function(node){byId(node).innerHTML="";};var _1c7={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},_1c8=/<\s*([\w\:]+)/,_1c9={},_1ca=0,_1cb="__"+d._scopeName+"ToDomId";for(var _1cc in _1c7){var tw=_1c7[_1cc];tw.pre=_1cc=="option"?"