/*
	Copyright (c) 2004-2008, 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.
*/

(function(){var _1=null;if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){var _2="",_3="",_4="",_5={},_6={};_1=_1||djConfig.scopeMap;for(var i=0;i<_1.length;i++){var _8=_1[i];_2+="var "+_8[0]+" = {}; "+_8[1]+" = "+_8[0]+";"+_8[1]+"._scopeName = '"+_8[1]+"';";_3+=(i==0?"":",")+_8[0];_4+=(i==0?"":",")+_8[1];_5[_8[0]]=_8[1];_6[_8[1]]=_8[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}(function(){if(!this["console"]){this.console={log:function(){}};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _c=tn+"";console[_c]=function(){var a=Array.apply({},arguments);a.unshift(_c+":");console.log(a.join(" "));};})();}}if(typeof dojo=="undefined"){this.dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){this.dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){this.dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var _f in djConfig){d.config[_f]=djConfig[_f];}}var _10=["Browser","Rhino","Spidermonkey","Mobile"];var t;while((t=_10.shift())){d["is"+t]=false;}dojo.locale=d.config.locale;var rev="$Rev: 13231 $".match(/\d+/);dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:rev?+rev[0]:999999,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(obj,_14){var _15={};for(var x in _14){if(_15[x]===undefined||_15[x]!=_14[x]){obj[x]=_14[x];}}if(d["isIE"]&&_14){var p=_14.toString;if(typeof p=="function"&&p!=obj.toString&&p!=_15.toString&&p!="\nfunction toString() {\n    [native code]\n}\n"){obj.toString=_14.toString;}}return obj;};dojo.mixin=function(obj,_19){for(var i=1,l=arguments.length;i<l;i++){d._mixin(obj,arguments[i]);}return obj;};dojo._getProp=function(_1c,_1d,_1e){var obj=_1e||d.global;for(var i=0,p;obj&&(p=_1c[i]);i++){if(i==0&&this._scopeMap[p]){p=this._scopeMap[p];}obj=(p in obj?obj[p]:(_1d?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_22,_23,_24){var _25=_22.split("."),p=_25.pop(),obj=d._getProp(_25,true,_24);return obj&&p?(obj[p]=_23):undefined;};dojo.getObject=function(_28,_29,_2a){return d._getProp(_28.split("."),_29,_2a);};dojo.exists=function(_2b,obj){return !!d.getObject(_2b,false,obj);};dojo["eval"]=function(_2d){return d.global.eval?d.global.eval(_2d):eval(_2d);};d.deprecated=d.experimental=function(){};})();(function(){var d=dojo;d.mixin(d,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_2f){var mp=this._modulePrefixes;return !!(mp[_2f]&&mp[_2f].value);},_getModulePrefix:function(_31){var mp=this._modulePrefixes;if(this._moduleHasPrefix(_31)){return mp[_31].value;}return _31;},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadPath=function(_33,_34,cb){var uri=((_33.charAt(0)=="/"||_33.match(/^\w+:/))?"":this.baseUrl)+_33;try{return !_34?this._loadUri(uri,cb):this._loadUriAndCheck(uri,_34,cb);}catch(e){console.error(e);return false;}};dojo._loadUri=function(uri,cb){if(this._loadedUrls[uri]){return true;}var _39=this._getText(uri,true);if(!_39){return false;}this._loadedUrls[uri]=true;this._loadedUrls.push(uri);if(cb){_39="("+_39+")";}else{_39=this._scopePrefix+_39+this._scopeSuffix;}if(d.isMoz){_39+="\r\n//@ sourceURL="+uri;}var _3a=d["eval"](_39);if(cb){cb(_3a);}return true;};dojo._loadUriAndCheck=function(uri,_3c,cb){var ok=false;try{ok=this._loadUri(uri,cb);}catch(e){console.error("failed loading "+uri+" with error: "+e);}return !!(ok&&this._loadedModules[_3c]);};dojo.loaded=function(){this._loadNotifying=true;this._postLoad=true;var mll=d._loaders;this._loaders=[];for(var x=0;x<mll.length;x++){try{mll[x]();}catch(e){throw e;console.error("dojo.addOnLoad callback failed: "+e,e);}}this._loadNotifying=false;if(d._postLoad&&d._inFlightCount==0&&mll.length){d._callLoaded();}};dojo.unloaded=function(){var mll=this._unloaders;while(mll.length){(mll.pop())();}};var _42=function(arr,obj,fn){if(!fn){arr.push(obj);}else{if(fn){var _46=(typeof fn=="string")?obj[fn]:fn;arr.push(function(){_46.call(obj);});}}};dojo.addOnLoad=function(obj,_48){_42(d._loaders,obj,_48);if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){d._callLoaded();}};dojo.addOnUnload=function(obj,_4a){_42(d._unloaders,obj,_4a);};dojo._modulesLoaded=function(){if(d._postLoad){return;}if(d._inFlightCount>0){console.warn("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(dojo.config.useXDomain&&d.isOpera)){if(dojo.isAIR){setTimeout(function(){dojo.loaded();},0);}else{setTimeout(dojo._scopeName+".loaded();",0);}}else{d.loaded();}};dojo._getModuleSymbols=function(_4b){var _4c=_4b.split(".");for(var i=_4c.length;i>0;i--){var _4e=_4c.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_4e)){_4c[0]="../"+_4c[0];}else{var _4f=this._getModulePrefix(_4e);if(_4f!=_4e){_4c.splice(0,i,_4f);break;}}}return _4c;};dojo._global_omit_module_check=false;dojo._loadModule=dojo.require=function(_50,_51){_51=this._global_omit_module_check||_51;var _52=this._loadedModules[_50];if(_52){return _52;}var _53=this._getModuleSymbols(_50).join("/")+".js";var _54=(!_51)?_50:null;var ok=this._loadPath(_53,_54);if(!ok&&!_51){throw new Error("Could not load '"+_50+"'; last tried '"+_53+"'");}if(!_51&&!this._isXDomain){_52=this._loadedModules[_50];if(!_52){throw new Error("symbol '"+_50+"' is not defined after loading '"+_53+"'");}}return _52;};dojo.provide=function(_56){_56=_56+"";return (d._loadedModules[_56]=d.getObject(_56,true));};dojo.platformRequire=function(_57){var _58=_57.common||[];var _59=_58.concat(_57[d._name]||_57["default"]||[]);for(var x=0;x<_59.length;x++){var _5b=_59[x];if(_5b.constructor==Array){d._loadModule.apply(d,_5b);}else{d._loadModule(_5b);}}};dojo.requireIf=function(_5c,_5d){if(_5c===true){var _5e=[];for(var i=1;i<arguments.length;i++){_5e.push(arguments[i]);}d.require.apply(d,_5e);}};dojo.requireAfterIf=d.requireIf;dojo.registerModulePath=function(_60,_61){d._modulePrefixes[_60]={name:_60,value:_61};};dojo.requireLocalization=function(_62,_63,_64,_65){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 _6c=new d._Url(_a[i]+"");var _6d=new d._Url(uri[0]+"");if(_6c.path==""&&!_6c.scheme&&!_6c.authority&&!_6c.query){if(_6c.fragment!=n){_6d.fragment=_6c.fragment;}_6c=_6d;}else{if(!_6c.scheme){_6c.scheme=_6d.scheme;if(!_6c.authority){_6c.authority=_6d.authority;if(_6c.path.charAt(0)!="/"){var _6e=_6d.path.substring(0,_6d.path.lastIndexOf("/")+1)+_6c.path;var _6f=_6e.split("/");for(var j=0;j<_6f.length;j++){if(_6f[j]=="."){if(j==_6f.length-1){_6f[j]="";}else{_6f.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_6f[0]=="")&&_6f[j]==".."&&_6f[j-1]!=".."){if(j==(_6f.length-1)){_6f.splice(j,1);_6f[j-1]="";}else{_6f.splice(j-1,2);j-=2;}}}}_6c.path=_6f.join("/");}}}}uri=[];if(_6c.scheme){uri.push(_6c.scheme,":");}if(_6c.authority){uri.push("//",_6c.authority);}uri.push(_6c.path);if(_6c.query){uri.push("?",_6c.query);}if(_6c.fragment){uri.push("#",_6c.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[5];this.port=r[7]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_72,url){var loc=d._getModuleSymbols(_72).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _75=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_75==-1||_75>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};})();if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var d=dojo;if(document&&document.getElementsByTagName){var _77=document.getElementsByTagName("script");var _78=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_77.length;i++){var src=_77[i].getAttribute("src");if(!src){continue;}var m=src.match(_78);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_77[i].getAttribute("djConfig");if(cfg){var _7d=eval("({ "+cfg+" })");for(var x in _7d){dojo.config[x]=_7d[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent;var dav=n.appVersion;var tv=parseFloat(dav);d.isOpera=(dua.indexOf("Opera")>=0)?tv:0;var idx=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(idx){d.isSafari=parseFloat(dav.split("Version/")[1])||((parseFloat(dav.substr(idx+7))>=419.3)?3:2)||2;}d.isAIR=(dua.indexOf("AdobeAIR")>=0)?1:0;d.isKhtml=(dav.indexOf("Konqueror")>=0||d.isSafari)?tv:0;d.isMozilla=d.isMoz=(dua.indexOf("Gecko")>=0&&!d.isKhtml)?tv:0;d.isFF=d.isIE=0;if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1])||0;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||0;}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}var cm=document.compatMode;d.isQuirks=cm=="BackCompat"||cm=="QuirksMode"||d.isIE<6;d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _85=null;var _86=null;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_85=new XMLHttpRequest();}catch(e){}}if(!_85){for(var i=0;i<3;++i){var _88=d._XMLHTTP_PROGIDS[i];try{_85=new ActiveXObject(_88);}catch(e){_86=e;}if(_85){d._XMLHTTP_PROGIDS=[_88];break;}}}if(!_85){throw new Error("XMLHTTP not available: "+_86);}return _85;};d._isDocumentOk=function(_89){var _8a=_89.status||0;return (_8a>=200&&_8a<300)||_8a==304||_8a==1223||(!_8a&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _8b=window.location+"";var _8c=document.getElementsByTagName("base");var _8d=(_8c&&_8c.length>0);d._getText=function(uri,_8f){var _90=this._xhrObj();if(!_8d&&dojo._Url){uri=(new dojo._Url(_8b,uri)).toString();}if(d.config.cacheBust){uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_90.open("GET",uri,false);try{_90.send(null);if(!d._isDocumentOk(_90)){var err=Error("Unable to load "+uri+" status:"+_90.status);err.status=_90.status;err.responseText=_90.responseText;throw err;}}catch(e){if(_8f){return null;}throw e;}return _90.responseText;};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _93=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_93!="domcontentloaded"&&_93!="load")){return;}arguments.callee.initialized=true;if("_khtmlTimer" in dojo){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};dojo._fakeLoadInit=function(){dojo._loadInit({type:"load"});};if(dojo.config.afterOnLoad){window.setTimeout(dojo._fakeLoadInit,1000);}else{if(document.addEventListener){if(dojo.isOpera||dojo.isFF>=3||(dojo.isMoz&&dojo.config.enableMozDomContentLoaded===true)){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}if(dojo.isAIR){window.addEventListener("load",dojo._loadInit,null);}else{if(/(WebKit|khtml)/i.test(navigator.userAgent)){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}}}(function(){var _w=window;var _95=function(_96,fp){var _98=_w[_96]||function(){};_w[_96]=function(){fp.apply(_w,arguments);_98.apply(_w,arguments);};};if(dojo.isIE){if(!dojo.config.afterOnLoad){document.write("<scr"+"ipt defer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){"+dojo._scopeName+"._loadInit();}\">"+"</scr"+"ipt>");}var _99=true;_95("onbeforeunload",function(){_w.setTimeout(function(){_99=false;},0);});_95("onunload",function(){if(_99){dojo.unloaded();}});try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}catch(e){}}else{_95("onbeforeunload",function(){dojo.unloaded();});}})();}(function(){var mp=dojo.config["modulePaths"];if(mp){for(var _9b in mp){dojo.registerModulePath(_9b,mp[_9b]);}}})();if(dojo.config.isDebug){dojo.require("dojo._firebug.firebug");}if(dojo.config.debugAtAllCosts){dojo.config.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");dojo.isString=function(it){return !!arguments.length&&it!=null&&(typeof it=="string"||it instanceof String);};dojo.isArray=function(it){return it&&(it instanceof Array||typeof it=="array");};dojo.isFunction=(function(){var _9e=function(it){return it&&(typeof it=="function"||it instanceof Function);};return dojo.isSafari?function(it){if(typeof it=="function"&&it=="[object NodeList]"){return false;}return _9e(it);}:_9e;})();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(_a5,_a6){for(var i=1,l=arguments.length;i<l;i++){dojo._mixin(_a5.prototype,arguments[i]);}return _a5;};dojo._hitchArgs=function(_a9,_aa){var pre=dojo._toArray(arguments,2);var _ac=dojo.isString(_aa);return function(){var _ad=dojo._toArray(arguments);var f=_ac?(_a9||dojo.global)[_aa]:_aa;return f&&f.apply(_a9||this,pre.concat(_ad));};};dojo.hitch=function(_af,_b0){if(arguments.length>2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_b0){_b0=_af;_af=null;}if(dojo.isString(_b0)){_af=_af||dojo.global;if(!_af[_b0]){throw (["dojo.hitch: scope[\"",_b0,"\"] is null (scope=\"",_af,"\")"].join(""));}return function(){return _af[_b0].apply(_af,arguments||[]);};}return !_af?_b0:function(){return _b0.apply(_af,arguments||[]);};};dojo.delegate=dojo._delegate=function(obj,_b2){function TMP(){};TMP.prototype=obj;var tmp=new TMP();if(_b2){dojo.mixin(tmp,_b2);}return tmp;};dojo.partial=function(_b4){var arr=[null];return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));};dojo._toArray=function(obj,_b7,_b8){var arr=_b8||[];for(var x=_b7||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;}if(!dojo.isObject(o)){return o;}if(o.nodeType&&o.cloneNode){return o.cloneNode(true);}if(o instanceof Date){return new Date(o.getTime());}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;};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(_bf,_c0,_c1){var dd=arguments.callee,_c3;if(dojo.isArray(_c0)){_c3=_c0;_c0=_c3.shift();}if(_c3){dojo.forEach(_c3,function(m){if(!m){throw (_bf+": mixin #"+i+" is null");}_c0=dd._delegate(_c0,m);});}var _c5=(_c1||0).constructor,_c6=dd._delegate(_c0),fn;for(var i in _c1){if(dojo.isFunction(fn=_c1[i])&&!0[i]){fn.nom=i;}}dojo.extend(_c6,{declaredClass:_bf,_constructor:_c5,preamble:null},_c1||0);_c6.prototype.constructor=_c6;return dojo.setObject(_bf,_c6);};dojo.mixin(dojo.declare,{_delegate:function(_c9,_ca){var bp=(_c9||0).prototype,mp=(_ca||0).prototype;var _cd=dojo.declare._makeCtor();dojo.mixin(_cd,{superclass:bp,mixin:mp,extend:dojo.declare._extend});if(_c9){_cd.prototype=dojo._delegate(bp);}dojo.extend(_cd,dojo.declare._core,mp||0,{_constructor:null,preamble:null});_cd.prototype.constructor=_cd;_cd.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;return _cd;},_extend:function(_ce){for(var i in _ce){if(dojo.isFunction(fn=_ce[i])&&!0[i]){fn.nom=i;}}dojo.extend(this,_ce);},_makeCtor:function(){return function(){this._construct(arguments);};},_core:{_construct:function(_d0){var c=_d0.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=_d0,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,_d0);}if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){ct.apply(this,_d0);}},_findMixin:function(_d9){var c=this.constructor,p,m;while(c){p=c.superclass;m=c.mixin;if(m==_d9||(m instanceof _d9.constructor)){return p;}if(m&&(m=m._findMixin(_d9))){return m;}c=p&&p.constructor;}},_findMethod:function(_dd,_de,_df,has){var p=_df,c,m,f;do{c=p.constructor;m=c.mixin;if(m&&(m=this._findMethod(_dd,_de,m,has))){return m;}if((f=p[_dd])&&(has==(f==_de))){return p;}p=c.superclass;}while(p);return !has&&(p=this._findMixin(_df))&&this._findMethod(_dd,_de,p,has);},inherited:function(_e5,_e6,_e7){var a=arguments;if(!dojo.isString(a[0])){_e7=_e6;_e6=_e5;_e5=_e6.callee.nom;}a=_e7||_e6;var c=_e6.callee,p=this.constructor.prototype,fn,mp;if(this[_e5]!=c||p[_e5]==c){mp=this._findMethod(_e5,c,p,true);if(!mp){throw (this.declaredClass+": inherited method \""+_e5+"\" mismatch");}p=this._findMethod(_e5,c,mp,false);}fn=p&&p[_e5];if(!fn){throw (mp.declaredClass+": inherited method \""+_e5+"\" not found");}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(_f3,_f4,_f5){_f3=_f3||dojo.global;var f=_f3[_f4];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_f3[_f4]=d;}return f._listeners.push(_f5);},remove:function(_f8,_f9,_fa){var f=(_f8||dojo.global)[_f9];if(f&&f._listeners&&_fa--){delete f._listeners[_fa];}}};dojo.connect=function(obj,_fd,_fe,_ff,_100){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,_106,_107,_108){var l=dojo._listener,h=l.add(obj,_106,dojo.hitch(_107,_108));return [obj,_106,h,l];};dojo.disconnect=function(_10b){if(_10b&&_10b[0]!==undefined){dojo._disconnect.apply(this,_10b);delete _10b[0];}};dojo._disconnect=function(obj,_10d,_10e,_10f){_10f.remove(obj,_10d,_10e);};dojo._topics={};dojo.subscribe=function(_110,_111,_112){return [_110,dojo._listener.add(dojo._topics,_110,dojo.hitch(_111,_112))];};dojo.unsubscribe=function(_113){if(_113){dojo._listener.remove(dojo._topics,_113[0],_113[1]);}};dojo.publish=function(_114,args){var f=dojo._topics[_114];if(f){f.apply(this,args||[]);}};dojo.connectPublisher=function(_117,obj,_119){var pf=function(){dojo.publish(_117,arguments);};return (_119)?dojo.connect(obj,_119,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(_11b){this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=_11b;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 _124=dojo.hitch.apply(dojo,arguments);return this.addCallbacks(_124,_124);},addCallback:function(cb,cbfn){return this.addCallbacks(dojo.hitch.apply(dojo,arguments));},addErrback:function(cb,cbfn){return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments));},addCallbacks:function(cb,eb){this.chain.push([cb,eb]);if(this.fired>=0){this._fire();}return this;},_fire:function(){var _12b=this.chain;var _12c=this.fired;var res=this.results[_12c];var self=this;var cb=null;while((_12b.length>0)&&(this.paused==0)){var f=_12b.shift()[_12c];if(!f){continue;}try{res=f(res);_12c=((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);_12c=1;res=err;}}this.fired=_12c;this.results[_12c]=res;if((cb)&&(this.paused)){res.addBoth(cb);}}});}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(json){return eval("("+json+")");};dojo._escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_135,_136){if(it===undefined){return "undefined";}var _137=typeof it;if(_137=="number"||_137=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}if(it.nodeType&&it.cloneNode){return "";}var _138=arguments.callee;var _139;_136=_136||"";var _13a=_135?_136+dojo.toJsonIndentStr:"";if(typeof it.__json__=="function"){_139=it.__json__();if(it!==_139){return _138(_139,_135,_13a);}}if(typeof it.json=="function"){_139=it.json();if(it!==_139){return _138(_139,_135,_13a);}}var sep=_135?" ":"";var _13c=_135?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_138(obj,_135,_13a);if(typeof val!="string"){val="undefined";}return _13c+_13a+val;});return "["+res.join(","+sep)+_13c+_136+"]";}if(_137=="function"){return null;}var _140=[];for(var key in it){var _142;if(typeof key=="number"){_142="\""+key+"\"";}else{if(typeof key=="string"){_142=dojo._escapeString(key);}else{continue;}}val=_138(it[key],_135,_13a);if(typeof val!="string"){continue;}_140.push(_13c+_13a+_142+":"+sep+val);}return "{"+_140.join(","+sep)+_13c+_136+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _143=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(_147,_148,_149,_14a){var step=1,end=_147.length||0,i=0;if(_14a){i=end-1;step=end=-1;}if(_149!=undefined){i=_149;}if((_14a&&i>end)||i<end){for(;i!=end;i+=step){if(_147[i]==_148){return i;}}}return -1;},lastIndexOf:function(_14d,_14e,_14f){return dojo.indexOf(_14d,_14e,_14f,true);},forEach:function(arr,_151,_152){if(!arr||!arr.length){return;}var _p=_143(arr,_152,_151);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(_156,arr,_158,_159){var _p=_143(arr,_159,_158);arr=_p[0];for(var i=0,l=arr.length;i<l;i++){var _15d=!!_p[2].call(_p[1],arr[i],i,arr);if(_156^_15d){return _15d;}}return _156;},every:function(arr,_15f,_160){return this._everyOrSome(true,arr,_15f,_160);},some:function(arr,_162,_163){return this._everyOrSome(false,arr,_162,_163);},map:function(arr,_165,_166){var _p=_143(arr,_166,_165);arr=_p[0];var _168=(arguments[3]?(new arguments[3]()):[]);for(var i=0;i<arr.length;++i){_168.push(_p[2].call(_p[1],arr[i],i,arr));}return _168;},filter:function(arr,_16b,_16c){var _p=_143(arr,_16c,_16b);arr=_p[0];var _16e=[];for(var i=0;i<arr.length;i++){if(_p[2].call(_p[1],arr[i],i,arr)){_16e.push(arr[i]);}}return _16e;}});})();}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");dojo.Color=function(_170){if(_170){this.setColor(_170);}};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(_176){var d=dojo;if(d.isString(_176)){d.colorFromString(_176,this);}else{if(d.isArray(_176)){d.colorFromArray(_176,this);}else{this._set(_176.r,_176.g,_176.b,_176.a);if(!(_176 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(_17d){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_17d?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_180,end,_182,obj){var d=dojo,t=obj||new dojo.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_180[x]+(end[x]-_180[x])*_182;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_187,obj){var m=_187.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_18a,obj){var d=dojo,t=obj||new d.Color(),bits=(_18a.length==4)?4:8,mask=(1<<bits)-1;_18a=Number("0x"+_18a.substr(1));if(isNaN(_18a)){return null;}d.forEach(["b","g","r"],function(x){var c=_18a&mask;_18a>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new dojo.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=dojo.Color.named[str];return a&&dojo.colorFromArray(a,obj)||dojo.colorFromRgb(str,obj)||dojo.colorFromHex(str,obj);};}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo._gearsObject=function(){var _198;var _199;var _19a=dojo.getObject("google.gears");if(_19a){return _19a;}if(typeof GearsFactory!="undefined"){_198=new GearsFactory();}else{if(dojo.isIE){try{_198=new ActiveXObject("Gears.Factory");}catch(e){}}else{if(navigator.mimeTypes["application/x-googlegears"]){_198=document.createElement("object");_198.setAttribute("type","application/x-googlegears");_198.setAttribute("width",0);_198.setAttribute("height",0);_198.style.display="none";document.documentElement.appendChild(_198);}}}if(!_198){return null;}dojo.setObject("google.gears.factory",_198);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(_19b,_19c){dojo.global=_19b;dojo.doc=_19c;};dojo._fireCallback=function(_19d,_19e,_19f){if(_19e&&dojo.isString(_19d)){_19d=_19e[_19d];}return _19d.apply(_19e,_19f||[]);};dojo.withGlobal=function(_1a0,_1a1,_1a2,_1a3){var rval;var _1a5=dojo.global;var _1a6=dojo.doc;try{dojo.setContext(_1a0,_1a0.document);rval=dojo._fireCallback(_1a1,_1a2,_1a3);}finally{dojo.setContext(_1a5,_1a6);}return rval;};dojo.withDoc=function(_1a7,_1a8,_1a9,_1aa){var rval;var _1ac=dojo.doc;try{dojo.doc=_1a7;rval=dojo._fireCallback(_1a8,_1a9,_1aa);}finally{dojo.doc=_1ac;}return rval;};}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");(function(){var del=(dojo._event_listener={add:function(node,name,fp){if(!node){return;}name=del._normalizeEventName(name);fp=del._fixCallback(name,fp);var _1b1=name;if(!dojo.isIE&&(name=="mouseenter"||name=="mouseleave")){var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){if(!dojo.isDescendant(e.relatedTarget,node)){return ofp.call(this,e);}};}node.addEventListener(name,fp,false);return fp;},remove:function(node,_1b5,_1b6){if(node){node.removeEventListener(del._normalizeEventName(_1b5),_1b6,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,_1bc){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,_1bf){return del._fixEvent(evt,_1bf);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _1c1=dojo._listener;dojo._connect=function(obj,_1c3,_1c4,_1c5,_1c6){var _1c7=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=!_1c7?0:(!_1c6?1:2),l=[dojo._listener,del,_1c1][lid];var h=l.add(obj,_1c3,dojo.hitch(_1c4,_1c5));return [obj,_1c3,h,lid];};dojo._disconnect=function(obj,_1cc,_1cd,_1ce){([dojo._listener,del,_1c1][_1ce]).remove(obj,_1cc,_1cd);};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 _1cf=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;if(!dojo.config._allow_leaks){_1c1=iel=dojo._ie_listener={handlers:[],add:function(_1d3,_1d4,_1d5){_1d3=_1d3||dojo.global;var f=_1d3[_1d4];if(!f||!f._listeners){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d._listeners=[];f=_1d3[_1d4]=d;}return f._listeners.push(ieh.push(_1d5)-1);},remove:function(_1d9,_1da,_1db){var f=(_1d9||dojo.global)[_1da],l=f&&f._listeners;if(f&&l&&_1db--){delete ieh[l[_1db]];delete l[_1db];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_1df,fp){if(!node){return;}_1df=del._normalizeEventName(_1df);if(_1df=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd._listeners||!kd._stealthKeydownHandle){var h=del.add(node,"onkeydown",del._stealthKeyDown);kd=node.onkeydown;kd._stealthKeydownHandle=h;kd._stealthKeydownRefs=1;}else{kd._stealthKeydownRefs++;}}return iel.add(node,_1df,del._fixCallback(fp));},remove:function(node,_1e4,_1e5){_1e4=del._normalizeEventName(_1e4);iel.remove(node,_1e4,_1e5);if(_1e4=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_1e7){return _1e7.slice(0,2)!="on"?"on"+_1e7:_1e7;},_nop:function(){},_fixEvent:function(evt,_1e9){if(!evt){var w=_1e9&&(_1e9.ownerDocument||_1e9.document||_1e9).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_1e9||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _1ed=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _1ee=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_1ed.scrollLeft||0)-_1ee.x;evt.pageY=evt.clientY+(_1ed.scrollTop||0)-_1ee.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 _1f4=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_1f4||evt.ctrlKey){var c=_1f4?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;_1cf(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_1cf(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,_1f9){var faux=dojo.mixin({},evt,_1f9);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_1fc){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,_1ff){switch(evt.type){case "keypress":var c=evt.charCode,s=evt.shiftKey,k=evt.keyCode;k=k||_203[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,_203={"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._ieDispatcher=function(args,_206){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=args.callee,ls=c._listeners,t=h[c.target];var r=t&&t.apply(_206,args);for(var i in ls){if(!(i in ap)){h[ls[i]].apply(_206,args);}}return r;};dojo._getIeDispatcher=function(){return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)");};dojo._event_listener._fixCallback=function(fp){var f=dojo._event_listener._fixEvent;return function(e){return fp.call(this,f(e,this));};};}}if(!dojo._hasResource["dojo._base.html"]){dojo._hasResource["dojo._base.html"]=true;dojo.provide("dojo._base.html");try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}if(dojo.isIE||dojo.isOpera){dojo.byId=function(id,doc){if(dojo.isString(id)){var _d=doc||dojo.doc;var te=_d.getElementById(id);if(te&&te.attributes.id.value==id){return te;}else{var eles=_d.all[id];if(!eles||!eles.length){return eles;}var i=0;while((te=eles[i++])){if(te.attributes.id.value==id){return te;}}}}else{return id;}};}else{dojo.byId=function(id,doc){return dojo.isString(id)?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var _21a=null;dojo.addOnUnload(function(){_21a=null;});dojo._destroyElement=function(node){node=d.byId(node);try{if(!_21a){_21a=document.createElement("div");}_21a.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_21a.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_21d){try{node=d.byId(node);_21d=d.byId(_21d);while(node){if(node===_21d){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_21f){node=d.byId(node);if(d.isMozilla){node.style.MozUserSelect=_21f?"":"none";}else{if(d.isKhtml){node.style.KhtmlUserSelect=_21f?"auto":"none";}else{if(d.isIE){node.unselectable=_21f?"":"on";d.query("*",node).forEach(function(_220){_220.unselectable=_21f?"":"on";});}}}};var _221=function(node,ref){ref.parentNode.insertBefore(node,ref);return true;};var _224=function(node,ref){var pn=ref.parentNode;if(ref==pn.lastChild){pn.appendChild(node);}else{return _221(node,ref.nextSibling);}return true;};dojo.place=function(node,_229,_22a){if(!node||!_229||_22a===undefined){return false;}node=d.byId(node);_229=d.byId(_229);if(typeof _22a=="number"){var cn=_229.childNodes;if((_22a==0&&cn.length==0)||cn.length==_22a){_229.appendChild(node);return true;}if(_22a==0){return _221(node,_229.firstChild);}return _224(node,cn[_22a-1]);}switch(_22a.toLowerCase()){case "before":return _221(node,_229);case "after":return _224(node,_229);case "first":if(_229.firstChild){return _221(node,_229.firstChild);}default:_229.appendChild(node);return true;}};dojo.boxModel="content-box";if(d.isIE){var _dcm=document.compatMode;d.boxModel=_dcm=="BackCompat"||_dcm=="QuirksMode"||d.isIE<6?"border-box":"content-box";}var gcs,dv=document.defaultView;if(d.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(d.isIE){gcs=function(node){return node.currentStyle;};}else{gcs=function(node){return dv.getComputedStyle(node,null);};}}dojo.getComputedStyle=gcs;if(!d.isIE){dojo._toPixelValue=function(_233,_234){return parseFloat(_234)||0;};}else{dojo._toPixelValue=function(_235,_236){if(!_236){return 0;}if(_236=="medium"){return 4;}if(_236.slice&&(_236.slice(-2)=="px")){return parseFloat(_236);}with(_235){var _237=style.left;var _238=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_236;_236=style.pixelLeft;}catch(e){_236=0;}style.left=_237;runtimeStyle.left=_238;}return _236;};}var px=d._toPixelValue;dojo._getOpacity=d.isIE?function(node){try{return node.filters.alpha.opacity/100;}catch(e){return 1;}}:function(node){return gcs(node).opacity;};dojo._setOpacity=d.isIE?function(node,_23d){if(_23d==1){var _23e=/FILTER:[^;]*;?/i;node.style.cssText=node.style.cssText.replace(_23e,"");if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){i.style.cssText=i.style.cssText.replace(_23e,"");});}}else{var o="Alpha(Opacity="+_23d*100+")";node.style.filter=o;}if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){i.style.filter=o;});}return _23d;}:function(node,_243){return node.style.opacity=_243;};var _244={left:true,top:true};var _245=/margin|padding|width|height|max|min|offset/;var _246=function(node,type,_249){type=type.toLowerCase();if(d.isIE&&_249=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(!(type in _244)){_244[type]=_245.test(type);}return _244[type]?px(node,_249):_249;};var _24a=d.isIE?"styleFloat":"cssFloat";var _24b={"cssFloat":_24a,"styleFloat":_24a,"float":_24a};dojo.style=function(node,_24d,_24e){var n=d.byId(node),args=arguments.length,op=(_24d=="opacity");_24d=_24b[_24d]||_24d;if(args==3){return op?d._setOpacity(n,_24e):n.style[_24d]=_24e;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&!d.isString(_24d)){for(var x in _24d){d.style(node,x,_24d[x]);}return s;}return (args==1)?s:_246(n,_24d,s[_24d]);};dojo._getPadExtents=function(n,_255){var s=_255||gcs(n),l=px(n,s.paddingLeft),t=px(n,s.paddingTop);return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};};dojo._getBorderExtents=function(n,_25a){var ne="none",s=_25a||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,_260){var s=_260||gcs(n),p=d._getPadExtents(n,s),b=d._getBorderExtents(n,s);return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};};dojo._getMarginExtents=function(n,_265){var s=_265||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isSafari&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_26c){var s=_26c||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t;if(d.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=d._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else{if(d.isOpera){var p=node.parentNode;if(p){var be=d._getBorderExtents(p);l-=be.l,t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_277){var s=_277||gcs(node),pe=d._getPadExtents(node,s),be=d._getBorderExtents(node,s),w=node.clientWidth,h;if(!w){w=node.offsetWidth,h=node.offsetHeight;}else{h=node.clientHeight,be.w=be.h=0;}if(d.isOpera){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};dojo._getBorderBox=function(node,_27e){var s=_27e||gcs(node),pe=d._getPadExtents(node,s),cb=d._getContentBox(node,s);return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};};dojo._setBox=function(node,l,t,w,h,u){u=u||"px";var s=node.style;if(!isNaN(l)){s.left=l+u;}if(!isNaN(t)){s.top=t+u;}if(w>=0){s.width=w+u;}if(h>=0){s.height=h+u;}};dojo._usesBorderBox=function(node){var n=node.tagName;return d.boxModel=="border-box"||n=="TABLE"||n=="BUTTON";};dojo._setContentSize=function(node,_28c,_28d,_28e){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_28e);if(_28c>=0){_28c+=pb.w;}if(_28d>=0){_28d+=pb.h;}}d._setBox(node,NaN,NaN,_28c,_28d);};dojo._setMarginBox=function(node,_291,_292,_293,_294,_295){var s=_295||gcs(node);var bb=d._usesBorderBox(node),pb=bb?_299:d._getPadBorderExtents(node,s),mb=d._getMarginExtents(node,s);if(_293>=0){_293=Math.max(_293-pb.w-mb.w,0);}if(_294>=0){_294=Math.max(_294-pb.h-mb.h,0);}d._setBox(node,_291,_292,_293,_294);};var _299={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=dojo.byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _2a5=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_2a9=0,_b=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_2a9+=val-0;if(node==_b){break;}}node=node.parentNode;}return _2a9;};dojo._docScroll=function(){var _b=d.body(),_w=d.global,de=d.doc.documentElement;return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||d._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};};dojo._isBodyLtr=function(){return !("_bodyLtr" in d)?d._bodyLtr=gcs(d.body()).direction=="ltr":d._bodyLtr;};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;return (d.isIE>=7)?{x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top}:{x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};};dojo._fixIeBiDiScrollLeft=function(_2af){var dd=d.doc;if(d.isIE&&!dojo._isBodyLtr()){var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;return _2af+de.clientWidth-de.scrollWidth;}return _2af;};dojo._abs=function(node,_2b3){var _2b4=node.ownerDocument;var ret={x:0,y:0};var db=d.body();if(d.isIE||(d.isFF>=3)){var _2b7=node.getBoundingClientRect();var _2b8=(d.isIE)?d._getIeDocumentElementOffset():{x:0,y:0};ret.x=_2b7.left-_2b8.x;ret.y=_2b7.top-_2b8.y;}else{if(_2b4["getBoxObjectFor"]){var bo=_2b4.getBoxObjectFor(node),b=d._getBorderExtents(node);ret.x=bo.x-b.l-_2a5(node,"scrollLeft");ret.y=bo.y-b.t-_2a5(node,"scrollTop");}else{if(node["offsetParent"]){var _2bb;if(d.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){_2bb=db;}else{_2bb=db.parentNode;}if(node.parentNode!=db){var nd=node;if(d.isOpera){nd=db;}ret.x-=_2a5(nd,"scrollLeft");ret.y-=_2a5(nd,"scrollTop");}var _2bd=node;do{var n=_2bd.offsetLeft;if(!d.isOpera||n>0){ret.x+=isNaN(n)?0:n;}var t=_2bd.offsetTop;ret.y+=isNaN(t)?0:t;if(d.isSafari&&_2bd!=node){var cs=gcs(_2bd);ret.x+=px(_2bd,cs.borderLeftWidth);ret.y+=px(_2bd,cs.borderTopWidth);}_2bd=_2bd.offsetParent;}while((_2bd!=_2bb)&&_2bd);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}}if(_2b3){var _2c1=d._docScroll();ret.y+=_2c1.y;ret.x+=_2c1.x;}return ret;};dojo.coords=function(node,_2c3){var n=d.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d._abs(n,_2c3);mb.x=abs.x;mb.y=abs.y;return mb;};var _2c8=function(name){switch(name.toLowerCase()){case "tabindex":return (d.isIE&&d.isIE<8)?"tabIndex":"tabindex";default:return name;}};var _2ca={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType"};dojo.hasAttr=function(node,name){var attr=d.byId(node).getAttributeNode(_2c8(name));return attr?attr.specified:false;};var _2ce={};var _ctr=0;var _2d0=dojo._scopeName+"attrid";dojo.attr=function(node,name,_2d3){var args=arguments.length;if(args==2&&!d.isString(name)){for(var x in name){d.attr(node,x,name[x]);}return;}node=d.byId(node);name=_2c8(name);if(args==3){if(d.isFunction(_2d3)){var _2d6=d.attr(node,_2d0);if(!_2d6){_2d6=_ctr++;d.attr(node,_2d0,_2d6);}if(!_2ce[_2d6]){_2ce[_2d6]={};}var h=_2ce[_2d6][name];if(h){d.disconnect(h);}else{try{delete node[name];}catch(e){}}_2ce[_2d6][name]=d.connect(node,name,_2d3);}else{if(typeof _2d3=="boolean"){node[name]=_2d3;}else{node.setAttribute(name,_2d3);}}return;}else{var prop=_2ca[name.toLowerCase()];if(prop){return node[prop];}else{var _2d3=node[name];return (typeof _2d3=="boolean"||typeof _2d3=="function")?_2d3:(d.hasAttr(node,name)?node.getAttribute(name):null);}}};dojo.removeAttr=function(node,name){d.byId(node).removeAttribute(_2c8(name));};})();dojo.hasClass=function(node,_2dc){return ((" "+dojo.byId(node).className+" ").indexOf(" "+_2dc+" ")>=0);};dojo.addClass=function(node,_2de){node=dojo.byId(node);var cls=node.className;if((" "+cls+" ").indexOf(" "+_2de+" ")<0){node.className=cls+(cls?" ":"")+_2de;}};dojo.removeClass=function(node,_2e1){node=dojo.byId(node);var t=dojo.trim((" "+node.className+" ").replace(" "+_2e1+" "," "));if(node.className!=t){node.className=t;}};dojo.toggleClass=function(node,_2e4,_2e5){if(_2e5===undefined){_2e5=!dojo.hasClass(node,_2e4);}dojo[_2e5?"addClass":"removeClass"](node,_2e4);};}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var d=dojo;var tnl=function(arr){arr.constructor=dojo.NodeList;dojo._mixin(arr,dojo.NodeList.prototype);return arr;};var _2e9=function(func,_2eb){return function(){var _a=arguments;var aa=d._toArray(_a,0,[null]);var s=this.map(function(i){aa[0]=i;return d[func].apply(d,aa);});return (_2eb||((_a.length>1)||!d.isString(_a[0])))?this:s;};};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};dojo.NodeList._wrap=tnl;dojo.extend(dojo.NodeList,{slice:function(){var a=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(_2f3,_2f4){return d.indexOf(this,_2f3,_2f4);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_2f5,_2f6){return d.every(this,_2f5,_2f6);},some:function(_2f7,_2f8){return d.some(this,_2f7,_2f8);},map:function(func,obj){return d.map(this,func,obj,d.NodeList);},forEach:function(_2fb,_2fc){d.forEach(this,_2fb,_2fc);return this;},coords:function(){return d.map(this,d.coords);},attr:_2e9("attr"),style:_2e9("style"),addClass:_2e9("addClass",true),removeClass:_2e9("removeClass",true),toggleClass:_2e9("toggleClass",true),connect:_2e9("connect",true),place:function(_2fd,_2fe){var item=d.query(_2fd)[0];return this.forEach(function(i){d.place(i,item,(_2fe||"last"));});},orphan:function(_301){var _302=_301?d._filterQueryResult(this,_301):this;_302.forEach(function(item){if(item.parentNode){item.parentNode.removeChild(item);}});return _302;},adopt:function(_304,_305){var item=this[0];return d.query(_304).forEach(function(ai){d.place(ai,item,_305||"last");});},query:function(_308){if(!_308){return this;}var ret=d.NodeList();this.forEach(function(item){d.query(_308,item).forEach(function(_30b){if(_30b!==undefined){ret.push(_30b);}});});return ret;},filter:function(_30c){var _30d=this;var _a=arguments;var r=d.NodeList();var rp=function(t){if(t!==undefined){r.push(t);}};if(d.isString(_30c)){_30d=d._filterQueryResult(this,_a[0]);if(_a.length==1){return _30d;}_a.shift();}d.forEach(d.filter(_30d,_a[0],_a[1]),rp);return r;},addContent:function(_312,_313){var ta=d.doc.createElement("span");if(d.isString(_312)){ta.innerHTML=_312;}else{ta.appendChild(_312);}if(_313===undefined){_313="last";}var ct=(_313=="first"||_313=="after")?"lastChild":"firstChild";this.forEach(function(item){var tn=ta.cloneNode(true);while(tn[ct]){d.place(tn[ct],item,_313);}});return this;},empty:function(){return this.forEach("item.innerHTML='';");},instantiate:function(_318,_319){var c=d.isFunction(_318)?_318:d.getObject(_318);return this.forEach(function(i){new c(_319||{},i);});}});d.forEach(["blur","focus","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 _321=dojo.isIE?"children":"childNodes";var _322=false;var _323=function(_324){if(">~+".indexOf(_324.charAt(_324.length-1))>=0){_324+=" *";}_324+=" ";var ts=function(s,e){return d.trim(_324.slice(s,e));};var _328=[];var _329=-1;var _32a=-1;var _32b=-1;var _32c=-1;var _32d=-1;var inId=-1;var _32f=-1;var lc="";var cc="";var _332;var x=0;var ql=_324.length;var _335=null;var _cp=null;var _337=function(){if(_32f>=0){var tv=(_32f==x)?null:ts(_32f,x).toLowerCase();_335[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;_32f=-1;}};var _339=function(){if(inId>=0){_335.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _33a=function(){if(_32d>=0){_335.classes.push(ts(_32d+1,x).replace(/\\/g,""));_32d=-1;}};var _33b=function(){_339();_337();_33a();};for(;lc=cc,cc=_324.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_335){_332=x;_335={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null};_32f=x;}if(_329>=0){if(cc=="]"){if(!_cp.attr){_cp.attr=ts(_329+1,x);}else{_cp.matchFor=ts((_32b||_329+1),x);}var cmf=_cp.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_cp.matchFor=cmf.substring(1,cmf.length-1);}}_335.attrs.push(_cp);_cp=null;_329=_32b=-1;}else{if(cc=="="){var _33d=("|~^$*".indexOf(lc)>=0)?lc:"";_cp.type=_33d+cc;_cp.attr=ts(_329+1,x-_33d.length);_32b=x+1;}}}else{if(_32a>=0){if(cc==")"){if(_32c>=0){_cp.value=ts(_32a+1,x);}_32c=_32a=-1;}}else{if(cc=="#"){_33b();inId=x+1;}else{if(cc=="."){_33b();_32d=x;}else{if(cc==":"){_33b();_32c=x;}else{if(cc=="["){_33b();_329=x;_cp={};}else{if(cc=="("){if(_32c>=0){_cp={name:ts(_32c+1,x),value:null};_335.pseudos.push(_cp);}_32a=x;}else{if(cc==" "&&lc!=cc){_33b();if(_32c>=0){_335.pseudos.push({name:ts(_32c+1,x)});}_335.hasLoops=(_335.pseudos.length||_335.attrs.length||_335.classes.length);_335.query=ts(_332,x);_335.tag=(_335["oper"])?null:(_335.tag||"*");_328.push(_335);_335=null;}}}}}}}}}return _328;};var _33e={"*=":function(attr,_340){return "[contains(@"+attr+", '"+_340+"')]";},"^=":function(attr,_342){return "[starts-with(@"+attr+", '"+_342+"')]";},"$=":function(attr,_344){return "[substring(@"+attr+", string-length(@"+attr+")-"+(_344.length-1)+")='"+_344+"']";},"~=":function(attr,_346){return "[contains(concat(' ',@"+attr+",' '), ' "+_346+" ')]";},"|=":function(attr,_348){return "[contains(concat(' ',@"+attr+",' '), ' "+_348+"-')]";},"=":function(attr,_34a){return "[@"+attr+"='"+_34a+"']";}};var _34b=function(_34c,_34d,_34e,_34f){d.forEach(_34d.attrs,function(attr){var _351;if(attr.type&&_34c[attr.type]){_351=_34c[attr.type](attr.attr,attr.matchFor);}else{if(attr.attr.length){_351=_34e(attr.attr);}}if(_351){_34f(_351);}});};var _352=function(_353){var _354=".";var _355=_323(d.trim(_353));while(_355.length){var tqp=_355.shift();var _357;var _358="";if(tqp.oper==">"){_357="/";tqp=_355.shift();}else{if(tqp.oper=="~"){_357="/following-sibling::";tqp=_355.shift();}else{if(tqp.oper=="+"){_357="/following-sibling::";_358="[position()=1]";tqp=_355.shift();}else{_357="//";}}}_354+=_357+tqp.tag+_358;if(tqp.id){_354+="[@id='"+tqp.id+"'][1]";}d.forEach(tqp.classes,function(cn){var cnl=cn.length;var _35b=" ";if(cn.charAt(cnl-1)=="*"){_35b="";cn=cn.substr(0,cnl-1);}_354+="[contains(concat(' ',@class,' '), ' "+cn+_35b+"')]";});_34b(_33e,tqp,function(_35c){return "[@"+_35c+"]";},function(_35d){_354+=_35d;});}return _354;};var _35e={};var _35f=function(path){if(_35e[path]){return _35e[path];}var doc=d.doc;var _362=_352(path);var tf=function(_364){var ret=[];var _366;try{_366=doc.evaluate(_362,_364,null,XPathResult.ANY_TYPE,null);}catch(e){console.debug("failure in exprssion:",_362,"under:",_364);console.debug(e);}var _367=_366.iterateNext();while(_367){ret.push(_367);_367=_366.iterateNext();}return ret;};return _35e[path]=tf;};var _368={};var _369={};var _36a=function(_36b,_36c){if(!_36b){return _36c;}if(!_36c){return _36b;}return function(){return _36b.apply(window,arguments)&&_36c.apply(window,arguments);};};var _36d=function(root){var ret=[];var te,x=0,tret=root[_321];while(te=tret[x++]){if(te.nodeType==1){ret.push(te);}}return ret;};var _373=function(root,_375){var ret=[];var te=root;while(te=te.nextSibling){if(te.nodeType==1){ret.push(te);if(_375){break;}}}return ret;};var _378=function(_379,_37a,_37b,idx){var nidx=idx+1;var _37e=(_37a.length==nidx);var tqp=_37a[idx];if(tqp.oper){var ecn=(tqp.oper==">")?_36d(_379):_373(_379,(tqp.oper=="+"));if(!ecn||!ecn.length){return;}nidx++;_37e=(_37a.length==nidx);var tf=_382(_37a[idx+1]);for(var x=0,ecnl=ecn.length,te;x<ecnl,te=ecn[x];x++){if(tf(te)){if(_37e){_37b.push(te);}else{_378(te,_37a,_37b,nidx);}}}}var _386=_387(tqp)(_379);if(_37e){while(_386.length){_37b.push(_386.shift());}}else{while(_386.length){_378(_386.shift(),_37a,_37b,nidx);}}};var _388=function(_389,_38a){var ret=[];var x=_389.length-1,te;while(te=_389[x--]){_378(te,_38a,ret,0);}return ret;};var _382=function(q){if(_368[q.query]){return _368[q.query];}var ff=null;if(q.tag){if(q.tag=="*"){ff=_36a(ff,function(elem){return (elem.nodeType==1);});}else{ff=_36a(ff,function(elem){return ((elem.nodeType==1)&&(q.tag==elem.tagName.toLowerCase()));});}}if(q.id){ff=_36a(ff,function(elem){return ((elem.nodeType==1)&&(elem.id==q.id));});}if(q.hasLoops){ff=_36a(ff,_393(q));}return _368[q.query]=ff;};var _394=function(node){var pn=node.parentNode;var pnc=pn.childNodes;var nidx=-1;var _399=pn.firstChild;if(!_399){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(_399===node){nidx=idx;}if(_399.nodeType==1){_399["__cachedIndex"]=idx;idx++;}_399=_399.nextSibling;}while(_399);}else{nidx=ci;}return nidx;};var _39d=0;var _39e="";var _39f=function(elem,attr){if(attr=="class"){return elem.className||_39e;}if(attr=="for"){return elem.htmlFor||_39e;}return elem.getAttribute(attr,2)||_39e;};var _3a2={"*=":function(attr,_3a4){return function(elem){return (_39f(elem,attr).indexOf(_3a4)>=0);};},"^=":function(attr,_3a7){return function(elem){return (_39f(elem,attr).indexOf(_3a7)==0);};},"$=":function(attr,_3aa){var tval=" "+_3aa;return function(elem){var ea=" "+_39f(elem,attr);return (ea.lastIndexOf(_3aa)==(ea.length-_3aa.length));};},"~=":function(attr,_3af){var tval=" "+_3af+" ";return function(elem){var ea=" "+_39f(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3b4){var _3b5=" "+_3b4+"-";return function(elem){var ea=" "+(elem.getAttribute(attr,2)||"");return ((ea==_3b4)||(ea.indexOf(_3b5)==0));};},"=":function(attr,_3b9){return function(elem){return (_39f(elem,attr)==_3b9);};}};var _3bb={"first-child":function(name,_3bd){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,_3c1){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,_3c5){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt==1)||(nt==3)){return false;}}return true;};},"contains":function(name,_3cc){return function(elem){return (elem.innerHTML.indexOf(_3cc)>=0);};},"not":function(name,_3cf){var ntf=_382(_323(_3cf)[0]);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3d3){var pi=parseInt;if(_3d3=="odd"){return function(elem){return (((_394(elem))%2)==1);};}else{if((_3d3=="2n")||(_3d3=="even")){return function(elem){return ((_394(elem)%2)==0);};}else{if(_3d3.indexOf("0n+")==0){var _3d7=pi(_3d3.substr(3));return function(elem){return (elem.parentNode[_321][_3d7-1]===elem);};}else{if((_3d3.indexOf("n+")>0)&&(_3d3.length>3)){var _3d9=_3d3.split("n+",2);var pred=pi(_3d9[0]);var idx=pi(_3d9[1]);return function(elem){return ((_394(elem)%pred)==idx);};}else{if(_3d3.indexOf("n")==-1){var _3d7=pi(_3d3);return function(elem){return (_394(elem)==_3d7);};}}}}}}};var _3de=(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 _393=function(_3e4){var _3e5=(_369[_3e4.query]||_368[_3e4.query]);if(_3e5){return _3e5;}var ff=null;if(_3e4.id){if(_3e4.tag!="*"){ff=_36a(ff,function(elem){return (elem.tagName.toLowerCase()==_3e4.tag);});}}d.forEach(_3e4.classes,function(_3e8,idx,arr){var _3eb=_3e8.charAt(_3e8.length-1)=="*";if(_3eb){_3e8=_3e8.substr(0,_3e8.length-1);}var re=new RegExp("(?:^|\\s)"+_3e8+(_3eb?".*":"")+"(?:\\s|$)");ff=_36a(ff,function(elem){return re.test(elem.className);});ff.count=idx;});d.forEach(_3e4.pseudos,function(_3ee){if(_3bb[_3ee.name]){ff=_36a(ff,_3bb[_3ee.name](_3ee.name,_3ee.value));}});_34b(_3a2,_3e4,_3de,function(_3ef){ff=_36a(ff,_3ef);});if(!ff){ff=function(){return true;};}return _369[_3e4.query]=ff;};var _3f0={};var _387=function(_3f1,root){var fHit=_3f0[_3f1.query];if(fHit){return fHit;}if(_3f1.id&&!_3f1.hasLoops&&!_3f1.tag){return _3f0[_3f1.query]=function(root){return [d.byId(_3f1.id)];};}var _3f5=_393(_3f1);var _3f6;if(_3f1.tag&&_3f1.id&&!_3f1.hasLoops){_3f6=function(root){var te=d.byId(_3f1.id);if(_3f5(te)){return [te];}};}else{var tret;if(!_3f1.hasLoops){_3f6=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_3f1.tag);while(te=tret[x++]){ret.push(te);}return ret;};}else{_3f6=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_3f1.tag);while(te=tret[x++]){if(_3f5(te)){ret.push(te);}}return ret;};}}return _3f0[_3f1.query]=_3f6;};var _402={};var _403={"*":d.isIE?function(root){return root.all;}:function(root){return root.getElementsByTagName("*");},"~":_373,"+":function(root){return _373(root,true);},">":_36d};var _407=function(_408){var _409=_323(d.trim(_408));if(_409.length==1){var tt=_387(_409[0]);tt.nozip=true;return tt;}var sqf=function(root){var _40d=_409.slice(0);var _40e;if(_40d[0].oper==">"){_40e=[root];}else{_40e=_387(_40d.shift())(root);}return _388(_40e,_40d);};return sqf;};var _40f=((document["evaluate"]&&!d.isSafari)?function(_410){var _411=_410.split(" ");if((document["evaluate"])&&(_410.indexOf(":")==-1)&&(_410.indexOf("+")==-1)){if(((_411.length>2)&&(_410.indexOf(">")==-1))||(_411.length>3)||(_410.indexOf("[")>=0)||((1==_411.length)&&(0<=_410.indexOf(".")))){return _35f(_410);}}return _407(_410);}:_407);var _412=function(_413){var qcz=_413.charAt(0);if(d.doc["querySelectorAll"]&&((!d.isSafari)||(d.isSafari>3.1))&&(">+~".indexOf(qcz)==-1)){return function(root){var r=root.querySelectorAll(_413);r.nozip=true;return r;};}if(_403[_413]){return _403[_413];}if(0>_413.indexOf(",")){return _403[_413]=_40f(_413);}else{var _417=_413.split(/\s*,\s*/);var tf=function(root){var _41a=0;var ret=[];var tp;while(tp=_417[_41a++]){ret=ret.concat(_40f(tp,tp.indexOf(" "))(root));}return ret;};return _403[_413]=tf;}};var _41d=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;}_41d++;arr[0]["_zipIdx"]=_41d;for(var x=1,te;te=arr[x];x++){if(arr[x]["_zipIdx"]!=_41d){ret.push(te);}te["_zipIdx"]=_41d;}return ret;};d.query=function(_423,root){if(_423.constructor==d.NodeList){return _423;}if(!d.isString(_423)){return new d.NodeList(_423);}if(d.isString(root)){root=d.byId(root);}return _zip(_412(_423)(root||d.doc));};d.query.pseudos=_3bb;d._filterQueryResult=function(_425,_426){var tnl=new d.NodeList();var ff=(_426)?_382(_323(_426)[0]):function(){return true;};for(var x=0,te;te=_425[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,_42e){var val=obj[name];if(_d.isString(val)){obj[name]=[val,_42e];}else{if(_d.isArray(val)){val.push(_42e);}else{obj[name]=_42e;}}};dojo.formToObject=function(_430){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,_430).filter(function(node){return !node.disabled&&node.name;}).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 enc=encodeURIComponent;var _43a=[];var _43b={};for(var name in map){var _43d=map[name];if(_43d!=_43b[name]){var _43e=enc(name)+"=";if(_d.isArray(_43d)){for(var i=0;i<_43d.length;i++){_43a.push(_43e+enc(_43d[i]));}}else{_43a.push(_43e+enc(_43d));}}}return _43a.join("&");};dojo.formToQuery=function(_440){return _d.objectToQuery(_d.formToObject(_440));};dojo.formToJson=function(_441,_442){return _d.toJson(_d.formToObject(_441),_442);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_d.forEach(qp,function(item){if(item.length){var _448=item.split("=");var name=dec(_448.shift());var val=dec(_448.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(!dojo.config.usePlainJson){console.warn("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 (xhr.status==204)?undefined:_d.fromJson(xhr.responseText);},"json-comment-filtered":function(xhr){var _44e=xhr.responseText;var _44f=_44e.indexOf("/*");var _450=_44e.lastIndexOf("*/");if(_44f==-1||_450==-1){throw new Error("JSON was not comment filtered");}return (xhr.status==204)?undefined:_d.fromJson(_44e.substring(_44f+2,_450));},"javascript":function(xhr){return _d.eval(xhr.responseText);},"xml":function(xhr){var _453=xhr.responseXML;if(_d.isIE&&(!_453||window.location.protocol=="file:")){_d.forEach(["MSXML2","Microsoft","MSXML","MSXML3"],function(_454){try{var dom=new ActiveXObject(_454+".XMLDOM");dom.async=false;dom.loadXML(xhr.responseText);_453=dom;}catch(e){}});}return _453;}};dojo._contentHandlers["json-comment-optional"]=function(xhr){var _457=_d._contentHandlers;try{return _457["json-comment-filtered"](xhr);}catch(e){return _457["json"](xhr);}};dojo._ioSetArgs=function(args,_459,_45a,_45b){var _45c={args:args,url:args.url};var _45d=null;if(args.form){var form=_d.byId(args.form);var _45f=form.getAttributeNode("action");_45c.url=_45c.url||(_45f?_45f.value:null);_45d=_d.formToObject(form);}var _460=[{}];if(_45d){_460.push(_45d);}if(args.content){_460.push(args.content);}if(args.preventCache){_460.push({"dojo.preventCache":new Date().valueOf()});}_45c.query=_d.objectToQuery(_d.mixin.apply(null,_460));_45c.handleAs=args.handleAs||"text";var d=new _d.Deferred(_459);d.addCallbacks(_45a,function(_462){return _45b(_462,d);});var ld=args.load;if(ld&&_d.isFunction(ld)){d.addCallback(function(_464){return ld.call(args,_464,_45c);});}var err=args.error;if(err&&_d.isFunction(err)){d.addErrback(function(_466){return err.call(args,_466,_45c);});}var _467=args.handle;if(_467&&_d.isFunction(_467)){d.addBoth(function(_468){return _467.call(args,_468,_45c);});}d.ioArgs=_45c;return d;};var _469=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 _46e=function(dfd){return _d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);};var _470=function(_471,dfd){console.debug(_471);return _471;};var _473=function(args){var dfd=_d._ioSetArgs(args,_469,_46e,_470);dfd.ioArgs.xhr=_d._xhrObj(dfd.ioArgs.args);return dfd;};var _476=null;var _477=[];var _478=function(){var now=(new Date()).getTime();if(!_d._blockAsync){for(var i=0,tif;i<_477.length&&(tif=_477[i]);i++){var dfd=tif.dfd;try{if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_477.splice(i--,1);}else{if(tif.ioCheck(dfd)){_477.splice(i--,1);tif.resHandle(dfd);}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_477.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(!_477.length){clearInterval(_476);_476=null;return;}};dojo._ioCancelAll=function(){try{_d.forEach(_477,function(i){i.dfd.cancel();});}catch(e){}};if(_d.isIE){_d.addOnUnload(_d._ioCancelAll);}_d._ioWatch=function(dfd,_480,_481,_482){if(dfd.ioArgs.args.timeout){dfd.startTime=(new Date()).getTime();}_477.push({dfd:dfd,validCheck:_480,ioCheck:_481,resHandle:_482});if(!_476){_476=setInterval(_478,50);}_478();};var _483="application/x-www-form-urlencoded";var _484=function(dfd){return dfd.ioArgs.xhr.readyState;};var _486=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _488=function(dfd){var xhr=dfd.ioArgs.xhr;if(_d._isDocumentOk(xhr)){dfd.callback(dfd);}else{var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);err.status=xhr.status;err.responseText=xhr.responseText;dfd.errback(err);}};var _48c=function(type,dfd){var _48f=dfd.ioArgs;var args=_48f.args;var xhr=_48f.xhr;xhr.open(type,_48f.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{xhr.setRequestHeader(hdr,args.headers[hdr]);}}}xhr.setRequestHeader("Content-Type",args.contentType||_483);if(!args.headers||!args.headers["X-Requested-With"]){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");}try{xhr.send(_48f.query);}catch(e){dfd.cancel();}_d._ioWatch(dfd,_484,_486,_488);xhr=null;return dfd;};dojo._ioAddQueryToUrl=function(_493){if(_493.query.length){_493.url+=(_493.url.indexOf("?")==-1?"?":"&")+_493.query;_493.query=null;}};dojo.xhr=function(_494,args,_496){var dfd=_473(args);if(!_496){_d._ioAddQueryToUrl(dfd.ioArgs);}return _48c(_494,dfd);};dojo.xhrGet=function(args){return _d.xhr("GET",args);};dojo.xhrPost=function(args){return _d.xhr("POST",args,true);};dojo.rawXhrPost=function(args){var dfd=_473(args);dfd.ioArgs.query=args.postData;return _48c("POST",dfd);};dojo.xhrPut=function(args){return _d.xhr("PUT",args,true);};dojo.rawXhrPut=function(args){var dfd=_473(args);var _49f=dfd.ioArgs;if(args.putData){_49f.query=args.putData;args.putData=null;}return _48c("PUT",dfd);};dojo.xhrDelete=function(args){return _d.xhr("DELETE",args);};})();}if(!dojo._hasResource["dojo._base.fx"]){dojo._hasResource["dojo._base.fx"]=true;dojo.provide("dojo._base.fx");(function(){var d=dojo;dojo._Line=function(_4a2,end){this.start=_4a2;this.end=end;this.getValue=function(n){return ((this.end-this.start)*n)+this.start;};};d.declare("dojo._Animation",null,{constructor:function(args){d.mixin(this,args);if(d.isArray(this.curve)){this.curve=new d._Line(this.curve[0],this.curve[1]);}},duration:350,repeat:0,rate:10,_percent:0,_startRepeatCount:0,_fire:function(evt,args){try{if(this[evt]){this[evt].apply(this,args||[]);}}catch(e){console.error("exception in animation handler for:",evt);console.error(e);}return this;},play:function(_4a8,_4a9){var _t=this;if(_4a9){_t._stopTimer();_t._active=_t._paused=false;_t._percent=0;}else{if(_t._active&&!_t._paused){return _t;}}_t._fire("beforeBegin");var de=_4a8||_t.delay;var _p=dojo.hitch(_t,"_play",_4a9);if(de>0){setTimeout(_p,de);return _t;}_p();return _t;},_play:function(_4ad){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 _4af=_t.curve.getValue(_t._percent);if(!_t._percent){if(!_t._startRepeatCount){_t._startRepeatCount=_t.repeat;}_t._fire("onBegin",[_4af]);}_t._fire("onPlay",[_4af]);_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(_4b0,_4b1){this._stopTimer();this._active=this._paused=true;this._percent=_4b0;if(_4b1){this.play();}return this;},stop:function(_4b2){if(!this._timer){return this;}this._stopTimer();if(_4b2){this._percent=1;}this._fire("onStop",[this.curve.getValue(this._percent)]);this._active=this._paused=false;return this;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _t=this;if(_t._active){var curr=new Date().valueOf();var step=(curr-_t._startTime)/(_t._endTime-_t._startTime);if(step>=1){step=1;}_t._percent=step;if(_t.easing){step=_t.easing(step);}_t._fire("onAnimate",[_t.curve.getValue(step)]);if(_t._percent<1){_t._startTimer();}else{_t._active=false;if(_t.repeat>0){_t.repeat--;_t.play(null,true);}else{if(_t.repeat==-1){_t.play(null,true);}else{if(_t._startRepeatCount){_t.repeat=_t._startRepeatCount;_t._startRepeatCount=0;}}}_t._percent=0;_t._fire("onEnd");_t._stopTimer();}}return _t;}});var ctr=0;var _4b7=[];var _4b8={run:function(){}};var _4b9=null;dojo._Animation.prototype._startTimer=function(){if(!this._timer){this._timer=d.connect(_4b8,"run",this,"_cycle");ctr++;}if(!_4b9){_4b9=setInterval(d.hitch(_4b8,"run"),this.rate);}};dojo._Animation.prototype._stopTimer=function(){if(this._timer){d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_4b9);_4b9=null;ctr=0;}};var _4ba=(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 _4be=d.mixin({properties:{}},args);var _4bf=(_4be.properties.opacity={});_4bf.start=!("start" in _4be)?function(){return Number(d.style(_4be.node,"opacity"));}:_4be.start;_4bf.end=_4be.end;var anim=d.animateProperty(_4be);d.connect(anim,"beforeBegin",d.partial(_4ba,_4be.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 _4c4=function(_4c5){this._properties=_4c5;for(var p in _4c5){var prop=_4c5[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 _4cc=prop.start;if(_4cc instanceof d.Color){ret[p]=d.blendColors(_4cc,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_4cc)){ret[p]=((prop.end-_4cc)*r)+_4cc+(p!="opacity"?prop.units||"px":"");}}}return ret;};};dojo.animateProperty=function(args){args.node=d.byId(args.node);if(!args.easing){args.easing=d._defaultEasing;}var anim=new d._Animation(args);d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];prop=pm[p]=d.mixin({},(d.isObject(prop)?prop:{end:prop}));if(d.isFunction(prop.start)){prop.start=prop.start();}if(d.isFunction(prop.end)){prop.end=prop.end();}var _4d2=(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):(_4d2?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(_4d2){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 _4c4(pm);});d.connect(anim,"onAnimate",anim,function(_4d6){for(var s in _4d6){d.style(this.node,s,_4d6[s]);}});return anim;};dojo.anim=function(node,_4d9,_4da,_4db,_4dc,_4dd){return d.animateProperty({node:node,duration:_4da||d._Animation.prototype.duration,properties:_4d9,easing:_4db,onEnd:_4dc}).play(_4dd||0);};})();}if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");if(dojo.config.require){dojo.forEach(dojo.config.require,"dojo['require'](item);");}}({"months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"days-format-abbr":["1","2","3","4","5","6","7"],"days-standAlone-narrow":["1","2","3","4","5","6","7"],"days-format-wide":["1","2","3","4","5","6","7"],"days-format-abbr":["1","2","3","4","5","6","7"],"days-standAlone-narrow":["1","2","3","4","5","6","7"],"days-format-wide":["1","2","3","4","5","6","7"],"quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"quarters-stand-alone-narrow":["1","2","3","4"],"quarters-format-wide":["Q1","Q2","Q3","Q4"],"quarters-format-abbreviated":["Q1","Q2","Q3","Q4"],"quarters-stand-alone-narrow":["1","2","3","4"],"quarters-format-wide":["Q1","Q2","Q3","Q4"],"am":"AM","pm":"PM","eraNames":["BCE","CE"],"eraAbbr":["BCE","CE"],"eraNarrow":["BCE","CE"],"dateFormat-full":"EEEE, yyyy MMMM dd","dateFormat-long":"yyyy MMMM d","dateFormat-medium":"yyyy MMM d","dateFormat-short":"yyyy-MM-dd","timeFormat-full":"HH:mm:ss v","timeFormat-long":"HH:mm:ss z","timeFormat-medium":"HH:mm:ss","timeFormat-short":"HH:mm","dateTimeFormat":"{1} {0}","dateTimeAvailableFormats":["E d","H","HH:mm","HH:mm:ss","E MMM d","MMMM d","M-d","mm:ss","yy-MM","yy MMM","yy Q","yyyy"],"dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Era":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","field-era":"Era","field-year":"Year","field-month":"Month","field-week":"Week","field-day":"Day","field-weekday":"Day of the Week","field-dayperiod":"Dayperiod","field-hour":"Hour","field-minute":"Minute","field-second":"Second","field-zone":"Zone"});if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_4df){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_4df&&_4df.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_4e3){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("|"),_4e3);};dojo.regexp.group=function(_4e6,_4e7){return "("+(_4e7?"?:":"")+_4e6+")";};}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(name,_4e9,_4ea){var c=document.cookie;if(arguments.length==1){var _4ec=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(name)+"=([^;]*)"));return _4ec?decodeURIComponent(_4ec[1]):undefined;}else{_4ea=_4ea||{};var exp=_4ea.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_4ea.expires=d;}if(exp&&exp.toUTCString){_4ea.expires=exp.toUTCString();}_4e9=encodeURIComponent(_4e9);var _4ef=name+"="+_4e9;for(propName in _4ea){_4ef+="; "+propName;var _4f0=_4ea[propName];if(_4f0!==true){_4ef+="="+_4f0;}}document.cookie=_4ef;}};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};}if(!dojo._hasResource["dojo.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.date.getDaysInMonth=function(_4f1){var _4f2=_4f1.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_4f2==1&&dojo.date.isLeapYear(_4f1)){return 29;}return days[_4f2];};dojo.date.isLeapYear=function(_4f4){var year=_4f4.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_4f6){var str=_4f6.toString();var tz="";var _4f9;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_4f9=str.match(pat))){tz=_4f9[1];}else{str=_4f6.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_4f9=str.match(pat))){tz=_4f9[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_4fc,_4fd,_4fe){_4fc=new Date(Number(_4fc));_4fd=new Date(Number(_4fd||new Date()));if(_4fe!=="undefined"){if(_4fe=="date"){_4fc.setHours(0,0,0,0);_4fd.setHours(0,0,0,0);}else{if(_4fe=="time"){_4fc.setFullYear(0,0,0);_4fd.setFullYear(0,0,0);}}}if(_4fc>_4fd){return 1;}if(_4fc<_4fd){return -1;}return 0;};dojo.date.add=function(date,_500,_501){var sum=new Date(Number(date));var _503=false;var _504="Date";switch(_500){case "day":break;case "weekday":var days,_506;var mod=_501%5;if(!mod){days=(_501>0)?5:-5;_506=(_501>0)?((_501-5)/5):((_501+5)/5);}else{days=mod;_506=parseInt(_501/5);}var strt=date.getDay();var adj=0;if(strt==6&&_501>0){adj=1;}else{if(strt==0&&_501<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_501>0)?2:-2;}_501=(7*_506)+days+adj;break;case "year":_504="FullYear";_503=true;break;case "week":_501*=7;break;case "quarter":_501*=3;case "month":_503=true;_504="Month";break;case "hour":case "minute":case "second":case "millisecond":_504="UTC"+_500.charAt(0).toUpperCase()+_500.substring(1)+"s";}if(_504){sum["set"+_504](sum["get"+_504]()+_501);}if(_503&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_50b,_50c,_50d){_50c=_50c||new Date();_50d=_50d||"day";var _50e=_50c.getFullYear()-_50b.getFullYear();var _50f=1;switch(_50d){case "quarter":var m1=_50b.getMonth();var m2=_50c.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_50e*4);_50f=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_50b,_50c,"day"));var _515=parseInt(dojo.date.difference(_50b,_50c,"week"));var mod=days%7;if(mod==0){days=_515*5;}else{var adj=0;var aDay=_50b.getDay();var bDay=_50c.getDay();_515=parseInt(days/7);mod=days%7;var _51a=new Date(_50b);_51a.setDate(_51a.getDate()+(_515*7));var _51b=_51a.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_51b+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_51b+mod)<0:adj=2;}}}days+=adj;days-=(_515*2);}_50f=days;break;case "year":_50f=_50e;break;case "month":_50f=(_50c.getMonth()-_50b.getMonth())+(_50e*12);break;case "week":_50f=parseInt(dojo.date.difference(_50b,_50c,"day")/7);break;case "day":_50f/=24;case "hour":_50f/=60;case "minute":_50f/=60;case "second":_50f/=1000;case "millisecond":_50f*=_50c.getTime()-_50b.getTime();}return Math.round(_50f);};}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_51c,_51d,_51e){_51e=dojo.i18n.normalizeLocale(_51e);var _51f=_51e.split("-");var _520=[_51c,"nls",_51d].join(".");var _521=dojo._loadedModules[_520];if(_521){var _522;for(var i=_51f.length;i>0;i--){var loc=_51f.slice(0,i).join("_");if(_521[loc]){_522=_521[loc];break;}}if(!_522){_522=_521.ROOT;}if(_522){var _525=function(){};_525.prototype=_522;return new _525();}}throw new Error("Bundle not found: "+_51d+" in "+_51c+" , locale="+_51e);};dojo.i18n.normalizeLocale=function(_526){var _527=_526?_526.toLowerCase():dojo.locale;if(_527=="root"){_527="ROOT";}return _527;};dojo.i18n._requireLocalization=function(_528,_529,_52a,_52b){var _52c=dojo.i18n.normalizeLocale(_52a);var _52d=[_528,"nls",_529].join(".");var _52e="";if(_52b){var _52f=_52b.split(",");for(var i=0;i<_52f.length;i++){if(_52c.indexOf(_52f[i])==0){if(_52f[i].length>_52e.length){_52e=_52f[i];}}}if(!_52e){_52e="ROOT";}}var _531=_52b?_52e:_52c;var _532=dojo._loadedModules[_52d];var _533=null;if(_532){if(dojo.config.localizationComplete&&_532._built){return;}var _534=_531.replace(/-/g,"_");var _535=_52d+"."+_534;_533=dojo._loadedModules[_535];}if(!_533){_532=dojo["provide"](_52d);var syms=dojo._getModuleSymbols(_528);var _537=syms.concat("nls").join("/");var _538;dojo.i18n._searchLocalePath(_531,_52b,function(loc){var _53a=loc.replace(/-/g,"_");var _53b=_52d+"."+_53a;var _53c=false;if(!dojo._loadedModules[_53b]){dojo["provide"](_53b);var _53d=[_537];if(loc!="ROOT"){_53d.push(loc);}_53d.push(_529);var _53e=_53d.join("/")+".js";_53c=dojo._loadPath(_53e,null,function(hash){var _540=function(){};_540.prototype=_538;_532[_53a]=new _540();for(var j in hash){_532[_53a][j]=hash[j];}});}else{_53c=true;}if(_53c&&_532[_53a]){_538=_532[_53a];}else{_532[_53a]=_538;}if(_52b){return true;}});}if(_52b&&_52c!=_52e){_532[_52c.replace(/-/g,"_")]=_532[_52e.replace(/-/g,"_")];}};(function(){var _542=dojo.config.extraLocale;if(_542){if(!_542 instanceof Array){_542=[_542];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_546,_547){req(m,b,_546,_547);if(_546){return;}for(var i=0;i<_542.length;i++){req(m,b,_542[i],_547);}};}})();dojo.i18n._searchLocalePath=function(_549,down,_54b){_549=dojo.i18n.normalizeLocale(_549);var _54c=_549.split("-");var _54d=[];for(var i=_54c.length;i>0;i--){_54d.push(_54c.slice(0,i).join("-"));}_54d.push(false);if(down){_54d.reverse();}for(var j=_54d.length-1;j>=0;j--){var loc=_54d[j]||"ROOT";var stop=_54b(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_552,_553){function preload(_554){_554=dojo.i18n.normalizeLocale(_554);dojo.i18n._searchLocalePath(_554,true,function(loc){for(var i=0;i<_553.length;i++){if(_553[i]==loc){dojo["require"](_552+"_"+loc);return true;}}return false;});};preload();var _557=dojo.config.extraLocale||[];for(var i=0;i<_557.length;i++){preload(_557[i]);}};}if(!dojo._hasResource["dojo.cldr.supplemental"]){dojo._hasResource["dojo.cldr.supplemental"]=true;dojo.provide("dojo.cldr.supplemental");dojo.cldr.supplemental.getFirstDayOfWeek=function(_559){var _55a={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,sy:4};var _55b=dojo.cldr.supplemental._region(_559);var dow=_55a[_55b];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_55d){_55d=dojo.i18n.normalizeLocale(_55d);var tags=_55d.split("-");var _55f=tags[1];if(!_55f){_55f={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_55f.length==4){_55f=tags[2];}}return _55f;};dojo.cldr.supplemental.getWeekend=function(_560){var _561={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};var _562={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};var _563=dojo.cldr.supplemental._region(_560);var _564=_561[_563];var end=_562[_563];if(_564===undefined){_564=6;}if(end===undefined){end=0;}return {start:_564,end:end};};}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(_56b,map,_56d,_56e){return _56b.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_56f,key,_571){var _572=dojo.getObject(key,false,map);if(_571){_572=dojo.getObject(_571,false,_56e)(_572);}if(_56d){_572=_56d(_572,key);}return _572.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["dojo.date.locale"]){dojo._hasResource["dojo.date.locale"]=true;dojo.provide("dojo.date.locale");(function(){function formatPattern(_575,_576,_577,_578){return _578.replace(/([a-z])\1*/ig,function(_579){var s,pad;var c=_579.charAt(0);var l=_579.length;var _57e=["abbr","wide","narrow"];switch(c){case "G":s=_576[(l<4)?"eraAbbr":"eraNames"][_575.getFullYear()<0?0:1];break;case "y":s=_575.getFullYear();switch(l){case 1:break;case 2:if(!_577){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_575.getMonth()+1)/3);pad=true;break;case "M":case "L":var m=_575.getMonth();var _580;switch(l){case 1:case 2:s=m+1;pad=true;break;case 3:case 4:case 5:_580=_57e[l-3];break;}if(_580){var _581=(c=="L")?"standalone":"format";var _582=["months",_581,_580].join("-");s=_576[_582][m];}break;case "w":var _583=0;s=dojo.date.locale._getWeekOfYear(_575,_583);pad=true;break;case "d":s=_575.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_575);pad=true;break;case "E":case "e":case "c":var d=_575.getDay();var _585;switch(l){case 1:case 2:if(c=="e"){var _586=dojo.cldr.supplemental.getFirstDayOfWeek(options.locale);d=(d-_586+7)%7;}if(c!="c"){s=d+1;pad=true;break;}case 3:case 4:case 5:_585=_57e[l-3];break;}if(_585){var _587=(c=="c")?"standalone":"format";var _588=["days",_587,_585].join("-");s=_576[_588][d];}break;case "a":var _589=(_575.getHours()<12)?"am":"pm";s=_576[_589];break;case "h":case "H":case "K":case "k":var h=_575.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_575.getMinutes();pad=true;break;case "s":s=_575.getSeconds();pad=true;break;case "S":s=Math.round(_575.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.getTimezoneName(_575);if(s){break;}l=4;case "Z":var _58b=_575.getTimezoneOffset();var tz=[(_58b<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_58b)/60),2),dojo.string.pad(Math.abs(_58b)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_578);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale.format=function(_58d,_58e){_58e=_58e||{};var _58f=dojo.i18n.normalizeLocale(_58e.locale);var _590=_58e.formatLength||"short";var _591=dojo.date.locale._getGregorianBundle(_58f);var str=[];var _593=dojo.hitch(this,formatPattern,_58d,_591,_58e.fullYear);if(_58e.selector=="year"){var year=_58d.getFullYear();if(_58f.match(/^zh|^ja/)){year+="年";}return year;}if(_58e.selector!="time"){var _595=_58e.datePattern||_591["dateFormat-"+_590];if(_595){str.push(_processPattern(_595,_593));}}if(_58e.selector!="date"){var _596=_58e.timePattern||_591["timeFormat-"+_590];if(_596){str.push(_processPattern(_596,_593));}}var _597=str.join(" ");return _597;};dojo.date.locale.regexp=function(_598){return dojo.date.locale._parseInfo(_598).regexp;};dojo.date.locale._parseInfo=function(_599){_599=_599||{};var _59a=dojo.i18n.normalizeLocale(_599.locale);var _59b=dojo.date.locale._getGregorianBundle(_59a);var _59c=_599.formatLength||"short";var _59d=_599.datePattern||_59b["dateFormat-"+_59c];var _59e=_599.timePattern||_59b["timeFormat-"+_59c];var _59f;if(_599.selector=="date"){_59f=_59d;}else{if(_599.selector=="time"){_59f=_59e;}else{_59f=_59d+" "+_59e;}}var _5a0=[];var re=_processPattern(_59f,dojo.hitch(this,_buildDateTimeRE,_5a0,_59b,_599));return {regexp:re,tokens:_5a0,bundle:_59b};};dojo.date.locale.parse=function(_5a2,_5a3){var info=dojo.date.locale._parseInfo(_5a3);var _5a5=info.tokens,_5a6=info.bundle;var re=new RegExp("^"+info.regexp+"$");var _5a8=re.exec(_5a2);if(!_5a8){return null;}var _5a9=["abbr","wide","narrow"];var _5aa=[1970,0,1,0,0,0,0];var amPm="";var _5ac=dojo.every(_5a8,function(v,i){if(!i){return true;}var _5af=_5a5[i-1];var l=_5af.length;switch(_5af.charAt(0)){case "y":if(l!=2&&_5a3.strict){_5aa[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear();var _5b2=year.substring(0,2)*100;var _5b3=Math.min(Number(year.substring(2,4))+20,99);var num=(v<_5b3)?_5b2+v:_5b2-100+v;_5aa[0]=num;}else{if(_5a3.strict){return false;}_5aa[0]=v;}}break;case "M":if(l>2){var _5b5=_5a6["months-format-"+_5a9[l-3]].concat();if(!_5a3.strict){v=v.replace(".","").toLowerCase();_5b5=dojo.map(_5b5,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_5b5,v);if(v==-1){return false;}}else{v--;}_5aa[1]=v;break;case "E":case "e":var days=_5a6["days-format-"+_5a9[l-3]].concat();if(!_5a3.strict){v=v.toLowerCase();days=dojo.map(days,function(d){return d.toLowerCase();});}v=dojo.indexOf(days,v);if(v==-1){return false;}break;case "D":_5aa[1]=0;case "d":_5aa[2]=v;break;case "a":var am=_5a3.am||_5a6.am;var pm=_5a3.pm||_5a6.pm;if(!_5a3.strict){var _5bb=/\./g;v=v.replace(_5bb,"").toLowerCase();am=am.replace(_5bb,"").toLowerCase();pm=pm.replace(_5bb,"").toLowerCase();}if(_5a3.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_5aa[3]=v;break;case "m":_5aa[4]=v;break;case "s":_5aa[5]=v;break;case "S":_5aa[6]=v;}return true;});var _5bc=+_5aa[3];if(amPm==="p"&&_5bc<12){_5aa[3]=_5bc+12;}else{if(amPm==="a"&&_5bc==12){_5aa[3]=0;}}var _5bd=new Date(_5aa[0],_5aa[1],_5aa[2],_5aa[3],_5aa[4],_5aa[5],_5aa[6]);if(_5a3.strict){_5bd.setFullYear(_5aa[0]);}var _5be=_5a5.join("");if(!_5ac||(_5be.indexOf("M")!=-1&&_5bd.getMonth()!=_5aa[1])||(_5be.indexOf("d")!=-1&&_5bd.getDate()!=_5aa[2])){return null;}return _5bd;};function _processPattern(_5bf,_5c0,_5c1,_5c2){var _5c3=function(x){return x;};_5c0=_5c0||_5c3;_5c1=_5c1||_5c3;_5c2=_5c2||_5c3;var _5c5=_5bf.match(/(''|[^'])+/g);var _5c6=false;dojo.forEach(_5c5,function(_5c7,i){if(!_5c7){_5c5[i]="";}else{_5c5[i]=(_5c6?_5c1:_5c0)(_5c7);_5c6=!_5c6;}});return _5c2(_5c5.join(""));};function _buildDateTimeRE(_5c9,_5ca,_5cb,_5cc){_5cc=dojo.regexp.escapeString(_5cc);if(!_5cb.strict){_5cc=_5cc.replace(" a"," ?a");}return _5cc.replace(/([a-z])\1*/ig,function(_5cd){var s;var c=_5cd.charAt(0);var l=_5cd.length;var p2="",p3="";if(_5cb.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+":p2+"[1-9]|1[0-2]";break;case "D":s=p2+"[1-9]|"+p3+"[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6]";break;case "d":s=p2+"[1-9]|[12]\\d|3[01]";break;case "w":s=p2+"[1-9]|[1-4][0-9]|5[0-3]";break;case "E":s="\\S+";break;case "h":s=p2+"[1-9]|1[0-2]";break;case "k":s=p2+"\\d|1[01]";break;case "H":s=p2+"\\d|1\\d|2[0-3]";break;case "K":s=p2+"[1-9]|1\\d|2[0-4]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_5cb.am||_5ca.am||"AM";var pm=_5cb.pm||_5ca.pm||"PM";if(_5cb.strict){s=am+"|"+pm;}else{s=am+"|"+pm;if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}}break;default:s=".*";}if(_5c9){_5c9.push(_5cd);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _5d5=[];dojo.date.locale.addCustomFormats=function(_5d6,_5d7){_5d5.push({pkg:_5d6,name:_5d7});};dojo.date.locale._getGregorianBundle=function(_5d8){var _5d9={};dojo.forEach(_5d5,function(desc){var _5db=dojo.i18n.getLocalization(desc.pkg,desc.name,_5d8);_5d9=dojo.mixin(_5d9,_5db);},this);return _5d9;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,use,_5df){var _5e0;var _5e1=dojo.date.locale._getGregorianBundle(_5df);var _5e2=[item,use,type];if(use=="standAlone"){_5e0=_5e1[_5e2.join("-")];}_5e2[1]="format";return (_5e0||_5e1[_5e2.join("-")]).concat();};dojo.date.locale.isWeekend=function(_5e3,_5e4){var _5e5=dojo.cldr.supplemental.getWeekend(_5e4);var day=(_5e3||new Date()).getDay();if(_5e5.end<_5e5.start){_5e5.end+=7;if(day<_5e5.start){day+=7;}}return day>=_5e5.start&&day<=_5e5.end;};dojo.date.locale._getDayOfYear=function(_5e7){return dojo.date.difference(new Date(_5e7.getFullYear(),0,1),_5e7)+1;};dojo.date.locale._getWeekOfYear=function(_5e8,_5e9){if(arguments.length==1){_5e9=0;}var _5ea=new Date(_5e8.getFullYear(),0,1).getDay();var adj=(_5ea-_5e9+7)%7;var week=Math.floor((dojo.date.locale._getDayOfYear(_5e8)+adj-1)/7);if(_5ea==_5e9){week++;}return week;};}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_5ed,_5ee){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 _5ef=dojo.date.stamp._isoRegExp.exec(_5ed);var _5f0=null;if(_5ef){_5ef.shift();if(_5ef[1]){_5ef[1]--;}if(_5ef[6]){_5ef[6]*=1000;}if(_5ee){_5ee=new Date(_5ee);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _5ee["get"+prop]();}).forEach(function(_5f2,_5f3){if(_5ef[_5f3]===undefined){_5ef[_5f3]=_5f2;}});}_5f0=new Date(_5ef[0]||1970,_5ef[1]||0,_5ef[2]||1,_5ef[3]||0,_5ef[4]||0,_5ef[5]||0,_5ef[6]||0);var _5f4=0;var _5f5=_5ef[7]&&_5ef[7].charAt(0);if(_5f5!="Z"){_5f4=((_5ef[8]||0)*60)+(Number(_5ef[9])||0);if(_5f5!="-"){_5f4*=-1;}}if(_5f5){_5f4-=_5f0.getTimezoneOffset();}if(_5f4){_5f0.setTime(_5f0.getTime()+_5f4*60000);}}return _5f0;};dojo.date.stamp.toISOString=function(_5f6,_5f7){var _=function(n){return (n<10)?"0"+n:n;};_5f7=_5f7||{};var _5fa=[];var _5fb=_5f7.zulu?"getUTC":"get";var date="";if(_5f7.selector!="time"){var year=_5f6[_5fb+"FullYear"]();date=["0000".substr((year+"").length)+year,_(_5f6[_5fb+"Month"]()+1),_(_5f6[_5fb+"Date"]())].join("-");}_5fa.push(date);if(_5f7.selector!="date"){var time=[_(_5f6[_5fb+"Hours"]()),_(_5f6[_5fb+"Minutes"]()),_(_5f6[_5fb+"Seconds"]())].join(":");var _5ff=_5f6[_5fb+"Milliseconds"]();if(_5f7.milliseconds){time+="."+(_5ff<100?"0":"")+_(_5ff);}if(_5f7.zulu){time+="Z";}else{if(_5f7.selector!="time"){var _600=_5f6.getTimezoneOffset();var _601=Math.abs(_600);time+=(_600>0?"-":"+")+_(Math.floor(_601/60))+":"+_(_601%60);}}_5fa.push(time);}return _5fa.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;var _603=d._scopeName+"Type";var qry="["+_603+"]";function val2type(_605){if(d.isString(_605)){return "string";}if(typeof _605=="number"){return "number";}if(typeof _605=="boolean"){return "boolean";}if(d.isFunction(_605)){return "function";}if(d.isArray(_605)){return "array";}if(_605 instanceof Date){return "date";}if(_605 instanceof d._Url){return "url";}return "object";};function str2obj(_606,type){switch(type){case "string":return _606;case "number":return _606.length?Number(_606):NaN;case "boolean":return typeof _606=="boolean"?_606:!(_606.toLowerCase()=="false");case "function":if(d.isFunction(_606)){_606=_606.toString();_606=d.trim(_606.substring(_606.indexOf("{")+1,_606.length-1));}try{if(_606.search(/[^\w\.]+/i)!=-1){_606=d.parser._nameAnonFunc(new Function(_606),this);}return d.getObject(_606,false);}catch(e){return new Function();}case "array":return _606.split(/\s*,\s*/);case "date":switch(_606){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_606);}case "url":return d.baseUrl+_606;default:return d.fromJson(_606);}};var _608={};function getClassInfo(_609){if(!_608[_609]){var cls=d.getObject(_609);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_609+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _60b=cls.prototype;var _60c={};for(var name in _60b){if(name.charAt(0)=="_"){continue;}var _60e=_60b[name];_60c[name]=val2type(_60e);}_608[_609]={cls:cls,params:_60c};}return _608[_609];};this._functionFromScript=function(_60f){var _610="";var _611="";var _612=_60f.getAttribute("args");if(_612){d.forEach(_612.split(/\s*,\s*/),function(part,idx){_610+="var "+part+" = arguments["+idx+"]; ";});}var _615=_60f.getAttribute("with");if(_615&&_615.length){d.forEach(_615.split(/\s*,\s*/),function(part){_610+="with("+part+"){";_611+="}";});}return new Function(_610+_60f.innerHTML+_611);};this.instantiate=function(_617){var _618=[];d.forEach(_617,function(node){if(!node){return;}var type=node.getAttribute(_603);if((!type)||(!type.length)){return;}var _61b=getClassInfo(type);var _61c=_61b.cls;var ps=_61c._noScript||_61c.prototype._noScript;var _61e={};var _61f=node.attributes;for(var name in _61b.params){var item=_61f.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _622=item.value;switch(name){case "class":_622=node.className;break;case "style":_622=node.style&&node.style.cssText;}var _623=_61b.params[name];_61e[name]=str2obj(_622,_623);}if(!ps){var _624=[],_625=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_626){var _627=_626.getAttribute("event"),type=_626.getAttribute("type"),nf=d.parser._functionFromScript(_626);if(_627){if(type=="dojo/connect"){_624.push({event:_627,func:nf});}else{_61e[_627]=nf;}}else{_625.push(nf);}});}var _629=_61c["markupFactory"];if(!_629&&_61c["prototype"]){_629=_61c.prototype["markupFactory"];}var _62a=_629?_629(_61e,node,_61c):new _61c(_61e,node);_618.push(_62a);var _62b=node.getAttribute("jsId");if(_62b){d.setObject(_62b,_62a);}if(!ps){d.forEach(_624,function(_62c){d.connect(_62a,_62c.event,null,_62c.func);});d.forEach(_625,function(func){func.call(_62a);});}});d.forEach(_618,function(_62e){if(_62e&&_62e.startup&&!_62e._started&&(!_62e.getParent||!_62e.getParent())){_62e.startup();}});return _618;};this.parse=function(_62f){var list=d.query(qry,_62f);var _631=this.instantiate(list);return _631;};}();(function(){var _632=function(){if(dojo.config["parseOnLoad"]==true){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_632);}else{dojo._loaders.unshift(_632);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_633,_634){var jpn="$joinpoint";var nso=(_634||dojo.parser._anon);if(dojo.isIE){var cn=_633["__dojoNameCache"];if(cn&&nso[cn]===_633){return _633["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_633;return ret;};}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 _639=dojo.global;var _63a=dojo.doc;if(_63a.selection){return !_63a.selection.createRange().text;}else{var _63b=_639.getSelection();if(dojo.isString(_63b)){return !_63b;}else{return _63b.isCollapsed||!_63b.toString();}}},getBookmark:function(){var _63c,_63d=dojo.doc.selection;if(_63d){var _63e=_63d.createRange();if(_63d.type.toUpperCase()=="CONTROL"){if(_63e.length){_63c=[];var i=0,len=_63e.length;while(i<len){_63c.push(_63e.item(i++));}}else{_63c=null;}}else{_63c=_63e.getBookmark();}}else{if(window.getSelection){_63d=dojo.global.getSelection();if(_63d){_63e=_63d.getRangeAt(0);_63c=_63e.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _63c;},moveToBookmark:function(_641){var _642=dojo.doc;if(_642.selection){var _643;if(dojo.isArray(_641)){_643=_642.body.createControlRange();dojo.forEach(_641,"range.addElement(item)");}else{_643=_642.selection.createRange();_643.moveToBookmark(_641);}_643.select();}else{var _644=dojo.global.getSelection&&dojo.global.getSelection();if(_644&&_644.removeAllRanges){_644.removeAllRanges();_644.addRange(_641);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(menu,_646){return {node:menu&&dojo.isDescendant(dijit._curFocus,menu.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_646||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_646||dojo.global,dijit.getBookmark):null,openedForWindow:_646};},focus:function(_647){if(!_647){return;}var node="node" in _647?_647.node:_647,_649=_647.bookmark,_64a=_647.openedForWindow;if(node){var _64b=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_64b&&_64b.focus){try{_64b.focus();}catch(e){}}dijit._onFocusNode(node);}if(_649&&dojo.withGlobal(_64a||dojo.global,dijit.isCollapsed)){if(_64a){_64a.focus();}try{dojo.withGlobal(_64a||dojo.global,dijit.moveToBookmark,null,[_649]);}catch(e){}}},_activeStack:[],registerWin:function(_64c){if(!_64c){_64c=window;}dojo.connect(_64c.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var body=_64c.document.body||_64c.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;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(node){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _655=[];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=dijit.getDocumentWindow(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId");if(id){_655.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_655);},_onFocusNode:function(node){if(node&&node.tagName&&node.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(node);if(node==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=node;dojo.publish("focusNode",[node]);},_setStack:function(_658){var _659=dijit._activeStack;dijit._activeStack=_658;for(var _65a=0;_65a<Math.min(_659.length,_658.length);_65a++){if(_659[_65a]!=_658[_65a]){break;}}for(var i=_659.length-1;i>=_65a;i--){var _65c=dijit.byId(_659[i]);if(_65c){_65c._focused=false;_65c._hasBeenBlurred=true;if(_65c._onBlur){_65c._onBlur();}if(_65c._setStateClass){_65c._setStateClass();}dojo.publish("widgetBlur",[_65c]);}}for(i=_65a;i<_658.length;i++){_65c=dijit.byId(_658[i]);if(_65c){_65c._focused=true;if(_65c._onFocus){_65c._onFocus();}if(_65c._setStateClass){_65c._setStateClass();}dojo.publish("widgetFocus",[_65c]);}}}});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(_65d){if(this._hash[_65d.id]){throw new Error("Tried to register widget with id=="+_65d.id+" but that id is already registered");}this._hash[_65d.id]=_65d;},remove:function(id){delete this._hash[id];},forEach:function(func){for(var id in this._hash){func(this._hash[id]);}},filter:function(_661){var res=new dijit.WidgetSet();this.forEach(function(_663){if(_661(_663)){res.add(_663);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_666){return _666.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_667){var id;do{id=_667+"_"+(_667 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_667]:dijit._widgetTypeCtr[_667]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnUnload(function(){dijit.registry.forEach(function(_669){_669.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;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(elem){var _66e=dojo.style(elem);return (_66e.visibility!="hidden")&&(_66e.visibility!="collapsed")&&(_66e.display!="none");};dijit.isTabNavigable=function(elem){if(dojo.hasAttr(elem,"disabled")){return false;}var _670=dojo.hasAttr(elem,"tabindex");var _671=dojo.attr(elem,"tabindex");if(_670&&_671>=0){return true;}var name=elem.nodeName.toLowerCase();if(((name=="a"&&dojo.hasAttr(elem,"href"))||dijit._tabElements[name])&&(!_670||_671>=0)){return true;}return false;};dijit._getTabNavigable=function(root){var _674,last,_676,_677,_678,_679;var _67a=function(_67b){dojo.query("> *",_67b).forEach(function(_67c){var _67d=dijit._isElementShown(_67c);if(_67d&&dijit.isTabNavigable(_67c)){var _67e=dojo.attr(_67c,"tabindex");if(!dojo.hasAttr(_67c,"tabindex")||_67e==0){if(!_674){_674=_67c;}last=_67c;}else{if(_67e>0){if(!_676||_67e<_677){_677=_67e;_676=_67c;}if(!_678||_67e>=_679){_679=_67e;_678=_67c;}}}}if(_67d){_67a(_67c);}});};if(dijit._isElementShown(root)){_67a(root);}return {first:_674,last:last,lowest:_676,highest:_678};};dijit.getFirstInTabbingOrder=function(root){var _680=dijit._getTabNavigable(dojo.byId(root));return _680.lowest?_680.lowest:_680.first;};dijit.getLastInTabbingOrder=function(root){var _682=dijit._getTabNavigable(dojo.byId(root));return _682.last?_682.last:_682.highest;};}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _683=dojo.global;var _684=dojo.doc;var w=0,h=0;var de=_684.documentElement;var dew=de.clientWidth,deh=de.clientHeight;if(dojo.isMozilla){var minw,minh,maxw,maxh;var dbw=_684.body.clientWidth;if(dbw>dew){minw=dew;maxw=dbw;}else{maxw=dew;minw=dbw;}var dbh=_684.body.clientHeight;if(dbh>deh){minh=deh;maxh=dbh;}else{maxh=deh;minh=dbh;}w=(maxw>_683.innerWidth)?minw:maxw;h=(maxh>_683.innerHeight)?minh:maxh;}else{if(!dojo.isOpera&&_683.innerWidth){w=_683.innerWidth;h=_683.innerHeight;}else{if(dojo.isIE&&de&&deh){w=dew;h=deh;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _690=dojo._docScroll();return {w:w,h:h,l:_690.x,t:_690.y};};dijit.placeOnScreen=function(node,pos,_693,_694){var _695=dojo.map(_693,function(_696){return {corner:_696,pos:pos};});return dijit._place(node,_695);};dijit._place=function(node,_698,_699){var view=dijit.getViewport();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_698,function(_69c){var _69d=_69c.corner;var pos=_69c.pos;if(_699){_699(node,_69c.aroundCorner,_69d);}var _69f=node.style;var _6a0=_69f.display;var _6a1=_69f.visibility;_69f.visibility="hidden";_69f.display="";var mb=dojo.marginBox(node);_69f.display=_6a0;_69f.visibility=_6a1;var _6a3=(_69d.charAt(1)=="L"?pos.x:Math.max(view.l,pos.x-mb.w)),_6a4=(_69d.charAt(0)=="T"?pos.y:Math.max(view.t,pos.y-mb.h)),endX=(_69d.charAt(1)=="L"?Math.min(view.l+view.w,_6a3+mb.w):pos.x),endY=(_69d.charAt(0)=="T"?Math.min(view.t+view.h,_6a4+mb.h):pos.y),_6a7=endX-_6a3,_6a8=endY-_6a4,_6a9=(mb.w-_6a7)+(mb.h-_6a8);if(best==null||_6a9<best.overflow){best={corner:_69d,aroundCorner:_69c.aroundCorner,x:_6a3,y:_6a4,w:_6a7,h:_6a8,overflow:_6a9};}return !_6a9;});node.style.left=best.x+"px";node.style.top=best.y+"px";if(best.overflow&&_699){_699(node,best.aroundCorner,best.corner);}return best;};dijit.placeOnScreenAroundElement=function(node,_6ab,_6ac,_6ad){_6ab=dojo.byId(_6ab);var _6ae=_6ab.style.display;_6ab.style.display="";var _6af=_6ab.offsetWidth;var _6b0=_6ab.offsetHeight;var _6b1=dojo.coords(_6ab,true);_6ab.style.display=_6ae;var _6b2=[];for(var _6b3 in _6ac){_6b2.push({aroundCorner:_6b3,corner:_6ac[_6b3],pos:{x:_6b1.x+(_6b3.charAt(1)=="L"?0:_6af),y:_6b1.y+(_6b3.charAt(0)=="T"?0:_6b0)}});}return dijit._place(node,_6b2,_6ad);};}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 _6b9=[],_6ba=1000,_6bb=1;this.prepare=function(node){dojo.body().appendChild(node);var s=node.style;if(s.display=="none"){s.display="";}s.visibility="hidden";s.position="absolute";s.top="-9999px";};this.open=function(args){var _6bf=args.popup,_6c0=args.orient||{"BL":"TL","TL":"BL"},_6c1=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+_6bb++);var _6c3=dojo.doc.createElement("div");dijit.setWaiRole(_6c3,"presentation");_6c3.id=id;_6c3.className="dijitPopup";_6c3.style.zIndex=_6ba+_6b9.length;_6c3.style.visibility="hidden";if(args.parent){_6c3.dijitPopupParent=args.parent.id;}dojo.body().appendChild(_6c3);var s=_6bf.domNode.style;s.display="";s.visibility="";s.position="";_6c3.appendChild(_6bf.domNode);var _6c5=new dijit.BackgroundIframe(_6c3);var best=_6c1?dijit.placeOnScreenAroundElement(_6c3,_6c1,_6c0,_6bf.orient?dojo.hitch(_6bf,"orient"):null):dijit.placeOnScreen(_6c3,args,_6c0=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_6c3.style.visibility="visible";var _6c7=[];var _6c8=function(){for(var pi=_6b9.length-1;pi>0&&_6b9[pi].parent===_6b9[pi-1].widget;pi--){}return _6b9[pi];};_6c7.push(dojo.connect(_6c3,"onkeypress",this,function(evt){if(evt.keyCode==dojo.keys.ESCAPE&&args.onCancel){dojo.stopEvent(evt);args.onCancel();}else{if(evt.keyCode==dojo.keys.TAB){dojo.stopEvent(evt);var _6cb=_6c8();if(_6cb&&_6cb.onCancel){_6cb.onCancel();}}}}));if(_6bf.onCancel){_6c7.push(dojo.connect(_6bf,"onCancel",null,args.onCancel));}_6c7.push(dojo.connect(_6bf,_6bf.onExecute?"onExecute":"onChange",null,function(){var _6cc=_6c8();if(_6cc&&_6cc.onExecute){_6cc.onExecute();}}));_6b9.push({wrapper:_6c3,iframe:_6c5,widget:_6bf,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_6c7});if(_6bf.onOpen){_6bf.onOpen(best);}return best;};this.close=function(_6cd){while(dojo.some(_6b9,function(elem){return elem.widget==_6cd;})){var top=_6b9.pop(),_6d0=top.wrapper,_6d1=top.iframe,_6d2=top.widget,_6d3=top.onClose;if(_6d2.onClose){_6d2.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_6d2||!_6d2.domNode){return;}this.prepare(_6d2.domNode);_6d1.destroy();dojo._destroyElement(_6d0);if(_6d3){_6d3();}}};}();dijit._frames=new function(){var _6d4=[];this.pop=function(){var _6d5;if(_6d4.length){_6d5=_6d4.pop();_6d5.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\");'>";_6d5=dojo.doc.createElement(html);}else{_6d5=dojo.doc.createElement("iframe");_6d5.src="javascript:\"\"";_6d5.className="dijitBackgroundIframe";}_6d5.tabIndex=-1;dojo.body().appendChild(_6d5);}return _6d5;};this.push=function(_6d7){_6d7.style.display="";if(dojo.isIE){_6d7.style.removeExpression("width");_6d7.style.removeExpression("height");}_6d4.push(_6d7);};}();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 _6da=dijit._frames.pop();node.appendChild(_6da);if(dojo.isIE){_6da.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetWidth");_6da.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetHeight");}this.iframe=_6da;}};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.isMozilla){node.scrollIntoView(false);}else{var _6dc=node.parentNode;var _6dd=_6dc.scrollTop+dojo.marginBox(_6dc).h;var _6de=node.offsetTop+dojo.marginBox(node).h;if(_6dd<_6de){_6dc.scrollTop+=(_6de-_6dd);}else{if(_6dc.scrollTop>node.offsetTop){_6dc.scrollTop-=(_6dc.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 _6e1=d.isOpera;var maj=Math.floor;var ff=d.isFF;var _6e4={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_6e1,dj_opera8:maj(_6e1)==8,dj_opera9:maj(_6e1)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2};for(var p in _6e4){if(_6e4[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,_6e8,node,_6ea,obj,_6ec,_6ed){if(obj!=this._obj){this.stop();this._initialDelay=_6ed||500;this._subsequentDelay=_6ec||0.9;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_6e8,_6ea);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,_6ef,_6f0,_6f1,_6f2,_6f3){return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.keyCode==_6ef.keyCode&&(!_6ef.charCode||_6ef.charCode==evt.charCode)&&(_6ef.ctrlKey===undefined||_6ef.ctrlKey==evt.ctrlKey)&&(_6ef.altKey===undefined||_6ef.altKey==evt.ctrlKey)&&(_6ef.shiftKey===undefined||_6ef.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_6ef,_6f0,node,_6f1,_6ef,_6f2,_6f3);}else{if(dijit.typematic._obj==_6ef){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_6ef){dijit.typematic.stop();}})];},addMouseListener:function(node,_6f7,_6f8,_6f9,_6fa){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_6f7,node,_6f8,node,_6f9,_6fa);}),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,_6f7,node,_6f8,node,_6f9,_6fa);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_701,_702,_703,_704,_705,_706,_707){return this.addKeyListener(_702,_703,_704,_705,_706,_707).concat(this.addMouseListener(_701,_704,_705,_706,_707));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.doc.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("dojo","resources/blank.gif")+"\");";dojo.body().appendChild(div);var cs=dojo.getComputedStyle(div);if(cs){var _70a=cs.backgroundImage;var _70b=(cs.borderTopColor==cs.borderRightColor)||(_70a!=null&&(_70a=="none"||_70a=="url(invalid-url:)"));dojo[_70b?"addClass":"removeClass"](dojo.body(),"dijit_a11y");dojo.body().removeChild(div);}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(elem){return elem.hasAttribute?elem.hasAttribute("role"):!!elem.getAttribute("role");},getWaiRole:function(elem){var _70e=elem.getAttribute("role");if(_70e){var _70f=_70e.indexOf(":");return _70f==-1?_70e:_70e.substring(_70f+1);}else{return "";}},setWaiRole:function(elem,role){elem.setAttribute("role",(dojo.isFF&&dojo.isFF<3)?"wairole:"+role:role);},removeWaiRole:function(elem){elem.removeAttribute("role");},hasWaiState:function(elem,_714){if(dojo.isFF&&dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_714);}else{return elem.hasAttribute?elem.hasAttribute("aria-"+_714):!!elem.getAttribute("aria-"+_714);}},getWaiState:function(elem,_716){if(dojo.isFF&&dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_716);}else{var _717=elem.getAttribute("aria-"+_716);return _717?_717:"";}},setWaiState:function(elem,_719,_71a){if(dojo.isFF&&dojo.isFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_719,_71a);}else{elem.setAttribute("aria-"+_719,_71a);}},removeWaiState:function(elem,_71c){if(dojo.isFF&&dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_71c);}else{elem.removeAttribute("aria-"+_71c);}}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");if(dojo.isSafari){dojo.connect(window,"load",function(){window.resizeBy(1,0);setTimeout(function(){window.resizeBy(-1,0);},10);});}}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},postscript:function(_71d,_71e){this.create(_71d,_71e);},create:function(_71f,_720){this.srcNodeRef=dojo.byId(_720);this._connects=[];this._attaches=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_71f){this.params=_71f;dojo.mixin(this,_71f);}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 _722=this[attr];if(typeof _722!="object"&&((_722!==""&&_722!==false)||(_71f&&_71f[attr]))){this.setAttribute(attr,_722);}}}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(){this._started=true;},destroyRecursive:function(_723){this.destroyDescendants();this.destroy();},destroy:function(_724){this.uninitialize();dojo.forEach(this._connects,function(_725){dojo.forEach(_725,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){w.destroy();});this.destroyRendering(_724);dijit.registry.remove(this.id);},destroyRendering:function(_727){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(_728){_728.destroy();});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(attr,_72b){var _72c=this[this.attributeMap[attr]||"domNode"];this[attr]=_72b;switch(attr){case "class":dojo.addClass(_72c,_72b);break;case "style":if(_72c.style.cssText){_72c.style.cssText+="; "+_72b;}else{_72c.style.cssText=_72b;}break;default:if(/^on[A-Z]/.test(attr)){attr=attr.toLowerCase();}if(typeof _72b=="function"){_72b=dojo.hitch(this,_72b);}dojo.attr(_72c,attr,_72b);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){if(this.containerNode){var list=dojo.query("[widgetId]",this.containerNode);return list.map(dijit.byNode);}else{return [];}},nodesWithKeyClick:["input","button"],connect:function(obj,_72f,_730){var _731=[];if(_72f=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){_731.push(dojo.connect(obj,"onkeydown",this,function(e){if(e.keyCode==dojo.keys.ENTER){return (dojo.isString(_730))?this[_730](e):_730.call(this,e);}else{if(e.keyCode==dojo.keys.SPACE){dojo.stopEvent(e);}}}));_731.push(dojo.connect(obj,"onkeyup",this,function(e){if(e.keyCode==dojo.keys.SPACE){return dojo.isString(_730)?this[_730](e):_730.call(this,e);}}));}_72f="onclick";}_731.push(dojo.connect(obj,_72f,this,_730));this._connects.push(_731);return _731;},disconnect:function(_734){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_734){dojo.forEach(_734,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){if(!("_ltr" in this)){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["dijit._editor.selection"]){dojo._hasResource["dijit._editor.selection"]=true;dojo.provide("dijit._editor.selection");dojo.mixin(dijit._editor.selection,{getType:function(){if(dojo.doc.selection){return dojo.doc.selection.type.toLowerCase();}else{var _736="text";var oSel;try{oSel=dojo.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _738=oSel.getRangeAt(0);if((_738.startContainer==_738.endContainer)&&((_738.endOffset-_738.startOffset)==1)&&(_738.startContainer.nodeType!=3)){_736="control";}}return _736;}},getSelectedText:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().text;}else{var _739=dojo.global.getSelection();if(_739){return _739.toString();}}return "";},getSelectedHtml:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().htmlText;}else{var _73a=dojo.global.getSelection();if(_73a&&_73a.rangeCount){var frag=_73a.getRangeAt(0).cloneContents();var div=dojo.doc.createElement("div");div.appendChild(frag);return div.innerHTML;}return null;}},getSelectedElement:function(){if(this.getType()=="control"){if(dojo.doc.selection){var _73d=dojo.doc.selection.createRange();if(_73d&&_73d.item){return dojo.doc.selection.createRange().item(0);}}else{var _73e=dojo.global.getSelection();return _73e.anchorNode.childNodes[_73e.anchorOffset];}}return null;},getParentElement:function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(dojo.doc.selection){return dojo.doc.selection.createRange().parentElement();}else{var _740=dojo.global.getSelection();if(_740){var node=_740.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}}return null;},hasAncestorElement:function(_742){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_743){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _nlc=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _tlc=String(tags[i]).toLowerCase();if(_nlc==_tlc){return _tlc;}}}return "";},getParentOfType:function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;},collapse:function(_74c){if(window["getSelection"]){var _74d=dojo.global.getSelection();if(_74d.removeAllRanges){if(_74c){_74d.collapseToStart();}else{_74d.collapseToEnd();}}else{_74d.collapse(_74c);}}else{if(dojo.doc.selection){var _74e=dojo.doc.selection.createRange();_74e.collapse(_74c);_74e.select();}}},remove:function(){var _s=dojo.doc.selection;if(_s){if(_s.type.toLowerCase()!="none"){_s.clear();}return _s;}else{_s=dojo.global.getSelection();_s.deleteFromDocument();return _s;}},selectElementChildren:function(_750,_751){var _752=dojo.global;var _753=dojo.doc;_750=dojo.byId(_750);if(_753.selection&&dojo.body().createTextRange){var _754=_750.ownerDocument.body.createTextRange();_754.moveToElementText(_750);if(!_751){try{_754.select();}catch(e){}}}else{if(_752.getSelection){var _755=_752.getSelection();if(_755.setBaseAndExtent){_755.setBaseAndExtent(_750,0,_750,_750.innerText.length-1);}else{if(_755.selectAllChildren){_755.selectAllChildren(_750);}}}}},selectElement:function(_756,_757){var _758,_759=dojo.doc;_756=dojo.byId(_756);if(_759.selection&&dojo.body().createTextRange){try{_758=dojo.body().createControlRange();_758.addElement(_756);if(!_757){_758.select();}}catch(e){this.selectElementChildren(_756,_757);}}else{if(dojo.global.getSelection){var _75a=dojo.global.getSelection();if(_75a.removeAllRanges){_758=_759.createRange();_758.selectNode(_756);_75a.removeAllRanges();_75a.addRange(_758);}}}}});}if(!dojo._hasResource["dijit._editor.html"]){dojo._hasResource["dijit._editor.html"]=true;dojo.provide("dijit._editor.html");dijit._editor.escapeXml=function(str,_75c){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_75c){str=str.replace(/'/gm,"&#39;");}return str;};dijit._editor.getNodeHtml=function(node){var _75e;switch(node.nodeType){case 1:_75e="<"+node.nodeName.toLowerCase();var _75f=[];if(dojo.isIE&&node.outerHTML){var s=node.outerHTML;s=s.substr(0,s.indexOf(">"));s=s.replace(/(['"])[^"']*\1/g,"");var reg=/([^\s=]+)=/g;var m,key;while((m=reg.exec(s))){key=m[1];if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(node.getAttribute("_djrealurl")){_75f.push([key,node.getAttribute("_djrealurl")]);continue;}}if(key=="style"){_75f.push([key,node.style.cssText.toLowerCase()]);}else{_75f.push([key,key=="class"?node.className:node.getAttribute(key)]);}}}}else{var attr,i=0,_765=node.attributes;while((attr=_765[i++])){var n=attr.name;if(n.substr(0,3)!="_dj"){var v=attr.value;if(n=="src"||n=="href"){if(node.getAttribute("_djrealurl")){v=node.getAttribute("_djrealurl");}}_75f.push([n,v]);}}}_75f.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});i=0;while((attr=_75f[i++])){_75e+=" "+attr[0]+"=\""+(dojo.isString(attr[1])?dijit._editor.escapeXml(attr[1],true):attr[1])+"\"";}if(node.childNodes.length){_75e+=">"+dijit._editor.getChildrenHtml(node)+"</"+node.nodeName.toLowerCase()+">";}else{_75e+=" />";}break;case 3:_75e=dijit._editor.escapeXml(node.nodeValue,true);break;case 8:_75e="<!--"+dijit._editor.escapeXml(node.nodeValue,true)+"-->";break;default:_75e="Element not recognized - Type: "+node.nodeType+" Name: "+node.nodeName;}return _75e;};dijit._editor.getChildrenHtml=function(dom){var out="";if(!dom){return out;}var _76c=dom["childNodes"]||dom;var i=0;var node;while((node=_76c[i++])){out+=dijit._editor.getNodeHtml(node);}return out;};}if(!dojo._hasResource["dijit._editor.RichText"]){dojo._hasResource["dijit._editor.RichText"]=true;dojo.provide("dijit._editor.RichText");if(!dojo.config["useXDomain"]||dojo.config["allowXdRichTextSave"]){if(dojo._postLoad){(function(){var _76f=dojo.doc.createElement("textarea");_76f.id=dijit._scopeName+"._editor.RichText.savedContent";var s=_76f.style;s.display="none";s.position="absolute";s.top="-100px";s.left="-100px";s.height="3px";s.width="3px";dojo.body().appendChild(_76f);})();}else{try{dojo.doc.write("<textarea id=\""+dijit._scopeName+"._editor.RichText.savedContent\" "+"style=\"display:none;position:absolute;top:-100px;left:-100px;height:3px;width:3px;overflow:hidden;\"></textarea>");}catch(e){}}}dojo.declare("dijit._editor.RichText",dijit._Widget,{constructor:function(){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this._keyHandlers={};this.contentPreFilters.push(dojo.hitch(this,"_preFixUrlAttributes"));if(dojo.isMoz){this.contentPreFilters.push(this._fixContentForMoz);this.contentPostFilters.push(this._removeMozBogus);}else{if(dojo.isSafari){this.contentPostFilters.push(this._removeSafariBogus);}}this.onLoadDeferred=new dojo.Deferred();},inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",_content:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",onLoadDeferred:null,postCreate:function(){dojo.publish(dijit._scopeName+"._editor.RichText::init",[this]);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var exec=function(cmd,arg){return arguments.length==1?function(){this.execCommand(cmd);}:function(){this.execCommand(cmd,arg);};};var _774={b:exec("bold"),i:exec("italic"),u:exec("underline"),a:exec("selectall"),s:function(){this.save(true);},"1":exec("formatblock","h1"),"2":exec("formatblock","h2"),"3":exec("formatblock","h3"),"4":exec("formatblock","h4"),"\\":exec("insertunorderedlist")};if(!dojo.isIE){_774.Z=exec("redo");}for(var key in _774){this.addKeyHandler(key,this.KEY_CTRL,_774[key]);}},events:["onKeyPress","onKeyDown","onKeyUp","onClick"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(this._editorCommandsLocalized){return;}this._editorCommandsLocalized=true;var _776=["p","pre","address","h1","h2","h3","h4","h5","h6","ol","div","ul"];var _777="",_778,i=0;while((_778=_776[i++])){if(_778.charAt(1)!="l"){_777+="<"+_778+"><span>content</span></"+_778+">";}else{_777+="<"+_778+"><li>content</li></"+_778+">";}}var div=dojo.doc.createElement("div");div.style.position="absolute";div.style.left="-2000px";div.style.top="-2000px";dojo.doc.body.appendChild(div);div.innerHTML=_777;var node=div.firstChild;while(node){dijit._editor.selection.selectElement(node.firstChild);dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[node.firstChild]);var _77b=node.tagName.toLowerCase();this._local2NativeFormatNames[_77b]=dojo.doc.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_77b]]=_77b;node=node.nextSibling;}dojo.doc.body.removeChild(div);},open:function(_77c){if((!this.onLoadDeferred)||(this.onLoadDeferred.fired>=0)){this.onLoadDeferred=new dojo.Deferred();}if(!this.isClosed){this.close();}dojo.publish(dijit._scopeName+"._editor.RichText::open",[this]);this._content="";if((arguments.length==1)&&(_77c["nodeName"])){this.domNode=_77c;}var html;if((this.domNode["nodeName"])&&(this.domNode.nodeName.toLowerCase()=="textarea")){this.textarea=this.domNode;this.name=this.textarea.name;html=this._preFilterContent(this.textarea.value);this.domNode=dojo.doc.createElement("div");this.domNode.setAttribute("widgetId",this.id);this.textarea.removeAttribute("widgetId");this.domNode.cssText=this.textarea.cssText;this.domNode.className+=" "+this.textarea.className;dojo.place(this.domNode,this.textarea,"before");var _77e=dojo.hitch(this,function(){dojo.attr(this.textarea,"tabIndex","-1");with(this.textarea.style){display="block";position="absolute";left=top="-1000px";if(dojo.isIE){this.__overflow=overflow;overflow="hidden";}}});if(dojo.isIE){setTimeout(_77e,10);}else{_77e();}}else{html=this._preFilterContent(dijit._editor.getChildrenHtml(this.domNode));this.domNode.innerHTML="";}if(html==""){html="&nbsp;";}var _77f=dojo.contentBox(this.domNode);this._oldHeight=_77f.h;this._oldWidth=_77f.w;if((this.domNode["nodeName"])&&(this.domNode.nodeName=="LI")){this.domNode.innerHTML=" <br>";}this.editingArea=dojo.doc.createElement("div");this.domNode.appendChild(this.editingArea);if(this.name!=""&&(!dojo.config["useXDomain"]||dojo.config["allowXdRichTextSave"])){var _780=dojo.byId(dijit._scopeName+"._editor.RichText.savedContent");if(_780.value!=""){var _781=_780.value.split(this._SEPARATOR),i=0,dat;while((dat=_781[i++])){var data=dat.split(":");if(data[0]==this.name){html=data[1];_781.splice(i,1);break;}}}this.connect(window,"onbeforeunload","_saveContent");}this.isClosed=false;if(dojo.isIE||dojo.isSafari||dojo.isOpera){var burl=dojo.moduleUrl("dojo","resources/blank.html")+"";var ifr=this.editorObject=this.iframe=dojo.doc.createElement("iframe");ifr.id=this.id+"_iframe";ifr.src=burl;ifr.style.border="none";ifr.style.width="100%";ifr.frameBorder=0;this.editingArea.appendChild(ifr);var h=null;var _787=dojo.hitch(this,function(){if(h){dojo.disconnect(h);h=null;}this.window=ifr.contentWindow;var d=this.document=this.window.document;d.open();d.write(this._getIframeDocTxt(html));d.close();if(dojo.isIE>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}if(dojo.isIE){this._localizeEditorCommands();}this.onLoad();this.savedContent=this.getValue(true);});if(dojo.isIE&&dojo.isIE<7){var t=setInterval(function(){if(ifr.contentWindow.isLoaded){clearInterval(t);_787();}},100);}else{h=dojo.connect(((dojo.isIE)?ifr.contentWindow:ifr),"onload",_787);}}else{this._drawIframe(html);this.savedContent=this.getValue(true);}if(this.domNode.nodeName=="LI"){this.domNode.lastChild.style.marginTop="-1.2em";}this.domNode.className+=" RichTextEditable";},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_localizedIframeTitles:null,_getIframeDocTxt:function(html){var _cs=dojo.getComputedStyle(this.domNode);if(dojo.isIE||(!this.height&&!dojo.isMoz)){html="<div>"+html+"</div>";}var font=[_cs.fontWeight,_cs.fontSize,_cs.fontFamily].join(" ");var _78d=_cs.lineHeight;if(_78d.indexOf("px")>=0){_78d=parseFloat(_78d)/parseFloat(_cs.fontSize);}else{if(_78d.indexOf("em")>=0){_78d=parseFloat(_78d);}else{_78d="1.0";}}return [this.isLeftToRight()?"<html><head>":"<html dir='rtl'><head>",(dojo.isMoz?"<title>"+this._localizedIframeTitles.iframeEditTitle+"</title>":""),"<style>","body,html {","\tbackground:transparent;","\tfont:",font,";","\tpadding: 1em 0 0 0;","\tmargin: -1em 0 0 0;","\theight: 100%;","}","body{","\ttop:0px; left:0px; right:0px;",((this.height||dojo.isOpera)?"":"position: fixed;"),"\tmin-height:",this.minHeight,";","\tline-height:",_78d,"}","p{ margin: 1em 0 !important; }",(this.height?"":"body,html{height:auto;overflow-y:hidden;/*for IE*/} body > div {overflow-x:auto;/*for FF to show vertical scrollbar*/}"),"li > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; } ","li{ min-height:1.2em; }","</style>",this._applyEditingAreaStyleSheets(),"</head><body>"+html+"</body></html>"].join("");},_drawIframe:function(html){if(!this.iframe){var ifr=this.iframe=dojo.doc.createElement("iframe");ifr.id=this.id;var ifrs=ifr.style;ifrs.border="none";ifrs.lineHeight="0";ifrs.verticalAlign="bottom";this.editorObject=this.iframe;this._localizedIframeTitles=dojo.i18n.getLocalization("dijit.form","Textarea");var _791=dojo.query("label[for=\""+this.id+"\"]");if(_791.length){this._localizedIframeTitles.iframeEditTitle=_791[0].innerHTML+" "+this._localizedIframeTitles.iframeEditTitle;}}this.iframe.style.width=this.inheritWidth?this._oldWidth:"100%";if(this.height){this.iframe.style.height=this.height;}else{this.iframe.height=this._oldHeight;}var _792;if(this.textarea){_792=this.srcNodeRef;}else{_792=dojo.doc.createElement("div");_792.style.display="none";_792.innerHTML=html;this.editingArea.appendChild(_792);}this.editingArea.appendChild(this.iframe);var _793=false;var _794=this.iframe.contentDocument;_794.open();if(dojo.isAIR){_794.body.innerHTML=html;}else{_794.write(this._getIframeDocTxt(html));}_794.close();var _795=dojo.hitch(this,function(){if(!_793){_793=true;}else{return;}if(!this.editNode){try{if(this.iframe.contentWindow){this.window=this.iframe.contentWindow;this.document=this.iframe.contentWindow.document;}else{if(this.iframe.contentDocument){this.window=this.iframe.contentDocument.window;this.document=this.iframe.contentDocument;}}if(!this.document.body){throw "Error";}}catch(e){setTimeout(_795,500);_793=false;return;}dojo._destroyElement(_792);this.onLoad();}else{dojo._destroyElement(_792);this.editNode.innerHTML=html;this.onDisplayChanged();}this._preDomFilterContent(this.editNode);});_795();},_applyEditingAreaStyleSheets:function(){var _796=[];if(this.styleSheets){_796=this.styleSheets.split(";");this.styleSheets="";}_796=_796.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_796[i++])){var _799=(new dojo._Url(dojo.global.location,url)).toString();this.editingAreaStyleSheets.push(_799);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_799+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)=="."||(url.charAt(0)!="/"&&!uri.host)){url=(new dojo._Url(dojo.global.location,url)).toString();}if(dojo.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _79d=this.document.createElement("link");with(_79d){rel="stylesheet";type="text/css";href=url;}head.appendChild(_79d);}},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)=="."||(url.charAt(0)!="/"&&!uri.host)){url=(new dojo._Url(dojo.global.location,url)).toString();}var _7a0=dojo.indexOf(this.editingAreaStyleSheets,url);if(_7a0==-1){return;}delete this.editingAreaStyleSheets[_7a0];dojo.withGlobal(this.window,"query",dojo,["link:[href=\""+url+"\"]"]).orphan();},disabled:true,_mozSettingProps:["styleWithCSS","insertBrOnReturn"],setDisabled:function(_7a1){if(dojo.isIE||dojo.isSafari||dojo.isOpera){if(dojo.isIE){this.editNode.unselectable="on";}this.editNode.contentEditable=!_7a1;if(dojo.isIE){var _7a2=this;setTimeout(function(){_7a2.editNode.unselectable="off";},0);}}else{if(_7a1){this._mozSettings=[false,this.blockNodeForEnter==="BR"];}this.document.designMode=(_7a1?"off":"on");if(!_7a1&&this._mozSettings){dojo.forEach(this._mozSettingProps,function(s,i){this.document.execCommand(s,false,this._mozSettings[i]);},this);}}this.disabled=_7a1;},_isResized:function(){return false;},onLoad:function(e){this.isLoaded=true;if(!this.window.__registeredWindow){this.window.__registeredWindow=true;dijit.registerWin(this.window);}if(!dojo.isIE&&(this.height||dojo.isMoz)){this.editNode=this.document.body;}else{this.editNode=this.document.body.firstChild;var _7a6=this;if(dojo.isIE){var _7a7=this.tabStop=dojo.doc.createElement("<div tabIndex=-1>");this.editingArea.appendChild(_7a7);this.iframe.onfocus=function(){_7a6.editNode.setActive();};}}try{this.setDisabled(false);}catch(e){var _7a8=dojo.connect(this,"onClick",this,function(){this.setDisabled(false);dojo.disconnect(_7a8);});}this._preDomFilterContent(this.editNode);var _7a9=this.events.concat(this.captureEvents),i=0,et;while((et=_7a9[i++])){this.connect(this.document,et.toLowerCase(),et);}if(!dojo.isIE){try{this.document.execCommand("styleWithCSS",false,false);}catch(e2){}}else{this.connect(this.document,"onmousedown","_onMouseDown");this.editNode.style.zoom=1;}if(this.focusOnLoad){setTimeout(dojo.hitch(this,"focus"),0);}this.onDisplayChanged(e);if(this.onLoadDeferred){this.onLoadDeferred.callback(true);}},onKeyDown:function(e){if(dojo.isIE){if(e.keyCode==dojo.keys.TAB&&e.shiftKey&&!e.ctrlKey&&!e.altKey){this.iframe.focus();}else{if(e.keyCode==dojo.keys.TAB&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){this.tabStop.focus();}else{if(e.keyCode===dojo.keys.BACKSPACE&&this.document.selection.type==="Control"){dojo.stopEvent(e);this.execCommand("delete");}else{if((65<=e.keyCode&&e.keyCode<=90)||(e.keyCode>=37&&e.keyCode<=40)){e.charCode=e.keyCode;this.onKeyPress(e);}}}}}else{if(dojo.isMoz){if(e.keyCode==dojo.keys.TAB&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&this.iframe){this.iframe.contentDocument.title=this._localizedIframeTitles.iframeFocusTitle;this.iframe.focus();dojo.stopEvent(e);}else{if(e.keyCode==dojo.keys.TAB&&e.shiftKey){if(this.toolbar){this.toolbar.focus();}dojo.stopEvent(e);}}}}},onKeyUp:function(e){return;},KEY_CTRL:1,KEY_SHIFT:2,onKeyPress:function(e){var _7ae=(e.ctrlKey&&!e.altKey)?this.KEY_CTRL:0|e.shiftKey?this.KEY_SHIFT:0;var key=e.keyChar||e.keyCode;if(this._keyHandlers[key]){var _7b0=this._keyHandlers[key],i=0,h;while((h=_7b0[i++])){if(_7ae==h.modifiers){if(!h.handler.apply(this,arguments)){e.preventDefault();}break;}}}setTimeout(dojo.hitch(this,function(){this.onKeyPressed(e);}),1);},addKeyHandler:function(key,_7b3,_7b4){if(!dojo.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({modifiers:_7b3||0,handler:_7b4});},onKeyPressed:function(e){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onMouseDown:function(e){if(!this._focused&&!this.disabled){this.focus();}},_onBlur:function(e){this.inherited(arguments);var _c=this.getValue(true);if(_c!=this.savedContent){this.onChange(_c);this.savedContent=_c;}if(dojo.isMoz&&this.iframe){this.iframe.contentDocument.title=this._localizedIframeTitles.iframeEditTitle;}},_initialFocus:true,_onFocus:function(e){this.inherited(arguments);if(dojo.isMoz&&this._initialFocus){this._initialFocus=false;if(this.editNode.innerHTML.replace(/^\s+|\s+$/g,"")=="&nbsp;"){this.placeCursorAtStart();}}},blur:function(){if(!dojo.isIE&&this.window.document.documentElement&&this.window.document.documentElement.focus){this.window.document.documentElement.focus();}else{if(dojo.doc.body.focus){dojo.doc.body.focus();}}},focus:function(){if(!dojo.isIE){dijit.focus(this.iframe);}else{if(this.editNode&&this.editNode.focus){this.iframe.fireEvent("onfocus",document.createEventObject());}}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(e){if(!this._updateTimer){if(this._updateTimer){clearTimeout(this._updateTimer);}this._updateTimer=setTimeout(dojo.hitch(this,this.onNormalizedDisplayChanged),this.updateInterval);}},onNormalizedDisplayChanged:function(){this._updateTimer=null;},onChange:function(_7bc){},_normalizeCommand:function(cmd){var _7be=cmd.toLowerCase();if(_7be=="hilitecolor"&&!dojo.isMoz){_7be="backcolor";}return _7be;},queryCommandAvailable:function(_7bf){var ie=1;var _7c1=1<<1;var _7c2=1<<2;var _7c3=1<<3;var _7c4=1<<4;var _7c5=dojo.isSafari;function isSupportedBy(_7c6){return {ie:Boolean(_7c6&ie),mozilla:Boolean(_7c6&_7c1),safari:Boolean(_7c6&_7c2),safari420:Boolean(_7c6&_7c4),opera:Boolean(_7c6&_7c3)};};var _7c7=null;switch(_7bf.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":case "toggledir":_7c7=isSupportedBy(_7c1|ie|_7c2|_7c3);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":_7c7=isSupportedBy(_7c1|ie|_7c3|_7c4);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_7c7=isSupportedBy(ie);break;case "cut":case "copy":case "paste":_7c7=isSupportedBy(ie|_7c1|_7c4);break;case "inserttable":_7c7=isSupportedBy(_7c1|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_7c7=isSupportedBy(ie|_7c1);break;default:return false;}return (dojo.isIE&&_7c7.ie)||(dojo.isMoz&&_7c7.mozilla)||(dojo.isSafari&&_7c7.safari)||(_7c5&&_7c7.safari420)||(dojo.isOpera&&_7c7.opera);},execCommand:function(_7c8,_7c9){var _7ca;this.focus();_7c8=this._normalizeCommand(_7c8);if(_7c9!=undefined){if(_7c8=="heading"){throw new Error("unimplemented");}else{if((_7c8=="formatblock")&&dojo.isIE){_7c9="<"+_7c9+">";}}}if(_7c8=="inserthtml"){_7c9=this._preFilterContent(_7c9);if(dojo.isIE){var _7cb=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()=="CONTROL"){var n=_7cb.item(0);while(_7cb.length){_7cb.remove(_7cb.item(0));}n.outerHTML=_7c9;}else{_7cb.pasteHTML(_7c9);}_7cb.select();_7ca=true;}else{if(dojo.isMoz&&!_7c9.length){dojo.withGlobal(this.window,"remove",dijit._editor.selection);_7ca=true;}else{_7ca=this.document.execCommand(_7c8,false,_7c9);}}}else{if((_7c8=="unlink")&&(this.queryCommandEnabled("unlink"))&&(dojo.isMoz||dojo.isSafari)){var _7cd=this.window.getSelection();var a=dojo.withGlobal(this.window,"getAncestorElement",dijit._editor.selection,["a"]);dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[a]);_7ca=this.document.execCommand("unlink",false,null);}else{if((_7c8=="hilitecolor")&&(dojo.isMoz)){this.document.execCommand("styleWithCSS",false,true);_7ca=this.document.execCommand(_7c8,false,_7c9);this.document.execCommand("styleWithCSS",false,false);}else{if((dojo.isIE)&&((_7c8=="backcolor")||(_7c8=="forecolor"))){_7c9=arguments.length>1?_7c9:null;_7ca=this.document.execCommand(_7c8,false,_7c9);}else{_7c9=arguments.length>1?_7c9:null;if(_7c9||_7c8!="createlink"){_7ca=this.document.execCommand(_7c8,false,_7c9);}}}}}this.onDisplayChanged();return _7ca;},queryCommandEnabled:function(_7cf){if(this.disabled){return false;}_7cf=this._normalizeCommand(_7cf);if(dojo.isMoz||dojo.isSafari){if(_7cf=="unlink"){return dojo.withGlobal(this.window,"hasAncestorElement",dijit._editor.selection,["a"]);}else{if(_7cf=="inserttable"){return true;}}}if(dojo.isSafari){if(_7cf=="copy"){_7cf="cut";}else{if(_7cf=="paste"){return true;}}}var elem=dojo.isIE?this.document.selection.createRange():this.document;return elem.queryCommandEnabled(_7cf);},queryCommandState:function(_7d1){if(this.disabled){return false;}_7d1=this._normalizeCommand(_7d1);return this.document.queryCommandState(_7d1);},queryCommandValue:function(_7d2){if(this.disabled){return false;}_7d2=this._normalizeCommand(_7d2);if(dojo.isIE&&_7d2=="formatblock"){return this._local2NativeFormatNames[this.document.queryCommandValue(_7d2)];}return this.document.queryCommandValue(_7d2);},placeCursorAtStart:function(){this.focus();var _7d3=false;if(dojo.isMoz){var _7d4=this.editNode.firstChild;while(_7d4){if(_7d4.nodeType==3){if(_7d4.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_7d3=true;dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[_7d4]);break;}}else{if(_7d4.nodeType==1){_7d3=true;dojo.withGlobal(this.window,"selectElementChildren",dijit._editor.selection,[_7d4]);break;}}_7d4=_7d4.nextSibling;}}else{_7d3=true;dojo.withGlobal(this.window,"selectElementChildren",dijit._editor.selection,[this.editNode]);}if(_7d3){dojo.withGlobal(this.window,"collapse",dijit._editor.selection,[true]);}},placeCursorAtEnd:function(){this.focus();var _7d5=false;if(dojo.isMoz){var last=this.editNode.lastChild;while(last){if(last.nodeType==3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_7d5=true;dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[last]);break;}}else{if(last.nodeType==1){_7d5=true;if(last.lastChild){dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[last.lastChild]);}else{dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[last]);}break;}}last=last.previousSibling;}}else{_7d5=true;dojo.withGlobal(this.window,"selectElementChildren",dijit._editor.selection,[this.editNode]);}if(_7d5){dojo.withGlobal(this.window,"collapse",dijit._editor.selection,[false]);}},getValue:function(_7d7){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this._postFilterContent(null,_7d7);},setValue:function(html){if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);var node=this.isClosed?this.domNode:this.editNode;node.innerHTML=html;this._preDomFilterContent(node);}this.onDisplayChanged();},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!dojo.isMoz){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");if(dojo.isMoz&&!html){html="&nbsp;";}this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}},_preFilterContent:function(html){var ec=html;dojo.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;dojo.forEach(this.contentDomPreFilters,function(ef){if(ef&&dojo.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_7e1){var ec;if(!dojo.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_7e1&&dom["cloneNode"]){dom=dom.cloneNode(true);}dojo.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=dijit._editor.getChildrenHtml(dom);}else{ec=dom;}if(!ec.replace(/^(?:\s|\xA0)+/g,"").replace(/(?:\s|\xA0)+$/g,"").length){ec="";}dojo.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(e){var _7e6=dojo.byId(dijit._scopeName+"._editor.RichText.savedContent");_7e6.value+=this._SEPARATOR+this.name+":"+this.getValue();},escapeXml:function(str,_7e8){dojo.deprecated("dijit.Editor::escapeXml is deprecated","use dijit._editor.escapeXml instead",2);return dijit._editor.escapeXml(str,_7e8);},getNodeHtml:function(node){dojo.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit._editor.getNodeHtml instead",2);return dijit._editor.getNodeHtml(node);},getNodeChildrenHtml:function(dom){dojo.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit._editor.getChildrenHtml instead",2);return dijit._editor.getChildrenHtml(dom);},close:function(save,_7ec){if(this.isClosed){return false;}if(!arguments.length){save=true;}this._content=this.getValue();var _7ed=(this.savedContent!=this._content);if(this.interval){clearInterval(this.interval);}if(this.textarea){with(this.textarea.style){position="";left=top="";if(dojo.isIE){overflow=this.__overflow;this.__overflow=null;}}this.textarea.value=save?this._content:this.savedContent;dojo._destroyElement(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=save?this._content:this.savedContent;}dojo.removeClass(this.domNode,"RichTextEditable");this.isClosed=true;this.isLoaded=false;delete this.editNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;return _7ed;},destroyRendering:function(){},destroy:function(){this.destroyRendering();if(!this.isClosed){this.close(false);}this.inherited("destroy",arguments);},_removeMozBogus:function(html){return html.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"");},_removeSafariBogus:function(html){return html.replace(/\sclass="webkit-block-placeholder"/gi,"");},_fixContentForMoz:function(html){return html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2").replace(/<(\/)?em([ \>])/gi,"<$1i$2");},_srcInImgRegex:/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,_hrefInARegex:/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,_preFixUrlAttributes:function(html){return html.replace(this._hrefInARegex,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2").replace(this._srcInImgRegex,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");}});}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 _7f4=dijit.byId(id);return _7f4.isContainer?_7f4:null;}}return null;},_getSibling:function(_7f5){var node=this.domNode;do{node=node[_7f5+"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(_7f8,_7f9){if(_7f9===undefined){_7f9="last";}var _7fa=this.containerNode||this.domNode;if(_7f9&&typeof _7f9=="number"){var _7fb=dojo.query("> [widgetid]",_7fa);if(_7fb&&_7fb.length>=_7f9){_7fa=_7fb[_7f9-1];_7f9="after";}}dojo.place(_7f8.domNode,_7fa,_7f9);if(this._started&&!_7f8._started){_7f8.startup();}},removeChild:function(_7fc){var node=_7fc.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(_801,dir){var node=_801.domNode;var _804=(dir>0?"nextSibling":"previousSibling");do{node=node[_804];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_805,_806){var _807=this._keyNavCodes={};var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_805,function(code){_807[code]=prev;});dojo.forEach(_806,function(code){_807[code]=next;});this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));},addChild:function(_80c,_80d){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_80c);},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 _80e=this._getNextFocusableChild(this.focusedChild,1);if(_80e.getFocalNodes){this.focusChild(_80e,_80e.getFocalNodes()[0]);}else{this.focusChild(_80e);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _80f=this._getNextFocusableChild(this.focusedChild,-1);if(_80f.getFocalNodes){var _810=_80f.getFocalNodes();this.focusChild(_80f,_810[_810.length-1]);}else{this.focusChild(_80f);}},focusChild:function(_811,node){if(_811){if(this.focusedChild&&_811!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_811;if(node&&_811.focusFocalNode){_811.focusFocalNode(node);}else{_811.focus();}}},_startupChild:function(_813){if(_813.getFocalNodes){dojo.forEach(_813.getFocalNodes(),function(node){dojo.attr(node,"tabindex",-1);this._connectNode(node);},this);}else{var node=_813.focusNode||_813.domNode;if(_813.isFocusable()){dojo.attr(node,"tabindex",-1);}this._connectNode(node);}},_connectNode:function(node){this.connect(node,"onfocus","_onNodeFocus");this.connect(node,"onblur","_onNodeBlur");},_onContainerFocus:function(evt){if(evt.target===this.domNode){this.focusFirstChild();}},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.keyCode];if(func){func();dojo.stopEvent(evt);}},_onNodeFocus:function(evt){dojo.attr(this.domNode,"tabindex",-1);var _81b=dijit.getEnclosingWidget(evt.target);if(_81b&&_81b.isFocusable()){this.focusedChild=_81b;}dojo.stopEvent(evt);},_onNodeBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabindex",this.tabIndex);}dojo.stopEvent(evt);},_onChildBlur:function(_81d){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_81e,dir){if(_81e){_81e=this._getSiblingOfChild(_81e,dir);}var _820=this.getChildren();for(var i=0;i<_820.length;i++){if(!_81e){_81e=_820[(dir>0)?0:(_820.length-1)];}if(_81e.isFocusable()){return _81e;}_81e=this._getSiblingOfChild(_81e,dir);}return null;}});}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,_stringRepl:function(tmpl){var _823=this.declaredClass,_824=this;return dojo.string.substitute(tmpl,this,function(_825,key){if(key.charAt(0)=="!"){_825=_824[key.substr(1)];}if(typeof _825=="undefined"){throw new Error(_823+" template:"+key);}if(!_825){return "";}return key.charAt(0)=="!"?_825:_825.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _827=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_827)){node=dijit._Templated._createNodesFromText(this._stringRepl(_827))[0];}else{node=_827.cloneNode(true);}this._attachTemplateNodes(node);var _829=this.srcNodeRef;if(_829&&_829.parentNode){_829.parentNode.replaceChild(node,_829);}this.domNode=node;if(this.widgetsInTemplate){var cw=this._supportingWidgets=dojo.parser.parse(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(_829);},_fillContent:function(_82d){var dest=this.containerNode;if(_82d&&dest){while(_82d.hasChildNodes()){dest.appendChild(_82d.firstChild);}}},_attachTemplateNodes:function(_82f,_830){_830=_830||function(n,p){return n.getAttribute(p);};var _833=dojo.isArray(_82f)?_82f:(_82f.all||_82f.getElementsByTagName("*"));var x=dojo.isArray(_82f)?0:-1;for(;x<_833.length;x++){var _835=(x==-1)?_82f:_833[x];if(this.widgetsInTemplate&&_830(_835,"dojoType")){continue;}var _836=_830(_835,"dojoAttachPoint");if(_836){var _837,_838=_836.split(/\s*,\s*/);while((_837=_838.shift())){if(dojo.isArray(this[_837])){this[_837].push(_835);}else{this[_837]=_835;}}}var _839=_830(_835,"dojoAttachEvent");if(_839){var _83a,_83b=_839.split(/\s*,\s*/);var trim=dojo.trim;while((_83a=_83b.shift())){if(_83a){var _83d=null;if(_83a.indexOf(":")!=-1){var _83e=_83a.split(":");_83a=trim(_83e[0]);_83d=trim(_83e[1]);}else{_83a=trim(_83a);}if(!_83d){_83d=_83a;}this.connect(_835,_83a,_83d);}}}var role=_830(_835,"waiRole");if(role){dijit.setWaiRole(_835,role);}var _840=_830(_835,"waiState");if(_840){dojo.forEach(_840.split(/\s*,\s*/),function(_841){if(_841.indexOf("-")!=-1){var pair=_841.split("-");dijit.setWaiState(_835,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_843,_844,_845){var _846=dijit._Templated._templateCache;var key=_844||_843;var _848=_846[key];if(_848){return _848;}if(!_844){_844=dijit._Templated._sanitizeTemplateString(dojo._getText(_843));}_844=dojo.string.trim(_844);if(_845||_844.match(/\$\{([^\}]+)\}/g)){return (_846[key]=_844);}else{return (_846[key]=dijit._Templated._createNodesFromText(_844)[0]);}};dijit._Templated._sanitizeTemplateString=function(_849){if(_849){_849=_849.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _84a=_849.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_84a){_849=_84a[1];}}else{_849="";}return _849;};if(dojo.isIE){dojo.addOnUnload(function(){var _84b=dijit._Templated._templateCache;for(var key in _84b){var _84d=_84b[key];if(!isNaN(_84d.nodeType)){dojo._destroyElement(_84d);}delete _84b[key];}});}(function(){var _84e={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 _851="none";var _852=text.replace(/^\s+/,"");for(var type in _84e){var map=_84e[type];if(map.re.test(_852)){_851=type;text=map.pre+text+map.post;break;}}tn.innerHTML=text;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_851];var _856=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _857=[];while(_856.firstChild){_857.push(_856.removeChild(_856.firstChild));}tn.innerHTML="";return _857;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit.Toolbar"]){dojo._hasResource["dijit.Toolbar"]=true;dojo.provide("dijit.Toolbar");dojo.declare("dijit.Toolbar",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{templateString:"<div class=\"dijit dijitToolbar\" waiRole=\"toolbar\" tabIndex=\"${tabIndex}\" dojoAttachPoint=\"containerNode\">"+"</div>",tabIndex:"0",postCreate:function(){this.connectKeyNavHandlers(this.isLeftToRight()?[dojo.keys.LEFT_ARROW]:[dojo.keys.RIGHT_ARROW],this.isLeftToRight()?[dojo.keys.RIGHT_ARROW]:[dojo.keys.LEFT_ARROW]);},startup:function(){if(this._started){return;}this.startupKeyNavChildren();this.inherited(arguments);}});dojo.declare("dijit.ToolbarSeparator",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\"></div>",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,readOnly:false,intermediateChanges:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{value:"focusNode",disabled:"focusNode",readOnly:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),setAttribute:function(attr,_859){this.inherited(arguments);switch(attr){case "disabled":var _85a=this[this.attributeMap["tabIndex"]||"domNode"];if(_859){this._hovering=false;this._active=false;_85a.removeAttribute("tabIndex");}else{_85a.setAttribute("tabIndex",this.tabIndex);}dijit.setWaiState(this[this.attributeMap["disabled"]||"domNode"],"disabled",_859);this._setStateClass();}},setDisabled:function(_85b){dojo.deprecated("setDisabled("+_85b+") is deprecated. Use setAttribute('disabled',"+_85b+") instead.","","2.0");this.setAttribute("disabled",_85b);},_onMouse:function(_85c){var _85d=_85c.currentTarget;if(_85d&&_85d.getAttribute){this.stateModifier=_85d.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_85c.type){case "mouseenter":case "mouseover":this._hovering=true;this._active=this._mouseDown;break;case "mouseout":case "mouseleave":this._hovering=false;this._active=false;break;case "mousedown":this._active=true;this._mouseDown=true;var _85e=this.connect(dojo.body(),"onmouseup",function(){this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_85e);});if(this.isFocusable()){this.focus();}break;}this._setStateClass();}},isFocusable:function(){return !this.disabled&&!this.readOnly&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){setTimeout(dojo.hitch(this,dijit.focus,this.focusNode),0);},_setStateClass:function(){if(!("staticClass" in this)){this.staticClass=(this.stateNode||this.domNode).className;}var _85f=[this.baseClass];function multiply(_860){_85f=_85f.concat(dojo.map(_85f,function(c){return c+_860;}),"dijit"+_860);};if(this.checked){multiply("Checked");}if(this.state){multiply(this.state);}if(this.selected){multiply("Selected");}if(this.disabled){multiply("Disabled");}else{if(this.readOnly){multiply("ReadOnly");}else{if(this._active){multiply(this.stateModifier+"Active");}else{if(this._focused){multiply("Focused");}if(this._hovering){multiply(this.stateModifier+"Hover");}}}}(this.stateNode||this.domNode).className=this.staticClass+" "+_85f.join(" ");},onChange:function(_862){},_onChangeMonitor:"value",_onChangeActive:false,_handleOnChange:function(_863,_864){this._lastValue=_863;if(this._lastValueReported==undefined&&(_864===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_863;}if((this.intermediateChanges||_864||_864===undefined)&&((_863&&_863.toString)?_863.toString():_863)!==((this._lastValueReported&&this._lastValueReported.toString)?this._lastValueReported.toString():this._lastValueReported)){this._lastValueReported=_863;if(this._onChangeActive){this.onChange(_863);}}},reset:function(){this._hasBeenBlurred=false;if(this.setValue&&!this._getValueDeprecated){this.setValue(this._resetValue,true);}else{if(this._onChangeMonitor){this.setAttribute(this._onChangeMonitor,(this._resetValue!==undefined&&this._resetValue!==null)?this._resetValue:"");}}},create:function(){this.inherited(arguments);this._onChangeActive=true;this._setStateClass();},destroy:function(){if(this._layoutHackHandle){clearTimeout(this._layoutHackHandle);}this.inherited(arguments);},setValue:function(_865){dojo.deprecated("dijit.form._FormWidget:setValue("+_865+") is deprecated.  Use setAttribute('value',"+_865+") instead.","","2.0");this.setAttribute("value",_865);},_getValueDeprecated:true,getValue:function(){dojo.deprecated("dijit.form._FormWidget:getValue() is deprecated.  Use widget.value instead.","","2.0");return this.value;},_layoutHack:function(){if(dojo.isFF==2){var node=this.domNode;var old=node.style.opacity;node.style.opacity="0.999";this._layoutHackHandle=setTimeout(dojo.hitch(this,function(){this._layoutHackHandle=null;node.style.opacity=old;}),0);}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{value:""}),postCreate:function(){this.setValue(this.value,null);},setValue:function(_868,_869){this.value=_868;this._handleOnChange(_868,_869);},_getValueDeprecated:false,getValue:function(){return this._lastValue;},undo:function(){this.setValue(this._lastValueReported,false);},_valueChanged:function(){var v=this.getValue();var lv=this._lastValueReported;return ((v!==null&&(v!==undefined)&&v.toString)?v.toString():"")!==((lv!==null&&(lv!==undefined)&&lv.toString)?lv.toString():"");},_onKeyPress:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){if(this._valueChanged()){this.undo();dojo.stopEvent(e);return false;}}return true;}});}if(!dojo._hasResource["dijit.form.Button"]){dojo._hasResource["dijit.form.Button"]=true;dojo.provide("dijit.form.Button");dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:"<div class=\"dijit dijitReset dijitLeft dijitInline\"\r\n\tdojoAttachEvent=\"onclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"\r\n\twaiRole=\"presentation\"\r\n\t><button class=\"dijitReset dijitStretch dijitButtonNode dijitButtonContents\" dojoAttachPoint=\"focusNode,titleNode\"\r\n\t\ttype=\"${type}\" waiRole=\"button\" waiState=\"labelledby-${id}_label\"\r\n\t\t><span class=\"dijitReset dijitInline ${iconClass}\" dojoAttachPoint=\"iconNode\" \r\n \t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#10003;</span \r\n\t\t></span\r\n\t\t><div class=\"dijitReset dijitInline\"><center class=\"dijitReset dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\">${label}</center></div\r\n\t></button\r\n></div>\r\n",_onChangeMonitor:"",_onClick:function(e){if(this.disabled||this.readOnly){dojo.stopEvent(e);return false;}this._clicked();return this.onClick(e);},_onButtonClick:function(e){if(this._onClick(e)===false){dojo.stopEvent(e);}else{if(this.type=="submit"&&!this.focusNode.form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _870=dijit.byNode(node);if(_870&&typeof _870._onSubmit=="function"){_870._onSubmit(e);break;}}}}},postCreate:function(){if(this.showLabel==false){var _871="";this.label=this.containerNode.innerHTML;_871=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");this.titleNode.title=_871;dojo.addClass(this.containerNode,"dijitDisplayNone");}dojo.setSelectable(this.focusNode,false);this.inherited(arguments);},onClick:function(e){return true;},_clicked:function(e){},setLabel:function(_874){this.containerNode.innerHTML=this.label=_874;this._layoutHack();if(this.showLabel==false){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container],{baseClass:"dijitDropDownButton",templateString:"<div class=\"dijit dijitReset dijitLeft dijitInline\"\r\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse,onclick:_onDropDownClick,onkeydown:_onDropDownKeydown,onblur:_onDropDownBlur,onkeypress:_onKey\"\r\n\twaiRole=\"presentation\"\r\n\t><div class='dijitReset dijitRight' waiRole=\"presentation\"\r\n\t><button class=\"dijitReset dijitStretch dijitButtonNode dijitButtonContents\" type=\"${type}\"\r\n\t\tdojoAttachPoint=\"focusNode,titleNode\" waiRole=\"button\" waiState=\"haspopup-true,labelledby-${id}_label\"\r\n\t\t><div class=\"dijitReset dijitInline ${iconClass}\" dojoAttachPoint=\"iconNode\" waiRole=\"presentation\"></div\r\n\t\t><div class=\"dijitReset dijitInline dijitButtonText\"  dojoAttachPoint=\"containerNode,popupStateNode\" waiRole=\"presentation\"\r\n\t\t\tid=\"${id}_label\">${label}</div\r\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" waiRole=\"presentation\">&thinsp;</div\r\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonChar\" waiRole=\"presentation\">&#9660;</div\r\n\t></button\r\n></div></div>\r\n",_fillContent:function(){if(this.srcNodeRef){var _875=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_875[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown){var _876=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_876);delete this.dropDownContainer;}dijit.popup.prepare(this.dropDown.domNode);this.inherited(arguments);},destroyDescendants:function(){if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}this.inherited(arguments);},_onArrowClick:function(e){if(this.disabled||this.readOnly){return;}this._toggleDropDown();},_onDropDownClick:function(e){var _879=dojo.isFF&&dojo.isFF<3&&navigator.appVersion.indexOf("Macintosh")!=-1;if(!_879||e.detail!=0||this._seenKeydown){this._onArrowClick(e);}this._seenKeydown=false;},_onDropDownKeydown:function(e){this._seenKeydown=true;},_onDropDownBlur:function(e){this._seenKeydown=false;},_onKey:function(e){if(this.disabled||this.readOnly){return;}if(e.keyCode==dojo.keys.DOWN_ARROW){if(!this.dropDown||this.dropDown.domNode.style.visibility=="hidden"){dojo.stopEvent(e);this._toggleDropDown();}}},_onBlur:function(){this._closeDropDown();this.inherited(arguments);},_toggleDropDown:function(){if(this.disabled||this.readOnly){return;}dijit.focus(this.popupStateNode);var _87d=this.dropDown;if(!_87d){return;}if(!this._opened){if(_87d.href&&!_87d.isLoaded){var self=this;var _87f=dojo.connect(_87d,"onLoad",function(){dojo.disconnect(_87f);self._openDropDown();});_87d._loadCheck(true);return;}else{this._openDropDown();}}else{this._closeDropDown();}},_openDropDown:function(){var _880=this.dropDown;var _881=_880.domNode.style.width;var self=this;dijit.popup.open({parent:this,popup:_880,around:this.domNode,orient:this.isLeftToRight()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"},onExecute:function(){self._closeDropDown(true);},onCancel:function(){self._closeDropDown(true);},onClose:function(){_880.domNode.style.width=_881;self.popupStateNode.removeAttribute("popupActive");this._opened=false;}});if(this.domNode.offsetWidth>_880.domNode.offsetWidth){var _883=null;if(!this.isLeftToRight()){_883=_880.domNode.parentNode;var _884=_883.offsetLeft+_883.offsetWidth;}dojo.marginBox(_880.domNode,{w:this.domNode.offsetWidth});if(_883){_883.style.left=_884-this.domNode.offsetWidth+"px";}}this.popupStateNode.setAttribute("popupActive","true");this._opened=true;if(_880.focus){_880.focus();}},_closeDropDown:function(_885){if(this._opened){dijit.popup.close(this.dropDown);if(_885){this.focus();}this._opened=false;}}});dojo.declare("dijit.form.ComboButton",dijit.form.DropDownButton,{templateString:"<table class='dijit dijitReset dijitInline dijitLeft'\r\n\tcellspacing='0' cellpadding='0' waiRole=\"presentation\"\r\n\t><tbody waiRole=\"presentation\"><tr waiRole=\"presentation\"\r\n\t\t><td\tclass=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\"\r\n\t\t\ttabIndex=\"${tabIndex}\"\r\n\t\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"  dojoAttachPoint=\"titleNode\"\r\n\t\t\twaiRole=\"button\" waiState=\"labelledby-${id}_label\"\r\n\t\t\t><div class=\"dijitReset dijitInline ${iconClass}\" dojoAttachPoint=\"iconNode\" waiRole=\"presentation\"></div\r\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\" waiRole=\"presentation\">${label}</div\r\n\t\t></td\r\n\t\t><td class='dijitReset dijitStretch dijitButtonNode dijitArrowButton dijitDownArrowButton'\r\n\t\t\tdojoAttachPoint=\"popupStateNode,focusNode\"\r\n\t\t\tdojoAttachEvent=\"ondijitclick:_onArrowClick, onkeypress:_onKey,onmouseenter:_onMouse,onmouseleave:_onMouse\"\r\n\t\t\tstateModifier=\"DownArrow\"\r\n\t\t\ttitle=\"${optionsTitle}\" name=\"${name}\"\r\n\t\t\twaiRole=\"button\" waiState=\"haspopup-true\"\r\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" waiRole=\"presentation\">&thinsp;</div\r\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" waiRole=\"presentation\">&#9660;</div\r\n\t\t></td\r\n\t></tr></tbody\r\n></table>\r\n",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{id:"",name:""}),optionsTitle:"",baseClass:"dijitComboButton",_focusedNode:null,postCreate:function(){this.inherited(arguments);this._focalNodes=[this.titleNode,this.popupStateNode];dojo.forEach(this._focalNodes,dojo.hitch(this,function(node){if(dojo.isIE){this.connect(node,"onactivate",this._onNodeFocus);this.connect(node,"ondeactivate",this._onNodeBlur);}else{this.connect(node,"onfocus",this._onNodeFocus);this.connect(node,"onblur",this._onNodeBlur);}}));},focusFocalNode:function(node){this._focusedNode=node;dijit.focus(node);},hasNextFocalNode:function(){return this._focusedNode!==this.getFocalNodes()[1];},focusNext:function(){this._focusedNode=this.getFocalNodes()[this._focusedNode?1:0];dijit.focus(this._focusedNode);},hasPrevFocalNode:function(){return this._focusedNode!==this.getFocalNodes()[0];},focusPrev:function(){this._focusedNode=this.getFocalNodes()[this._focusedNode?0:1];dijit.focus(this._focusedNode);},getFocalNodes:function(){return this._focalNodes;},_onNodeFocus:function(evt){this._focusedNode=evt.currentTarget;var fnc=this._focusedNode==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";dojo.addClass(this._focusedNode,fnc);},_onNodeBlur:function(evt){var fnc=evt.currentTarget==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";dojo.removeClass(evt.currentTarget,fnc);},_onBlur:function(){this.inherited(arguments);this._focusedNode=null;}});dojo.declare("dijit.form.ToggleButton",dijit.form.Button,{baseClass:"dijitToggleButton",checked:false,_onChangeMonitor:"checked",attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{checked:"focusNode"}),_clicked:function(evt){this.setAttribute("checked",!this.checked);},setAttribute:function(attr,_88e){this.inherited(arguments);switch(attr){case "checked":dijit.setWaiState(this.focusNode||this.domNode,"pressed",this.checked);this._setStateClass();this._handleOnChange(this.checked,true);}},setChecked:function(_88f){dojo.deprecated("setChecked("+_88f+") is deprecated. Use setAttribute('checked',"+_88f+") instead.","","2.0");this.setAttribute("checked",_88f);},postCreate:function(){this.inherited(arguments);this.setAttribute("checked",this.checked);}});}if(!dojo._hasResource["dijit._editor._Plugin"]){dojo._hasResource["dijit._editor._Plugin"]=true;dojo.provide("dijit._editor._Plugin");dojo.declare("dijit._editor._Plugin",null,{constructor:function(args,node){if(args){dojo.mixin(this,args);}this._connects=[];},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,queryCommand:null,command:"",commandArg:null,useDefaultCommand:true,buttonClass:dijit.form.Button,getLabel:function(key){return this.editor.commands[key];},_initButton:function(_893){if(this.command.length){var _894=this.getLabel(this.command);var _895=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){_893=dojo.mixin({label:_894,showLabel:false,iconClass:_895,dropDown:this.dropDown,tabIndex:"-1"},_893||{});this.button=new this.buttonClass(_893);}}},destroy:function(f){dojo.forEach(this._connects,dojo.disconnect);},connect:function(o,f,tf){this._connects.push(dojo.connect(o,f,this,tf));},updateState:function(){var _e=this.editor;var _c=this.command;if(!_e){return;}if(!_e.isLoaded){return;}if(!_c.length){return;}if(this.button){try{var _89c=_e.queryCommandEnabled(_c);this.button.setAttribute("disabled",!_89c);if(typeof this.button.checked=="boolean"){this.button.setAttribute("checked",_e.queryCommandState(_c));}}catch(e){console.debug(e);}}},setEditor:function(_89d){this.editor=_89d;this._initButton();if(this.command.length&&!this.editor.queryCommandAvailable(this.command)){if(this.button){this.button.domNode.style.display="none";}}if(this.button&&this.useDefaultCommand){this.connect(this.button,"onClick",dojo.hitch(this.editor,"execCommand",this.command,this.commandArg));}this.connect(this.editor,"onNormalizedDisplayChanged","updateState");},setToolbar:function(_89e){if(this.button){_89e.addChild(this.button);}}});}if(!dojo._hasResource["dijit.Editor"]){dojo._hasResource["dijit.Editor"]=true;dojo.provide("dijit.Editor");dojo.declare("dijit.Editor",dijit._editor.RichText,{plugins:null,extraPlugins:null,constructor:function(){if(!dojo.isArray(this.plugins)){this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull"];}this._plugins=[];this._editInterval=this.editActionInterval*1000;},postCreate:function(){if(this.customUndo){dojo["require"]("dijit._editor.range");this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);}if(dojo.isArray(this.extraPlugins)){this.plugins=this.plugins.concat(this.extraPlugins);}this.inherited(arguments);this.commands=dojo.i18n.getLocalization("dijit._editor","commands",this.lang);if(!this.toolbar){this.toolbar=new dijit.Toolbar({});dojo.place(this.toolbar.domNode,this.editingArea,"before");}dojo.forEach(this.plugins,this.addPlugin,this);this.onNormalizedDisplayChanged();},destroy:function(){dojo.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroy();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_8a0,_8a1){var args=dojo.isString(_8a0)?{name:_8a0}:_8a0;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};dojo.publish(dijit._scopeName+".Editor.getPlugin",[o]);if(!o.plugin){var pc=dojo.getObject(args.name);if(pc){o.plugin=new pc(args);}}if(!o.plugin){console.warn("Cannot find plugin",_8a0);return;}_8a0=o.plugin;}if(arguments.length>1){this._plugins[_8a1]=_8a0;}else{this._plugins.push(_8a0);}_8a0.setEditor(this);if(dojo.isFunction(_8a0.setToolbar)){_8a0.setToolbar(this.toolbar);}},customUndo:dojo.isIE,editActionInterval:3,beginEditing:function(cmd){if(!this._inEditing){this._inEditing=true;this._beginEditing(cmd);}if(this.editActionInterval>0){if(this._editTimer){clearTimeout(this._editTimer);}this._editTimer=setTimeout(dojo.hitch(this,this.endEditing),this._editInterval);}},_steps:[],_undoedSteps:[],execCommand:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return this[cmd]();}else{try{if(this.customUndo){this.endEditing();this._beginEditing();}var r=this.inherited("execCommand",arguments);if(this.customUndo){this._endEditing();}return r;}catch(e){if(dojo.isMoz&&/copy|cut|paste/.test(cmd)){var sub=dojo.string.substitute,_8a9={cut:"X",copy:"C",paste:"V"},_8aa=navigator.userAgent.indexOf("Macintosh")!=-1;alert(sub(this.commands.systemShortcutFF,[this.commands[cmd],sub(this.commands[_8aa?"appleKey":"ctrlKey"],[_8a9[cmd]])]));}return false;}}},queryCommandEnabled:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return cmd=="undo"?(this._steps.length>1):(this._undoedSteps.length>0);}else{return this.inherited("queryCommandEnabled",arguments);}},_moveToBookmark:function(b){var _8ad=b;if(dojo.isIE){if(dojo.isArray(b)){_8ad=[];dojo.forEach(b,function(n){_8ad.push(dijit.range.getNode(n,this.editNode));},this);}}else{var r=dijit.range.create();r.setStart(dijit.range.getNode(b.startContainer,this.editNode),b.startOffset);r.setEnd(dijit.range.getNode(b.endContainer,this.editNode),b.endOffset);_8ad=r;}dojo.withGlobal(this.window,"moveToBookmark",dijit,[_8ad]);},_changeToStep:function(from,to){this.setValue(to.text);var b=to.bookmark;if(!b){return;}this._moveToBookmark(b);},undo:function(){this.endEditing(true);var s=this._steps.pop();if(this._steps.length>0){this.focus();this._changeToStep(s,this._steps[this._steps.length-1]);this._undoedSteps.push(s);this.onDisplayChanged();return true;}return false;},redo:function(){this.endEditing(true);var s=this._undoedSteps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(this._steps[this._steps.length-1],s);this._steps.push(s);this.onDisplayChanged();return true;}return false;},endEditing:function(_8b5){if(this._editTimer){clearTimeout(this._editTimer);}if(this._inEditing){this._endEditing(_8b5);this._inEditing=false;}},_getBookmark:function(){var b=dojo.withGlobal(this.window,dijit.getBookmark);var tmp=[];if(dojo.isIE){if(dojo.isArray(b)){dojo.forEach(b,function(n){tmp.push(dijit.range.getIndex(n,this.editNode).o);},this);b=tmp;}}else{tmp=dijit.range.getIndex(b.startContainer,this.editNode).o;b={startContainer:tmp,startOffset:b.startOffset,endContainer:b.endContainer===b.startContainer?tmp:dijit.range.getIndex(b.endContainer,this.editNode).o,endOffset:b.endOffset};}return b;},_beginEditing:function(cmd){if(this._steps.length===0){this._steps.push({"text":this.savedContent,"bookmark":this._getBookmark()});}},_endEditing:function(_8ba){var v=this.getValue(true);this._undoedSteps=[];this._steps.push({text:v,bookmark:this._getBookmark()});},onKeyDown:function(e){if(!this.customUndo){this.inherited("onKeyDown",arguments);return;}var k=e.keyCode,ks=dojo.keys;if(e.ctrlKey&&!e.altKey){if(k==90||k==122){dojo.stopEvent(e);this.undo();return;}else{if(k==89||k==121){dojo.stopEvent(e);this.redo();return;}}}this.inherited("onKeyDown",arguments);switch(k){case ks.ENTER:case ks.BACKSPACE:case ks.DELETE:this.beginEditing();break;case 88:case 86:if(e.ctrlKey&&!e.altKey&&!e.metaKey){this.endEditing();if(e.keyCode==88){this.beginEditing("cut");setTimeout(dojo.hitch(this,this.endEditing),1);}else{this.beginEditing("paste");setTimeout(dojo.hitch(this,this.endEditing),1);}break;}default:if(!e.ctrlKey&&!e.altKey&&!e.metaKey&&(e.keyCode<dojo.keys.F1||e.keyCode>dojo.keys.F15)){this.beginEditing();break;}case ks.ALT:this.endEditing();break;case ks.UP_ARROW:case ks.DOWN_ARROW:case ks.LEFT_ARROW:case ks.RIGHT_ARROW:case ks.HOME:case ks.END:case ks.PAGE_UP:case ks.PAGE_DOWN:this.endEditing(true);break;case ks.CTRL:case ks.SHIFT:case ks.TAB:break;}},_onBlur:function(){this.inherited("_onBlur",arguments);this.endEditing(true);},onClick:function(){this.endEditing(true);this.inherited("onClick",arguments);}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}var args=o.args,p;var _p=dijit._editor._Plugin;var name=args.name;switch(name){case "undo":case "redo":case "cut":case "copy":case "paste":case "insertOrderedList":case "insertUnorderedList":case "indent":case "outdent":case "justifyCenter":case "justifyFull":case "justifyLeft":case "justifyRight":case "delete":case "selectAll":case "removeFormat":case "insertHorizontalRule":p=new _p({command:name});break;case "bold":case "italic":case "underline":case "strikethrough":case "subscript":case "superscript":p=new _p({buttonClass:dijit.form.ToggleButton,command:name});break;case "|":p=new _p({button:new dijit.ToolbarSeparator()});}o.plugin=p;});}if(!dojo._hasResource["dijit._editor.range"]){dojo._hasResource["dijit._editor.range"]=true;dojo.provide("dijit._editor.range");dijit.range={};dijit.range.getIndex=function(node,_8c5){var ret=[],retR=[];var stop=_8c5;var _8c9=node;var _8ca,n;while(node!=stop){var i=0;_8ca=node.parentNode;while((n=_8ca.childNodes[i++])){if(n===node){--i;break;}}if(i>=_8ca.childNodes.length){dojo.debug("Error finding index of a node in dijit.range.getIndex");}ret.unshift(i);retR.unshift(i-_8ca.childNodes.length);node=_8ca;}if(ret.length>0&&_8c9.nodeType==3){n=_8c9.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_8c9.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};};dijit.range.getNode=function(_8cd,_8ce){if(!dojo.isArray(_8cd)||_8cd.length==0){return _8ce;}var node=_8ce;dojo.every(_8cd,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;console.debug("Error: can not find node with index",_8cd,"under parent node",_8ce);return false;}return true;});return node;};dijit.range.getCommonAncestor=function(n1,n2,root){var _8d4=function(n,root){var as=[];while(n){as.unshift(n);if(n!=root&&n.tagName!="BODY"){n=n.parentNode;}else{break;}}return as;};var n1as=_8d4(n1,root);var n2as=_8d4(n2,root);var m=Math.min(n1as.length,n2as.length);var com=n1as[0];for(var i=1;i<m;i++){if(n1as[i]===n2as[i]){com=n1as[i];}else{break;}}return com;};dijit.range.getAncestor=function(node,_8de,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_8de.test(name)){return node;}node=node.parentNode;}return null;};dijit.range.BlockTagNames=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/;dijit.range.getBlockAncestor=function(node,_8e2,root){root=root||node.ownerDocument.body;_8e2=_8e2||dijit.range.BlockTagNames;var _8e4=null,_8e5;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_8e4&&_8e2.test(name)){_8e4=node;}if(!_8e5&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_8e5=node;}node=node.parentNode;}return {blockNode:_8e4,blockContainer:_8e5||node.ownerDocument.body};};dijit.range.atBeginningOfContainer=function(_8e7,node,_8e9){var _8ea=false;var _8eb=(_8e9==0);if(!_8eb&&node.nodeType==3){if(dojo.trim(node.nodeValue.substr(0,_8e9))==0){_8eb=true;}}if(_8eb){var _8ec=node;_8ea=true;while(_8ec&&_8ec!==_8e7){if(_8ec.previousSibling){_8ea=false;break;}_8ec=_8ec.parentNode;}}return _8ea;};dijit.range.atEndOfContainer=function(_8ed,node,_8ef){var _8f0=false;var _8f1=(_8ef==(node.length||node.childNodes.length));if(!_8f1&&node.nodeType==3){if(dojo.trim(node.nodeValue.substr(_8ef))==0){_8f1=true;}}if(_8f1){var _8f2=node;_8f0=true;while(_8f2&&_8f2!==_8ed){if(_8f2.nextSibling){_8f0=false;break;}_8f2=_8f2.parentNode;}}return _8f0;};dijit.range.adjacentNoneTextNode=function(_8f3,next){var node=_8f3;var len=(0-_8f3.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];};dijit.range._w3c=Boolean(window["getSelection"]);dijit.range.create=function(){if(dijit.range._w3c){return dojo.doc.createRange();}else{return new dijit.range.W3CRange;}};dijit.range.getSelection=function(win,_8f9){if(dijit.range._w3c){return win.getSelection();}else{var id=win.__W3CRange,s;if(!id||!dijit.range.ie.cachedSelection[id]){s=new dijit.range.ie.selection(win);id=(new Date).getTime();while(id in dijit.range.ie.cachedSelection){id=id+1;}id=String(id);dijit.range.ie.cachedSelection[id]=s;}else{s=dijit.range.ie.cachedSelection[id];}if(!_8f9){s._getCurrentSelection();}return s;}};if(!dijit.range._w3c){dijit.range.ie={cachedSelection:{},selection:function(win){this._ranges=[];this.addRange=function(r,_8fe){this._ranges.push(r);if(!_8fe){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _8ff=function(){var r=win.document.selection.createRange();var type=win.document.selection.type.toUpperCase();if(type=="CONTROL"){return new dijit.range.W3CRange(dijit.range.ie.decomposeControlRange(r));}else{return new dijit.range.W3CRange(dijit.range.ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_8ff();if(r){this.addRange(r,true);}};},decomposeControlRange:function(_904){var _905=_904.item(0),_906=_904.item(_904.length-1);var _907=_905.parentNode,_908=_906.parentNode;var _909=dijit.range.getIndex(_905,_907).o;var _90a=dijit.range.getIndex(_906,_908).o+1;return [[_907,_909],[_908,_90a]];},getEndPoint:function(_90b,end){var _90d=_90b.duplicate();_90d.collapse(!end);var _90e="EndTo"+(end?"End":"Start");var _90f=_90d.parentElement();var _910,_911,_912;if(_90f.childNodes.length>0){dojo.every(_90f.childNodes,function(node,i){var _915;if(node.nodeType!=3){_90d.moveToElementText(node);if(_90d.compareEndPoints(_90e,_90b)>0){_910=node.previousSibling;if(_912&&_912.nodeType==3){_910=_912;_915=true;}else{_910=_90f;_911=i;return false;}}else{if(i==_90f.childNodes.length-1){_910=_90f;_911=_90f.childNodes.length;return false;}}}else{if(i==_90f.childNodes.length-1){_910=node;_915=true;}}if(_915&&_910){var _916=dijit.range.adjacentNoneTextNode(_910)[0];if(_916){_910=_916.nextSibling;}else{_910=_90f.firstChild;}var _917=dijit.range.adjacentNoneTextNode(_910);_916=_917[0];var _918=_917[1];if(_916){_90d.moveToElementText(_916);_90d.collapse(false);}else{_90d.moveToElementText(_90f);}_90d.setEndPoint(_90e,_90b);_911=_90d.text.length-_918;return false;}_912=node;return true;});}else{_910=_90f;_911=0;}if(!end&&_910.nodeType!=3&&_911==_910.childNodes.length){if(_910.nextSibling&&_910.nextSibling.nodeType==3){_910=_910.nextSibling;_911=0;}}return [_910,_911];},setEndPoint:function(_919,_91a,_91b){var _91c=_919.duplicate(),node,len;if(_91a.nodeType!=3){_91c.moveToElementText(_91a);_91c.collapse(true);if(_91b==_91a.childNodes.length){if(_91b>0){node=_91a.lastChild;len=0;while(node&&node.nodeType==3){len+=node.length;_91a=node;node=node.previousSibling;}if(node){_91c.moveToElementText(node);}_91c.collapse(false);_91b=len;}else{_91c.moveToElementText(_91a);_91c.collapse(true);}}else{if(_91b>0){node=_91a.childNodes[_91b-1];if(node.nodeType==3){_91a=node;_91b=node.length;}else{_91c.moveToElementText(node);_91c.collapse(false);}}}}if(_91a.nodeType==3){var _91f=dijit.range.adjacentNoneTextNode(_91a);var _920=_91f[0];len=_91f[1];if(_920){_91c.moveToElementText(_920);_91c.collapse(false);if(_920.contentEditable!="inherit"){len++;}}else{_91c.moveToElementText(_91a.parentNode);_91c.collapse(true);}_91b+=len;if(_91b>0){if(_91c.moveEnd("character",_91b)!=_91b){alert("Error when moving!");}_91c.collapse(false);}}return _91c;},decomposeTextRange:function(_921){var _922=dijit.range.ie.getEndPoint(_921);var _923=_922[0],_924=_922[1];var _925=_922[0],_926=_922[1];if(_921.htmlText.length){if(_921.htmlText==_921.text){_926=_924+_921.text.length;}else{_922=dijit.range.ie.getEndPoint(_921,true);_925=_922[0],_926=_922[1];}}return [[_923,_924],[_925,_926],_921.parentElement()];},setRange:function(_927,_928,_929,_92a,_92b,_92c){var _92d=dijit.range.ie.setEndPoint(_927,_928,_929);_927.setEndPoint("StartToStart",_92d);if(!this.collapsed){var _92e=dijit.range.ie.setEndPoint(_927,_92a,_92b);_927.setEndPoint("EndToEnd",_92e);}return _927;}};dojo.declare("dijit.range.W3CRange",null,{constructor:function(){if(arguments.length>0){this.setStart(arguments[0][0][0],arguments[0][0][1]);this.setEnd(arguments[0][1][0],arguments[0][1][1],arguments[0][2]);}else{this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}},_simpleSetEndPoint:function(node,_930,end){var r=(this._body||node.ownerDocument.body).createTextRange();if(node.nodeType!=1){r.moveToElementText(node.parentNode);}else{r.moveToElementText(node);}r.collapse(true);_930.setEndPoint(end?"EndToEnd":"StartToStart",r);},_updateInternal:function(_933){if(this.startContainer!==this.endContainer){if(!_933){var r=(this._body||this.startContainer.ownerDocument.body).createTextRange();this._simpleSetEndPoint(this.startContainer,r);this._simpleSetEndPoint(this.endContainer,r,true);_933=r.parentElement();}this.commonAncestorContainer=dijit.range.getCommonAncestor(this.startContainer,this.endContainer,_933);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_936,_937){_936=parseInt(_936);if(this.startContainer===node&&this.startOffset==_936){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_936;if(!this.endContainer){this.setEnd(node,_936,_937);}else{this._updateInternal(_937);}},setEnd:function(node,_939,_93a){_939=parseInt(_939);if(this.endContainer===node&&this.endOffset==_939){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_939;if(!this.startContainer){this.setStart(node,_939,_93a);}else{this._updateInternal(_93a);}},setStartAfter:function(node,_93c){this._setPoint("setStart",node,_93c,1);},setStartBefore:function(node,_93e){this._setPoint("setStart",node,_93e,0);},setEndAfter:function(node,_940){this._setPoint("setEnd",node,_940,1);},setEndBefore:function(node,_942){this._setPoint("setEnd",node,_942,0);},_setPoint:function(what,node,_945,ext){var _947=dijit.range.getIndex(node,node.parentNode).o;this[what](node.parentNode,_947.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();dijit.range.ie.setRange(r,this.startContainer,this.startOffset,this.endContainer,this.endOffset);return r;},getBookmark:function(body){this._getIERange();return this._cachedBookmark;},_select:function(){var r=this._getIERange();r.select();},deleteContents:function(){var r=this._getIERange();r.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=true;},cloneRange:function(){var r=new dijit.range.W3CRange([[this.startContainer,this.startOffset],[this.endContainer,this.endOffset]]);r._body=this._body;return r;},detach:function(){this._body=null;this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}});}}if(!dojo._hasResource["dijit.form.TextBox"]){dojo._hasResource["dijit.form.TextBox"]=true;dojo.provide("dijit.form.TextBox");dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",templateString:"<input class=\"dijit dijitReset dijitLeft\" dojoAttachPoint='textbox,focusNode' name=\"${name}\"\r\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse,onfocus:_onMouse,onblur:_onMouse,onkeypress:_onKeyPress,onkeyup'\r\n\tautocomplete=\"off\" type=\"${type}\"\r\n\t/>\r\n",baseClass:"dijitTextBox",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormValueWidget.prototype.attributeMap),{maxLength:"focusNode"}),getDisplayedValue:function(){return this.filter(this.textbox.value);},getValue:function(){return this.parse(this.getDisplayedValue(),this.constraints);},setValue:function(_94d,_94e,_94f){var _950=this.filter(_94d);if((((typeof _950==typeof _94d)&&(_94d!==undefined))||(_94d===null))&&(_94f==null||_94f==undefined)){_94f=this.format(_950,this.constraints);}if(_94f!=null&&_94f!=undefined){this.textbox.value=_94f;}dijit.form.TextBox.superclass.setValue.call(this,_950,_94e);},setDisplayedValue:function(_951,_952){this.textbox.value=_951;this.setValue(this.getValue(),_952);},format:function(_953,_954){return ((_953==null||_953==undefined)?"":(_953.toString?_953.toString():_953));},parse:function(_955,_956){return _955;},postCreate:function(){this.textbox.setAttribute("value",this.getDisplayedValue());this.inherited(arguments);this._layoutHack();},filter:function(val){if(val===null||val===undefined){return "";}else{if(typeof val!="string"){return val;}}if(this.trim){val=dojo.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this.setValue(this.getValue(),(this.isValid?this.isValid():true));},_onBlur:function(){this._setBlurValue();this.inherited(arguments);},onkeyup:function(){}});dijit.selectInputText=function(_959,_95a,stop){var _95c=dojo.global;var _95d=dojo.doc;_959=dojo.byId(_959);if(isNaN(_95a)){_95a=0;}if(isNaN(stop)){stop=_959.value?_959.value.length:0;}_959.focus();if(_95d["selection"]&&dojo.body()["createTextRange"]){if(_959.createTextRange){var _95e=_959.createTextRange();with(_95e){collapse(true);moveStart("character",_95a);moveEnd("character",stop);select();}}}else{if(_95c["getSelection"]){var _95f=_95c.getSelection();if(_959.setSelectionRange){_959.setSelectionRange(_95a,stop);}}}};}if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:200,templateString:"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\r\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\r\n\t<div class=\"dijitTooltipConnector\"></div>\r\n</div>\r\n",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});},show:function(_960,_961,_962){if(this.aroundNode&&this.aroundNode===_961){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_960;this.domNode.style.top=(this.domNode.offsetTop+1)+"px";var _963={};var ltr=this.isLeftToRight();dojo.forEach((_962&&_962.length)?_962:dijit.Tooltip.defaultPosition,function(pos){switch(pos){case "after":_963[ltr?"BR":"BL"]=ltr?"BL":"BR";break;case "before":_963[ltr?"BL":"BR"]=ltr?"BR":"BL";break;case "below":_963[ltr?"BL":"BR"]=ltr?"TL":"TR";_963[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above":default:_963[ltr?"TL":"TR"]=ltr?"BL":"BR";_963[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});var pos=dijit.placeOnScreenAroundElement(this.domNode,_961,_963,dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_961;},orient:function(node,_968,_969){node.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_968+"-"+_969];},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_96a){if(!this.aroundNode||this.aroundNode!==_96a){return;}if(this._onDeck){this._onDeck=null;return;}this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();},_onHide:function(){this.domNode.style.cssText="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});dijit.showTooltip=function(_96b,_96c,_96d){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_96b,_96c,_96d);};dijit.hideTooltip=function(_96e){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_96e);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],postCreate:function(){if(this.srcNodeRef){this.srcNodeRef.style.display="none";}this._connectNodes=[];dojo.forEach(this.connectId,function(id){var node=dojo.byId(id);if(node){this._connectNodes.push(node);dojo.forEach(["onMouseOver","onMouseOut","onFocus","onBlur","onHover","onUnHover"],function(_971){this.connect(node,_971.toLowerCase(),"_"+_971);},this);if(dojo.isIE){node.style.zoom=1;}}},this);},_onMouseOver:function(e){this._onHover(e);},_onMouseOut:function(e){if(dojo.isDescendant(e.relatedTarget,e.target)){return;}this._onUnHover(e);},_onFocus:function(e){this._focus=true;this._onHover(e);this.inherited(arguments);},_onBlur:function(e){this._focus=false;this._onUnHover(e);this.inherited(arguments);},_onHover:function(e){if(!this._showTimer){var _977=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_977);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_979){_979=_979||this._connectNodes[0];if(!_979){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_979,this.position);this._connectNode=_979;},close:function(){dijit.hideTooltip(this._connectNode);delete this._connectNode;if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},uninitialize:function(){this.close();}});dijit.Tooltip.defaultPosition=["after","before"];}if(!dojo._hasResource["dijit.form.ValidationTextBox"]){dojo._hasResource["dijit.form.ValidationTextBox"]=true;dojo.provide("dijit.form.ValidationTextBox");dojo.declare("dijit.form.ValidationTextBox",dijit.form.TextBox,{templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\r\n\tid=\"widget_${id}\"\r\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" waiRole=\"presentation\"\r\n\t><div style=\"overflow:hidden;\"\r\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\r\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\r\n\t\t><div class=\"dijitReset dijitInputField\"\r\n\t\t\t><input class=\"dijitReset\" dojoAttachPoint='textbox,focusNode' dojoAttachEvent='onfocus:_update,onkeyup:_onkeyup,onblur:_onMouse,onkeypress:_onKeyPress' autocomplete=\"off\"\r\n\t\t\ttype='${type}' name='${name}'\r\n\t\t/></div\r\n\t></div\r\n></div>\r\n",baseClass:"dijitTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",constraints:{},regExp:".*",regExpGen:function(_97a){return this.regExp;},state:"",tooltipPosition:[],setValue:function(){this.inherited(arguments);this.validate(this._focused);},validator:function(_97b,_97c){return (new RegExp("^("+this.regExpGen(_97c)+")"+(this.required?"":"?")+"$")).test(_97b)&&(!this.required||!this._isEmpty(_97b))&&(this._isEmpty(_97b)||this.parse(_97b,_97c)!==undefined);},isValid:function(_97d){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_97e){return /^\s*$/.test(_97e);},getErrorMessage:function(_97f){return this.invalidMessage;},getPromptMessage:function(_980){return this.promptMessage;},validate:function(_981){var _982="";var _983=this.isValid(_981);var _984=this._isEmpty(this.textbox.value);this.state=(_983||(!this._hasBeenBlurred&&_984))?"":"Error";this._setStateClass();dijit.setWaiState(this.focusNode,"invalid",_983?"false":"true");if(_981){if(_984){_982=this.getPromptMessage(true);}if(!_982&&this.state=="Error"){_982=this.getErrorMessage(true);}}this.displayMessage(_982);return _983;},_message:"",displayMessage:function(_985){if(this._message==_985){return;}this._message=_985;dijit.hideTooltip(this.domNode);if(_985){dijit.showTooltip(_985,this.domNode,this.tooltipPosition);}},_refreshState:function(){this.validate(this._focused);},_update:function(e){this._refreshState();this._onMouse(e);},_onkeyup:function(e){this._update(e);this.onkeyup(e);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this.constraints.locale=this.lang;this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}var p=this.regExpGen(this.constraints);this.regExp=p;}});dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{serialize:function(val,_98a){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.getValue());return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},setAttribute:function(attr,_98d){this.inherited(arguments);switch(attr){case "disabled":if(this.valueNode){this.valueNode.disabled=this.disabled;}}},postCreate:function(){var _98e=this.textbox;var _98f=(this.valueNode=dojo.doc.createElement("input"));_98f.setAttribute("type",_98e.type);_98f.setAttribute("value",this.toString());dojo.style(_98f,"display","none");_98f.name=this.textbox.name;_98f.disabled=this.textbox.disabled;this.textbox.name=this.textbox.name+"_displayed_";this.textbox.removeAttribute("name");dojo.place(_98f,_98e,"after");this.inherited(arguments);}});dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",compare:function(val1,val2){return val1-val2;},rangeCheck:function(_992,_993){var _994="min" in _993;var _995="max" in _993;if(_994||_995){return (!_994||this.compare(_992,_993.min)>=0)&&(!_995||this.compare(_992,_993.max)<=0);}return true;},isInRange:function(_996){return this.rangeCheck(this.getValue(),this.constraints);},isValid:function(_997){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_997));},getErrorMessage:function(_998){if(dijit.form.RangeBoundTextBox.superclass.isValid.call(this,false)&&!this.isInRange(_998)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},postCreate:function(){this.inherited(arguments);if(this.constraints.min!==undefined){dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);}if(this.constraints.max!==undefined){dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);}},setValue:function(_999,_99a){dijit.setWaiState(this.focusNode,"valuenow",_999);this.inherited("setValue",arguments);}});}if(!dojo._hasResource["dijit.form.ComboBox"]){dojo._hasResource["dijit.form.ComboBox"]=true;dojo.provide("dijit.form.ComboBox");dojo.declare("dijit.form.ComboBoxMixin",null,{item:null,pageSize:Infinity,store:null,query:{},autoComplete:true,searchDelay:100,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,hasDownArrow:true,templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\r\n\tid=\"widget_${id}\"\r\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" dojoAttachPoint=\"comboNode\" waiRole=\"combobox\" tabIndex=\"-1\"\r\n\t><div style=\"overflow:hidden;\"\r\n\t\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\r\n\t\t\tdojoAttachPoint=\"downArrowNode\" waiRole=\"presentation\"\r\n\t\t\tdojoAttachEvent=\"onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseenter:_onMouse,onmouseleave:_onMouse\"\r\n\t\t\t><div class=\"dijitArrowButtonInner\">&thinsp;</div\r\n\t\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div\r\n\t\t></div\r\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\r\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\r\n\t\t><div class=\"dijitReset dijitInputField\"\r\n\t\t\t><input type=\"text\" autocomplete=\"off\" name=\"${name}\" class='dijitReset'\r\n\t\t\tdojoAttachEvent=\"onkeypress:_onKeyPress, onfocus:_update, compositionend,onkeyup\"\r\n\t\t\tdojoAttachPoint=\"textbox,focusNode\" waiRole=\"textbox\" waiState=\"haspopup-true,autocomplete-list\"\r\n\t\t/></div\r\n\t></div\r\n></div>\r\n",baseClass:"dijitComboBox",_getCaretPos:function(_99b){var pos=0;if(typeof (_99b.selectionStart)=="number"){pos=_99b.selectionStart;}else{if(dojo.isIE){var tr=dojo.doc.selection.createRange().duplicate();var ntr=_99b.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_99f,_9a0){_9a0=parseInt(_9a0);dijit.selectInputText(_99f,_9a0,_9a0);},_setAttribute:function(attr,_9a2){if(attr=="disabled"){dijit.setWaiState(this.comboNode,"disabled",_9a2);}},_onKeyPress:function(evt){if(evt.altKey||(evt.ctrlKey&&evt.charCode!=118)){return;}var _9a4=false;var pw=this._popupWidget;var dk=dojo.keys;if(this._isShowingNow){pw.handleKey(evt);}switch(evt.keyCode){case dk.PAGE_DOWN:case dk.DOWN_ARROW:if(!this._isShowingNow||this._prev_key_esc){this._arrowPressed();_9a4=true;}else{this._announceOption(pw.getHighlightedOption());}dojo.stopEvent(evt);this._prev_key_backspace=false;this._prev_key_esc=false;break;case dk.PAGE_UP:case dk.UP_ARROW:if(this._isShowingNow){this._announceOption(pw.getHighlightedOption());}dojo.stopEvent(evt);this._prev_key_backspace=false;this._prev_key_esc=false;break;case dk.ENTER:var _9a7;if(this._isShowingNow&&(_9a7=pw.getHighlightedOption())){if(_9a7==pw.nextButton){this._nextSearch(1);dojo.stopEvent(evt);break;}else{if(_9a7==pw.previousButton){this._nextSearch(-1);dojo.stopEvent(evt);break;}}}else{this.setDisplayedValue(this.getDisplayedValue());}evt.preventDefault();case dk.TAB:var _9a8=this.getDisplayedValue();if(pw&&(_9a8==pw._messages["previousMessage"]||_9a8==pw._messages["nextMessage"])){break;}if(this._isShowingNow){this._prev_key_backspace=false;this._prev_key_esc=false;if(pw.getHighlightedOption()){pw.setValue({target:pw.getHighlightedOption()},true);}this._hideResultList();}break;case dk.SPACE:this._prev_key_backspace=false;this._prev_key_esc=false;if(this._isShowingNow&&pw.getHighlightedOption()){dojo.stopEvent(evt);this._selectOption();this._hideResultList();}else{_9a4=true;}break;case dk.ESCAPE:this._prev_key_backspace=false;this._prev_key_esc=true;if(this._isShowingNow){dojo.stopEvent(evt);this._hideResultList();}this.inherited(arguments);break;case dk.DELETE:case dk.BACKSPACE:this._prev_key_esc=false;this._prev_key_backspace=true;_9a4=true;break;case dk.RIGHT_ARROW:case dk.LEFT_ARROW:this._prev_key_backspace=false;this._prev_key_esc=false;break;default:this._prev_key_backspace=false;this._prev_key_esc=false;if(dojo.isIE||evt.charCode!=0){_9a4=true;}}if(this.searchTimer){clearTimeout(this.searchTimer);}if(_9a4){setTimeout(dojo.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(text){var fn=this.focusNode;dijit.selectInputText(fn,fn.value.length);var _9ab=this.ignoreCase?"toLowerCase":"substr";if(text[_9ab](0).indexOf(this.focusNode.value[_9ab](0))==0){var cpos=this._getCaretPos(fn);if((cpos+1)>fn.value.length){fn.value=text;dijit.selectInputText(fn,cpos);}}else{fn.value=text;dijit.selectInputText(fn);}},_openResultList:function(_9ad,_9ae){if(this.disabled||this.readOnly||(_9ae.query[this.searchAttr]!=this._lastQuery)){return;}this._popupWidget.clearResultList();if(!_9ad.length){this._hideResultList();return;}var _9af=new String(this.store.getValue(_9ad[0],this.searchAttr));if(_9af&&this.autoComplete&&!this._prev_key_backspace&&(_9ae.query[this.searchAttr]!="*")){this._autoCompleteText(_9af);}this._popupWidget.createOptions(_9ad,_9ae,dojo.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_9ae.direction){if(1==_9ae.direction){this._popupWidget.highlightFirstOption();}else{if(-1==_9ae.direction){this._popupWidget.highlightLastOption();}}this._announceOption(this._popupWidget.getHighlightedOption());}},_showResultList:function(){this._hideResultList();var _9b0=this._popupWidget.getItems(),_9b1=Math.min(_9b0.length,this.maxListLength);this._arrowPressed();this.displayMessage("");with(this._popupWidget.domNode.style){width="";height="";}var best=this.open();var _9b3=dojo.marginBox(this._popupWidget.domNode);this._popupWidget.domNode.style.overflow=((best.h==_9b3.h)&&(best.w==_9b3.w))?"hidden":"auto";var _9b4=best.w;if(best.h<this._popupWidget.domNode.scrollHeight){_9b4+=16;}dojo.marginBox(this._popupWidget.domNode,{h:best.h,w:Math.max(_9b4,this.domNode.offsetWidth)});dijit.setWaiState(this.comboNode,"expanded","true");},_hideResultList:function(){if(this._isShowingNow){dijit.popup.close(this._popupWidget);this._arrowIdle();this._isShowingNow=false;dijit.setWaiState(this.comboNode,"expanded","false");dijit.removeWaiState(this.focusNode,"activedescendant");}},_setBlurValue:function(){var _9b5=this.getDisplayedValue();var pw=this._popupWidget;if(pw&&(_9b5==pw._messages["previousMessage"]||_9b5==pw._messages["nextMessage"])){this.setValue(this._lastValueReported,true);}else{this.setDisplayedValue(_9b5);}},_onBlur:function(){this._hideResultList();this._arrowIdle();this.inherited(arguments);},_announceOption:function(node){if(node==null){return;}var _9b8;if(node==this._popupWidget.nextButton||node==this._popupWidget.previousButton){_9b8=node.innerHTML;}else{_9b8=this.store.getValue(node.item,this.searchAttr);}this.focusNode.value=this.focusNode.value.substring(0,this._getCaretPos(this.focusNode));dijit.setWaiState(this.focusNode,"activedescendant",dojo.attr(node,"id"));this._autoCompleteText(_9b8);},_selectOption:function(evt){var tgt=null;if(!evt){evt={target:this._popupWidget.getHighlightedOption()};}if(!evt.target){this.setDisplayedValue(this.getDisplayedValue());return;}else{tgt=evt.target;}if(!evt.noHide){this._hideResultList();this._setCaretPos(this.focusNode,this.store.getValue(tgt.item,this.searchAttr).length);}this._doSelect(tgt);},_doSelect:function(tgt){this.item=tgt.item;this.setValue(this.store.getValue(tgt.item,this.searchAttr),true);},_onArrowMouseDown:function(evt){if(this.disabled||this.readOnly){return;}dojo.stopEvent(evt);this.focus();if(this._isShowingNow){this._hideResultList();}else{this._startSearch("");}},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_getQueryString:function(text){return dojo.string.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this._popupWidget){var _9bf=this.id+"_popup";this._popupWidget=new dijit.form._ComboBoxMenu({onChange:dojo.hitch(this,this._selectOption),id:_9bf});dijit.removeWaiState(this.focusNode,"activedescendant");dijit.setWaiState(this.textbox,"owns",_9bf);}this.item=null;var _9c0=dojo.clone(this.query);this._lastQuery=_9c0[this.searchAttr]=this._getQueryString(key);this.searchTimer=setTimeout(dojo.hitch(this,function(_9c1,_9c2){var _9c3=this.store.fetch({queryOptions:{ignoreCase:this.ignoreCase,deep:true},query:_9c1,onComplete:dojo.hitch(this,"_openResultList"),onError:function(_9c4){console.error("dijit.form.ComboBox: "+_9c4);dojo.hitch(_9c2,"_hideResultList")();},start:0,count:this.pageSize});var _9c5=function(_9c6,_9c7){_9c6.start+=_9c6.count*_9c7;_9c6.direction=_9c7;this.store.fetch(_9c6);};this._nextSearch=this._popupWidget.onPage=dojo.hitch(this,_9c5,_9c3);},_9c0,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},_arrowPressed:function(){if(!this.disabled&&!this.readOnly&&this.hasDownArrow){dojo.addClass(this.downArrowNode,"dijitArrowButtonActive");}},_arrowIdle:function(){if(!this.disabled&&!this.readOnly&&this.hasDownArrow){dojo.removeClass(this.downArrowNode,"dojoArrowButtonPushed");}},compositionend:function(evt){this.onkeypress({charCode:-1});},constructor:function(){this.query={};},postMixInProperties:function(){if(!this.hasDownArrow){this.baseClass="dijitTextBox";}if(!this.store){var _9c9=this.srcNodeRef;this.store=new dijit.form._ComboBoxDataStore(_9c9);if(!this.value||((typeof _9c9.selectedIndex=="number")&&_9c9.selectedIndex.toString()===this.value)){var item=this.store.fetchSelectedItem();if(item){this.value=this.store.getValue(item,this._getValueField());}}}},_postCreate:function(){var _9cb=dojo.query("label[for=\""+this.id+"\"]");if(_9cb.length){_9cb[0].id=(this.id+"_label");var cn=this.comboNode;dijit.setWaiState(cn,"labelledby",_9cb[0].id);dijit.setWaiState(cn,"disabled",this.disabled);}},uninitialize:function(){if(this._popupWidget){this._hideResultList();this._popupWidget.destroy();}},_getMenuLabelFromItem:function(item){return {html:false,label:this.store.getValue(item,this.searchAttr)};},open:function(){this._isShowingNow=true;return dijit.popup.open({popup:this._popupWidget,around:this.domNode,parent:this});},reset:function(){this.item=null;this.inherited(arguments);}});dojo.declare("dijit.form._ComboBoxMenu",[dijit._Widget,dijit._Templated],{templateString:"<ul class='dijitMenu' dojoAttachEvent='onmousedown:_onMouseDown,onmouseup:_onMouseUp,onmouseover:_onMouseOver,onmouseout:_onMouseOut' tabIndex='-1' style='overflow:\"auto\";'>"+"<li class='dijitMenuItem dijitMenuPreviousButton' dojoAttachPoint='previousButton'></li>"+"<li class='dijitMenuItem dijitMenuNextButton' dojoAttachPoint='nextButton'></li>"+"</ul>",_messages:null,postMixInProperties:function(){this._messages=dojo.i18n.getLocalization("dijit.form","ComboBox",this.lang);this.inherited("postMixInProperties",arguments);},setValue:function(_9ce){this.value=_9ce;this.onChange(_9ce);},onChange:function(_9cf){},onPage:function(_9d0){},postCreate:function(){this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];this.inherited("postCreate",arguments);},onClose:function(){this._blurOptionNode();},_createOption:function(item,_9d2){var _9d3=_9d2(item);var _9d4=dojo.doc.createElement("li");dijit.setWaiRole(_9d4,"option");if(_9d3.html){_9d4.innerHTML=_9d3.label;}else{_9d4.appendChild(dojo.doc.createTextNode(_9d3.label));}if(_9d4.innerHTML==""){_9d4.innerHTML="&nbsp;";}_9d4.item=item;return _9d4;},createOptions:function(_9d5,_9d6,_9d7){this.previousButton.style.display=(_9d6.start==0)?"none":"";dojo.attr(this.previousButton,"id",this.id+"_prev");dojo.forEach(_9d5,function(item,i){var _9da=this._createOption(item,_9d7);_9da.className="dijitMenuItem";dojo.attr(_9da,"id",this.id+i);this.domNode.insertBefore(_9da,this.nextButton);},this);this.nextButton.style.display=(_9d6.count==_9d5.length)?"":"none";dojo.attr(this.nextButton,"id",this.id+"_next");},clearResultList:function(){while(this.domNode.childNodes.length>2){this.domNode.removeChild(this.domNode.childNodes[this.domNode.childNodes.length-2]);}},getItems:function(){return this.domNode.childNodes;},getListLength:function(){return this.domNode.childNodes.length-2;},_onMouseDown:function(evt){dojo.stopEvent(evt);},_onMouseUp:function(evt){if(evt.target===this.domNode){return;}else{if(evt.target==this.previousButton){this.onPage(-1);}else{if(evt.target==this.nextButton){this.onPage(1);}else{var tgt=evt.target;while(!tgt.item){tgt=tgt.parentNode;}this.setValue({target:tgt},true);}}}},_onMouseOver:function(evt){if(evt.target===this.domNode){return;}var tgt=evt.target;if(!(tgt==this.previousButton||tgt==this.nextButton)){while(!tgt.item){tgt=tgt.parentNode;}}this._focusOptionNode(tgt);},_onMouseOut:function(evt){if(evt.target===this.domNode){return;}this._blurOptionNode();},_focusOptionNode:function(node){if(this._highlighted_option!=node){this._blurOptionNode();this._highlighted_option=node;dojo.addClass(this._highlighted_option,"dijitMenuItemHover");}},_blurOptionNode:function(){if(this._highlighted_option){dojo.removeClass(this._highlighted_option,"dijitMenuItemHover");this._highlighted_option=null;}},_highlightNextOption:function(){var fc=this.domNode.firstChild;if(!this.getHighlightedOption()){this._focusOptionNode(fc.style.display=="none"?fc.nextSibling:fc);}else{var ns=this._highlighted_option.nextSibling;if(ns&&ns.style.display!="none"){this._focusOptionNode(ns);}}dijit.scrollIntoView(this._highlighted_option);},highlightFirstOption:function(){this._focusOptionNode(this.domNode.firstChild.nextSibling);dijit.scrollIntoView(this._highlighted_option);},highlightLastOption:function(){this._focusOptionNode(this.domNode.lastChild.previousSibling);dijit.scrollIntoView(this._highlighted_option);},_highlightPrevOption:function(){var lc=this.domNode.lastChild;if(!this.getHighlightedOption()){this._focusOptionNode(lc.style.display=="none"?lc.previousSibling:lc);}else{var ps=this._highlighted_option.previousSibling;if(ps&&ps.style.display!="none"){this._focusOptionNode(ps);}}dijit.scrollIntoView(this._highlighted_option);},_page:function(up){var _9e7=0;var _9e8=this.domNode.scrollTop;var _9e9=dojo.style(this.domNode,"height");if(!this.getHighlightedOption()){this._highlightNextOption();}while(_9e7<_9e9){if(up){if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){break;}this._highlightPrevOption();}else{if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){break;}this._highlightNextOption();}var _9ea=this.domNode.scrollTop;_9e7+=(_9ea-_9e8)*(up?-1:1);_9e8=_9ea;}},pageUp:function(){this._page(true);},pageDown:function(){this._page(false);},getHighlightedOption:function(){var ho=this._highlighted_option;return (ho&&ho.parentNode)?ho:null;},handleKey:function(evt){switch(evt.keyCode){case dojo.keys.DOWN_ARROW:this._highlightNextOption();break;case dojo.keys.PAGE_DOWN:this.pageDown();break;case dojo.keys.UP_ARROW:this._highlightPrevOption();break;case dojo.keys.PAGE_UP:this.pageUp();break;}}});dojo.declare("dijit.form.ComboBox",[dijit.form.ValidationTextBox,dijit.form.ComboBoxMixin],{postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.ValidationTextBox.prototype.postMixInProperties.apply(this,arguments);},postCreate:function(){dijit.form.ComboBoxMixin.prototype._postCreate.apply(this,arguments);dijit.form.ValidationTextBox.prototype.postCreate.apply(this,arguments);},setAttribute:function(attr,_9ee){dijit.form.ValidationTextBox.prototype.setAttribute.apply(this,arguments);dijit.form.ComboBoxMixin.prototype._setAttribute.apply(this,arguments);}});dojo.declare("dijit.form._ComboBoxDataStore",null,{constructor:function(root){this.root=root;},getValue:function(item,_9f1,_9f2){return (_9f1=="value")?item.value:(item.innerText||item.textContent||"");},isItemLoaded:function(_9f3){return true;},fetch:function(args){var _9f5="^"+args.query.name.replace(/([\\\|\(\)\[\{\^\$\+\?\.\<\>])/g,"\\$1").replace("*",".*")+"$",_9f6=new RegExp(_9f5,args.queryOptions.ignoreCase?"i":""),_9f7=dojo.query("> option",this.root).filter(function(_9f8){return (_9f8.innerText||_9f8.textContent||"").match(_9f6);});var _9f9=args.start||0,end=("count" in args&&args.count!=Infinity)?(_9f9+args.count):_9f7.length;args.onComplete(_9f7.slice(_9f9,end),args);return args;},close:function(_9fb){return;},getLabel:function(item){return item.innerHTML;},getIdentity:function(item){return dojo.attr(item,"value");},fetchItemByIdentity:function(args){var item=dojo.query("option[value='"+args.identity+"']",this.root)[0];args.onItem(item);},fetchSelectedItem:function(){var root=this.root,si=root.selectedIndex;return dojo.query("> option:nth-child("+(si!=-1?si+1:1)+")",root)[0];}});}if(!dojo._hasResource["dijit.form.FilteringSelect"]){dojo._hasResource["dijit.form.FilteringSelect"]=true;dojo.provide("dijit.form.FilteringSelect");dojo.declare("dijit.form.FilteringSelect",[dijit.form.MappedTextBox,dijit.form.ComboBoxMixin],{labelAttr:"",labelType:"text",_isvalid:true,_lastDisplayedValue:"",isValid:function(){return this._isvalid;},_callbackSetLabel:function(_a02,_a03,_a04){if(_a03&&_a03.query[this.searchAttr]!=this._lastQuery){return;}if(!_a02.length){if(!this._focused){this.valueNode.value="";}dijit.form.TextBox.superclass.setValue.call(this,undefined,!this._focused);this._isvalid=false;this.validate(this._focused);}else{this._setValueFromItem(_a02[0],_a04);}},_openResultList:function(_a05,_a06){if(_a06.query[this.searchAttr]!=this._lastQuery){return;}this._isvalid=_a05.length!=0;this.validate(true);dijit.form.ComboBoxMixin.prototype._openResultList.apply(this,arguments);},getValue:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValue:function(_a07,_a08,_a09){this.valueNode.value=_a07;dijit.form.FilteringSelect.superclass.setValue.call(this,_a07,_a09,_a08);this._lastDisplayedValue=_a08;},setValue:function(_a0a,_a0b){var self=this;var _a0d=function(item,_a0f){if(item){if(self.store.isItemLoaded(item)){self._callbackSetLabel([item],undefined,_a0f);}else{self.store.loadItem({item:item,onItem:function(_a10,_a11){self._callbackSetLabel(_a10,_a11,_a0f);}});}}else{self._isvalid=false;self.validate(false);}};this.store.fetchItemByIdentity({identity:_a0a,onItem:function(item){_a0d(item,_a0b);}});},_setValueFromItem:function(item,_a14){this._isvalid=true;this._setValue(this.store.getIdentity(item),this.labelFunc(item,this.store),_a14);},labelFunc:function(item,_a16){return _a16.getValue(item,this.searchAttr);},_doSelect:function(tgt){this.item=tgt.item;this._setValueFromItem(tgt.item,true);},setDisplayedValue:function(_a18,_a19){if(this.store){var _a1a=dojo.clone(this.query);this._lastQuery=_a1a[this.searchAttr]=_a18;this.textbox.value=_a18;this._lastDisplayedValue=_a18;var _a1b=this;this.store.fetch({query:_a1a,queryOptions:{ignoreCase:this.ignoreCase,deep:true},onComplete:function(_a1c,_a1d){dojo.hitch(_a1b,"_callbackSetLabel")(_a1c,_a1d,_a19);},onError:function(_a1e){console.error("dijit.form.FilteringSelect: "+_a1e);dojo.hitch(_a1b,"_setValue")(undefined,_a18,false);}});}},_getMenuLabelFromItem:function(item){if(this.labelAttr){return {html:this.labelType=="html",label:this.store.getValue(item,this.labelAttr)};}else{return dijit.form.ComboBoxMixin.prototype._getMenuLabelFromItem.apply(this,arguments);}},postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.MappedTextBox.prototype.postMixInProperties.apply(this,arguments);},postCreate:function(){dijit.form.ComboBoxMixin.prototype._postCreate.apply(this,arguments);dijit.form.MappedTextBox.prototype.postCreate.apply(this,arguments);},setAttribute:function(attr,_a21){dijit.form.MappedTextBox.prototype.setAttribute.apply(this,arguments);dijit.form.ComboBoxMixin.prototype._setAttribute.apply(this,arguments);},undo:function(){this.setDisplayedValue(this._lastDisplayedValue);},_valueChanged:function(){return this.getDisplayedValue()!=this._lastDisplayedValue;}});}if(!dojo._hasResource["dojo.data.util.filter"]){dojo._hasResource["dojo.data.util.filter"]=true;dojo.provide("dojo.data.util.filter");dojo.data.util.filter.patternToRegExp=function(_a22,_a23){var rxp="^";var c=null;for(var i=0;i<_a22.length;i++){c=_a22.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_a22.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_a23){return new RegExp(rxp,"i");}else{return new RegExp(rxp);}};}if(!dojo._hasResource["dojo.data.util.sorter"]){dojo._hasResource["dojo.data.util.sorter"]=true;dojo.provide("dojo.data.util.sorter");dojo.data.util.sorter.basicComparator=function(a,b){var ret=0;if(a>b||typeof a==="undefined"||a===null){ret=1;}else{if(a<b||typeof b==="undefined"||b===null){ret=-1;}}return ret;};dojo.data.util.sorter.createSortFunction=function(_a2a,_a2b){var _a2c=[];function createSortFunction(attr,dir){return function(_a2f,_a30){var a=_a2b.getValue(_a2f,attr);var b=_a2b.getValue(_a30,attr);var _a33=null;if(_a2b.comparatorMap){if(typeof attr!=="string"){attr=_a2b.getIdentity(attr);}_a33=_a2b.comparatorMap[attr]||dojo.data.util.sorter.basicComparator;}_a33=_a33||dojo.data.util.sorter.basicComparator;return dir*_a33(a,b);};};for(var i=0;i<_a2a.length;i++){sortAttribute=_a2a[i];if(sortAttribute.attribute){var _a35=(sortAttribute.descending)?-1:1;_a2c.push(createSortFunction(sortAttribute.attribute,_a35));}}return function(rowA,rowB){var i=0;while(i<_a2c.length){var ret=_a2c[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};}if(!dojo._hasResource["dojo.data.util.simpleFetch"]){dojo._hasResource["dojo.data.util.simpleFetch"]=true;dojo.provide("dojo.data.util.simpleFetch");dojo.data.util.simpleFetch.fetch=function(_a3a){_a3a=_a3a||{};if(!_a3a.store){_a3a.store=this;}var self=this;var _a3c=function(_a3d,_a3e){if(_a3e.onError){var _a3f=_a3e.scope||dojo.global;_a3e.onError.call(_a3f,_a3d,_a3e);}};var _a40=function(_a41,_a42){var _a43=_a42.abort||null;var _a44=false;var _a45=_a42.start?_a42.start:0;var _a46=_a42.count?(_a45+_a42.count):_a41.length;_a42.abort=function(){_a44=true;if(_a43){_a43.call(_a42);}};var _a47=_a42.scope||dojo.global;if(!_a42.store){_a42.store=self;}if(_a42.onBegin){_a42.onBegin.call(_a47,_a41.length,_a42);}if(_a42.sort){_a41.sort(dojo.data.util.sorter.createSortFunction(_a42.sort,self));}if(_a42.onItem){for(var i=_a45;(i<_a41.length)&&(i<_a46);++i){var item=_a41[i];if(!_a44){_a42.onItem.call(_a47,item,_a42);}}}if(_a42.onComplete&&!_a44){var _a4a=null;if(!_a42.onItem){_a4a=_a41.slice(_a45,_a46);}_a42.onComplete.call(_a47,_a4a,_a42);}};this._fetchItems(_a3a,_a40,_a3c);return _a3a;};}if(!dojo._hasResource["dojo.data.ItemFileReadStore"]){dojo._hasResource["dojo.data.ItemFileReadStore"]=true;dojo.provide("dojo.data.ItemFileReadStore");dojo.declare("dojo.data.ItemFileReadStore",null,{constructor:function(_a4b){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_a4b.url;this._jsonData=_a4b.data;this._datatypeMap=_a4b.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_a4c){return dojo.date.stamp.fromISOString(_a4c);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];},url:"",_assertIsItem:function(item){if(!this.isItem(item)){throw new Error("dojo.data.ItemFileReadStore: Invalid item argument.");}},_assertIsAttribute:function(_a4e){if(typeof _a4e!=="string"){throw new Error("dojo.data.ItemFileReadStore: Invalid attribute argument.");}},getValue:function(item,_a50,_a51){var _a52=this.getValues(item,_a50);return (_a52.length>0)?_a52[0]:_a51;},getValues:function(item,_a54){this._assertIsItem(item);this._assertIsAttribute(_a54);return item[_a54]||[];},getAttributes:function(item){this._assertIsItem(item);var _a56=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_a56.push(key);}}return _a56;},hasAttribute:function(item,_a59){return this.getValues(item,_a59).length>0;},containsValue:function(item,_a5b,_a5c){var _a5d=undefined;if(typeof _a5c==="string"){_a5d=dojo.data.util.filter.patternToRegExp(_a5c,false);}return this._containsValue(item,_a5b,_a5c,_a5d);},_containsValue:function(item,_a5f,_a60,_a61){return dojo.some(this.getValues(item,_a5f),function(_a62){if(_a62!==null&&!dojo.isObject(_a62)&&_a61){if(_a62.toString().match(_a61)){return true;}}else{if(_a60===_a62){return true;}}});},isItem:function(_a63){if(_a63&&_a63[this._storeRefPropName]===this){if(this._arrayOfAllItems[_a63[this._itemNumPropName]]===_a63){return true;}}return false;},isItemLoaded:function(_a64){return this.isItem(_a64);},loadItem:function(_a65){this._assertIsItem(_a65.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},_fetchItems:function(_a68,_a69,_a6a){var self=this;var _a6c=function(_a6d,_a6e){var _a6f=[];if(_a6d.query){var _a70=_a6d.queryOptions?_a6d.queryOptions.ignoreCase:false;var _a71={};for(var key in _a6d.query){var _a73=_a6d.query[key];if(typeof _a73==="string"){_a71[key]=dojo.data.util.filter.patternToRegExp(_a73,_a70);}}for(var i=0;i<_a6e.length;++i){var _a75=true;var _a76=_a6e[i];if(_a76===null){_a75=false;}else{for(var key in _a6d.query){var _a73=_a6d.query[key];if(!self._containsValue(_a76,key,_a73,_a71[key])){_a75=false;}}}if(_a75){_a6f.push(_a76);}}_a69(_a6f,_a6d);}else{for(var i=0;i<_a6e.length;++i){var item=_a6e[i];if(item!==null){_a6f.push(item);}}_a69(_a6f,_a6d);}};if(this._loadFinished){_a6c(_a68,this._getItemsArray(_a68.queryOptions));}else{if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_a68,filter:_a6c});}else{this._loadInProgress=true;var _a78={url:self._jsonFileUrl,handleAs:"json-comment-optional"};var _a79=dojo.xhrGet(_a78);_a79.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;_a6c(_a68,self._getItemsArray(_a68.queryOptions));self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_a6a(e,_a68);}});_a79.addErrback(function(_a7b){self._loadInProgress=false;_a6a(_a7b,_a68);});}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;_a6c(_a68,this._getItemsArray(_a68.queryOptions));}catch(e){_a6a(e,_a68);}}else{_a6a(new Error("dojo.data.ItemFileReadStore: No JSON source data was provided as either URL or a nested Javascript object."),_a68);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _a7d=this._queuedFetches[i];var _a7e=_a7d.args;var _a7f=_a7d.filter;if(_a7f){_a7f(_a7e,this._getItemsArray(_a7e.queryOptions));}else{this.fetchItemByIdentity(_a7e);}}this._queuedFetches=[];}},_getItemsArray:function(_a80){if(_a80&&_a80.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_a81){},_getItemsFromLoadedData:function(_a82){function valueIsAnItem(_a83){var _a84=((_a83!=null)&&(typeof _a83=="object")&&(!dojo.isArray(_a83))&&(!dojo.isFunction(_a83))&&(_a83.constructor==Object)&&(typeof _a83._reference=="undefined")&&(typeof _a83._type=="undefined")&&(typeof _a83._value=="undefined"));return _a84;};var self=this;function addItemAndSubItemsToArrayOfAllItems(_a86){self._arrayOfAllItems.push(_a86);for(var _a87 in _a86){var _a88=_a86[_a87];if(_a88){if(dojo.isArray(_a88)){var _a89=_a88;for(var k=0;k<_a89.length;++k){var _a8b=_a89[k];if(valueIsAnItem(_a8b)){addItemAndSubItemsToArrayOfAllItems(_a8b);}}}else{if(valueIsAnItem(_a88)){addItemAndSubItemsToArrayOfAllItems(_a88);}}}}};this._labelAttr=_a82.label;var i;var item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_a82.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];addItemAndSubItemsToArrayOfAllItems(item);item[this._rootItemPropName]=true;}var _a8e={};var key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _a90=item[key];if(_a90!==null){if(!dojo.isArray(_a90)){item[key]=[_a90];}}else{item[key]=[null];}}_a8e[key]=key;}}while(_a8e[this._storeRefPropName]){this._storeRefPropName+="_";}while(_a8e[this._itemNumPropName]){this._itemNumPropName+="_";}while(_a8e[this._reverseRefMap]){this._reverseRefMap+="_";}var _a91;var _a92=_a82.identifier;if(_a92){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_a92;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_a91=item[_a92];var _a93=_a91[0];if(!this._itemsByIdentity[_a93]){this._itemsByIdentity[_a93]=item;}else{if(this._jsonFileUrl){throw new Error("dojo.data.ItemFileReadStore:  The json data as specified by: ["+this._jsonFileUrl+"] is malformed.  Items within the list have identifier: ["+_a92+"].  Value collided: ["+_a93+"]");}else{if(this._jsonData){throw new Error("dojo.data.ItemFileReadStore:  The json data provided by the creation arguments is malformed.  Items within the list have identifier: ["+_a92+"].  Value collided: ["+_a93+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];item[this._storeRefPropName]=this;item[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){_a91=item[key];for(var j=0;j<_a91.length;++j){_a90=_a91[j];if(_a90!==null&&typeof _a90=="object"){if(_a90._type&&_a90._value){var type=_a90._type;var _a96=this._datatypeMap[type];if(!_a96){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(dojo.isFunction(_a96)){_a91[j]=new _a96(_a90._value);}else{if(dojo.isFunction(_a96.deserialize)){_a91[j]=_a96.deserialize(_a90._value);}else{throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");}}}}if(_a90._reference){var _a97=_a90._reference;if(!dojo.isObject(_a97)){_a91[j]=this._itemsByIdentity[_a97];}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _a99=this._arrayOfAllItems[k];var _a9a=true;for(var _a9b in _a97){if(_a99[_a9b]!=_a97[_a9b]){_a9a=false;}}if(_a9a){_a91[j]=_a99;}}}if(this.referenceIntegrity){var _a9c=_a91[j];if(this.isItem(_a9c)){this._addReferenceToMap(_a9c,item,key);}}}else{if(this.isItem(_a90)){if(this.referenceIntegrity){this._addReferenceToMap(_a90,item,key);}}}}}}}},_addReferenceToMap:function(_a9d,_a9e,_a9f){},getIdentity:function(item){var _aa1=this._features["dojo.data.api.Identity"];if(_aa1===Number){return item[this._itemNumPropName];}else{var _aa2=item[_aa1];if(_aa2){return _aa2[0];}}return null;},fetchItemByIdentity:function(_aa3){if(!this._loadFinished){var self=this;if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_aa3});}else{this._loadInProgress=true;var _aa5={url:self._jsonFileUrl,handleAs:"json-comment-optional"};var _aa6=dojo.xhrGet(_aa5);_aa6.addCallback(function(data){var _aa8=_aa3.scope?_aa3.scope:dojo.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;var item=self._getItemByIdentity(_aa3.identity);if(_aa3.onItem){_aa3.onItem.call(_aa8,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_aa3.onError){_aa3.onError.call(_aa8,error);}}});_aa6.addErrback(function(_aaa){self._loadInProgress=false;if(_aa3.onError){var _aab=_aa3.scope?_aa3.scope:dojo.global;_aa3.onError.call(_aab,_aaa);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;var item=self._getItemByIdentity(_aa3.identity);if(_aa3.onItem){var _aad=_aa3.scope?_aa3.scope:dojo.global;_aa3.onItem.call(_aad,item);}}}}else{var item=this._getItemByIdentity(_aa3.identity);if(_aa3.onItem){var _aad=_aa3.scope?_aa3.scope:dojo.global;_aa3.onItem.call(_aad,item);}}},_getItemByIdentity:function(_aae){var item=null;if(this._itemsByIdentity){item=this._itemsByIdentity[_aae];}else{item=this._arrayOfAllItems[_aae];}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _ab1=this._features["dojo.data.api.Identity"];if(_ab1===Number){return null;}else{return [_ab1];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl){var _ab3={url:self._jsonFileUrl,handleAs:"json-comment-optional",sync:true};var _ab4=dojo.xhrGet(_ab3);_ab4.addCallback(function(data){try{if(self._loadInProgress!==true&&!self._loadFinished){self._getItemsFromLoadedData(data);self._loadFinished=true;}}catch(e){console.log(e);throw e;}});_ab4.addErrback(function(_ab6){throw _ab6;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});dojo.extend(dojo.data.ItemFileReadStore,dojo.data.util.simpleFetch);}if(!dojo._hasResource["dijit._editor.plugins.FontChoice"]){dojo._hasResource["dijit._editor.plugins.FontChoice"]=true;dojo.provide("dijit._editor.plugins.FontChoice");dojo.declare("dijit._editor.plugins.FontChoice",dijit._editor._Plugin,{_uniqueId:0,buttonClass:dijit.form.FilteringSelect,_initButton:function(){var cmd=this.command;var _ab8=this.custom||{fontName:this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"],fontSize:[1,2,3,4,5,6,7],formatBlock:["p","h1","h2","h3","pre"]}[cmd];var _ab9=dojo.i18n.getLocalization("dijit._editor","FontChoice");var _aba=dojo.map(_ab8,function(_abb){var name=_ab9[_abb]||_abb;var _abd=name;switch(cmd){case "fontName":_abd="<div style='font-family: "+_abb+"'>"+name+"</div>";break;case "fontSize":_abd="<font size="+_abb+"'>"+name+"</font>";break;case "formatBlock":_abd="<"+_abb+">"+name+"</"+_abb+">";}return {label:_abd,name:name,value:_abb};});_aba.push({label:"",name:"",value:""});dijit._editor.plugins.FontChoice.superclass._initButton.apply(this,[{labelType:"html",labelAttr:"label",searchAttr:"name",store:new dojo.data.ItemFileReadStore({data:{identifier:"value",items:_aba}})}]);this.button.setValue("");this.connect(this.button,"onChange",function(_abe){if(this.updating){return;}if(dojo.isIE&&"_savedSelection" in this){var b=this._savedSelection;delete this._savedSelection;this.editor.focus();this.editor._moveToBookmark(b);}else{dijit.focus(this._focusHandle);}if(this.command=="fontName"&&_abe.indexOf(" ")!=-1){_abe="'"+_abe+"'";}this.editor.execCommand(this.editor._normalizeCommand(this.command),_abe);});},updateState:function(){this.inherited(arguments);var _e=this.editor;var _c=this.command;if(!_e||!_e.isLoaded||!_c.length){return;}if(this.button){var _ac2=_e.queryCommandValue(this.editor._normalizeCommand(_c))||"";var _ac3=dojo.isString(_ac2)&&_ac2.match(/'([^']*)'/);if(_ac3){_ac2=_ac3[1];}if(this.generic&&_c=="fontName"){var map={"Arial":"sans-serif","Helvetica":"sans-serif","Myriad":"sans-serif","Times":"serif","Times New Roman":"serif","Comic Sans MS":"cursive","Apple Chancery":"cursive","Courier":"monospace","Courier New":"monospace","Papyrus":"fantasy"};_ac2=map[_ac2]||_ac2;}else{if(_c=="fontSize"&&_ac2.indexOf&&_ac2.indexOf("px")!=-1){var _ac5=parseInt(_ac2);_ac2={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_ac5]||_ac2;}}this.updating=true;this.button.setValue(_ac2);delete this.updating;}if(dojo.isIE){this._savedSelection=this.editor._getBookmark();}this._focusHandle=dijit.getFocus(this.editor.iframe);},setToolbar:function(){this.inherited(arguments);var _ac6=this.button;if(!_ac6.id){_ac6.id=dijit._scopeName+"EditorButton-"+this.command+(this._uniqueId++);}var _ac7=dojo.doc.createElement("label");dojo.addClass(_ac7,"dijit dijitReset dijitLeft dijitInline");_ac7.setAttribute("for",_ac6.id);var _ac8=dojo.i18n.getLocalization("dijit._editor","FontChoice");_ac7.appendChild(dojo.doc.createTextNode(_ac8[this.command]));dojo.place(_ac7,this.button.domNode,"before");}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}switch(o.args.name){case "fontName":case "fontSize":case "formatBlock":o.plugin=new dijit._editor.plugins.FontChoice({command:o.args.name});}});}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=dojo._scopeName+"Unique"+(++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);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 _ae1=n.scrollLeft,_ae2=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_ae1!=n.scrollLeft||_ae2!=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,_ae8=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"),_ae8];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(){var s=this.node.style,l,t;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left));t=Math.round(parseFloat(s.top));break;default:s.position="absolute";var m=dojo.marginBox(this.node);l=m.l;t=m.t;break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;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,_af2){this.node=dojo.byId(node);if(!_af2){_af2={};}this.handle=_af2.handle?dojo.byId(_af2.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_af2.delay>0?_af2.delay:0;this.skip=_af2.skip;this.mover=_af2.mover?_af2.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_af3,node){return new dojo.dnd.Moveable(node,_af3);},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(_af9){dojo.publish("/dnd/move/start",[_af9]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_afa){dojo.publish("/dnd/move/stop",[_afa]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_afb){},onMove:function(_afc,_afd){this.onMoving(_afc,_afd);var s=_afc.node.style;s.left=_afd.l+"px";s.top=_afd.t+"px";this.onMoved(_afc,_afd);},onMoving:function(_aff,_b00){},onMoved:function(_b01,_b02){}});}if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _b03=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_b05){if(!_b05){_b05={};}if(_b05.timeout&&typeof _b05.timeout=="number"&&_b05.timeout>=0){this.timeout=_b05.timeout;}},markupFactory:function(_b06,node){return new dojo.dnd.TimedMoveable(node,_b06);},onMoveStop:function(_b08){if(_b08._timer){clearTimeout(_b08._timer);_b03.call(this,_b08,_b08._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_b09,_b0a){_b09._leftTop=_b0a;if(!_b09._timer){var _t=this;_b09._timer=setTimeout(function(){_b09._timer=null;_b03.call(_t,_b09,_b09._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");dojo.provide("dojo.fx.Toggler");(function(){var _b0c={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _b0f=function(_b10){this._index=-1;this._animations=_b10||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;dojo.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};dojo.extend(_b0f,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){dojo.disconnect(this._onAnimateCtx);dojo.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_b12,_b13){if(!this._current){this._current=this._animations[this._index=0];}if(!_b13&&this._current.status()=="playing"){return this;}var _b14=dojo.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_b15=dojo.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_b17=dojo.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);dojo.disconnect(_b14);dojo.disconnect(_b15);dojo.disconnect(_b17);});if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=dojo.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);dojo.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_b1b,_b1c){this.pause();var _b1d=this.duration*_b1b;this._current=null;dojo.some(this._animations,function(a){if(a.duration<=_b1d){this._current=a;return true;}_b1d-=a.duration;return false;});if(this._current){this._current.gotoPercent(_b1d/_current.duration,_b1c);}return this;},stop:function(_b1f){if(this._current){if(_b1f){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=dojo.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);dojo.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}}});dojo.extend(_b0f,_b0c);dojo.fx.chain=function(_b22){return new _b0f(_b22);};var _b23=function(_b24){this._animations=_b24||[];this._connects=[];this._finished=0;this.duration=0;dojo.forEach(_b24,function(a){var _b26=a.duration;if(a.delay){_b26+=a.delay;}if(this.duration<_b26){this.duration=_b26;}this._connects.push(dojo.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new dojo._Animation({curve:[0,1],duration:this.duration});dojo.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop"],function(evt){this._connects.push(dojo.connect(this._pseudoAnimation,evt,dojo.hitch(this,"_fire",evt)));},this);};dojo.extend(_b23,{_doAction:function(_b28,args){dojo.forEach(this._animations,function(a){a[_b28].apply(a,args);});return this;},_onEnd:function(){if(++this._finished==this._animations.length){this._fire("onEnd");}},_call:function(_b2b,args){var t=this._pseudoAnimation;t[_b2b].apply(t,args);},play:function(_b2e,_b2f){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_b30,_b31){var ms=this.duration*_b30;dojo.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_b31);});this._call("gotoProcent",arguments);return this;},stop:function(_b34){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){dojo.forEach(this._connects,dojo.disconnect);}});dojo.extend(_b23,_b0c);dojo.fx.combine=function(_b35){return new _b23(_b35);};})();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(_b38){return this.showAnim.play(_b38||0);},hide:function(_b39){return this.hideAnim.play(_b39||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 _b3e=dojo.style(node,"height");return Math.max(_b3e,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["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;}dojo.forEach(this.getChildren(),function(_b4d){_b4d.startup();});if(!this.getParent||!this.getParent()){this.resize();this.connect(window,"onresize",function(){this.resize();});}this.inherited(arguments);},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 _b56=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_b59,dim){_b59.resize?_b59.resize(dim):dojo.marginBox(_b59.domNode,dim);dojo.mixin(_b59,dojo.marginBox(_b59.domNode));dojo.mixin(_b59,dim);};dijit.layout.layoutChildren=function(_b5b,dim,_b5d){dim=dojo.mixin({},dim);dojo.addClass(_b5b,"dijitLayoutContainer");_b5d=dojo.filter(_b5d,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_b5d,function(item){return item.layoutAlign=="client";}));dojo.forEach(_b5d,function(_b60){var elm=_b60.domNode,pos=_b60.layoutAlign;var _b63=elm.style;_b63.left=dim.l+"px";_b63.top=dim.t+"px";_b63.bottom=_b63.right="auto";dojo.addClass(elm,"dijitAlign"+_b56(pos));if(pos=="top"||pos=="bottom"){size(_b60,{w:dim.w});dim.h-=_b60.h;if(pos=="top"){dim.t+=_b60.h;}else{_b63.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_b60,{h:dim.h});dim.w-=_b60.w;if(pos=="left"){dim.l+=_b60.w;}else{_b63.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_b60,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",doLayout:"auto",postCreate:function(){this.domNode.title="";if(!this.containerNode){this.containerNode=this.domNode;}if(this.preload){this._loadCheck();}var _b64=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_b64);this.errorMessage=dojo.string.substitute(this.errorMessage,_b64);var _b65=dijit.getWaiRole(this.domNode);if(!_b65){dijit.setWaiRole(this.domNode,"group");}dojo.addClass(this.domNode,this["class"]);},startup:function(){if(this._started){return;}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild){this._singleChild.startup();}}this._loadCheck();this.inherited(arguments);},_checkIfSingleChild:function(){var _b66=dojo.query(">",this.containerNode||this.domNode),_b67=_b66.filter("[widgetId]");if(_b66.length==1&&_b67.length==1){this.isContainer=true;this._singleChild=dijit.byNode(_b67[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();}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){this._singleChild.startup();this._singleChild.resize(this._contentBox||dojo.contentBox(this.containerNode||this.domNode));}}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(_b6d){this.cancel();this.isLoaded=false;this._loadCheck(_b6d);},_isShown:function(){if("open" in this){return this.open;}else{var node=this.domNode;return (node.style.display!="none")&&(node.style.visibility!="hidden");}},_loadCheck:function(_b6f){var _b70=this._isShown();if(this.href&&(_b6f||(this.preload&&!this._xhrDfd)||(this.refreshOnShow&&_b70&&!this._xhrDfd)||(!this.isLoaded&&_b70&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._onUnloadHandler();this._setContent(this.onDownloadStart.call(this));var self=this;var _b72={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_b72,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_b72);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 _b79=this.onContentError(e);try{node.innerHTML=_b79;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}}},_onError:function(type,err,_b7c){var _b7d=this["on"+type+"Error"].call(this,err);if(_b7c){console.error(_b7c,err);}else{if(_b7d){this._setContent.call(this,_b7d);}}},_createSubWidgets:function(){var _b7e=this.containerNode||this.domNode;try{dojo.parser.parse(_b7e,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(_b81){},onDownloadError:function(_b82){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,{reset:function(){dojo.forEach(this.getDescendants(),function(_b83){if(_b83.reset){_b83.reset();}});},validate:function(){var _b84=false;return dojo.every(dojo.map(this.getDescendants(),function(_b85){_b85._hasBeenBlurred=true;var _b86=!_b85.validate||_b85.validate();if(!_b86&&!_b84){dijit.scrollIntoView(_b85.containerNode||_b85.domNode);_b85.focus();_b84=true;}return _b86;}),"return item;");},setValues:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_b89){if(!_b89.name){return;}var _b8a=map[_b89.name]||(map[_b89.name]=[]);_b8a.push(_b89);});for(var name in map){var _b8c=map[name],_b8d=dojo.getObject(name,false,obj);if(!dojo.isArray(_b8d)){_b8d=[_b8d];}if(typeof _b8c[0].checked=="boolean"){dojo.forEach(_b8c,function(w,i){w.setValue(dojo.indexOf(_b8d,w.value)!=-1);});}else{if(_b8c[0]._multiValue){_b8c[0].setValue(_b8d);}else{dojo.forEach(_b8c,function(w,i){w.setValue(_b8d[i]);});}}}},getValues:function(){var obj={};dojo.forEach(this.getDescendants(),function(_b93){var name=_b93.name;if(!name){return;}var _b95=(_b93.getValue&&!_b93._getValueDeprecated)?_b93.getValue():_b93.value;if(typeof _b93.checked=="boolean"){if(/Radio/.test(_b93.declaredClass)){if(_b95!==false){dojo.setObject(name,_b95,obj);}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_b95!==false){ary.push(_b95);}}}else{dojo.setObject(name,_b95,obj);}});return obj;},isValid:function(){return dojo.every(this.getDescendants(),function(_b97){return !_b97.isValid||_b97.isValid();});}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onreset:_onReset,onsubmit:_onSubmit' name='${name}'></form>",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",encType:"","accept-charset":"",accept:"",target:""}),execute:function(_b98){},onExecute:function(){},setAttribute:function(attr,_b9a){this.inherited(arguments);switch(attr){case "encType":if(dojo.isIE){this.domNode.encoding=_b9a;}}},postCreate:function(){if(dojo.isIE&&this.srcNodeRef&&this.srcNodeRef.attributes){var item=this.srcNodeRef.attributes.getNamedItem("encType");if(item&&!item.specified&&(typeof item.value=="string")){this.setAttribute("encType",item.value);}}this.inherited(arguments);},onReset:function(e){return true;},_onReset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e.currentTarget,target:e.target};if(!(this.onReset(faux)===false)&&faux.returnValue){this.reset();}dojo.stopEvent(e);return false;},_onSubmit:function(e){var fp=dijit.form.Form.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){dojo.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){dojo.stopEvent(e);}},onSubmit:function(e){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});}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}_wrapper'><div class='dijitDialogUnderlay ${class}' id='${id}' dojoAttachPoint='node'></div></div>",attributeMap:{},postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);},layout:function(){var _ba2=dijit.getViewport();var is=this.node.style,os=this.domNode.style;os.top=_ba2.t+"px";os.left=_ba2.l+"px";is.width=_ba2.w+"px";is.height=_ba2.h+"px";var _ba5=dijit.getViewport();if(_ba2.w!=_ba5.w){is.width=_ba5.w+"px";}if(_ba2.h!=_ba5.h){is.height=_ba5.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._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_ba6){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.getValues());},_getFocusItems:function(_ba7){var _ba8=dijit.getFirstInTabbingOrder(_ba7);this._firstFocusItem=_ba8?_ba8:_ba7;_ba8=dijit.getLastInTabbingOrder(_ba7);this._lastFocusItem=_ba8?_ba8:this._firstFocusItem;if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.attr(this._firstFocusItem,"type").toLowerCase()=="file"){dojo.attr(_ba7,"tabindex","0");this._firstFocusItem=_ba7;}}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{templateString:null,templateString:"<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\r\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\r\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\">${title}</span>\r\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel\">\r\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\">x</span>\r\n\t</span>\r\n\t</div>\r\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\r\n</div>\r\n",open:false,duration:400,refocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{title:"titleBar"}),postCreate:function(){dojo.body().appendChild(this.domNode);this.inherited(arguments);var _ba9=dojo.i18n.getLocalization("dijit","common");if(this.closeButtonNode){this.closeButtonNode.setAttribute("title",_ba9.buttonCancel);}if(this.closeText){this.closeText.setAttribute("title",_ba9.buttonCancel);}var s=this.domNode.style;s.visibility="hidden";s.position="absolute";s.display="";s.top="-9999px";this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();this.inherited(arguments);},_setup:function(){if(this.titleBar){this._moveable=new dojo.dnd.TimedMoveable(this.domNode,{handle:this.titleBar,timeout:0});}this._underlay=new dijit.DialogUnderlay({id:this.id+"_underlay","class":dojo.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")});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.visibility="hidden";node.style.top="-9999px";}}),dojo.fadeOut({node:this._underlay.domNode,duration:this.duration,onEnd:dojo.hitch(this._underlay,"hide")})]);},uninitialize:function(){if(this._fadeIn&&this._fadeIn.status()=="playing"){this._fadeIn.stop();}if(this._fadeOut&&this._fadeOut.status()=="playing"){this._fadeOut.stop();}if(this._underlay){this._underlay.destroy();}},_position:function(){if(dojo.hasClass(dojo.body(),"dojoMove")){return;}var _bad=dijit.getViewport();var mb=dojo.marginBox(this.domNode);var _baf=this.domNode.style;_baf.left=Math.floor((_bad.l+(_bad.w-mb.w)/2))+"px";_baf.top=Math.floor((_bad.t+(_bad.h-mb.h)/2))+"px";},_onKey:function(evt){if(evt.keyCode){var node=evt.target;if(evt.keyCode==dojo.keys.TAB){this._getFocusItems(this.domNode);}var _bb2=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(!_bb2){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.keyCode==dojo.keys.TAB&&!evt.shiftKey){if(!_bb2){dijit.focus(this._firstFocusItem);}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._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}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(dojo.doc.documentElement,"onkeypress",this,"_onKey"));dojo.style(this.domNode,"opacity",0);this.domNode.style.visibility="";this.open=true;this._loadCheck();this._position();this._fadeIn.play();this._savedFocus=dijit.getFocus(this);this._getFocusItems(this.domNode);setTimeout(dojo.hitch(this,function(){dijit.focus(this._firstFocusItem);}),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=[];if(this.refocus){this.connect(this._fadeOut,"onEnd",dojo.hitch(dijit,"focus",this._savedFocus));}this.open=false;},layout:function(){if(this.domNode.style.visibility!="hidden"){this._underlay.layout();this._position();}},destroy:function(){dojo.forEach(this._modalconnects,dojo.disconnect);if(this.refocus&&this.open){var fo=this._savedFocus;setTimeout(dojo.hitch(dijit,"focus",fo),25);}this.inherited(arguments);}});dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,_firstFocusItem:null,_lastFocusItem:null,templateString:null,templateString:"<div class=\"dijitTooltipDialog\" waiRole=\"presentation\">\r\n\t<div class=\"dijitTooltipContainer\" waiRole=\"presentation\">\r\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"-1\" waiRole=\"dialog\"></div>\r\n\t</div>\r\n\t<div class=\"dijitTooltipConnector\" waiRole=\"presenation\"></div>\r\n</div>\r\n",postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");this.containerNode.title=this.title;},orient:function(node,_bb5,_bb6){this.domNode.className="dijitTooltipDialog "+" dijitTooltipAB"+(_bb6.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_bb6.charAt(0)=="T"?"Below":"Above");},onOpen:function(pos){this._getFocusItems(this.containerNode);this.orient(this.domNode,pos.aroundCorner,pos.corner);this._loadCheck();dijit.focus(this._firstFocusItem);},_onKey:function(evt){var node=evt.target;if(evt.keyCode==dojo.keys.TAB){this._getFocusItems(this.containerNode);}var _bba=(this._firstFocusItem==this._lastFocusItem);if(evt.keyCode==dojo.keys.ESCAPE){this.onCancel();}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(!_bba){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.keyCode==dojo.keys.TAB&&!evt.shiftKey){if(!_bba){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.keyCode==dojo.keys.TAB){evt.stopPropagation();}}}}}});}if(!dojo._hasResource["dijit._editor.plugins.LinkDialog"]){dojo._hasResource["dijit._editor.plugins.LinkDialog"]=true;dojo.provide("dijit._editor.plugins.LinkDialog");dojo.declare("dijit._editor.plugins.LinkDialog",dijit._editor._Plugin,{buttonClass:dijit.form.DropDownButton,useDefaultCommand:false,urlRegExp:"((https?|ftps?)\\://|)(([0-9a-zA-Z]([-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?\\.)+(arpa|aero|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|xxx|jobs|mobi|post|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|eu|es|et|fi|fj|fk|fm|fo|fr|ga|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sk|sl|sm|sn|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)|(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])|(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]|(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]|(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])|0[xX]0*[\\da-fA-F]{1,8}|([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}\\:){6}((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])))(\\:(0|[1-9]\\d*))?(/([^?#\\s/]+/)*)?([^?#\\s/]+(\\?[^?#\\s/]*)?(#[A-Za-z][\\w.:-]*)?)?",linkDialogTemplate:["<table><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input dojoType='dijit.form.ValidationTextBox' regExp='${urlRegExp}' required='true' id='${id}_urlInput' name='urlInput'>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input dojoType='dijit.form.ValidationTextBox' required='true' id='${id}_textInput' name='textInput'>","</td></tr><tr><td colspan='2'>","<button dojoType='dijit.form.Button' type='submit'>${set}</button>","</td></tr></table>"].join(""),_initButton:function(){var _bbb=this;this.tag=this.command=="insertImage"?"img":"a";var _bbc=dojo.i18n.getLocalization("dijit._editor","LinkDialog",this.lang);var _bbd=(this.dropDown=new dijit.TooltipDialog({title:_bbc[this.command+"Title"],execute:dojo.hitch(this,"setValue"),onOpen:function(){_bbb._onOpenDialog();dijit.TooltipDialog.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(dojo.hitch(_bbb,"_onCloseDialog"),0);},onClose:dojo.hitch(this,"_onCloseDialog")}));_bbc.urlRegExp=this.urlRegExp;_bbc.id=dijit.getUniqueId(this.editor.id);this._setContent(_bbd.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+dojo.string.substitute(this.linkDialogTemplate,_bbc));_bbd.startup();this.inherited(arguments);},_setContent:function(_bbe){this.dropDown.setContent(_bbe);},setValue:function(args){this._onCloseDialog();if(dojo.isIE){var a=dojo.withGlobal(this.editor.window,"getAncestorElement",dijit._editor.selection,[this.tag]);if(a){dojo.withGlobal(this.editor.window,"selectElement",dijit._editor.selection,[a]);}}args.tag=this.tag;args.refAttr=this.tag=="img"?"src":"href";var _bc1="<${tag} ${refAttr}='${urlInput}' _djrealurl='${urlInput}'"+(args.tag=="img"?" alt='${textInput}'>":">${textInput}")+"</${tag}>";this.editor.execCommand("inserthtml",dojo.string.substitute(_bc1,args));},_onCloseDialog:function(){if(dojo.isIE){if("_savedSelection" in this){var b=this._savedSelection;delete this._savedSelection;this.editor.focus();this.editor._moveToBookmark(b);}}else{this.editor.focus();}},_onOpenDialog:function(){var a=dojo.withGlobal(this.editor.window,"getAncestorElement",dijit._editor.selection,[this.tag]);var url,text;if(a){url=a.getAttribute("_djrealurl");text=this.tag=="img"?a.getAttribute("alt"):a.textContent||a.innerText;dojo.withGlobal(this.editor.window,"selectElement",dijit._editor.selection,[a,true]);}else{text=dojo.withGlobal(this.editor.window,dijit._editor.selection.getSelectedText);}if(dojo.isIE){this._savedSelection=this.editor._getBookmark();}this.dropDown.reset();this.dropDown.setValues({urlInput:url||"",textInput:text||""});}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}switch(o.args.name){case "createLink":case "insertImage":o.plugin=new dijit._editor.plugins.LinkDialog({command:o.args.name});}});}if(!dojo._hasResource["dojo.colors"]){dojo._hasResource["dojo.colors"]=true;dojo.provide("dojo.colors");(function(){var _bc7=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=function(_bcc,obj){var m=_bcc.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1];if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){var a=dojo.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,obj);}return dojo.colorFromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2,a=[_bc7(m1,m2,H+1/3)*256,_bc7(m1,m2,H)*256,_bc7(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,obj);}}return null;};var _bda=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};dojo.Color.prototype.sanitize=function(){var t=this;t.r=Math.round(_bda(t.r,0,255));t.g=Math.round(_bda(t.g,0,255));t.b=Math.round(_bda(t.b,0,255));t.a=_bda(t.a,0,1);return this;};})();dojo.colors.makeGrey=function(g,a){return dojo.colorFromArray([g,g,g,a]);};dojo.Color.named=dojo.mixin({aliceblue:[240,248,255],antiquewhite:[250,235,215],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],blanchedalmond:[255,235,205],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],oldlace:[253,245,230],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]},dojo.Color.named);}if(!dojo._hasResource["dijit.ColorPalette"]){dojo._hasResource["dijit.ColorPalette"]=true;dojo.provide("dijit.ColorPalette");dojo.declare("dijit.ColorPalette",[dijit._Widget,dijit._Templated],{defaultTimeout:500,timeoutChangeRate:0.9,palette:"7x10",value:null,_currentFocus:0,_xDim:null,_yDim:null,_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},_imagePaths:{"7x10":dojo.moduleUrl("dijit","templates/colors7x10.png"),"3x4":dojo.moduleUrl("dijit","templates/colors3x4.png")},_paletteCoords:{"leftOffset":3,"topOffset":3,"cWidth":20,"cHeight":20},templateString:"<div class=\"dijitInline dijitColorPalette\">\r\n\t<div class=\"dijitColorPaletteInner\" dojoAttachPoint=\"divNode\" waiRole=\"grid\" tabIndex=\"${tabIndex}\">\r\n\t\t<img class=\"dijitColorPaletteUnder\" dojoAttachPoint=\"imageNode\" waiRole=\"presentation\">\r\n\t</div>\t\r\n</div>\r\n",_paletteDims:{"7x10":{"width":"206px","height":"145px"},"3x4":{"width":"86px","height":"64px"}},tabIndex:"0",postCreate:function(){dojo.mixin(this.divNode.style,this._paletteDims[this.palette]);this.imageNode.setAttribute("src",this._imagePaths[this.palette]);var _be1=this._palettes[this.palette];this.domNode.style.position="relative";this._cellNodes=[];this.colorNames=dojo.i18n.getLocalization("dojo","colors",this.lang);var url=dojo.moduleUrl("dojo","resources/blank.gif"),_be3=new dojo.Color(),_be4=this._paletteCoords;for(var row=0;row<_be1.length;row++){for(var col=0;col<_be1[row].length;col++){var _be7=dojo.doc.createElement("img");_be7.src=url;dojo.addClass(_be7,"dijitPaletteImg");var _be8=_be1[row][col],_be9=_be3.setColor(dojo.Color.named[_be8]);_be7.alt=this.colorNames[_be8];_be7.color=_be9.toHex();var _bea=_be7.style;_bea.color=_bea.backgroundColor=_be7.color;var _beb=dojo.doc.createElement("span");_beb.appendChild(_be7);dojo.forEach(["Dijitclick","MouseEnter","Focus","Blur"],function(_bec){this.connect(_beb,"on"+_bec.toLowerCase(),"_onCell"+_bec);},this);this.divNode.appendChild(_beb);var _bed=_beb.style;_bed.top=_be4.topOffset+(row*_be4.cHeight)+"px";_bed.left=_be4.leftOffset+(col*_be4.cWidth)+"px";dojo.attr(_beb,"tabindex","-1");_beb.title=this.colorNames[_be8];dojo.addClass(_beb,"dijitPaletteCell");dijit.setWaiRole(_beb,"gridcell");_beb.index=this._cellNodes.length;this._cellNodes.push(_beb);}}this._xDim=_be1[0].length;this._yDim=_be1.length;this.connect(this.divNode,"onfocus","_onDivNodeFocus");var _bee={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:1,LEFT_ARROW:-1};for(var key in _bee){this._connects.push(dijit.typematic.addKeyListener(this.domNode,{keyCode:dojo.keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _bf0=_bee[key];return function(_bf1){this._navigateByKey(_bf0,_bf1);};}(),this.timeoutChangeRate,this.defaultTimeout));}},focus:function(){this._focusFirst();},onChange:function(_bf2){},_focusFirst:function(){this._currentFocus=0;var _bf3=this._cellNodes[this._currentFocus];window.setTimeout(function(){dijit.focus(_bf3);},0);},_onDivNodeFocus:function(evt){if(evt.target===this.divNode){this._focusFirst();}},_onFocus:function(){dojo.attr(this.divNode,"tabindex","-1");},_onBlur:function(){this._removeCellHighlight(this._currentFocus);dojo.attr(this.divNode,"tabindex",this.tabIndex);},_onCellDijitclick:function(evt){var _bf6=evt.currentTarget;if(this._currentFocus!=_bf6.index){this._currentFocus=_bf6.index;window.setTimeout(function(){dijit.focus(_bf6);},0);}this._selectColor(_bf6);dojo.stopEvent(evt);},_onCellMouseEnter:function(evt){var _bf8=evt.currentTarget;window.setTimeout(function(){dijit.focus(_bf8);},0);},_onCellFocus:function(evt){this._removeCellHighlight(this._currentFocus);this._currentFocus=evt.currentTarget.index;dojo.addClass(evt.currentTarget,"dijitPaletteCellHighlight");},_onCellBlur:function(evt){this._removeCellHighlight(this._currentFocus);},_removeCellHighlight:function(_bfb){dojo.removeClass(this._cellNodes[_bfb],"dijitPaletteCellHighlight");},_selectColor:function(_bfc){var img=_bfc.getElementsByTagName("img")[0];this.onChange(this.value=img.color);},_navigateByKey:function(_bfe,_bff){if(_bff==-1){return;}var _c00=this._currentFocus+_bfe;if(_c00<this._cellNodes.length&&_c00>-1){var _c01=this._cellNodes[_c00];_c01.focus();}}});}if(!dojo._hasResource["dijit._editor.plugins.TextColor"]){dojo._hasResource["dijit._editor.plugins.TextColor"]=true;dojo.provide("dijit._editor.plugins.TextColor");dojo.declare("dijit._editor.plugins.TextColor",dijit._editor._Plugin,{buttonClass:dijit.form.DropDownButton,constructor:function(){this.dropDown=new dijit.ColorPalette();this.connect(this.dropDown,"onChange",function(_c02){this.editor.execCommand(this.command,_c02);});}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}switch(o.args.name){case "foreColor":case "hiliteColor":o.plugin=new dijit._editor.plugins.TextColor({command:o.args.name});}});}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(_c04,node){return new dojo.dnd.move.constrainedMoveable(node,_c04);},constructor:function(node,_c07){if(!_c07){_c07={};}this.constraints=_c07.constraints;this.within=_c07.within;},onFirstMove:function(_c08){var c=this.constraintBox=this.constraints.call(this,_c08);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo.marginBox(_c08.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_c0b,_c0c){var c=this.constraintBox,s=_c0b.node.style;s.left=(_c0c.l<c.l?c.l:c.r<_c0c.l?c.r:_c0c.l)+"px";s.top=(_c0c.t<c.t?c.t:c.b<_c0c.t?c.b:_c0c.t)+"px";}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_c0f,node){return new dojo.dnd.move.boxConstrainedMoveable(node,_c0f);},constructor:function(node,_c12){var box=_c12&&_c12.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_c14,node){return new dojo.dnd.move.parentConstrainedMoveable(node,_c14);},constructor:function(node,_c17){var area=_c17&&_c17.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,_c1e){dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead");var _c1f=function(node,e,_c22){dojo.dnd.Mover.call(this,node,e,_c22);};dojo.extend(_c1f,dojo.dnd.Mover.prototype);dojo.extend(_c1f,{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);c.r=c.l+c.w;c.b=c.t+c.h;if(_c1e){var mb=dojo.marginBox(this.node);c.r-=mb.w;c.b-=mb.h;}}});return _c1f;};dojo.dnd.move.boxConstrainedMover=function(box,_c2b){dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead");return dojo.dnd.move.constrainedMover(function(){return box;},_c2b);};dojo.dnd.move.parentConstrainedMover=function(area,_c2d){dojo.deprecated("dojo.dnd.move.parentConstrainedMover, use dojo.dnd.move.parentConstrainedMoveable instead");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,_c2d);};dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;}if(!dojo._hasResource["dojo.number"]){dojo._hasResource["dojo.number"]=true;dojo.provide("dojo.number");dojo.number.format=function(_c33,_c34){_c34=dojo.mixin({},_c34||{});var _c35=dojo.i18n.normalizeLocale(_c34.locale);var _c36=dojo.i18n.getLocalization("dojo.cldr","number",_c35);_c34.customs=_c36;var _c37=_c34.pattern||_c36[(_c34.type||"decimal")+"Format"];if(isNaN(_c33)){return null;}return dojo.number._applyPattern(_c33,_c37,_c34);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_c38,_c39,_c3a){_c3a=_c3a||{};var _c3b=_c3a.customs.group;var _c3c=_c3a.customs.decimal;var _c3d=_c39.split(";");var _c3e=_c3d[0];_c39=_c3d[(_c38<0)?1:0]||("-"+_c3e);if(_c39.indexOf("%")!=-1){_c38*=100;}else{if(_c39.indexOf("‰")!=-1){_c38*=1000;}else{if(_c39.indexOf("¤")!=-1){_c3b=_c3a.customs.currencyGroup||_c3b;_c3c=_c3a.customs.currencyDecimal||_c3c;_c39=_c39.replace(/\u00a4{1,3}/,function(_c3f){var prop=["symbol","currency","displayName"][_c3f.length-1];return _c3a[prop]||_c3a.currency||"";});}else{if(_c39.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _c41=dojo.number._numberPatternRE;var _c42=_c3e.match(_c41);if(!_c42){throw new Error("unable to find a number expression in pattern: "+_c39);}return _c39.replace(_c41,dojo.number._formatAbsolute(_c38,_c42[0],{decimal:_c3c,group:_c3b,places:_c3a.places}));};dojo.number.round=function(_c43,_c44,_c45){var _c46=String(_c43).split(".");var _c47=(_c46[1]&&_c46[1].length)||0;if(_c47>_c44){var _c48=Math.pow(10,_c44);if(_c45>0){_c48*=10/_c45;_c44++;}_c43=Math.round(_c43*_c48)/_c48;_c46=String(_c43).split(".");_c47=(_c46[1]&&_c46[1].length)||0;if(_c47>_c44){_c46[1]=_c46[1].substr(0,_c44);_c43=Number(_c46.join("."));}}return _c43;};dojo.number._formatAbsolute=function(_c49,_c4a,_c4b){_c4b=_c4b||{};if(_c4b.places===true){_c4b.places=0;}if(_c4b.places===Infinity){_c4b.places=6;}var _c4c=_c4a.split(".");var _c4d=(_c4b.places>=0)?_c4b.places:(_c4c[1]&&_c4c[1].length)||0;if(!(_c4b.round<0)){_c49=dojo.number.round(_c49,_c4d,_c4b.round);}var _c4e=String(Math.abs(_c49)).split(".");var _c4f=_c4e[1]||"";if(_c4b.places){_c4e[1]=dojo.string.pad(_c4f.substr(0,_c4b.places),_c4b.places,"0",true);}else{if(_c4c[1]&&_c4b.places!==0){var pad=_c4c[1].lastIndexOf("0")+1;if(pad>_c4f.length){_c4e[1]=dojo.string.pad(_c4f,pad,"0",true);}var _c51=_c4c[1].length;if(_c51<_c4f.length){_c4e[1]=_c4f.substr(0,_c51);}}else{if(_c4e[1]){_c4e.pop();}}}var _c52=_c4c[0].replace(",","");pad=_c52.indexOf("0");if(pad!=-1){pad=_c52.length-pad;if(pad>_c4e[0].length){_c4e[0]=dojo.string.pad(_c4e[0],pad);}if(_c52.indexOf("#")==-1){_c4e[0]=_c4e[0].substr(_c4e[0].length-pad);}}var _c53=_c4c[0].lastIndexOf(",");var _c54,_c55;if(_c53!=-1){_c54=_c4c[0].length-_c53-1;var _c56=_c4c[0].substr(0,_c53);_c53=_c56.lastIndexOf(",");if(_c53!=-1){_c55=_c56.length-_c53-1;}}var _c57=[];for(var _c58=_c4e[0];_c58;){var off=_c58.length-_c54;_c57.push((off>0)?_c58.substr(off):_c58);_c58=(off>0)?_c58.slice(0,off):"";if(_c55){_c54=_c55;delete _c55;}}_c4e[0]=_c57.reverse().join(_c4b.group||",");return _c4e.join(_c4b.decimal||".");};dojo.number.regexp=function(_c5a){return dojo.number._parseInfo(_c5a).regexp;};dojo.number._parseInfo=function(_c5b){_c5b=_c5b||{};var _c5c=dojo.i18n.normalizeLocale(_c5b.locale);var _c5d=dojo.i18n.getLocalization("dojo.cldr","number",_c5c);var _c5e=_c5b.pattern||_c5d[(_c5b.type||"decimal")+"Format"];var _c5f=_c5d.group;var _c60=_c5d.decimal;var _c61=1;if(_c5e.indexOf("%")!=-1){_c61/=100;}else{if(_c5e.indexOf("‰")!=-1){_c61/=1000;}else{var _c62=_c5e.indexOf("¤")!=-1;if(_c62){_c5f=_c5d.currencyGroup||_c5f;_c60=_c5d.currencyDecimal||_c60;}}}var _c63=_c5e.split(";");if(_c63.length==1){_c63.push("-"+_c63[0]);}var re=dojo.regexp.buildGroupRE(_c63,function(_c65){_c65="(?:"+dojo.regexp.escapeString(_c65,".")+")";return _c65.replace(dojo.number._numberPatternRE,function(_c66){var _c67={signed:false,separator:_c5b.strict?_c5f:[_c5f,""],fractional:_c5b.fractional,decimal:_c60,exponent:false};var _c68=_c66.split(".");var _c69=_c5b.places;if(_c68.length==1||_c69===0){_c67.fractional=false;}else{if(_c69===undefined){_c69=_c68[1].lastIndexOf("0")+1;}if(_c69&&_c5b.fractional==undefined){_c67.fractional=true;}if(!_c5b.places&&(_c69<_c68[1].length)){_c69+=","+_c68[1].length;}_c67.places=_c69;}var _c6a=_c68[0].split(",");if(_c6a.length>1){_c67.groupSize=_c6a.pop().length;if(_c6a.length>1){_c67.groupSize2=_c6a.pop().length;}}return "("+dojo.number._realNumberRegexp(_c67)+")";});},true);if(_c62){re=re.replace(/(\s*)(\u00a4{1,3})(\s*)/g,function(_c6b,_c6c,_c6d,_c6e){var prop=["symbol","currency","displayName"][_c6d.length-1];var _c70=dojo.regexp.escapeString(_c5b[prop]||_c5b.currency||"");_c6c=_c6c?"\\s":"";_c6e=_c6e?"\\s":"";if(!_c5b.strict){if(_c6c){_c6c+="*";}if(_c6e){_c6e+="*";}return "(?:"+_c6c+_c70+_c6e+")?";}return _c6c+_c70+_c6e;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_c5f,decimal:_c60,factor:_c61};};dojo.number.parse=function(_c71,_c72){var info=dojo.number._parseInfo(_c72);var _c74=(new RegExp("^"+info.regexp+"$")).exec(_c71);if(!_c74){return NaN;}var _c75=_c74[1];if(!_c74[1]){if(!_c74[2]){return NaN;}_c75=_c74[2];info.factor*=-1;}_c75=_c75.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return Number(_c75)*info.factor;};dojo.number._realNumberRegexp=function(_c76){_c76=_c76||{};if(!("places" in _c76)){_c76.places=Infinity;}if(typeof _c76.decimal!="string"){_c76.decimal=".";}if(!("fractional" in _c76)||/^0/.test(_c76.places)){_c76.fractional=[true,false];}if(!("exponent" in _c76)){_c76.exponent=[true,false];}if(!("eSigned" in _c76)){_c76.eSigned=[true,false];}var _c77=dojo.number._integerRegexp(_c76);var _c78=dojo.regexp.buildGroupRE(_c76.fractional,function(q){var re="";if(q&&(_c76.places!==0)){re="\\"+_c76.decimal;if(_c76.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_c76.places+"}";}}return re;},true);var _c7b=dojo.regexp.buildGroupRE(_c76.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_c76.eSigned})+")";}return "";});var _c7d=_c77+_c78;if(_c78){_c7d="(?:(?:"+_c7d+")|(?:"+_c78+"))";}return _c7d+_c7b;};dojo.number._integerRegexp=function(_c7e){_c7e=_c7e||{};if(!("signed" in _c7e)){_c7e.signed=[true,false];}if(!("separator" in _c7e)){_c7e.separator="";}else{if(!("groupSize" in _c7e)){_c7e.groupSize=3;}}var _c7f=dojo.regexp.buildGroupRE(_c7e.signed,function(q){return q?"[-+]":"";},true);var _c81=dojo.regexp.buildGroupRE(_c7e.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=_c7e.groupSize,grp2=_c7e.groupSize2;if(grp2){var _c85="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_c85+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_c85;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _c7f+_c81;};}if(!dojo._hasResource["dijit.form.Slider"]){dojo._hasResource["dijit.form.Slider"]=true;dojo.provide("dijit.form.Slider");dojo.declare("dijit.form.HorizontalSlider",[dijit.form._FormValueWidget,dijit._Container],{templateString:"<table class=\"dijit dijitReset dijitSlider\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\"\r\n\t><tr class=\"dijitReset\"\r\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\r\n\t\t><td dojoAttachPoint=\"containerNode,topDecoration\" class=\"dijitReset\" style=\"text-align:center;width:100%;\"></td\r\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\r\n\t></tr\r\n\t><tr class=\"dijitReset\"\r\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\r\n\t\t\t><div class=\"dijitSliderDecrementIconH\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"decrementButton\" dojoAttachEvent=\"onclick: decrement\"><span class=\"dijitSliderButtonInner\">-</span></div\r\n\t\t></td\r\n\t\t><td class=\"dijitReset\"\r\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper dijitSliderLeftBumper\" dojoAttachEvent=\"onclick:_onClkDecBumper\"></div\r\n\t\t></td\r\n\t\t><td class=\"dijitReset\"\r\n\t\t\t><input dojoAttachPoint=\"valueNode\" type=\"hidden\" name=\"${name}\"\r\n\t\t\t/><div waiRole=\"presentation\" style=\"position:relative;\" dojoAttachPoint=\"sliderBarContainer\"\r\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" dojoAttachEvent=\"onclick:_onBarClick\"\r\n\t\t\t\t\t><div dojoAttachPoint=\"sliderHandle,focusNode\" class=\"dijitSliderMoveable dijitSliderMoveableH\" dojoAttachEvent=\"onkeypress:_onKeyPress,onmousedown:_onHandleClick\" waiRole=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"\r\n\t\t\t\t\t\t><div class=\"dijitSliderImageHandle dijitSliderImageHandleH\"></div\r\n\t\t\t\t\t></div\r\n\t\t\t\t></div\r\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" dojoAttachEvent=\"onclick:_onBarClick\"></div\r\n\t\t\t></div\r\n\t\t></td\r\n\t\t><td class=\"dijitReset\"\r\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper dijitSliderRightBumper\" dojoAttachEvent=\"onclick:_onClkIncBumper\"></div\r\n\t\t></td\r\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\" style=\"right:0px;\"\r\n\t\t\t><div class=\"dijitSliderIncrementIconH\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"incrementButton\" dojoAttachEvent=\"onclick: increment\"><span class=\"dijitSliderButtonInner\">+</span></div\r\n\t\t></td\r\n\t></tr\r\n\t><tr class=\"dijitReset\"\r\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\r\n\t\t><td dojoAttachPoint=\"containerNode,bottomDecoration\" class=\"dijitReset\" style=\"text-align:center;\"></td\r\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\r\n\t></tr\r\n></table>\r\n",value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:1000,widgetsInTemplate:true,attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{id:"",name:"valueNode"}),baseClass:"dijitSlider",_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_startingPixelCount:"l",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyPress:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey){return;}switch(e.keyCode){case dojo.keys.HOME:this.setValue(this.minimum,true);break;case dojo.keys.END:this.setValue(this.maximum,true);break;case ((this._descending||this.isLeftToRight())?dojo.keys.RIGHT_ARROW:dojo.keys.LEFT_ARROW):case (this._descending===false?dojo.keys.DOWN_ARROW:dojo.keys.UP_ARROW):case (this._descending===false?dojo.keys.PAGE_DOWN:dojo.keys.PAGE_UP):this.increment(e);break;case ((this._descending||this.isLeftToRight())?dojo.keys.LEFT_ARROW:dojo.keys.RIGHT_ARROW):case (this._descending===false?dojo.keys.UP_ARROW:dojo.keys.DOWN_ARROW):case (this._descending===false?dojo.keys.PAGE_UP:dojo.keys.PAGE_DOWN):this.decrement(e);break;default:this.inherited(arguments);return;}dojo.stopEvent(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!dojo.isIE){dijit.focus(this.sliderHandle);}dojo.stopEvent(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}dijit.focus(this.sliderHandle);dojo.stopEvent(e);var _c89=dojo.coords(this.sliderBarContainer,true);var _c8a=e[this._mousePixelCoord]-_c89[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_c89[this._pixelCount]-_c8a):_c8a,_c89[this._pixelCount],true);},_setPixelValue:function(_c8b,_c8c,_c8d){if(this.disabled||this.readOnly){return;}_c8b=_c8b<0?0:_c8c<_c8b?_c8c:_c8b;var _c8e=this.discreteValues;if(_c8e<=1||_c8e==Infinity){_c8e=_c8c;}_c8e--;var _c8f=_c8c/_c8e;var _c90=Math.round(_c8b/_c8f);this.setValue((this.maximum-this.minimum)*_c90/_c8e+this.minimum,_c8d);},setValue:function(_c91,_c92){this.valueNode.value=this.value=_c91;dijit.setWaiState(this.focusNode,"valuenow",_c91);this.inherited(arguments);var _c93=(_c91-this.minimum)/(this.maximum-this.minimum);var _c94=(this._descending===false)?this.remainingBar:this.progressBar;var _c95=(this._descending===false)?this.progressBar:this.remainingBar;if(_c92&&this.slideDuration>0&&_c94.style[this._progressPixelSize]){var _c96=this;var _c97={};var _c98=parseFloat(_c94.style[this._progressPixelSize]);var _c99=this.slideDuration*(_c93-_c98/100);if(_c99==0){return;}if(_c99<0){_c99=0-_c99;}_c97[this._progressPixelSize]={start:_c98,end:_c93*100,units:"%"};dojo.animateProperty({node:_c94,duration:_c99,onAnimate:function(v){_c95.style[_c96._progressPixelSize]=(100-parseFloat(v[_c96._progressPixelSize]))+"%";},properties:_c97}).play();}else{_c94.style[this._progressPixelSize]=(_c93*100)+"%";_c95.style[this._progressPixelSize]=((1-_c93)*100)+"%";}},_bumpValue:function(_c9b){if(this.disabled||this.readOnly){return;}var s=dojo.getComputedStyle(this.sliderBarContainer);var c=dojo._getContentBox(this.sliderBarContainer,s);var _c9e=this.discreteValues;if(_c9e<=1||_c9e==Infinity){_c9e=c[this._pixelCount];}_c9e--;var _c9f=(this.value-this.minimum)*_c9e/(this.maximum-this.minimum)+_c9b;if(_c9f<0){_c9f=0;}if(_c9f>_c9e){_c9f=_c9e;}_c9f=_c9f*(this.maximum-this.minimum)/_c9e+this.minimum;this.setValue(_c9f,true);},_onClkIncBumper:function(){this.setValue(this._descending===false?this.minimum:this.maximum,true);},_onClkDecBumper:function(){this.setValue(this._descending===false?this.maximum:this.minimum,true);},decrement:function(e){this._bumpValue(e.keyCode==dojo.keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.keyCode==dojo.keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){dojo.stopEvent(evt);var _ca3=0;if(typeof evt.wheelDelta=="number"){_ca3=evt.wheelDelta;}else{if(typeof evt.detail=="number"){_ca3=-evt.detail;}}if(_ca3>0){this.increment(evt);}else{if(_ca3<0){this.decrement(evt);}}},startup:function(){dojo.forEach(this.getChildren(),function(_ca4){if(this[_ca4.container]!=this.containerNode){this[_ca4.container].appendChild(_ca4.domNode);}},this);},postCreate:function(){if(this.showButtons){this.incrementButton.style.display="";this.decrementButton.style.display="";}this.connect(this.domNode,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _ca5=this;var _ca6=function(){dijit.form._SliderMover.apply(this,arguments);this.widget=_ca5;};dojo.extend(_ca6,dijit.form._SliderMover.prototype);this._movable=new dojo.dnd.Moveable(this.sliderHandle,{mover:_ca6});dijit.setWaiState(this.focusNode,"valuemin",this.minimum);dijit.setWaiState(this.focusNode,"valuemax",this.maximum);this.inherited(arguments);},destroy:function(){this._movable.destroy();this.inherited(arguments);}});dojo.declare("dijit.form.VerticalSlider",dijit.form.HorizontalSlider,{templateString:"<table class=\"dijitReset dijitSlider\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\"\r\n><tbody class=\"dijitReset\"\r\n\t><tr class=\"dijitReset\"\r\n\t\t><td class=\"dijitReset\"></td\r\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\r\n\t\t\t><div class=\"dijitSliderIncrementIconV\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"incrementButton\" dojoAttachEvent=\"onclick:_topButtonClicked\"><span class=\"dijitSliderButtonInner\">+</span></div\r\n\t\t></td\r\n\t\t><td class=\"dijitReset\"></td\r\n\t></tr\r\n\t><tr class=\"dijitReset\"\r\n\t\t><td class=\"dijitReset\"></td\r\n\t\t><td class=\"dijitReset\"\r\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper dijitSliderTopBumper\" dojoAttachEvent=\"onclick:_onClkIncBumper\"></div></center\r\n\t\t></td\r\n\t\t><td class=\"dijitReset\"></td\r\n\t></tr\r\n\t><tr class=\"dijitReset\"\r\n\t\t><td dojoAttachPoint=\"leftDecoration\" class=\"dijitReset\" style=\"text-align:center;height:100%;\"></td\r\n\t\t><td class=\"dijitReset\" style=\"height:100%;\"\r\n\t\t\t><input dojoAttachPoint=\"valueNode\" type=\"hidden\" name=\"${name}\"\r\n\t\t\t/><center waiRole=\"presentation\" style=\"position:relative;height:100%;\" dojoAttachPoint=\"sliderBarContainer\"\r\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" dojoAttachEvent=\"onclick:_onBarClick\"><!--#5629--></div\r\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" dojoAttachEvent=\"onclick:_onBarClick\"\r\n\t\t\t\t\t><div dojoAttachPoint=\"sliderHandle,focusNode\" class=\"dijitSliderMoveable\" dojoAttachEvent=\"onkeypress:_onKeyPress,onmousedown:_onHandleClick\" style=\"vertical-align:top;\" waiRole=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"\r\n\t\t\t\t\t\t><div class=\"dijitSliderImageHandle dijitSliderImageHandleV\"></div\r\n\t\t\t\t\t></div\r\n\t\t\t\t></div\r\n\t\t\t></center\r\n\t\t></td\r\n\t\t><td dojoAttachPoint=\"containerNode,rightDecoration\" class=\"dijitReset\" style=\"text-align:center;height:100%;\"></td\r\n\t></tr\r\n\t><tr class=\"dijitReset\"\r\n\t\t><td class=\"dijitReset\"></td\r\n\t\t><td class=\"dijitReset\"\r\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper dijitSliderBottomBumper\" dojoAttachEvent=\"onclick:_onClkDecBumper\"></div></center\r\n\t\t></td\r\n\t\t><td class=\"dijitReset\"></td\r\n\t></tr\r\n\t><tr class=\"dijitReset\"\r\n\t\t><td class=\"dijitReset\"></td\r\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\r\n\t\t\t><div class=\"dijitSliderDecrementIconV\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"decrementButton\" dojoAttachEvent=\"onclick:_bottomButtonClicked\"><span class=\"dijitSliderButtonInner\">-</span></div\r\n\t\t></td\r\n\t\t><td class=\"dijitReset\"></td\r\n\t></tr\r\n></tbody></table>\r\n",_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_startingPixelCount:"t",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,startup:function(){if(this._started){return;}if(!this.isLeftToRight()&&dojo.isMoz){if(this.leftDecoration){this._rtlRectify(this.leftDecoration);}if(this.rightDecoration){this._rtlRectify(this.rightDecoration);}}this.inherited(arguments);},_isReversed:function(){return this._descending;},_topButtonClicked:function(e){if(this._descending){this.increment(e);}else{this.decrement(e);}},_bottomButtonClicked:function(e){if(this._descending){this.decrement(e);}else{this.increment(e);}},_rtlRectify:function(_ca9){var _caa=[];while(_ca9.firstChild){_caa.push(_ca9.firstChild);_ca9.removeChild(_ca9.firstChild);}for(var i=_caa.length-1;i>=0;i--){if(_caa[i]){_ca9.appendChild(_caa[i]);}}}});dojo.declare("dijit.form._SliderMover",dojo.dnd.Mover,{onMouseMove:function(e){var _cad=this.widget;var _cae=_cad._abspos;if(!_cae){_cae=_cad._abspos=dojo.coords(_cad.sliderBarContainer,true);_cad._setPixelValue_=dojo.hitch(_cad,"_setPixelValue");_cad._isReversed_=_cad._isReversed();}var _caf=e[_cad._mousePixelCoord]-_cae[_cad._startingPixelCoord];_cad._setPixelValue_(_cad._isReversed_?(_cae[_cad._pixelCount]-_caf):_caf,_cae[_cad._pixelCount],false);},destroy:function(e){dojo.dnd.Mover.prototype.destroy.apply(this,arguments);var _cb1=this.widget;_cb1.setValue(_cb1.value,true);}});dojo.declare("dijit.form.HorizontalRule",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkH\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(pos,ndx){return this._positionPrefix+pos+this._positionSuffix+this.ruleStyle+this._suffix;},_isHorizontal:true,postCreate:function(){var _cb4;if(this.count==1){_cb4=this._genHTML(50,0);}else{var i;var _cb6=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_cb4=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_cb4+=this._genHTML(_cb6*i,i);}_cb4+=this._genHTML(100,this.count-1);}else{_cb4=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_cb4+=this._genHTML(100-_cb6*i,i);}_cb4+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_cb4;}});dojo.declare("dijit.form.VerticalRule",dijit.form.HorizontalRule,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});dojo.declare("dijit.form.HorizontalRuleLabels",dijit.form.HorizontalRule,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</span></div>",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[ndx]+this._suffix;},getLabels:function(){var _cba=this.labels;if(!_cba.length){_cba=dojo.query("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_cba.length&&this.count>1){var _cbc=this.minimum;var inc=(this.maximum-_cbc)/(this.count-1);for(var i=0;i<this.count;i++){_cba.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":dojo.number.format(_cbc,this.constraints));_cbc+=inc;}}return _cba;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});dojo.declare("dijit.form.VerticalRuleLabels",dijit.form.HorizontalRuleLabels,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});}if(!dojo._hasResource["dijit.Menu"]){dojo._hasResource["dijit.Menu"]=true;dojo.provide("dijit.Menu");dojo.declare("dijit.Menu",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{constructor:function(){this._bindings=[];},templateString:"<table class=\"dijit dijitMenu dijitReset dijitMenuTable\" waiRole=\"menu\" dojoAttachEvent=\"onkeypress:_onKeyPress\">"+"<tbody class=\"dijitReset\" dojoAttachPoint=\"containerNode\"></tbody>"+"</table>",targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,parentMenu:null,popupDelay:500,_contextMenuWithMouse:false,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(dojo.body());}else{dojo.forEach(this.targetNodeIds,this.bindDomNode,this);}this.connectKeyNavHandlers([dojo.keys.UP_ARROW],[dojo.keys.DOWN_ARROW]);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_cc0){_cc0.startup();});this.startupKeyNavChildren();this.inherited(arguments);},onExecute:function(){},onCancel:function(_cc1){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.keyCode){case dojo.keys.RIGHT_ARROW:this._moveToPopup(evt);dojo.stopEvent(evt);break;case dojo.keys.LEFT_ARROW:if(this.parentMenu){this.onCancel(false);}else{dojo.stopEvent(evt);}break;}},onItemHover:function(item){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=setTimeout(dojo.hitch(this,"_openPopup"),this.popupDelay);}},_onChildBlur:function(item){dijit.popup.close(item.popup);item._blur();this._stopPopupTimer();},onItemUnhover:function(item){},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(item.disabled){return false;}if(item.popup){if(!this.is_open){this._openPopup();}}else{this.onExecute();item.onClick(evt);}},_iframeContentWindow:function(_cca){var win=dijit.getDocumentWindow(dijit.Menu._iframeContentDocument(_cca))||dijit.Menu._iframeContentDocument(_cca)["__parent__"]||(_cca.name&&dojo.doc.frames[_cca.name])||null;return win;},_iframeContentDocument:function(_ccc){var doc=_ccc.contentDocument||(_ccc.contentWindow&&_ccc.contentWindow.document)||(_ccc.name&&dojo.doc.frames[_ccc.name]&&dojo.doc.frames[_ccc.name].document)||null;return doc;},bindDomNode:function(node){node=dojo.byId(node);var win=dijit.getDocumentWindow(node.ownerDocument);if(node.tagName.toLowerCase()=="iframe"){win=this._iframeContentWindow(node);node=dojo.withGlobal(win,dojo.body);}var cn=(node==dojo.body()?dojo.doc:node);node[this.id]=this._bindings.push([dojo.connect(cn,(this.leftClickToOpen)?"onclick":"oncontextmenu",this,"_openMyself"),dojo.connect(cn,"onkeydown",this,"_contextKey"),dojo.connect(cn,"onmousedown",this,"_contextMouse")]);},unBindDomNode:function(_cd1){var node=dojo.byId(_cd1);if(node){var bid=node[this.id]-1,b=this._bindings[bid];dojo.forEach(b,dojo.disconnect);delete this._bindings[bid];}},_contextKey:function(e){this._contextMenuWithMouse=false;if(e.keyCode==dojo.keys.F10){dojo.stopEvent(e);if(e.shiftKey&&e.type=="keydown"){var _e={target:e.target,pageX:e.pageX,pageY:e.pageY};_e.preventDefault=_e.stopPropagation=function(){};window.setTimeout(dojo.hitch(this,function(){this._openMyself(_e);}),1);}}},_contextMouse:function(e){this._contextMenuWithMouse=true;},_openMyself:function(e){if(this.leftClickToOpen&&e.button>0){return;}dojo.stopEvent(e);var x,y;if(dojo.isSafari||this._contextMenuWithMouse){x=e.pageX;y=e.pageY;}else{var _cdb=dojo.coords(e.target,true);x=_cdb.x+10;y=_cdb.y+10;}var self=this;var _cdd=dijit.getFocus(this);function closeAndRestoreFocus(){dijit.focus(_cdd);dijit.popup.close(self);};dijit.popup.open({popup:this,x:x,y:y,onExecute:closeAndRestoreFocus,onCancel:closeAndRestoreFocus,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);dijit.popup.close(this);};},onOpen:function(e){this.isShowingNow=true;},onClose:function(){this._stopPopupTimer();this.parentMenu=null;this.isShowingNow=false;this.currentPopup=null;if(this.focusedChild){this._onChildBlur(this.focusedChild);this.focusedChild=null;}},_openPopup:function(){this._stopPopupTimer();var _cdf=this.focusedChild;var _ce0=_cdf.popup;if(_ce0.isShowingNow){return;}_ce0.parentMenu=this;var self=this;dijit.popup.open({parent:this,popup:_ce0,around:_cdf.arrowCell,orient:this.isLeftToRight()?{"TR":"TL","TL":"TR"}:{"TL":"TR","TR":"TL"},onCancel:function(){dijit.popup.close(_ce0);_cdf.focus();self.currentPopup=null;}});this.currentPopup=_ce0;if(_ce0.focus){_ce0.focus();}},uninitialize:function(){dojo.forEach(this.targetNodeIds,this.unBindDomNode,this);this.inherited(arguments);}});dojo.declare("dijit.MenuItem",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:"<tr class=\"dijitReset dijitMenuItem\" "+"dojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">"+"<td class=\"dijitReset\"><div class=\"dijitMenuItemIcon ${iconClass}\" dojoAttachPoint=\"iconNode\"></div></td>"+"<td tabIndex=\"-1\" class=\"dijitReset dijitMenuItemLabel\" dojoAttachPoint=\"containerNode,focusNode\" waiRole=\"menuitem\"></td>"+"<td class=\"dijitReset\" dojoAttachPoint=\"arrowCell\">"+"<div class=\"dijitMenuExpand\" dojoAttachPoint=\"expand\" style=\"display:none\">"+"<span class=\"dijitInline dijitArrowNode dijitMenuExpandInner\">+</span>"+"</div>"+"</td>"+"</tr>",label:"",iconClass:"",disabled:false,postCreate:function(){dojo.setSelectable(this.domNode,false);this.setDisabled(this.disabled);if(this.label){this.setLabel(this.label);}},_onHover:function(){this.getParent().onItemHover(this);},_onUnhover:function(){this.getParent().onItemUnhover(this);},_onClick:function(evt){this.getParent().onItemClick(this,evt);dojo.stopEvent(evt);},onClick:function(evt){},focus:function(){dojo.addClass(this.domNode,"dijitMenuItemHover");try{dijit.focus(this.containerNode);}catch(e){}},_blur:function(){dojo.removeClass(this.domNode,"dijitMenuItemHover");},setLabel:function(_ce4){this.containerNode.innerHTML=this.label=_ce4;},setDisabled:function(_ce5){this.disabled=_ce5;dojo[_ce5?"addClass":"removeClass"](this.domNode,"dijitMenuItemDisabled");dijit.setWaiState(this.containerNode,"disabled",_ce5?"true":"false");}});dojo.declare("dijit.PopupMenuItem",dijit.MenuItem,{_fillContent:function(){if(this.srcNodeRef){var _ce6=dojo.query("*",this.srcNodeRef);dijit.PopupMenuItem.superclass._fillContent.call(this,_ce6[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=dojo.query("[widgetId]",this.dropDownContainer)[0];this.popup=dijit.byNode(node);}dojo.body().appendChild(this.popup.domNode);this.popup.domNode.style.display="none";dojo.addClass(this.expand,"dijitMenuExpandEnabled");dojo.style(this.expand,"display","");dijit.setWaiState(this.containerNode,"haspopup","true");},destroyDescendants:function(){if(this.popup){this.popup.destroyRecursive();delete this.popup;}this.inherited(arguments);}});dojo.declare("dijit.MenuSeparator",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:"<tr class=\"dijitMenuSeparator\"><td colspan=3>"+"<div class=\"dijitMenuSeparatorTop\"></div>"+"<div class=\"dijitMenuSeparatorBottom\"></div>"+"</td></tr>",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}if(!dojo._hasResource["dojox.date.posix"]){dojo._hasResource["dojox.date.posix"]=true;dojo.provide("dojox.date.posix");dojox.date.posix.strftime=function(_ce8,_ce9,_cea){var _ceb=null;var _=function(s,n){return dojo.string.pad(s,n||2,_ceb||"0");};var _cef=dojo.date.locale._getGregorianBundle(_cea);var $=function(_cf1){switch(_cf1){case "a":return dojo.date.locale.getNames("days","abbr","format",_cea)[_ce8.getDay()];case "A":return dojo.date.locale.getNames("days","wide","format",_cea)[_ce8.getDay()];case "b":case "h":return dojo.date.locale.getNames("months","abbr","format",_cea)[_ce8.getMonth()];case "B":return dojo.date.locale.getNames("months","wide","format",_cea)[_ce8.getMonth()];case "c":return dojo.date.locale.format(_ce8,{formatLength:"full",locale:_cea});case "C":return _(Math.floor(_ce8.getFullYear()/100));case "d":return _(_ce8.getDate());case "D":return $("m")+"/"+$("d")+"/"+$("y");case "e":if(_ceb==null){_ceb=" ";}return _(_ce8.getDate());case "f":if(_ceb==null){_ceb=" ";}return _(_ce8.getMonth()+1);case "g":break;case "G":dojo.unimplemented("unimplemented modifier 'G'");break;case "F":return $("Y")+"-"+$("m")+"-"+$("d");case "H":return _(_ce8.getHours());case "I":return _(_ce8.getHours()%12||12);case "j":return _(dojo.date.locale._getDayOfYear(_ce8),3);case "k":if(_ceb==null){_ceb=" ";}return _(_ce8.getHours());case "l":if(_ceb==null){_ceb=" ";}return _(_ce8.getHours()%12||12);case "m":return _(_ce8.getMonth()+1);case "M":return _(_ce8.getMinutes());case "n":return "\n";case "p":return _cef[_ce8.getHours()<12?"am":"pm"];case "r":return $("I")+":"+$("M")+":"+$("S")+" "+$("p");case "R":return $("H")+":"+$("M");case "S":return _(_ce8.getSeconds());case "t":return "\t";case "T":return $("H")+":"+$("M")+":"+$("S");case "u":return String(_ce8.getDay()||7);case "U":return _(dojo.date.locale._getWeekOfYear(_ce8));case "V":return _(dojox.date.posix.getIsoWeekOfYear(_ce8));case "W":return _(dojo.date.locale._getWeekOfYear(_ce8,1));case "w":return String(_ce8.getDay());case "x":return dojo.date.locale.format(_ce8,{selector:"date",formatLength:"full",locale:_cea});case "X":return dojo.date.locale.format(_ce8,{selector:"time",formatLength:"full",locale:_cea});case "y":return _(_ce8.getFullYear()%100);case "Y":return String(_ce8.getFullYear());case "z":var _cf2=_ce8.getTimezoneOffset();return (_cf2>0?"-":"+")+_(Math.floor(Math.abs(_cf2)/60))+":"+_(Math.abs(_cf2)%60);case "Z":return dojo.date.getTimezoneName(_ce8);case "%":return "%";}};var _cf3="";var i=0;var _cf5=0;var _cf6=null;while((_cf5=_ce9.indexOf("%",i))!=-1){_cf3+=_ce9.substring(i,_cf5++);switch(_ce9.charAt(_cf5++)){case "_":_ceb=" ";break;case "-":_ceb="";break;case "0":_ceb="0";break;case "^":_cf6="upper";break;case "*":_cf6="lower";break;case "#":_cf6="swap";break;default:_ceb=null;_cf5--;break;}var _cf7=$(_ce9.charAt(_cf5++));switch(_cf6){case "upper":_cf7=_cf7.toUpperCase();break;case "lower":_cf7=_cf7.toLowerCase();break;case "swap":var _cf8=_cf7.toLowerCase();var _cf9="";var ch="";for(var j=0;j<_cf7.length;j++){ch=_cf7.charAt(j);_cf9+=(ch==_cf8.charAt(j))?ch.toUpperCase():ch.toLowerCase();}_cf7=_cf9;break;default:break;}_cf6=null;_cf3+=_cf7;i=_cf5;}_cf3+=_ce9.substring(i);return _cf3;};dojox.date.posix.getStartOfWeek=function(_cfc,_cfd){if(isNaN(_cfd)){_cfd=dojo.cldr.supplemental.getFirstDayOfWeek?dojo.cldr.supplemental.getFirstDayOfWeek():0;}var _cfe=_cfd;if(_cfc.getDay()>=_cfd){_cfe-=_cfc.getDay();}else{_cfe-=(7-_cfc.getDay());}var date=new Date(_cfc);date.setHours(0,0,0,0);return dojo.date.add(date,"day",_cfe);};dojox.date.posix.setIsoWeekOfYear=function(_d00,week){if(!week){return _d00;}var _d02=dojox.date.posix.getIsoWeekOfYear(_d00);var _d03=week-_d02;if(week<0){var _d04=dojox.date.posix.getIsoWeeksInYear(_d00);_d03=(_d04+week+1)-_d02;}return dojo.date.add(_d00,"week",_d03);};dojox.date.posix.getIsoWeekOfYear=function(_d05){var _d06=dojox.date.posix.getStartOfWeek(_d05,1);var _d07=new Date(_d05.getFullYear(),0,4);_d07=dojox.date.posix.getStartOfWeek(_d07,1);var diff=_d06.getTime()-_d07.getTime();if(diff<0){return dojox.date.posix.getIsoWeeksInYear(_d06);}return Math.ceil(diff/604800000)+1;};dojox.date.posix.getIsoWeeksInYear=function(_d09){function p(y){return y+Math.floor(y/4)-Math.floor(y/100)+Math.floor(y/400);};var y=_d09.getFullYear();return (p(y)%7==4||p(y-1)%7==3)?53:52;};}if(!dojo._hasResource["dojox.string.Builder"]){dojo._hasResource["dojox.string.Builder"]=true;dojo.provide("dojox.string.Builder");(function(){dojox.string.Builder=function(str){this.b=dojo.isIE?[]:"";if(str){this.append(str);}};var m={append:function(s){return this.appendArray(dojo._toArray(arguments));},concat:function(s){return this.append(s);},appendArray:function(_d10){this.b=String.prototype.concat.apply(this.b,_d10);return this;},clear:function(){this._clear();this.length=0;return this;},replace:function(_d11,_d12){var s=this.toString();s=s.replace(_d11,_d12);this._reset(s);this.length=s.length;return this;},remove:function(_d14,len){if(len==0){return this;}var s=this.toString();this.clear();if(_d14>0){this.append(s.substring(0,_d14));}if(_d14+len<s.length){this.append(s.substring(_d14+len));}return this;},insert:function(_d17,str){var s=this.toString();this.clear();if(_d17==0){this.append(str);this.append(s);return this;}else{this.append(s.substring(0,_d17));this.append(str);this.append(s.substring(_d17));}return this;},toString:function(){return this.b;},_clear:function(){this.b="";},_reset:function(s){this.b=s;}};if(dojo.isIE){dojo.mixin(m,{toString:function(){return this.b.join("");},appendArray:function(_d1b){this.b=this.b.concat(_d1b);return this;},_clear:function(){this.b=[];},_reset:function(s){this.b=[s];}});}dojo.extend(dojox.string.Builder,m);})();}if(!dojo._hasResource["dojox.data.dom"]){dojo._hasResource["dojox.data.dom"]=true;dojo.provide("dojox.data.dom");dojo.experimental("dojox.data.dom");dojox.data.dom.createDocument=function(str,_d1e){var _d1f=dojo.doc;if(!_d1e){_d1e="text/xml";}if(str&&(typeof dojo.global["DOMParser"])!=="undefined"){var _d20=new DOMParser();return _d20.parseFromString(str,_d1e);}else{if((typeof dojo.global["ActiveXObject"])!=="undefined"){var _d21=["MSXML2","Microsoft","MSXML","MSXML3"];for(var i=0;i<_d21.length;i++){try{var doc=new ActiveXObject(_d21[i]+".XMLDOM");if(str){if(doc){doc.async=false;doc.loadXML(str);return doc;}else{console.log("loadXML didn't work?");}}else{if(doc){return doc;}}}catch(e){}}}else{if((_d1f.implementation)&&(_d1f.implementation.createDocument)){if(str){if(_d1f.createElement){var tmp=_d1f.createElement("xml");tmp.innerHTML=str;var _d25=_d1f.implementation.createDocument("foo","",null);for(var i=0;i<tmp.childNodes.length;i++){_d25.importNode(tmp.childNodes.item(i),true);}return _d25;}}else{return _d1f.implementation.createDocument("","",null);}}}}return null;};dojox.data.dom.textContent=function(node,text){if(arguments.length>1){var _d28=node.ownerDocument||dojo.doc;dojox.data.dom.replaceChildren(node,_d28.createTextNode(text));return text;}else{if(node.textContent!==undefined){return node.textContent;}var _d29="";if(node==null){return _d29;}for(var i=0;i<node.childNodes.length;i++){switch(node.childNodes[i].nodeType){case 1:case 5:_d29+=dojox.data.dom.textContent(node.childNodes[i]);break;case 3:case 2:case 4:_d29+=node.childNodes[i].nodeValue;break;default:break;}}return _d29;}};dojox.data.dom.replaceChildren=function(node,_d2c){var _d2d=[];if(dojo.isIE){for(var i=0;i<node.childNodes.length;i++){_d2d.push(node.childNodes[i]);}}dojox.data.dom.removeChildren(node);for(var i=0;i<_d2d.length;i++){dojo._destroyElement(_d2d[i]);}if(!dojo.isArray(_d2c)){node.appendChild(_d2c);}else{for(var i=0;i<_d2c.length;i++){node.appendChild(_d2c[i]);}}};dojox.data.dom.removeChildren=function(node){var _d30=node.childNodes.length;while(node.hasChildNodes()){node.removeChild(node.firstChild);}return _d30;};dojox.data.dom.innerXML=function(node){if(node.innerXML){return node.innerXML;}else{if(node.xml){return node.xml;}else{if(typeof XMLSerializer!="undefined"){return (new XMLSerializer()).serializeToString(node);}}}};}})();dojo.i18n._preloadLocalizations("dojo.nls.dojo",["da","es","hu","de","pt-br","pl","pt","sv","ar","pt-pt","fi","zh","ru","xx","fr","zh-tw","it","cs","iw","nl","el","no","ko","tr","en","ROOT","ja"]);

