/* Copyright (c) 2004-2011, 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 an optimized version of Dojo, built for deployment and not for development. To get sources and documentation, please visit: http://dojotoolkit.org */ (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};var _9=typeof djConfig!="undefined"?djConfig:typeof dojoConfig!="undefined"?dojoConfig:null;if(_9){for(var c in _9){d.config[c]=_9[c];}}dojo.locale=d.config.locale;var _a="$Rev: 23917 $".match(/\d+/);dojo.version={major:0,minor:0,patch:0,flag:"dev",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(_24){var _25=_24.split(".");for(var i=_25.length;i>0;i--){var _26=_25.slice(0,i).join(".");if(i==1&&!d._moduleHasPrefix(_26)){_25[0]="../"+_25[0];}else{var _27=d._getModulePrefix(_26);if(_27!=_26){_25.splice(0,i,_27);break;}}}return _25;};dojo._global_omit_module_check=false;dojo.loadInit=function(_28){_28();};dojo._loadModule=dojo.require=function(_29,_2a){_2a=d._global_omit_module_check||_2a;var _2b=d._loadedModules[_29];if(_2b){return _2b;}var _2c=d._getModuleSymbols(_29).join("/")+".js";var _2d=!_2a?_29:null;var ok=d._loadPath(_2c,_2d);if(!ok&&!_2a){throw new Error("Could not load '"+_29+"'; last tried '"+_2c+"'");}if(!_2a&&!d._isXDomain){_2b=d._loadedModules[_29];if(!_2b){throw new Error("symbol '"+_29+"' is not defined after loading '"+_2c+"'");}}return _2b;};dojo.provide=function(_2e){_2e=_2e+"";return (d._loadedModules[_2e]=d.getObject(_2e,true));};dojo.platformRequire=function(_2f){var _30=_2f.common||[];var _31=_30.concat(_2f[d._name]||_2f["default"]||[]);for(var x=0;x<_31.length;x++){var _32=_31[x];if(_32.constructor==Array){d._loadModule.apply(d,_32);}else{d._loadModule(_32);}}};dojo.requireIf=function(_33,_34){if(_33===true){var _35=[];for(var i=1;i0&&!(j==1&&_40[0]=="")&&_40[j]==".."&&_40[j-1]!=".."){if(j==(_40.length-1)){_40.splice(j,1);_40[j-1]="";}else{_40.splice(j-1,2);j-=2;}}}}_3d.path=_40.join("/");}}}}uri=[];if(_3d.scheme){uri.push(_3d.scheme,":");}if(_3d.authority){uri.push("//",_3d.authority);}uri.push(_3d.path);if(_3d.query){uri.push("?",_3d.query);}if(_3d.fragment){uri.push("#",_3d.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(_41,url){var loc=d._getModuleSymbols(_41).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _42=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_42==-1||_42>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(_43,_44,_45){var _46=_43.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"");var _47=[];var _48=/dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\s*\(([\w\W]*?)\)/mg;var _49;while((_49=_48.exec(_46))!=null){if(_49[1]=="requireLocalization"){eval(_49[0]);}else{_47.push("\""+_49[1]+"\", "+_49[2]);}}var _4a=[];_4a.push(dojo._scopeName+"._xdResourceLoaded(function("+dojo._scopePrefixArgs+"){\n");var _4b=dojo._xdExtractLoadInits(_43);if(_4b){_43=_4b[0];for(var i=1;i<_4b.length;i++){_4a.push(_4b[i]+";\n");}}_4a.push("return {");if(_47.length>0){_4a.push("depends: [");for(i=0;i<_47.length;i++){if(i>0){_4a.push(",\n");}_4a.push("["+_47[i]+"]");}_4a.push("],");}_4a.push("\ndefineResource: function("+dojo._scopePrefixArgs+"){");if(!dojo.config["debugAtAllCosts"]||_44=="dojo._base._loader.loader_debug"){_4a.push(_43);}_4a.push("\n}, resourceName: '"+_44+"', resourcePath: '"+_45+"'};});");return _4a.join("");};dojo._xdExtractLoadInits=function(_4c){var _4d=/dojo.loadInit\s*\(/g;_4d.lastIndex=0;var _4e=/[\(\)]/g;_4e.lastIndex=0;var _4f=[];var _50;while((_50=_4d.exec(_4c))){_4e.lastIndex=_4d.lastIndex;var _51=1;var _52;while((_52=_4e.exec(_4c))){if(_52[0]==")"){_51-=1;}else{_51+=1;}if(_51==0){break;}}if(_51!=0){throw "unmatched paren around character "+_4e.lastIndex+" in: "+_4c;}var _53=_4d.lastIndex-_50[0].length;_4f.push(_4c.substring(_53,_4e.lastIndex));var _54=_4e.lastIndex-_53;_4c=_4c.substring(0,_53)+_4c.substring(_4e.lastIndex,_4c.length);_4d.lastIndex=_4e.lastIndex-_54;_4d.lastIndex=_4e.lastIndex;}if(_4f.length>0){_4f.unshift(_4c);}return (_4f.length?_4f:null);};dojo._xdIsXDomainPath=function(_55){var _56=_55.indexOf(":");var _57=_55.indexOf("/");if(_56>0&&_56<_57||_55.indexOf("//")===0){return true;}else{var url=dojo.baseUrl;_56=url.indexOf(":");_57=url.indexOf("/");if(url.indexOf("//")===0||(_56>0&&_56<_57&&(!location.host||url.indexOf("http://"+location.host)!=0))){return true;}}return false;};dojo._loadPath=function(_58,_59,cb){var _5a=dojo._xdIsXDomainPath(_58);dojo._isXDomain|=_5a;var uri=((_58.charAt(0)=="/"||_58.match(/^\w+:/))?"":dojo.baseUrl)+_58;try{return ((!_59||dojo._isXDomain)?dojo._loadUri(uri,cb,_5a,_59):dojo._loadUriAndCheck(uri,_59,cb));}catch(e){console.error(e);return false;}};dojo._xdCharSet="utf-8";dojo._loadUri=function(uri,cb,_5b,_5c){if(dojo._loadedUrls[uri]){return 1;}if(dojo._isXDomain&&_5c&&_5c!="dojo.i18n"){dojo._xdOrderedReqs.push(_5c);if(_5b||uri.indexOf("/nls/")==-1){dojo._xdInFlight[_5c]=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(_5b){var _5d=uri.lastIndexOf(".");if(_5d<=0){_5d=uri.length-1;}var _5e=uri.substring(0,_5d)+".xd";if(_5d!=uri.length-1){_5e+=uri.substring(_5d,uri.length);}if(dojo.isAIR){_5e=_5e.replace("app:/","/");}var _5f=document.createElement("script");_5f.type="text/javascript";if(dojo._xdCharSet){_5f.charset=dojo._xdCharSet;}_5f.src=_5e;if(!dojo.headElement){dojo._headElement=document.getElementsByTagName("head")[0];if(!dojo._headElement){dojo._headElement=document.getElementsByTagName("html")[0];}}dojo._headElement.appendChild(_5f);}else{var _60=dojo._getText(uri,null,true);if(_60==null){return 0;}if(dojo._isXDomain&&uri.indexOf("/nls/")==-1&&_5c!="dojo.i18n"){var res=dojo._xdCreateResource(_60,_5c,uri);dojo.eval(res);}else{if(cb){_60="("+_60+")";}else{_60=dojo._scopePrefix+_60+dojo._scopeSuffix;}var _61=dojo["eval"](_60+"\r\n//@ sourceURL="+uri);if(cb){cb(_61);}}}dojo._loadedUrls[uri]=true;dojo._loadedUrls.push(uri);return true;};dojo._xdResourceLoaded=function(res){res=res.apply(dojo.global,dojo._scopeArgs);var _62=res.depends;var _63=null;var _64=null;var _65=[];if(_62&&_62.length>0){var dep=null;var _66=0;var _67=false;for(var i=0;i<_62.length;i++){dep=_62[i];if(dep[0]=="provide"){_65.push(dep[1]);}else{if(!_63){_63=[];}if(!_64){_64=[];}var _68=dojo._xdUnpackDependency(dep);if(_68.requires){_63=_63.concat(_68.requires);}if(_68.requiresAfter){_64=_64.concat(_68.requiresAfter);}}var _69=dep[0];var _6a=_69.split(".");if(_6a.length==2){dojo[_6a[0]][_6a[1]].apply(dojo[_6a[0]],dep.slice(1));}else{dojo[_69].apply(dojo,dep.slice(1));}}if(_65.length==1&&_65[0]=="dojo._base._loader.loader_debug"){res.defineResource(dojo);}else{var _6b=dojo._xdContents.push({content:res.defineResource,resourceName:res["resourceName"],resourcePath:res["resourcePath"],isDefined:false})-1;for(i=0;i<_65.length;i++){dojo._xdDepMap[_65[i]]={requires:_63,requiresAfter:_64,contentIndex:_6b};}}for(i=0;i<_65.length;i++){dojo._xdInFlight[_65[i]]=false;}}};dojo._xdLoadFlattenedBundle=function(_6c,_6d,_6e,_6f){_6e=_6e||"root";var _70=dojo.i18n.normalizeLocale(_6e).replace("-","_");var _71=[_6c,"nls",_6d].join(".");var _72=dojo["provide"](_71);_72[_70]=_6f;var _73=[_6c,_70,_6d].join(".");var _74=dojo._xdBundleMap[_73];if(_74){for(var _75 in _74){_72[_75]=_6f;}}};dojo._xdInitExtraLocales=function(){var _76=dojo.config.extraLocale;if(_76){if(!_76 instanceof Array){_76=[_76];}dojo._xdReqLoc=dojo.xdRequireLocalization;dojo.xdRequireLocalization=function(m,b,_77,_78){dojo._xdReqLoc(m,b,_77,_78);if(_77){return;}for(var i=0;i<_76.length;i++){dojo._xdReqLoc(m,b,_76[i],_78);}};}};dojo._xdBundleMap={};dojo.xdRequireLocalization=function(_79,_7a,_7b,_7c){if(dojo._xdInitExtraLocales){dojo._xdInitExtraLocales();dojo._xdInitExtraLocales=null;dojo.xdRequireLocalization.apply(dojo,arguments);return;}var _7d=_7c.split(",");var _7e=dojo.i18n.normalizeLocale(_7b);var _7f="";for(var i=0;i<_7d.length;i++){if(_7e.indexOf(_7d[i])==0){if(_7d[i].length>_7f.length){_7f=_7d[i];}}}var _80=_7f.replace("-","_");var _81=dojo.getObject([_79,"nls",_7a].join("."));if(!_81||!_81[_80]){var _82=[_79,(_80||"root"),_7a].join(".");var _83=dojo._xdBundleMap[_82];if(!_83){_83=dojo._xdBundleMap[_82]={};}_83[_7e.replace("-","_")]=true;dojo.require(_79+".nls"+(_7f?"."+_7f:"")+"."+_7a);}};dojo._xdRealRequireLocalization=dojo.requireLocalization;dojo.requireLocalization=function(_84,_85,_86,_87){var _88=dojo.moduleUrl(_84).toString();if(dojo._xdIsXDomainPath(_88)){return dojo.xdRequireLocalization.apply(dojo,arguments);}else{return dojo._xdRealRequireLocalization.apply(dojo,arguments);}};dojo._xdUnpackDependency=function(dep){var _89=null;var _8a=null;switch(dep[0]){case "requireIf":case "requireAfterIf":if(dep[1]===true){_89=[{name:dep[2],content:null}];}break;case "platformRequire":var _8b=dep[1];var _8c=_8b["common"]||[];_89=(_8b[dojo.hostenv.name_])?_8c.concat(_8b[dojo.hostenv.name_]||[]):_8c.concat(_8b["default"]||[]);if(_89){for(var i=0;i<_89.length;i++){if(_89[i] instanceof Array){_89[i]={name:_89[i][0],content:null};}else{_89[i]={name:_89[i],content:null};}}}break;case "require":_89=[{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"){_8a=_89;_89=null;}return {requires:_89,requiresAfter:_8a};};dojo._xdWalkReqs=function(){var _8d=null;var req;for(var i=0;i0){var req=_8e[_8e.length-1];var res=dojo._xdDepMap[req];var i,_8f,_90;if(res){_8f=res.requires;if(_8f&&_8f.length>0){for(i=0;i<_8f.length;i++){_90=_8f[i].name;if(_90&&!_8e[_90]){_8e.push(_90);_8e[_90]=true;dojo._xdEvalReqs(_8e);}}}var _91=dojo._xdContents[res.contentIndex];if(!_91.isDefined){var _92=_91.content;_92["resourceName"]=_91["resourceName"];_92["resourcePath"]=_91["resourcePath"];dojo._xdDefList.push(_92);_91.isDefined=true;}dojo._xdDepMap[req]=null;_8f=res.requiresAfter;if(_8f&&_8f.length>0){for(i=0;i<_8f.length;i++){_90=_8f[i].name;if(_90&&!_8e[_90]){_8e.push(_90);_8e[_90]=true;dojo._xdEvalReqs(_8e);}}}}_8e.pop();}};dojo._xdWatchInFlight=function(){var _93="";var _94=(dojo.config.xdWaitSeconds||15)*1000;var _95=(dojo._xdStartTime+_94)<(new Date()).getTime();for(var _96 in dojo._xdInFlight){if(dojo._xdInFlight[_96]===true){if(_95){_93+=_96+" ";}else{return;}}}dojo._xdClearInterval();if(_95){throw "Could not load cross-domain resources: "+_93;}dojo._xdWalkReqs();var _97=dojo._xdDefList.length;for(var i=0;i<_97;i++){var _98=dojo._xdDefList[i];if(dojo.config["debugAtAllCosts"]&&_98["resourceName"]){if(!dojo["_xdDebugQueue"]){dojo._xdDebugQueue=[];}dojo._xdDebugQueue.push({resourceName:_98.resourceName,resourcePath:_98.resourcePath});}else{_98.apply(dojo.global,dojo._scopeArgs);}}for(i=0;i0){dojo._xdDebugFileLoaded();}else{dojo._xdNotifyLoaded();}};dojo._xdNotifyLoaded=function(){for(var _9a in dojo._xdInFlight){if(typeof dojo._xdInFlight[_9a]=="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 _9b=document.getElementsByTagName("script");var _9c=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_9b.length;i++){var src=_9b[i].getAttribute("src");if(!src){continue;}var m=src.match(_9c);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=(_9b[i].getAttribute("djConfig")||_9b[i].getAttribute("data-dojo-config"));if(cfg){var _9d=eval("({ "+cfg+" })");for(var x in _9d){dojo.config[x]=_9d[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 _9e=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_9e&&!dojo.isChrome){d.isSafari=parseFloat(dav.split("Version/")[1]);if(!d.isSafari||parseFloat(dav.substr(_9e+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 _9f=document.documentMode;if(_9f&&_9f!=5&&Math.floor(d.isIE)!=_9f){d.isIE=_9f;}}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 _a0,_a1;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_a0=new XMLHttpRequest();}catch(e){}}if(!_a0){for(var i=0;i<3;++i){var _a2=d._XMLHTTP_PROGIDS[i];try{_a0=new ActiveXObject(_a2);}catch(e){_a1=e;}if(_a0){d._XMLHTTP_PROGIDS=[_a2];break;}}}if(!_a0){throw new Error("XMLHTTP not available: "+_a1);}return _a0;};d._isDocumentOk=function(_a3){var _a4=_a3.status||0;return (_a4>=200&&_a4<300)||_a4==304||_a4==1223||!_a4;};var _a5=window.location+"";var _a6=document.getElementsByTagName("base");var _a7=(_a6&&_a6.length>0);d._getText=function(uri,_a8){var _a9=d._xhrObj();if(!_a7&&dojo._Url){uri=(new dojo._Url(_a5,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_a9.open("GET",uri,false);try{_a9.send(null);if(!d._isDocumentOk(_a9)){var err=Error("Unable to load "+uri+" status:"+_a9.status);err.status=_a9.status;err.responseText=_a9.responseText;throw err;}}catch(e){if(_a8){return null;}throw e;}return _a9.responseText;};var _aa=window;var _ab=function(_ac,fp){var _ad=_aa.attachEvent||_aa.addEventListener;_ac=_aa.attachEvent?_ac:_ac.substring(2);_ad(_ac,function(){fp.apply(_aa,arguments);},false);};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=d._windowUnloaders;while(mll.length){(mll.pop())();}d=null;};var _ae=0;d.addOnWindowUnload=function(obj,_af){d._onto(d._windowUnloaders,obj,_af);if(!_ae){_ae=1;_ab("onunload",d.windowUnloaded);}};var _b0=0;d.addOnUnload=function(obj,_b1){d._onto(d._unloaders,obj,_b1);if(!_b0){_b0=1;_ab("onbeforeunload",dojo.unloaded);}};})();dojo._initFired=false;dojo._loadInit=function(e){if(dojo._scrollIntervalId){clearInterval(dojo._scrollIntervalId);dojo._scrollIntervalId=0;}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.config.skipIeDomLoaded&&self===self.top){dojo._scrollIntervalId=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");dojo._loadInit();}}catch(e){}},30);}}}}if(dojo.isIE){try{(function(){document.namespaces.add("v","urn:schemas-microsoft-com:vml");var _b2=["*","group","roundrect","oval","shape","rect","imagedata","path","textpath","text"],i=0,l=1,s=document.createStyleSheet();if(dojo.isIE>=8){i=1;l=_b2.length;}for(;i2){return d._hitchArgs.apply(d,arguments);}if(!_bc){_bc=_bb;_bb=null;}if(d.isString(_bc)){_bb=_bb||d.global;if(!_bb[_bc]){throw (["dojo.hitch: scope[\"",_bc,"\"] is null (scope=\"",_bb,"\")"].join(""));}return function(){return _bb[_bc].apply(_bb,arguments||[]);};}return !_bb?_bc:function(){return _bc.apply(_bb,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_bd){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_bd){d._mixin(tmp,_bd);}return tmp;};})();var _be=function(obj,_bf,_c0){return (_c0||[]).concat(Array.prototype.slice.call(obj,_bf||0));};var _c1=function(obj,_c2,_c3){var arr=_c3||[];for(var x=_c2||0;xend)||i=0;--j){_f7=lin[j].prototype;if(!_f7.hasOwnProperty("declaredClass")){_f7.declaredClass="uniqName_"+(_ed++);}_f8=_f7.declaredClass;if(!_f4.hasOwnProperty(_f8)){_f4[_f8]={count:0,refs:[],cls:lin[j]};++_f5;}rec=_f4[_f8];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_f3[0].refs.push(top);}while(_f3.length){top=_f3.pop();_f2.push(top.cls);--_f5;while(_f9=top.refs,_f9.length==1){top=_f9[0];if(!top||--top.count){top=0;break;}_f2.push(top.cls);--_f5;}if(top){for(i=0,l=_f9.length;i=0;--i){f=_10e[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_110?_110[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _112(ctor,_113){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _111(a);}if(_113){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 _114(_115){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _111(a);}for(;f=_115[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 _116(name,_117,_118){return function(){var b,m,f,i=0,step=1;if(_118){i=_117.length-1;step=-1;}for(;b=_117[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _119(ctor){_ec.prototype=ctor.prototype;var t=new _ec;_ec.prototype=null;return t;};function _111(args){var ctor=args.callee,t=_119(ctor);ctor.apply(t,args);return t;};d.declare=function(_11a,_11b,_11c){if(typeof _11a!="string"){_11c=_11b;_11b=_11a;_11a="";}_11c=_11c||{};var _11d,i,t,ctor,name,_11e,_11f,_120=1,_121=_11b;if(_eb.call(_11b)=="[object Array]"){_11e=_ef(_11b,_11a);t=_11e[0];_120=_11e.length-t;_11b=_11e[_120];}else{_11e=[0];if(_11b){if(_eb.call(_11b)=="[object Function]"){t=_11b._meta;_11e=_11e.concat(t?t.bases:_11b);}else{err("base class is not a callable constructor.",_11a);}}else{if(_11b!==null){err("unknown base class. Did you use dojo.require to pull it in?",_11a);}}}if(_11b){for(i=_120-1;;--i){_11d=_119(_11b);if(!i){break;}t=_11e[i];(t._meta?_105:mix)(_11d,t.prototype);ctor=new Function;ctor.superclass=_11b;ctor.prototype=_11d;_11b=_11d.constructor=ctor;}}else{_11d={};}_108(_11d,_11c);t=_11c.constructor;if(t!==op.constructor){t.nom=_ee;_11d.constructor=t;}for(i=_120-1;i;--i){t=_11e[i]._meta;if(t&&t.chains){_11f=mix(_11f||{},t.chains);}}if(_11d["-chains-"]){_11f=mix(_11f||{},_11d["-chains-"]);}t=!_11f||!_11f.hasOwnProperty(_ee);_11e[0]=ctor=(_11f&&_11f.constructor==="manual")?_114(_11e):(_11e.length==1?_112(_11c.constructor,t):_10d(_11e,t));ctor._meta={bases:_11e,hidden:_11c,chains:_11f,parents:_121,ctor:_11c.constructor};ctor.superclass=_11b&&_11b.prototype;ctor.extend=_10b;ctor.prototype=_11d;_11d.constructor=ctor;_11d.getInherited=_102;_11d.inherited=_fa;_11d.isInstanceOf=_103;if(_11a){_11d.declaredClass=_11a;d.setObject(_11a,ctor);}if(_11f){for(name in _11f){if(_11d[name]&&typeof _11f[name]=="string"&&name!=_ee){t=_11d[name]=_116(name,_11e,_11f[name]==="after");t.nom=name;}}}return ctor;};d.safeMixin=_108;})();}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,r=t&&t.apply(this,arguments),i,lls=[].concat(ls);for(i in lls){if(!(i in ap)){lls[i].apply(this,arguments);}}return r;};},add:function(_122,_123,_124){_122=_122||dojo.global;var f=_122[_123];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_122[_123]=d;}return f._listeners.push(_124);},remove:function(_125,_126,_127){var f=(_125||dojo.global)[_126];if(f&&f._listeners&&_127--){delete f._listeners[_127];}}};dojo.connect=function(obj,_128,_129,_12a,_12b){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>=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.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(_16f,_170){dojo.global=_16f;dojo.doc=_170;};dojo.withGlobal=function(_171,_172,_173,_174){var _175=dojo.global;try{dojo.global=_171;return dojo.withDoc.call(null,_171.document,_172,_173,_174);}finally{dojo.global=_175;}};dojo.withDoc=function(_176,_177,_178,_179){var _17a=dojo.doc,_17b=dojo._bodyLtr,oldQ=dojo.isQuirks;try{dojo.doc=_176;delete dojo._bodyLtr;dojo.isQuirks=dojo.doc.compatMode=="BackCompat";if(_178&&typeof _177=="string"){_177=_178[_177];}return _177.apply(_178,_179||[]);}finally{dojo.doc=_17a;delete dojo._bodyLtr;if(_17b!==undefined){dojo._bodyLtr=_17b;}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 _17c=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,_17d,_17e){if(node){_17d=del._normalizeEventName(_17d);if(!dojo.isIE&&(_17d=="mouseenter"||_17d=="mouseleave")){_17d=(_17d=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_17d,_17e,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,_17f){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,_180){return del._fixEvent(evt,_180);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _181=dojo._listener;dojo._connect=function(obj,_182,_183,_184,_185){var _186=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=_186?(_185?2:1):0,l=[dojo._listener,del,_181][lid];var h=l.add(obj,_182,dojo.hitch(_183,_184));return [obj,_182,h,lid];};dojo._disconnect=function(obj,_187,_188,_189){([dojo._listener,del,_181][_189]).remove(obj,_187,_188);};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 _18a=dojo.isMac?"metaKey":"ctrlKey";dojo.isCopyKey=function(e){return e[_18a];};if(dojo.isIE<9||(dojo.isIE&&dojo.isQuirks)){dojo.mouseButtons={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_18b){return e.button&_18b;},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,_18c){return e.button==_18c;},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 _18d=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _18e=(dojo._ieListenersName="_"+dojo._scopeName+"_listeners");if(!dojo.config._allow_leaks){_181=iel=dojo._ie_listener={handlers:[],add:function(_18f,_190,_191){_18f=_18f||dojo.global;var f=_18f[_190];if(!f||!f[_18e]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_18e]=[];f=_18f[_190]=d;}return f[_18e].push(ieh.push(_191)-1);},remove:function(_192,_193,_194){var f=(_192||dojo.global)[_193],l=f&&f[_18e];if(f&&l&&_194--){delete ieh[l[_194]];delete l[_194];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_195,fp){if(!node){return;}_195=del._normalizeEventName(_195);if(_195=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_18e]||!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,_195,del._fixCallback(fp));},remove:function(node,_196,_197){_196=del._normalizeEventName(_196);iel.remove(node,_196,_197);if(_196=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_198){return _198.slice(0,2)!="on"?"on"+_198:_198;},_nop:function(){},_fixEvent:function(evt,_199){if(!evt){var w=_199&&(_199.ownerDocument||_199.document||_199).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_199||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _19a=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _19b=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_19a.scrollLeft||0)-_19b.x;evt.pageY=evt.clientY+(_19a.scrollTop||0)-_19b.y;if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}if(dojo.isIE<9||dojo.isQuirks){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[_18e]){return;}var k=evt.keyCode;var _19c=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_19c||evt.ctrlKey){var c=_19c?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;_18d(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_18d(this,0);}this.returnValue=false;}});dojo.stopEvent=(dojo.isIE<9||dojo.isQuirks)?function(evt){evt=evt||window.event;del._stopPropagation.call(evt);del._preventDefault.call(evt);}:dojo.stopEvent;}del._synthesizeEvent=function(evt,_19d){var faux=dojo.mixin({},evt,_19d);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_19e){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,_19f,fp){if(!node){return;}var _1a0=del._add(node,_19f,fp);if(del._normalizeEventName(_19f)=="keypress"){_1a0._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _1a1=k!=13&&k!=32&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_1a1||evt.ctrlKey){var c=_1a1?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 _1a0;},remove:function(node,_1a2,_1a3){if(node){if(_1a3._stealthKeyDownHandle){del._remove(node,"keydown",_1a3._stealthKeyDownHandle);}del._remove(node,_1a2,_1a3);}},_fixEvent:function(evt,_1a4){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,_1a5){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(_1a5,args);var lls=[].concat(ls);for(var i in lls){var f=h[lls[i]];if(!(i in ap)&&f){f.apply(_1a5,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.byId=function(id,doc){if(typeof id!="string"){return id;}var _1a6=doc||dojo.doc,te=_1a6.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_1a6.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)||null;};}(function(){var d=dojo;var byId=d.byId;var _1a7=null,_1a8;d.addOnWindowUnload(function(){_1a7=null;});dojo._destroyElement=dojo.destroy=function(node){node=byId(node);try{var doc=node.ownerDocument;if(!_1a7||_1a8!=doc){_1a7=doc.createElement("div");_1a8=doc;}_1a7.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_1a7.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_1a9){try{node=byId(node);_1a9=byId(_1a9);while(node){if(node==_1a9){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_1aa){node=byId(node);if(d.isMozilla){node.style.MozUserSelect=_1aa?"":"none";}else{if(d.isKhtml||d.isWebKit){node.style.KhtmlUserSelect=_1aa?"auto":"none";}else{if(d.isIE){var v=(node.unselectable=_1aa?"":"on");d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _1ab=function(node,ref){var _1ac=ref.parentNode;if(_1ac){_1ac.insertBefore(node,ref);}};var _1ad=function(node,ref){var _1ae=ref.parentNode;if(_1ae){if(_1ae.lastChild==ref){_1ae.appendChild(node);}else{_1ae.insertBefore(node,ref.nextSibling);}}};dojo.place=function(node,_1af,_1b0){_1af=byId(_1af);if(typeof node=="string"){node=/^\s* td",node).forEach(function(i){d._setOpacity(i,_1b7);});}return _1b7;}:function(node,_1b9){return node.style.opacity=_1b9;};var _1ba={left:true,top:true};var _1bb=/margin|padding|width|height|max|min|offset/;var _1bc=function(node,type,_1bd){type=type.toLowerCase();if(d.isIE){if(_1bd=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_1bd){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _1ba)){_1ba[type]=_1bb.test(type);}return _1ba[type]?px(node,_1bd):_1bd;};var _1be=d.isIE?"styleFloat":"cssFloat",_1bf={"cssFloat":_1be,"styleFloat":_1be,"float":_1be};dojo.style=function(node,_1c0,_1c1){var n=byId(node),args=arguments.length,op=(_1c0=="opacity");_1c0=_1bf[_1c0]||_1c0;if(args==3){return op?d._setOpacity(n,_1c1):n.style[_1c0]=_1c1;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&typeof _1c0!="string"){for(var x in _1c0){d.style(node,x,_1c0[x]);}return s;}return (args==1)?s:_1bc(n,_1c0,s[_1c0]||n.style[_1c0]);};dojo._getPadExtents=function(n,_1c2){var s=_1c2||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,_1c3){var ne="none",s=_1c3||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,_1c4){var s=_1c4||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,_1c5){var s=_1c5||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,_1c6){var s=_1c6||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._getMarginSize=function(node,_1c7){node=byId(node);var me=d._getMarginExtents(node,_1c7||gcs(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};dojo._getContentBox=function(node,_1c8){var s=_1c8||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,_1c9){var s=_1c9||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,_1ca,_1cb,_1cc){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_1cc);if(_1ca>=0){_1ca+=pb.w;}if(_1cb>=0){_1cb+=pb.h;}}d._setBox(node,NaN,NaN,_1ca,_1cb);};dojo._setMarginBox=function(node,_1cd,_1ce,_1cf,_1d0,_1d1){var s=_1d1||gcs(node),bb=d._usesBorderBox(node),pb=bb?_1d2:d._getPadBorderExtents(node,s);if(d.isWebKit){if(d._isButtonTag(node)){var ns=node.style;if(_1cf>=0&&!ns.width){ns.width="4px";}if(_1d0>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_1cf>=0){_1cf=Math.max(_1cf-pb.w-mb.w,0);}if(_1d0>=0){_1d0=Math.max(_1d0-pb.h-mb.h,0);}d._setBox(node,_1cd,_1ce,_1cf,_1d0);};var _1d2={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 _1d3=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_1d4=0,_1d5=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_1d4+=val-0;if(node==_1d5){break;}}node=node.parentNode;}return _1d4;};dojo._docScroll=function(){var n=d.global;return "pageXOffset" in n?{x:n.pageXOffset,y:n.pageYOffset}:(n=d.isQuirks?d.doc.body:d.doc.documentElement,{x:d._fixIeBiDiScrollLeft(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(_1d6){var ie=d.isIE;if(ie&&!d._isBodyLtr()){var qk=d.isQuirks,de=qk?d.doc.body:d.doc.documentElement;if(ie==6&&!qk&&d.global.frameElement&&de.scrollHeight>de.clientHeight){_1d6+=de.clientLeft;}return (ie<8||qk)?(_1d6+de.clientWidth-de.scrollWidth):-_1d6;}return _1d6;};dojo._abs=dojo.position=function(node,_1d7){node=byId(node);var db=d.body(),dh=db.parentNode,ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(d.isIE){var _1d8=d._getIeDocumentElementOffset();ret.x-=_1d8.x+(d.isQuirks?db.clientLeft+db.offsetLeft:0);ret.y-=_1d8.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);}}if(_1d7){var _1d9=d._docScroll();ret.x+=_1d9.x;ret.y+=_1d9.y;}return ret;};dojo.coords=function(node,_1da){var n=byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d.position(n,_1da);mb.x=abs.x;mb.y=abs.y;return mb;};var _1db={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"},_1dc={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"},_1dd={innerHTML:1,className:1,htmlFor:d.isIE,value:1};var _1de=function(name){return _1dc[name.toLowerCase()]||name;};var _1df=function(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};dojo.hasAttr=function(node,name){var lc=name.toLowerCase();return _1dd[_1db[lc]||name]||_1df(byId(node),_1dc[lc]||name);};var _1e0={},_1e1=0,_1e2=dojo._scopeName+"attrid",_1e3={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};dojo.attr=function(node,name,_1e4){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(),_1e5=_1db[lc]||name,_1e6=_1dd[_1e5],_1e7=_1dc[lc]||name;if(args==3){do{if(_1e5=="style"&&typeof _1e4!="string"){d.style(node,_1e4);break;}if(_1e5=="innerHTML"){if(d.isIE&&node.tagName.toLowerCase() in _1e3){d.empty(node);node.appendChild(d._toDom(_1e4,node.ownerDocument));}else{node[_1e5]=_1e4;}break;}if(d.isFunction(_1e4)){var _1e8=d.attr(node,_1e2);if(!_1e8){_1e8=_1e1++;d.attr(node,_1e2,_1e8);}if(!_1e0[_1e8]){_1e0[_1e8]={};}var h=_1e0[_1e8][_1e5];if(h){d.disconnect(h);}else{try{delete node[_1e5];}catch(e){}}_1e0[_1e8][_1e5]=d.connect(node,_1e5,_1e4);break;}if(_1e6||typeof _1e4=="boolean"){node[_1e5]=_1e4;break;}node.setAttribute(_1e7,_1e4);}while(false);return node;}_1e4=node[_1e5];if(_1e6&&typeof _1e4!="undefined"){return _1e4;}if(_1e5!="href"&&(typeof _1e4=="boolean"||d.isFunction(_1e4))){return _1e4;}return _1df(node,_1e7)?node.getAttribute(_1e7):null;};dojo.removeAttr=function(node,name){byId(node).removeAttribute(_1de(name));};dojo.getNodeProp=function(node,name){node=byId(node);var lc=name.toLowerCase(),_1e9=_1db[lc]||name;if((_1e9 in node)&&_1e9!="href"){return node[_1e9];}var _1ea=_1dc[lc]||name;return _1df(node,_1ea)?node.getAttribute(_1ea):null;};dojo.create=function(tag,_1eb,_1ec,pos){var doc=d.doc;if(_1ec){_1ec=byId(_1ec);doc=_1ec.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_1eb){d.attr(tag,_1eb);}if(_1ec){d.place(tag,_1ec,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 _1ed={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"]},_1ee=/<\s*([\w\:]+)/,_1ef={},_1f0=0,_1f1="__"+d._scopeName+"ToDomId";for(var _1f2 in _1ed){if(_1ed.hasOwnProperty(_1f2)){var tw=_1ed[_1f2];tw.pre=_1f2=="option"?"