/* Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ /* This is a compiled version of Dojo, built for deployment and not for development. To get an editable version, please visit: http://dojotoolkit.org for documentation and information on getting the source. */ (function(){var _1=null;if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){var _2="",_3="",_4="",_5={},_6={};_1=_1||djConfig.scopeMap;for(var i=0;i<_1.length;i++){var _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(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 _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];}}dojo.locale=d.config.locale;var rev="$Rev: 17136 $".match(/\d+/);dojo.version={major:1,minor:3,patch:0,flag:"",revision:rev?+rev[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 _11={};dojo._mixin=function(obj,_13){for(var x in _13){if(_11[x]===undefined||_11[x]!=_13[x]){obj[x]=_13[x];}}if(d.isIE&&_13){var p=_13.toString;if(typeof p=="function"&&p!=obj.toString&&p!=_11.toString&&p!="\nfunction toString() {\n [native code]\n}\n"){obj.toString=_13.toString;}}return obj;};dojo.mixin=function(obj,_17){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"||(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(_3f){var _40=_3f.split(".");for(var i=_40.length;i>0;i--){var _42=_40.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_42)){_40[0]="../"+_40[0];}else{var _43=this._getModulePrefix(_42);if(_43!=_42){_40.splice(0,i,_43);break;}}}return _40;};dojo._global_omit_module_check=false;dojo.loadInit=function(_44){_44();};dojo._loadModule=dojo.require=function(_45,_46){_46=this._global_omit_module_check||_46;var _47=this._loadedModules[_45];if(_47){return _47;}var _48=this._getModuleSymbols(_45).join("/")+".js";var _49=(!_46)?_45:null;var ok=this._loadPath(_48,_49);if(!ok&&!_46){throw new Error("Could not load '"+_45+"'; last tried '"+_48+"'");}if(!_46&&!this._isXDomain){_47=this._loadedModules[_45];if(!_47){throw new Error("symbol '"+_45+"' is not defined after loading '"+_48+"'");}}return _47;};dojo.provide=function(_4b){_4b=_4b+"";return (d._loadedModules[_4b]=d.getObject(_4b,true));};dojo.platformRequire=function(_4c){var _4d=_4c.common||[];var _4e=_4d.concat(_4c[d._name]||_4c["default"]||[]);for(var x=0;x<_4e.length;x++){var _50=_4e[x];if(_50.constructor==Array){d._loadModule.apply(d,_50);}else{d._loadModule(_50);}}};dojo.requireIf=function(_51,_52){if(_51===true){var _53=[];for(var i=1;i0&&!(j==1&&_64[0]=="")&&_64[j]==".."&&_64[j-1]!=".."){if(j==(_64.length-1)){_64.splice(j,1);_64[j-1]="";}else{_64.splice(j-1,2);j-=2;}}}}_61.path=_64.join("/");}}}}uri=[];if(_61.scheme){uri.push(_61.scheme,":");}if(_61.authority){uri.push("//",_61.authority);}uri.push(_61.path);if(_61.query){uri.push("?",_61.query);}if(_61.fragment){uri.push("#",_61.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(_67,url){var loc=d._getModuleSymbols(_67).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _6a=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_6a==-1||_6a>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(_6b,_6c,_6d){var _6e=_6b.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"");var _6f=[];var _70=/dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\s*\(([\w\W]*?)\)/mg;var _71;while((_71=_70.exec(_6e))!=null){if(_71[1]=="requireLocalization"){eval(_71[0]);}else{_6f.push("\""+_71[1]+"\", "+_71[2]);}}var _72=[];_72.push(dojo._scopeName+"._xdResourceLoaded(function("+dojo._scopePrefixArgs+"){\n");var _73=dojo._xdExtractLoadInits(_6b);if(_73){_6b=_73[0];for(var i=1;i<_73.length;i++){_72.push(_73[i]+";\n");}}_72.push("return {");if(_6f.length>0){_72.push("depends: [");for(i=0;i<_6f.length;i++){if(i>0){_72.push(",\n");}_72.push("["+_6f[i]+"]");}_72.push("],");}_72.push("\ndefineResource: function("+dojo._scopePrefixArgs+"){");if(!dojo.config["debugAtAllCosts"]||_6c=="dojo._base._loader.loader_debug"){_72.push(_6b);}_72.push("\n}, resourceName: '"+_6c+"', resourcePath: '"+_6d+"'};});");return _72.join("");};dojo._xdExtractLoadInits=function(_75){var _76=/dojo.loadInit\s*\(/g;_76.lastIndex=0;var _77=/[\(\)]/g;_77.lastIndex=0;var _78=[];var _79;while((_79=_76.exec(_75))){_77.lastIndex=_76.lastIndex;var _7a=1;var _7b;while((_7b=_77.exec(_75))){if(_7b[0]==")"){_7a-=1;}else{_7a+=1;}if(_7a==0){break;}}if(_7a!=0){throw "unmatched paren around character "+_77.lastIndex+" in: "+_75;}var _7c=_76.lastIndex-_79[0].length;_78.push(_75.substring(_7c,_77.lastIndex));var _7d=_77.lastIndex-_7c;_75=_75.substring(0,_7c)+_75.substring(_77.lastIndex,_75.length);_76.lastIndex=_77.lastIndex-_7d;_76.lastIndex=_77.lastIndex;}if(_78.length>0){_78.unshift(_75);}return (_78.length?_78:null);};dojo._xdIsXDomainPath=function(_7e){var _7f=_7e.indexOf(":");var _80=_7e.indexOf("/");if(_7f>0&&_7f<_80){return true;}else{var url=this.baseUrl;_7f=url.indexOf(":");_80=url.indexOf("/");if(_7f>0&&_7f<_80&&(!location.host||url.indexOf("http://"+location.host)!=0)){return true;}}return false;};dojo._loadPath=function(_82,_83,cb){var _85=this._xdIsXDomainPath(_82);this._isXDomain|=_85;var uri=((_82.charAt(0)=="/"||_82.match(/^\w+:/))?"":this.baseUrl)+_82;try{return ((!_83||this._isXDomain)?this._loadUri(uri,cb,_85,_83):this._loadUriAndCheck(uri,_83,cb));}catch(e){console.error(e);return false;}};dojo._loadUri=function(uri,cb,_89,_8a){if(this._loadedUrls[uri]){return 1;}if(this._isXDomain&&_8a&&_8a!="dojo.i18n"){this._xdOrderedReqs.push(_8a);if(_89||uri.indexOf("/nls/")==-1){this._xdInFlight[_8a]=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(_89){var _8b=uri.lastIndexOf(".");if(_8b<=0){_8b=uri.length-1;}var _8c=uri.substring(0,_8b)+".xd";if(_8b!=uri.length-1){_8c+=uri.substring(_8b,uri.length);}if(dojo.isAIR){_8c=_8c.replace("app:/","/");}var _8d=document.createElement("script");_8d.type="text/javascript";_8d.src=_8c;if(!this.headElement){this._headElement=document.getElementsByTagName("head")[0];if(!this._headElement){this._headElement=document.getElementsByTagName("html")[0];}}this._headElement.appendChild(_8d);}else{var _8e=this._getText(uri,null,true);if(_8e==null){return 0;}if(this._isXDomain&&uri.indexOf("/nls/")==-1&&_8a!="dojo.i18n"){var res=this._xdCreateResource(_8e,_8a,uri);dojo.eval(res);}else{if(cb){_8e="("+_8e+")";}else{_8e=this._scopePrefix+_8e+this._scopeSuffix;}var _90=dojo["eval"](_8e+"\r\n//@ sourceURL="+uri);if(cb){cb(_90);}}}this._loadedUrls[uri]=true;this._loadedUrls.push(uri);return true;};dojo._xdResourceLoaded=function(res){res=res.apply(dojo.global,dojo._scopeArgs);var _92=res.depends;var _93=null;var _94=null;var _95=[];if(_92&&_92.length>0){var dep=null;var _97=0;var _98=false;for(var i=0;i<_92.length;i++){dep=_92[i];if(dep[0]=="provide"){_95.push(dep[1]);}else{if(!_93){_93=[];}if(!_94){_94=[];}var _9a=this._xdUnpackDependency(dep);if(_9a.requires){_93=_93.concat(_9a.requires);}if(_9a.requiresAfter){_94=_94.concat(_9a.requiresAfter);}}var _9b=dep[0];var _9c=_9b.split(".");if(_9c.length==2){dojo[_9c[0]][_9c[1]].apply(dojo[_9c[0]],dep.slice(1));}else{dojo[_9b].apply(dojo,dep.slice(1));}}if(_95.length==1&&_95[0]=="dojo._base._loader.loader_debug"){res.defineResource(dojo);}else{var _9d=this._xdContents.push({content:res.defineResource,resourceName:res["resourceName"],resourcePath:res["resourcePath"],isDefined:false})-1;for(i=0;i<_95.length;i++){this._xdDepMap[_95[i]]={requires:_93,requiresAfter:_94,contentIndex:_9d};}}for(i=0;i<_95.length;i++){this._xdInFlight[_95[i]]=false;}}};dojo._xdLoadFlattenedBundle=function(_9e,_9f,_a0,_a1){_a0=_a0||"root";var _a2=dojo.i18n.normalizeLocale(_a0).replace("-","_");var _a3=[_9e,"nls",_9f].join(".");var _a4=dojo["provide"](_a3);_a4[_a2]=_a1;var _a5=[_9e,_a2,_9f].join(".");var _a6=dojo._xdBundleMap[_a5];if(_a6){for(var _a7 in _a6){_a4[_a7]=_a1;}}};dojo._xdInitExtraLocales=function(){var _a8=dojo.config.extraLocale;if(_a8){if(!_a8 instanceof Array){_a8=[_a8];}dojo._xdReqLoc=dojo.xdRequireLocalization;dojo.xdRequireLocalization=function(m,b,_ab,_ac){dojo._xdReqLoc(m,b,_ab,_ac);if(_ab){return;}for(var i=0;i<_a8.length;i++){dojo._xdReqLoc(m,b,_a8[i],_ac);}};}};dojo._xdBundleMap={};dojo.xdRequireLocalization=function(_ae,_af,_b0,_b1){if(dojo._xdInitExtraLocales){dojo._xdInitExtraLocales();dojo._xdInitExtraLocales=null;dojo.xdRequireLocalization.apply(dojo,arguments);return;}var _b2=_b1.split(",");var _b3=dojo.i18n.normalizeLocale(_b0);var _b4="";for(var i=0;i<_b2.length;i++){if(_b3.indexOf(_b2[i])==0){if(_b2[i].length>_b4.length){_b4=_b2[i];}}}var _b6=_b4.replace("-","_");var _b7=dojo.getObject([_ae,"nls",_af].join("."));if(_b7&&_b7[_b6]){_b8[_b3.replace("-","_")]=_b7[_b6];}else{var _b9=[_ae,(_b6||"root"),_af].join(".");var _b8=dojo._xdBundleMap[_b9];if(!_b8){_b8=dojo._xdBundleMap[_b9]={};}_b8[_b3.replace("-","_")]=true;dojo.require(_ae+".nls"+(_b4?"."+_b4:"")+"."+_af);}};dojo._xdRealRequireLocalization=dojo.requireLocalization;dojo.requireLocalization=function(_ba,_bb,_bc,_bd){var _be=this.moduleUrl(_ba).toString();if(this._xdIsXDomainPath(_be)){return dojo.xdRequireLocalization.apply(dojo,arguments);}else{return dojo._xdRealRequireLocalization.apply(dojo,arguments);}};dojo._xdUnpackDependency=function(dep){var _c0=null;var _c1=null;switch(dep[0]){case "requireIf":case "requireAfterIf":if(dep[1]===true){_c0=[{name:dep[2],content:null}];}break;case "platformRequire":var _c2=dep[1];var _c3=_c2["common"]||[];_c0=(_c2[dojo.hostenv.name_])?_c3.concat(_c2[dojo.hostenv.name_]||[]):_c3.concat(_c2["default"]||[]);if(_c0){for(var i=0;i<_c0.length;i++){if(_c0[i] instanceof Array){_c0[i]={name:_c0[i][0],content:null};}else{_c0[i]={name:_c0[i],content:null};}}}break;case "require":_c0=[{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"){_c1=_c0;_c0=null;}return {requires:_c0,requiresAfter:_c1};};dojo._xdWalkReqs=function(){var _c5=null;var req;for(var i=0;i0){var req=_c8[_c8.length-1];var res=this._xdDepMap[req];var i,_cc,_cd;if(res){_cc=res.requires;if(_cc&&_cc.length>0){for(i=0;i<_cc.length;i++){_cd=_cc[i].name;if(_cd&&!_c8[_cd]){_c8.push(_cd);_c8[_cd]=true;this._xdEvalReqs(_c8);}}}var _ce=this._xdContents[res.contentIndex];if(!_ce.isDefined){var _cf=_ce.content;_cf["resourceName"]=_ce["resourceName"];_cf["resourcePath"]=_ce["resourcePath"];this._xdDefList.push(_cf);_ce.isDefined=true;}this._xdDepMap[req]=null;_cc=res.requiresAfter;if(_cc&&_cc.length>0){for(i=0;i<_cc.length;i++){_cd=_cc[i].name;if(_cd&&!_c8[_cd]){_c8.push(_cd);_c8[_cd]=true;this._xdEvalReqs(_c8);}}}}_c8.pop();}};dojo._xdClearInterval=function(){clearInterval(this._xdTimer);this._xdTimer=0;};dojo._xdWatchInFlight=function(){var _d0="";var _d1=(dojo.config.xdWaitSeconds||15)*1000;var _d2=(this._xdStartTime+_d1)<(new Date()).getTime();for(var _d3 in this._xdInFlight){if(this._xdInFlight[_d3]===true){if(_d2){_d0+=_d3+" ";}else{return;}}}this._xdClearInterval();if(_d2){throw "Could not load cross-domain resources: "+_d0;}this._xdWalkReqs();var _d4=this._xdDefList.length;for(var i=0;i<_d4;i++){var _d6=dojo._xdDefList[i];if(dojo.config["debugAtAllCosts"]&&_d6["resourceName"]){if(!this["_xdDebugQueue"]){this._xdDebugQueue=[];}this._xdDebugQueue.push({resourceName:_d6.resourceName,resourcePath:_d6.resourcePath});}else{_d6.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 _d9=document.getElementsByTagName("script");var _da=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_d9.length;i++){var src=_d9[i].getAttribute("src");if(!src){continue;}var m=src.match(_da);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_d9[i].getAttribute("djConfig");if(cfg){var _df=eval("({ "+cfg+" })");for(var x in _df){dojo.config[x]=_df[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;var _e5=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_e5&&!dojo.isChrome){d.isSafari=parseFloat(dav.split("Version/")[1]);if(!d.isSafari||parseFloat(dav.substr(_e5+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]||dua.split("Shiretoko/")[1])||undefined;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||undefined;if(d.isIE>=8&&document.documentMode!=5){d.isIE=document.documentMode;}}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 _e7,_e8;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_e7=new XMLHttpRequest();}catch(e){}}if(!_e7){for(var i=0;i<3;++i){var _ea=d._XMLHTTP_PROGIDS[i];try{_e7=new ActiveXObject(_ea);}catch(e){_e8=e;}if(_e7){d._XMLHTTP_PROGIDS=[_ea];break;}}}if(!_e7){throw new Error("XMLHTTP not available: "+_e8);}return _e7;};d._isDocumentOk=function(_eb){var _ec=_eb.status||0;return (_ec>=200&&_ec<300)||_ec==304||_ec==1223||(!_ec&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _ed=window.location+"";var _ee=document.getElementsByTagName("base");var _ef=(_ee&&_ee.length>0);d._getText=function(uri,_f1){var _f2=this._xhrObj();if(!_ef&&dojo._Url){uri=(new dojo._Url(_ed,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_f2.open("GET",uri,false);try{_f2.send(null);if(!d._isDocumentOk(_f2)){var err=Error("Unable to load "+uri+" status:"+_f2.status);err.status=_f2.status;err.responseText=_f2.responseText;throw err;}}catch(e){if(_f1){return null;}throw e;}return _f2.responseText;};var _w=window;var _f5=function(_f6,fp){var _f8=_w[_f6]||function(){};_w[_f6]=function(){fp.apply(_w,arguments);_f8.apply(_w,arguments);};};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=d._windowUnloaders;while(mll.length){(mll.pop())();}};var _fa=0;d.addOnWindowUnload=function(obj,_fc){d._onto(d._windowUnloaders,obj,_fc);if(!_fa){_fa=1;_f5("onunload",d.windowUnloaded);}};var _fd=0;d.addOnUnload=function(obj,_ff){d._onto(d._unloaders,obj,_ff);if(!_fd){_fd=1;_f5("onbeforeunload",dojo.unloaded);}};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var type=e&&e.type?e.type.toLowerCase():"load";if(arguments.callee.initialized||(type!="domcontentloaded"&&type!="load")){return;}arguments.callee.initialized=true;if("_khtmlTimer" in dojo){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};if(!dojo.config.afterOnLoad){if(document.addEventListener){if(dojo.isWebKit>525||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((dojo.isWebKit<525)||dojo.isKhtml){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}}}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); display:inline-block");}catch(e){}}}(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){var t=typeof it;return it&&(t=="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(_10e,_10f){for(var i=1,l=arguments.length;i2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_119){_119=_118;_118=null;}if(dojo.isString(_119)){_118=_118||dojo.global;if(!_118[_119]){throw (["dojo.hitch: scope[\"",_119,"\"] is null (scope=\"",_118,"\")"].join(""));}return function(){return _118[_119].apply(_118,arguments||[]);};}return !_118?_119:function(){return _119.apply(_118,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_11c){TMP.prototype=obj;var tmp=new TMP();if(_11c){dojo._mixin(tmp,_11c);}return tmp;};})();(function(){var _11e=function(obj,_120,_121){return (_121||[]).concat(Array.prototype.slice.call(obj,_120||0));};var slow=function(obj,_124,_125){var arr=_125||[];for(var x=_124||0;x=0){this._fire();}return this;},_fire:function(){var _19e=this.chain;var _19f=this.fired;var res=this.results[_19f];var self=this;var cb=null;while((_19e.length>0)&&(this.paused==0)){var f=_19e.shift()[_19f];if(!f){continue;}var func=function(){var ret=f(res);if(typeof ret!="undefined"){res=ret;}_19f=((res instanceof Error)?1:0);if(res instanceof dojo.Deferred){cb=function(res){self._resback(res);self.paused--;if((self.paused==0)&&(self.fired>=0)){self._fire();}};this.paused++;}};if(dojo.config.debugAtAllCosts){func.call(this);}else{try{func.call(this);}catch(err){_19f=1;res=err;}}}this.fired=_19f;this.results[_19f]=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,_1aa,_1ab){if(it===undefined){return "undefined";}var _1ac=typeof it;if(_1ac=="number"||_1ac=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _1ad=arguments.callee;var _1ae;_1ab=_1ab||"";var _1af=_1aa?_1ab+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_1ae=tf.call(it);if(it!==_1ae){return _1ad(_1ae,_1aa,_1af);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_1aa?" ":"";var _1b2=_1aa?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_1ad(obj,_1aa,_1af);if(typeof val!="string"){val="undefined";}return _1b2+_1af+val;});return "["+res.join(","+sep)+_1b2+_1ab+"]";}if(_1ac=="function"){return null;}var _1b6=[],key;for(key in it){var _1b8,val;if(typeof key=="number"){_1b8="\""+key+"\"";}else{if(typeof key=="string"){_1b8=dojo._escapeString(key);}else{continue;}}val=_1ad(it[key],_1aa,_1af);if(typeof val!="string"){continue;}_1b6.push(_1b2+_1af+_1b8+":"+sep+val);}return "{"+_1b6.join(","+sep)+_1b2+_1ab+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _1ba=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(_1be,_1bf,_1c0,_1c1){var step=1,end=_1be.length||0,i=0;if(_1c1){i=end-1;step=end=-1;}if(_1c0!=undefined){i=_1c0;}if((_1c1&&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 d.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=d.Color.named[str];return a&&d.colorFromArray(a,obj)||d.colorFromRgb(str,obj)||d.colorFromHex(str,obj);};})();}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_20f,_210){dojo.global=_20f;dojo.doc=_210;};dojo.withGlobal=function(_211,_212,_213,_214){var _215=dojo.global;try{dojo.global=_211;return dojo.withDoc.call(null,_211.document,_212,_213,_214);}finally{dojo.global=_215;}};dojo.withDoc=function(_216,_217,_218,_219){var _21a=dojo.doc,_21b=dojo._bodyLtr;try{dojo.doc=_216;delete dojo._bodyLtr;if(_218&&dojo.isString(_217)){_217=_218[_217];}return _217.apply(_218,_219||[]);}finally{dojo.doc=_21a;if(_21b!==undefined){dojo._bodyLtr=_21b;}}};}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 _220=name;if(!dojo.isIE&&(name=="mouseenter"||name=="mouseleave")){var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){if(dojo.isFF<=2){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,_224,_225){if(node){_224=del._normalizeEventName(_224);if(!dojo.isIE&&(_224=="mouseenter"||_224=="mouseleave")){_224=(_224=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_224,_225,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,_22b){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,_22e){return del._fixEvent(evt,_22e);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _230=dojo._listener;dojo._connect=function(obj,_232,_233,_234,_235){var _236=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=_236?(_235?2:1):0,l=[dojo._listener,del,_230][lid];var h=l.add(obj,_232,dojo.hitch(_233,_234));return [obj,_232,h,lid];};dojo._disconnect=function(obj,_23b,_23c,_23d){([dojo._listener,del,_230][_23d]).remove(obj,_23b,_23c);};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 _23e=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _242=(dojo._ieListenersName="_"+dojo._scopeName+"_listeners");if(!dojo.config._allow_leaks){_230=iel=dojo._ie_listener={handlers:[],add:function(_243,_244,_245){_243=_243||dojo.global;var f=_243[_244];if(!f||!f[_242]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_242]=[];f=_243[_244]=d;}return f[_242].push(ieh.push(_245)-1);},remove:function(_249,_24a,_24b){var f=(_249||dojo.global)[_24a],l=f&&f[_242];if(f&&l&&_24b--){delete ieh[l[_24b]];delete l[_24b];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_24f,fp){if(!node){return;}_24f=del._normalizeEventName(_24f);if(_24f=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_242]||!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,_24f,del._fixCallback(fp));},remove:function(node,_254,_255){_254=del._normalizeEventName(_254);iel.remove(node,_254,_255);if(_254=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_257){return _257.slice(0,2)!="on"?"on"+_257:_257;},_nop:function(){},_fixEvent:function(evt,_259){if(!evt){var w=_259&&(_259.ownerDocument||_259.document||_259).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_259||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _25d=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _25e=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_25d.scrollLeft||0)-_25e.x;evt.pageY=evt.clientY+(_25d.scrollTop||0)-_25e.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[_242]){return;}var k=evt.keyCode;var _264=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_264||evt.ctrlKey){var c=_264?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;_23e(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_23e(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,_269){var faux=dojo.mixin({},evt,_269);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_26c){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,_26f,fp){if(!node){return;}var _271=del._add(node,_26f,fp);if(del._normalizeEventName(_26f)=="keypress"){_271._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _274=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_274||evt.ctrlKey){var c=_274?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 _271;},remove:function(node,_278,_279){if(node){if(_279._stealthKeyDownHandle){del._remove(node,"keydown",_279._stealthKeyDownHandle);}del._remove(node,_278,_279);}},_fixEvent:function(evt,_27b){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,_27e){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(_27e,args);var lls=[].concat(ls);for(var i in lls){if(!(i in ap)){h[lls[i]].apply(_27e,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||te.id==id)){return te;}else{var eles=_d.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{return id;}};}else{dojo.byId=function(id,doc){return dojo.isString(id)?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var _293=null;d.addOnWindowUnload(function(){_293=null;});dojo._destroyElement=dojo.destroy=function(node){node=d.byId(node);try{if(!_293||_293.ownerDocument!=node.ownerDocument){_293=node.ownerDocument.createElement("div");}_293.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_293.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_296){try{node=d.byId(node);_296=d.byId(_296);while(node){if(node===_296){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_298){node=d.byId(node);if(d.isMozilla){node.style.MozUserSelect=_298?"":"none";}else{if(d.isKhtml||d.isWebKit){node.style.KhtmlUserSelect=_298?"auto":"none";}else{if(d.isIE){var v=(node.unselectable=_298?"":"on");d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _29a=function(node,ref){var _29d=ref.parentNode;if(_29d){_29d.insertBefore(node,ref);}};var _29e=function(node,ref){var _2a1=ref.parentNode;if(_2a1){if(_2a1.lastChild==ref){_2a1.appendChild(node);}else{_2a1.insertBefore(node,ref.nextSibling);}}};dojo.place=function(node,_2a3,_2a4){_2a3=d.byId(_2a3);if(d.isString(node)){node=node.charAt(0)=="<"?d._toDom(node,_2a3.ownerDocument):d.byId(node);}if(typeof _2a4=="number"){var cn=_2a3.childNodes;if(!cn.length||cn.length<=_2a4){_2a3.appendChild(node);}else{_29a(node,cn[_2a4<0?0:_2a4]);}}else{switch(_2a4){case "before":_29a(node,_2a3);break;case "after":_29e(node,_2a3);break;case "replace":_2a3.parentNode.replaceChild(node,_2a3);break;case "only":d.empty(_2a3);_2a3.appendChild(node);break;case "first":if(_2a3.firstChild){_29a(node,_2a3.firstChild);break;}default:_2a3.appendChild(node);}}return node;};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.isWebKit){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){d._toPixelValue=function(_2ad,_2ae){return parseFloat(_2ae)||0;};}else{d._toPixelValue=function(_2af,_2b0){if(!_2b0){return 0;}if(_2b0=="medium"){return 4;}if(_2b0.slice&&_2b0.slice(-2)=="px"){return parseFloat(_2b0);}with(_2af){var _2b1=style.left;var _2b2=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_2b0;_2b0=style.pixelLeft;}catch(e){_2b0=0;}style.left=_2b1;runtimeStyle.left=_2b2;}return _2b0;};}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,_2bb){var ov=_2bb*100;node.style.zoom=1;af(node,1).Enabled=!(_2bb==1);if(!af(node)){node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){d._setOpacity(i,_2bb);});}return _2bb;}:function(node,_2bf){return node.style.opacity=_2bf;};var _2c0={left:true,top:true};var _2c1=/margin|padding|width|height|max|min|offset/;var _2c2=function(node,type,_2c5){type=type.toLowerCase();if(d.isIE){if(_2c5=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_2c5){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _2c0)){_2c0[type]=_2c1.test(type);}return _2c0[type]?px(node,_2c5):_2c5;};var _2c6=d.isIE?"styleFloat":"cssFloat",_2c7={"cssFloat":_2c6,"styleFloat":_2c6,"float":_2c6};dojo.style=function(node,_2c9,_2ca){var n=d.byId(node),args=arguments.length,op=(_2c9=="opacity");_2c9=_2c7[_2c9]||_2c9;if(args==3){return op?d._setOpacity(n,_2ca):n.style[_2c9]=_2ca;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&!d.isString(_2c9)){for(var x in _2c9){d.style(node,x,_2c9[x]);}return s;}return (args==1)?s:_2c2(n,_2c9,s[_2c9]||n.style[_2c9]);};dojo._getPadExtents=function(n,_2d1){var s=_2d1||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,_2d6){var ne="none",s=_2d6||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,_2dc){var s=_2dc||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,_2e1){var s=_2e1||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,_2e8){var s=_2e8||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode;if(d.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{if(p&&p.style){var pcs=gcs(p);if(pcs.overflow!="visible"){var be=d._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else{if(d.isOpera||(d.isIE>7&&!d.isQuirks)){if(p){be=d._getBorderExtents(p);l-=be.l;t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_2f3){var s=_2f3||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,_2fa){var s=_2fa||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,_309,_30a,_30b){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_30b);if(_309>=0){_309+=pb.w;}if(_30a>=0){_30a+=pb.h;}}d._setBox(node,NaN,NaN,_309,_30a);};dojo._setMarginBox=function(node,_30e,_30f,_310,_311,_312){var s=_312||gcs(node),bb=d._usesBorderBox(node),pb=bb?_316:d._getPadBorderExtents(node,s);if(d.isWebKit){if(d._isButtonTag(node)){var ns=node.style;if(_310>=0&&!ns.width){ns.width="4px";}if(_311>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_310>=0){_310=Math.max(_310-pb.w-mb.w,0);}if(_311>=0){_311=Math.max(_311-pb.h-mb.h,0);}d._setBox(node,_30e,_30f,_310,_311);};var _316={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 _323=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_327=0,_b=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_327+=val-0;if(node==_b){break;}}node=node.parentNode;}return _327;};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:d._bodyLtr=gcs(d.body()).direction=="ltr";};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;if(d.isIE<7){return {x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};}else{if(d.isIE<8){return {x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top};}else{return {x:0,y:0};}}};dojo._fixIeBiDiScrollLeft=function(_32d){var dd=d.doc;if(d.isIE<8&&!d._isBodyLtr()){var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;return _32d+de.clientWidth-de.scrollWidth;}return _32d;};dojo._abs=function(node,_331){var db=d.body(),dh=d.body().parentNode,ret;if(node["getBoundingClientRect"]){var _335=node.getBoundingClientRect();ret={x:_335.left,y:_335.top};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(d.isIE){var _337=d._getIeDocumentElementOffset();ret.x-=_337.x+(d.isQuirks?db.clientLeft:0);ret.y-=_337.y+(d.isQuirks?db.clientTop:0);}}else{ret={x:0,y:0};if(node["offsetParent"]){ret.x-=_323(node,"scrollLeft");ret.y-=_323(node,"scrollTop");var _338=node;do{var n=_338.offsetLeft,t=_338.offsetTop;ret.x+=isNaN(n)?0:n;ret.y+=isNaN(t)?0:t;cs=gcs(_338);if(_338!=node){if(d.isFF){ret.x+=2*px(_338,cs.borderLeftWidth);ret.y+=2*px(_338,cs.borderTopWidth);}else{ret.x+=px(_338,cs.borderLeftWidth);ret.y+=px(_338,cs.borderTopWidth);}}if(d.isFF&&cs.position=="static"){var _33b=_338.parentNode;while(_33b!=_338.offsetParent){var pcs=gcs(_33b);if(pcs.position=="static"){ret.x+=px(_338,pcs.borderLeftWidth);ret.y+=px(_338,pcs.borderTopWidth);}_33b=_33b.parentNode;}}_338=_338.offsetParent;}while((_338!=dh)&&_338);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}if(_331){var _33d=d._docScroll();ret.x+=_33d.x;ret.y+=_33d.y;}return ret;};dojo.coords=function(node,_33f){var n=d.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d._abs(n,_33f);mb.x=abs.x;mb.y=abs.y;return mb;};var _344=d.isIE<8;var _345=function(name){switch(name.toLowerCase()){case "tabindex":return _344?"tabIndex":"tabindex";case "readonly":return "readOnly";case "class":return "className";case "for":case "htmlfor":return _344?"htmlFor":"for";default:return name;}};var _347={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType",classname:"className",innerhtml:"innerHTML"};dojo.hasAttr=function(node,name){node=d.byId(node);var _34a=_345(name);_34a=_34a=="htmlFor"?"for":_34a;var attr=node.getAttributeNode&&node.getAttributeNode(_34a);return attr?attr.specified:false;};var _34c={},_ctr=0,_34e=dojo._scopeName+"attrid",_34f={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};dojo.attr=function(node,name,_352){node=d.byId(node);var args=arguments.length;if(args==2&&!d.isString(name)){for(var x in name){d.attr(node,x,name[x]);}return;}name=_345(name);if(args==3){if(d.isFunction(_352)){var _355=d.attr(node,_34e);if(!_355){_355=_ctr++;d.attr(node,_34e,_355);}if(!_34c[_355]){_34c[_355]={};}var h=_34c[_355][name];if(h){d.disconnect(h);}else{try{delete node[name];}catch(e){}}_34c[_355][name]=d.connect(node,name,_352);}else{if(typeof _352=="boolean"){node[name]=_352;}else{if(name==="style"&&!d.isString(_352)){d.style(node,_352);}else{if(name=="className"){node.className=_352;}else{if(name==="innerHTML"){if(d.isIE&&node.tagName.toLowerCase() in _34f){d.empty(node);node.appendChild(d._toDom(_352,node.ownerDocument));}else{node[name]=_352;}}else{node.setAttribute(name,_352);}}}}}}else{var prop=_347[name.toLowerCase()];if(prop){return node[prop];}var _358=node[name];return (typeof _358=="boolean"||typeof _358=="function")?_358:(d.hasAttr(node,name)?node.getAttribute(name):null);}};dojo.removeAttr=function(node,name){d.byId(node).removeAttribute(_345(name));};dojo.create=function(tag,_35c,_35d,pos){var doc=d.doc;if(_35d){_35d=d.byId(_35d);doc=_35d.ownerDocument;}if(d.isString(tag)){tag=doc.createElement(tag);}if(_35c){d.attr(tag,_35c);}if(_35d){d.place(tag,_35d,pos);}return tag;};d.empty=d.isIE?function(node){node=d.byId(node);for(var c;c=node.lastChild;){d.destroy(c);}}:function(node){d.byId(node).innerHTML="";};var _363={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"]},_364=/<\s*([\w\:]+)/,_365={},_366=0,_367="__"+d._scopeName+"ToDomId";for(var _368 in _363){var tw=_363[_368];tw.pre=_368=="option"?"