/* Copyright (c) 2004-2008, 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 _8=_1[i];_2+="var "+_8[0]+" = {}; "+_8[1]+" = "+_8[0]+";"+_8[1]+"._scopeName = '"+_8[1]+"';";_3+=(i==0?"":",")+_8[0];_4+=(i==0?"":",")+_8[1];_5[_8[0]]=_8[1];_6[_8[1]]=_8[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}(function(){if(!this["console"]){this.console={};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _c=tn+"";console[_c]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(_c+":");console["log"](a.join(" "));}:function(){};})();}}if(typeof dojo=="undefined"){this.dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){this.dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){this.dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var _f in djConfig){d.config[_f]=djConfig[_f];}}var _10=["Browser","Rhino","Spidermonkey","Mobile"];var t;while((t=_10.shift())){d["is"+t]=false;}dojo.locale=d.config.locale;var rev="$Rev: 15385 $".match(/\d+/);dojo.version={major:1,minor:2,patch:0,flag:"",revision:rev?+rev[0]:999999,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(obj,_14){var _15={};for(var x in _14){if(_15[x]===undefined||_15[x]!=_14[x]){obj[x]=_14[x];}}if(d["isIE"]&&_14){var p=_14.toString;if(typeof p=="function"&&p!=obj.toString&&p!=_15.toString&&p!="\nfunction toString() {\n [native code]\n}\n"){obj.toString=_14.toString;}}return obj;};dojo.mixin=function(obj,_19){for(var i=1,l=arguments.length;i0){console.warn("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(dojo.config.useXDomain&&d.isOpera)){if(dojo.isAIR){setTimeout(function(){dojo.loaded();},0);}else{setTimeout(dojo._scopeName+".loaded();",0);}}else{d.loaded();}};dojo._getModuleSymbols=function(_43){var _44=_43.split(".");for(var i=_44.length;i>0;i--){var _46=_44.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_46)){_44[0]="../"+_44[0];}else{var _47=this._getModulePrefix(_46);if(_47!=_46){_44.splice(0,i,_47);break;}}}return _44;};dojo._global_omit_module_check=false;dojo.loadInit=function(_48){_48();};dojo._loadModule=dojo.require=function(_49,_4a){_4a=this._global_omit_module_check||_4a;var _4b=this._loadedModules[_49];if(_4b){return _4b;}var _4c=this._getModuleSymbols(_49).join("/")+".js";var _4d=(!_4a)?_49:null;var ok=this._loadPath(_4c,_4d);if(!ok&&!_4a){throw new Error("Could not load '"+_49+"'; last tried '"+_4c+"'");}if(!_4a&&!this._isXDomain){_4b=this._loadedModules[_49];if(!_4b){throw new Error("symbol '"+_49+"' is not defined after loading '"+_4c+"'");}}return _4b;};dojo.provide=function(_4f){_4f=_4f+"";return (d._loadedModules[_4f]=d.getObject(_4f,true));};dojo.platformRequire=function(_50){var _51=_50.common||[];var _52=_51.concat(_50[d._name]||_50["default"]||[]);for(var x=0;x<_52.length;x++){var _54=_52[x];if(_54.constructor==Array){d._loadModule.apply(d,_54);}else{d._loadModule(_54);}}};dojo.requireIf=function(_55,_56){if(_55===true){var _57=[];for(var i=1;i0&&!(j==1&&_68[0]=="")&&_68[j]==".."&&_68[j-1]!=".."){if(j==(_68.length-1)){_68.splice(j,1);_68[j-1]="";}else{_68.splice(j-1,2);j-=2;}}}}_65.path=_68.join("/");}}}}uri=[];if(_65.scheme){uri.push(_65.scheme,":");}if(_65.authority){uri.push("//",_65.authority);}uri.push(_65.path);if(_65.query){uri.push("?",_65.query);}if(_65.fragment){uri.push("#",_65.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(_6b,url){var loc=d._getModuleSymbols(_6b).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _6e=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_6e==-1||_6e>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};})();dojo.provide("dojo._base._loader.loader_xd");dojo._xdReset=function(){this._isXDomain=dojo.config.useXDomain||false;this._xdTimer=0;this._xdInFlight={};this._xdOrderedReqs=[];this._xdDepMap={};this._xdContents=[];this._xdDefList=[];};dojo._xdReset();dojo._xdCreateResource=function(_6f,_70,_71){var _72=_6f.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"");var _73=[];var _74=/dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\s*\(([\w\W]*?)\)/mg;var _75;while((_75=_74.exec(_72))!=null){if(_75[1]=="requireLocalization"){eval(_75[0]);}else{_73.push("\""+_75[1]+"\", "+_75[2]);}}var _76=[];_76.push(dojo._scopeName+"._xdResourceLoaded(function("+dojo._scopePrefixArgs+"){\n");var _77=dojo._xdExtractLoadInits(_6f);if(_77){_6f=_77[0];for(var i=1;i<_77.length;i++){_76.push(_77[i]+";\n");}}_76.push("return {");if(_73.length>0){_76.push("depends: [");for(i=0;i<_73.length;i++){if(i>0){_76.push(",\n");}_76.push("["+_73[i]+"]");}_76.push("],");}_76.push("\ndefineResource: function("+dojo._scopePrefixArgs+"){");if(!dojo.config["debugAtAllCosts"]||_70=="dojo._base._loader.loader_debug"){_76.push(_6f);}_76.push("\n}, resourceName: '"+_70+"', resourcePath: '"+_71+"'};});");return _76.join("");};dojo._xdExtractLoadInits=function(_79){var _7a=/dojo.loadInit\s*\(/g;_7a.lastIndex=0;var _7b=/[\(\)]/g;_7b.lastIndex=0;var _7c=[];var _7d;while((_7d=_7a.exec(_79))){_7b.lastIndex=_7a.lastIndex;var _7e=1;var _7f;while((_7f=_7b.exec(_79))){if(_7f[0]==")"){_7e-=1;}else{_7e+=1;}if(_7e==0){break;}}if(_7e!=0){throw "unmatched paren around character "+_7b.lastIndex+" in: "+_79;}var _80=_7a.lastIndex-_7d[0].length;_7c.push(_79.substring(_80,_7b.lastIndex));var _81=_7b.lastIndex-_80;_79=_79.substring(0,_80)+_79.substring(_7b.lastIndex,_79.length);_7a.lastIndex=_7b.lastIndex-_81;_7a.lastIndex=_7b.lastIndex;}if(_7c.length>0){_7c.unshift(_79);}return (_7c.length?_7c:null);};dojo._xdIsXDomainPath=function(_82){var _83=_82.indexOf(":");var _84=_82.indexOf("/");if(_83>0&&_83<_84){return true;}else{var url=this.baseUrl;_83=url.indexOf(":");_84=url.indexOf("/");if(_83>0&&_83<_84&&(!location.host||url.indexOf("http://"+location.host)!=0)){return true;}}return false;};dojo._loadPath=function(_86,_87,cb){var _89=this._xdIsXDomainPath(_86);this._isXDomain|=_89;var uri=((_86.charAt(0)=="/"||_86.match(/^\w+:/))?"":this.baseUrl)+_86;try{return ((!_87||this._isXDomain)?this._loadUri(uri,cb,_89,_87):this._loadUriAndCheck(uri,_87,cb));}catch(e){console.error(e);return false;}};dojo._loadUri=function(uri,cb,_8d,_8e){if(this._loadedUrls[uri]){return 1;}if(this._isXDomain&&_8e&&_8e!="dojo.i18n"){this._xdOrderedReqs.push(_8e);if(_8d||uri.indexOf("/nls/")==-1){this._xdInFlight[_8e]=true;this._inFlightCount++;}if(!this._xdTimer){if(dojo.isAIR){this._xdTimer=setInterval(function(){dojo._xdWatchInFlight();},100);}else{this._xdTimer=setInterval(dojo._scopeName+"._xdWatchInFlight();",100);}}this._xdStartTime=(new Date()).getTime();}if(_8d){var _8f=uri.lastIndexOf(".");if(_8f<=0){_8f=uri.length-1;}var _90=uri.substring(0,_8f)+".xd";if(_8f!=uri.length-1){_90+=uri.substring(_8f,uri.length);}if(dojo.isAIR){_90=_90.replace("app:/","/");}var _91=document.createElement("script");_91.type="text/javascript";_91.src=_90;if(!this.headElement){this._headElement=document.getElementsByTagName("head")[0];if(!this._headElement){this._headElement=document.getElementsByTagName("html")[0];}}this._headElement.appendChild(_91);}else{var _92=this._getText(uri,null,true);if(_92==null){return 0;}if(this._isXDomain&&uri.indexOf("/nls/")==-1&&_8e!="dojo.i18n"){var res=this._xdCreateResource(_92,_8e,uri);dojo.eval(res);}else{if(cb){_92="("+_92+")";}else{_92=this._scopePrefix+_92+this._scopeSuffix;}var _94=dojo["eval"](_92+"\r\n//@ sourceURL="+uri);if(cb){cb(_94);}}}this._loadedUrls[uri]=true;this._loadedUrls.push(uri);return true;};dojo._xdResourceLoaded=function(res){res=res.apply(dojo.global,dojo._scopeArgs);var _96=res.depends;var _97=null;var _98=null;var _99=[];if(_96&&_96.length>0){var dep=null;var _9b=0;var _9c=false;for(var i=0;i<_96.length;i++){dep=_96[i];if(dep[0]=="provide"){_99.push(dep[1]);}else{if(!_97){_97=[];}if(!_98){_98=[];}var _9e=this._xdUnpackDependency(dep);if(_9e.requires){_97=_97.concat(_9e.requires);}if(_9e.requiresAfter){_98=_98.concat(_9e.requiresAfter);}}var _9f=dep[0];var _a0=_9f.split(".");if(_a0.length==2){dojo[_a0[0]][_a0[1]].apply(dojo[_a0[0]],dep.slice(1));}else{dojo[_9f].apply(dojo,dep.slice(1));}}if(_99.length==1&&_99[0]=="dojo._base._loader.loader_debug"){res.defineResource(dojo);}else{var _a1=this._xdContents.push({content:res.defineResource,resourceName:res["resourceName"],resourcePath:res["resourcePath"],isDefined:false})-1;for(i=0;i<_99.length;i++){this._xdDepMap[_99[i]]={requires:_97,requiresAfter:_98,contentIndex:_a1};}}for(i=0;i<_99.length;i++){this._xdInFlight[_99[i]]=false;}}};dojo._xdLoadFlattenedBundle=function(_a2,_a3,_a4,_a5){_a4=_a4||"root";var _a6=dojo.i18n.normalizeLocale(_a4).replace("-","_");var _a7=[_a2,"nls",_a3].join(".");var _a8=dojo["provide"](_a7);_a8[_a6]=_a5;var _a9=[_a2,_a6,_a3].join(".");var _aa=dojo._xdBundleMap[_a9];if(_aa){for(var _ab in _aa){_a8[_ab]=_a5;}}};dojo._xdInitExtraLocales=function(){var _ac=dojo.config.extraLocale;if(_ac){if(!_ac instanceof Array){_ac=[_ac];}dojo._xdReqLoc=dojo.xdRequireLocalization;dojo.xdRequireLocalization=function(m,b,_af,_b0){dojo._xdReqLoc(m,b,_af,_b0);if(_af){return;}for(var i=0;i<_ac.length;i++){dojo._xdReqLoc(m,b,_ac[i],_b0);}};}};dojo._xdBundleMap={};dojo.xdRequireLocalization=function(_b2,_b3,_b4,_b5){if(dojo._xdInitExtraLocales){dojo._xdInitExtraLocales();dojo._xdInitExtraLocales=null;dojo.xdRequireLocalization.apply(dojo,arguments);return;}var _b6=_b5.split(",");var _b7=dojo.i18n.normalizeLocale(_b4);var _b8="";for(var i=0;i<_b6.length;i++){if(_b7.indexOf(_b6[i])==0){if(_b6[i].length>_b8.length){_b8=_b6[i];}}}var _ba=_b8.replace("-","_");var _bb=dojo.getObject([_b2,"nls",_b3].join("."));if(_bb&&_bb[_ba]){bundle[_b7.replace("-","_")]=_bb[_ba];}else{var _bc=[_b2,(_ba||"root"),_b3].join(".");var _bd=dojo._xdBundleMap[_bc];if(!_bd){_bd=dojo._xdBundleMap[_bc]={};}_bd[_b7.replace("-","_")]=true;dojo.require(_b2+".nls"+(_b8?"."+_b8:"")+"."+_b3);}};dojo._xdRealRequireLocalization=dojo.requireLocalization;dojo.requireLocalization=function(_be,_bf,_c0,_c1){var _c2=this.moduleUrl(_be).toString();if(this._xdIsXDomainPath(_c2)){return dojo.xdRequireLocalization.apply(dojo,arguments);}else{return dojo._xdRealRequireLocalization.apply(dojo,arguments);}};dojo._xdUnpackDependency=function(dep){var _c4=null;var _c5=null;switch(dep[0]){case "requireIf":case "requireAfterIf":if(dep[1]===true){_c4=[{name:dep[2],content:null}];}break;case "platformRequire":var _c6=dep[1];var _c7=_c6["common"]||[];_c4=(_c6[dojo.hostenv.name_])?_c7.concat(_c6[dojo.hostenv.name_]||[]):_c7.concat(_c6["default"]||[]);if(_c4){for(var i=0;i<_c4.length;i++){if(_c4[i] instanceof Array){_c4[i]={name:_c4[i][0],content:null};}else{_c4[i]={name:_c4[i],content:null};}}}break;case "require":_c4=[{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"){_c5=_c4;_c4=null;}return {requires:_c4,requiresAfter:_c5};};dojo._xdWalkReqs=function(){var _c9=null;var req;for(var i=0;i0){var req=_cc[_cc.length-1];var res=this._xdDepMap[req];var i,_d0,_d1;if(res){_d0=res.requires;if(_d0&&_d0.length>0){for(i=0;i<_d0.length;i++){_d1=_d0[i].name;if(_d1&&!_cc[_d1]){_cc.push(_d1);_cc[_d1]=true;this._xdEvalReqs(_cc);}}}var _d2=this._xdContents[res.contentIndex];if(!_d2.isDefined){var _d3=_d2.content;_d3["resourceName"]=_d2["resourceName"];_d3["resourcePath"]=_d2["resourcePath"];this._xdDefList.push(_d3);_d2.isDefined=true;}this._xdDepMap[req]=null;_d0=res.requiresAfter;if(_d0&&_d0.length>0){for(i=0;i<_d0.length;i++){_d1=_d0[i].name;if(_d1&&!_cc[_d1]){_cc.push(_d1);_cc[_d1]=true;this._xdEvalReqs(_cc);}}}}_cc.pop();}};dojo._xdClearInterval=function(){clearInterval(this._xdTimer);this._xdTimer=0;};dojo._xdWatchInFlight=function(){var _d4="";var _d5=(dojo.config.xdWaitSeconds||15)*1000;var _d6=(this._xdStartTime+_d5)<(new Date()).getTime();for(var _d7 in this._xdInFlight){if(this._xdInFlight[_d7]===true){if(_d6){_d4+=_d7+" ";}else{return;}}}this._xdClearInterval();if(_d6){throw "Could not load cross-domain resources: "+_d4;}this._xdWalkReqs();var _d8=this._xdDefList.length;for(var i=0;i<_d8;i++){var _da=dojo._xdDefList[i];if(dojo.config["debugAtAllCosts"]&&_da["resourceName"]){if(!this["_xdDebugQueue"]){this._xdDebugQueue=[];}this._xdDebugQueue.push({resourceName:_da.resourceName,resourcePath:_da.resourcePath});}else{_da.apply(dojo.global,dojo._scopeArgs);}}for(i=0;i0){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 _dd=document.getElementsByTagName("script");var _de=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_dd.length;i++){var src=_dd[i].getAttribute("src");if(!src){continue;}var m=src.match(_de);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_dd[i].getAttribute("djConfig");if(cfg){var _e3=eval("({ "+cfg+" })");for(var x in _e3){dojo.config[x]=_e3[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent;var dav=n.appVersion;var tv=parseFloat(dav);if(dua.indexOf("Opera")>=0){d.isOpera=tv;}var _e9=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_e9){d.isSafari=parseFloat(dav.split("Version/")[1])||(parseFloat(dav.substr(_e9+7))>419.3)?3:2;}if(dua.indexOf("AdobeAIR")>=0){d.isAIR=1;}if(dav.indexOf("Konqueror")>=0||d.isSafari){d.isKhtml=tv;}if(dua.indexOf("Gecko")>=0&&!d.isKhtml){d.isMozilla=d.isMoz=tv;}if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1])||undefined;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||undefined;}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}var cm=document.compatMode;d.isQuirks=cm=="BackCompat"||cm=="QuirksMode"||d.isIE<6;d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _eb=null;var _ec=null;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_eb=new XMLHttpRequest();}catch(e){}}if(!_eb){for(var i=0;i<3;++i){var _ee=d._XMLHTTP_PROGIDS[i];try{_eb=new ActiveXObject(_ee);}catch(e){_ec=e;}if(_eb){d._XMLHTTP_PROGIDS=[_ee];break;}}}if(!_eb){throw new Error("XMLHTTP not available: "+_ec);}return _eb;};d._isDocumentOk=function(_ef){var _f0=_ef.status||0;return (_f0>=200&&_f0<300)||_f0==304||_f0==1223||(!_f0&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _f1=window.location+"";var _f2=document.getElementsByTagName("base");var _f3=(_f2&&_f2.length>0);d._getText=function(uri,_f5){var _f6=this._xhrObj();if(!_f3&&dojo._Url){uri=(new dojo._Url(_f1,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_f6.open("GET",uri,false);try{_f6.send(null);if(!d._isDocumentOk(_f6)){var err=Error("Unable to load "+uri+" status:"+_f6.status);err.status=_f6.status;err.responseText=_f6.responseText;throw err;}}catch(e){if(_f5){return null;}throw e;}return _f6.responseText;};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=this._windowUnloaders;while(mll.length){(mll.pop())();}};d.addOnWindowUnload=function(obj,_fa){d._onto(d._windowUnloaders,obj,_fa);};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _fc=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_fc!="domcontentloaded"&&_fc!="load")){return;}arguments.callee.initialized=true;if("_khtmlTimer" in dojo){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};dojo._fakeLoadInit=function(){dojo._loadInit({type:"load"});};if(!dojo.config.afterOnLoad){if(document.addEventListener){if(dojo.isOpera||dojo.isFF>=3||(dojo.isMoz&&dojo.config.enableMozDomContentLoaded===true)){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}if(dojo.isAIR){window.addEventListener("load",dojo._loadInit,null);}else{if(/(WebKit|khtml)/i.test(navigator.userAgent)){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}}}(function(){var _w=window;var _fe=function(_ff,fp){var _101=_w[_ff]||function(){};_w[_ff]=function(){fp.apply(_w,arguments);_101.apply(_w,arguments);};};if(dojo.isIE){if(!dojo.config.afterOnLoad){document.write(""+"");}try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}catch(e){}}_fe("onbeforeunload",function(){dojo.unloaded();});_fe("onunload",function(){dojo.windowUnloaded();});})();}(function(){var mp=dojo.config["modulePaths"];if(mp){for(var _103 in mp){dojo.registerModulePath(_103,mp[_103]);}}})();if(dojo.config.isDebug){dojo.require("dojo._firebug.firebug");}if(dojo.config.debugAtAllCosts){dojo.config.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");dojo.isString=function(it){return !!arguments.length&&it!=null&&(typeof it=="string"||it instanceof String);};dojo.isArray=function(it){return it&&(it instanceof Array||typeof it=="array");};dojo.isFunction=(function(){var _106=function(it){return it&&(typeof it=="function"||it instanceof Function);};return dojo.isSafari?function(it){if(typeof it=="function"&&it=="[object NodeList]"){return false;}return _106(it);}:_106;})();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(_10d,_10e){for(var i=1,l=arguments.length;i2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_118){_118=_117;_117=null;}if(dojo.isString(_118)){_117=_117||dojo.global;if(!_117[_118]){throw (["dojo.hitch: scope[\"",_118,"\"] is null (scope=\"",_117,"\")"].join(""));}return function(){return _117[_118].apply(_117,arguments||[]);};}return !_117?_118:function(){return _118.apply(_117,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_11a){TMP.prototype=obj;var tmp=new TMP();if(_11a){dojo._mixin(tmp,_11a);}return tmp;};})();(function(){var _11c=function(obj,_11e,_11f){return (_11f||[]).concat(Array.prototype.slice.call(obj,_11e||0));};var slow=function(obj,_122,_123){var arr=_123||[];for(var x=_122||0;x=0){this._fire();}return this;},_fire:function(){var _199=this.chain;var _19a=this.fired;var res=this.results[_19a];var self=this;var cb=null;while((_199.length>0)&&(this.paused==0)){var f=_199.shift()[_19a];if(!f){continue;}var func=function(){var ret=f(res);if(typeof ret!="undefined"){res=ret;}_19a=((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.isDebug){func.call(this);}else{try{func.call(this);}catch(err){_19a=1;res=err;}}}this.fired=_19a;this.results[_19a]=res;if((cb)&&(this.paused)){res.addBoth(cb);}}});}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(json){return eval("("+json+")");};dojo._escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_1a5,_1a6){if(it===undefined){return "undefined";}var _1a7=typeof it;if(_1a7=="number"||_1a7=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _1a8=arguments.callee;var _1a9;_1a6=_1a6||"";var _1aa=_1a5?_1a6+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_1a9=tf.call(it);if(it!==_1a9){return _1a8(_1a9,_1a5,_1aa);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_1a5?" ":"";var _1ad=_1a5?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_1a8(obj,_1a5,_1aa);if(typeof val!="string"){val="undefined";}return _1ad+_1aa+val;});return "["+res.join(","+sep)+_1ad+_1a6+"]";}if(_1a7=="function"){return null;}var _1b1=[],key;for(key in it){var _1b3,val;if(typeof key=="number"){_1b3="\""+key+"\"";}else{if(typeof key=="string"){_1b3=dojo._escapeString(key);}else{continue;}}val=_1a8(it[key],_1a5,_1aa);if(typeof val!="string"){continue;}_1b1.push(_1ad+_1aa+_1b3+":"+sep+val);}return "{"+_1b1.join(","+sep)+_1ad+_1a6+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _1b5=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(_1b9,_1ba,_1bb,_1bc){var step=1,end=_1b9.length||0,i=0;if(_1bc){i=end-1;step=end=-1;}if(_1bb!=undefined){i=_1bb;}if((_1bc&&i>end)||i>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new dojo.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=dojo.Color.named[str];return a&&dojo.colorFromArray(a,obj)||dojo.colorFromRgb(str,obj)||dojo.colorFromHex(str,obj);};}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_20c,_20d){dojo.global=_20c;dojo.doc=_20d;};dojo._fireCallback=function(_20e,_20f,_210){if(_20f&&dojo.isString(_20e)){_20e=_20f[_20e];}return _20e.apply(_20f,_210||[]);};dojo.withGlobal=function(_211,_212,_213,_214){var rval;var _216=dojo.global;var _217=dojo.doc;try{dojo.setContext(_211,_211.document);rval=dojo._fireCallback(_212,_213,_214);}finally{dojo.setContext(_216,_217);}return rval;};dojo.withDoc=function(_218,_219,_21a,_21b){var rval;var _21d=dojo.doc;try{dojo.doc=_218;rval=dojo._fireCallback(_219,_21a,_21b);}finally{dojo.doc=_21d;}return rval;};}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");(function(){var del=(dojo._event_listener={add:function(node,name,fp){if(!node){return;}name=del._normalizeEventName(name);fp=del._fixCallback(name,fp);var _222=name;if(!dojo.isIE&&(name=="mouseenter"||name=="mouseleave")){var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){try{e.relatedTarget.tagName;}catch(e2){return;}if(!dojo.isDescendant(e.relatedTarget,node)){return ofp.call(this,e);}};}node.addEventListener(name,fp,false);return fp;},remove:function(node,_226,_227){if(node){_226=del._normalizeEventName(_226);if(!dojo.isIE&&(_226=="mouseenter"||_226=="mouseleave")){_226=(_226=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_226,_227,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,_22d){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,_230){return del._fixEvent(evt,_230);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _232=dojo._listener;dojo._connect=function(obj,_234,_235,_236,_237){var _238=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=!_238?0:(!_237?1:2),l=[dojo._listener,del,_232][lid];var h=l.add(obj,_234,dojo.hitch(_235,_236));return [obj,_234,h,lid];};dojo._disconnect=function(obj,_23d,_23e,_23f){([dojo._listener,del,_232][_23f]).remove(obj,_23d,_23e);};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 _240=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _244=dojo._ieListenersName="_"+dojo._scopeName+"_listeners";if(!dojo.config._allow_leaks){_232=iel=dojo._ie_listener={handlers:[],add:function(_245,_246,_247){_245=_245||dojo.global;var f=_245[_246];if(!f||!f[_244]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_244]=[];f=_245[_246]=d;}return f[_244].push(ieh.push(_247)-1);},remove:function(_24b,_24c,_24d){var f=(_24b||dojo.global)[_24c],l=f&&f[_244];if(f&&l&&_24d--){delete ieh[l[_24d]];delete l[_24d];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_251,fp){if(!node){return;}_251=del._normalizeEventName(_251);if(_251=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_244]||!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,_251,del._fixCallback(fp));},remove:function(node,_256,_257){_256=del._normalizeEventName(_256);iel.remove(node,_256,_257);if(_256=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_259){return _259.slice(0,2)!="on"?"on"+_259:_259;},_nop:function(){},_fixEvent:function(evt,_25b){if(!evt){var w=_25b&&(_25b.ownerDocument||_25b.document||_25b).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_25b||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _25f=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _260=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_25f.scrollLeft||0)-_260.x;evt.pageY=evt.clientY+(_25f.scrollTop||0)-_260.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[_244]){return;}var k=evt.keyCode;var _266=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_266||evt.ctrlKey){var c=_266?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;_240(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_240(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,_26b){var faux=dojo.mixin({},evt,_26b);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_26e){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){del._add=del.add;del._remove=del.remove;dojo.mixin(del,{add:function(node,_271,fp){if(!node){return;}var _273=del._add(node,_271,fp);if(del._normalizeEventName(_271)=="keypress"){_273._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _276=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_276||evt.ctrlKey){var c=_276?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 _273;},remove:function(node,_27a,_27b){if(node){if(_27b._stealthKeyDownHandle){del._remove(node,"keydown",_27b._stealthKeyDownHandle);}del._remove(node,_27a,_27b);}},_fixEvent:function(evt,_27d){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,_280){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(_280,args);var lls=[].concat(ls);for(var i in lls){if(!(i in ap)){h[lls[i]].apply(_280,args);}}return r;};dojo._getIeDispatcher=function(){return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)");};dojo._event_listener._fixCallback=function(fp){var f=dojo._event_listener._fixEvent;return function(e){return fp.call(this,f(e,this));};};}}if(!dojo._hasResource["dojo._base.html"]){dojo._hasResource["dojo._base.html"]=true;dojo.provide("dojo._base.html");try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}if(dojo.isIE||dojo.isOpera){dojo.byId=function(id,doc){if(dojo.isString(id)){var _d=doc||dojo.doc;var te=_d.getElementById(id);if(te&&te.attributes.id.value==id){return te;}else{var eles=_d.all[id];if(!eles||!eles.length){return eles;}var i=0;while((te=eles[i++])){if(te.attributes.id.value==id){return te;}}}}else{return id;}};}else{dojo.byId=function(id,doc){return dojo.isString(id)?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var _295=null;dojo.addOnWindowUnload(function(){_295=null;});dojo._destroyElement=function(node){node=d.byId(node);try{if(!_295||_295.ownerDocument!=node.ownerDocument){_295=node.ownerDocument.createElement("div");}_295.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_295.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_298){try{node=d.byId(node);_298=d.byId(_298);while(node){if(node===_298){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_29a){node=d.byId(node);if(d.isMozilla){node.style.MozUserSelect=_29a?"":"none";}else{if(d.isKhtml){node.style.KhtmlUserSelect=_29a?"auto":"none";}else{if(d.isIE){var v=(node.unselectable=_29a?"":"on");d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _29c=function(node,ref){ref.parentNode.insertBefore(node,ref);return true;};var _29f=function(node,ref){var pn=ref.parentNode;if(ref==pn.lastChild){pn.appendChild(node);}else{return _29c(node,ref.nextSibling);}return true;};dojo.place=function(node,_2a4,_2a5){if(!node||!_2a4){return false;}node=d.byId(node);_2a4=d.byId(_2a4);if(typeof _2a5=="number"){var cn=_2a4.childNodes;if(!cn.length||cn.length<=_2a5){_2a4.appendChild(node);return true;}return _29c(node,_2a5<=0?_2a4.firstChild:cn[_2a5]);}switch(_2a5){case "before":return _29c(node,_2a4);case "after":return _29f(node,_2a4);case "first":if(_2a4.firstChild){return _29c(node,_2a4.firstChild);}default:_2a4.appendChild(node);return true;}};dojo.boxModel="content-box";if(d.isIE){var _dcm=document.compatMode;d.boxModel=_dcm=="BackCompat"||_dcm=="QuirksMode"||d.isIE<6?"border-box":"content-box";}var gcs;if(d.isSafari){gcs=function(node){var s;if(node instanceof HTMLElement){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 instanceof HTMLElement?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}dojo.getComputedStyle=gcs;if(!d.isIE){dojo._toPixelValue=function(_2ae,_2af){return parseFloat(_2af)||0;};}else{dojo._toPixelValue=function(_2b0,_2b1){if(!_2b1){return 0;}if(_2b1=="medium"){return 4;}if(_2b1.slice&&(_2b1.slice(-2)=="px")){return parseFloat(_2b1);}with(_2b0){var _2b2=style.left;var _2b3=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_2b1;_2b1=style.pixelLeft;}catch(e){_2b1=0;}style.left=_2b2;runtimeStyle.left=_2b3;}return _2b1;};}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,_2bc){var ov=_2bc*100;node.style.zoom=1;af(node,1).Enabled=(_2bc==1?false:true);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,_2bc);});}return _2bc;}:function(node,_2c0){return node.style.opacity=_2c0;};var _2c1={left:true,top:true};var _2c2=/margin|padding|width|height|max|min|offset/;var _2c3=function(node,type,_2c6){type=type.toLowerCase();if(d.isIE){if(_2c6=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_2c6){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _2c1)){_2c1[type]=_2c2.test(type);}return _2c1[type]?px(node,_2c6):_2c6;};var _2c7=d.isIE?"styleFloat":"cssFloat";var _2c8={"cssFloat":_2c7,"styleFloat":_2c7,"float":_2c7};dojo.style=function(node,_2ca,_2cb){var n=d.byId(node),args=arguments.length,op=(_2ca=="opacity");_2ca=_2c8[_2ca]||_2ca;if(args==3){return op?d._setOpacity(n,_2cb):n.style[_2ca]=_2cb;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&!d.isString(_2ca)){for(var x in _2ca){d.style(node,x,_2ca[x]);}return s;}return (args==1)?s:_2c3(n,_2ca,s[_2ca]||n.style[_2ca]);};dojo._getPadExtents=function(n,_2d2){var s=_2d2||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,_2d7){var ne="none",s=_2d7||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,_2dd){var s=_2dd||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,_2e2){var s=_2e2||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isSafari&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_2e9){var s=_2e9||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){if(p){var be=d._getBorderExtents(p);l-=be.l;t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_2f4){var s=_2f4||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,_2fb){var s=_2fb||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"||dojo._isButtonTag(node);};dojo._setContentSize=function(node,_30a,_30b,_30c){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_30c);if(_30a>=0){_30a+=pb.w;}if(_30b>=0){_30b+=pb.h;}}d._setBox(node,NaN,NaN,_30a,_30b);};dojo._setMarginBox=function(node,_30f,_310,_311,_312,_313){var s=_313||gcs(node);var bb=d._usesBorderBox(node),pb=bb?_317:d._getPadBorderExtents(node,s);if(dojo.isSafari){if(dojo._isButtonTag(node)){var ns=node.style;if(_311>=0&&!ns.width){ns.width="4px";}if(_312>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_311>=0){_311=Math.max(_311-pb.w-mb.w,0);}if(_312>=0){_312=Math.max(_312-pb.h-mb.h,0);}d._setBox(node,_30f,_310,_311,_312);};var _317={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _324=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_328=0,_b=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_328+=val-0;if(node==_b){break;}}node=node.parentNode;}return _328;};dojo._docScroll=function(){var _b=d.body(),_w=d.global,de=d.doc.documentElement;return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||d._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};};dojo._isBodyLtr=function(){return !("_bodyLtr" in d)?d._bodyLtr=gcs(d.body()).direction=="ltr":d._bodyLtr;};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;return (d.isIE>=7)?{x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top}:{x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};};dojo._fixIeBiDiScrollLeft=function(_32e){var dd=d.doc;if(d.isIE&&!dojo._isBodyLtr()){var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;return _32e+de.clientWidth-de.scrollWidth;}return _32e;};dojo._abs=function(node,_332){var _333=node.ownerDocument;var ret={x:0,y:0};var db=d.body();if(d.isIE||(d.isFF>=3)){var _336=node.getBoundingClientRect();var cs;if(d.isFF){var dv=node.ownerDocument.defaultView;cs=dv.getComputedStyle(db.parentNode,null);}var _339=(d.isIE)?d._getIeDocumentElementOffset():{x:px(db.parentNode,cs.marginLeft),y:px(db.parentNode,cs.marginTop)};ret.x=_336.left-_339.x;ret.y=_336.top-_339.y;}else{if(node["offsetParent"]){var _33a;if(d.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){_33a=db;}else{_33a=db.parentNode;}var cs=gcs(node);var n=node;if(d.isOpera&&cs.position!="absolute"){n=n.offsetParent;}ret.x-=_324(n,"scrollLeft");ret.y-=_324(n,"scrollTop");var _33c=node;do{var n=_33c.offsetLeft;if(!d.isOpera||n>0){ret.x+=isNaN(n)?0:n;}var t=_33c.offsetTop;ret.y+=isNaN(t)?0:t;var cs=gcs(_33c);if(_33c!=node){if(d.isSafari){ret.x+=px(_33c,cs.borderLeftWidth);ret.y+=px(_33c,cs.borderTopWidth);}else{if(d.isFF){ret.x+=2*px(_33c,cs.borderLeftWidth);ret.y+=2*px(_33c,cs.borderTopWidth);}}}if(d.isFF&&cs.position=="static"){var _33e=_33c.parentNode;while(_33e!=_33c.offsetParent){var pcs=gcs(_33e);if(pcs.position=="static"){ret.x+=px(_33c,pcs.borderLeftWidth);ret.y+=px(_33c,pcs.borderTopWidth);}_33e=_33e.parentNode;}}_33c=_33c.offsetParent;}while((_33c!=_33a)&&_33c);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}if(_332){var _340=d._docScroll();ret.y+=_340.y;ret.x+=_340.x;}return ret;};dojo.coords=function(node,_342){var n=d.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d._abs(n,_342);mb.x=abs.x;mb.y=abs.y;return mb;};var _347=d.isIE<8;var _348=function(name){switch(name.toLowerCase()){case "tabindex":return _347?"tabIndex":"tabindex";case "for":case "htmlfor":return _347?"htmlFor":"for";case "class":return d.isIE?"className":"class";default:return name;}};var _34a={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType"};dojo.hasAttr=function(node,name){node=d.byId(node);var _34d=_348(name);_34d=_34d=="htmlFor"?"for":_34d;var attr=node.getAttributeNode&&node.getAttributeNode(_34d);return attr?attr.specified:false;};var _34f={};var _ctr=0;var _351=dojo._scopeName+"attrid";dojo.attr=function(node,name,_354){var args=arguments.length;if(args==2&&!d.isString(name)){for(var x in name){d.attr(node,x,name[x]);}return;}node=d.byId(node);name=_348(name);if(args==3){if(d.isFunction(_354)){var _357=d.attr(node,_351);if(!_357){_357=_ctr++;d.attr(node,_351,_357);}if(!_34f[_357]){_34f[_357]={};}var h=_34f[_357][name];if(h){d.disconnect(h);}else{try{delete node[name];}catch(e){}}_34f[_357][name]=d.connect(node,name,_354);}else{if((typeof _354=="boolean")||(name=="innerHTML")){node[name]=_354;}else{if((name=="style")&&(!d.isString(_354))){d.style(node,_354);}else{node.setAttribute(name,_354);}}}return;}else{var prop=_34a[name.toLowerCase()];if(prop){return node[prop];}else{var _35a=node[name];return (typeof _35a=="boolean"||typeof _35a=="function")?_35a:(d.hasAttr(node,name)?node.getAttribute(name):null);}}};dojo.removeAttr=function(node,name){d.byId(node).removeAttribute(_348(name));};var _35d="className";dojo.hasClass=function(node,_35f){return ((" "+d.byId(node)[_35d]+" ").indexOf(" "+_35f+" ")>=0);};dojo.addClass=function(node,_361){node=d.byId(node);var cls=node[_35d];if((" "+cls+" ").indexOf(" "+_361+" ")<0){node[_35d]=cls+(cls?" ":"")+_361;}};dojo.removeClass=function(node,_364){node=d.byId(node);var t=d.trim((" "+node[_35d]+" ").replace(" "+_364+" "," "));if(node[_35d]!=t){node[_35d]=t;}};dojo.toggleClass=function(node,_367,_368){if(_368===undefined){_368=!d.hasClass(node,_367);}d[_368?"addClass":"removeClass"](node,_367);};})();}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var d=dojo;var tnl=function(arr){arr.constructor=dojo.NodeList;dojo._mixin(arr,dojo.NodeList.prototype);return arr;};var _36c=function(func,_36e){return function(){var _a=arguments;var aa=d._toArray(_a,0,[null]);var s=this.map(function(i){aa[0]=i;return d[func].apply(d,aa);});return (_36e||((_a.length>1)||!d.isString(_a[0])))?this:s;};};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};dojo.NodeList._wrap=tnl;dojo.extend(dojo.NodeList,{slice:function(){var a=d._toArray(arguments);return tnl(a.slice.apply(this,a));},splice:function(){var a=d._toArray(arguments);return tnl(a.splice.apply(this,a));},concat:function(){var a=d._toArray(arguments,0,[this]);return tnl(a.concat.apply([],a));},indexOf:function(_376,_377){return d.indexOf(this,_376,_377);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_378,_379){return d.every(this,_378,_379);},some:function(_37a,_37b){return d.some(this,_37a,_37b);},map:function(func,obj){return d.map(this,func,obj,d.NodeList);},forEach:function(_37e,_37f){d.forEach(this,_37e,_37f);return this;},coords:function(){return d.map(this,d.coords);},attr:_36c("attr"),style:_36c("style"),addClass:_36c("addClass",true),removeClass:_36c("removeClass",true),toggleClass:_36c("toggleClass",true),connect:_36c("connect",true),place:function(_380,_381){var item=d.query(_380)[0];return this.forEach(function(i){d.place(i,item,_381);});},orphan:function(_384){return (_384?d._filterQueryResult(this,_384):this).forEach("if(item.parentNode){ item.parentNode.removeChild(item); }");},adopt:function(_385,_386){var item=this[0];return d.query(_385).forEach(function(ai){d.place(ai,item,_386||"last");});},query:function(_389){if(!_389){return this;}var ret=d.NodeList();this.forEach(function(item){ret=ret.concat(d.query(_389,item).filter(function(_38c){return (_38c!==undefined);}));});return ret;},filter:function(_38d){var _38e=this;var _a=arguments;var r=d.NodeList();var rp=function(t){if(t!==undefined){r.push(t);}};if(d.isString(_38d)){_38e=d._filterQueryResult(this,_a[0]);if(_a.length==1){return _38e;}_a.shift();}d.forEach(d.filter(_38e,_a[0],_a[1]),rp);return r;},addContent:function(_393,_394){var ta=d.doc.createElement("span");if(d.isString(_393)){ta.innerHTML=_393;}else{ta.appendChild(_393);}if(_394===undefined){_394="last";}var ct=(_394=="first"||_394=="after")?"lastChild":"firstChild";this.forEach(function(item){var tn=ta.cloneNode(true);while(tn[ct]){d.place(tn[ct],item,_394);}});return this;},empty:function(){return this.forEach("item.innerHTML='';");},instantiate:function(_399,_39a){var c=d.isFunction(_399)?_399:d.getObject(_399);return this.forEach(function(i){new c(_39a||{},i);});},at:function(){var nl=new dojo.NodeList();dojo.forEach(arguments,function(i){if(this[i]){nl.push(this[i]);}},this);return nl;}});d.forEach(["blur","focus","click","keydown","keypress","keyup","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit","load","error"],function(evt){var _oe="on"+evt;d.NodeList.prototype[_oe]=function(a,b){return this.connect(_oe,a,b);};});})();}if(!dojo._hasResource["dojo._base.query"]){dojo._hasResource["dojo._base.query"]=true;dojo.provide("dojo._base.query");(function(){var d=dojo;var _3a4=dojo.isIE?"children":"childNodes";var _3a5=false;var _3a6=function(_3a7){if(">~+".indexOf(_3a7.charAt(_3a7.length-1))>=0){_3a7+=" *";}_3a7+=" ";var ts=function(s,e){return d.trim(_3a7.slice(s,e));};var _3ab=[];var _3ac=-1;var _3ad=-1;var _3ae=-1;var _3af=-1;var _3b0=-1;var inId=-1;var _3b2=-1;var lc="";var cc="";var _3b5;var x=0;var ql=_3a7.length;var _3b8=null;var _cp=null;var _3ba=function(){if(_3b2>=0){var tv=(_3b2==x)?null:ts(_3b2,x);_3b8[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;_3b2=-1;}};var _3bc=function(){if(inId>=0){_3b8.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _3bd=function(){if(_3b0>=0){_3b8.classes.push(ts(_3b0+1,x).replace(/\\/g,""));_3b0=-1;}};var _3be=function(){_3bc();_3ba();_3bd();};for(;lc=cc,cc=_3a7.charAt(x),x=0){if(cc=="]"){if(!_cp.attr){_cp.attr=ts(_3ac+1,x);}else{_cp.matchFor=ts((_3ae||_3ac+1),x);}var cmf=_cp.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_cp.matchFor=cmf.substring(1,cmf.length-1);}}_3b8.attrs.push(_cp);_cp=null;_3ac=_3ae=-1;}else{if(cc=="="){var _3c0=("|~^$*".indexOf(lc)>=0)?lc:"";_cp.type=_3c0+cc;_cp.attr=ts(_3ac+1,x-_3c0.length);_3ae=x+1;}}}else{if(_3ad>=0){if(cc==")"){if(_3af>=0){_cp.value=ts(_3ad+1,x);}_3af=_3ad=-1;}}else{if(cc=="#"){_3be();inId=x+1;}else{if(cc=="."){_3be();_3b0=x;}else{if(cc==":"){_3be();_3af=x;}else{if(cc=="["){_3be();_3ac=x;_cp={};}else{if(cc=="("){if(_3af>=0){_cp={name:ts(_3af+1,x),value:null};_3b8.pseudos.push(_cp);}_3ad=x;}else{if(cc==" "&&lc!=cc){_3be();if(_3af>=0){_3b8.pseudos.push({name:ts(_3af+1,x)});}_3b8.hasLoops=(_3b8.pseudos.length||_3b8.attrs.length||_3b8.classes.length);_3b8.query=ts(_3b5,x);_3b8.otag=_3b8.tag=(_3b8["oper"])?null:(_3b8.tag||"*");if(_3b8.tag){_3b8.tag=_3b8.tag.toUpperCase();}_3ab.push(_3b8);_3b8=null;}}}}}}}}}return _3ab;};var _3c1={"*=":function(attr,_3c3){return "[contains(@"+attr+", '"+_3c3+"')]";},"^=":function(attr,_3c5){return "[starts-with(@"+attr+", '"+_3c5+"')]";},"$=":function(attr,_3c7){return "[substring(@"+attr+", string-length(@"+attr+")-"+(_3c7.length-1)+")='"+_3c7+"']";},"~=":function(attr,_3c9){return "[contains(concat(' ',@"+attr+",' '), ' "+_3c9+" ')]";},"|=":function(attr,_3cb){return "[contains(concat(' ',@"+attr+",' '), ' "+_3cb+"-')]";},"=":function(attr,_3cd){return "[@"+attr+"='"+_3cd+"']";}};var _3ce=function(_3cf,_3d0,_3d1,_3d2){d.forEach(_3d0.attrs,function(attr){var _3d4;if(attr.type&&_3cf[attr.type]){_3d4=_3cf[attr.type](attr.attr,attr.matchFor);}else{if(attr.attr.length){_3d4=_3d1(attr.attr);}}if(_3d4){_3d2(_3d4);}});};var _3d5=function(_3d6){var _3d7=".";var _3d8=_3a6(d.trim(_3d6));while(_3d8.length){var tqp=_3d8.shift();var _3da;var _3db="";if(tqp.oper==">"){_3da="/";tqp=_3d8.shift();}else{if(tqp.oper=="~"){_3da="/following-sibling::";tqp=_3d8.shift();}else{if(tqp.oper=="+"){_3da="/following-sibling::";_3db="[position()=1]";tqp=_3d8.shift();}else{_3da="//";}}}_3d7+=_3da+tqp.tag+_3db;if(tqp.id){_3d7+="[@id='"+tqp.id+"'][1]";}d.forEach(tqp.classes,function(cn){var cnl=cn.length;var _3de=" ";if(cn.charAt(cnl-1)=="*"){_3de="";cn=cn.substr(0,cnl-1);}_3d7+="[contains(concat(' ',@class,' '), ' "+cn+_3de+"')]";});_3ce(_3c1,tqp,function(_3df){return "[@"+_3df+"]";},function(_3e0){_3d7+=_3e0;});}return _3d7;};var _3e1={};var _3e2=function(path){if(_3e1[path]){return _3e1[path];}var doc=d.doc;var _3e5=_3d5(path);var tf=function(_3e7){var ret=[];var _3e9;var tdoc=doc;if(_3e7){tdoc=(_3e7.nodeType==9)?_3e7:_3e7.ownerDocument;}try{_3e9=tdoc.evaluate(_3e5,_3e7,null,XPathResult.ANY_TYPE,null);}catch(e){}var _3eb=_3e9.iterateNext();while(_3eb){ret.push(_3eb);_3eb=_3e9.iterateNext();}return ret;};return _3e1[path]=tf;};var _3ec={};var _3ed={};var _3ee=function(_3ef,_3f0){if(!_3ef){return _3f0;}if(!_3f0){return _3ef;}return function(){return _3ef.apply(window,arguments)&&_3f0.apply(window,arguments);};};var _3f1=function(root){var ret=[];var te,x=0,tret=root[_3a4];while((te=tret[x++])){if(te.nodeType==1){ret.push(te);}}return ret;};var _3f7=function(root,_3f9){var ret=[];var te=root;while(te=te.nextSibling){if(te.nodeType==1){ret.push(te);if(_3f9){break;}}}return ret;};var _3fc=function(_3fd,_3fe,_3ff,idx){var nidx=idx+1;var _402=(_3fe.length==nidx);var tqp=_3fe[idx];if(tqp.oper){var ecn=(tqp.oper==">")?_3f1(_3fd):_3f7(_3fd,(tqp.oper=="+"));if(!ecn||!ecn.length){return;}nidx++;_402=(_3fe.length==nidx);var tf=_406(_3fe[idx+1]);for(var x=0,ecnl=ecn.length,te;x=0);};},"^=":function(attr,_42b){return function(elem){return (_423(elem,attr).indexOf(_42b)==0);};},"$=":function(attr,_42e){var tval=" "+_42e;return function(elem){var ea=" "+_423(elem,attr);return (ea.lastIndexOf(_42e)==(ea.length-_42e.length));};},"~=":function(attr,_433){var tval=" "+_433+" ";return function(elem){var ea=" "+_423(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_438){var _439=" "+_438+"-";return function(elem){var ea=" "+(elem.getAttribute(attr,2)||"");return ((ea==_438)||(ea.indexOf(_439)==0));};},"=":function(attr,_43d){return function(elem){return (_423(elem,attr)==_43d);};}};var _43f={"checked":function(name,_441){return function(elem){return !!d.attr(elem,"checked");};},"first-child":function(name,_444){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,_448){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,_44c){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt==1)||(nt==3)){return false;}}return true;};},"contains":function(name,_453){return function(elem){if(_453.charAt(0)=="\""||_453.charAt(0)=="'"){_453=_453.substr(1,_453.length-2);}return (elem.innerHTML.indexOf(_453)>=0);};},"not":function(name,_456){var ntf=_406(_3a6(_456)[0]);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_45a){var pi=parseInt;if(_45a=="odd"){_45a="2n+1";}else{if(_45a=="even"){_45a="2n";}}if(_45a.indexOf("n")!=-1){var _45c=_45a.split("n",2);var pred=_45c[0]?(_45c[0]=="-"?-1:pi(_45c[0])):1;var idx=_45c[1]?pi(_45c[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_418(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_45a=idx;}}var _463=pi(_45a);return function(elem){return (_418(elem)==_463);};}};var _465=(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 _417=function(_46b){var _46c=(_3ed[_46b.query]||_3ec[_46b.query]);if(_46c){return _46c;}var ff=null;if(_46b.id){if(_46b.tag!="*"){ff=_3ee(ff,function(elem){return (elem.tagName==_46b[_3a5?"otag":"tag"]);});}}d.forEach(_46b.classes,function(_46f,idx,arr){var _472=_46f.charAt(_46f.length-1)=="*";if(_472){_46f=_46f.substr(0,_46f.length-1);}var re=new RegExp("(?:^|\\s)"+_46f+(_472?".*":"")+"(?:\\s|$)");ff=_3ee(ff,function(elem){return re.test(elem.className);});ff.count=idx;});d.forEach(_46b.pseudos,function(_475){if(_43f[_475.name]){ff=_3ee(ff,_43f[_475.name](_475.name,_475.value));}});_3ce(_426,_46b,_465,function(_476){ff=_3ee(ff,_476);});if(!ff){ff=function(){return true;};}return _3ed[_46b.query]=ff;};var _477={};var _40b=function(_478,root){var fHit=_477[_478.query];if(fHit){return fHit;}if(_478.id&&!_478.hasLoops&&!_478.tag){return _477[_478.query]=function(root){return [d.byId(_478.id)];};}var _47c=_417(_478);var _47d;if(_478.tag&&_478.id&&!_478.hasLoops){_47d=function(root){var te=d.byId(_478.id,(root.ownerDocument||root));if(_47c(te)){return [te];}};}else{var tret;if(!_478.hasLoops){_47d=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_478[_3a5?"otag":"tag"]);while((te=tret[x++])){ret.push(te);}return ret;};}else{_47d=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_478[_3a5?"otag":"tag"]);while((te=tret[x++])){if(_47c(te)){ret.push(te);}}return ret;};}}return _477[_478.query]=_47d;};var _489={};var _48a={"*":d.isIE?function(root){return root.all;}:function(root){return root.getElementsByTagName("*");},"~":_3f7,"+":function(root){return _3f7(root,true);},">":_3f1};var _48e=function(_48f){var _490=_3a6(d.trim(_48f));if(_490.length==1){var tt=_40b(_490[0]);tt.nozip=true;return tt;}var sqf=function(root){var _494=_490.slice(0);var _495;if(_494[0].oper==">"){_495=[root];}else{_495=_40b(_494.shift())(root);}return _40c(_495,_494);};return sqf;};var _496=((document["evaluate"]&&!d.isSafari)?function(_497,root){var _499=_497.split(" ");if((!_3a5)&&(document["evaluate"])&&(_497.indexOf(":")==-1)&&(_497.indexOf("+")==-1)){if(((_499.length>2)&&(_497.indexOf(">")==-1))||(_499.length>3)||(_497.indexOf("[")>=0)||((1==_499.length)&&(0<=_497.indexOf(".")))){return _3e2(_497);}}return _48e(_497);}:_48e);var _49a=function(_49b){var qcz=_49b.charAt(0);if(d.doc["querySelectorAll"]&&((!d.isSafari)||(d.isSafari>3.1))&&(">+~".indexOf(qcz)==-1)){return function(root){var r=root.querySelectorAll(_49b);r.nozip=true;return r;};}if(_48a[_49b]){return _48a[_49b];}if(0>_49b.indexOf(",")){return _48a[_49b]=_496(_49b);}else{var _49f=_49b.split(/\s*,\s*/);var tf=function(root){var _4a2=0;var ret=[];var tp;while((tp=_49f[_4a2++])){ret=ret.concat(_496(tp,tp.indexOf(" "))(root));}return ret;};return _48a[_49b]=tf;}};var _4a5=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;}_4a5++;if(d.isIE&&_3a5){var _4a9=_4a5+"";arr[0].setAttribute("_zipIdx",_4a9);for(var x=1,te;te=arr[x];x++){if(arr[x].getAttribute("_zipIdx")!=_4a9){ret.push(te);}te.setAttribute("_zipIdx",_4a9);}}else{arr[0]["_zipIdx"]=_4a5;for(var x=1,te;te=arr[x];x++){if(arr[x]["_zipIdx"]!=_4a5){ret.push(te);}te["_zipIdx"]=_4a5;}}return ret;};d.query=function(_4ac,root){if(_4ac.constructor==d.NodeList){return _4ac;}if(!d.isString(_4ac)){return new d.NodeList(_4ac);}if(d.isString(root)){root=d.byId(root);}root=root||d.doc;var od=root.ownerDocument||root.documentElement;_3a5=(root.contentType&&root.contentType=="application/xml")||(!!od)&&(d.isIE?od.xml:(root.xmlVersion||od.xmlVersion));return _zip(_49a(_4ac)(root));};d.query.pseudos=_43f;d._filterQueryResult=function(_4af,_4b0){var tnl=new d.NodeList();var ff=(_4b0)?_406(_3a6(_4b0)[0]):function(){return true;};for(var x=0,te;te=_4af[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,_4b8){var val=obj[name];if(_d.isString(val)){obj[name]=[val,_4b8];}else{if(_d.isArray(val)){val.push(_4b8);}else{obj[name]=_4b8;}}};dojo.formToObject=function(_4ba){var ret={};var _4bc="file|submit|image|reset|button|";_d.forEach(dojo.byId(_4ba).elements,function(item){var _in=item.name;var type=(item.type||"").toLowerCase();if(_in&&type&&_4bc.indexOf(type)==-1&&!item.disabled){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 _4c3=[];var _4c4={};for(var name in map){var _4c6=map[name];if(_4c6!=_4c4[name]){var _4c7=enc(name)+"=";if(_d.isArray(_4c6)){for(var i=0;i<_4c6.length;i++){_4c3.push(_4c7+enc(_4c6[i]));}}else{_4c3.push(_4c7+enc(_4c6));}}}return _4c3.join("&");};dojo.formToQuery=function(_4c9){return _d.objectToQuery(_d.formToObject(_4c9));};dojo.formToJson=function(_4ca,_4cb){return _d.toJson(_d.formToObject(_4ca),_4cb);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_d.forEach(qp,function(item){if(item.length){var _4d1=item.split("=");var name=dec(_4d1.shift());var val=dec(_4d1.join("="));if(_d.isString(ret[name])){ret[name]=[ret[name]];}if(_d.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}});return ret;};dojo._blockAsync=false;dojo._contentHandlers={"text":function(xhr){return xhr.responseText;},"json":function(xhr){return _d.fromJson(xhr.responseText||null);},"json-comment-filtered":function(xhr){if(!dojo.config.useCommentedJson){console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues. To"+" decrease the chances of hijacking, use the standard the 'json' handler and"+" prefix your json with: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message.");}var _4d7=xhr.responseText;var _4d8=_4d7.indexOf("/*");var _4d9=_4d7.lastIndexOf("*/");if(_4d8==-1||_4d9==-1){throw new Error("JSON was not comment filtered");}return _d.fromJson(_4d7.substring(_4d8+2,_4d9));},"javascript":function(xhr){return _d.eval(xhr.responseText);},"xml":function(xhr){var _4dc=xhr.responseXML;if(_d.isIE&&(!_4dc||_4dc.documentElement==null)){_d.forEach(["MSXML2","Microsoft","MSXML","MSXML3"],function(_4dd){try{var dom=new ActiveXObject(_4dd+".XMLDOM");dom.async=false;dom.loadXML(xhr.responseText);_4dc=dom;}catch(e){}});}return _4dc;}};dojo._contentHandlers["json-comment-optional"]=function(xhr){var _4e0=_d._contentHandlers;if(xhr.responseText&&xhr.responseText.indexOf("/*")!=-1){return _4e0["json-comment-filtered"](xhr);}else{return _4e0["json"](xhr);}};dojo._ioSetArgs=function(args,_4e2,_4e3,_4e4){var _4e5={args:args,url:args.url};var _4e6=null;if(args.form){var form=_d.byId(args.form);var _4e8=form.getAttributeNode("action");_4e5.url=_4e5.url||(_4e8?_4e8.value:null);_4e6=_d.formToObject(form);}var _4e9=[{}];if(_4e6){_4e9.push(_4e6);}if(args.content){_4e9.push(args.content);}if(args.preventCache){_4e9.push({"dojo.preventCache":new Date().valueOf()});}_4e5.query=_d.objectToQuery(_d.mixin.apply(null,_4e9));_4e5.handleAs=args.handleAs||"text";var d=new _d.Deferred(_4e2);d.addCallbacks(_4e3,function(_4eb){return _4e4(_4eb,d);});var ld=args.load;if(ld&&_d.isFunction(ld)){d.addCallback(function(_4ed){return ld.call(args,_4ed,_4e5);});}var err=args.error;if(err&&_d.isFunction(err)){d.addErrback(function(_4ef){return err.call(args,_4ef,_4e5);});}var _4f0=args.handle;if(_4f0&&_d.isFunction(_4f0)){d.addBoth(function(_4f1){return _4f0.call(args,_4f1,_4e5);});}d.ioArgs=_4e5;return d;};var _4f2=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _at=typeof xhr.abort;if(_at=="function"||_at=="object"||_at=="unknown"){xhr.abort();}var err=dfd.ioArgs.error;if(!err){err=new Error("xhr cancelled");err.dojoType="cancel";}return err;};var _4f7=function(dfd){var ret=_d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return (typeof ret=="undefined")?null:ret;};var _4fa=function(_4fb,dfd){return _4fb;};var _4fd=null;var _4fe=[];var _4ff=function(){var now=(new Date()).getTime();if(!_d._blockAsync){for(var i=0,tif;i<_4fe.length&&(tif=_4fe[i]);i++){var dfd=tif.dfd;var func=function(){if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_4fe.splice(i--,1);}else{if(tif.ioCheck(dfd)){_4fe.splice(i--,1);tif.resHandle(dfd);}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)0){setTimeout(_p,de);return _t;}_p();return _t;},_play:function(_52c){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 _52e=_t.curve.getValue(_t._percent);if(!_t._percent){if(!_t._startRepeatCount){_t._startRepeatCount=_t.repeat;}_t._fire("onBegin",[_52e]);}_t._fire("onPlay",[_52e]);_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(_52f,_530){this._stopTimer();this._active=this._paused=true;this._percent=_52f;if(_530){this.play();}return this;},stop:function(_531){if(!this._timer){return this;}this._stopTimer();if(_531){this._percent=1;}this._fire("onStop",[this.curve.getValue(this._percent)]);this._active=this._paused=false;return this;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _t=this;if(_t._active){var curr=new Date().valueOf();var step=(curr-_t._startTime)/(_t._endTime-_t._startTime);if(step>=1){step=1;}_t._percent=step;if(_t.easing){step=_t.easing(step);}_t._fire("onAnimate",[_t.curve.getValue(step)]);if(_t._percent<1){_t._startTimer();}else{_t._active=false;if(_t.repeat>0){_t.repeat--;_t.play(null,true);}else{if(_t.repeat==-1){_t.play(null,true);}else{if(_t._startRepeatCount){_t.repeat=_t._startRepeatCount;_t._startRepeatCount=0;}}}_t._percent=0;_t._fire("onEnd");_t._stopTimer();}}return _t;}});var ctr=0;var _536=[];var _537={run:function(){}};var _538=null;dojo._Animation.prototype._startTimer=function(){if(!this._timer){this._timer=d.connect(_537,"run",this,"_cycle");ctr++;}if(!_538){_538=setInterval(d.hitch(_537,"run"),this.rate);}};dojo._Animation.prototype._stopTimer=function(){if(this._timer){d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_538);_538=null;ctr=0;}};var _539=(d.isIE)?function(node){var ns=node.style;if(!ns.width.length&&d.style(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=d.byId(args.node);var _53d=d.mixin({properties:{}},args);var _53e=(_53d.properties.opacity={});_53e.start=!("start" in _53d)?function(){return Number(d.style(_53d.node,"opacity"));}:_53d.start;_53e.end=_53d.end;var anim=d.animateProperty(_53d);d.connect(anim,"beforeBegin",d.partial(_539,_53d.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 _543=function(_544){this._properties=_544;for(var p in _544){var prop=_544[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 _54b=prop.start;if(_54b instanceof d.Color){ret[p]=d.blendColors(_54b,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_54b)){ret[p]=((prop.end-_54b)*r)+_54b+(p!="opacity"?prop.units||"px":"");}}}return ret;};};dojo.animateProperty=function(args){args.node=d.byId(args.node);if(!args.easing){args.easing=d._defaultEasing;}var anim=new d._Animation(args);d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];prop=pm[p]=d.mixin({},(d.isObject(prop)?prop:{end:prop}));if(d.isFunction(prop.start)){prop.start=prop.start();}if(d.isFunction(prop.end)){prop.end=prop.end();}var _551=(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):(_551?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(_551){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 _543(pm);});d.connect(anim,"onAnimate",d.hitch(d,"style",anim.node));return anim;};dojo.anim=function(node,_556,_557,_558,_559,_55a){return d.animateProperty({node:node,duration:_557||d._Animation.prototype.duration,properties:_556,easing:_558,onEnd:_559}).play(_55a||0);};})();}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_55b,_55c,_55d){_55d=dojo.i18n.normalizeLocale(_55d);var _55e=_55d.split("-");var _55f=[_55b,"nls",_55c].join(".");var _560=dojo._loadedModules[_55f];if(_560){var _561;for(var i=_55e.length;i>0;i--){var loc=_55e.slice(0,i).join("_");if(_560[loc]){_561=_560[loc];break;}}if(!_561){_561=_560.ROOT;}if(_561){var _564=function(){};_564.prototype=_561;return new _564();}}throw new Error("Bundle not found: "+_55c+" in "+_55b+" , locale="+_55d);};dojo.i18n.normalizeLocale=function(_565){var _566=_565?_565.toLowerCase():dojo.locale;if(_566=="root"){_566="ROOT";}return _566;};dojo.i18n._requireLocalization=function(_567,_568,_569,_56a){var _56b=dojo.i18n.normalizeLocale(_569);var _56c=[_567,"nls",_568].join(".");var _56d="";if(_56a){var _56e=_56a.split(",");for(var i=0;i<_56e.length;i++){if(_56b["indexOf"](_56e[i])==0){if(_56e[i].length>_56d.length){_56d=_56e[i];}}}if(!_56d){_56d="ROOT";}}var _570=_56a?_56d:_56b;var _571=dojo._loadedModules[_56c];var _572=null;if(_571){if(dojo.config.localizationComplete&&_571._built){return;}var _573=_570.replace(/-/g,"_");var _574=_56c+"."+_573;_572=dojo._loadedModules[_574];}if(!_572){_571=dojo["provide"](_56c);var syms=dojo._getModuleSymbols(_567);var _576=syms.concat("nls").join("/");var _577;dojo.i18n._searchLocalePath(_570,_56a,function(loc){var _579=loc.replace(/-/g,"_");var _57a=_56c+"."+_579;var _57b=false;if(!dojo._loadedModules[_57a]){dojo["provide"](_57a);var _57c=[_576];if(loc!="ROOT"){_57c.push(loc);}_57c.push(_568);var _57d=_57c.join("/")+".js";_57b=dojo._loadPath(_57d,null,function(hash){var _57f=function(){};_57f.prototype=_577;_571[_579]=new _57f();for(var j in hash){_571[_579][j]=hash[j];}});}else{_57b=true;}if(_57b&&_571[_579]){_577=_571[_579];}else{_571[_579]=_577;}if(_56a){return true;}});}if(_56a&&_56b!=_56d){_571[_56b.replace(/-/g,"_")]=_571[_56d.replace(/-/g,"_")];}};(function(){var _581=dojo.config.extraLocale;if(_581){if(!_581 instanceof Array){_581=[_581];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_585,_586){req(m,b,_585,_586);if(_585){return;}for(var i=0;i<_581.length;i++){req(m,b,_581[i],_586);}};}})();dojo.i18n._searchLocalePath=function(_588,down,_58a){_588=dojo.i18n.normalizeLocale(_588);var _58b=_588.split("-");var _58c=[];for(var i=_58b.length;i>0;i--){_58c.push(_58b.slice(0,i).join("-"));}_58c.push(false);if(down){_58c.reverse();}for(var j=_58c.length-1;j>=0;j--){var loc=_58c[j]||"ROOT";var stop=_58a(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_591,_592){function preload(_593){_593=dojo.i18n.normalizeLocale(_593);dojo.i18n._searchLocalePath(_593,true,function(loc){for(var i=0;i<_592.length;i++){if(_592[i]==loc){dojo["require"](_591+"_"+loc);return true;}}return false;});};preload();var _596=dojo.config.extraLocale||[];for(var i=0;i<_596.length;i++){preload(_596[i]);}};}if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");if(dojo.config.require){dojo.forEach(dojo.config.require,"dojo['require'](item);");}}if(dojo.config.afterOnLoad&&dojo.isBrowser){window.setTimeout(dojo._fakeLoadInit,1000);}})();