/*
	Copyright (c) 2004-2007, The Dojo Foundation
	All Rights Reserved.

	Licensed under the Academic Free License version 2.1 or above OR the
	modified BSD license. For more information on Dojo licensing, see:

		http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/

/*
	This is a compiled version of Dojo, built for deployment and not for
	development. To get an editable version, please visit:

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

if(typeof dojo=="undefined"){(function(){if(typeof this["djConfig"]=="undefined"){this.djConfig={};}if((!this["console"])||(!console["firebug"])){this.console={};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","log","profile","profileEnd","time","timeEnd","trace","warn"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){console[tn]=function(){};}}if(typeof this["dojo"]=="undefined"){this.dojo={};}var d=dojo;dojo.global=this;var _5={isDebug:false,libraryScriptUri:"",preventBackButtonFix:true,delayMozLoadingFix:false};for(var _6 in _5){if(typeof djConfig[_6]=="undefined"){djConfig[_6]=_5[_6];}}var _7=["Browser","Rhino","Spidermonkey","Mobile"];var t;while(t=_7.shift()){d["is"+t]=false;}dojo.locale=djConfig.locale;dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:Number("$Rev: 11363 $".match(/[0-9]+/)[0]),toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary("dojo","http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(_9,_a){var _b={};for(var x in _a){if(_b[x]===undefined||_b[x]!=_a[x]){_9[x]=_a[x];}}if(d["isIE"]&&_a){var p=_a.toString;if(typeof p=="function"&&p!=_9.toString&&p!=_b.toString&&p!="\nfunction toString() {\n    [native code]\n}\n"){_9.toString=_a.toString;}}return _9;};dojo.mixin=function(_e,_f){for(var i=1,l=arguments.length;i<l;i++){d._mixin(_e,arguments[i]);}return _e;};dojo._getProp=function(_12,_13,_14){var obj=_14||d.global;for(var i=0,p;obj&&(p=_12[i]);i++){obj=(p in obj?obj[p]:(_13?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_18,_19,_1a){var _1b=_18.split("."),p=_1b.pop(),obj=d._getProp(_1b,true,_1a);return (obj&&p?(obj[p]=_19):undefined);};dojo.getObject=function(_1e,_1f,_20){return d._getProp(_1e.split("."),_1f,_20);};dojo.exists=function(_21,obj){return !!d.getObject(_21,false,obj);};dojo["eval"]=function(_23){return d.global.eval?d.global.eval(_23):eval(_23);};d.deprecated=d.experimental=function(){};})();(function(){var d=dojo;dojo.mixin(dojo,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_25){var mp=this._modulePrefixes;return !!(mp[_25]&&mp[_25].value);},_getModulePrefix:function(_27){var mp=this._modulePrefixes;if(this._moduleHasPrefix(_27)){return mp[_27].value;}return _27;},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadUriAndCheck=function(uri,_2a,cb){var ok=false;try{ok=this._loadUri(uri,cb);}catch(e){console.debug("failed loading "+uri+" with error: "+e);}return Boolean(ok&&this._loadedModules[_2a]);};dojo.loaded=function(){this._loadNotifying=true;this._postLoad=true;var mll=this._loaders;this._loaders=[];for(var x=0;x<mll.length;x++){mll[x]();}this._loadNotifying=false;if(d._postLoad&&d._inFlightCount==0&&this._loaders.length>0){d._callLoaded();}};dojo.unloaded=function(){var mll=this._unloaders;while(mll.length){(mll.pop())();}};dojo.addOnLoad=function(obj,_31){if(arguments.length==1){d._loaders.push(obj);}else{if(arguments.length>1){d._loaders.push(function(){obj[_31]();});}}if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){d._callLoaded();}};dojo.addOnUnload=function(obj,_33){if(arguments.length==1){d._unloaders.push(obj);}else{if(arguments.length>1){d._unloaders.push(function(){obj[_33]();});}}};dojo._modulesLoaded=function(){if(d._postLoad){return;}if(d._inFlightCount>0){console.debug("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(djConfig["useXDomain"]&&d.isOpera)){setTimeout("dojo.loaded();",0);}else{d.loaded();}};dojo._getModuleSymbols=function(_34){var _35=_34.split(".");for(var i=_35.length;i>0;i--){var _37=_35.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_37)){_35[0]="../"+_35[0];}else{var _38=this._getModulePrefix(_37);if(_38!=_37){_35.splice(0,i,_38);break;}}}return _35;};dojo._global_omit_module_check=false;dojo._loadModule=dojo.require=function(_39,_3a){_3a=this._global_omit_module_check||_3a;var _3b=this._loadedModules[_39];if(_3b){return _3b;}var _3c=this._getModuleSymbols(_39).join("/")+".js";var _3d=(!_3a)?_39:null;var ok=this._loadPath(_3c,_3d);if((!ok)&&(!_3a)){throw new Error("Could not load '"+_39+"'; last tried '"+_3c+"'");}if((!_3a)&&(!this["_isXDomain"])){_3b=this._loadedModules[_39];if(!_3b){throw new Error("symbol '"+_39+"' is not defined after loading '"+_3c+"'");}}return _3b;};dojo.provide=function(_3f){_3f=_3f+"";return (d._loadedModules[_3f]=d.getObject(_3f,true));};dojo.platformRequire=function(_40){var _41=_40["common"]||[];var _42=_41.concat(_40[d._name]||_40["default"]||[]);for(var x=0;x<_42.length;x++){var _44=_42[x];if(_44.constructor==Array){d._loadModule.apply(d,_44);}else{d._loadModule(_44);}}};dojo.requireIf=function(_45,_46){if(_45===true){var _47=[];for(var i=1;i<arguments.length;i++){_47.push(arguments[i]);}d.require.apply(d,_47);}};dojo.requireAfterIf=d.requireIf;dojo.registerModulePath=function(_49,_4a){d._modulePrefixes[_49]={name:_49,value:_4a};};dojo.requireLocalization=function(_4b,_4c,_4d,_4e){d.require("dojo.i18n");d.i18n._requireLocalization.apply(d.hostenv,arguments);};var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$");var ire=new RegExp("^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$");dojo._Url=function(){var n=null;var _a=arguments;var uri=_a[0];for(var i=1;i<_a.length;i++){if(!_a[i]){continue;}var _55=new d._Url(_a[i]+"");var _56=new d._Url(uri+"");if((_55.path=="")&&(!_55.scheme)&&(!_55.authority)&&(!_55.query)){if(_55.fragment!=n){_56.fragment=_55.fragment;}_55=_56;}else{if(!_55.scheme){_55.scheme=_56.scheme;if(!_55.authority){_55.authority=_56.authority;if(_55.path.charAt(0)!="/"){var _57=_56.path.substring(0,_56.path.lastIndexOf("/")+1)+_55.path;var _58=_57.split("/");for(var j=0;j<_58.length;j++){if(_58[j]=="."){if(j==_58.length-1){_58[j]="";}else{_58.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_58[0]=="")&&_58[j]==".."&&_58[j-1]!=".."){if(j==(_58.length-1)){_58.splice(j,1);_58[j-1]="";}else{_58.splice(j-1,2);j-=2;}}}}_55.path=_58.join("/");}}}}uri="";if(_55.scheme){uri+=_55.scheme+":";}if(_55.authority){uri+="//"+_55.authority;}uri+=_55.path;if(_55.query){uri+="?"+_55.query;}if(_55.fragment){uri+="#"+_55.fragment;}}this.uri=uri.toString();var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[5];this.port=r[7]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_5b,url){var loc=dojo._getModuleSymbols(_5b).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _5e=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_5e==-1||_5e>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};})();dojo.provide("dojo._base._loader.loader_xd");dojo._xdReset=function(){this._isXDomain=djConfig.useXDomain||false;this._xdTimer=0;this._xdInFlight={};this._xdOrderedReqs=[];this._xdDepMap={};this._xdContents=[];this._xdDefList=[];};dojo._xdReset();dojo._xdCreateResource=function(_5f,_60,_61){var _62=_5f.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"");var _63=[];var _64=/dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\(([\w\W]*?)\)/mg;var _65;while((_65=_64.exec(_62))!=null){if(_65[1]=="requireLocalization"){eval(_65[0]);}else{_63.push("\""+_65[1]+"\", "+_65[2]);}}var _66=[];_66.push("dojo._xdResourceLoaded({\n");if(_63.length>0){_66.push("depends: [");for(var i=0;i<_63.length;i++){if(i>0){_66.push(",\n");}_66.push("["+_63[i]+"]");}_66.push("],");}_66.push("\ndefineResource: function(dojo){");if(!djConfig["debugAtAllCosts"]||_60=="dojo._base._loader.loader_debug"){_66.push(_5f);}_66.push("\n}, resourceName: '"+_60+"', resourcePath: '"+_61+"'});");return _66.join("");};dojo._xdIsXDomainPath=function(_68){var _69=_68.indexOf(":");var _6a=_68.indexOf("/");if(_69>0&&_69<_6a){return true;}else{var url=this.baseUrl;_69=url.indexOf(":");_6a=url.indexOf("/");if(_69>0&&_69<_6a&&(!location.host||url.indexOf("http://"+location.host)!=0)){return true;}}return false;};dojo._loadPath=function(_6c,_6d,cb){var _6f=this._xdIsXDomainPath(_6c);this._isXDomain|=_6f;var uri=this.baseUrl+_6c;if(_6f){var _71=_6c.indexOf(":");var _72=_6c.indexOf("/");if(_71>0&&_71<_72){uri=_6c;}}if(djConfig.cacheBust&&dojo.isBrowser){uri+="?"+String(djConfig.cacheBust).replace(/\W+/g,"");}try{return ((!_6d||this._isXDomain)?this._loadUri(uri,cb,_6f,_6d):this._loadUriAndCheck(uri,_6d,cb));}catch(e){console.debug(e);return false;}};dojo._loadUri=function(uri,cb,_75,_76){if(this._loadedUrls[uri]){return 1;}if(this._isXDomain&&_76&&_76!="dojo.i18n"){this._xdOrderedReqs.push(_76);if(_75||uri.indexOf("/nls/")==-1){this._xdInFlight[_76]=true;this._inFlightCount++;}if(!this._xdTimer){this._xdTimer=setInterval("dojo._xdWatchInFlight();",100);}this._xdStartTime=(new Date()).getTime();}if(_75){var _77=uri.lastIndexOf(".");if(_77<=0){_77=uri.length-1;}var _78=uri.substring(0,_77)+".xd";if(_77!=uri.length-1){_78+=uri.substring(_77,uri.length);}var _79=document.createElement("script");_79.type="text/javascript";_79.src=_78;if(!this.headElement){this._headElement=document.getElementsByTagName("head")[0];if(!this._headElement){this._headElement=document.getElementsByTagName("html")[0];}}this._headElement.appendChild(_79);}else{var _7a=this._getText(uri,null,true);if(_7a==null){return 0;}if(this._isXDomain&&uri.indexOf("/nls/")==-1&&_76!="dojo.i18n"){var res=this._xdCreateResource(_7a,_76,uri);dojo.eval(res);}else{if(cb){_7a="("+_7a+")";}var _7c=dojo.eval(_7a);if(cb){cb(_7c);}}}this._loadedUrls[uri]=true;this._loadedUrls.push(uri);return true;};dojo._xdResourceLoaded=function(res){var _7e=res.depends;var _7f=null;var _80=null;var _81=[];if(_7e&&_7e.length>0){var dep=null;var _83=0;var _84=false;for(var i=0;i<_7e.length;i++){dep=_7e[i];if(dep[0]=="provide"){_81.push(dep[1]);}else{if(!_7f){_7f=[];}if(!_80){_80=[];}var _86=this._xdUnpackDependency(dep);if(_86.requires){_7f=_7f.concat(_86.requires);}if(_86.requiresAfter){_80=_80.concat(_86.requiresAfter);}}var _87=dep[0];var _88=_87.split(".");if(_88.length==2){dojo[_88[0]][_88[1]].apply(dojo[_88[0]],dep.slice(1));}else{dojo[_87].apply(dojo,dep.slice(1));}}if(_81.length==1&&_81[0]=="dojo._base._loader.loader_debug"){res.defineResource(dojo);}else{var _89=this._xdContents.push({content:res.defineResource,resourceName:res["resourceName"],resourcePath:res["resourcePath"],isDefined:false})-1;for(var i=0;i<_81.length;i++){this._xdDepMap[_81[i]]={requires:_7f,requiresAfter:_80,contentIndex:_89};}}for(var i=0;i<_81.length;i++){this._xdInFlight[_81[i]]=false;}}};dojo._xdLoadFlattenedBundle=function(_8a,_8b,_8c,_8d){_8c=_8c||"root";var _8e=dojo.i18n.normalizeLocale(_8c).replace("-","_");var _8f=[_8a,"nls",_8b].join(".");var _90=dojo["provide"](_8f);_90[_8e]=_8d;var _91=[_8a,_8e,_8b].join(".");var _92=dojo._xdBundleMap[_91];if(_92){for(var _93 in _92){_90[_93]=_8d;}}};dojo._xdInitExtraLocales=function(){var _94=djConfig.extraLocale;if(_94){if(!_94 instanceof Array){_94=[_94];}dojo._xdReqLoc=dojo.xdRequireLocalization;dojo.xdRequireLocalization=function(m,b,_97,_98){dojo._xdReqLoc(m,b,_97,_98);if(_97){return;}for(var i=0;i<_94.length;i++){dojo._xdReqLoc(m,b,_94[i],_98);}};}};dojo._xdBundleMap={};dojo.xdRequireLocalization=function(_9a,_9b,_9c,_9d){if(dojo._xdInitExtraLocales){dojo._xdInitExtraLocales();dojo._xdInitExtraLocales=null;dojo.xdRequireLocalization.apply(dojo,arguments);return;}var _9e=_9d.split(",");var _9f=dojo.i18n.normalizeLocale(_9c);var _a0="";for(var i=0;i<_9e.length;i++){if(_9f.indexOf(_9e[i])==0){if(_9e[i].length>_a0.length){_a0=_9e[i];}}}var _a2=_a0.replace("-","_");var _a3=dojo.getObject([_9a,"nls",_9b].join("."));if(_a3&&_a3[_a2]){bundle[_9f.replace("-","_")]=_a3[_a2];}else{var _a4=[_9a,(_a2||"root"),_9b].join(".");var _a5=dojo._xdBundleMap[_a4];if(!_a5){_a5=dojo._xdBundleMap[_a4]={};}_a5[_9f.replace("-","_")]=true;dojo.require(_9a+".nls"+(_a0?"."+_a0:"")+"."+_9b);}};dojo._xdRealRequireLocalization=dojo.requireLocalization;dojo.requireLocalization=function(_a6,_a7,_a8,_a9){var _aa=this.moduleUrl(_a6).toString();if(this._xdIsXDomainPath(_aa)){return dojo.xdRequireLocalization.apply(dojo,arguments);}else{return dojo._xdRealRequireLocalization.apply(dojo,arguments);}};dojo._xdUnpackDependency=function(dep){var _ac=null;var _ad=null;switch(dep[0]){case "requireIf":case "requireAfterIf":if(dep[1]===true){_ac=[{name:dep[2],content:null}];}break;case "platformRequire":var _ae=dep[1];var _af=_ae["common"]||[];var _ac=(_ae[dojo.hostenv.name_])?_af.concat(_ae[dojo.hostenv.name_]||[]):_af.concat(_ae["default"]||[]);if(_ac){for(var i=0;i<_ac.length;i++){if(_ac[i] instanceof Array){_ac[i]={name:_ac[i][0],content:null};}else{_ac[i]={name:_ac[i],content:null};}}}break;case "require":_ac=[{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"){_ad=_ac;_ac=null;}return {requires:_ac,requiresAfter:_ad};};dojo._xdWalkReqs=function(){var _b1=null;var req;for(var i=0;i<this._xdOrderedReqs.length;i++){req=this._xdOrderedReqs[i];if(this._xdDepMap[req]){_b1=[req];_b1[req]=true;this._xdEvalReqs(_b1);}}};dojo._xdEvalReqs=function(_b4){while(_b4.length>0){var req=_b4[_b4.length-1];var res=this._xdDepMap[req];if(res){var _b7=res.requires;if(_b7&&_b7.length>0){var _b8;for(var i=0;i<_b7.length;i++){_b8=_b7[i].name;if(_b8&&!_b4[_b8]){_b4.push(_b8);_b4[_b8]=true;this._xdEvalReqs(_b4);}}}var _ba=this._xdContents[res.contentIndex];if(!_ba.isDefined){var _bb=_ba.content;_bb["resourceName"]=_ba["resourceName"];_bb["resourcePath"]=_ba["resourcePath"];this._xdDefList.push(_bb);_ba.isDefined=true;}this._xdDepMap[req]=null;var _b7=res.requiresAfter;if(_b7&&_b7.length>0){var _b8;for(var i=0;i<_b7.length;i++){_b8=_b7[i].name;if(_b8&&!_b4[_b8]){_b4.push(_b8);_b4[_b8]=true;this._xdEvalReqs(_b4);}}}}_b4.pop();}};dojo._xdClearInterval=function(){clearInterval(this._xdTimer);this._xdTimer=0;};dojo._xdWatchInFlight=function(){var _bc="";var _bd=(djConfig.xdWaitSeconds||15)*1000;var _be=(this._xdStartTime+_bd)<(new Date()).getTime();for(var _bf in this._xdInFlight){if(this._xdInFlight[_bf]===true){if(_be){_bc+=_bf+" ";}else{return;}}}this._xdClearInterval();if(_be){throw "Could not load cross-domain resources: "+_bc;}this._xdWalkReqs();var _c0=this._xdDefList.length;for(var i=0;i<_c0;i++){var _c2=dojo._xdDefList[i];if(djConfig["debugAtAllCosts"]&&_c2["resourceName"]){if(!this["_xdDebugQueue"]){this._xdDebugQueue=[];}this._xdDebugQueue.push({resourceName:_c2.resourceName,resourcePath:_c2.resourcePath});}else{_c2(dojo);}}for(var i=0;i<this._xdContents.length;i++){var _c3=this._xdContents[i];if(_c3.content&&!_c3.isDefined){_c3.content(dojo);}}this._xdReset();if(this["_xdDebugQueue"]&&this._xdDebugQueue.length>0){this._xdDebugFileLoaded();}else{this._xdNotifyLoaded();}};dojo._xdNotifyLoaded=function(){this._inFlightCount=0;if(this._initFired&&!this._loadNotifying){this._callLoaded();}};if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var d=dojo;if(document&&document.getElementsByTagName){var _c5=document.getElementsByTagName("script");var _c6=/dojo(\.xd)?\.js([\?\.]|$)/i;for(var i=0;i<_c5.length;i++){var src=_c5[i].getAttribute("src");if(!src){continue;}var m=src.match(_c6);if(m){if(!djConfig["baseUrl"]){djConfig["baseUrl"]=src.substring(0,m.index);}var cfg=_c5[i].getAttribute("djConfig");if(cfg){var _cb=eval("({ "+cfg+" })");for(var x in _cb){djConfig[x]=_cb[x];}}break;}}}d.baseUrl=djConfig["baseUrl"];var n=navigator;var dua=n.userAgent;var dav=n.appVersion;var tv=parseFloat(dav);d.isOpera=(dua.indexOf("Opera")>=0)?tv:0;d.isKhtml=(dav.indexOf("Konqueror")>=0)||(dav.indexOf("Safari")>=0)?tv:0;if(dav.indexOf("Safari")>=0){var vi=dav.indexOf("Version/");d.isSafari=(vi)?parseFloat(dav.substring(vi+8)):2;}var _d2=dua.indexOf("Gecko");d.isMozilla=d.isMoz=((_d2>=0)&&(!d.isKhtml))?tv:0;d.isFF=0;d.isIE=0;try{if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1].split(" ")[0]);}if((document.all)&&(!d.isOpera)){d.isIE=parseFloat(dav.split("MSIE ")[1].split(";")[0]);}}catch(e){}if(dojo.isIE&&(window.location.protocol==="file:")){djConfig.ieForceActiveXXhr=true;}var cm=document["compatMode"];d.isQuirks=(cm=="BackCompat")||(cm=="QuirksMode")||(d.isIE<6);d.locale=djConfig.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._println=console.debug;d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _d4=null;var _d5=null;if(!dojo.isIE||!djConfig.ieForceActiveXXhr){try{_d4=new XMLHttpRequest();}catch(e){}}if(!_d4){for(var i=0;i<3;++i){var _d7=dojo._XMLHTTP_PROGIDS[i];try{_d4=new ActiveXObject(_d7);}catch(e){_d5=e;}if(_d4){dojo._XMLHTTP_PROGIDS=[_d7];break;}}}if(!_d4){throw new Error("XMLHTTP not available: "+_d5);}return _d4;};d._isDocumentOk=function(_d8){var _d9=_d8.status||0;return ((_d9>=200)&&(_d9<300))||(_d9==304)||(_d9==1223)||(!_d9&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _da=window.location+"";var _db=document.getElementsByTagName("base");var _dc=(_db&&_db.length>0);d._getText=function(uri,_de){var _df=this._xhrObj();if(!_dc&&dojo._Url){uri=(new dojo._Url(_da,uri)).toString();}_df.open("GET",uri,false);try{_df.send(null);if(!d._isDocumentOk(_df)){var err=Error("Unable to load "+uri+" status:"+_df.status);err.status=_df.status;err.responseText=_df.responseText;throw err;}}catch(e){if(_de){return null;}throw e;}return _df.responseText;};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _e2=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_e2!="domcontentloaded"&&_e2!="load")){return;}arguments.callee.initialized=true;if(typeof dojo["_khtmlTimer"]!="undefined"){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};if(document.addEventListener){if(dojo.isOpera||(dojo.isMoz&&(djConfig["enableMozDomContentLoaded"]===true))){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}if(/(WebKit|khtml)/i.test(navigator.userAgent)){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}(function(){var _w=window;var _e4=function(_e5,fp){var _e7=_w[_e5]||function(){};_w[_e5]=function(){fp.apply(_w,arguments);_e7.apply(_w,arguments);};};if(dojo.isIE){document.write("<scr"+"ipt defer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){dojo._loadInit();}\">"+"</scr"+"ipt>");var _e8=true;_e4("onbeforeunload",function(){_w.setTimeout(function(){_e8=false;},0);});_e4("onunload",function(){if(_e8){dojo.unloaded();}});try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}catch(e){}}else{_e4("onbeforeunload",function(){dojo.unloaded();});}})();}if(djConfig.isDebug){dojo.require("dojo._firebug.firebug");}if(djConfig.debugAtAllCosts){djConfig.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");}}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");dojo.isString=function(it){return typeof it=="string"||it instanceof String;};dojo.isArray=function(it){return it&&it instanceof Array||typeof it=="array";};dojo.isFunction=(function(){var _eb=function(it){return typeof it=="function"||it instanceof Function;};return dojo.isSafari?function(it){if(typeof it=="function"&&it=="[object NodeList]"){return false;}return _eb(it);}:_eb;})();dojo.isObject=function(it){return it!==undefined&&(it===null||typeof it=="object"||dojo.isArray(it)||dojo.isFunction(it));};dojo.isArrayLike=function(it){var d=dojo;return it&&it!==undefined&&!d.isString(it)&&!d.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(d.isArray(it)||isFinite(it.length));};dojo.isAlien=function(it){return it&&!dojo.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.extend=function(_f2,_f3){for(var i=1,l=arguments.length;i<l;i++){dojo._mixin(_f2.prototype,arguments[i]);}return _f2;};dojo._hitchArgs=function(_f6,_f7){var pre=dojo._toArray(arguments,2);var _f9=dojo.isString(_f7);return function(){var _fa=dojo._toArray(arguments);var f=_f9?(_f6||dojo.global)[_f7]:_f7;return f&&f.apply(_f6||this,pre.concat(_fa));};};dojo.hitch=function(_fc,_fd){if(arguments.length>2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_fd){_fd=_fc;_fc=null;}if(dojo.isString(_fd)){_fc=_fc||dojo.global;if(!_fc[_fd]){throw (["dojo.hitch: scope[\"",_fd,"\"] is null (scope=\"",_fc,"\")"].join(""));}return function(){return _fc[_fd].apply(_fc,arguments||[]);};}return !_fc?_fd:function(){return _fd.apply(_fc,arguments||[]);};};dojo.delegate=dojo._delegate=function(obj,_ff){function TMP(){};TMP.prototype=obj;var tmp=new TMP();if(_ff){dojo.mixin(tmp,_ff);}return tmp;};dojo.partial=function(_101){var arr=[null];return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));};dojo._toArray=function(obj,_104,_105){var arr=_105||[];for(var x=_104||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};dojo.clone=function(o){if(!o){return o;}if(dojo.isArray(o)){var r=[];for(var i=0;i<o.length;++i){r.push(dojo.clone(o[i]));}return r;}else{if(dojo.isObject(o)){if(o.nodeType&&o.cloneNode){return o.cloneNode(true);}else{var r=new o.constructor();for(var i in o){if(!(i in r)||r[i]!=o[i]){r[i]=dojo.clone(o[i]);}}return r;}}}return o;};dojo.trim=function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");};}if(!dojo._hasResource["dojo._base.declare"]){dojo._hasResource["dojo._base.declare"]=true;dojo.provide("dojo._base.declare");dojo.declare=function(_10c,_10d,_10e){if(dojo.isFunction(_10e)||(arguments.length>3)){dojo.deprecated("dojo.declare: for class '"+_10c+"' pass initializer function as 'constructor' property instead of as a separate argument.","","1.0");var c=_10e;_10e=arguments[3]||{};_10e.constructor=c;}var dd=arguments.callee,_111=null;if(dojo.isArray(_10d)){_111=_10d;_10d=_111.shift();}if(_111){for(var i=0,m;i<_111.length;i++){m=_111[i];if(!m){throw ("Mixin #"+i+" to declaration of "+_10c+" is null. It's likely a required module is not loaded.");}_10d=dd._delegate(_10d,m);}}var init=(_10e||0).constructor,ctor=dd._delegate(_10d),fn;for(var i in _10e){if(dojo.isFunction(fn=_10e[i])&&(!0[i])){fn.nom=i;}}dojo.extend(ctor,{declaredClass:_10c,_constructor:init,preamble:null},_10e||0);ctor.prototype.constructor=ctor;return dojo.setObject(_10c,ctor);};dojo.mixin(dojo.declare,{_delegate:function(base,_118){var bp=(base||0).prototype,mp=(_118||0).prototype;var ctor=dojo.declare._makeCtor();dojo.mixin(ctor,{superclass:bp,mixin:mp,extend:dojo.declare._extend});if(base){ctor.prototype=dojo._delegate(bp);}dojo.extend(ctor,dojo.declare._core,mp||0,{_constructor:null,preamble:null});ctor.prototype.constructor=ctor;ctor.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;return ctor;},_extend:function(_11c){for(var i in _11c){if(dojo.isFunction(fn=_11c[i])&&(!0[i])){fn.nom=i;}}dojo.extend(this,_11c);},_makeCtor:function(){return function(){this._construct(arguments);};},_core:{_construct:function(args){var c=args.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=args,ii,fn;if(a[0]){if((fn=a[0]["preamble"])){a=fn.apply(this,a)||a;}}if(fn=c.prototype.preamble){a=fn.apply(this,a)||a;}if(ct&&ct.apply){ct.apply(this,a);}if(mct&&mct.apply){mct.apply(this,a);}if(ii=c.prototype._constructor){ii.apply(this,args);}if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){ct.apply(this,args);}},_findMixin:function(_127){var c=this.constructor,p,m;while(c){p=c.superclass;m=c.mixin;if(m==_127||(m instanceof _127.constructor)){return p;}if(m&&(m=m._findMixin(_127))){return m;}c=p&&p.constructor;}},_findMethod:function(name,_12c,_12d,has){var p=_12d,c,m,f;do{c=p.constructor;m=c.mixin;if(m&&(m=this._findMethod(name,_12c,m,has))){return m;}if((f=p[name])&&(has==(f==_12c))){return p;}p=c.superclass;}while(p);return !has&&(p=this._findMixin(_12d))&&this._findMethod(name,_12c,p,has);},inherited:function(name,args,_135){var a=arguments;if(!dojo.isString(a[0])){_135=args;args=name;name=args.callee.nom;}var c=args.callee,p=this.constructor.prototype,a=_135||args,fn,mp;if(this[name]!=c||p[name]==c){mp=this._findMethod(name,c,p,true);if(!mp){throw (this.declaredClass+": name argument (\""+name+"\") to inherited must match callee (declare.js)");}p=this._findMethod(name,c,mp,false);}fn=p&&p[name];if(!fn){console.debug(mp.declaredClass+": no inherited \""+name+"\" was found (declare.js)");return;}return fn.apply(this,a);}}});}if(!dojo._hasResource["dojo._base.connect"]){dojo._hasResource["dojo._base.connect"]=true;dojo.provide("dojo._base.connect");dojo._listener={getDispatcher:function(){return function(){var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target;var r=t&&t.apply(this,arguments);for(var i in ls){if(!(i in ap)){ls[i].apply(this,arguments);}}return r;};},add:function(_141,_142,_143){_141=_141||dojo.global;var f=_141[_142];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_141[_142]=d;}return f._listeners.push(_143);},remove:function(_146,_147,_148){var f=(_146||dojo.global)[_147];if(f&&f._listeners&&_148--){delete f._listeners[_148];}}};dojo.connect=function(obj,_14b,_14c,_14d,_14e){var a=arguments,args=[],i=0;args.push(dojo.isString(a[0])?null:a[i++],a[i++]);var a1=a[i+1];args.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){args.push(a[i]);}return dojo._connect.apply(this,args);};dojo._connect=function(obj,_155,_156,_157){var l=dojo._listener,h=l.add(obj,_155,dojo.hitch(_156,_157));return [obj,_155,h,l];};dojo.disconnect=function(_15a){if(_15a&&_15a[0]!==undefined){dojo._disconnect.apply(this,_15a);delete _15a[0];}};dojo._disconnect=function(obj,_15c,_15d,_15e){_15e.remove(obj,_15c,_15d);};dojo._topics={};dojo.subscribe=function(_15f,_160,_161){return [_15f,dojo._listener.add(dojo._topics,_15f,dojo.hitch(_160,_161))];};dojo.unsubscribe=function(_162){if(_162){dojo._listener.remove(dojo._topics,_162[0],_162[1]);}};dojo.publish=function(_163,args){var f=dojo._topics[_163];if(f){f.apply(this,args||[]);}};dojo.connectPublisher=function(_166,obj,_168){var pf=function(){dojo.publish(_166,arguments);};return (_168)?dojo.connect(obj,_168,pf):dojo.connect(obj,pf);};}if(!dojo._hasResource["dojo._base.Deferred"]){dojo._hasResource["dojo._base.Deferred"]=true;dojo.provide("dojo._base.Deferred");dojo.Deferred=function(_16a){this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=_16a;this.silentlyCancelled=false;};dojo.extend(dojo.Deferred,{_nextId:(function(){var n=1;return function(){return n++;};})(),cancel:function(){var err;if(this.fired==-1){if(this.canceller){err=this.canceller(this);}else{this.silentlyCancelled=true;}if(this.fired==-1){if(!(err instanceof Error)){var res=err;err=new Error("Deferred Cancelled");err.dojoType="cancel";err.cancelResult=res;}this.errback(err);}}else{if((this.fired==0)&&(this.results[0] instanceof dojo.Deferred)){this.results[0].cancel();}}},_resback:function(res){this.fired=((res instanceof Error)?1:0);this.results[this.fired]=res;this._fire();},_check:function(){if(this.fired!=-1){if(!this.silentlyCancelled){throw new Error("already called!");}this.silentlyCancelled=false;return;}},callback:function(res){this._check();this._resback(res);},errback:function(res){this._check();if(!(res instanceof Error)){res=new Error(res);}this._resback(res);},addBoth:function(cb,cbfn){var _173=dojo.hitch(cb,cbfn);if(arguments.length>2){_173=dojo.partial(_173,arguments,2);}return this.addCallbacks(_173,_173);},addCallback:function(cb,cbfn){var _176=dojo.hitch(cb,cbfn);if(arguments.length>2){_176=dojo.partial(_176,arguments,2);}return this.addCallbacks(_176,null);},addErrback:function(cb,cbfn){var _179=dojo.hitch(cb,cbfn);if(arguments.length>2){_179=dojo.partial(_179,arguments,2);}return this.addCallbacks(null,_179);},addCallbacks:function(cb,eb){this.chain.push([cb,eb]);if(this.fired>=0){this._fire();}return this;},_fire:function(){var _17c=this.chain;var _17d=this.fired;var res=this.results[_17d];var self=this;var cb=null;while((_17c.length>0)&&(this.paused==0)){var f=_17c.shift()[_17d];if(!f){continue;}try{res=f(res);_17d=((res instanceof Error)?1:0);if(res instanceof dojo.Deferred){cb=function(res){self._resback(res);self.paused--;if((self.paused==0)&&(self.fired>=0)){self._fire();}};this.paused++;}}catch(err){console.debug(err);_17d=1;res=err;}}this.fired=_17d;this.results[_17d]=res;if((cb)&&(this.paused)){res.addBoth(cb);}}});}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(json){try{return eval("("+json+")");}catch(e){console.debug(e);return json;}};dojo._escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_186,_187){_187=_187||"";var _188=(_186?_187+dojo.toJsonIndentStr:"");var _189=(_186?"\n":"");var _18a=typeof (it);if(_18a=="undefined"){return "undefined";}else{if((_18a=="number")||(_18a=="boolean")){return it+"";}else{if(it===null){return "null";}}}if(dojo.isString(it)){return dojo._escapeString(it);}if(it.nodeType&&it.cloneNode){return "";}var _18b=arguments.callee;var _18c;if(typeof it.__json__=="function"){_18c=it.__json__();if(it!==_18c){return _18b(_18c,_186,_188);}}if(typeof it.json=="function"){_18c=it.json();if(it!==_18c){return _18b(_18c,_186,_188);}}if(dojo.isArray(it)){var res=[];for(var i=0;i<it.length;i++){var val=_18b(it[i],_186,_188);if(typeof (val)!="string"){val="undefined";}res.push(_189+_188+val);}return "["+res.join(", ")+_189+_187+"]";}if(_18a=="function"){return null;}var _190=[];for(var key in it){var _192;if(typeof (key)=="number"){_192="\""+key+"\"";}else{if(typeof (key)=="string"){_192=dojo._escapeString(key);}else{continue;}}val=_18b(it[key],_186,_188);if(typeof (val)!="string"){continue;}_190.push(_189+_188+_192+": "+val);}return "{"+_190.join(", ")+_189+_187+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _193=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(_197,_198,_199,_19a){var i=0,step=1,end=_197.length;if(_19a){i=end-1;step=end=-1;}for(i=_199||i;i!=end;i+=step){if(_197[i]==_198){return i;}}return -1;},lastIndexOf:function(_19e,_19f,_1a0){return dojo.indexOf(_19e,_19f,_1a0,true);},forEach:function(arr,_1a2,obj){if(!arr||!arr.length){return;}var _p=_193(arr,obj,_1a2);arr=_p[0];for(var i=0,l=_p[0].length;i<l;i++){_p[2].call(_p[1],arr[i],i,arr);}},_everyOrSome:function(_1a7,arr,_1a9,obj){var _p=_193(arr,obj,_1a9);arr=_p[0];for(var i=0,l=arr.length;i<l;i++){var _1ae=!!_p[2].call(_p[1],arr[i],i,arr);if(_1a7^_1ae){return _1ae;}}return _1a7;},every:function(arr,_1b0,_1b1){return this._everyOrSome(true,arr,_1b0,_1b1);},some:function(arr,_1b3,_1b4){return this._everyOrSome(false,arr,_1b3,_1b4);},map:function(arr,func,obj){var _p=_193(arr,obj,func);arr=_p[0];var _1b9=((arguments[3])?(new arguments[3]()):[]);for(var i=0;i<arr.length;++i){_1b9.push(_p[2].call(_p[1],arr[i],i,arr));}return _1b9;},filter:function(arr,_1bc,obj){var _p=_193(arr,obj,_1bc);arr=_p[0];var _1bf=[];for(var i=0;i<arr.length;i++){if(_p[2].call(_p[1],arr[i],i,arr)){_1bf.push(arr[i]);}}return _1bf;}});})();}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");dojo.Color=function(_1c1){if(_1c1){this.setColor(_1c1);}};dojo.Color.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255]};dojo.extend(dojo.Color,{r:255,g:255,b:255,a:1,_set:function(r,g,b,a){var t=this;t.r=r;t.g=g;t.b=b;t.a=a;},setColor:function(_1c7){var d=dojo;if(d.isString(_1c7)){d.colorFromString(_1c7,this);}else{if(d.isArray(_1c7)){d.colorFromArray(_1c7,this);}else{this._set(_1c7.r,_1c7.g,_1c7.b,_1c7.a);if(!(_1c7 instanceof d.Color)){this.sanitize();}}}return this;},sanitize:function(){return this;},toRgb:function(){var t=this;return [t.r,t.g,t.b];},toRgba:function(){var t=this;return [t.r,t.g,t.b,t.a];},toHex:function(){var arr=dojo.map(["r","g","b"],function(x){var s=this[x].toString(16);return s.length<2?"0"+s:s;},this);return "#"+arr.join("");},toCss:function(_1ce){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_1ce?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_1d1,end,_1d3,obj){var d=dojo,t=obj||new dojo.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_1d1[x]+(end[x]-_1d1[x])*_1d3;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_1d8,obj){var m=_1d8.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_1db,obj){var d=dojo,t=obj||new d.Color(),bits=(_1db.length==4)?4:8,mask=(1<<bits)-1;_1db=Number("0x"+_1db.substr(1));if(isNaN(_1db)){return null;}d.forEach(["b","g","r"],function(x){var c=_1db&mask;_1db>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new dojo.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=dojo.Color.named[str];return a&&dojo.colorFromArray(a,obj)||dojo.colorFromRgb(str,obj)||dojo.colorFromHex(str,obj);};}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");(function(){if(djConfig.require){for(var x=0;x<djConfig.require.length;x++){dojo["require"](djConfig.require[x]);}}})();}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo._gearsObject=function(){var _1ea;var _1eb;var _1ec=dojo.getObject("google.gears");if(_1ec){return _1ec;}if(typeof GearsFactory!="undefined"){_1ea=new GearsFactory();}else{if(dojo.isIE){try{_1ea=new ActiveXObject("Gears.Factory");}catch(e){}}else{if(navigator.mimeTypes["application/x-googlegears"]){_1ea=document.createElement("object");_1ea.setAttribute("type","application/x-googlegears");_1ea.setAttribute("width",0);_1ea.setAttribute("height",0);_1ea.style.display="none";document.documentElement.appendChild(_1ea);}}}if(!_1ea){return null;}dojo.setObject("google.gears.factory",_1ea);return dojo.getObject("google.gears");};dojo.isGears=(!!dojo._gearsObject())||0;dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_1ed,_1ee){dojo.global=_1ed;dojo.doc=_1ee;};dojo._fireCallback=function(_1ef,_1f0,_1f1){if(_1f0&&dojo.isString(_1ef)){_1ef=_1f0[_1ef];}return (_1f0?_1ef.apply(_1f0,_1f1||[]):_1ef());};dojo.withGlobal=function(_1f2,_1f3,_1f4,_1f5){var rval;var _1f7=dojo.global;var _1f8=dojo.doc;try{dojo.setContext(_1f2,_1f2.document);rval=dojo._fireCallback(_1f3,_1f4,_1f5);}finally{dojo.setContext(_1f7,_1f8);}return rval;};dojo.withDoc=function(_1f9,_1fa,_1fb,_1fc){var rval;var _1fe=dojo.doc;try{dojo.doc=_1f9;rval=dojo._fireCallback(_1fa,_1fb,_1fc);}finally{dojo.doc=_1fe;}return rval;};(function(){var mp=djConfig["modulePaths"];if(mp){for(var _200 in mp){dojo.registerModulePath(_200,mp[_200]);}}})();}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 _205=name;if((!dojo.isIE)&&((name=="mouseenter")||(name=="mouseleave"))){var _205=name;var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){var id=dojo.isDescendant(e.relatedTarget,node);if(id==false){return ofp.call(this,e);}};}node.addEventListener(name,fp,false);return fp;},remove:function(node,_20a,_20b){(node)&&(node.removeEventListener(del._normalizeEventName(_20a),_20b,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,_211){switch(evt.type){case "keypress":del._setKeyChar(evt);break;}return evt;},_setKeyChar:function(evt){evt.keyChar=(evt.charCode?String.fromCharCode(evt.charCode):"");}};dojo.fixEvent=function(evt,_214){return del._fixEvent(evt,_214);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _216=dojo._listener;dojo._connect=function(obj,_218,_219,_21a,_21b){var _21c=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=!_21c?0:(!_21b?1:2),l=[dojo._listener,del,_216][lid];var h=l.add(obj,_218,dojo.hitch(_219,_21a));return [obj,_218,h,lid];};dojo._disconnect=function(obj,_221,_222,_223){([dojo._listener,del,_216][_223]).remove(obj,_221,_222);};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 _224=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;if(!djConfig._allow_leaks){_216=iel=dojo._ie_listener={handlers:[],add:function(_228,_229,_22a){_228=_228||dojo.global;var f=_228[_229];if(!f||!f._listeners){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d._listeners=[];f=_228[_229]=d;}return f._listeners.push(ieh.push(_22a)-1);},remove:function(_22e,_22f,_230){var f=(_22e||dojo.global)[_22f],l=f&&f._listeners;if(f&&l&&_230--){delete ieh[l[_230]];delete l[_230];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_234,fp){if(!node){return;}_234=del._normalizeEventName(_234);if(_234=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd._listeners||!kd._stealthKeydown){del.add(node,"onkeydown",del._stealthKeyDown);node.onkeydown._stealthKeydown=true;}}return iel.add(node,_234,del._fixCallback(fp));},remove:function(node,_238,_239){iel.remove(node,del._normalizeEventName(_238),_239);},_normalizeEventName:function(_23a){return (_23a.slice(0,2)!="on"?"on"+_23a:_23a);},_nop:function(){},_fixEvent:function(evt,_23c){if(!evt){var w=(_23c)&&((_23c.ownerDocument||_23c.document||_23c).parentWindow)||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_23c||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _240=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _241=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_240.scrollLeft||0)-_241.x;evt.pageY=evt.clientY+(_240.scrollTop||0)-_241.y;if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}evt.stopPropagation=del._stopPropagation;evt.preventDefault=del._preventDefault;return del._fixKeys(evt);},_fixKeys:function(evt){switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;del._setKeyChar(evt);break;}return evt;},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39},_stealthKeyDown:function(evt){var kp=evt.currentTarget.onkeypress;if(!kp||!kp._listeners){return;}var k=evt.keyCode;var _247=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_247||evt.ctrlKey){var c=(_247?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;_224(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_224(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,_24c){var faux=dojo.mixin({},evt,_24c);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_24f){switch(evt.type){case "keypress":var c=evt.which;if(c==3){c=99;}c=((c<41)&&(!evt.shiftKey)?0:c);if((evt.ctrlKey)&&(!evt.shiftKey)&&(c>=65)&&(c<=90)){c+=32;}return del._synthesizeEvent(evt,{charCode:c});}return evt;}});}if(dojo.isSafari){dojo.mixin(del,{_fixEvent:function(evt,_252){switch(evt.type){case "keypress":var c=evt.charCode,s=evt.shiftKey,k=evt.keyCode;k=k||_256[evt.keyIdentifier]||0;if(evt.keyIdentifier=="Enter"){c=0;}else{if((evt.ctrlKey)&&(c>0)&&(c<27)){c+=96;}else{if(c==dojo.keys.SHIFT_TAB){c=dojo.keys.TAB;s=true;}else{c=(c>=32&&c<63232?c:0);}}}return del._synthesizeEvent(evt,{charCode:c,shiftKey:s,keyCode:k});}return evt;}});dojo.mixin(dojo.keys,{SHIFT_TAB:25,UP_ARROW:63232,DOWN_ARROW:63233,LEFT_ARROW:63234,RIGHT_ARROW:63235,F1:63236,F2:63237,F3:63238,F4:63239,F5:63240,F6:63241,F7:63242,F8:63243,F9:63244,F10:63245,F11:63246,F12:63247,PAUSE:63250,DELETE:63272,HOME:63273,END:63275,PAGE_UP:63276,PAGE_DOWN:63277,INSERT:63302,PRINT_SCREEN:63248,SCROLL_LOCK:63249,NUM_LOCK:63289});var dk=dojo.keys,_256={"Up":dk.UP_ARROW,"Down":dk.DOWN_ARROW,"Left":dk.LEFT_ARROW,"Right":dk.RIGHT_ARROW,"PageUp":dk.PAGE_UP,"PageDown":dk.PAGE_DOWN};}})();if(dojo.isIE){dojo._getIeDispatcher=function(){return function(){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=arguments.callee,ls=c._listeners,t=h[c.target];var r=t&&t.apply(this,arguments);for(var i in ls){if(!(i in ap)){h[ls[i]].apply(this,arguments);}}return r;};};dojo._event_listener._fixCallback=function(fp){var f=dojo._event_listener._fixEvent;return function(e){return fp.call(this,f(e,this));};};}}if(!dojo._hasResource["dojo._base.html"]){dojo._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){return;}if(!eles.length){return eles;}var i=0;while((te=eles[i++])){if(te.attributes.id.value==id){return te;}}}}else{return id;}};}else{dojo.byId=function(id,doc){if(dojo.isString(id)){return (doc||dojo.doc).getElementById(id);}else{return id;}};}(function(){var _26a=null;dojo._destroyElement=function(node){node=dojo.byId(node);try{if(!_26a){_26a=document.createElement("div");}_26a.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_26a.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_26d){try{node=dojo.byId(node);_26d=dojo.byId(_26d);while(node){if(node===_26d){return true;}node=node.parentNode;}}catch(e){return -1;}return false;};dojo.setSelectable=function(node,_26f){node=dojo.byId(node);if(dojo.isMozilla){node.style.MozUserSelect=_26f?"":"none";}else{if(dojo.isKhtml){node.style.KhtmlUserSelect=_26f?"auto":"none";}else{if(dojo.isIE){node.unselectable=_26f?"":"on";dojo.query("*",node).forEach(function(_270){_270.unselectable=_26f?"":"on";});}}}};var _271=function(node,ref){ref.parentNode.insertBefore(node,ref);return true;};var _274=function(node,ref){var pn=ref.parentNode;if(ref==pn.lastChild){pn.appendChild(node);}else{return _271(node,ref.nextSibling);}return true;};dojo.place=function(node,_279,_27a){if(!node||!_279||_27a===undefined){return false;}node=dojo.byId(node);_279=dojo.byId(_279);if(typeof _27a=="number"){var cn=_279.childNodes;if((_27a==0&&cn.length==0)||cn.length==_27a){_279.appendChild(node);return true;}if(_27a==0){return _271(node,_279.firstChild);}return _274(node,cn[_27a-1]);}switch(_27a.toLowerCase()){case "before":return _271(node,_279);case "after":return _274(node,_279);case "first":if(_279.firstChild){return _271(node,_279.firstChild);}else{_279.appendChild(node);return true;}break;default:_279.appendChild(node);return true;}};dojo.boxModel="content-box";if(dojo.isIE){var _dcm=document.compatMode;dojo.boxModel=(_dcm=="BackCompat")||(_dcm=="QuirksMode")||(dojo.isIE<6)?"border-box":"content-box";}var gcs,dv=document.defaultView;if(dojo.isSafari){gcs=function(node){var s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}return s||{};};}else{if(dojo.isIE){gcs=function(node){return node.currentStyle;};}else{gcs=function(node){return dv.getComputedStyle(node,null);};}}dojo.getComputedStyle=gcs;if(!dojo.isIE){dojo._toPixelValue=function(_283,_284){return parseFloat(_284)||0;};}else{dojo._toPixelValue=function(_285,_286){if(!_286){return 0;}if(_286=="medium"){return 4;}if(_286.slice&&(_286.slice(-2)=="px")){return parseFloat(_286);}with(_285){var _287=style.left;var _288=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_286;_286=style.pixelLeft;}catch(e){_286=0;}style.left=_287;runtimeStyle.left=_288;}return _286;};}dojo._getOpacity=(dojo.isIE?function(node){try{return (node.filters.alpha.opacity/100);}catch(e){return 1;}}:function(node){return dojo.getComputedStyle(node).opacity;});dojo._setOpacity=(dojo.isIE?function(node,_28c){if(_28c==1){node.style.cssText=node.style.cssText.replace(/FILTER:[^;]*;/i,"");if(node.nodeName.toLowerCase()=="tr"){dojo.query("> td",node).forEach(function(i){i.style.cssText=i.style.cssText.replace(/FILTER:[^;]*;/i,"");});}}else{var o="Alpha(Opacity="+(_28c*100)+")";node.style.filter=o;}if(node.nodeName.toLowerCase()=="tr"){dojo.query("> td",node).forEach(function(i){i.style.filter=o;});}return _28c;}:function(node,_291){return node.style.opacity=_291;});var _292={width:true,height:true,left:true,top:true};var _293=function(node,type,_296){type=type.toLowerCase();if(_292[type]===true){return dojo._toPixelValue(node,_296);}else{if(_292[type]===false){return _296;}else{if(dojo.isOpera&&type=="cssText"){}if((type.indexOf("margin")>=0)||(type.indexOf("padding")>=0)||(type.indexOf("width")>=0)||(type.indexOf("height")>=0)||(type.indexOf("max")>=0)||(type.indexOf("min")>=0)||(type.indexOf("offset")>=0)){_292[type]=true;return dojo._toPixelValue(node,_296);}else{_292[type]=false;return _296;}}}};dojo.style=function(node,_298,_299){var n=dojo.byId(node),args=arguments.length,op=(_298=="opacity");if(args==3){return op?dojo._setOpacity(n,_299):n.style[_298]=_299;}if(args==2&&op){return dojo._getOpacity(n);}var s=dojo.getComputedStyle(n);return (args==1)?s:_293(n,_298,s[_298]);};dojo._getPadExtents=function(n,_29f){var s=_29f||gcs(n),px=dojo._toPixelValue,l=px(n,s.paddingLeft),t=px(n,s.paddingTop);return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};};dojo._getBorderExtents=function(n,_2a5){var ne="none",px=dojo._toPixelValue,s=_2a5||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,_2ac){var s=_2ac||gcs(n),p=dojo._getPadExtents(n,s),b=dojo._getBorderExtents(n,s);return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};};dojo._getMarginExtents=function(n,_2b1){var s=_2b1||gcs(n),px=dojo._toPixelValue,l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(dojo.isSafari&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_2b9){var s=_2b9||gcs(node),me=dojo._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t;if(dojo.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{var p=node.parentNode;if(p&&p.style){var pcs=gcs(p);if(pcs.overflow!="visible"){var be=dojo._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else{if(dojo.isOpera){var p=node.parentNode;if(p){var be=dojo._getBorderExtents(p);l-=be.l,t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_2c4){var s=_2c4||gcs(node),pe=dojo._getPadExtents(node,s),be=dojo._getBorderExtents(node,s),w=node.clientWidth,h;if(!w){w=node.offsetWidth,h=node.offsetHeight;}else{h=node.clientHeight,be.w=be.h=0;}if(dojo.isOpera){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};dojo._getBorderBox=function(node,_2cb){var s=_2cb||gcs(node),pe=dojo._getPadExtents(node,s),cb=dojo._getContentBox(node,s);return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};};dojo._setBox=function(node,l,t,w,h,u){u=u||"px";with(node.style){if(!isNaN(l)){left=l+u;}if(!isNaN(t)){top=t+u;}if(w>=0){width=w+u;}if(h>=0){height=h+u;}}};dojo._usesBorderBox=function(node){var n=node.tagName;return dojo.boxModel=="border-box"||n=="TABLE"||n=="BUTTON";};dojo._setContentSize=function(node,_2d8,_2d9,_2da){var bb=dojo._usesBorderBox(node);if(bb){var pb=dojo._getPadBorderExtents(node,_2da);if(_2d8>=0){_2d8+=pb.w;}if(_2d9>=0){_2d9+=pb.h;}}dojo._setBox(node,NaN,NaN,_2d8,_2d9);};dojo._setMarginBox=function(node,_2de,_2df,_2e0,_2e1,_2e2){var s=_2e2||dojo.getComputedStyle(node);var bb=dojo._usesBorderBox(node),pb=bb?_2e6:dojo._getPadBorderExtents(node,s),mb=dojo._getMarginExtents(node,s);if(_2e0>=0){_2e0=Math.max(_2e0-pb.w-mb.w,0);}if(_2e1>=0){_2e1=Math.max(_2e1-pb.h-mb.h,0);}dojo._setBox(node,_2de,_2df,_2e0,_2e1);};var _2e6={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=dojo.byId(node),s=gcs(n),b=box;return !b?dojo._getMarginBox(n,s):dojo._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=dojo.byId(node),s=gcs(n),b=box;return !b?dojo._getContentBox(n,s):dojo._setContentSize(n,b.w,b.h,s);};var _2f2=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_2f6=0,_b=dojo.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_2f6+=val-0;if(node==_b){break;}}node=node.parentNode;}return _2f6;};dojo._docScroll=function(){var _b=dojo.body();var _w=dojo.global;var de=dojo.doc.documentElement;return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||dojo._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};};dojo._isBodyLtr=function(){return !("_bodyLtr" in dojo)?dojo._bodyLtr=dojo.getComputedStyle(dojo.body()).direction=="ltr":dojo._bodyLtr;};dojo._getIeDocumentElementOffset=function(){var de=dojo.doc.documentElement;if(dojo.isIE>=7){return {x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top};}else{return {x:dojo._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};}};dojo._fixIeBiDiScrollLeft=function(_2fc){if(dojo.isIE&&!dojo._isBodyLtr()){var de=dojo.doc.documentElement;return _2fc+de.clientWidth-de.scrollWidth;}return _2fc;};dojo._abs=function(node,_2ff){var _300=node.ownerDocument;var ret={x:0,y:0};var _302=false;var db=dojo.body();if(dojo.isIE){var _304=node.getBoundingClientRect();var _305=dojo._getIeDocumentElementOffset();ret.x=_304.left-_305.x;ret.y=_304.top-_305.y;}else{if(_300["getBoxObjectFor"]){var bo=_300.getBoxObjectFor(node);ret.x=bo.x-_2f2(node,"scrollLeft");ret.y=bo.y-_2f2(node,"scrollTop");}else{if(node["offsetParent"]){_302=true;var _307;if(dojo.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){_307=db;}else{_307=db.parentNode;}if(node.parentNode!=db){var nd=node;if(dojo.isOpera||(dojo.isSafari>=5)){nd=db;}ret.x-=_2f2(nd,"scrollLeft");ret.y-=_2f2(nd,"scrollTop");}var _309=node;do{var n=_309["offsetLeft"];if(!dojo.isOpera||n>0){ret.x+=isNaN(n)?0:n;}var m=_309["offsetTop"];ret.y+=isNaN(m)?0:m;_309=_309.offsetParent;}while((_309!=_307)&&_309);}else{if(node["x"]&&node["y"]){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}}if(_302||_2ff){var _30c=dojo._docScroll();var m=_302?(!_2ff?-1:0):1;ret.y+=m*_30c.y;ret.x+=m*_30c.x;}return ret;};dojo.coords=function(node,_30e){var n=dojo.byId(node),s=gcs(n),mb=dojo._getMarginBox(n,s);var abs=dojo._abs(n,_30e);mb.x=abs.x;mb.y=abs.y;return mb;};})();dojo.hasClass=function(node,_314){return ((" "+dojo.byId(node).className+" ").indexOf(" "+_314+" ")>=0);};dojo.addClass=function(node,_316){node=dojo.byId(node);var cls=node.className;if((" "+cls+" ").indexOf(" "+_316+" ")<0){node.className=cls+(cls?" ":"")+_316;}};dojo.removeClass=function(node,_319){node=dojo.byId(node);var t=dojo.trim((" "+node.className+" ").replace(" "+_319+" "," "));if(node.className!=t){node.className=t;}};dojo.toggleClass=function(node,_31c,_31d){if(_31d===undefined){_31d=!dojo.hasClass(node,_31c);}dojo[_31d?"addClass":"removeClass"](node,_31c);};}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var d=dojo;var tnl=function(arr){arr.constructor=dojo.NodeList;dojo._mixin(arr,dojo.NodeList.prototype);return arr;};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};dojo.NodeList._wrap=tnl;dojo.extend(dojo.NodeList,{slice:function(){var a=dojo._toArray(arguments);return tnl(a.slice.apply(this,a));},splice:function(){var a=dojo._toArray(arguments);return tnl(a.splice.apply(this,a));},concat:function(){var a=dojo._toArray(arguments,0,[this]);return tnl(a.concat.apply([],a));},indexOf:function(_324,_325){return d.indexOf(this,_324,_325);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_326,_327){return d.every(this,_326,_327);},some:function(_328,_329){return d.some(this,_328,_329);},map:function(func,obj){return d.map(this,func,obj,d.NodeList);},forEach:function(_32c,_32d){d.forEach(this,_32c,_32d);return this;},coords:function(){return d.map(this,d.coords);},style:function(){var aa=d._toArray(arguments,0,[null]);var s=this.map(function(i){aa[0]=i;return d.style.apply(d,aa);});return (arguments.length>1)?this:s;},styles:function(){d.deprecated("NodeList.styles","use NodeList.style instead","1.1");return this.style.apply(this,arguments);},addClass:function(_331){this.forEach(function(i){d.addClass(i,_331);});return this;},removeClass:function(_333){this.forEach(function(i){d.removeClass(i,_333);});return this;},place:function(_335,_336){var item=d.query(_335)[0];_336=_336||"last";for(var x=0;x<this.length;x++){d.place(this[x],item,_336);}return this;},connect:function(_339,_33a,_33b){this.forEach(function(item){d.connect(item,_339,_33a,_33b);});return this;},orphan:function(_33d){var _33e=(_33d)?d._filterQueryResult(this,_33d):this;_33e.forEach(function(item){if(item["parentNode"]){item.parentNode.removeChild(item);}});return _33e;},adopt:function(_340,_341){var item=this[0];return d.query(_340).forEach(function(ai){d.place(ai,item,(_341||"last"));});},query:function(_344){_344=_344||"";var ret=d.NodeList();this.forEach(function(item){d.query(_344,item).forEach(function(_347){if(typeof _347!="undefined"){ret.push(_347);}});});return ret;},filter:function(_348){var _349=this;var _a=arguments;var r=d.NodeList();var rp=function(t){if(typeof t!="undefined"){r.push(t);}};if(d.isString(_348)){_349=d._filterQueryResult(this,_a[0]);if(_a.length==1){return _349;}d.forEach(d.filter(_349,_a[1],_a[2]),rp);return r;}d.forEach(d.filter(_349,_a[0],_a[1]),rp);return r;},addContent:function(_34e,_34f){var ta=d.doc.createElement("span");if(d.isString(_34e)){ta.innerHTML=_34e;}else{ta.appendChild(_34e);}var ct=((_34f=="first")||(_34f=="after"))?"lastChild":"firstChild";this.forEach(function(item){var tn=ta.cloneNode(true);while(tn[ct]){d.place(tn[ct],item,_34f);}});return this;}});d.forEach(["blur","click","keydown","keypress","keyup","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup"],function(evt){var _oe="on"+evt;dojo.NodeList.prototype[_oe]=function(a,b){return this.connect(_oe,a,b);};});})();}if(!dojo._hasResource["dojo._base.query"]){dojo._hasResource["dojo._base.query"]=true;dojo.provide("dojo._base.query");(function(){var d=dojo;var _359=dojo.isIE?"children":"childNodes";var _35a=function(_35b){if(_35b.charAt(_35b.length-1)==">"){_35b+=" *";}_35b+=" ";var ts=function(s,e){return d.trim(_35b.slice(s,e));};var _35f=[];var _360=-1;var _361=-1;var _362=-1;var _363=-1;var _364=-1;var inId=-1;var _366=-1;var lc="";var cc="";var _369;var x=0;var ql=_35b.length;var _36c=null;var _cp=null;var _36e=function(){if(_366>=0){var tv=(_366==x)?null:ts(_366,x).toLowerCase();_36c[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;_366=-1;}};var _370=function(){if(inId>=0){_36c.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _371=function(){if(_364>=0){_36c.classes.push(ts(_364+1,x).replace(/\\/g,""));_364=-1;}};var _372=function(){_370();_36e();_371();};for(;x<ql,lc=cc,cc=_35b.charAt(x);x++){if(lc=="\\"){continue;}if(!_36c){_369=x;_36c={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null};_366=x;}if(_360>=0){if(cc=="]"){if(!_cp.attr){_cp.attr=ts(_360+1,x);}else{_cp.matchFor=ts((_362||_360+1),x);}var cmf=_cp.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_cp.matchFor=cmf.substring(1,cmf.length-1);}}_36c.attrs.push(_cp);_cp=null;_360=_362=-1;}else{if(cc=="="){var _374=("|~^$*".indexOf(lc)>=0)?lc:"";_cp.type=_374+cc;_cp.attr=ts(_360+1,x-_374.length);_362=x+1;}}}else{if(_361>=0){if(cc==")"){if(_363>=0){_cp.value=ts(_361+1,x);}_363=_361=-1;}}else{if(cc=="#"){_372();inId=x+1;}else{if(cc=="."){_372();_364=x;}else{if(cc==":"){_372();_363=x;}else{if(cc=="["){_372();_360=x;_cp={};}else{if(cc=="("){if(_363>=0){_cp={name:ts(_363+1,x),value:null};_36c.pseudos.push(_cp);}_361=x;}else{if(cc==" "&&lc!=cc){_372();if(_363>=0){_36c.pseudos.push({name:ts(_363+1,x)});}_36c.hasLoops=(_36c.pseudos.length||_36c.attrs.length||_36c.classes.length);_36c.query=ts(_369,x);_36c.tag=(_36c["oper"])?null:(_36c.tag||"*");_35f.push(_36c);_36c=null;}}}}}}}}}return _35f;};var _375={"*=":function(attr,_377){return "[contains(@"+attr+", '"+_377+"')]";},"^=":function(attr,_379){return "[starts-with(@"+attr+", '"+_379+"')]";},"$=":function(attr,_37b){return "[substring(@"+attr+", string-length(@"+attr+")-"+(_37b.length-1)+")='"+_37b+"']";},"~=":function(attr,_37d){return "[contains(concat(' ',@"+attr+",' '), ' "+_37d+" ')]";},"|=":function(attr,_37f){return "[contains(concat(' ',@"+attr+",' '), ' "+_37f+"-')]";},"=":function(attr,_381){return "[@"+attr+"='"+_381+"']";}};var _382=function(_383,_384,_385,_386){d.forEach(_384.attrs,function(attr){var _388;if(attr.type&&_383[attr.type]){_388=_383[attr.type](attr.attr,attr.matchFor);}else{if(attr.attr.length){_388=_385(attr.attr);}}if(_388){_386(_388);}});};var _389=function(_38a){var _38b=".";var _38c=_35a(d.trim(_38a));while(_38c.length){var tqp=_38c.shift();var _38e;if(tqp.oper==">"){_38e="/";tqp=_38c.shift();}else{_38e="//";}_38b+=_38e+tqp.tag;if(tqp.id){_38b+="[@id='"+tqp.id+"'][1]";}d.forEach(tqp.classes,function(cn){var cnl=cn.length;var _391=" ";if(cn.charAt(cnl-1)=="*"){_391="";cn=cn.substr(0,cnl-1);}_38b+="[contains(concat(' ',@class,' '), ' "+cn+_391+"')]";});_382(_375,tqp,function(_392){return "[@"+_392+"]";},function(_393){_38b+=_393;});}return _38b;};var _394={};var _395=function(path){if(_394[path]){return _394[path];}var doc=d.doc;var _398=_389(path);var tf=function(_39a){var ret=[];var _39c;try{_39c=doc.evaluate(_398,_39a,null,XPathResult.ANY_TYPE,null);}catch(e){console.debug("failure in exprssion:",_398,"under:",_39a);console.debug(e);}var _39d=_39c.iterateNext();while(_39d){ret.push(_39d);_39d=_39c.iterateNext();}return ret;};return _394[path]=tf;};var _39e={};var _39f={};var _3a0=function(_3a1,_3a2){if(!_3a1){return _3a2;}if(!_3a2){return _3a1;}return function(){return _3a1.apply(window,arguments)&&_3a2.apply(window,arguments);};};var _3a3=function(_3a4,_3a5,_3a6,idx){var nidx=idx+1;var _3a9=(_3a5.length==nidx);var tqp=_3a5[idx];if(tqp.oper==">"){var ecn=_3a4[_359];if(!ecn||!ecn.length){return;}nidx++;_3a9=(_3a5.length==nidx);var tf=_3ad(_3a5[idx+1]);for(var x=0,ecnl=ecn.length,te;x<ecnl,te=ecn[x];x++){if(tf(te)){if(_3a9){_3a6.push(te);}else{_3a3(te,_3a5,_3a6,nidx);}}}}var _3b1=_3b2(tqp)(_3a4);if(_3a9){while(_3b1.length){_3a6.push(_3b1.shift());}}else{while(_3b1.length){_3a3(_3b1.shift(),_3a5,_3a6,nidx);}}};var _3b3=function(_3b4,_3b5){var ret=[];var x=_3b4.length-1,te;while(te=_3b4[x--]){_3a3(te,_3b5,ret,0);}return ret;};var _3ad=function(q){if(_39e[q.query]){return _39e[q.query];}var ff=null;if(q.tag){if(q.tag=="*"){ff=_3a0(ff,function(elem){return (elem.nodeType==1);});}else{ff=_3a0(ff,function(elem){return ((elem.nodeType==1)&&(q.tag==elem.tagName.toLowerCase()));});}}if(q.id){ff=_3a0(ff,function(elem){return ((elem.nodeType==1)&&(elem.id==q.id));});}if(q.hasLoops){ff=_3a0(ff,_3be(q));}return _39e[q.query]=ff;};var _3bf=function(node){var pn=node.parentNode;var pnc=pn.childNodes;var nidx=-1;var _3c4=pn.firstChild;if(!_3c4){return nidx;}var ci=node["__cachedIndex"];var cl=pn["__cachedLength"];if(((typeof cl=="number")&&(cl!=pnc.length))||(typeof ci!="number")){pn["__cachedLength"]=pnc.length;var idx=1;do{if(_3c4===node){nidx=idx;}if(_3c4.nodeType==1){_3c4["__cachedIndex"]=idx;idx++;}_3c4=_3c4.nextSibling;}while(_3c4);}else{nidx=ci;}return nidx;};var _3c8=0;var _3c9="";var _3ca=function(elem,attr){if(attr=="class"){return elem.className||_3c9;}if(attr=="for"){return elem.htmlFor||_3c9;}return elem.getAttribute(attr,2)||_3c9;};var _3cd={"*=":function(attr,_3cf){return function(elem){return (_3ca(elem,attr).indexOf(_3cf)>=0);};},"^=":function(attr,_3d2){return function(elem){return (_3ca(elem,attr).indexOf(_3d2)==0);};},"$=":function(attr,_3d5){var tval=" "+_3d5;return function(elem){var ea=" "+_3ca(elem,attr);return (ea.lastIndexOf(_3d5)==(ea.length-_3d5.length));};},"~=":function(attr,_3da){var tval=" "+_3da+" ";return function(elem){var ea=" "+_3ca(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3df){var _3e0=" "+_3df+"-";return function(elem){var ea=" "+(elem.getAttribute(attr,2)||"");return ((ea==_3df)||(ea.indexOf(_3e0)==0));};},"=":function(attr,_3e4){return function(elem){return (_3ca(elem,attr)==_3e4);};}};var _3e6={"first-child":function(name,_3e8){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,_3ec){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,_3f0){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt==1)||(nt==3)){return false;}}return true;};},"not":function(name,_3f7){var ntf=_3ad(_35a(_3f7)[0]);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3fb){var pi=parseInt;if(_3fb=="odd"){return function(elem){return (((_3bf(elem))%2)==1);};}else{if((_3fb=="2n")||(_3fb=="even")){return function(elem){return ((_3bf(elem)%2)==0);};}else{if(_3fb.indexOf("0n+")==0){var _3ff=pi(_3fb.substr(3));return function(elem){return (elem.parentNode[_359][_3ff-1]===elem);};}else{if((_3fb.indexOf("n+")>0)&&(_3fb.length>3)){var _401=_3fb.split("n+",2);var pred=pi(_401[0]);var idx=pi(_401[1]);return function(elem){return ((_3bf(elem)%pred)==idx);};}else{if(_3fb.indexOf("n")==-1){var _3ff=pi(_3fb);return function(elem){return (_3bf(elem)==_3ff);};}}}}}}};var _406=(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 _3be=function(_40c){var _40d=(_39f[_40c.query]||_39e[_40c.query]);if(_40d){return _40d;}var ff=null;if(_40c.id){if(_40c.tag!="*"){ff=_3a0(ff,function(elem){return (elem.tagName.toLowerCase()==_40c.tag);});}}d.forEach(_40c.classes,function(_410,idx,arr){var _413=_410.charAt(_410.length-1)=="*";if(_413){_410=_410.substr(0,_410.length-1);}var re=new RegExp("(?:^|\\s)"+_410+(_413?".*":"")+"(?:\\s|$)");ff=_3a0(ff,function(elem){return re.test(elem.className);});ff.count=idx;});d.forEach(_40c.pseudos,function(_416){if(_3e6[_416.name]){ff=_3a0(ff,_3e6[_416.name](_416.name,_416.value));}});_382(_3cd,_40c,_406,function(_417){ff=_3a0(ff,_417);});if(!ff){ff=function(){return true;};}return _39f[_40c.query]=ff;};var _418={};var _3b2=function(_419,root){var fHit=_418[_419.query];if(fHit){return fHit;}if(_419.id&&!_419.hasLoops&&!_419.tag){return _418[_419.query]=function(root){return [d.byId(_419.id)];};}var _41d=_3be(_419);var _41e;if(_419.tag&&_419.id&&!_419.hasLoops){_41e=function(root){var te=d.byId(_419.id);if(_41d(te)){return [te];}};}else{var tret;if(!_419.hasLoops){_41e=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_419.tag);while(te=tret[x++]){ret.push(te);}return ret;};}else{_41e=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_419.tag);while(te=tret[x++]){if(_41d(te)){ret.push(te);}}return ret;};}}return _418[_419.query]=_41e;};var _42a={};var _42b={"*":d.isIE?function(root){return root.all;}:function(root){return root.getElementsByTagName("*");},">":function(root){var ret=[];var te,x=0,tret=root[_359];while(te=tret[x++]){if(te.nodeType==1){ret.push(te);}}return ret;}};var _433=function(_434){var _435=_35a(d.trim(_434));if(_435.length==1){var tt=_3b2(_435[0]);tt.nozip=true;return tt;}var sqf=function(root){var _439=_435.slice(0);var _43a;if(_439[0].oper==">"){_43a=[root];}else{_43a=_3b2(_439.shift())(root);}return _3b3(_43a,_439);};return sqf;};var _43b=((document["evaluate"]&&!d.isSafari)?function(_43c){var _43d=_43c.split(" ");if((document["evaluate"])&&(_43c.indexOf(":")==-1)&&((true))){if(((_43d.length>2)&&(_43c.indexOf(">")==-1))||(_43d.length>3)||(_43c.indexOf("[")>=0)||((1==_43d.length)&&(0<=_43c.indexOf(".")))){return _395(_43c);}}return _433(_43c);}:_433);var _43e=function(_43f){if(_42b[_43f]){return _42b[_43f];}if(0>_43f.indexOf(",")){return _42b[_43f]=_43b(_43f);}else{var _440=_43f.split(/\s*,\s*/);var tf=function(root){var _443=0;var ret=[];var tp;while(tp=_440[_443++]){ret=ret.concat(_43b(tp,tp.indexOf(" "))(root));}return ret;};return _42b[_43f]=tf;}};var _446=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;}_446++;arr[0]["_zipIdx"]=_446;for(var x=1,te;te=arr[x];x++){if(arr[x]["_zipIdx"]!=_446){ret.push(te);}te["_zipIdx"]=_446;}return ret;};d.query=function(_44c,root){if(_44c.constructor==d.NodeList){return _44c;}if(!d.isString(_44c)){return new d.NodeList(_44c);}if(d.isString(root)){root=d.byId(root);}return _zip(_43e(_44c)(root||d.doc));};d._filterQueryResult=function(_44e,_44f){var tnl=new d.NodeList();var ff=(_44f)?_3ad(_35a(_44f)[0]):function(){return true;};for(var x=0,te;te=_44e[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,_457){var val=obj[name];if(_d.isString(val)){obj[name]=[val,_457];}else{if(_d.isArray(val)){val.push(_457);}else{obj[name]=_457;}}};dojo.formToObject=function(_459){var ret={};var iq="input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]), select, textarea";_d.query(iq,_459).filter(function(node){return (!node.disabled);}).forEach(function(item){var _in=item.name;var type=(item.type||"").toLowerCase();if(type=="radio"||type=="checkbox"){if(item.checked){setValue(ret,_in,item.value);}}else{if(item.multiple){ret[_in]=[];_d.query("option",item).forEach(function(opt){if(opt.selected){setValue(ret,_in,opt.value);}});}else{setValue(ret,_in,item.value);if(type=="image"){ret[_in+".x"]=ret[_in+".y"]=ret[_in].x=ret[_in].y=0;}}}});return ret;};dojo.objectToQuery=function(map){var ec=encodeURIComponent;var ret="";var _464={};for(var x in map){if(map[x]!=_464[x]){if(_d.isArray(map[x])){for(var y=0;y<map[x].length;y++){ret+=ec(x)+"="+ec(map[x][y])+"&";}}else{ret+=ec(x)+"="+ec(map[x])+"&";}}}if(ret.length&&ret.charAt(ret.length-1)=="&"){ret=ret.substr(0,ret.length-1);}return ret;};dojo.formToQuery=function(_467){return _d.objectToQuery(_d.formToObject(_467));};dojo.formToJson=function(_468,_469){return _d.toJson(_d.formToObject(_468),_469);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dc=decodeURIComponent;_d.forEach(qp,function(item){if(item.length){var _46f=item.split("=");var name=dc(_46f.shift());var val=dc(_46f.join("="));if(_d.isString(ret[name])){ret[name]=[ret[name]];}if(_d.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}});return ret;};dojo._blockAsync=false;dojo._contentHandlers={"text":function(xhr){return xhr.responseText;},"json":function(xhr){if(!djConfig.usePlainJson){console.debug("Consider using mimetype:text/json-comment-filtered"+" to avoid potential security issues with JSON endpoints"+" (use djConfig.usePlainJson=true to turn off this message)");}return _d.fromJson(xhr.responseText);},"json-comment-filtered":function(xhr){var _475=xhr.responseText;var _476=_475.indexOf("/*");var _477=_475.lastIndexOf("*/");if(_476==-1||_477==-1){throw new Error("JSON was not comment filtered");}return _d.fromJson(_475.substring(_476+2,_477));},"javascript":function(xhr){return _d.eval(xhr.responseText);},"xml":function(xhr){if(_d.isIE&&!xhr.responseXML){_d.forEach(["MSXML2","Microsoft","MSXML","MSXML3"],function(i){try{var doc=new ActiveXObject(prefixes[i]+".XMLDOM");doc.async=false;doc.loadXML(xhr.responseText);return doc;}catch(e){}});}else{return xhr.responseXML;}}};dojo._contentHandlers["json-comment-optional"]=function(xhr){var _47d=_d._contentHandlers;try{return _47d["json-comment-filtered"](xhr);}catch(e){return _47d["json"](xhr);}};dojo._ioSetArgs=function(args,_47f,_480,_481){var _482={args:args,url:args.url};var _483=null;if(args.form){var form=_d.byId(args.form);var _485=form.getAttributeNode("action");_482.url=_482.url||(_485?_485.value:null);_483=_d.formToObject(form);}var _486=[{}];if(_483){_486.push(_483);}if(args.content){_486.push(args.content);}if(args.preventCache){_486.push({"dojo.preventCache":new Date().valueOf()});}_482.query=_d.objectToQuery(_d.mixin.apply(null,_486));_482.handleAs=args.handleAs||"text";var d=new _d.Deferred(_47f);d.addCallbacks(_480,function(_488){return _481(_488,d);});var ld=args.load;if(ld&&_d.isFunction(ld)){d.addCallback(function(_48a){return ld.call(args,_48a,_482);});}var err=args.error;if(err&&_d.isFunction(err)){d.addErrback(function(_48c){return err.call(args,_48c,_482);});}var _48d=args.handle;if(_48d&&_d.isFunction(_48d)){d.addBoth(function(_48e){return _48d.call(args,_48e,_482);});}d.ioArgs=_482;return d;};var _48f=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _at=(typeof xhr.abort);if((_at=="function")||(_at=="unknown")){xhr.abort();}var err=new Error("xhr cancelled");err.dojoType="cancel";return err;};var _494=function(dfd){return _d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);};var _496=function(_497,dfd){console.debug(_497);return _497;};var _499=function(args){var dfd=_d._ioSetArgs(args,_48f,_494,_496);dfd.ioArgs.xhr=_d._xhrObj(dfd.ioArgs.args);return dfd;};var _49c=null;var _49d=[];var _49e=function(){var now=(new Date()).getTime();if(!_d._blockAsync){for(var i=0,tif;(i<_49d.length)&&(tif=_49d[i]);i++){var dfd=tif.dfd;try{if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_49d.splice(i--,1);}else{if(tif.ioCheck(dfd)){_49d.splice(i--,1);tif.resHandle(dfd);}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_49d.splice(i--,1);var err=new Error("timeout exceeded");err.dojoType="timeout";dfd.errback(err);dfd.cancel();}}}}}catch(e){console.debug(e);dfd.errback(new Error("_watchInFlightError!"));}}}if(!_49d.length){clearInterval(_49c);_49c=null;return;}};dojo._ioCancelAll=function(){try{_d.forEach(_49d,function(i){i.dfd.cancel();});}catch(e){}};if(_d.isIE){_d.addOnUnload(_d._ioCancelAll);}_d._ioWatch=function(dfd,_4a6,_4a7,_4a8){if(dfd.ioArgs.args.timeout){dfd.startTime=(new Date()).getTime();}_49d.push({dfd:dfd,validCheck:_4a6,ioCheck:_4a7,resHandle:_4a8});if(!_49c){_49c=setInterval(_49e,50);}_49e();};var _4a9="application/x-www-form-urlencoded";var _4aa=function(dfd){return dfd.ioArgs.xhr.readyState;};var _4ac=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _4ae=function(dfd){if(_d._isDocumentOk(dfd.ioArgs.xhr)){dfd.callback(dfd);}else{dfd.errback(new Error("bad http response code:"+dfd.ioArgs.xhr.status));}};var _4b0=function(type,dfd){var _4b3=dfd.ioArgs;var args=_4b3.args;_4b3.xhr.open(type,_4b3.url,args.sync!==true,args.user||undefined,args.password||undefined);if(args.headers){for(var hdr in args.headers){if(hdr.toLowerCase()==="content-type"&&!args.contentType){args.contentType=args.headers[hdr];}else{_4b3.xhr.setRequestHeader(hdr,args.headers[hdr]);}}}_4b3.xhr.setRequestHeader("Content-Type",(args.contentType||_4a9));try{_4b3.xhr.send(_4b3.query);}catch(e){dfd.cancel();}_d._ioWatch(dfd,_4aa,_4ac,_4ae);return dfd;};dojo._ioAddQueryToUrl=function(_4b6){if(_4b6.query.length){_4b6.url+=(_4b6.url.indexOf("?")==-1?"?":"&")+_4b6.query;_4b6.query=null;}};dojo.xhrGet=function(args){var dfd=_499(args);_d._ioAddQueryToUrl(dfd.ioArgs);return _4b0("GET",dfd);};dojo.xhrPost=function(args){return _4b0("POST",_499(args));};dojo.rawXhrPost=function(args){var dfd=_499(args);dfd.ioArgs.query=args.postData;return _4b0("POST",dfd);};dojo.xhrPut=function(args){return _4b0("PUT",_499(args));};dojo.rawXhrPut=function(args){var dfd=_499(args);var _4bf=dfd.ioArgs;if(args["putData"]){_4bf.query=args.putData;args.putData=null;}return _4b0("PUT",dfd);};dojo.xhrDelete=function(args){var dfd=_499(args);_d._ioAddQueryToUrl(dfd.ioArgs);return _4b0("DELETE",dfd);};})();}if(!dojo._hasResource["dojo._base.fx"]){dojo._hasResource["dojo._base.fx"]=true;dojo.provide("dojo._base.fx");dojo._Line=function(_4c2,end){this.start=_4c2;this.end=end;this.getValue=function(n){return ((this.end-this.start)*n)+this.start;};};dojo.declare("dojo._Animation",null,{constructor:function(args){dojo.mixin(this,args);if(dojo.isArray(this.curve)){this.curve=new dojo._Line(this.curve[0],this.curve[1]);}},duration:1000,repeat:0,rate:10,_percent:0,_startRepeatCount:0,fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;},play:function(_4c8,_4c9){var _t=this;if(_4c9){_t._stopTimer();_t._active=_t._paused=false;_t._percent=0;}else{if(_t._active&&!_t._paused){return _t;}}_t.fire("beforeBegin");var d=_4c8||_t.delay;var _p=dojo.hitch(_t,"_play",_4c9);if(d>0){setTimeout(_p,d);return _t;}_p();return _t;},_play:function(_4cd){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 _4cf=_t.curve.getValue(_t._percent);if(!_t._percent){if(!_t._startRepeatCount){_t._startRepeatCount=_t.repeat;}_t.fire("onBegin",[_4cf]);}_t.fire("onPlay",[_4cf]);_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(_4d0,_4d1){this._stopTimer();this._active=this._paused=true;this._percent=_4d0*100;if(_4d1){this.play();}return this;},stop:function(_4d2){if(!this._timer){return;}this._stopTimer();if(_4d2){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(step<1){_t._startTimer();}else{_t._active=false;if(_t.repeat>0){_t.repeat--;_t.play(null,true);}else{if(_t.repeat==-1){_t.play(null,true);}else{if(_t._startRepeatCount){_t.repeat=_t._startRepeatCount;_t._startRepeatCount=0;}}}_t._percent=0;_t.fire("onEnd");}}return _t;}});(function(){var d=dojo;var ctr=0;var _4d8=[];var _4d9={run:function(){}};var _4da=null;dojo._Animation.prototype._startTimer=function(){if(!this._timer){this._timer=dojo.connect(_4d9,"run",this,"_cycle");ctr++;}if(!_4da){_4da=setInterval(dojo.hitch(_4d9,"run"),this.rate);}};dojo._Animation.prototype._stopTimer=function(){dojo.disconnect(this._timer);this._timer=null;ctr--;if(!ctr){clearInterval(_4da);_4da=null;}};var _4db=(d.isIE)?function(node){var ns=node.style;if(!ns.zoom.length&&d.style(node,"zoom")=="normal"){ns.zoom="1";}if(!ns.width.length&&d.style(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=d.byId(args.node);var _4df=d.mixin({properties:{}},args);var _4e0=(_4df.properties.opacity={});_4e0.start=!("start" in _4df)?function(){return Number(d.style(_4df.node,"opacity"));}:_4df.start;_4e0.end=_4df.end;var anim=d.animateProperty(_4df);d.connect(anim,"beforeBegin",d.partial(_4db,_4df.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 _4e5=function(_4e6){this._properties=_4e6;for(var p in _4e6){var prop=_4e6[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 _4ed=prop.start;if(_4ed instanceof d.Color){ret[p]=d.blendColors(_4ed,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_4ed)){ret[p]=((prop.end-_4ed)*r)+_4ed+(p!="opacity"?prop.units||"px":"");}}}return ret;};};dojo.animateProperty=function(args){args.node=d.byId(args.node);if(!args.easing){args.easing=d._defaultEasing;}var anim=new d._Animation(args);d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){var prop=(pm[p]=d.mixin({},this.properties[p]));if(d.isFunction(prop.start)){prop.start=prop.start();}if(d.isFunction(prop.end)){prop.end=prop.end();}var _4f3=(p.toLowerCase().indexOf("color")>=0);function getStyle(node,p){var v=({height:node.offsetHeight,width:node.offsetWidth})[p];if(v!==undefined){return v;}v=d.style(node,p);return (p=="opacity")?Number(v):parseFloat(v);};if(!("end" in prop)){prop.end=getStyle(this.node,p);}else{if(!("start" in prop)){prop.start=getStyle(this.node,p);}}if(_4f3){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 _4e5(pm);});d.connect(anim,"onAnimate",anim,function(_4f7){for(var s in _4f7){d.style(this.node,s,_4f7[s]);}});return anim;};})();}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_4f9,_4fa,_4fb){_4fb=dojo.i18n.normalizeLocale(_4fb);var _4fc=_4fb.split("-");var _4fd=[_4f9,"nls",_4fa].join(".");var _4fe=dojo._loadedModules[_4fd];if(_4fe){var _4ff;for(var i=_4fc.length;i>0;i--){var loc=_4fc.slice(0,i).join("_");if(_4fe[loc]){_4ff=_4fe[loc];break;}}if(!_4ff){_4ff=_4fe.ROOT;}if(_4ff){var _502=function(){};_502.prototype=_4ff;return new _502();}}throw new Error("Bundle not found: "+_4fa+" in "+_4f9+" , locale="+_4fb);};dojo.i18n.normalizeLocale=function(_503){var _504=_503?_503.toLowerCase():dojo.locale;if(_504=="root"){_504="ROOT";}return _504;};dojo.i18n._requireLocalization=function(_505,_506,_507,_508){var _509=dojo.i18n.normalizeLocale(_507);var _50a=[_505,"nls",_506].join(".");var _50b="";if(_508){var _50c=_508.split(",");for(var i=0;i<_50c.length;i++){if(_509.indexOf(_50c[i])==0){if(_50c[i].length>_50b.length){_50b=_50c[i];}}}if(!_50b){_50b="ROOT";}}var _50e=_508?_50b:_509;var _50f=dojo._loadedModules[_50a];var _510=null;if(_50f){if(djConfig.localizationComplete&&_50f._built){return;}var _511=_50e.replace(/-/g,"_");var _512=_50a+"."+_511;_510=dojo._loadedModules[_512];}if(!_510){_50f=dojo["provide"](_50a);var syms=dojo._getModuleSymbols(_505);var _514=syms.concat("nls").join("/");var _515;dojo.i18n._searchLocalePath(_50e,_508,function(loc){var _517=loc.replace(/-/g,"_");var _518=_50a+"."+_517;var _519=false;if(!dojo._loadedModules[_518]){dojo["provide"](_518);var _51a=[_514];if(loc!="ROOT"){_51a.push(loc);}_51a.push(_506);var _51b=_51a.join("/")+".js";_519=dojo._loadPath(_51b,null,function(hash){var _51d=function(){};_51d.prototype=_515;_50f[_517]=new _51d();for(var j in hash){_50f[_517][j]=hash[j];}});}else{_519=true;}if(_519&&_50f[_517]){_515=_50f[_517];}else{_50f[_517]=_515;}if(_508){return true;}});}if(_508&&_509!=_50b){_50f[_509.replace(/-/g,"_")]=_50f[_50b.replace(/-/g,"_")];}};(function(){var _51f=djConfig.extraLocale;if(_51f){if(!_51f instanceof Array){_51f=[_51f];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_523,_524){req(m,b,_523,_524);if(_523){return;}for(var i=0;i<_51f.length;i++){req(m,b,_51f[i],_524);}};}})();dojo.i18n._searchLocalePath=function(_526,down,_528){_526=dojo.i18n.normalizeLocale(_526);var _529=_526.split("-");var _52a=[];for(var i=_529.length;i>0;i--){_52a.push(_529.slice(0,i).join("-"));}_52a.push(false);if(down){_52a.reverse();}for(var j=_52a.length-1;j>=0;j--){var loc=_52a[j]||"ROOT";var stop=_528(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_52f,_530){function preload(_531){_531=dojo.i18n.normalizeLocale(_531);dojo.i18n._searchLocalePath(_531,true,function(loc){for(var i=0;i<_530.length;i++){if(_530[i]==loc){dojo["require"](_52f+"_"+loc);return true;}}return false;});};preload();var _534=djConfig.extraLocale||[];for(var i=0;i<_534.length;i++){preload(_534[i]);}};}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(name,_537,_538){var c=document.cookie;if(arguments.length==1){var idx=c.lastIndexOf(name+"=");if(idx==-1){return null;}var _53b=idx+name.length+1;var end=c.indexOf(";",idx+name.length+1);if(end==-1){end=c.length;}return decodeURIComponent(c.substring(_53b,end));}else{_538=_538||{};_537=encodeURIComponent(_537);if(typeof (_538.expires)=="number"){var d=new Date();d.setTime(d.getTime()+(_538.expires*24*60*60*1000));_538.expires=d;}document.cookie=name+"="+_537+(_538.expires?"; expires="+_538.expires.toUTCString():"")+(_538.path?"; path="+_538.path:"")+(_538.domain?"; domain="+_538.domain:"")+(_538.secure?"; secure":"");return null;}};}if(!dojo._hasResource["dojo.back"]){dojo._hasResource["dojo.back"]=true;dojo.provide("dojo.back");(function(){var back=dojo.back;function getHash(){var h=window.location.hash;if(h.charAt(0)=="#"){h=h.substring(1);}return dojo.isMozilla?h:decodeURIComponent(h);};function setHash(h){if(!h){h="";}window.location.hash=encodeURIComponent(h);_541=history.length;};if(dojo.exists("tests.back-hash")){back.getHash=getHash;back.setHash=setHash;}var _542=(typeof (window)!=="undefined")?window.location.href:"";var _543=(typeof (window)!=="undefined")?getHash():"";var _544=null;var _545=null;var _546=null;var _547=null;var _548=[];var _549=[];var _54a=false;var _54b=false;var _541;function handleBackButton(){var _54c=_549.pop();if(!_54c){return;}var last=_549[_549.length-1];if(!last&&_549.length==0){last=_544;}if(last){if(last.kwArgs["back"]){last.kwArgs["back"]();}else{if(last.kwArgs["backButton"]){last.kwArgs["backButton"]();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("back");}}}}_548.push(_54c);};back.goBack=handleBackButton;function handleForwardButton(){var last=_548.pop();if(!last){return;}if(last.kwArgs["forward"]){last.kwArgs.forward();}else{if(last.kwArgs["forwardButton"]){last.kwArgs.forwardButton();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("forward");}}}_549.push(last);};back.goForward=handleForwardButton;function createState(url,args,hash){return {"url":url,"kwArgs":args,"urlHash":hash};};function getUrlQuery(url){var _553=url.split("?");if(_553.length<2){return null;}else{return _553[1];}};function loadIframeHistory(){var url=(djConfig["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html"))+"?"+(new Date()).getTime();_54a=true;if(_547){(dojo.isSafari)?_547.location=url:window.frames[_547.name].location=url;}else{}return url;};function checkLocation(){if(!_54b){var hsl=_549.length;var hash=getHash();if((hash===_543||window.location.href==_542)&&(hsl==1)){handleBackButton();return;}if(_548.length>0){if(_548[_548.length-1].urlHash===hash){handleForwardButton();return;}}if((hsl>=2)&&(_549[hsl-2])){if(_549[hsl-2].urlHash===hash){handleBackButton();return;}}if(dojo.isSafari&&dojo.isSafari<3){var _557=history.length;if(_557>_541){handleForwardButton();}else{if(_557<_541){handleBackButton();}}_541=_557;}}};back.init=function(){if(dojo.byId("dj_history")){return;}var src=djConfig["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html");document.write("<iframe style=\"border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;\" name=\"dj_history\" id=\"dj_history\" src=\""+src+"\"></iframe>");};back.setInitialState=function(args){_544=createState(_542,args,_543);};back.addToHistory=function(args){_548=[];var hash=null;var url=null;if(!_547){if(djConfig["useXDomain"]&&!djConfig["dojoIframeHistoryUrl"]){console.debug("dojo.back: When using cross-domain Dojo builds,"+" please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"+" to the path on your domain to iframe_history.html");}_547=window.frames["dj_history"];}if(!_546){_546=document.createElement("a");dojo.body().appendChild(_546);_546.style.display="none";}if(args["changeUrl"]){hash=""+((args["changeUrl"]!==true)?args["changeUrl"]:(new Date()).getTime());if(_549.length==0&&_544.urlHash==hash){_544=createState(url,args,hash);return;}else{if(_549.length>0&&_549[_549.length-1].urlHash==hash){_549[_549.length-1]=createState(url,args,hash);return;}}_54b=true;setTimeout(function(){setHash(hash);_54b=false;},1);_546.href=hash;if(dojo.isIE){url=loadIframeHistory();var _55d=args["back"]||args["backButton"]||args["handle"];var tcb=function(_55f){if(getHash()!=""){setTimeout(function(){setHash(hash);},1);}_55d.apply(this,[_55f]);};if(args["back"]){args.back=tcb;}else{if(args["backButton"]){args.backButton=tcb;}else{if(args["handle"]){args.handle=tcb;}}}var _560=args["forward"]||args["forwardButton"]||args["handle"];var tfw=function(_562){if(getHash()!=""){setHash(hash);}if(_560){_560.apply(this,[_562]);}};if(args["forward"]){args.forward=tfw;}else{if(args["forwardButton"]){args.forwardButton=tfw;}else{if(args["handle"]){args.handle=tfw;}}}}else{if(!dojo.isIE){if(!_545){_545=setInterval(checkLocation,200);}}}}else{url=loadIframeHistory();}_549.push(createState(url,args,hash));};back._iframeLoaded=function(evt,_564){var _565=getUrlQuery(_564.href);if(_565==null){if(_549.length==1){handleBackButton();}return;}if(_54a){_54a=false;return;}if(_549.length>=2&&_565==getUrlQuery(_549[_549.length-2].url)){handleBackButton();}else{if(_548.length>0&&_565==getUrlQuery(_548[_548.length-1].url)){handleForwardButton();}}};})();}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");dojo.provide("dojo.fx.Toggler");dojo.fx.chain=function(_566){var _567=_566.shift();var _568=_567;dojo.forEach(_566,function(_569){dojo.connect(_568,"onEnd",_569,"play");_568=_569;});return _567;};dojo.fx.combine=function(_56a){var ctr=new dojo._Animation({curve:[0,1]});if(!_56a.length){return ctr;}ctr.duration=_56a[0].duration;dojo.forEach(_56a,function(_56c){dojo.forEach(["play","pause","stop"],function(e){if(_56c[e]){dojo.connect(ctr,e,_56c,e);}});});return ctr;};dojo.declare("dojo.fx.Toggler",null,{constructor:function(args){var _t=this;dojo.mixin(_t,args);_t.node=args.node;_t._showArgs=dojo.mixin({},args);_t._showArgs.node=_t.node;_t._showArgs.duration=_t.showDuration;_t.showAnim=_t.showFunc(_t._showArgs);_t._hideArgs=dojo.mixin({},args);_t._hideArgs.node=_t.node;_t._hideArgs.duration=_t.hideDuration;_t.hideAnim=_t.hideFunc(_t._hideArgs);dojo.connect(_t.showAnim,"beforeBegin",dojo.hitch(_t.hideAnim,"stop",true));dojo.connect(_t.hideAnim,"beforeBegin",dojo.hitch(_t.showAnim,"stop",true));},node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,show:function(_570){return this.showAnim.play(_570||0);},hide:function(_571){return this.hideAnim.play(_571||0);}});dojo.fx.wipeIn=function(args){args.node=dojo.byId(args.node);var node=args.node,s=node.style;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{start:function(){s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _576=dojo.style(node,"height");return Math.max(_576,1);}},end:function(){return node.scrollHeight;}}}},args));dojo.connect(anim,"onEnd",function(){s.height="auto";});return anim;};dojo.fx.wipeOut=function(args){var node=args.node=dojo.byId(args.node);var s=node.style;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{end:1}}},args));dojo.connect(anim,"beforeBegin",function(){s.overflow="hidden";s.display="";});dojo.connect(anim,"onEnd",function(){s.height="auto";s.display="none";});return anim;};dojo.fx.slideTo=function(args){var node=(args.node=dojo.byId(args.node));var top=null;var left=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=dojo.animateProperty(dojo.mixin({properties:{top:{end:args.top||0},left:{end:args.left||0}}},args));dojo.connect(anim,"beforeBegin",anim,init);return anim;};}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_585,_586){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _587=dojo.date.stamp._isoRegExp.exec(_585);var _588=null;if(_587){_587.shift();_587[1]&&_587[1]--;_587[6]&&(_587[6]*=1000);if(_586){_586=new Date(_586);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _586["get"+prop]();}).forEach(function(_58a,_58b){if(_587[_58b]===undefined){_587[_58b]=_58a;}});}_588=new Date(_587[0]||1970,_587[1]||0,_587[2]||0,_587[3]||0,_587[4]||0,_587[5]||0,_587[6]||0);var _58c=0;var _58d=_587[7]&&_587[7].charAt(0);if(_58d!="Z"){_58c=((_587[8]||0)*60)+(Number(_587[9])||0);if(_58d!="-"){_58c*=-1;}}if(_58d){_58c-=_588.getTimezoneOffset();}if(_58c){_588.setTime(_588.getTime()+_58c*60000);}}return _588;};dojo.date.stamp.toISOString=function(_58e,_58f){var _=function(n){return (n<10)?"0"+n:n;};_58f=_58f||{};var _592=[];var _593=_58f.zulu?"getUTC":"get";var date="";if(_58f.selector!="time"){date=[_58e[_593+"FullYear"](),_(_58e[_593+"Month"]()+1),_(_58e[_593+"Date"]())].join("-");}_592.push(date);if(_58f.selector!="date"){var time=[_(_58e[_593+"Hours"]()),_(_58e[_593+"Minutes"]()),_(_58e[_593+"Seconds"]())].join(":");var _596=_58e[_593+"Milliseconds"]();if(_58f.milliseconds){time+="."+(_596<100?"0":"")+_(_596);}if(_58f.zulu){time+="Z";}else{if(_58f.selector!="time"){var _597=_58e.getTimezoneOffset();var _598=Math.abs(_597);time+=(_597>0?"-":"+")+_(Math.floor(_598/60))+":"+_(_598%60);}}_592.push(time);}return _592.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;function val2type(_59a){if(d.isString(_59a)){return "string";}if(typeof _59a=="number"){return "number";}if(typeof _59a=="boolean"){return "boolean";}if(d.isFunction(_59a)){return "function";}if(d.isArray(_59a)){return "array";}if(_59a instanceof Date){return "date";}if(_59a instanceof d._Url){return "url";}return "object";};function str2obj(_59b,type){switch(type){case "string":return _59b;case "number":return _59b.length?Number(_59b):NaN;case "boolean":return typeof _59b=="boolean"?_59b:!(_59b.toLowerCase()=="false");case "function":if(d.isFunction(_59b)){_59b=_59b.toString();_59b=d.trim(_59b.substring(_59b.indexOf("{")+1,_59b.length-1));}try{if(_59b.search(/[^\w\.]+/i)!=-1){_59b=d.parser._nameAnonFunc(new Function(_59b),this);}return d.getObject(_59b,false);}catch(e){return new Function();}case "array":return _59b.split(/\s*,\s*/);case "date":switch(_59b){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_59b);}case "url":return d.baseUrl+_59b;default:return d.fromJson(_59b);}};var _59d={};function getClassInfo(_59e){if(!_59d[_59e]){var cls=d.getObject(_59e);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_59e+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _5a0=cls.prototype;var _5a1={};for(var name in _5a0){if(name.charAt(0)=="_"){continue;}var _5a3=_5a0[name];_5a1[name]=val2type(_5a3);}_59d[_59e]={cls:cls,params:_5a1};}return _59d[_59e];};this._functionFromScript=function(_5a4){var _5a5="";var _5a6="";var _5a7=_5a4.getAttribute("args");if(_5a7){d.forEach(_5a7.split(/\s*,\s*/),function(part,idx){_5a5+="var "+part+" = arguments["+idx+"]; ";});}var _5aa=_5a4.getAttribute("with");if(_5aa&&_5aa.length){d.forEach(_5aa.split(/\s*,\s*/),function(part){_5a5+="with("+part+"){";_5a6+="}";});}return new Function(_5a5+_5a4.innerHTML+_5a6);};this.instantiate=function(_5ac){var _5ad=[];d.forEach(_5ac,function(node){if(!node){return;}var type=node.getAttribute("dojoType");if((!type)||(!type.length)){return;}var _5b0=getClassInfo(type);var _5b1=_5b0.cls;var ps=_5b1._noScript||_5b1.prototype._noScript;var _5b3={};var _5b4=node.attributes;for(var name in _5b0.params){var item=_5b4.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _5b7=item.value;switch(name){case "class":_5b7=node.className;break;case "style":_5b7=node.style&&node.style.cssText;}var _5b8=_5b0.params[name];_5b3[name]=str2obj(_5b7,_5b8);}if(!ps){var _5b9=[],_5ba=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_5bb){var _5bc=_5bb.getAttribute("event"),type=_5bb.getAttribute("type"),nf=d.parser._functionFromScript(_5bb);if(_5bc){if(type=="dojo/connect"){_5b9.push({event:_5bc,func:nf});}else{_5b3[_5bc]=nf;}}else{_5ba.push(nf);}});}var _5be=_5b1["markupFactory"];if(!_5be&&_5b1["prototype"]){_5be=_5b1.prototype["markupFactory"];}var _5bf=_5be?_5be(_5b3,node,_5b1):new _5b1(_5b3,node);_5ad.push(_5bf);var _5c0=node.getAttribute("jsId");if(_5c0){d.setObject(_5c0,_5bf);}if(!ps){dojo.forEach(_5b9,function(_5c1){dojo.connect(_5bf,_5c1.event,null,_5c1.func);});dojo.forEach(_5ba,function(func){func.call(_5bf);});}});d.forEach(_5ad,function(_5c3){if(_5c3&&(_5c3.startup)&&((!_5c3.getParent)||(!_5c3.getParent()))){_5c3.startup();}});return _5ad;};this.parse=function(_5c4){var list=d.query("[dojoType]",_5c4);var _5c6=this.instantiate(list);return _5c6;};}();(function(){var _5c7=function(){if(djConfig["parseOnLoad"]==true){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_5c7);}else{dojo._loaders.unshift(_5c7);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_5c8,_5c9){var jpn="$joinpoint";var nso=(_5c9||dojo.parser._anon);if(dojo.isIE){var cn=_5c8["__dojoNameCache"];if(cn&&nso[cn]===_5c8){return _5c8["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_5c8;return ret;};}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._copyKey=navigator.appVersion.indexOf("Macintosh")<0?"ctrlKey":"metaKey";dojo.dnd.getCopyKeyState=function(e){return e[dojo.dnd._copyKey];};dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id="dojoUnique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.dnd.getViewport=function(){var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();if(dojo.isMozilla){return {w:dd.clientWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&w.innerWidth){return {w:w.innerWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&dd&&dd.clientWidth){return {w:dd.clientWidth,h:dd.clientHeight};}else{if(b.clientWidth){return {w:b.clientWidth,h:b.clientHeight};}}}}return null;};dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.dnd.getViewport(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo._abs(n,true);console.debug(b.l,b.t,t.x,t.y,n.scrollLeft,n.scrollTop);b.l+=t.x+n.scrollLeft;b.t+=t.y+n.scrollTop;var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-b.l,ry=e.pageY-b.t,dx=0,dy=0;if(rx>0&&rx<b.w){if(rx<w){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(rx>b.w-w){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(ry>b.h-h){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}}var _5e5=n.scrollLeft,_5e6=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(dx||dy){console.debug(_5e5+", "+_5e6+"\n"+dx+", "+dy+"\n"+n.scrollLeft+", "+n.scrollTop);}if(_5e5!=n.scrollLeft||_5e6!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(node,e,host){this.node=dojo.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=this.host=host,d=node.ownerDocument,_5ec=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo,"stopEvent"),dojo.connect(d,"onselectstart",dojo,"stopEvent"),_5ec];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});},onMouseUp:function(e){if(this.mouseButton==e.button){this.destroy();}},onFirstMove:function(){this.node.style.position="absolute";var m=dojo.marginBox(this.node);m.l-=this.marginBox.l;m.t-=this.marginBox.t;this.marginBox=m;this.host.onFirstMove(this);dojo.disconnect(this.events.pop());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=null;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(node,_5f3){this.node=dojo.byId(node);if(!_5f3){_5f3={};}this.handle=_5f3.handle?dojo.byId(_5f3.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_5f3.delay>0?_5f3.delay:0;this.skip=_5f3.skip;this.mover=_5f3.mover?_5f3.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.node,"ondragstart",this,"onSelectStart"),dojo.connect(this.node,"onselectstart",this,"onSelectStart")];},markupFactory:function(_5f4,node){return new dojo.dnd.Moveable(node,_5f4);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"));this.events.push(dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{new this.mover(this.node,e,this);}dojo.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);new this.mover(this.node,e,this);}dojo.stopEvent(e);},onMouseUp:function(e){dojo.disconnect(this.events.pop());dojo.disconnect(this.events.pop());},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onMoveStart:function(_5fa){dojo.publish("/dnd/move/start",[_5fa]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_5fb){dojo.publish("/dnd/move/stop",[_5fb]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_5fc){},onMove:function(_5fd,_5fe){this.onMoving(_5fd,_5fe);dojo.marginBox(_5fd.node,_5fe);this.onMoved(_5fd,_5fe);},onMoving:function(_5ff,_600){},onMoved:function(_601,_602){}});}if(!dojo._hasResource["dojo.dnd.move"]){dojo._hasResource["dojo.dnd.move"]=true;dojo.provide("dojo.dnd.move");dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,markupFactory:function(_603,node){return new dojo.dnd.move.constrainedMoveable(node,_603);},constructor:function(node,_606){if(!_606){_606={};}this.constraints=_606.constraints;this.within=_606.within;},onFirstMove:function(_607){var c=this.constraintBox=this.constraints.call(this,_607),m=_607.marginBox;c.r=c.l+c.w-(this.within?m.w:0);c.b=c.t+c.h-(this.within?m.h:0);},onMove:function(_60a,_60b){var c=this.constraintBox;_60b.l=_60b.l<c.l?c.l:c.r<_60b.l?c.r:_60b.l;_60b.t=_60b.t<c.t?c.t:c.b<_60b.t?c.b:_60b.t;dojo.marginBox(_60a.node,_60b);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_60d,node){return new dojo.dnd.move.boxConstrainedMoveable(node,_60d);},constructor:function(node,_610){var box=_610&&_610.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_612,node){return new dojo.dnd.move.parentConstrainedMoveable(node,_612);},constructor:function(node,_615){var area=_615&&_615.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.move.constrainedMover=function(fun,_61c){var _61d=function(node,e,_620){dojo.dnd.Mover.call(this,node,e,_620);};dojo.extend(_61d,dojo.dnd.Mover.prototype);dojo.extend(_61d,{onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox,c=this.constraintBox,l=m.l+e.pageX,t=m.t+e.pageY;l=l<c.l?c.l:c.r<l?c.r:l;t=t<c.t?c.t:c.b<t?c.b:t;this.host.onMove(this,{l:l,t:t});},onFirstMove:function(){dojo.dnd.Mover.prototype.onFirstMove.call(this);var c=this.constraintBox=fun.call(this),m=this.marginBox;c.r=c.l+c.w-(_61c?m.w:0);c.b=c.t+c.h-(_61c?m.h:0);}});return _61d;};dojo.dnd.move.boxConstrainedMover=function(box,_629){return dojo.dnd.move.constrainedMover(function(){return box;},_629);};dojo.dnd.move.parentConstrainedMover=function(area,_62b){var fun=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};return dojo.dnd.move.constrainedMover(fun,_62b);};dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _631=dojo.global;var _632=dojo.doc;if(_632.selection){return !_632.selection.createRange().text;}else{if(_631.getSelection){var _633=_631.getSelection();if(dojo.isString(_633)){return !_633;}else{return _633.isCollapsed||!_633.toString();}}}},getBookmark:function(){var _634,_635=dojo.doc.selection;if(_635){var _636=_635.createRange();if(_635.type.toUpperCase()=="CONTROL"){_634=_636.length?dojo._toArray(_636):null;}else{_634=_636.getBookmark();}}else{if(dojo.global.getSelection){_635=dojo.global.getSelection();if(_635){var _636=_635.getRangeAt(0);_634=_636.cloneRange();}}else{console.debug("No idea how to store the current selection for this browser!");}}return _634;},moveToBookmark:function(_637){var _638=dojo.doc;if(_638.selection){var _639;if(dojo.isArray(_637)){_639=_638.body.createControlRange();dojo.forEach(_637,_639.addElement);}else{_639=_638.selection.createRange();_639.moveToBookmark(_637);}_639.select();}else{var _63a=dojo.global.getSelection&&dojo.global.getSelection();if(_63a&&_63a.removeAllRanges){_63a.removeAllRanges();_63a.addRange(_637);}else{console.debug("No idea how to restore selection for this browser!");}}},getFocus:function(menu,_63c){return {node:menu&&dojo.isDescendant(dijit._curFocus,menu.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_63c||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_63c||dojo.global,dijit.getBookmark):null,openedForWindow:_63c};},focus:function(_63d){if(!_63d){return;}var node="node" in _63d?_63d.node:_63d,_63f=_63d.bookmark,_640=_63d.openedForWindow;if(node){var _641=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_641&&_641.focus){try{_641.focus();}catch(e){}}dijit._onFocusNode(node);}if(_63f&&dojo.withGlobal(_640||dojo.global,dijit.isCollapsed)){if(_640){_640.focus();}try{dojo.withGlobal(_640||dojo.global,moveToBookmark,null,[_63f]);}catch(e){}}},_activeStack:[],registerWin:function(_642){if(!_642){_642=window;}dojo.connect(_642.document,"onmousedown",null,function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var body=_642.document.body||_642.document.getElementsByTagName("body")[0];if(body){if(dojo.isIE){body.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="body"){dijit._onFocusNode(evt.srcElement);}});body.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{body.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);body.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}body=null;},_onBlurNode:function(node){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;var w=dijit.getEnclosingWidget(node);if(w&&w._setStateClass){w._focused=false;w._setStateClass();}if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);},100);},_onTouchNode:function(node){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _64c=[];try{while(node){if(node.dijitPopupParent){node=dijit.byId(node.dijitPopupParent).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===dojo.body()){break;}node=dojo.query("iframe").filter(function(_64d){return _64d.contentDocument.body===node;})[0];}else{var id=node.getAttribute&&node.getAttribute("widgetId");if(id){_64c.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_64c);},_onFocusNode:function(node){if(node&&node.tagName&&node.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(node);if(node==dijit._curFocus){return;}dijit._prevFocus=dijit._curFocus;dijit._curFocus=node;dojo.publish("focusNode",[node]);var w=dijit.getEnclosingWidget(node);if(w&&w._setStateClass){w._focused=true;w._setStateClass();}},_setStack:function(_651){var _652=dijit._activeStack;dijit._activeStack=_651;for(var _653=0;_653<Math.min(_652.length,_651.length);_653++){if(_652[_653]!=_651[_653]){break;}}for(var i=_652.length-1;i>=_653;i--){var _655=dijit.byId(_652[i]);if(_655){dojo.publish("widgetBlur",[_655]);if(_655._onBlur){_655._onBlur();}}}for(var i=_653;i<_651.length;i++){var _655=dijit.byId(_651[i]);if(_655){dojo.publish("widgetFocus",[_655]);if(_655._onFocus){_655._onFocus();}}}}});dojo.addOnLoad(dijit.registerWin);}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_656){if(this._hash[_656.id]){throw new Error("Tried to register widget with id=="+_656.id+" but that id is already registered");}this._hash[_656.id]=_656;},remove:function(id){delete this._hash[id];},forEach:function(func){for(var id in this._hash){func(this._hash[id]);}},filter:function(_65a){var res=new dijit.WidgetSet();this.forEach(function(_65c){if(_65a(_65c)){res.add(_65c);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_65f){return _65f.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_660){var id;do{id=_660+"_"+(dijit._widgetTypeCtr[_660]!==undefined?++dijit._widgetTypeCtr[_660]:dijit._widgetTypeCtr[_660]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnUnload(function(){dijit.registry.forEach(function(_662){_662.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(node){return dijit.registry.byId(node.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(node){while(node){if(node.getAttribute&&node.getAttribute("widgetId")){return dijit.registry.byId(node.getAttribute("widgetId"));}node=node.parentNode;}return null;};}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _666=dojo.global;var _667=dojo.doc;var w=0,h=0;if(dojo.isMozilla){var minw,minh,maxw,maxh;if(_667.body.clientWidth>_667.documentElement.clientWidth){minw=_667.documentElement.clientWidth;maxw=_667.body.clientWidth;}else{maxw=_667.documentElement.clientWidth;minw=_667.body.clientWidth;}if(_667.body.clientHeight>_667.documentElement.clientHeight){minh=_667.documentElement.clientHeight;maxh=_667.body.clientHeight;}else{maxh=_667.documentElement.clientHeight;minh=_667.body.clientHeight;}w=(maxw>_666.innerWidth)?minw:maxw;h=(maxh>_666.innerHeight)?minh:maxh;}else{if(!dojo.isOpera&&_666.innerWidth){w=_666.innerWidth;h=_666.innerHeight;}else{if(dojo.isIE&&_667.documentElement&&_667.documentElement.clientHeight){w=_667.documentElement.clientWidth;h=_667.documentElement.clientHeight;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _66e=dojo._docScroll();return {w:w,h:h,l:_66e.x,t:_66e.y};};dijit.placeOnScreen=function(node,pos,_671,_672){var _673=dojo.map(_671,function(_674){return {corner:_674,pos:pos};});return dijit._place(node,_673);};dijit._place=function(node,_676,_677){var view=dijit.getViewport();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;for(var i=0;i<_676.length;i++){var _67b=_676[i].corner;var pos=_676[i].pos;if(_677){_677(_67b);}var _67d=node.style.display;var _67e=node.style.visibility;node.style.visibility="hidden";node.style.display="";var mb=dojo.marginBox(node);node.style.display=_67d;node.style.visibility=_67e;var _680=(_67b.charAt(1)=="L"?pos.x:Math.max(view.l,pos.x-mb.w)),_681=(_67b.charAt(0)=="T"?pos.y:Math.max(view.t,pos.y-mb.h)),endX=(_67b.charAt(1)=="L"?Math.min(view.l+view.w,_680+mb.w):pos.x),endY=(_67b.charAt(0)=="T"?Math.min(view.t+view.h,_681+mb.h):pos.y),_684=endX-_680,_685=endY-_681,_686=(mb.w-_684)+(mb.h-_685);if(best==null||_686<best.overflow){best={corner:_67b,aroundCorner:_676[i].aroundCorner,x:_680,y:_681,w:_684,h:_685,overflow:_686};}if(_686==0){break;}}node.style.left=best.x+"px";node.style.top=best.y+"px";return best;};dijit.placeOnScreenAroundElement=function(node,_688,_689,_68a){_688=dojo.byId(_688);var _68b=_688.style.display;_688.style.display="";var _68c=_688.offsetWidth;var _68d=_688.offsetHeight;var _68e=dojo.coords(_688,true);_688.style.display=_68b;var _68f=[];for(var _690 in _689){_68f.push({aroundCorner:_690,corner:_689[_690],pos:{x:_68e.x+(_690.charAt(1)=="L"?0:_68c),y:_68e.y+(_690.charAt(0)=="T"?0:_68d)}});}return dijit._place(node,_68f,_68a);};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){if(dojo.isSafari&&!doc._parentWindow){var fix=function(win){win.document._parentWindow=win;for(var i=0;i<win.frames.length;i++){fix(win.frames[i]);}};fix(window.top);}if(dojo.isIE&&window!==document.parentWindow&&!doc._parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc._parentWindow||doc.parentWindow||doc.defaultView;};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup=new function(){var _696=[],_697=1000,_698=1;this.open=function(args){var _69a=args.popup,_69b=args.orient||{"BL":"TL","TL":"BL"},_69c=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+_698++);var _69e=dojo.doc.createElement("div");_69e.id=id;_69e.className="dijitPopup";_69e.style.zIndex=_697+_696.length;_69e.style.visibility="hidden";if(args.parent){_69e.dijitPopupParent=args.parent.id;}dojo.body().appendChild(_69e);_69a.domNode.style.display="";_69e.appendChild(_69a.domNode);var _69f=new dijit.BackgroundIframe(_69e);var best=_69c?dijit.placeOnScreenAroundElement(_69e,_69c,_69b,_69a.orient?dojo.hitch(_69a,"orient"):null):dijit.placeOnScreen(_69e,args,_69b=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_69e.style.visibility="visible";var _6a1=[];function getTopPopup(){for(var pi=_696.length-1;pi>0&&_696[pi].parent===_696[pi-1].widget;pi--){}return _696[pi];};_6a1.push(dojo.connect(_69e,"onkeypress",this,function(evt){if(evt.keyCode==dojo.keys.ESCAPE&&args.onCancel){args.onCancel();}else{if(evt.keyCode==dojo.keys.TAB){dojo.stopEvent(evt);var _6a4=getTopPopup();if(_6a4&&_6a4.onCancel){_6a4.onCancel();}}}}));if(_69a.onCancel){_6a1.push(dojo.connect(_69a,"onCancel",null,args.onCancel));}_6a1.push(dojo.connect(_69a,_69a.onExecute?"onExecute":"onChange",null,function(){var _6a5=getTopPopup();if(_6a5&&_6a5.onExecute){_6a5.onExecute();}}));_696.push({wrapper:_69e,iframe:_69f,widget:_69a,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_6a1});if(_69a.onOpen){_69a.onOpen(best);}return best;};this.close=function(_6a6){while(dojo.some(_696,function(elem){return elem.widget==_6a6;})){var top=_696.pop(),_6a9=top.wrapper,_6aa=top.iframe,_6ab=top.widget,_6ac=top.onClose;if(_6ab.onClose){_6ab.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_6ab||!_6ab.domNode){return;}dojo.style(_6ab.domNode,"display","none");dojo.body().appendChild(_6ab.domNode);_6aa.destroy();dojo._destroyElement(_6a9);if(_6ac){_6ac();}}};}();dijit._frames=new function(){var _6ad=[];this.pop=function(){var _6ae;if(_6ad.length){_6ae=_6ad.pop();_6ae.style.display="";}else{if(dojo.isIE){var html="<iframe src='javascript:\"\"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_6ae=dojo.doc.createElement(html);}else{var _6ae=dojo.doc.createElement("iframe");_6ae.src="javascript:\"\"";_6ae.className="dijitBackgroundIframe";}_6ae.tabIndex=-1;dojo.body().appendChild(_6ae);}return _6ae;};this.push=function(_6b0){_6b0.style.display="";if(dojo.isIE){_6b0.style.removeExpression("width");_6b0.style.removeExpression("height");}_6ad.push(_6b0);};}();if(dojo.isIE&&dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _6b3=dijit._frames.pop();node.appendChild(_6b3);if(dojo.isIE){_6b3.style.setExpression("width","document.getElementById('"+node.id+"').offsetWidth");_6b3.style.setExpression("height","document.getElementById('"+node.id+"').offsetHeight");}this.iframe=_6b3;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node){if(dojo.isIE){if(dojo.marginBox(node.parentNode).h<=node.parentNode.scrollHeight){node.scrollIntoView(false);}}else{if(dojo.isMozilla){node.scrollIntoView(false);}else{var _6b5=node.parentNode;var _6b6=_6b5.scrollTop+dojo.marginBox(_6b5).h;var _6b7=node.offsetTop+dojo.marginBox(node).h;if(_6b6<_6b7){_6b5.scrollTop+=(_6b7-_6b6);}else{if(_6b5.scrollTop>node.offsetTop){_6b5.scrollTop-=(_6b5.scrollTop-node.offsetTop);}}}}};}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo;var ie=d.isIE;var _6ba=d.isOpera;var maj=Math.floor;var _6bc={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_6ba,dj_opera8:maj(_6ba)==8,dj_opera9:maj(_6ba)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla};for(var p in _6bc){if(_6bc[p]){var html=dojo.doc.documentElement;if(html.className){html.className+=" "+p;}else{html.className=p;}}}})();}if(!dojo._hasResource["dijit._base.bidi"]){dojo._hasResource["dijit._base.bidi"]=true;dojo.provide("dijit._base.bidi");dojo.addOnLoad(function(){if(!dojo._isBodyLtr()){dojo.addClass(dojo.body(),"dijitRtl");}});}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_6c0,node,_6c2,obj,_6c4,_6c5){if(obj!=this._obj){this.stop();this._initialDelay=_6c5||500;this._subsequentDelay=_6c4||0.9;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_6c0,_6c2);this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_6c7,_6c8,_6c9,_6ca,_6cb){return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.keyCode==_6c7.keyCode&&(!_6c7.charCode||_6c7.charCode==evt.charCode)&&(_6c7.ctrlKey===undefined||_6c7.ctrlKey==evt.ctrlKey)&&(_6c7.altKey===undefined||_6c7.altKey==evt.ctrlKey)&&(_6c7.shiftKey===undefined||_6c7.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_6c7,_6c8,node,_6c9,_6c7,_6ca,_6cb);}else{if(dijit.typematic._obj==_6c7){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_6c7){dijit.typematic.stop();}})];},addMouseListener:function(node,_6cf,_6d0,_6d1,_6d2){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_6cf,node,_6d0,node,_6d1,_6d2);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_6cf,node,_6d0,node,_6d1,_6d2);setTimeout(dijit.typematic.stop,50);}})];},addListener:function(_6d9,_6da,_6db,_6dc,_6dd,_6de,_6df){return this.addKeyListener(_6da,_6db,_6dc,_6dd,_6de,_6df).concat(this.addMouseListener(_6d9,_6dc,_6dd,_6de,_6df));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=document.createElement("div");div.id="a11yTestNode";div.style.cssText="border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+dojo.moduleUrl("dijit","form/templates/blank.gif")+"\");";dojo.body().appendChild(div);function check(){var cs=dojo.getComputedStyle(div);if(cs){var _6e2=cs.backgroundImage;var _6e3=(cs.borderTopColor==cs.borderRightColor)||(_6e2!=null&&(_6e2=="none"||_6e2=="url(invalid-url:)"));dojo[_6e3?"addClass":"removeClass"](dojo.body(),"dijit_a11y");}};check();if(dojo.isIE){setInterval(check,4000);}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(elem){if(elem.hasAttribute){return elem.hasAttribute("role");}else{return elem.getAttribute("role")?true:false;}},getWaiRole:function(elem){var _6e6=elem.getAttribute("role");if(_6e6){var _6e7=_6e6.indexOf(":");return _6e7==-1?_6e6:_6e6.substring(_6e7+1);}else{return "";}},setWaiRole:function(elem,role){if(dojo.isFF&&dojo.isFF<3){elem.setAttribute("role","wairole:"+role);}else{elem.setAttribute("role",role);}},removeWaiRole:function(elem){elem.removeAttribute("role");},hasWaiState:function(elem,_6ec){if(dojo.isFF&&dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_6ec);}else{if(elem.hasAttribute){return elem.hasAttribute("aria-"+_6ec);}else{return elem.getAttribute("aria-"+_6ec)?true:false;}}},getWaiState:function(elem,_6ee){if(dojo.isFF&&dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_6ee);}else{var _6ef=elem.getAttribute("aria-"+_6ee);return _6ef?_6ef:"";}},setWaiState:function(elem,_6f1,_6f2){if(dojo.isFF&&dojo.isFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_6f1,_6f2);}else{elem.setAttribute("aria-"+_6f1,_6f2);}},removeWaiState:function(elem,_6f4){if(dojo.isFF&&dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_6f4);}else{elem.removeAttribute("aria-"+_6f4);}}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},postscript:function(_6f5,_6f6){this.create(_6f5,_6f6);},create:function(_6f7,_6f8){this.srcNodeRef=dojo.byId(_6f8);this._connects=[];this._attaches=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_6f7){dojo.mixin(this,_6f7);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){for(var attr in this.attributeMap){var _6fa=this[this.attributeMap[attr]||"domNode"];var _6fb=this[attr];if(typeof _6fb!="object"&&(_6fb!==""||(_6f7&&_6f7[attr]))){switch(attr){case "class":dojo.addClass(_6fa,_6fb);break;case "style":if(_6fa.style.cssText){_6fa.style.cssText+="; "+_6fb;}else{_6fa.style.cssText=_6fb;}break;default:_6fa.setAttribute(attr,_6fb);}}}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){},destroyRecursive:function(_6fc){this.destroyDescendants();this.destroy();},destroy:function(_6fd){this.uninitialize();dojo.forEach(this._connects,function(_6fe){dojo.forEach(_6fe,dojo.disconnect);});this.destroyRendering(_6fd);dijit.registry.remove(this.id);},destroyRendering:function(_6ff){if(this.bgIframe){this.bgIframe.destroy();delete this.bgIframe;}if(this.domNode){dojo._destroyElement(this.domNode);delete this.domNode;}if(this.srcNodeRef){dojo._destroyElement(this.srcNodeRef);delete this.srcNodeRef;}},destroyDescendants:function(){dojo.forEach(this.getDescendants(),function(_700){_700.destroy();});},uninitialize:function(){return false;},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){var list=dojo.query("[widgetId]",this.domNode);return list.map(dijit.byNode);},nodesWithKeyClick:["input","button"],connect:function(obj,_703,_704){var _705=[];if(_703=="ondijitclick"){var w=this;if(!this.nodesWithKeyClick[obj.nodeName]){_705.push(dojo.connect(obj,"onkeydown",this,function(e){if(e.keyCode==dojo.keys.ENTER){return (dojo.isString(_704))?w[_704](e):_704.call(w,e);}else{if(e.keyCode==dojo.keys.SPACE){dojo.stopEvent(e);}}}));_705.push(dojo.connect(obj,"onkeyup",this,function(e){if(e.keyCode==dojo.keys.SPACE){return dojo.isString(_704)?w[_704](e):_704.call(w,e);}}));}_703="onclick";}_705.push(dojo.connect(obj,_703,this,_704));this._connects.push(_705);return _705;},disconnect:function(_709){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_709){dojo.forEach(_709,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){if(typeof this._ltr=="undefined"){this._ltr=dojo.getComputedStyle(this.domNode).direction!="rtl";}return this._ltr;},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");}});}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.pad=function(text,size,ch,end){var out=String(text);if(!ch){ch="0";}while(out.length<size){if(end){out+=ch;}else{out=ch+out;}}return out;};dojo.string.substitute=function(_710,map,_712,_713){return _710.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_714,key,_716){var _717=dojo.getObject(key,false,map);if(_716){_717=dojo.getObject(_716,false,_713)(_717);}if(_712){_717=_712(_717,key);}return _717.toString();});};dojo.string.trim=function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,containerNode:null,_skipNodeCache:false,buildRendering:function(){var _71a=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_71a)){var _71c=this.declaredClass,_71d=this;var tstr=dojo.string.substitute(_71a,this,function(_71f,key){if(key.charAt(0)=="!"){_71f=_71d[key.substr(1)];}if(typeof _71f=="undefined"){throw new Error(_71c+" template:"+key);}if(!_71f){return "";}return key.charAt(0)=="!"?_71f:_71f.toString().replace(/"/g,"&quot;");},this);node=dijit._Templated._createNodesFromText(tstr)[0];}else{node=_71a.cloneNode(true);}this._attachTemplateNodes(node);var _721=this.srcNodeRef;if(_721&&_721.parentNode){_721.parentNode.replaceChild(node,_721);}this.domNode=node;if(this.widgetsInTemplate){var _722=dojo.parser.parse(node);this._attachTemplateNodes(_722,function(n,p){return n[p];});}this._fillContent(_721);},_fillContent:function(_725){var dest=this.containerNode;if(_725&&dest){while(_725.hasChildNodes()){dest.appendChild(_725.firstChild);}}},_attachTemplateNodes:function(_727,_728){_728=_728||function(n,p){return n.getAttribute(p);};var _72b=dojo.isArray(_727)?_727:(_727.all||_727.getElementsByTagName("*"));var x=dojo.isArray(_727)?0:-1;for(;x<_72b.length;x++){var _72d=(x==-1)?_727:_72b[x];if(this.widgetsInTemplate&&_728(_72d,"dojoType")){continue;}var _72e=_728(_72d,"dojoAttachPoint");if(_72e){var _72f,_730=_72e.split(/\s*,\s*/);while(_72f=_730.shift()){if(dojo.isArray(this[_72f])){this[_72f].push(_72d);}else{this[_72f]=_72d;}}}var _731=_728(_72d,"dojoAttachEvent");if(_731){var _732,_733=_731.split(/\s*,\s*/);var trim=dojo.trim;while(_732=_733.shift()){if(_732){var _735=null;if(_732.indexOf(":")!=-1){var _736=_732.split(":");_732=trim(_736[0]);_735=trim(_736[1]);}else{_732=trim(_732);}if(!_735){_735=_732;}this.connect(_72d,_732,_735);}}}var role=_728(_72d,"waiRole");if(role){dijit.setWaiRole(_72d,role);}var _738=_728(_72d,"waiState");if(_738){dojo.forEach(_738.split(/\s*,\s*/),function(_739){if(_739.indexOf("-")!=-1){var pair=_739.split("-");dijit.setWaiState(_72d,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_73b,_73c,_73d){var _73e=dijit._Templated._templateCache;var key=_73c||_73b;var _740=_73e[key];if(_740){return _740;}if(!_73c){_73c=dijit._Templated._sanitizeTemplateString(dojo._getText(_73b));}_73c=dojo.string.trim(_73c);if(_73c.match(/\$\{([^\}]+)\}/g)||_73d){return (_73e[key]=_73c);}else{return (_73e[key]=dijit._Templated._createNodesFromText(_73c)[0]);}};dijit._Templated._sanitizeTemplateString=function(_741){if(_741){_741=_741.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _742=_741.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_742){_741=_742[1];}}else{_741="";}return _741;};if(dojo.isIE){dojo.addOnUnload(function(){var _743=dijit._Templated._templateCache;for(var key in _743){var _745=_743[key];if(!isNaN(_745.nodeType)){dojo._destroyElement(_745);}_743[key]=null;}});}(function(){var _746={cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};var tn;dijit._Templated._createNodesFromText=function(text){if(!tn){tn=dojo.doc.createElement("div");tn.style.display="none";dojo.body().appendChild(tn);}var _749="none";var _74a=text.replace(/^\s+/,"");for(var type in _746){var map=_746[type];if(map.re.test(_74a)){_749=type;text=map.pre+text+map.post;break;}}tn.innerHTML=text;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_749];var _74e=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _74f=[];while(_74e.firstChild){_74f.push(_74e.removeChild(_74e.firstChild));}tn.innerHTML="";return _74f;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _752=dijit.byId(id);return _752.isContainer?_752:null;}}return null;},_getSibling:function(_753){var node=this.domNode;do{node=node[_753+"Sibling"];}while(node&&node.nodeType!=1);if(!node){return null;}var id=node.getAttribute("widgetId");return dijit.byId(id);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");}});dojo.declare("dijit._Container",null,{isContainer:true,addChild:function(_756,_757){if(_757===undefined){_757="last";}var _758=this.containerNode||this.domNode;if(_757&&typeof _757=="number"){var _759=dojo.query("> [widgetid]",_758);if(_759&&_759.length>=_757){_758=_759[_757-1];_757="after";}}dojo.place(_756.domNode,_758,_757);if(this._started&&!_756._started){_756.startup();}},removeChild:function(_75a){var node=_75a.domNode;node.parentNode.removeChild(node);},_nextElement:function(node){do{node=node.nextSibling;}while(node&&node.nodeType!=1);return node;},_firstElement:function(node){node=node.firstChild;if(node&&node.nodeType!=1){node=this._nextElement(node);}return node;},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode||this.domNode).map(dijit.byNode);},hasChildren:function(){var cn=this.containerNode||this.domNode;return !!this._firstElement(cn);},_getSiblingOfChild:function(_75f,dir){var node=_75f.domNode;var _762=(dir>0?"nextSibling":"previousSibling");do{node=node[_762];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_763,_764){var _765=this._keyNavCodes={};var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_763,function(code){_765[code]=prev;});dojo.forEach(_764,function(code){_765[code]=next;});this.connect(this.domNode,"onkeypress","_onContainerKeypress");if(dojo.isIE){this.connect(this.domNode,"onactivate","_onContainerFocus");this.connect(this.domNode,"ondeactivate","_onContainerBlur");}else{this.connect(this.domNode,"onfocus","_onContainerFocus");this.connect(this.domNode,"onblur","_onContainerBlur");}},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_setTabIndexMinusOne"));},addChild:function(_76a,_76b){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._setTabIndexMinusOne(_76a);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusNext:function(){if(this.focusedChild&&this.focusedChild.hasNextFocalNode&&this.focusedChild.hasNextFocalNode()){this.focusedChild.focusNext();return;}var _76c=this._getNextFocusableChild(this.focusedChild,1);if(_76c.getFocalNodes){this.focusChild(_76c,_76c.getFocalNodes()[0]);}else{this.focusChild(_76c);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _76d=this._getNextFocusableChild(this.focusedChild,-1);if(_76d.getFocalNodes){var _76e=_76d.getFocalNodes();this.focusChild(_76d,_76e[_76e.length-1]);}else{this.focusChild(_76d);}},focusChild:function(_76f,node){if(_76f){if(this.focusedChild&&_76f!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_76f;if(node&&_76f.focusFocalNode){_76f.focusFocalNode(node);}else{_76f.focus();}}},_setTabIndexMinusOne:function(_771){if(_771.getFocalNodes){dojo.forEach(_771.getFocalNodes(),function(node){node.setAttribute("tabIndex",-1);});}else{(_771.focusNode||_771.domNode).setAttribute("tabIndex",-1);}},_onContainerFocus:function(evt){this.domNode.setAttribute("tabIndex",-1);if(evt.target===this.domNode){this.focusFirstChild();}else{var _774=dijit.getEnclosingWidget(evt.target);if(_774&&_774.isFocusable()){this.focusedChild=_774;}}},_onContainerBlur:function(evt){if(this.tabIndex){this.domNode.setAttribute("tabIndex",this.tabIndex);}},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.keyCode];if(func){func();dojo.stopEvent(evt);}},_onChildBlur:function(_778){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_779,dir){if(_779){_779=this._getSiblingOfChild(_779,dir);}var _77b=this.getChildren();for(var i=0;i<_77b.length;i++){if(!_779){_779=_77b[(dir>0)?0:(_77b.length-1)];}if(_779.isFocusable()){return _779;}_779=this._getSiblingOfChild(_779,dir);}}});}if(!dojo._hasResource["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{isLayoutContainer:true,postCreate:function(){dojo.addClass(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this._started=true;if(this.getChildren){dojo.forEach(this.getChildren(),function(_77d){_77d.startup();});}if(!this.getParent||!this.getParent()){this.resize();this.connect(window,"onresize",function(){this.resize();});}},resize:function(args){var node=this.domNode;if(args){dojo.marginBox(node,args);if(args.t){node.style.top=args.t+"px";}if(args.l){node.style.left=args.l+"px";}}var mb=dojo.mixin(dojo.marginBox(node),args||{});this._contentBox=dijit.layout.marginBox2contentBox(node,mb);this.layout();},layout:function(){}});dijit.layout.marginBox2contentBox=function(node,mb){var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var pb=dojo._getPadBorderExtents(node,cs);return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _786=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_789,dim){_789.resize?_789.resize(dim):dojo.marginBox(_789.domNode,dim);dojo.mixin(_789,dojo.marginBox(_789.domNode));dojo.mixin(_789,dim);};dijit.layout.layoutChildren=function(_78b,dim,_78d){dim=dojo.mixin({},dim);dojo.addClass(_78b,"dijitLayoutContainer");_78d=dojo.filter(_78d,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_78d,function(item){return item.layoutAlign=="client";}));dojo.forEach(_78d,function(_790){var elm=_790.domNode,pos=_790.layoutAlign;var _793=elm.style;_793.left=dim.l+"px";_793.top=dim.t+"px";_793.bottom=_793.right="auto";dojo.addClass(elm,"dijitAlign"+_786(pos));if(pos=="top"||pos=="bottom"){size(_790,{w:dim.w});dim.h-=_790.h;if(pos=="top"){dim.t+=_790.h;}else{_793.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_790,{h:dim.h});dim.w-=_790.w;if(pos=="left"){dim.l+=_790.w;}else{_793.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_790,dim);}}}});};})();}if(!dojo._hasResource["dijit.layout.ContentPane"]){dojo._hasResource["dijit.layout.ContentPane"]=true;dojo.provide("dijit.layout.ContentPane");dojo.declare("dijit.layout.ContentPane",dijit._Widget,{href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,"class":"dijitContentPane",postCreate:function(){this.domNode.title="";if(this.preload){this._loadCheck();}var _794=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_794);this.errorMessage=dojo.string.substitute(this.errorMessage,_794);dojo.addClass(this.domNode,this["class"]);},startup:function(){if(this._started){return;}this._checkIfSingleChild();if(this._singleChild){this._singleChild.startup();}this._loadCheck();this._started=true;},_checkIfSingleChild:function(){var _795=dojo.query(">",this.containerNode||this.domNode),_796=_795.filter("[widgetId]");if(_795.length==1&&_796.length==1){this.isContainer=true;this._singleChild=dijit.byNode(_796[0]);}else{delete this.isContainer;delete this._singleChild;}},refresh:function(){return this._prepareLoad(true);},setHref:function(href){this.href=href;return this._prepareLoad();},setContent:function(data){if(!this._isDownloaded){this.href="";this._onUnloadHandler();}this._setContent(data||"");this._isDownloaded=false;if(this.parseOnLoad){this._createSubWidgets();}this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){this._singleChild.resize(this._contentBox);}this._onLoadHandler();},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;},destroy:function(){if(this._beingDestroyed){return;}this._onUnloadHandler();this._beingDestroyed=true;this.inherited("destroy",arguments);},resize:function(size){dojo.marginBox(this.domNode,size);var node=this.containerNode||this.domNode,mb=dojo.mixin(dojo.marginBox(node),size||{});this._contentBox=dijit.layout.marginBox2contentBox(node,mb);if(this._singleChild&&this._singleChild.resize){this._singleChild.resize(this._contentBox);}},_prepareLoad:function(_79c){this.cancel();this.isLoaded=false;this._loadCheck(_79c);},_loadCheck:function(_79d){var _79e=((this.open!==false)&&(this.domNode.style.display!="none"));if(this.href&&(_79d||(this.preload&&!this._xhrDfd)||(this.refreshOnShow&&_79e&&!this._xhrDfd)||(!this.isLoaded&&_79e&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._onUnloadHandler();this._setContent(this.onDownloadStart.call(this));var self=this;var _7a0={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_7a0,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_7a0);hand.addCallback(function(html){try{self.onDownloadEnd.call(self);self._isDownloaded=true;self.setContent.call(self,html);}catch(err){self._onError.call(self,"Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.cancelled){self._onError.call(self,"Download",err);}delete self._xhrDfd;return err;});},_onLoadHandler:function(){this.isLoaded=true;try{this.onLoad.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code");}},_onUnloadHandler:function(){this.isLoaded=false;this.cancel();try{this.onUnload.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code");}},_setContent:function(cont){this.destroyDescendants();try{var node=this.containerNode||this.domNode;while(node.firstChild){dojo._destroyElement(node.firstChild);}if(typeof cont=="string"){if(this.extractContent){match=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(match){cont=match[1];}}node.innerHTML=cont;}else{if(cont.nodeType){node.appendChild(cont);}else{dojo.forEach(cont,function(n){node.appendChild(n.cloneNode(true));});}}}catch(e){var _7a7=this.onContentError(e);try{node.innerHTML=_7a7;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}}},_onError:function(type,err,_7aa){var _7ab=this["on"+type+"Error"].call(this,err);if(_7aa){console.error(_7aa,err);}else{if(_7ab){this._setContent.call(this,_7ab);}}},_createSubWidgets:function(){var _7ac=this.containerNode||this.domNode;try{dojo.parser.parse(_7ac,true);}catch(e){this._onError("Content",e,"Couldn't create widgets in "+this.id+(this.href?" from "+this.href:""));}},onLoad:function(e){},onUnload:function(e){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_7af){},onDownloadError:function(_7b0){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.form.Form"]){dojo._hasResource["dijit.form.Form"]=true;dojo.provide("dijit.form.Form");dojo.declare("dijit.form._FormMixin",null,{action:"",method:"",enctype:"",name:"","accept-charset":"",accept:"",target:"",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",enctype:"","accept-charset":"",accept:"",target:""}),execute:function(_7b1){},onCancel:function(){},onExecute:function(){},templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onsubmit:_onSubmit' name='${name}' enctype='multipart/form-data'></form>",_onSubmit:function(e){dojo.stopEvent(e);this.onExecute();this.execute(this.getValues());},submit:function(){this.containerNode.submit();},setValues:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_7b5){if(!_7b5.name){return;}var _7b6=map[_7b5.name]||(map[_7b5.name]=[]);_7b6.push(_7b5);});for(var name in map){var _7b8=map[name],_7b9=dojo.getObject(name,false,obj);if(!dojo.isArray(_7b9)){_7b9=[_7b9];}if(_7b8[0].setChecked){dojo.forEach(_7b8,function(w,i){w.setChecked(dojo.indexOf(_7b9,w.value)!=-1);});}else{dojo.forEach(_7b8,function(w,i){w.setValue(_7b9[i]);});}}},getValues:function(){var obj={};dojo.forEach(this.getDescendants(),function(_7bf){var _7c0=_7bf.getValue?_7bf.getValue():_7bf.value;var name=_7bf.name;if(!name){return;}if(_7bf.setChecked){if(/Radio/.test(_7bf.declaredClass)){if(_7bf.checked){dojo.setObject(name,_7c0,obj);}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_7bf.checked){ary.push(_7c0);}}}else{dojo.setObject(name,_7c0,obj);}});return obj;},isValid:function(){return dojo.every(this.getDescendants(),function(_7c3){return !_7c3.isValid||_7c3.isValid();});}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],null);}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class=dijitDialogUnderlayWrapper id='${id}_underlay'><div class=dijitDialogUnderlay dojoAttachPoint='node'></div></div>",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);},layout:function(){var _7c4=dijit.getViewport();var is=this.node.style,os=this.domNode.style;os.top=_7c4.t+"px";os.left=_7c4.l+"px";is.width=_7c4.w+"px";is.height=_7c4.h+"px";var _7c7=dijit.getViewport();if(_7c4.w!=_7c7.w){is.width=_7c7.w+"px";}if(_7c4.h!=_7c7.h){is.height=_7c7.h+"px";}},show:function(){this.domNode.style.display="block";this.layout();if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="block";}this._resizeHandler=this.connect(window,"onresize","layout");},hide:function(){this.domNode.style.display="none";if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="none";}this.disconnect(this._resizeHandler);},uninitialize:function(){if(this.bgIframe){this.bgIframe.destroy();}}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin],{templateString:null,templateString:"<div class=\"dijitDialog\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\" tabindex=\"0\" waiRole=\"dialog\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\">${title}</span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: hide\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n\t<span dojoAttachPoint=\"tabEnd\" dojoAttachEvent=\"onfocus:_cycleFocus\" tabindex=\"0\"></span>\n</div>\n",open:false,duration:400,_lastFocusItem:null,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{title:"titleBar"}),postCreate:function(){dojo.body().appendChild(this.domNode);this.inherited("postCreate",arguments);this.domNode.style.display="none";this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");},onLoad:function(){this._position();this.inherited("onLoad",arguments);},_setup:function(){this._modalconnects=[];if(this.titleBar){this._moveable=new dojo.dnd.Moveable(this.domNode,{handle:this.titleBar});}this._underlay=new dijit.DialogUnderlay();var node=this.domNode;this._fadeIn=dojo.fx.combine([dojo.fadeIn({node:node,duration:this.duration}),dojo.fadeIn({node:this._underlay.domNode,duration:this.duration,onBegin:dojo.hitch(this._underlay,"show")})]);this._fadeOut=dojo.fx.combine([dojo.fadeOut({node:node,duration:this.duration,onEnd:function(){node.style.display="none";}}),dojo.fadeOut({node:this._underlay.domNode,duration:this.duration,onEnd:dojo.hitch(this._underlay,"hide")})]);},uninitialize:function(){if(this._underlay){this._underlay.destroy();}},_position:function(){if(dojo.hasClass(dojo.body(),"dojoMove")){return;}var _7c9=dijit.getViewport();var mb=dojo.marginBox(this.domNode);var _7cb=this.domNode.style;_7cb.left=Math.floor((_7c9.l+(_7c9.w-mb.w)/2))+"px";_7cb.top=Math.floor((_7c9.t+(_7c9.h-mb.h)/2))+"px";},_findLastFocus:function(evt){this._lastFocused=evt.target;},_cycleFocus:function(evt){if(!this._lastFocusItem){this._lastFocusItem=this._lastFocused;}this.titleBar.focus();},_onKey:function(evt){if(evt.keyCode){var node=evt.target;if(node==this.titleBar&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(this._lastFocusItem){this._lastFocusItem.focus();}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode){if(evt.keyCode==dojo.keys.ESCAPE){this.hide();}else{return;}}node=node.parentNode;}if(evt.keyCode!=dojo.keys.TAB){dojo.stopEvent(evt);}else{if(!dojo.isOpera){try{this.titleBar.focus();}catch(e){}}}}}},show:function(){if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOut.status()=="playing"){this._fadeOut.stop();}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(document.documentElement,"onkeypress",this,"_onKey"));var ev=typeof (document.ondeactivate)=="object"?"ondeactivate":"onblur";this._modalconnects.push(dojo.connect(this.containerNode,ev,this,"_findLastFocus"));dojo.style(this.domNode,"opacity",0);this.domNode.style.display="block";this.open=true;this._loadCheck();this._position();this._fadeIn.play();this._savedFocus=dijit.getFocus(this);setTimeout(dojo.hitch(this,function(){dijit.focus(this.titleBar);}),50);},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeIn.status()=="playing"){this._fadeIn.stop();}this._fadeOut.play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];this.connect(this._fadeOut,"onEnd",dojo.hitch(this,function(){dijit.focus(this._savedFocus);}));this.open=false;},layout:function(){if(this.domNode.style.display=="block"){this._underlay.layout();this._position();}}});dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin],{title:"",_lastFocusItem:null,templateString:null,templateString:"<div class=\"dijitTooltipDialog\" >\n\t<div class=\"dijitTooltipContainer\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"0\" waiRole=\"dialog\"></div>\n\t</div>\n\t<span dojoAttachPoint=\"tabEnd\" tabindex=\"0\" dojoAttachEvent=\"focus:_cycleFocus\"></span>\n\t<div class=\"dijitTooltipConnector\" ></div>\n</div>\n",postCreate:function(){this.inherited("postCreate",arguments);this.connect(this.containerNode,"onkeypress","_onKey");var ev=typeof (document.ondeactivate)=="object"?"ondeactivate":"onblur";this.connect(this.containerNode,ev,"_findLastFocus");this.containerNode.title=this.title;},orient:function(_7d2){this.domNode.className="dijitTooltipDialog "+" dijitTooltipAB"+(_7d2.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_7d2.charAt(0)=="T"?"Below":"Above");},onOpen:function(pos){this.orient(pos.corner);this._loadCheck();this.containerNode.focus();},_onKey:function(evt){if(evt.keyCode==dojo.keys.ESCAPE){this.onCancel();}else{if(evt.target==this.containerNode&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(this._lastFocusItem){this._lastFocusItem.focus();}dojo.stopEvent(evt);}else{if(evt.keyCode==dojo.keys.TAB){evt.stopPropagation();}}}},_findLastFocus:function(evt){this._lastFocused=evt.target;},_cycleFocus:function(evt){if(!this._lastFocusItem){this._lastFocusItem=this._lastFocused;}this.containerNode.focus();}});}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_7d8){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_7d8&&_7d8.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_7dc){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_7dc);};dojo.regexp.group=function(_7df,_7e0){return "("+(_7e0?"?:":"")+_7df+")";};}if(!dojo._hasResource["dojo.number"]){dojo._hasResource["dojo.number"]=true;dojo.provide("dojo.number");dojo.number.format=function(_7e1,_7e2){_7e2=dojo.mixin({},_7e2||{});var _7e3=dojo.i18n.normalizeLocale(_7e2.locale);var _7e4=dojo.i18n.getLocalization("dojo.cldr","number",_7e3);_7e2.customs=_7e4;var _7e5=_7e2.pattern||_7e4[(_7e2.type||"decimal")+"Format"];if(isNaN(_7e1)){return null;}return dojo.number._applyPattern(_7e1,_7e5,_7e2);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_7e6,_7e7,_7e8){_7e8=_7e8||{};var _7e9=_7e8.customs.group;var _7ea=_7e8.customs.decimal;var _7eb=_7e7.split(";");var _7ec=_7eb[0];_7e7=_7eb[(_7e6<0)?1:0]||("-"+_7ec);if(_7e7.indexOf("%")!=-1){_7e6*=100;}else{if(_7e7.indexOf("‰")!=-1){_7e6*=1000;}else{if(_7e7.indexOf("¤")!=-1){_7e9=_7e8.customs.currencyGroup||_7e9;_7ea=_7e8.customs.currencyDecimal||_7ea;_7e7=_7e7.replace(/\u00a4{1,3}/,function(_7ed){var prop=["symbol","currency","displayName"][_7ed.length-1];return _7e8[prop]||_7e8.currency||"";});}else{if(_7e7.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _7ef=dojo.number._numberPatternRE;var _7f0=_7ec.match(_7ef);if(!_7f0){throw new Error("unable to find a number expression in pattern: "+_7e7);}return _7e7.replace(_7ef,dojo.number._formatAbsolute(_7e6,_7f0[0],{decimal:_7ea,group:_7e9,places:_7e8.places}));};dojo.number.round=function(_7f1,_7f2,_7f3){var _7f4=String(_7f1).split(".");var _7f5=(_7f4[1]&&_7f4[1].length)||0;if(_7f5>_7f2){var _7f6=Math.pow(10,_7f2);if(_7f3>0){_7f6*=10/_7f3;_7f2++;}_7f1=Math.round(_7f1*_7f6)/_7f6;_7f4=String(_7f1).split(".");_7f5=(_7f4[1]&&_7f4[1].length)||0;if(_7f5>_7f2){_7f4[1]=_7f4[1].substr(0,_7f2);_7f1=Number(_7f4.join("."));}}return _7f1;};dojo.number._formatAbsolute=function(_7f7,_7f8,_7f9){_7f9=_7f9||{};if(_7f9.places===true){_7f9.places=0;}if(_7f9.places===Infinity){_7f9.places=6;}var _7fa=_7f8.split(".");var _7fb=(_7f9.places>=0)?_7f9.places:(_7fa[1]&&_7fa[1].length)||0;if(!(_7f9.round<0)){_7f7=dojo.number.round(_7f7,_7fb,_7f9.round);}var _7fc=String(Math.abs(_7f7)).split(".");var _7fd=_7fc[1]||"";if(_7f9.places){_7fc[1]=dojo.string.pad(_7fd.substr(0,_7f9.places),_7f9.places,"0",true);}else{if(_7fa[1]&&_7f9.places!==0){var pad=_7fa[1].lastIndexOf("0")+1;if(pad>_7fd.length){_7fc[1]=dojo.string.pad(_7fd,pad,"0",true);}var _7ff=_7fa[1].length;if(_7ff<_7fd.length){_7fc[1]=_7fd.substr(0,_7ff);}}else{if(_7fc[1]){_7fc.pop();}}}var _800=_7fa[0].replace(",","");pad=_800.indexOf("0");if(pad!=-1){pad=_800.length-pad;if(pad>_7fc[0].length){_7fc[0]=dojo.string.pad(_7fc[0],pad);}if(_800.indexOf("#")==-1){_7fc[0]=_7fc[0].substr(_7fc[0].length-pad);}}var _801=_7fa[0].lastIndexOf(",");var _802,_803;if(_801!=-1){_802=_7fa[0].length-_801-1;var _804=_7fa[0].substr(0,_801);_801=_804.lastIndexOf(",");if(_801!=-1){_803=_804.length-_801-1;}}var _805=[];for(var _806=_7fc[0];_806;){var off=_806.length-_802;_805.push((off>0)?_806.substr(off):_806);_806=(off>0)?_806.slice(0,off):"";if(_803){_802=_803;delete _803;}}_7fc[0]=_805.reverse().join(_7f9.group||",");return _7fc.join(_7f9.decimal||".");};dojo.number.regexp=function(_808){return dojo.number._parseInfo(_808).regexp;};dojo.number._parseInfo=function(_809){_809=_809||{};var _80a=dojo.i18n.normalizeLocale(_809.locale);var _80b=dojo.i18n.getLocalization("dojo.cldr","number",_80a);var _80c=_809.pattern||_80b[(_809.type||"decimal")+"Format"];var _80d=_80b.group;var _80e=_80b.decimal;var _80f=1;if(_80c.indexOf("%")!=-1){_80f/=100;}else{if(_80c.indexOf("‰")!=-1){_80f/=1000;}else{var _810=_80c.indexOf("¤")!=-1;if(_810){_80d=_80b.currencyGroup||_80d;_80e=_80b.currencyDecimal||_80e;}}}var _811=_80c.split(";");if(_811.length==1){_811.push("-"+_811[0]);}var re=dojo.regexp.buildGroupRE(_811,function(_813){_813="(?:"+dojo.regexp.escapeString(_813,".")+")";return _813.replace(dojo.number._numberPatternRE,function(_814){var _815={signed:false,separator:_809.strict?_80d:[_80d,""],fractional:_809.fractional,decimal:_80e,exponent:false};var _816=_814.split(".");var _817=_809.places;if(_816.length==1||_817===0){_815.fractional=false;}else{if(typeof _817=="undefined"){_817=_816[1].lastIndexOf("0")+1;}if(_817&&_809.fractional==undefined){_815.fractional=true;}if(!_809.places&&(_817<_816[1].length)){_817+=","+_816[1].length;}_815.places=_817;}var _818=_816[0].split(",");if(_818.length>1){_815.groupSize=_818.pop().length;if(_818.length>1){_815.groupSize2=_818.pop().length;}}return "("+dojo.number._realNumberRegexp(_815)+")";});},true);if(_810){re=re.replace(/(\s*)(\u00a4{1,3})(\s*)/g,function(_819,_81a,_81b,_81c){var prop=["symbol","currency","displayName"][_81b.length-1];var _81e=dojo.regexp.escapeString(_809[prop]||_809.currency||"");_81a=_81a?"\\s":"";_81c=_81c?"\\s":"";if(!_809.strict){if(_81a){_81a+="*";}if(_81c){_81c+="*";}return "(?:"+_81a+_81e+_81c+")?";}return _81a+_81e+_81c;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_80d,decimal:_80e,factor:_80f};};dojo.number.parse=function(_81f,_820){var info=dojo.number._parseInfo(_820);var _822=(new RegExp("^"+info.regexp+"$")).exec(_81f);if(!_822){return NaN;}var _823=_822[1];if(!_822[1]){if(!_822[2]){return NaN;}_823=_822[2];info.factor*=-1;}_823=_823.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return Number(_823)*info.factor;};dojo.number._realNumberRegexp=function(_824){_824=_824||{};if(typeof _824.places=="undefined"){_824.places=Infinity;}if(typeof _824.decimal!="string"){_824.decimal=".";}if(typeof _824.fractional=="undefined"||/^0/.test(_824.places)){_824.fractional=[true,false];}if(typeof _824.exponent=="undefined"){_824.exponent=[true,false];}if(typeof _824.eSigned=="undefined"){_824.eSigned=[true,false];}var _825=dojo.number._integerRegexp(_824);var _826=dojo.regexp.buildGroupRE(_824.fractional,function(q){var re="";if(q&&(_824.places!==0)){re="\\"+_824.decimal;if(_824.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_824.places+"}";}}return re;},true);var _829=dojo.regexp.buildGroupRE(_824.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_824.eSigned})+")";}return "";});var _82b=_825+_826;if(_826){_82b="(?:(?:"+_82b+")|(?:"+_826+"))";}return _82b+_829;};dojo.number._integerRegexp=function(_82c){_82c=_82c||{};if(typeof _82c.signed=="undefined"){_82c.signed=[true,false];}if(typeof _82c.separator=="undefined"){_82c.separator="";}else{if(typeof _82c.groupSize=="undefined"){_82c.groupSize=3;}}var _82d=dojo.regexp.buildGroupRE(_82c.signed,function(q){return q?"[-+]":"";},true);var _82f=dojo.regexp.buildGroupRE(_82c.separator,function(sep){if(!sep){return "(?:0|[1-9]\\d*)";}sep=dojo.regexp.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_82c.groupSize,grp2=_82c.groupSize2;if(grp2){var _833="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_833+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_833;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _82d+_82f;};}if(!dojo._hasResource["dijit.ProgressBar"]){dojo._hasResource["dijit.ProgressBar"]=true;dojo.provide("dijit.ProgressBar");dojo.declare("dijit.ProgressBar",[dijit._Widget,dijit._Templated],{progress:"0",maximum:100,places:0,indeterminate:false,templateString:"<div class=\"dijitProgressBar dijitProgressBarEmpty\"\n\t><div waiRole=\"progressbar\" tabindex=\"0\" dojoAttachPoint=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\"></div\n\t\t><span style=\"visibility:hidden\">&nbsp;</span\n\t></div\n\t><div dojoAttachPoint=\"label\" class=\"dijitProgressBarLabel\">&nbsp;</div\n\t><img dojoAttachPoint=\"inteterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\"\n\t></img\n></div>\n",_indeterminateHighContrastImagePath:dojo.moduleUrl("dijit","themes/a11y/indeterminate_progress.gif"),postCreate:function(){this.inherited("postCreate",arguments);this.inteterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath);this.update();},update:function(_834){dojo.mixin(this,_834||{});var _835=1,_836;if(this.indeterminate){_836="addClass";dijit.removeWaiState(this.internalProgress,"valuenow");dijit.removeWaiState(this.internalProgress,"valuemin");dijit.removeWaiState(this.internalProgress,"valuemax");}else{_836="removeClass";if(String(this.progress).indexOf("%")!=-1){_835=Math.min(parseFloat(this.progress)/100,1);this.progress=_835*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_835=this.progress/this.maximum;}var text=this.report(_835);this.label.firstChild.nodeValue=text;dijit.setWaiState(this.internalProgress,"valuenow",this.progress);dijit.setWaiState(this.internalProgress,"valuemin",0);dijit.setWaiState(this.internalProgress,"valuemax",this.maximum);}dojo[_836](this.domNode,"dijitProgressBarIndeterminate");this.internalProgress.style.width=(_835*100)+"%";this.onChange();},report:function(_838){return dojo.number.format(_838,{type:"percent",places:this.places,locale:this.lang});},onChange:function(){}});}if(!dojo._hasResource["dijit.TitlePane"]){dojo._hasResource["dijit.TitlePane"]=true;dojo.provide("dijit.TitlePane");dojo.declare("dijit.TitlePane",[dijit.layout.ContentPane,dijit._Templated],{title:"",open:true,duration:250,baseClass:"dijitTitlePane",templateString:"<div class=\"dijitTitlePane\">\n\t<div dojoAttachEvent=\"onclick:toggle,onkeypress: _onTitleKey,onfocus:_handleFocus,onblur:_handleFocus\" tabindex=\"0\"\n\t\t\twaiRole=\"button\" class=\"dijitTitlePaneTitle\" dojoAttachPoint=\"focusNode\">\n\t\t<div dojoAttachPoint=\"arrowNode\" class=\"dijitInline dijitArrowNode\"><span dojoAttachPoint=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span></div>\n\t\t<div dojoAttachPoint=\"titleNode\" class=\"dijitTitlePaneTextNode\"></div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" dojoAttachPoint=\"hideNode\">\n\t\t<div class=\"dijitReset\" dojoAttachPoint=\"wipeNode\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" dojoAttachPoint=\"containerNode\" waiRole=\"region\" tabindex=\"-1\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",postCreate:function(){this.setTitle(this.title);if(!this.open){this.hideNode.style.display=this.wipeNode.style.display="none";}this._setCss();dojo.setSelectable(this.titleNode,false);this.inherited("postCreate",arguments);dijit.setWaiState(this.containerNode,"labelledby",this.titleNode.id);dijit.setWaiState(this.focusNode,"haspopup","true");var _839=this.hideNode,_83a=this.wipeNode;this._wipeIn=dojo.fx.wipeIn({node:this.wipeNode,duration:this.duration,beforeBegin:function(){_839.style.display="";}});this._wipeOut=dojo.fx.wipeOut({node:this.wipeNode,duration:this.duration,onEnd:function(){_839.style.display="none";}});},setContent:function(_83b){if(this._wipeOut.status()=="playing"){this.inherited("setContent",arguments);}else{if(this._wipeIn.status()=="playing"){this._wipeIn.stop();}dojo.marginBox(this.wipeNode,{h:dojo.marginBox(this.wipeNode).h});this.inherited("setContent",arguments);this._wipeIn.play();}},toggle:function(){dojo.forEach([this._wipeIn,this._wipeOut],function(_83c){if(_83c.status()=="playing"){_83c.stop();}});this[this.open?"_wipeOut":"_wipeIn"].play();this.open=!this.open;this._loadCheck();this._setCss();},_setCss:function(){var _83d=["dijitClosed","dijitOpen"];var _83e=this.open;dojo.removeClass(this.focusNode,_83d[!_83e+0]);this.focusNode.className+=" "+_83d[_83e+0];this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==dojo.keys.ENTER||e.charCode==dojo.keys.SPACE){this.toggle();}else{if(e.keyCode==dojo.keys.DOWN_ARROW){if(this.open){this.containerNode.focus();e.preventDefault();}}}},_handleFocus:function(e){dojo[(e.type=="focus"?"addClass":"removeClass")](this.focusNode,this.baseClass+"Focused");},setTitle:function(_841){this.titleNode.innerHTML=_841;}});}dojo.i18n._preloadLocalizations("dojo.nls.dojo",["es-es","es","hu","it-it","de","pt-br","pl","fr-fr","zh-cn","pt","en-us","zh","ru","xx","fr","zh-tw","it","cs","en-gb","de-de","ja-jp","ko-kr","ko","en","ROOT","ja"]);
