/*
	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

(function(){var _1=null;if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){var _2="",_3="",_4="",_5={},_6={};_1=_1||djConfig.scopeMap;for(var i=0;i<_1.length;i++){var _7=_1[i];_2+="var "+_7[0]+" = {}; "+_7[1]+" = "+_7[0]+";"+_7[1]+"._scopeName = '"+_7[1]+"';";_3+=(i==0?"":",")+_7[0];_4+=(i==0?"":",")+_7[1];_5[_7[0]]=_7[1];_6[_7[1]]=_7[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}(function(){if(typeof this["loadFirebugConsole"]=="function"){this["loadFirebugConsole"]();}else{this.console=this.console||{};var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _8=tn+"";console[_8]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(_8+":");console["log"](a.join(" "));}:function(){};console[_8]._fake=true;})();}}}if(typeof dojo=="undefined"){dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var _9 in djConfig){d.config[_9]=djConfig[_9];}}dojo.locale=d.config.locale;var _a="$Rev: 22487 $".match(/\d+/);dojo.version={major:1,minor:5,patch:0,flag:"",revision:_a?+_a[0]:NaN,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}var _b,_c,_d={};for(var i in {toString:1}){_b=[];break;}dojo._extraNames=_b=_b||["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"];_c=_b.length;dojo._mixin=function(_e,_f){var _10,s,i;for(_10 in _f){s=_f[_10];if(!(_10 in _e)||(_e[_10]!==s&&(!(_10 in _d)||_d[_10]!==s))){_e[_10]=s;}}if(_c&&_f){for(i=0;i<_c;++i){_10=_b[i];s=_f[_10];if(!(_10 in _e)||(_e[_10]!==s&&(!(_10 in _d)||_d[_10]!==s))){_e[_10]=s;}}}return _e;};dojo.mixin=function(obj,_11){if(!obj){obj={};}for(var i=1,l=arguments.length;i<l;i++){d._mixin(obj,arguments[i]);}return obj;};dojo._getProp=function(_12,_13,_14){var obj=_14||d.global;for(var i=0,p;obj&&(p=_12[i]);i++){if(i==0&&d._scopeMap[p]){p=d._scopeMap[p];}obj=(p in obj?obj[p]:(_13?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_15,_16,_17){var _18=_15.split("."),p=_18.pop(),obj=d._getProp(_18,true,_17);return obj&&p?(obj[p]=_16):undefined;};dojo.getObject=function(_19,_1a,_1b){return d._getProp(_19.split("."),_1a,_1b);};dojo.exists=function(_1c,obj){return !!d.getObject(_1c,false,obj);};dojo["eval"]=function(_1d){return d.global.eval?d.global.eval(_1d):eval(_1d);};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(_1e){var mp=d._modulePrefixes;return !!(mp[_1e]&&mp[_1e].value);},_getModulePrefix:function(_1f){var mp=d._modulePrefixes;if(d._moduleHasPrefix(_1f)){return mp[_1f].value;}return _1f;},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadPath=function(_20,_21,cb){var uri=((_20.charAt(0)=="/"||_20.match(/^\w+:/))?"":d.baseUrl)+_20;try{return !_21?d._loadUri(uri,cb):d._loadUriAndCheck(uri,_21,cb);}catch(e){console.error(e);return false;}};dojo._loadUri=function(uri,cb){if(d._loadedUrls[uri]){return true;}d._inFlightCount++;var _22=d._getText(uri,true);if(_22){d._loadedUrls[uri]=true;d._loadedUrls.push(uri);if(cb){_22="("+_22+")";}else{_22=d._scopePrefix+_22+d._scopeSuffix;}if(!d.isIE){_22+="\r\n//@ sourceURL="+uri;}var _23=d["eval"](_22);if(cb){cb(_23);}}if(--d._inFlightCount==0&&d._postLoad&&d._loaders.length){setTimeout(function(){if(d._inFlightCount==0){d._callLoaded();}},0);}return !!_22;};dojo._loadUriAndCheck=function(uri,_24,cb){var ok=false;try{ok=d._loadUri(uri,cb);}catch(e){console.error("failed loading "+uri+" with error: "+e);}return !!(ok&&d._loadedModules[_24]);};dojo.loaded=function(){d._loadNotifying=true;d._postLoad=true;var mll=d._loaders;d._loaders=[];for(var x=0;x<mll.length;x++){mll[x]();}d._loadNotifying=false;if(d._postLoad&&d._inFlightCount==0&&mll.length){d._callLoaded();}};dojo.unloaded=function(){var mll=d._unloaders;while(mll.length){(mll.pop())();}};d._onto=function(arr,obj,fn){if(!fn){arr.push(obj);}else{if(fn){var _25=(typeof fn=="string")?obj[fn]:fn;arr.push(function(){_25.call(obj);});}}};dojo.ready=dojo.addOnLoad=function(obj,_26){d._onto(d._loaders,obj,_26);if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){d._callLoaded();}};var dca=d.config.addOnLoad;if(dca){d.addOnLoad[(dca instanceof Array?"apply":"call")](d,dca);}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"||(d.config.useXDomain&&d.isOpera)){setTimeout(d.isAIR?function(){d.loaded();}:d._scopeName+".loaded();",0);}else{d.loaded();}};dojo._getModuleSymbols=function(_27){var _28=_27.split(".");for(var i=_28.length;i>0;i--){var _29=_28.slice(0,i).join(".");if(i==1&&!d._moduleHasPrefix(_29)){_28[0]="../"+_28[0];}else{var _2a=d._getModulePrefix(_29);if(_2a!=_29){_28.splice(0,i,_2a);break;}}}return _28;};dojo._global_omit_module_check=false;dojo.loadInit=function(_2b){_2b();};dojo._loadModule=dojo.require=function(_2c,_2d){_2d=d._global_omit_module_check||_2d;var _2e=d._loadedModules[_2c];if(_2e){return _2e;}var _2f=d._getModuleSymbols(_2c).join("/")+".js";var _30=!_2d?_2c:null;var ok=d._loadPath(_2f,_30);if(!ok&&!_2d){throw new Error("Could not load '"+_2c+"'; last tried '"+_2f+"'");}if(!_2d&&!d._isXDomain){_2e=d._loadedModules[_2c];if(!_2e){throw new Error("symbol '"+_2c+"' is not defined after loading '"+_2f+"'");}}return _2e;};dojo.provide=function(_31){_31=_31+"";return (d._loadedModules[_31]=d.getObject(_31,true));};dojo.platformRequire=function(_32){var _33=_32.common||[];var _34=_33.concat(_32[d._name]||_32["default"]||[]);for(var x=0;x<_34.length;x++){var _35=_34[x];if(_35.constructor==Array){d._loadModule.apply(d,_35);}else{d._loadModule(_35);}}};dojo.requireIf=function(_36,_37){if(_36===true){var _38=[];for(var i=1;i<arguments.length;i++){_38.push(arguments[i]);}d.require.apply(d,_38);}};dojo.requireAfterIf=d.requireIf;dojo.registerModulePath=function(_39,_3a){d._modulePrefixes[_39]={name:_39,value:_3a};};dojo.requireLocalization=function(_3b,_3c,_3d,_3e){d.require("dojo.i18n");d.i18n._requireLocalization.apply(d.hostenv,arguments);};var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");dojo._Url=function(){var n=null,_3f=arguments,uri=[_3f[0]];for(var i=1;i<_3f.length;i++){if(!_3f[i]){continue;}var _40=new d._Url(_3f[i]+""),_41=new d._Url(uri[0]+"");if(_40.path==""&&!_40.scheme&&!_40.authority&&!_40.query){if(_40.fragment!=n){_41.fragment=_40.fragment;}_40=_41;}else{if(!_40.scheme){_40.scheme=_41.scheme;if(!_40.authority){_40.authority=_41.authority;if(_40.path.charAt(0)!="/"){var _42=_41.path.substring(0,_41.path.lastIndexOf("/")+1)+_40.path;var _43=_42.split("/");for(var j=0;j<_43.length;j++){if(_43[j]=="."){if(j==_43.length-1){_43[j]="";}else{_43.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_43[0]=="")&&_43[j]==".."&&_43[j-1]!=".."){if(j==(_43.length-1)){_43.splice(j,1);_43[j-1]="";}else{_43.splice(j-1,2);j-=2;}}}}_40.path=_43.join("/");}}}}uri=[];if(_40.scheme){uri.push(_40.scheme,":");}if(_40.authority){uri.push("//",_40.authority);}uri.push(_40.path);if(_40.query){uri.push("?",_40.query);}if(_40.fragment){uri.push("#",_40.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_44,url){var loc=d._getModuleSymbols(_44).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _45=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_45==-1||_45>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 _46=document.getElementsByTagName("script");var _47=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_46.length;i++){var src=_46[i].getAttribute("src");if(!src){continue;}var m=src.match(_47);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_46[i].getAttribute("djConfig");if(cfg){var _48=eval("({ "+cfg+" })");for(var x in _48){dojo.config[x]=_48[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);if(dua.indexOf("Opera")>=0){d.isOpera=tv;}if(dua.indexOf("AdobeAIR")>=0){d.isAIR=1;}d.isKhtml=(dav.indexOf("Konqueror")>=0)?tv:0;d.isWebKit=parseFloat(dua.split("WebKit/")[1])||undefined;d.isChrome=parseFloat(dua.split("Chrome/")[1])||undefined;d.isMac=dav.indexOf("Macintosh")>=0;var _49=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_49&&!dojo.isChrome){d.isSafari=parseFloat(dav.split("Version/")[1]);if(!d.isSafari||parseFloat(dav.substr(_49+7))<=419.3){d.isSafari=2;}}if(dua.indexOf("Gecko")>=0&&!d.isKhtml&&!d.isWebKit){d.isMozilla=d.isMoz=tv;}if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1])||undefined;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||undefined;var _4a=document.documentMode;if(_4a&&_4a!=5&&Math.floor(d.isIE)!=_4a){d.isIE=_4a;}}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}d.isQuirks=document.compatMode=="BackCompat";d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _4b,_4c;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_4b=new XMLHttpRequest();}catch(e){}}if(!_4b){for(var i=0;i<3;++i){var _4d=d._XMLHTTP_PROGIDS[i];try{_4b=new ActiveXObject(_4d);}catch(e){_4c=e;}if(_4b){d._XMLHTTP_PROGIDS=[_4d];break;}}}if(!_4b){throw new Error("XMLHTTP not available: "+_4c);}return _4b;};d._isDocumentOk=function(_4e){var _4f=_4e.status||0,lp=location.protocol;return (_4f>=200&&_4f<300)||_4f==304||_4f==1223||(!_4f&&(lp=="file:"||lp=="chrome:"||lp=="chrome-extension:"||lp=="app:"));};var _50=window.location+"";var _51=document.getElementsByTagName("base");var _52=(_51&&_51.length>0);d._getText=function(uri,_53){var _54=d._xhrObj();if(!_52&&dojo._Url){uri=(new dojo._Url(_50,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_54.open("GET",uri,false);try{_54.send(null);if(!d._isDocumentOk(_54)){var err=Error("Unable to load "+uri+" status:"+_54.status);err.status=_54.status;err.responseText=_54.responseText;throw err;}}catch(e){if(_53){return null;}throw e;}return _54.responseText;};var _55=window;var _56=function(_57,fp){var _58=_55.attachEvent||_55.addEventListener;_57=_55.attachEvent?_57:_57.substring(2);_58(_57,function(){fp.apply(_55,arguments);},false);};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=d._windowUnloaders;while(mll.length){(mll.pop())();}d=null;};var _59=0;d.addOnWindowUnload=function(obj,_5a){d._onto(d._windowUnloaders,obj,_5a);if(!_59){_59=1;_56("onunload",d.windowUnloaded);}};var _5b=0;d.addOnUnload=function(obj,_5c){d._onto(d._unloaders,obj,_5c);if(!_5b){_5b=1;_56("onbeforeunload",dojo.unloaded);}};})();dojo._initFired=false;dojo._loadInit=function(e){if(dojo._scrollIntervalId){clearInterval(dojo._scrollIntervalId);dojo._scrollIntervalId=0;}if(!dojo._initFired){dojo._initFired=true;if(!dojo.config.afterOnLoad&&window.detachEvent){window.detachEvent("onload",dojo._loadInit);}if(dojo._inFlightCount==0){dojo._modulesLoaded();}}};if(!dojo.config.afterOnLoad){if(document.addEventListener){document.addEventListener("DOMContentLoaded",dojo._loadInit,false);window.addEventListener("load",dojo._loadInit,false);}else{if(window.attachEvent){window.attachEvent("onload",dojo._loadInit);if(!dojo.config.skipIeDomLoaded&&self===self.top){dojo._scrollIntervalId=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");dojo._loadInit();}}catch(e){}},30);}}}}if(dojo.isIE){try{(function(){document.namespaces.add("v","urn:schemas-microsoft-com:vml");var _5d=["*","group","roundrect","oval","shape","rect","imagedata","path","textpath","text"],i=0,l=1,s=document.createStyleSheet();if(dojo.isIE>=8){i=1;l=_5d.length;}for(;i<l;++i){s.addRule("v\\:"+_5d[i],"behavior:url(#default#VML); display:inline-block");}})();}catch(e){}}}(function(){var mp=dojo.config["modulePaths"];if(mp){for(var _5e in mp){dojo.registerModulePath(_5e,mp[_5e]);}}})();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");(function(){var d=dojo,_5f=Object.prototype.toString;dojo.isString=function(it){return (typeof it=="string"||it instanceof String);};dojo.isArray=function(it){return it&&(it instanceof Array||typeof it=="array");};dojo.isFunction=function(it){return _5f.call(it)==="[object Function]";};dojo.isObject=function(it){return it!==undefined&&(it===null||typeof it=="object"||d.isArray(it)||d.isFunction(it));};dojo.isArrayLike=function(it){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&&!d.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.extend=function(_60,_61){for(var i=1,l=arguments.length;i<l;i++){d._mixin(_60.prototype,arguments[i]);}return _60;};dojo._hitchArgs=function(_62,_63){var pre=d._toArray(arguments,2);var _64=d.isString(_63);return function(){var _65=d._toArray(arguments);var f=_64?(_62||d.global)[_63]:_63;return f&&f.apply(_62||this,pre.concat(_65));};};dojo.hitch=function(_66,_67){if(arguments.length>2){return d._hitchArgs.apply(d,arguments);}if(!_67){_67=_66;_66=null;}if(d.isString(_67)){_66=_66||d.global;if(!_66[_67]){throw (["dojo.hitch: scope[\"",_67,"\"] is null (scope=\"",_66,"\")"].join(""));}return function(){return _66[_67].apply(_66,arguments||[]);};}return !_66?_67:function(){return _67.apply(_66,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_68){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_68){d._mixin(tmp,_68);}return tmp;};})();var _69=function(obj,_6a,_6b){return (_6b||[]).concat(Array.prototype.slice.call(obj,_6a||0));};var _6c=function(obj,_6d,_6e){var arr=_6e||[];for(var x=_6d||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};dojo._toArray=d.isIE?function(obj){return ((obj.item)?_6c:_69).apply(this,arguments);}:_69;dojo.partial=function(_6f){var arr=[null];return d.hitch.apply(d,arr.concat(d._toArray(arguments)));};var _70=d._extraNames,_71=_70.length,_72={};dojo.clone=function(o){if(!o||typeof o!="object"||d.isFunction(o)){return o;}if(o.nodeType&&"cloneNode" in o){return o.cloneNode(true);}if(o instanceof Date){return new Date(o.getTime());}var r,i,l,s,_73;if(d.isArray(o)){r=[];for(i=0,l=o.length;i<l;++i){if(i in o){r.push(d.clone(o[i]));}}}else{r=o.constructor?new o.constructor():{};}for(_73 in o){s=o[_73];if(!(_73 in r)||(r[_73]!==s&&(!(_73 in _72)||_72[_73]!==s))){r[_73]=d.clone(s);}}if(_71){for(i=0;i<_71;++i){_73=_70[i];s=o[_73];if(!(_73 in r)||(r[_73]!==s&&(!(_73 in _72)||_72[_73]!==s))){r[_73]=s;}}}return r;};dojo.trim=String.prototype.trim?function(str){return str.trim();}:function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");};var _74=/\{([^\}]+)\}/g;dojo.replace=function(_75,map,_76){return _75.replace(_76||_74,d.isFunction(map)?map:function(_77,k){return d.getObject(k,false,map);});};})();}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _78=function(arr,obj,cb){return [(typeof arr=="string")?arr.split(""):arr,obj||dojo.global,(typeof cb=="string")?new Function("item","index","array",cb):cb];};var _79=function(_7a,arr,_7b,_7c){var _7d=_78(arr,_7c,_7b);arr=_7d[0];for(var i=0,l=arr.length;i<l;++i){var _7e=!!_7d[2].call(_7d[1],arr[i],i,arr);if(_7a^_7e){return _7e;}}return _7a;};dojo.mixin(dojo,{indexOf:function(_7f,_80,_81,_82){var _83=1,end=_7f.length||0,i=0;if(_82){i=end-1;_83=end=-1;}if(_81!=undefined){i=_81;}if((_82&&i>end)||i<end){for(;i!=end;i+=_83){if(_7f[i]==_80){return i;}}}return -1;},lastIndexOf:function(_84,_85,_86){return dojo.indexOf(_84,_85,_86,true);},forEach:function(arr,_87,_88){if(!arr||!arr.length){return;}var _89=_78(arr,_88,_87);arr=_89[0];for(var i=0,l=arr.length;i<l;++i){_89[2].call(_89[1],arr[i],i,arr);}},every:function(arr,_8a,_8b){return _79(true,arr,_8a,_8b);},some:function(arr,_8c,_8d){return _79(false,arr,_8c,_8d);},map:function(arr,_8e,_8f){var _90=_78(arr,_8f,_8e);arr=_90[0];var _91=(arguments[3]?(new arguments[3]()):[]);for(var i=0,l=arr.length;i<l;++i){_91.push(_90[2].call(_90[1],arr[i],i,arr));}return _91;},filter:function(arr,_92,_93){var _94=_78(arr,_93,_92);arr=_94[0];var _95=[];for(var i=0,l=arr.length;i<l;++i){if(_94[2].call(_94[1],arr[i],i,arr)){_95.push(arr[i]);}}return _95;}});})();}if(!dojo._hasResource["dojo._base.declare"]){dojo._hasResource["dojo._base.declare"]=true;dojo.provide("dojo._base.declare");(function(){var d=dojo,mix=d._mixin,op=Object.prototype,_96=op.toString,_97=new Function,_98=0,_99="constructor";function err(msg){throw new Error("declare: "+msg);};function _9a(_9b){var _9c=[],_9d=[{cls:0,refs:[]}],_9e={},_9f=1,l=_9b.length,i=0,j,lin,_a0,top,_a1,rec,_a2,_a3;for(;i<l;++i){_a0=_9b[i];if(!_a0){err("mixin #"+i+" is unknown. Did you use dojo.require to pull it in?");}else{if(_96.call(_a0)!="[object Function]"){err("mixin #"+i+" is not a callable constructor.");}}lin=_a0._meta?_a0._meta.bases:[_a0];top=0;for(j=lin.length-1;j>=0;--j){_a1=lin[j].prototype;if(!_a1.hasOwnProperty("declaredClass")){_a1.declaredClass="uniqName_"+(_98++);}_a2=_a1.declaredClass;if(!_9e.hasOwnProperty(_a2)){_9e[_a2]={count:0,refs:[],cls:lin[j]};++_9f;}rec=_9e[_a2];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_9d[0].refs.push(top);}while(_9d.length){top=_9d.pop();_9c.push(top.cls);--_9f;while(_a3=top.refs,_a3.length==1){top=_a3[0];if(!top||--top.count){top=0;break;}_9c.push(top.cls);--_9f;}if(top){for(i=0,l=_a3.length;i<l;++i){top=_a3[i];if(!--top.count){_9d.push(top);}}}}if(_9f){err("can't build consistent linearization");}_a0=_9b[0];_9c[0]=_a0?_a0._meta&&_a0===_9c[_9c.length-_a0._meta.bases.length]?_a0._meta.bases.length:1:0;return _9c;};function _a4(_a5,a,f){var _a6,_a7,_a8,_a9,_aa,_ab,_ac,opf,pos,_ad=this._inherited=this._inherited||{};if(typeof _a5=="string"){_a6=_a5;_a5=a;a=f;}f=0;_a9=_a5.callee;_a6=_a6||_a9.nom;if(!_a6){err("can't deduce a name to call inherited()");}_aa=this.constructor._meta;_a8=_aa.bases;pos=_ad.p;if(_a6!=_99){if(_ad.c!==_a9){pos=0;_ab=_a8[0];_aa=_ab._meta;if(_aa.hidden[_a6]!==_a9){_a7=_aa.chains;if(_a7&&typeof _a7[_a6]=="string"){err("calling chained method with inherited: "+_a6);}do{_aa=_ab._meta;_ac=_ab.prototype;if(_aa&&(_ac[_a6]===_a9&&_ac.hasOwnProperty(_a6)||_aa.hidden[_a6]===_a9)){break;}}while(_ab=_a8[++pos]);pos=_ab?pos:-1;}}_ab=_a8[++pos];if(_ab){_ac=_ab.prototype;if(_ab._meta&&_ac.hasOwnProperty(_a6)){f=_ac[_a6];}else{opf=op[_a6];do{_ac=_ab.prototype;f=_ac[_a6];if(f&&(_ab._meta?_ac.hasOwnProperty(_a6):f!==opf)){break;}}while(_ab=_a8[++pos]);}}f=_ab&&f||op[_a6];}else{if(_ad.c!==_a9){pos=0;_aa=_a8[0]._meta;if(_aa&&_aa.ctor!==_a9){_a7=_aa.chains;if(!_a7||_a7.constructor!=="manual"){err("calling chained constructor with inherited");}while(_ab=_a8[++pos]){_aa=_ab._meta;if(_aa&&_aa.ctor===_a9){break;}}pos=_ab?pos:-1;}}while(_ab=_a8[++pos]){_aa=_ab._meta;f=_aa?_aa.ctor:_ab;if(f){break;}}f=_ab&&f;}_ad.c=f;_ad.p=pos;if(f){return a===true?f:f.apply(this,a||_a5);}};function _ae(_af,_b0){if(typeof _af=="string"){return this.inherited(_af,_b0,true);}return this.inherited(_af,true);};function _b1(cls){var _b2=this.constructor._meta.bases;for(var i=0,l=_b2.length;i<l;++i){if(_b2[i]===cls){return true;}}return this instanceof cls;};function _b3(_b4,_b5){var _b6,i=0,l=d._extraNames.length;for(_b6 in _b5){if(_b6!=_99&&_b5.hasOwnProperty(_b6)){_b4[_b6]=_b5[_b6];}}for(;i<l;++i){_b6=d._extraNames[i];if(_b6!=_99&&_b5.hasOwnProperty(_b6)){_b4[_b6]=_b5[_b6];}}};function _b7(_b8,_b9){var _ba,t,i=0,l=d._extraNames.length;for(_ba in _b9){t=_b9[_ba];if((t!==op[_ba]||!(_ba in op))&&_ba!=_99){if(_96.call(t)=="[object Function]"){t.nom=_ba;}_b8[_ba]=t;}}for(;i<l;++i){_ba=d._extraNames[i];t=_b9[_ba];if((t!==op[_ba]||!(_ba in op))&&_ba!=_99){if(_96.call(t)=="[object Function]"){t.nom=_ba;}_b8[_ba]=t;}}return _b8;};function _bb(_bc){_b7(this.prototype,_bc);return this;};function _bd(_be,_bf){return function(){var a=arguments,_c0=a,a0=a[0],f,i,m,l=_be.length,_c1;if(!(this instanceof a.callee)){return _c2(a);}if(_bf&&(a0&&a0.preamble||this.preamble)){_c1=new Array(_be.length);_c1[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_be[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_c1[i]=a;}}for(i=l-1;i>=0;--i){f=_be[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_c1?_c1[i]:a);}}f=this.postscript;if(f){f.apply(this,_c0);}};};function _c3(_c4,_c5){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _c2(a);}if(_c5){if(a0){f=a0.preamble;if(f){t=f.apply(this,t)||t;}}f=this.preamble;if(f){f.apply(this,t);}}if(_c4){_c4.apply(this,a);}f=this.postscript;if(f){f.apply(this,a);}};};function _c6(_c7){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _c2(a);}for(;f=_c7[i];++i){m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,a);break;}}f=this.postscript;if(f){f.apply(this,a);}};};function _c8(_c9,_ca,_cb){return function(){var b,m,f,i=0,_cc=1;if(_cb){i=_ca.length-1;_cc=-1;}for(;b=_ca[i];i+=_cc){m=b._meta;f=(m?m.hidden:b.prototype)[_c9];if(f){f.apply(this,arguments);}}};};function _cd(_ce){_97.prototype=_ce.prototype;var t=new _97;_97.prototype=null;return t;};function _c2(_cf){var _d0=_cf.callee,t=_cd(_d0);_d0.apply(t,_cf);return t;};d.declare=function(_d1,_d2,_d3){if(typeof _d1!="string"){_d3=_d2;_d2=_d1;_d1="";}_d3=_d3||{};var _d4,i,t,_d5,_d6,_d7,_d8,_d9=1,_da=_d2;if(_96.call(_d2)=="[object Array]"){_d7=_9a(_d2);t=_d7[0];_d9=_d7.length-t;_d2=_d7[_d9];}else{_d7=[0];if(_d2){if(_96.call(_d2)=="[object Function]"){t=_d2._meta;_d7=_d7.concat(t?t.bases:_d2);}else{err("base class is not a callable constructor.");}}else{if(_d2!==null){err("unknown base class. Did you use dojo.require to pull it in?");}}}if(_d2){for(i=_d9-1;;--i){_d4=_cd(_d2);if(!i){break;}t=_d7[i];(t._meta?_b3:mix)(_d4,t.prototype);_d5=new Function;_d5.superclass=_d2;_d5.prototype=_d4;_d2=_d4.constructor=_d5;}}else{_d4={};}_b7(_d4,_d3);t=_d3.constructor;if(t!==op.constructor){t.nom=_99;_d4.constructor=t;}for(i=_d9-1;i;--i){t=_d7[i]._meta;if(t&&t.chains){_d8=mix(_d8||{},t.chains);}}if(_d4["-chains-"]){_d8=mix(_d8||{},_d4["-chains-"]);}t=!_d8||!_d8.hasOwnProperty(_99);_d7[0]=_d5=(_d8&&_d8.constructor==="manual")?_c6(_d7):(_d7.length==1?_c3(_d3.constructor,t):_bd(_d7,t));_d5._meta={bases:_d7,hidden:_d3,chains:_d8,parents:_da,ctor:_d3.constructor};_d5.superclass=_d2&&_d2.prototype;_d5.extend=_bb;_d5.prototype=_d4;_d4.constructor=_d5;_d4.getInherited=_ae;_d4.inherited=_a4;_d4.isInstanceOf=_b1;if(_d1){_d4.declaredClass=_d1;d.setObject(_d1,_d5);}if(_d8){for(_d6 in _d8){if(_d4[_d6]&&typeof _d8[_d6]=="string"&&_d6!=_99){t=_d4[_d6]=_c8(_d6,_d7,_d8[_d6]==="after");t.nom=_d6;}}}return _d5;};d.safeMixin=_b7;})();}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);var i,lls;lls=[].concat(ls);for(i in lls){if(!(i in ap)){lls[i].apply(this,arguments);}}return r;};},add:function(_db,_dc,_dd){_db=_db||dojo.global;var f=_db[_dc];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_db[_dc]=d;}return f._listeners.push(_dd);},remove:function(_de,_df,_e0){var f=(_de||dojo.global)[_df];if(f&&f._listeners&&_e0--){delete f._listeners[_e0];}}};dojo.connect=function(obj,_e1,_e2,_e3,_e4){var a=arguments,_e5=[],i=0;_e5.push(dojo.isString(a[0])?null:a[i++],a[i++]);var a1=a[i+1];_e5.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){_e5.push(a[i]);}return dojo._connect.apply(this,_e5);};dojo._connect=function(obj,_e6,_e7,_e8){var l=dojo._listener,h=l.add(obj,_e6,dojo.hitch(_e7,_e8));return [obj,_e6,h,l];};dojo.disconnect=function(_e9){if(_e9&&_e9[0]!==undefined){dojo._disconnect.apply(this,_e9);delete _e9[0];}};dojo._disconnect=function(obj,_ea,_eb,_ec){_ec.remove(obj,_ea,_eb);};dojo._topics={};dojo.subscribe=function(_ed,_ee,_ef){return [_ed,dojo._listener.add(dojo._topics,_ed,dojo.hitch(_ee,_ef))];};dojo.unsubscribe=function(_f0){if(_f0){dojo._listener.remove(dojo._topics,_f0[0],_f0[1]);}};dojo.publish=function(_f1,_f2){var f=dojo._topics[_f1];if(f){f.apply(this,_f2||[]);}};dojo.connectPublisher=function(_f3,obj,_f4){var pf=function(){dojo.publish(_f3,arguments);};return _f4?dojo.connect(obj,_f4,pf):dojo.connect(obj,pf);};}if(!dojo._hasResource["dojo._base.Deferred"]){dojo._hasResource["dojo._base.Deferred"]=true;dojo.provide("dojo._base.Deferred");(function(){var _f5=function(){};var _f6=Object.freeze||function(){};dojo.Deferred=function(_f7){var _f8,_f9,_fa,_fb,_fc;var _fd=this.promise={};function _fe(_ff){if(_f9){throw new Error("This deferred has already been resolved");}_f8=_ff;_f9=true;_100();};function _100(){var _101;while(!_101&&_fc){var _102=_fc;_fc=_fc.next;if(_101=(_102.progress==_f5)){_f9=false;}var func=(_fa?_102.error:_102.resolved);if(func){try{var _103=func(_f8);if(_103&&typeof _103.then==="function"){_103.then(dojo.hitch(_102.deferred,"resolve"),dojo.hitch(_102.deferred,"reject"));continue;}var _104=_101&&_103===undefined;_102.deferred[_104&&_fa?"reject":"resolve"](_104?_f8:_103);}catch(e){_102.deferred.reject(e);}}else{if(_fa){_102.deferred.reject(_f8);}else{_102.deferred.resolve(_f8);}}}};this.resolve=this.callback=function(_105){this.fired=0;this.results=[_105,null];_fe(_105);};this.reject=this.errback=function(_106){_fa=true;this.fired=1;_fe(_106);this.results=[null,_106];if(!_106||_106.log!==false){(dojo.config.deferredOnError||function(x){console.error(x);})(_106);}};this.progress=function(_107){var _108=_fc;while(_108){var _109=_108.progress;_109&&_109(_107);_108=_108.next;}};this.addCallbacks=function(_10a,_10b){this.then(_10a,_10b,_f5);return this;};this.then=_fd.then=function(_10c,_10d,_10e){var _10f=_10e==_f5?this:new dojo.Deferred(_fd.cancel);var _110={resolved:_10c,error:_10d,progress:_10e,deferred:_10f};if(_fc){_fb=_fb.next=_110;}else{_fc=_fb=_110;}if(_f9){_100();}return _10f.promise;};var _111=this;this.cancel=_fd.cancel=function(){if(!_f9){var _112=_f7&&_f7(_111);if(!_f9){if(!(_112 instanceof Error)){_112=new Error(_112);}_112.log=false;_111.reject(_112);}}};_f6(_fd);};dojo.extend(dojo.Deferred,{addCallback:function(_113){return this.addCallbacks(dojo.hitch.apply(dojo,arguments));},addErrback:function(_114){return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments));},addBoth:function(_115){var _116=dojo.hitch.apply(dojo,arguments);return this.addCallbacks(_116,_116);},fired:-1});})();dojo.when=function(_117,_118,_119,_11a){if(_117&&typeof _117.then==="function"){return _117.then(_118,_119,_11a);}return _118(_117);};}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,_11b,_11c){if(it===undefined){return "undefined";}var _11d=typeof it;if(_11d=="number"||_11d=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _11e=arguments.callee;var _11f;_11c=_11c||"";var _120=_11b?_11c+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_11f=tf.call(it);if(it!==_11f){return _11e(_11f,_11b,_120);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_11b?" ":"";var _121=_11b?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_11e(obj,_11b,_120);if(typeof val!="string"){val="undefined";}return _121+_120+val;});return "["+res.join(","+sep)+_121+_11c+"]";}if(_11d=="function"){return null;}var _122=[],key;for(key in it){var _123,val;if(typeof key=="number"){_123="\""+key+"\"";}else{if(typeof key=="string"){_123=dojo._escapeString(key);}else{continue;}}val=_11e(it[key],_11b,_120);if(typeof val!="string"){continue;}_122.push(_121+_120+_123+":"+sep+val);}return "{"+_122.join(","+sep)+_121+_11c+"}";};}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");(function(){var d=dojo;dojo.Color=function(_124){if(_124){this.setColor(_124);}};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],transparent:d.config.transparentColor||[255,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(_125){if(d.isString(_125)){d.colorFromString(_125,this);}else{if(d.isArray(_125)){d.colorFromArray(_125,this);}else{this._set(_125.r,_125.g,_125.b,_125.a);if(!(_125 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=d.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(_126){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_126?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_127,end,_128,obj){var t=obj||new d.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_127[x]+(end[x]-_127[x])*_128;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_129,obj){var m=_129.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_12a,obj){var t=obj||new d.Color(),bits=(_12a.length==4)?4:8,mask=(1<<bits)-1;_12a=Number("0x"+_12a.substr(1));if(isNaN(_12a)){return null;}d.forEach(["b","g","r"],function(x){var c=_12a&mask;_12a>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new d.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=d.Color.named[str];return a&&d.colorFromArray(a,obj)||d.colorFromRgb(str,obj)||d.colorFromHex(str,obj);};})();}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_12b,_12c){dojo.global=_12b;dojo.doc=_12c;};dojo.withGlobal=function(_12d,_12e,_12f,_130){var _131=dojo.global;try{dojo.global=_12d;return dojo.withDoc.call(null,_12d.document,_12e,_12f,_130);}finally{dojo.global=_131;}};dojo.withDoc=function(_132,_133,_134,_135){var _136=dojo.doc,_137=dojo._bodyLtr,oldQ=dojo.isQuirks;try{dojo.doc=_132;delete dojo._bodyLtr;dojo.isQuirks=dojo.doc.compatMode=="BackCompat";if(_134&&typeof _133=="string"){_133=_134[_133];}return _133.apply(_134,_135||[]);}finally{dojo.doc=_136;delete dojo._bodyLtr;if(_137!==undefined){dojo._bodyLtr=_137;}dojo.isQuirks=oldQ;}};}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");(function(){var del=(dojo._event_listener={add:function(node,name,fp){if(!node){return;}name=del._normalizeEventName(name);fp=del._fixCallback(name,fp);var _138=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,_139,_13a){if(node){_139=del._normalizeEventName(_139);if(!dojo.isIE&&(_139=="mouseenter"||_139=="mouseleave")){_139=(_139=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_139,_13a,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,_13b){switch(evt.type){case "keypress":del._setKeyChar(evt);break;}return evt;},_setKeyChar:function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39}});dojo.fixEvent=function(evt,_13c){return del._fixEvent(evt,_13c);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _13d=dojo._listener;dojo._connect=function(obj,_13e,_13f,_140,_141){var _142=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=_142?(_141?2:1):0,l=[dojo._listener,del,_13d][lid];var h=l.add(obj,_13e,dojo.hitch(_13f,_140));return [obj,_13e,h,lid];};dojo._disconnect=function(obj,_143,_144,_145){([dojo._listener,del,_13d][_145]).remove(obj,_143,_144);};dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:dojo.isSafari?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,copyKey:dojo.isMac&&!dojo.isAIR?(dojo.isSafari?91:224):17};var _146=dojo.isMac?"metaKey":"ctrlKey";dojo.isCopyKey=function(e){return e[_146];};if(dojo.isIE){dojo.mouseButtons={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_147){return e.button&_147;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{dojo.mouseButtons={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_148){return e.button==_148;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}if(dojo.isIE){var _149=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _14a=(dojo._ieListenersName="_"+dojo._scopeName+"_listeners");if(!dojo.config._allow_leaks){_13d=iel=dojo._ie_listener={handlers:[],add:function(_14b,_14c,_14d){_14b=_14b||dojo.global;var f=_14b[_14c];if(!f||!f[_14a]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_14a]=[];f=_14b[_14c]=d;}return f[_14a].push(ieh.push(_14d)-1);},remove:function(_14e,_14f,_150){var f=(_14e||dojo.global)[_14f],l=f&&f[_14a];if(f&&l&&_150--){delete ieh[l[_150]];delete l[_150];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_151,fp){if(!node){return;}_151=del._normalizeEventName(_151);if(_151=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_14a]||!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,_151,del._fixCallback(fp));},remove:function(node,_152,_153){_152=del._normalizeEventName(_152);iel.remove(node,_152,_153);if(_152=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_154){return _154.slice(0,2)!="on"?"on"+_154:_154;},_nop:function(){},_fixEvent:function(evt,_155){if(!evt){var w=_155&&(_155.ownerDocument||_155.document||_155).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_155||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _156=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _157=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_156.scrollLeft||0)-_157.x;evt.pageY=evt.clientY+(_156.scrollTop||0)-_157.y;if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}evt.stopPropagation=del._stopPropagation;evt.preventDefault=del._preventDefault;return del._fixKeys(evt);},_fixKeys:function(evt){switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;del._setKeyChar(evt);break;}return evt;},_stealthKeyDown:function(evt){var kp=evt.currentTarget.onkeypress;if(!kp||!kp[_14a]){return;}var k=evt.keyCode;var _158=k!=13&&k!=32&&k!=27&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_158||evt.ctrlKey){var c=_158?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;_149(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_149(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,_159){var faux=dojo.mixin({},evt,_159);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_15a){switch(evt.type){case "keypress":var c=evt.which;if(c==3){c=99;}c=c<41&&!evt.shiftKey?0:c;if(evt.ctrlKey&&!evt.shiftKey&&c>=65&&c<=90){c+=32;}return del._synthesizeEvent(evt,{charCode:c});}return evt;}});}if(dojo.isWebKit){del._add=del.add;del._remove=del.remove;dojo.mixin(del,{add:function(node,_15b,fp){if(!node){return;}var _15c=del._add(node,_15b,fp);if(del._normalizeEventName(_15b)=="keypress"){_15c._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _15d=k!=13&&k!=32&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_15d||evt.ctrlKey){var c=_15d?0:k;if(evt.ctrlKey){if(k==3||k==13){return;}else{if(c>95&&c<106){c-=48;}else{if(!evt.shiftKey&&c>=65&&c<=90){c+=32;}else{c=del._punctMap[c]||c;}}}}var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});fp.call(evt.currentTarget,faux);}});}return _15c;},remove:function(node,_15e,_15f){if(node){if(_15f._stealthKeyDownHandle){del._remove(node,"keydown",_15f._stealthKeyDownHandle);}del._remove(node,_15e,_15f);}},_fixEvent:function(evt,_160){switch(evt.type){case "keypress":if(evt.faux){return evt;}var c=evt.charCode;c=c>=32?c:0;return del._synthesizeEvent(evt,{charCode:c,faux:true});}return evt;}});}})();if(dojo.isIE){dojo._ieDispatcher=function(args,_161){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=args.callee,ls=c[dojo._ieListenersName],t=h[c.target];var r=t&&t.apply(_161,args);var lls=[].concat(ls);for(var i in lls){var f=h[lls[i]];if(!(i in ap)&&f){f.apply(_161,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(typeof id!="string"){return id;}var _162=doc||dojo.doc,te=_162.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_162.all[id];if(!eles||eles.nodeName){eles=[eles];}var i=0;while((te=eles[i++])){if((te.attributes&&te.attributes.id&&te.attributes.id.value==id)||te.id==id){return te;}}}};}else{dojo.byId=function(id,doc){return (typeof id=="string")?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var byId=d.byId;var _163=null,_164;d.addOnWindowUnload(function(){_163=null;});dojo._destroyElement=dojo.destroy=function(node){node=byId(node);try{var doc=node.ownerDocument;if(!_163||_164!=doc){_163=doc.createElement("div");_164=doc;}_163.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_163.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_165){try{node=byId(node);_165=byId(_165);while(node){if(node==_165){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_166){node=byId(node);if(d.isMozilla){node.style.MozUserSelect=_166?"":"none";}else{if(d.isKhtml||d.isWebKit){node.style.KhtmlUserSelect=_166?"auto":"none";}else{if(d.isIE){var v=(node.unselectable=_166?"":"on");d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _167=function(node,ref){var _168=ref.parentNode;if(_168){_168.insertBefore(node,ref);}};var _169=function(node,ref){var _16a=ref.parentNode;if(_16a){if(_16a.lastChild==ref){_16a.appendChild(node);}else{_16a.insertBefore(node,ref.nextSibling);}}};dojo.place=function(node,_16b,_16c){_16b=byId(_16b);if(typeof node=="string"){node=node.charAt(0)=="<"?d._toDom(node,_16b.ownerDocument):byId(node);}if(typeof _16c=="number"){var cn=_16b.childNodes;if(!cn.length||cn.length<=_16c){_16b.appendChild(node);}else{_167(node,cn[_16c<0?0:_16c]);}}else{switch(_16c){case "before":_167(node,_16b);break;case "after":_169(node,_16b);break;case "replace":_16b.parentNode.replaceChild(node,_16b);break;case "only":d.empty(_16b);_16b.appendChild(node);break;case "first":if(_16b.firstChild){_167(node,_16b.firstChild);break;}default:_16b.appendChild(node);}}return node;};dojo.boxModel="content-box";if(d.isIE){d.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}var gcs;if(d.isWebKit){gcs=function(node){var s;if(node.nodeType==1){var dv=node.ownerDocument.defaultView;s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}}return s||{};};}else{if(d.isIE){gcs=function(node){return node.nodeType==1?node.currentStyle:{};};}else{gcs=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}dojo.getComputedStyle=gcs;if(!d.isIE){d._toPixelValue=function(_16d,_16e){return parseFloat(_16e)||0;};}else{d._toPixelValue=function(_16f,_170){if(!_170){return 0;}if(_170=="medium"){return 4;}if(_170.slice&&_170.slice(-2)=="px"){return parseFloat(_170);}with(_16f){var _171=style.left;var _172=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_170;_170=style.pixelLeft;}catch(e){_170=0;}style.left=_171;runtimeStyle.left=_172;}return _170;};}var px=d._toPixelValue;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};dojo._getOpacity=d.isIE?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return gcs(node).opacity;};dojo._setOpacity=d.isIE?function(node,_173){var ov=_173*100,_174=_173==1;node.style.zoom=_174?"":1;if(!af(node)){if(_174){return _173;}node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}af(node,1).Enabled=!_174;if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){d._setOpacity(i,_173);});}return _173;}:function(node,_175){return node.style.opacity=_175;};var _176={left:true,top:true};var _177=/margin|padding|width|height|max|min|offset/;var _178=function(node,type,_179){type=type.toLowerCase();if(d.isIE){if(_179=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_179){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _176)){_176[type]=_177.test(type);}return _176[type]?px(node,_179):_179;};var _17a=d.isIE?"styleFloat":"cssFloat",_17b={"cssFloat":_17a,"styleFloat":_17a,"float":_17a};dojo.style=function(node,_17c,_17d){var n=byId(node),args=arguments.length,op=(_17c=="opacity");_17c=_17b[_17c]||_17c;if(args==3){return op?d._setOpacity(n,_17d):n.style[_17c]=_17d;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&typeof _17c!="string"){for(var x in _17c){d.style(node,x,_17c[x]);}return s;}return (args==1)?s:_178(n,_17c,s[_17c]||n.style[_17c]);};dojo._getPadExtents=function(n,_17e){var s=_17e||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,_17f){var ne="none",s=_17f||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,_180){var s=_180||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,_181){var s=_181||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isWebKit&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_182){var s=_182||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode;if(d.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{if(p&&p.style){var pcs=gcs(p);if(pcs.overflow!="visible"){var be=d._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else{if(d.isOpera||(d.isIE>7&&!d.isQuirks)){if(p){be=d._getBorderExtents(p);l-=be.l;t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_183){var s=_183||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,_184){var s=_184||gcs(node),pe=d._getPadExtents(node,s),cb=d._getContentBox(node,s);return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};};dojo._setBox=function(node,l,t,w,h,u){u=u||"px";var s=node.style;if(!isNaN(l)){s.left=l+u;}if(!isNaN(t)){s.top=t+u;}if(w>=0){s.width=w+u;}if(h>=0){s.height=h+u;}};dojo._isButtonTag=function(node){return node.tagName=="BUTTON"||node.tagName=="INPUT"&&(node.getAttribute("type")||"").toUpperCase()=="BUTTON";};dojo._usesBorderBox=function(node){var n=node.tagName;return d.boxModel=="border-box"||n=="TABLE"||d._isButtonTag(node);};dojo._setContentSize=function(node,_185,_186,_187){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_187);if(_185>=0){_185+=pb.w;}if(_186>=0){_186+=pb.h;}}d._setBox(node,NaN,NaN,_185,_186);};dojo._setMarginBox=function(node,_188,_189,_18a,_18b,_18c){var s=_18c||gcs(node),bb=d._usesBorderBox(node),pb=bb?_18d:d._getPadBorderExtents(node,s);if(d.isWebKit){if(d._isButtonTag(node)){var ns=node.style;if(_18a>=0&&!ns.width){ns.width="4px";}if(_18b>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_18a>=0){_18a=Math.max(_18a-pb.w-mb.w,0);}if(_18b>=0){_18b=Math.max(_18b-pb.h-mb.h,0);}d._setBox(node,_188,_189,_18a,_18b);};var _18d={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=byId(node),s=gcs(n),b=box;return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _18e=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_18f=0,_190=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_18f+=val-0;if(node==_190){break;}}node=node.parentNode;}return _18f;};dojo._docScroll=function(){var n=d.global;return "pageXOffset" in n?{x:n.pageXOffset,y:n.pageYOffset}:(n=d.doc.documentElement,n.clientHeight?{x:d._fixIeBiDiScrollLeft(n.scrollLeft),y:n.scrollTop}:(n=d.body(),{x:n.scrollLeft||0,y:n.scrollTop||0}));};dojo._isBodyLtr=function(){return "_bodyLtr" in d?d._bodyLtr:d._bodyLtr=(d.body().dir||d.doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;if(d.isIE<8){var r=de.getBoundingClientRect();var l=r.left,t=r.top;if(d.isIE<7){l+=de.clientLeft;t+=de.clientTop;}return {x:l<0?0:l,y:t<0?0:t};}else{return {x:0,y:0};}};dojo._fixIeBiDiScrollLeft=function(_191){var dd=d.doc;if(d.isIE<8&&!d._isBodyLtr()){var de=d.isQuirks?dd.body:dd.documentElement;return _191+de.clientWidth-de.scrollWidth;}return _191;};dojo._abs=dojo.position=function(node,_192){var db=d.body(),dh=db.parentNode,ret;node=byId(node);if(node["getBoundingClientRect"]){ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(d.isIE){var _193=d._getIeDocumentElementOffset();ret.x-=_193.x+(d.isQuirks?db.clientLeft+db.offsetLeft:0);ret.y-=_193.y+(d.isQuirks?db.clientTop+db.offsetTop:0);}else{if(d.isFF==3){var cs=gcs(dh);ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);}}}else{ret={x:0,y:0,w:node.offsetWidth,h:node.offsetHeight};if(node["offsetParent"]){ret.x-=_18e(node,"scrollLeft");ret.y-=_18e(node,"scrollTop");var _194=node;do{var n=_194.offsetLeft,t=_194.offsetTop;ret.x+=isNaN(n)?0:n;ret.y+=isNaN(t)?0:t;cs=gcs(_194);if(_194!=node){if(d.isMoz){ret.x+=2*px(_194,cs.borderLeftWidth);ret.y+=2*px(_194,cs.borderTopWidth);}else{ret.x+=px(_194,cs.borderLeftWidth);ret.y+=px(_194,cs.borderTopWidth);}}if(d.isMoz&&cs.position=="static"){var _195=_194.parentNode;while(_195!=_194.offsetParent){var pcs=gcs(_195);if(pcs.position=="static"){ret.x+=px(_194,pcs.borderLeftWidth);ret.y+=px(_194,pcs.borderTopWidth);}_195=_195.parentNode;}}_194=_194.offsetParent;}while((_194!=dh)&&_194);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}if(_192){var _196=d._docScroll();ret.x+=_196.x;ret.y+=_196.y;}return ret;};dojo.coords=function(node,_197){var n=byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d.position(n,_197);mb.x=abs.x;mb.y=abs.y;return mb;};var _198={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"},_199={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"},_19a={innerHTML:1,className:1,htmlFor:d.isIE,value:1};var _19b=function(name){return _199[name.toLowerCase()]||name;};var _19c=function(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};dojo.hasAttr=function(node,name){var lc=name.toLowerCase();return _19a[_198[lc]||name]||_19c(byId(node),_199[lc]||name);};var _19d={},_19e=0,_19f=dojo._scopeName+"attrid",_1a0={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};dojo.attr=function(node,name,_1a1){node=byId(node);var args=arguments.length,prop;if(args==2&&typeof name!="string"){for(var x in name){d.attr(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_1a2=_198[lc]||name,_1a3=_19a[_1a2],_1a4=_199[lc]||name;if(args==3){do{if(_1a2=="style"&&typeof _1a1!="string"){d.style(node,_1a1);break;}if(_1a2=="innerHTML"){if(d.isIE&&node.tagName.toLowerCase() in _1a0){d.empty(node);node.appendChild(d._toDom(_1a1,node.ownerDocument));}else{node[_1a2]=_1a1;}break;}if(d.isFunction(_1a1)){var _1a5=d.attr(node,_19f);if(!_1a5){_1a5=_19e++;d.attr(node,_19f,_1a5);}if(!_19d[_1a5]){_19d[_1a5]={};}var h=_19d[_1a5][_1a2];if(h){d.disconnect(h);}else{try{delete node[_1a2];}catch(e){}}_19d[_1a5][_1a2]=d.connect(node,_1a2,_1a1);break;}if(_1a3||typeof _1a1=="boolean"){node[_1a2]=_1a1;break;}node.setAttribute(_1a4,_1a1);}while(false);return node;}_1a1=node[_1a2];if(_1a3&&typeof _1a1!="undefined"){return _1a1;}if(_1a2!="href"&&(typeof _1a1=="boolean"||d.isFunction(_1a1))){return _1a1;}return _19c(node,_1a4)?node.getAttribute(_1a4):null;};dojo.removeAttr=function(node,name){byId(node).removeAttribute(_19b(name));};dojo.getNodeProp=function(node,name){node=byId(node);var lc=name.toLowerCase(),_1a6=_198[lc]||name;if((_1a6 in node)&&_1a6!="href"){return node[_1a6];}var _1a7=_199[lc]||name;return _19c(node,_1a7)?node.getAttribute(_1a7):null;};dojo.create=function(tag,_1a8,_1a9,pos){var doc=d.doc;if(_1a9){_1a9=byId(_1a9);doc=_1a9.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_1a8){d.attr(tag,_1a8);}if(_1a9){d.place(tag,_1a9,pos);}return tag;};d.empty=d.isIE?function(node){node=byId(node);for(var c;c=node.lastChild;){d.destroy(c);}}:function(node){byId(node).innerHTML="";};var _1aa={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},_1ab=/<\s*([\w\:]+)/,_1ac={},_1ad=0,_1ae="__"+d._scopeName+"ToDomId";for(var _1af in _1aa){var tw=_1aa[_1af];tw.pre=_1af=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";tw.post="</"+tw.reverse().join("></")+">";}d._toDom=function(frag,doc){doc=doc||d.doc;var _1b0=doc[_1ae];if(!_1b0){doc[_1ae]=_1b0=++_1ad+"";_1ac[_1b0]=doc.createElement("div");}frag+="";var _1b1=frag.match(_1ab),tag=_1b1?_1b1[1].toLowerCase():"",_1b2=_1ac[_1b0],wrap,i,fc,df;if(_1b1&&_1aa[tag]){wrap=_1aa[tag];_1b2.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_1b2=_1b2.firstChild;}}else{_1b2.innerHTML=frag;}if(_1b2.childNodes.length==1){return _1b2.removeChild(_1b2.firstChild);}df=doc.createDocumentFragment();while(fc=_1b2.firstChild){df.appendChild(fc);}return df;};var _1b3="className";dojo.hasClass=function(node,_1b4){return ((" "+byId(node)[_1b3]+" ").indexOf(" "+_1b4+" ")>=0);};var _1b5=/\s+/,a1=[""],_1b6=function(s){if(typeof s=="string"||s instanceof String){if(s.indexOf(" ")<0){a1[0]=s;return a1;}else{return s.split(_1b5);}}return s||"";};dojo.addClass=function(node,_1b7){node=byId(node);_1b7=_1b6(_1b7);var cls=node[_1b3],_1b8;cls=cls?" "+cls+" ":" ";_1b8=cls.length;for(var i=0,len=_1b7.length,c;i<len;++i){c=_1b7[i];if(c&&cls.indexOf(" "+c+" ")<0){cls+=c+" ";}}if(_1b8<cls.length){node[_1b3]=cls.substr(1,cls.length-2);}};dojo.removeClass=function(node,_1b9){node=byId(node);var cls;if(_1b9!==undefined){_1b9=_1b6(_1b9);cls=" "+node[_1b3]+" ";for(var i=0,len=_1b9.length;i<len;++i){cls=cls.replace(" "+_1b9[i]+" "," ");}cls=d.trim(cls);}else{cls="";}if(node[_1b3]!=cls){node[_1b3]=cls;}};dojo.toggleClass=function(node,_1ba,_1bb){if(_1bb===undefined){_1bb=!d.hasClass(node,_1ba);}d[_1bb?"addClass":"removeClass"](node,_1ba);};})();}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var d=dojo;var ap=Array.prototype,aps=ap.slice,apc=ap.concat;var tnl=function(a,_1bc,_1bd){if(!a.sort){a=aps.call(a,0);}var ctor=_1bd||this._NodeListCtor||d._NodeListCtor;a.constructor=ctor;dojo._mixin(a,ctor.prototype);a._NodeListCtor=ctor;return _1bc?a._stash(_1bc):a;};var _1be=function(f,a,o){a=[0].concat(aps.call(a,0));o=o||d.global;return function(node){a[0]=node;return f.apply(o,a);};};var _1bf=function(f,o){return function(){this.forEach(_1be(f,arguments,o));return this;};};var _1c0=function(f,o){return function(){return this.map(_1be(f,arguments,o));};};var _1c1=function(f,o){return function(){return this.filter(_1be(f,arguments,o));};};var _1c2=function(f,g,o){return function(){var a=arguments,body=_1be(f,a,o);if(g.call(o||d.global,a)){return this.map(body);}this.forEach(body);return this;};};var _1c3=function(a){return a.length==1&&(typeof a[0]=="string");};var _1c4=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};d._NodeListCtor=d.NodeList;var nl=d.NodeList,nlp=nl.prototype;nl._wrap=nlp._wrap=tnl;nl._adaptAsMap=_1c0;nl._adaptAsForEach=_1bf;nl._adaptAsFilter=_1c1;nl._adaptWithCondition=_1c2;d.forEach(["slice","splice"],function(name){var f=ap[name];nlp[name]=function(){return this._wrap(f.apply(this,arguments),name=="slice"?this:null);};});d.forEach(["indexOf","lastIndexOf","every","some"],function(name){var f=d[name];nlp[name]=function(){return f.apply(d,[this].concat(aps.call(arguments,0)));};});d.forEach(["attr","style"],function(name){nlp[name]=_1c2(d[name],_1c3);});d.forEach(["connect","addClass","removeClass","toggleClass","empty","removeAttr"],function(name){nlp[name]=_1bf(d[name]);});dojo.extend(dojo.NodeList,{_normalize:function(_1c5,_1c6){var _1c7=_1c5.parse===true?true:false;if(typeof _1c5.template=="string"){var _1c8=_1c5.templateFunc||(dojo.string&&dojo.string.substitute);_1c5=_1c8?_1c8(_1c5.template,_1c5):_1c5;}var type=(typeof _1c5);if(type=="string"||type=="number"){_1c5=dojo._toDom(_1c5,(_1c6&&_1c6.ownerDocument));if(_1c5.nodeType==11){_1c5=dojo._toArray(_1c5.childNodes);}else{_1c5=[_1c5];}}else{if(!dojo.isArrayLike(_1c5)){_1c5=[_1c5];}else{if(!dojo.isArray(_1c5)){_1c5=dojo._toArray(_1c5);}}}if(_1c7){_1c5._runParse=true;}return _1c5;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_1c9,_1ca,_1cb){if(_1c9.nodeType!=1&&_1ca=="only"){return;}var _1cc=_1c9,_1cd;var _1ce=ary.length;for(var i=_1ce-1;i>=0;i--){var node=(_1cb?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_1cd){_1cd=_1cc.ownerDocument.createElement("div");}_1cd.appendChild(node);dojo.parser.parse(_1cd);node=_1cd.firstChild;while(_1cd.firstChild){_1cd.removeChild(_1cd.firstChild);}}if(i==_1ce-1){dojo.place(node,_1cc,_1ca);}else{_1cc.parentNode.insertBefore(node,_1cc);}_1cc=node;}},_stash:function(_1cf){this._parent=_1cf;return this;},end:function(){if(this._parent){return this._parent;}else{return new this._NodeListCtor();}},concat:function(item){var t=d.isArray(this)?this:aps.call(this,0),m=d.map(arguments,function(a){return a&&!d.isArray(a)&&(typeof NodeList!="undefined"&&a.constructor===NodeList||a.constructor===this._NodeListCtor)?aps.call(a,0):a;});return this._wrap(apc.apply(t,m),this);},map:function(func,obj){return this._wrap(d.map(this,func,obj),this);},forEach:function(_1d0,_1d1){d.forEach(this,_1d0,_1d1);return this;},coords:_1c0(d.coords),position:_1c0(d.position),place:function(_1d2,_1d3){var item=d.query(_1d2)[0];return this.forEach(function(node){d.place(node,item,_1d3);});},orphan:function(_1d4){return (_1d4?d._filterQueryResult(this,_1d4):this).forEach(_1c4);},adopt:function(_1d5,_1d6){return d.query(_1d5).place(this[0],_1d6)._stash(this);},query:function(_1d7){if(!_1d7){return this;}var ret=this.map(function(node){return d.query(_1d7,node).filter(function(_1d8){return _1d8!==undefined;});});return this._wrap(apc.apply([],ret),this);},filter:function(_1d9){var a=arguments,_1da=this,_1db=0;if(typeof _1d9=="string"){_1da=d._filterQueryResult(this,a[0]);if(a.length==1){return _1da._stash(this);}_1db=1;}return this._wrap(d.filter(_1da,a[_1db],a[_1db+1]),this);},addContent:function(_1dc,_1dd){_1dc=this._normalize(_1dc,this[0]);for(var i=0,node;node=this[i];i++){this._place(_1dc,node,_1dd,i>0);}return this;},instantiate:function(_1de,_1df){var c=d.isFunction(_1de)?_1de:d.getObject(_1de);_1df=_1df||{};return this.forEach(function(node){new c(_1df,node);});},at:function(){var t=new this._NodeListCtor();d.forEach(arguments,function(i){if(i<0){i=this.length+i;}if(this[i]){t.push(this[i]);}},this);return t._stash(this);}});nl.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];d.forEach(nl.events,function(evt){var _1e0="on"+evt;nlp[_1e0]=function(a,b){return this.connect(_1e0,a,b);};});})();}if(!dojo._hasResource["dojo._base.query"]){dojo._hasResource["dojo._base.query"]=true;if(typeof dojo!="undefined"){dojo.provide("dojo._base.query");}(function(d){var trim=d.trim;var each=d.forEach;var qlc=d._NodeListCtor=d.NodeList;var _1e1=function(){return d.doc;};var _1e2=((d.isWebKit||d.isMozilla)&&((_1e1().compatMode)=="BackCompat"));var _1e3=!!_1e1().firstChild["children"]?"children":"childNodes";var _1e4=">~+";var _1e5=false;var _1e6=function(){return true;};var _1e7=function(_1e8){if(_1e4.indexOf(_1e8.slice(-1))>=0){_1e8+=" * ";}else{_1e8+=" ";}var ts=function(s,e){return trim(_1e8.slice(s,e));};var _1e9=[];var _1ea=-1,_1eb=-1,_1ec=-1,_1ed=-1,_1ee=-1,inId=-1,_1ef=-1,lc="",cc="",_1f0;var x=0,ql=_1e8.length,_1f1=null,_1f2=null;var _1f3=function(){if(_1ef>=0){var tv=(_1ef==x)?null:ts(_1ef,x);_1f1[(_1e4.indexOf(tv)<0)?"tag":"oper"]=tv;_1ef=-1;}};var _1f4=function(){if(inId>=0){_1f1.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _1f5=function(){if(_1ee>=0){_1f1.classes.push(ts(_1ee+1,x).replace(/\\/g,""));_1ee=-1;}};var _1f6=function(){_1f4();_1f3();_1f5();};var _1f7=function(){_1f6();if(_1ed>=0){_1f1.pseudos.push({name:ts(_1ed+1,x)});}_1f1.loops=(_1f1.pseudos.length||_1f1.attrs.length||_1f1.classes.length);_1f1.oquery=_1f1.query=ts(_1f0,x);_1f1.otag=_1f1.tag=(_1f1["oper"])?null:(_1f1.tag||"*");if(_1f1.tag){_1f1.tag=_1f1.tag.toUpperCase();}if(_1e9.length&&(_1e9[_1e9.length-1].oper)){_1f1.infixOper=_1e9.pop();_1f1.query=_1f1.infixOper.query+" "+_1f1.query;}_1e9.push(_1f1);_1f1=null;};for(;lc=cc,cc=_1e8.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_1f1){_1f0=x;_1f1={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return (_1e5)?this.otag:this.tag;}};_1ef=x;}if(_1ea>=0){if(cc=="]"){if(!_1f2.attr){_1f2.attr=ts(_1ea+1,x);}else{_1f2.matchFor=ts((_1ec||_1ea+1),x);}var cmf=_1f2.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_1f2.matchFor=cmf.slice(1,-1);}}_1f1.attrs.push(_1f2);_1f2=null;_1ea=_1ec=-1;}else{if(cc=="="){var _1f8=("|~^$*".indexOf(lc)>=0)?lc:"";_1f2.type=_1f8+cc;_1f2.attr=ts(_1ea+1,x-_1f8.length);_1ec=x+1;}}}else{if(_1eb>=0){if(cc==")"){if(_1ed>=0){_1f2.value=ts(_1eb+1,x);}_1ed=_1eb=-1;}}else{if(cc=="#"){_1f6();inId=x+1;}else{if(cc=="."){_1f6();_1ee=x;}else{if(cc==":"){_1f6();_1ed=x;}else{if(cc=="["){_1f6();_1ea=x;_1f2={};}else{if(cc=="("){if(_1ed>=0){_1f2={name:ts(_1ed+1,x),value:null};_1f1.pseudos.push(_1f2);}_1eb=x;}else{if((cc==" ")&&(lc!=cc)){_1f7();}}}}}}}}}return _1e9;};var _1f9=function(_1fa,_1fb){if(!_1fa){return _1fb;}if(!_1fb){return _1fa;}return function(){return _1fa.apply(window,arguments)&&_1fb.apply(window,arguments);};};var _1fc=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _1fd=function(n){return (1==n.nodeType);};var _1fe="";var _1ff=function(elem,attr){if(!elem){return _1fe;}if(attr=="class"){return elem.className||_1fe;}if(attr=="for"){return elem.htmlFor||_1fe;}if(attr=="style"){return elem.style.cssText||_1fe;}return (_1e5?elem.getAttribute(attr):elem.getAttribute(attr,2))||_1fe;};var _200={"*=":function(attr,_201){return function(elem){return (_1ff(elem,attr).indexOf(_201)>=0);};},"^=":function(attr,_202){return function(elem){return (_1ff(elem,attr).indexOf(_202)==0);};},"$=":function(attr,_203){var tval=" "+_203;return function(elem){var ea=" "+_1ff(elem,attr);return (ea.lastIndexOf(_203)==(ea.length-_203.length));};},"~=":function(attr,_204){var tval=" "+_204+" ";return function(elem){var ea=" "+_1ff(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_205){var _206=" "+_205+"-";return function(elem){var ea=" "+_1ff(elem,attr);return ((ea==_205)||(ea.indexOf(_206)==0));};},"=":function(attr,_207){return function(elem){return (_1ff(elem,attr)==_207);};}};var _208=(typeof _1e1().firstChild.nextElementSibling=="undefined");var _209=!_208?"nextElementSibling":"nextSibling";var _20a=!_208?"previousElementSibling":"previousSibling";var _20b=(_208?_1fd:_1e6);var _20c=function(node){while(node=node[_20a]){if(_20b(node)){return false;}}return true;};var _20d=function(node){while(node=node[_209]){if(_20b(node)){return false;}}return true;};var _20e=function(node){var root=node.parentNode;var i=0,tret=root[_1e3],ci=(node["_i"]||-1),cl=(root["_l"]||-1);if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}root["_l"]=l;ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_209]){if(_20b(te)){te["_i"]=++i;if(node===te){ci=i;}}}return ci;};var _20f=function(elem){return !((_20e(elem))%2);};var _210=function(elem){return ((_20e(elem))%2);};var _211={"checked":function(name,_212){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"first-child":function(){return _20c;},"last-child":function(){return _20d;},"only-child":function(name,_213){return function(node){if(!_20c(node)){return false;}if(!_20d(node)){return false;}return true;};},"empty":function(name,_214){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,_215){var cz=_215.charAt(0);if(cz=="\""||cz=="'"){_215=_215.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_215)>=0);};},"not":function(name,_216){var p=_1e7(_216)[0];var _217={el:1};if(p.tag!="*"){_217.tag=1;}if(!p.classes.length){_217.classes=1;}var ntf=_218(p,_217);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_219){var pi=parseInt;if(_219=="odd"){return _210;}else{if(_219=="even"){return _20f;}}if(_219.indexOf("n")!=-1){var _21a=_219.split("n",2);var pred=_21a[0]?((_21a[0]=="-")?-1:pi(_21a[0])):1;var idx=_21a[1]?pi(_21a[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_20e(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_219=idx;}}var _21b=pi(_219);return function(elem){return (_20e(elem)==_21b);};}};var _21c=(d.isIE)?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_1e5?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _218=function(_21d,_21e){if(!_21d){return _1e6;}_21e=_21e||{};var ff=null;if(!("el" in _21e)){ff=_1f9(ff,_1fd);}if(!("tag" in _21e)){if(_21d.tag!="*"){ff=_1f9(ff,function(elem){return (elem&&(elem.tagName==_21d.getTag()));});}}if(!("classes" in _21e)){each(_21d.classes,function(_21f,idx,arr){var re=new RegExp("(?:^|\\s)"+_21f+"(?:\\s|$)");ff=_1f9(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _21e)){each(_21d.pseudos,function(_220){var pn=_220.name;if(_211[pn]){ff=_1f9(ff,_211[pn](pn,_220.value));}});}if(!("attrs" in _21e)){each(_21d.attrs,function(attr){var _221;var a=attr.attr;if(attr.type&&_200[attr.type]){_221=_200[attr.type](a,attr.matchFor);}else{if(a.length){_221=_21c(a);}}if(_221){ff=_1f9(ff,_221);}});}if(!("id" in _21e)){if(_21d.id){ff=_1f9(ff,function(elem){return (!!elem&&(elem.id==_21d.id));});}}if(!ff){if(!("default" in _21e)){ff=_1e6;}}return ff;};var _222=function(_223){return function(node,ret,bag){while(node=node[_209]){if(_208&&(!_1fd(node))){continue;}if((!bag||_224(node,bag))&&_223(node)){ret.push(node);}break;}return ret;};};var _225=function(_226){return function(root,ret,bag){var te=root[_209];while(te){if(_20b(te)){if(bag&&!_224(te,bag)){break;}if(_226(te)){ret.push(te);}}te=te[_209];}return ret;};};var _227=function(_228){_228=_228||_1e6;return function(root,ret,bag){var te,x=0,tret=root[_1e3];while(te=tret[x++]){if(_20b(te)&&(!bag||_224(te,bag))&&(_228(te,x))){ret.push(te);}}return ret;};};var _229=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _22a={};var _22b=function(_22c){var _22d=_22a[_22c.query];if(_22d){return _22d;}var io=_22c.infixOper;var oper=(io?io.oper:"");var _22e=_218(_22c,{el:1});var qt=_22c.tag;var _22f=("*"==qt);var ecs=_1e1()["getElementsByClassName"];if(!oper){if(_22c.id){_22e=(!_22c.loops&&_22f)?_1e6:_218(_22c,{el:1,id:1});_22d=function(root,arr){var te=d.byId(_22c.id,(root.ownerDocument||root));if(!te||!_22e(te)){return;}if(9==root.nodeType){return _1fc(te,arr);}else{if(_229(te,root)){return _1fc(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_22c.classes.length&&!_1e2){_22e=_218(_22c,{el:1,classes:1,id:1});var _230=_22c.classes.join(" ");_22d=function(root,arr,bag){var ret=_1fc(0,arr),te,x=0;var tret=root.getElementsByClassName(_230);while((te=tret[x++])){if(_22e(te,root)&&_224(te,bag)){ret.push(te);}}return ret;};}else{if(!_22f&&!_22c.loops){_22d=function(root,arr,bag){var ret=_1fc(0,arr),te,x=0;var tret=root.getElementsByTagName(_22c.getTag());while((te=tret[x++])){if(_224(te,bag)){ret.push(te);}}return ret;};}else{_22e=_218(_22c,{el:1,tag:1,id:1});_22d=function(root,arr,bag){var ret=_1fc(0,arr),te,x=0;var tret=root.getElementsByTagName(_22c.getTag());while((te=tret[x++])){if(_22e(te,root)&&_224(te,bag)){ret.push(te);}}return ret;};}}}}else{var _231={el:1};if(_22f){_231.tag=1;}_22e=_218(_22c,_231);if("+"==oper){_22d=_222(_22e);}else{if("~"==oper){_22d=_225(_22e);}else{if(">"==oper){_22d=_227(_22e);}}}}return _22a[_22c.query]=_22d;};var _232=function(root,_233){var _234=_1fc(root),qp,x,te,qpl=_233.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_233[i];x=_234.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_22b(qp);for(var j=0;(te=_234[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_234=ret;}return ret;};var _235={},_236={};var _237=function(_238){var _239=_1e7(trim(_238));if(_239.length==1){var tef=_22b(_239[0]);return function(root){var r=tef(root,new qlc());if(r){r.nozip=true;}return r;};}return function(root){return _232(root,_239);};};var nua=navigator.userAgent;var wk="WebKit/";var _23a=(d.isWebKit&&(nua.indexOf(wk)>0)&&(parseFloat(nua.split(wk)[1])>528));var _23b=d.isIE?"commentStrip":"nozip";var qsa="querySelectorAll";var _23c=(!!_1e1()[qsa]&&(!d.isSafari||(d.isSafari>3.1)||_23a));var _23d=/n\+\d|([^ ])?([>~+])([^ =])?/g;var _23e=function(_23f,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_23f;};var _240=function(_241,_242){_241=_241.replace(_23d,_23e);if(_23c){var _243=_236[_241];if(_243&&!_242){return _243;}}var _244=_235[_241];if(_244){return _244;}var qcz=_241.charAt(0);var _245=(-1==_241.indexOf(" "));if((_241.indexOf("#")>=0)&&(_245)){_242=true;}var _246=(_23c&&(!_242)&&(_1e4.indexOf(qcz)==-1)&&(!d.isIE||(_241.indexOf(":")==-1))&&(!(_1e2&&(_241.indexOf(".")>=0)))&&(_241.indexOf(":contains")==-1)&&(_241.indexOf(":checked")==-1)&&(_241.indexOf("|=")==-1));if(_246){var tq=(_1e4.indexOf(_241.charAt(_241.length-1))>=0)?(_241+" *"):_241;return _236[_241]=function(root){try{if(!((9==root.nodeType)||_245)){throw "";}var r=root[qsa](tq);r[_23b]=true;return r;}catch(e){return _240(_241,true)(root);}};}else{var _247=_241.split(/\s*,\s*/);return _235[_241]=((_247.length<2)?_237(_241):function(root){var _248=0,ret=[],tp;while((tp=_247[_248++])){ret=ret.concat(_237(tp)(root));}return ret;});}};var _249=0;var _24a=d.isIE?function(node){if(_1e5){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_249)||_249);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_249));};var _224=function(node,bag){if(!bag){return 1;}var id=_24a(node);if(!bag[id]){return bag[id]=1;}return 0;};var _24b="_zipIdx";var _24c=function(arr){if(arr&&arr.nozip){return (qlc._wrap)?qlc._wrap(arr):arr;}var ret=new qlc();if(!arr||!arr.length){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_249++;if(d.isIE&&_1e5){var _24d=_249+"";arr[0].setAttribute(_24b,_24d);for(var x=1,te;te=arr[x];x++){if(arr[x].getAttribute(_24b)!=_24d){ret.push(te);}te.setAttribute(_24b,_24d);}}else{if(d.isIE&&arr.commentStrip){try{for(var x=1,te;te=arr[x];x++){if(_1fd(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_24b]=_249;}for(var x=1,te;te=arr[x];x++){if(arr[x][_24b]!=_249){ret.push(te);}te[_24b]=_249;}}}return ret;};d.query=function(_24e,root){qlc=d._NodeListCtor;if(!_24e){return new qlc();}if(_24e.constructor==qlc){return _24e;}if(typeof _24e!="string"){return new qlc(_24e);}if(typeof root=="string"){root=d.byId(root);if(!root){return new qlc();}}root=root||_1e1();var od=root.ownerDocument||root.documentElement;_1e5=(root.contentType&&root.contentType=="application/xml")||(d.isOpera&&(root.doctype||od.toString()=="[object XMLDocument]"))||(!!od)&&(d.isIE?od.xml:(root.xmlVersion||od.xmlVersion));var r=_240(_24e)(root);if(r&&r.nozip&&!qlc._wrap){return r;}return _24c(r);};d.query.pseudos=_211;d._filterQueryResult=function(_24f,_250){var _251=new d._NodeListCtor();var _252=_218(_1e7(_250)[0]);for(var x=0,te;te=_24f[x];x++){if(_252(te)){_251.push(te);}}return _251;};})(this["queryPortability"]||this["acme"]||dojo);}if(!dojo._hasResource["dojo._base.xhr"]){dojo._hasResource["dojo._base.xhr"]=true;dojo.provide("dojo._base.xhr");(function(){var _253=dojo,cfg=_253.config;function _254(obj,name,_255){if(_255===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_255];}else{if(_253.isArray(val)){val.push(_255);}else{obj[name]=_255;}}};dojo.fieldToObject=function(_256){var ret=null;var item=_253.byId(_256);if(item){var _257=item.name;var type=(item.type||"").toLowerCase();if(_257&&type&&!item.disabled){if(type=="radio"||type=="checkbox"){if(item.checked){ret=item.value;}}else{if(item.multiple){ret=[];_253.query("option",item).forEach(function(opt){if(opt.selected){ret.push(opt.value);}});}else{ret=item.value;}}}}return ret;};dojo.formToObject=function(_258){var ret={};var _259="file|submit|image|reset|button|";_253.forEach(dojo.byId(_258).elements,function(item){var _25a=item.name;var type=(item.type||"").toLowerCase();if(_25a&&type&&_259.indexOf(type)==-1&&!item.disabled){_254(ret,_25a,_253.fieldToObject(item));if(type=="image"){ret[_25a+".x"]=ret[_25a+".y"]=ret[_25a].x=ret[_25a].y=0;}}});return ret;};dojo.objectToQuery=function(map){var enc=encodeURIComponent;var _25b=[];var _25c={};for(var name in map){var _25d=map[name];if(_25d!=_25c[name]){var _25e=enc(name)+"=";if(_253.isArray(_25d)){for(var i=0;i<_25d.length;i++){_25b.push(_25e+enc(_25d[i]));}}else{_25b.push(_25e+enc(_25d));}}}return _25b.join("&");};dojo.formToQuery=function(_25f){return _253.objectToQuery(_253.formToObject(_25f));};dojo.formToJson=function(_260,_261){return _253.toJson(_253.formToObject(_260),_261);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_253.forEach(qp,function(item){if(item.length){var _262=item.split("=");var name=dec(_262.shift());var val=dec(_262.join("="));if(typeof ret[name]=="string"){ret[name]=[ret[name]];}if(_253.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}});return ret;};dojo._blockAsync=false;var _263=_253._contentHandlers=dojo.contentHandlers={text:function(xhr){return xhr.responseText;},json:function(xhr){return _253.fromJson(xhr.responseText||null);},"json-comment-filtered":function(xhr){if(!dojo.config.useCommentedJson){console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues. To"+" decrease the chances of hijacking, use the standard the 'json' handler and"+" prefix your json with: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message.");}var _264=xhr.responseText;var _265=_264.indexOf("/*");var _266=_264.lastIndexOf("*/");if(_265==-1||_266==-1){throw new Error("JSON was not comment filtered");}return _253.fromJson(_264.substring(_265+2,_266));},javascript:function(xhr){return _253.eval(xhr.responseText);},xml:function(xhr){var _267=xhr.responseXML;if(_253.isIE&&(!_267||!_267.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_253.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_267=dom;}catch(e){return false;}return true;});}return _267;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _263["json-comment-filtered"](xhr);}else{return _263["json"](xhr);}}};dojo._ioSetArgs=function(args,_268,_269,_26a){var _26b={args:args,url:args.url};var _26c=null;if(args.form){var form=_253.byId(args.form);var _26d=form.getAttributeNode("action");_26b.url=_26b.url||(_26d?_26d.value:null);_26c=_253.formToObject(form);}var _26e=[{}];if(_26c){_26e.push(_26c);}if(args.content){_26e.push(args.content);}if(args.preventCache){_26e.push({"dojo.preventCache":new Date().valueOf()});}_26b.query=_253.objectToQuery(_253.mixin.apply(null,_26e));_26b.handleAs=args.handleAs||"text";var d=new _253.Deferred(_268);d.addCallbacks(_269,function(_26f){return _26a(_26f,d);});var ld=args.load;if(ld&&_253.isFunction(ld)){d.addCallback(function(_270){return ld.call(args,_270,_26b);});}var err=args.error;if(err&&_253.isFunction(err)){d.addErrback(function(_271){return err.call(args,_271,_26b);});}var _272=args.handle;if(_272&&_253.isFunction(_272)){d.addBoth(function(_273){return _272.call(args,_273,_26b);});}if(cfg.ioPublish&&_253.publish&&_26b.args.ioPublish!==false){d.addCallbacks(function(res){_253.publish("/dojo/io/load",[d,res]);return res;},function(res){_253.publish("/dojo/io/error",[d,res]);return res;});d.addBoth(function(res){_253.publish("/dojo/io/done",[d,res]);return res;});}d.ioArgs=_26b;return d;};var _274=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _275=typeof xhr.abort;if(_275=="function"||_275=="object"||_275=="unknown"){xhr.abort();}var err=dfd.ioArgs.error;if(!err){err=new Error("xhr cancelled");err.dojoType="cancel";}return err;};var _276=function(dfd){var ret=_263[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _277=function(_278,dfd){if(!dfd.ioArgs.args.failOk){console.error(_278);}return _278;};var _279=null;var _27a=[];var _27b=0;var _27c=function(dfd){if(_27b<=0){_27b=0;if(cfg.ioPublish&&_253.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){_253.publish("/dojo/io/stop");}}};var _27d=function(){var now=(new Date()).getTime();if(!_253._blockAsync){for(var i=0,tif;i<_27a.length&&(tif=_27a[i]);i++){var dfd=tif.dfd;var func=function(){if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_27a.splice(i--,1);_27b-=1;}else{if(tif.ioCheck(dfd)){_27a.splice(i--,1);tif.resHandle(dfd);_27b-=1;}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_27a.splice(i--,1);var err=new Error("timeout exceeded");err.dojoType="timeout";dfd.errback(err);dfd.cancel();_27b-=1;}}}}};if(dojo.config.debugAtAllCosts){func.call(this);}else{try{func.call(this);}catch(e){dfd.errback(e);}}}}_27c(dfd);if(!_27a.length){clearInterval(_279);_279=null;return;}};dojo._ioCancelAll=function(){try{_253.forEach(_27a,function(i){try{i.dfd.cancel();}catch(e){}});}catch(e){}};if(_253.isIE){_253.addOnWindowUnload(_253._ioCancelAll);}_253._ioNotifyStart=function(dfd){if(cfg.ioPublish&&_253.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_27b){_253.publish("/dojo/io/start");}_27b+=1;_253.publish("/dojo/io/send",[dfd]);}};_253._ioWatch=function(dfd,_27e,_27f,_280){var args=dfd.ioArgs.args;if(args.timeout){dfd.startTime=(new Date()).getTime();}_27a.push({dfd:dfd,validCheck:_27e,ioCheck:_27f,resHandle:_280});if(!_279){_279=setInterval(_27d,50);}if(args.sync){_27d();}};var _281="application/x-www-form-urlencoded";var _282=function(dfd){return dfd.ioArgs.xhr.readyState;};var _283=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _284=function(dfd){var xhr=dfd.ioArgs.xhr;if(_253._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);}};dojo._ioAddQueryToUrl=function(_285){if(_285.query.length){_285.url+=(_285.url.indexOf("?")==-1?"?":"&")+_285.query;_285.query=null;}};dojo.xhr=function(_286,args,_287){var dfd=_253._ioSetArgs(args,_274,_276,_277);var _288=dfd.ioArgs;var xhr=_288.xhr=_253._xhrObj(_288.args);if(!xhr){dfd.cancel();return dfd;}if("postData" in args){_288.query=args.postData;}else{if("putData" in args){_288.query=args.putData;}else{if("rawBody" in args){_288.query=args.rawBody;}else{if((arguments.length>2&&!_287)||"POST|PUT".indexOf(_286.toUpperCase())==-1){_253._ioAddQueryToUrl(_288);}}}}xhr.open(_286,_288.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{if(args.headers[hdr]){xhr.setRequestHeader(hdr,args.headers[hdr]);}}}}xhr.setRequestHeader("Content-Type",args.contentType||_281);if(!args.headers||!("X-Requested-With" in args.headers)){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");}_253._ioNotifyStart(dfd);if(dojo.config.debugAtAllCosts){xhr.send(_288.query);}else{try{xhr.send(_288.query);}catch(e){_288.error=e;dfd.cancel();}}_253._ioWatch(dfd,_282,_283,_284);xhr=null;return dfd;};dojo.xhrGet=function(args){return _253.xhr("GET",args);};dojo.rawXhrPost=dojo.xhrPost=function(args){return _253.xhr("POST",args,true);};dojo.rawXhrPut=dojo.xhrPut=function(args){return _253.xhr("PUT",args,true);};dojo.xhrDelete=function(args){return _253.xhr("DELETE",args);};})();}if(!dojo._hasResource["dojo._base.fx"]){dojo._hasResource["dojo._base.fx"]=true;dojo.provide("dojo._base.fx");(function(){var d=dojo;var _289=d._mixin;dojo._Line=function(_28a,end){this.start=_28a;this.end=end;};dojo._Line.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};dojo.Animation=function(args){_289(this,args);if(d.isArray(this.curve)){this.curve=new d._Line(this.curve[0],this.curve[1]);}};d._Animation=d.Animation;d.extend(dojo.Animation,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _28b=this._percent,_28c=this.easing;return _28c?_28c(_28b):_28b;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(d.config.debugAtAllCosts){this[evt].apply(this,a);}else{try{this[evt].apply(this,a);}catch(e){console.error("exception in animation handler for:",evt);console.error(e);}}}return this;},play:function(_28d,_28e){var _28f=this;if(_28f._delayTimer){_28f._clearTimer();}if(_28e){_28f._stopTimer();_28f._active=_28f._paused=false;_28f._percent=0;}else{if(_28f._active&&!_28f._paused){return _28f;}}_28f._fire("beforeBegin",[_28f.node]);var de=_28d||_28f.delay,_290=dojo.hitch(_28f,"_play",_28e);if(de>0){_28f._delayTimer=setTimeout(_290,de);return _28f;}_290();return _28f;},_play:function(_291){var _292=this;if(_292._delayTimer){_292._clearTimer();}_292._startTime=new Date().valueOf();if(_292._paused){_292._startTime-=_292.duration*_292._percent;}_292._active=true;_292._paused=false;var _293=_292.curve.getValue(_292._getStep());if(!_292._percent){if(!_292._startRepeatCount){_292._startRepeatCount=_292.repeat;}_292._fire("onBegin",[_293]);}_292._fire("onPlay",[_293]);_292._cycle();return _292;},pause:function(){var _294=this;if(_294._delayTimer){_294._clearTimer();}_294._stopTimer();if(!_294._active){return _294;}_294._paused=true;_294._fire("onPause",[_294.curve.getValue(_294._getStep())]);return _294;},gotoPercent:function(_295,_296){var _297=this;_297._stopTimer();_297._active=_297._paused=true;_297._percent=_295;if(_296){_297.play();}return _297;},stop:function(_298){var _299=this;if(_299._delayTimer){_299._clearTimer();}if(!_299._timer){return _299;}_299._stopTimer();if(_298){_299._percent=1;}_299._fire("onStop",[_299.curve.getValue(_299._getStep())]);_299._active=_299._paused=false;return _299;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _29a=this;if(_29a._active){var curr=new Date().valueOf();var step=(curr-_29a._startTime)/(_29a.duration);if(step>=1){step=1;}_29a._percent=step;if(_29a.easing){step=_29a.easing(step);}_29a._fire("onAnimate",[_29a.curve.getValue(step)]);if(_29a._percent<1){_29a._startTimer();}else{_29a._active=false;if(_29a.repeat>0){_29a.repeat--;_29a.play(null,true);}else{if(_29a.repeat==-1){_29a.play(null,true);}else{if(_29a._startRepeatCount){_29a.repeat=_29a._startRepeatCount;_29a._startRepeatCount=0;}}}_29a._percent=0;_29a._fire("onEnd",[_29a.node]);!_29a.repeat&&_29a._stopTimer();}}return _29a;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_29b=null,_29c={run:function(){}};d.extend(d.Animation,{_startTimer:function(){if(!this._timer){this._timer=d.connect(_29c,"run",this,"_cycle");ctr++;}if(!_29b){_29b=setInterval(d.hitch(_29c,"run"),this.rate);}},_stopTimer:function(){if(this._timer){d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_29b);_29b=null;ctr=0;}}});var _29d=d.isIE?function(node){var ns=node.style;if(!ns.width.length&&d.style(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=d.byId(args.node);var _29e=_289({properties:{}},args),_29f=(_29e.properties.opacity={});_29f.start=!("start" in _29e)?function(){return +d.style(_29e.node,"opacity")||0;}:_29e.start;_29f.end=_29e.end;var anim=d.animateProperty(_29e);d.connect(anim,"beforeBegin",d.partial(_29d,_29e.node));return anim;};dojo.fadeIn=function(args){return d._fade(_289({end:1},args));};dojo.fadeOut=function(args){return d._fade(_289({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _2a0=function(_2a1){this._properties=_2a1;for(var p in _2a1){var prop=_2a1[p];if(prop.start instanceof d.Color){prop.tempColor=new d.Color();}}};_2a0.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_2a2=prop.start;if(_2a2 instanceof d.Color){ret[p]=d.blendColors(_2a2,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_2a2)){ret[p]=((prop.end-_2a2)*r)+_2a2+(p!="opacity"?prop.units||"px":0);}}}return ret;};dojo.animateProperty=function(args){var n=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];if(d.isFunction(prop)){prop=prop(n);}prop=pm[p]=_289({},(d.isObject(prop)?prop:{end:prop}));if(d.isFunction(prop.start)){prop.start=prop.start(n);}if(d.isFunction(prop.end)){prop.end=prop.end(n);}var _2a3=(p.toLowerCase().indexOf("color")>=0);function _2a4(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=d.style(node,p);return (p=="opacity")?+v:(_2a3?v:parseFloat(v));};if(!("end" in prop)){prop.end=_2a4(n,p);}else{if(!("start" in prop)){prop.start=_2a4(n,p);}}if(_2a3){prop.start=new d.Color(prop.start);prop.end=new d.Color(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _2a0(pm);});d.connect(anim,"onAnimate",d.hitch(d,"style",anim.node));return anim;};dojo.anim=function(node,_2a5,_2a6,_2a7,_2a8,_2a9){return d.animateProperty({node:node,duration:_2a6||d.Animation.prototype.duration,properties:_2a5,easing:_2a7,onEnd:_2a8}).play(_2a9||0);};})();}if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");dojo.forEach(dojo.config.require,function(i){dojo["require"](i);});}if(!dojo._hasResource["dojo.uacss"]){dojo._hasResource["dojo.uacss"]=true;dojo.provide("dojo.uacss");(function(){var d=dojo,html=d.doc.documentElement,ie=d.isIE,_2aa=d.isOpera,maj=Math.floor,ff=d.isFF,_2ab=d.boxModel.replace(/-/,""),_2ac={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_ie8:maj(ie)==8,dj_quirks:d.isQuirks,dj_iequirks:ie&&d.isQuirks,dj_opera:_2aa,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla,dj_ff3:maj(ff)==3};_2ac["dj_"+_2ab]=true;var _2ad="";for(var clz in _2ac){if(_2ac[clz]){_2ad+=clz+" ";}}html.className=d.trim(html.className+" "+_2ad);dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){var _2ae="dj_rtl dijitRtl "+_2ad.replace(/ /g,"-rtl ");html.className=d.trim(html.className+" "+_2ae);}});})();}if(!dojo._hasResource["dojo.fx.Toggler"]){dojo._hasResource["dojo.fx.Toggler"]=true;dojo.provide("dojo.fx.Toggler");dojo.declare("dojo.fx.Toggler",null,{node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _2af=this;dojo.mixin(_2af,args);_2af.node=args.node;_2af._showArgs=dojo.mixin({},args);_2af._showArgs.node=_2af.node;_2af._showArgs.duration=_2af.showDuration;_2af.showAnim=_2af.showFunc(_2af._showArgs);_2af._hideArgs=dojo.mixin({},args);_2af._hideArgs.node=_2af.node;_2af._hideArgs.duration=_2af.hideDuration;_2af.hideAnim=_2af.hideFunc(_2af._hideArgs);dojo.connect(_2af.showAnim,"beforeBegin",dojo.hitch(_2af.hideAnim,"stop",true));dojo.connect(_2af.hideAnim,"beforeBegin",dojo.hitch(_2af.showAnim,"stop",true));},show:function(_2b0){return this.showAnim.play(_2b0||0);},hide:function(_2b1){return this.hideAnim.play(_2b1||0);}});}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var d=dojo,_2b2={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _2b3=function(_2b4){this._index=-1;this._animations=_2b4||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;d.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};d.extend(_2b3,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){d.disconnect(this._onAnimateCtx);d.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=d.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_2b5,_2b6){if(!this._current){this._current=this._animations[this._index=0];}if(!_2b6&&this._current.status()=="playing"){return this;}var _2b7=d.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_2b8=d.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_2b9=d.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);d.disconnect(_2b7);d.disconnect(_2b8);d.disconnect(_2b9);});if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){d.disconnect(this._onEndCtx);}this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=d.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);d.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_2ba,_2bb){this.pause();var _2bc=this.duration*_2ba;this._current=null;d.some(this._animations,function(a){if(a.duration<=_2bc){this._current=a;return true;}_2bc-=a.duration;return false;});if(this._current){this._current.gotoPercent(_2bc/this._current.duration,_2bb);}return this;},stop:function(_2bd){if(this._current){if(_2bd){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=d.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);d.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}if(this._onEndCtx){d.disconnect(this._onEndCtx);}}});d.extend(_2b3,_2b2);dojo.fx.chain=function(_2be){return new _2b3(_2be);};var _2bf=function(_2c0){this._animations=_2c0||[];this._connects=[];this._finished=0;this.duration=0;d.forEach(_2c0,function(a){var _2c1=a.duration;if(a.delay){_2c1+=a.delay;}if(this.duration<_2c1){this.duration=_2c1;}this._connects.push(d.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new d.Animation({curve:[0,1],duration:this.duration});var self=this;d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(d.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};d.extend(_2bf,{_doAction:function(_2c2,args){d.forEach(this._animations,function(a){a[_2c2].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_2c3,args){var t=this._pseudoAnimation;t[_2c3].apply(t,args);},play:function(_2c4,_2c5){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(_2c6,_2c7){var ms=this.duration*_2c6;d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_2c7);});this._call("gotoPercent",arguments);return this;},stop:function(_2c8){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){d.forEach(this._connects,dojo.disconnect);}});d.extend(_2bf,_2b2);dojo.fx.combine=function(_2c9){return new _2bf(_2c9);};dojo.fx.wipeIn=function(args){var node=args.node=d.byId(args.node),s=node.style,o;var anim=d.animateProperty(d.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _2ca=d.style(node,"height");return Math.max(_2ca,1);}},end:function(){return node.scrollHeight;}}}},args));d.connect(anim,"onEnd",function(){s.height="auto";s.overflow=o;});return anim;};dojo.fx.wipeOut=function(args){var node=args.node=d.byId(args.node),s=node.style,o;var anim=d.animateProperty(d.mixin({properties:{height:{end:1}}},args));d.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});d.connect(anim,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return anim;};dojo.fx.slideTo=function(args){var node=args.node=d.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=d.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=d.position(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=d.animateProperty(d.mixin({properties:{top:args.top||0,left:args.left||0}},args));d.connect(anim,"beforeBegin",anim,init);return anim;};})();}if(!dojo._hasResource["dojo.fx.easing"]){dojo._hasResource["dojo.fx.easing"]=true;dojo.provide("dojo.fx.easing");dojo.fx.easing={linear:function(n){return n;},quadIn:function(n){return Math.pow(n,2);},quadOut:function(n){return n*(n-2)*-1;},quadInOut:function(n){n=n*2;if(n<1){return Math.pow(n,2)/2;}return -1*((--n)*(n-2)-1)/2;},cubicIn:function(n){return Math.pow(n,3);},cubicOut:function(n){return Math.pow(n-1,3)+1;},cubicInOut:function(n){n=n*2;if(n<1){return Math.pow(n,3)/2;}n-=2;return (Math.pow(n,3)+2)/2;},quartIn:function(n){return Math.pow(n,4);},quartOut:function(n){return -1*(Math.pow(n-1,4)-1);},quartInOut:function(n){n=n*2;if(n<1){return Math.pow(n,4)/2;}n-=2;return -1/2*(Math.pow(n,4)-2);},quintIn:function(n){return Math.pow(n,5);},quintOut:function(n){return Math.pow(n-1,5)+1;},quintInOut:function(n){n=n*2;if(n<1){return Math.pow(n,5)/2;}n-=2;return (Math.pow(n,5)+2)/2;},sineIn:function(n){return -1*Math.cos(n*(Math.PI/2))+1;},sineOut:function(n){return Math.sin(n*(Math.PI/2));},sineInOut:function(n){return -1*(Math.cos(Math.PI*n)-1)/2;},expoIn:function(n){return (n==0)?0:Math.pow(2,10*(n-1));},expoOut:function(n){return (n==1)?1:(-1*Math.pow(2,-10*n)+1);},expoInOut:function(n){if(n==0){return 0;}if(n==1){return 1;}n=n*2;if(n<1){return Math.pow(2,10*(n-1))/2;}--n;return (-1*Math.pow(2,-10*n)+2)/2;},circIn:function(n){return -1*(Math.sqrt(1-Math.pow(n,2))-1);},circOut:function(n){n=n-1;return Math.sqrt(1-Math.pow(n,2));},circInOut:function(n){n=n*2;if(n<1){return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);}n-=2;return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);},backIn:function(n){var s=1.70158;return Math.pow(n,2)*((s+1)*n-s);},backOut:function(n){n=n-1;var s=1.70158;return Math.pow(n,2)*((s+1)*n+s)+1;},backInOut:function(n){var s=1.70158*1.525;n=n*2;if(n<1){return (Math.pow(n,2)*((s+1)*n-s))/2;}n-=2;return (Math.pow(n,2)*((s+1)*n+s)+2)/2;},elasticIn:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;n=n-1;return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);},elasticOut:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;},elasticInOut:function(n){if(n==0){return 0;}n=n*2;if(n==2){return 1;}var p=0.3*1.5;var s=p/4;if(n<1){n-=1;return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));}n-=1;return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;},bounceIn:function(n){return (1-dojo.fx.easing.bounceOut(1-n));},bounceOut:function(n){var s=7.5625;var p=2.75;var l;if(n<(1/p)){l=s*Math.pow(n,2);}else{if(n<(2/p)){n-=(1.5/p);l=s*Math.pow(n,2)+0.75;}else{if(n<(2.5/p)){n-=(2.25/p);l=s*Math.pow(n,2)+0.9375;}else{n-=(2.625/p);l=s*Math.pow(n,2)+0.984375;}}}return l;},bounceInOut:function(n){if(n<0.5){return dojo.fx.easing.bounceIn(n*2)/2;}return (dojo.fx.easing.bounceOut(n*2-1)/2)+0.5;}};}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd.getCopyKeyState=dojo.isCopyKey;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.position(n,true);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-t.x,ry=e.pageY-t.y,dx=0,dy=0;if(dojo.isWebKit||dojo.isOpera){rx+=dojo.body().scrollLeft,ry+=dojo.body().scrollTop;}if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}}var _2cb=n.scrollLeft,_2cc=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_2cb!=n.scrollLeft||_2cc!=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,_2cd=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.body,"onselectstart",dojo.stopEvent),_2cd];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},e);dojo.stopEvent(e);},onMouseUp:function(e){if(dojo.isWebKit&&dojo.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}dojo.stopEvent(e);},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=dojo.marginBox(this.node);var b=dojo.doc.body;var bs=dojo.getComputedStyle(b);var bm=dojo._getMarginBox(b,bs);var bc=dojo._getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}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=this.host=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,_2ce){this.node=dojo.byId(node);if(!_2ce){_2ce={};}this.handle=_2ce.handle?dojo.byId(_2ce.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_2ce.delay>0?_2ce.delay:0;this.skip=_2ce.skip;this.mover=_2ce.mover?_2ce.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(_2cf,node){return new dojo.dnd.Moveable(node,_2cf);},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"),dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}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);this.onDragDetected(e);}dojo.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){dojo.disconnect(this.events.pop());}dojo.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_2d0){dojo.publish("/dnd/move/start",[_2d0]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_2d1){dojo.publish("/dnd/move/stop",[_2d1]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_2d2,e){},onMove:function(_2d3,_2d4,e){this.onMoving(_2d3,_2d4);var s=_2d3.node.style;s.left=_2d4.l+"px";s.top=_2d4.t+"px";this.onMoved(_2d3,_2d4);},onMoving:function(_2d5,_2d6){},onMoved:function(_2d7,_2d8){}});}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(_2d9,node){return new dojo.dnd.move.constrainedMoveable(node,_2d9);},constructor:function(node,_2da){if(!_2da){_2da={};}this.constraints=_2da.constraints;this.within=_2da.within;},onFirstMove:function(_2db){var c=this.constraintBox=this.constraints.call(this,_2db);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo.marginBox(_2db.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_2dc,_2dd){var c=this.constraintBox,s=_2dc.node.style;s.left=(_2dd.l<c.l?c.l:c.r<_2dd.l?c.r:_2dd.l)+"px";s.top=(_2dd.t<c.t?c.t:c.b<_2dd.t?c.b:_2dd.t)+"px";}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_2de,node){return new dojo.dnd.move.boxConstrainedMoveable(node,_2de);},constructor:function(node,_2df){var box=_2df&&_2df.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_2e0,node){return new dojo.dnd.move.parentConstrainedMoveable(node,_2e0);},constructor:function(node,_2e1){var area=_2e1&&_2e1.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,_2e2){dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead");var _2e3=function(node,e,_2e4){dojo.dnd.Mover.call(this,node,e,_2e4);};dojo.extend(_2e3,dojo.dnd.Mover.prototype);dojo.extend(_2e3,{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(_2e2){var mb=dojo.marginBox(this.node);c.r-=mb.w;c.b-=mb.h;}}});return _2e3;};dojo.dnd.move.boxConstrainedMover=function(box,_2e5){dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead");return dojo.dnd.move.constrainedMover(function(){return box;},_2e5);};dojo.dnd.move.parentConstrainedMover=function(area,_2e6){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,_2e6);};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.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _2e7=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_2e8){if(!_2e8){_2e8={};}if(_2e8.timeout&&typeof _2e8.timeout=="number"&&_2e8.timeout>=0){this.timeout=_2e8.timeout;}},markupFactory:function(_2e9,node){return new dojo.dnd.TimedMoveable(node,_2e9);},onMoveStop:function(_2ea){if(_2ea._timer){clearTimeout(_2ea._timer);_2e7.call(this,_2ea,_2ea._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_2eb,_2ec){_2eb._leftTop=_2ec;if(!_2eb._timer){var _2ed=this;_2eb._timer=setTimeout(function(){_2eb._timer=null;_2e7.call(_2ed,_2eb,_2eb._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["dojo.window"]){dojo._hasResource["dojo.window"]=true;dojo.provide("dojo.window");dojo.window.getBox=function(){var _2ee=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _2ef=dojo._docScroll();return {w:_2ee.clientWidth,h:_2ee.clientHeight,l:_2ef.x,t:_2ef.y};};dojo.window.get=function(doc){if(dojo.isIE&&window!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};dojo.window.scrollIntoView=function(node,pos){try{node=dojo.byId(node);var doc=node.ownerDocument||dojo.doc,body=doc.body||dojo.body(),html=doc.documentElement||body.parentNode,isIE=dojo.isIE,isWK=dojo.isWebKit;if((!(dojo.isMoz||isIE||isWK||dojo.isOpera)||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _2f0=doc.compatMode=="BackCompat",_2f1=_2f0?body:html,_2f2=isWK?body:_2f1,_2f3=_2f1.clientWidth,_2f4=_2f1.clientHeight,rtl=!dojo._isBodyLtr(),_2f5=pos||dojo.position(node),el=node.parentNode,_2f6=function(el){return ((isIE<=6||(isIE&&_2f0))?false:(dojo.style(el,"position").toLowerCase()=="fixed"));};if(_2f6(node)){return;}while(el){if(el==body){el=_2f2;}var _2f7=dojo.position(el),_2f8=_2f6(el);if(el==_2f2){_2f7.w=_2f3;_2f7.h=_2f4;if(_2f2==html&&isIE&&rtl){_2f7.x+=_2f2.offsetWidth-_2f7.w;}if(_2f7.x<0||!isIE){_2f7.x=0;}if(_2f7.y<0||!isIE){_2f7.y=0;}}else{var pb=dojo._getPadBorderExtents(el);_2f7.w-=pb.w;_2f7.h-=pb.h;_2f7.x+=pb.l;_2f7.y+=pb.t;}if(el!=_2f2){var _2f9=el.clientWidth,_2fa=_2f7.w-_2f9;if(_2f9>0&&_2fa>0){_2f7.w=_2f9;if(isIE&&rtl){_2f7.x+=_2fa;}}_2f9=el.clientHeight;_2fa=_2f7.h-_2f9;if(_2f9>0&&_2fa>0){_2f7.h=_2f9;}}if(_2f8){if(_2f7.y<0){_2f7.h+=_2f7.y;_2f7.y=0;}if(_2f7.x<0){_2f7.w+=_2f7.x;_2f7.x=0;}if(_2f7.y+_2f7.h>_2f4){_2f7.h=_2f4-_2f7.y;}if(_2f7.x+_2f7.w>_2f3){_2f7.w=_2f3-_2f7.x;}}var l=_2f5.x-_2f7.x,t=_2f5.y-Math.max(_2f7.y,0),r=l+_2f5.w-_2f7.w,bot=t+_2f5.h-_2f7.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);_2f5.x+=el.scrollLeft;el.scrollLeft+=(isIE>=8&&!_2f0&&rtl)?-s:s;_2f5.x-=el.scrollLeft;}if(bot*t>0){_2f5.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_2f5.y-=el.scrollTop;}el=(el!=_2f2)&&!_2f8&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}};}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={};this.length=0;},add:function(_2fb){if(this._hash[_2fb.id]){throw new Error("Tried to register widget with id=="+_2fb.id+" but that id is already registered");}this._hash[_2fb.id]=_2fb;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_2fc){_2fc=_2fc||dojo.global;var i=0,id;for(id in this._hash){func.call(_2fc,this._hash[id],i++,this._hash);}return this;},filter:function(_2fd,_2fe){_2fe=_2fe||dojo.global;var res=new dijit.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_2fd.call(_2fe,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new dijit.WidgetSet(),id,_2ff;for(id in this._hash){_2ff=this._hash[id];if(_2ff.declaredClass==cls){res.add(_2ff);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_300){return dojo.map(this.toArray(),func,_300);},every:function(func,_301){_301=_301||dojo.global;var x=0,i;for(i in this._hash){if(!func.call(_301,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_302){_302=_302||dojo.global;var x=0,i;for(i in this._hash){if(func.call(_302,this._hash[i],x++,this._hash)){return true;}}return false;}});(function(){dijit.registry=new dijit.WidgetSet();var hash=dijit.registry._hash,attr=dojo.attr,_303=dojo.hasAttr,_304=dojo.style;dijit.byId=function(id){return typeof id=="string"?hash[id]:id;};var _305={};dijit.getUniqueId=function(_306){var id;do{id=_306+"_"+(_306 in _305?++_305[_306]:_305[_306]=0);}while(hash[id]);return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;};dijit.findWidgets=function(root){var _307=[];function _308(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _309=node.getAttribute("widgetId");if(_309){_307.push(hash[_309]);}else{_308(node);}}}};_308(root);return _307;};dijit._destroyAll=function(){dijit._curFocus=null;dijit._prevFocus=null;dijit._activeStack=[];dojo.forEach(dijit.findWidgets(dojo.body()),function(_30a){if(!_30a._destroyed){if(_30a.destroyRecursive){_30a.destroyRecursive();}else{if(_30a.destroy){_30a.destroy();}}}});};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit._destroyAll();});}dijit.byNode=function(node){return hash[node.getAttribute("widgetId")];};dijit.getEnclosingWidget=function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;};var _30b=(dijit._isElementShown=function(elem){var s=_304(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(attr(elem,"type")!="hidden");});dijit.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _303(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":if(dojo.isMoz){try{return elem.contentDocument.designMode=="on";}catch(err){return false;}}else{if(dojo.isWebKit){var doc=elem.contentDocument,body=doc&&doc.body;return body&&body.contentEditable=="true";}else{try{doc=elem.contentWindow.document;body=doc&&doc.body;return body&&body.firstChild&&body.firstChild.contentEditable=="true";}catch(e){return false;}}}default:return elem.contentEditable=="true";}};var _30c=(dijit.isTabNavigable=function(elem){if(attr(elem,"disabled")){return false;}else{if(_303(elem,"tabIndex")){return attr(elem,"tabIndex")>=0;}else{return dijit.hasDefaultTabStop(elem);}}});dijit._getTabNavigable=function(root){var _30d,last,_30e,_30f,_310,_311;var _312=function(_313){dojo.query("> *",_313).forEach(function(_314){if((dojo.isIE&&_314.scopeName!=="HTML")||!_30b(_314)){return;}if(_30c(_314)){var _315=attr(_314,"tabIndex");if(!_303(_314,"tabIndex")||_315==0){if(!_30d){_30d=_314;}last=_314;}else{if(_315>0){if(!_30e||_315<_30f){_30f=_315;_30e=_314;}if(!_310||_315>=_311){_311=_315;_310=_314;}}}}if(_314.nodeName.toUpperCase()!="SELECT"){_312(_314);}});};if(_30b(root)){_312(root);}return {first:_30d,last:last,lowest:_30e,highest:_310};};dijit.getFirstInTabbingOrder=function(root){var _316=dijit._getTabNavigable(dojo.byId(root));return _316.lowest?_316.lowest:_316.first;};dijit.getLastInTabbingOrder=function(root){var _317=dijit._getTabNavigable(dojo.byId(root));return _317.last?_317.last:_317.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;})();}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(){return dijit.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=dojo.doc.selection,cf=dijit._curFocus;if(dojo.global.getSelection){sel=dojo.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_318){var _319=dojo.doc,mark=_318.mark;if(mark){if(dojo.global.getSelection){var sel=dojo.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var r=mark;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_319.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(dojo.isArray(mark)){rg=_319.body.createControlRange();dojo.forEach(mark,function(n){rg.addElement(n);});}else{rg=_319.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_31a){var node=!dijit._curFocus||(menu&&dojo.isDescendant(dijit._curFocus,menu.domNode))?dijit._prevFocus:dijit._curFocus;return {node:node,bookmark:(node==dijit._curFocus)&&dojo.withGlobal(_31a||dojo.global,dijit.getBookmark),openedForWindow:_31a};},focus:function(_31b){if(!_31b){return;}var node="node" in _31b?_31b.node:_31b,_31c=_31b.bookmark,_31d=_31b.openedForWindow,_31e=_31c?_31c.isCollapsed:false;if(node){var _31f=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_31f&&_31f.focus){try{_31f.focus();}catch(e){}}dijit._onFocusNode(node);}if(_31c&&dojo.withGlobal(_31d||dojo.global,dijit.isCollapsed)&&!_31e){if(_31d){_31d.focus();}try{dojo.withGlobal(_31d||dojo.global,dijit.moveToBookmark,null,[_31c]);}catch(e2){}}},_activeStack:[],registerIframe:function(_320){return dijit.registerWin(_320.contentWindow,_320);},unregisterIframe:function(_321){dijit.unregisterWin(_321);},registerWin:function(_322,_323){var _324=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);if(dojo.isIE&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}dijit._onTouchNode(_323||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_322.document.documentElement:_322.document;if(doc){if(dojo.isIE){doc.attachEvent("onmousedown",_324);var _325=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_323||evt.srcElement);}else{dijit._onTouchNode(_323||evt.srcElement);}};doc.attachEvent("onactivate",_325);var _326=function(evt){dijit._onBlurNode(_323||evt.srcElement);};doc.attachEvent("ondeactivate",_326);return function(){doc.detachEvent("onmousedown",_324);doc.detachEvent("onactivate",_325);doc.detachEvent("ondeactivate",_326);doc=null;};}else{doc.addEventListener("mousedown",_324,true);var _327=function(evt){dijit._onFocusNode(_323||evt.target);};doc.addEventListener("focus",_327,true);var _328=function(evt){dijit._onBlurNode(_323||evt.target);};doc.addEventListener("blur",_328,true);return function(){doc.removeEventListener("mousedown",_324,true);doc.removeEventListener("focus",_327,true);doc.removeEventListener("blur",_328,true);doc=null;};}}},unregisterWin:function(_329){_329&&_329();},_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,by){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _32a=[];try{while(node){var _32b=dojo.attr(node,"dijitPopupParent");if(_32b){node=dijit.byId(_32b).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===dojo.body()){break;}node=dojo.window.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_32c=id&&dijit.byId(id);if(_32c&&!(by=="mouse"&&_32c.get("disabled"))){_32a.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_32a,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){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(_32d,by){var _32e=dijit._activeStack;dijit._activeStack=_32d;for(var _32f=0;_32f<Math.min(_32e.length,_32d.length);_32f++){if(_32e[_32f]!=_32d[_32f]){break;}}var _330;for(var i=_32e.length-1;i>=_32f;i--){_330=dijit.byId(_32e[i]);if(_330){_330._focused=false;_330._hasBeenBlurred=true;if(_330._onBlur){_330._onBlur(by);}dojo.publish("widgetBlur",[_330,by]);}}for(i=_32f;i<_32d.length;i++){_330=dijit.byId(_32d[i]);if(_330){_330._focused=true;if(_330._onFocus){_330._onFocus(by);}dojo.publish("widgetFocus",[_330,by]);}}}});dojo.addOnLoad(function(){var _331=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_331);_331=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_332){this.pairs=[];this.returnWrappers=_332||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_333,wrap,_334,_335){this.pairs[((_335)?"unshift":"push")]([name,_333,wrap,_334]);},match:function(){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[1].apply(this,arguments)){if((pair[3])||(this.returnWrappers)){return pair[2];}else{return pair[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(name){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[0]==name){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){return dojo.window.getBox();};dijit.placeOnScreen=function(node,pos,_336,_337){var _338=dojo.map(_336,function(_339){var c={corner:_339,pos:{x:pos.x,y:pos.y}};if(_337){c.pos.x+=_339.charAt(1)=="L"?_337.x:-_337.x;c.pos.y+=_339.charAt(0)=="T"?_337.y:-_337.y;}return c;});return dijit._place(node,_338);};dijit._place=function(node,_33a,_33b){var view=dojo.window.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_33a,function(_33c){var _33d=_33c.corner;var pos=_33c.pos;if(_33b){_33b(node,_33c.aroundCorner,_33d);}var _33e=node.style;var _33f=_33e.display;var _340=_33e.visibility;_33e.visibility="hidden";_33e.display="";var mb=dojo.marginBox(node);_33e.display=_33f;_33e.visibility=_340;var _341=Math.max(view.l,_33d.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_342=Math.max(view.t,_33d.charAt(0)=="T"?pos.y:(pos.y-mb.h)),endX=Math.min(view.l+view.w,_33d.charAt(1)=="L"?(_341+mb.w):pos.x),endY=Math.min(view.t+view.h,_33d.charAt(0)=="T"?(_342+mb.h):pos.y),_343=endX-_341,_344=endY-_342,_345=(mb.w-_343)+(mb.h-_344);if(best==null||_345<best.overflow){best={corner:_33d,aroundCorner:_33c.aroundCorner,x:_341,y:_342,w:_343,h:_344,overflow:_345};}return !_345;});node.style.left=best.x+"px";node.style.top=best.y+"px";if(best.overflow&&_33b){_33b(node,best.aroundCorner,best.corner);}return best;};dijit.placeOnScreenAroundNode=function(node,_346,_347,_348){_346=dojo.byId(_346);var _349=_346.style.display;_346.style.display="";var _34a=dojo.position(_346,true);_346.style.display=_349;return dijit._placeOnScreenAroundRect(node,_34a.x,_34a.y,_34a.w,_34a.h,_347,_348);};dijit.placeOnScreenAroundRectangle=function(node,_34b,_34c,_34d){return dijit._placeOnScreenAroundRect(node,_34b.x,_34b.y,_34b.width,_34b.height,_34c,_34d);};dijit._placeOnScreenAroundRect=function(node,x,y,_34e,_34f,_350,_351){var _352=[];for(var _353 in _350){_352.push({aroundCorner:_353,corner:_350[_353],pos:{x:x+(_353.charAt(1)=="L"?0:_34e),y:y+(_353.charAt(0)=="T"?0:_34f)}});}return dijit._place(node,_352,_351);};dijit.placementRegistry=new dojo.AdapterRegistry();dijit.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},dijit.placeOnScreenAroundNode);dijit.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},dijit.placeOnScreenAroundRectangle);dijit.placeOnScreenAroundElement=function(node,_354,_355,_356){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAroundAlignment=function(_357,_358){var _359={};dojo.forEach(_357,function(pos){switch(pos){case "after":_359[_358?"BR":"BL"]=_358?"BL":"BR";break;case "before":_359[_358?"BL":"BR"]=_358?"BR":"BL";break;case "below":_359[_358?"BL":"BR"]=_358?"TL":"TR";_359[_358?"BR":"BL"]=_358?"TR":"TL";break;case "above":default:_359[_358?"TL":"TR"]=_358?"BL":"BR";_359[_358?"TR":"TL"]=_358?"BR":"BL";break;}});return _359;};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){return dojo.window.get(doc);};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup={_stack:[],_beginZIndex:1000,_idGen:1,moveOffScreen:function(node){var _35a=node.parentNode;if(!_35a||!dojo.hasClass(_35a,"dijitPopup")){_35a=dojo.create("div",{"class":"dijitPopup",style:{visibility:"hidden",top:"-9999px"}},dojo.body());dijit.setWaiRole(_35a,"presentation");_35a.appendChild(node);}var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";dojo.style(_35a,{visibility:"hidden",top:"-9999px"});},getTopPopup:function(){var _35b=this._stack;for(var pi=_35b.length-1;pi>0&&_35b[pi].parent===_35b[pi-1].widget;pi--){}return _35b[pi];},open:function(args){var _35c=this._stack,_35d=args.popup,_35e=args.orient||((args.parent?args.parent.isLeftToRight():dojo._isBodyLtr())?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),_35f=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);var _360=_35d.domNode.parentNode;if(!_360||!dojo.hasClass(_360,"dijitPopup")){this.moveOffScreen(_35d.domNode);_360=_35d.domNode.parentNode;}dojo.attr(_360,{id:id,style:{zIndex:this._beginZIndex+_35c.length},"class":"dijitPopup "+(_35d.baseClass||_35d["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(dojo.isIE||dojo.isMoz){var _361=_360.childNodes[1];if(!_361){_361=new dijit.BackgroundIframe(_360);}}var best=_35f?dijit.placeOnScreenAroundElement(_360,_35f,_35e,_35d.orient?dojo.hitch(_35d,"orient"):null):dijit.placeOnScreen(_360,args,_35e=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_360.style.visibility="visible";_35d.domNode.style.visibility="visible";var _362=[];_362.push(dojo.connect(_360,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&args.onCancel){dojo.stopEvent(evt);args.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _363=this.getTopPopup();if(_363&&_363.onCancel){_363.onCancel();}}}}));if(_35d.onCancel){_362.push(dojo.connect(_35d,"onCancel",args.onCancel));}_362.push(dojo.connect(_35d,_35d.onExecute?"onExecute":"onChange",this,function(){var _364=this.getTopPopup();if(_364&&_364.onExecute){_364.onExecute();}}));_35c.push({wrapper:_360,iframe:_361,widget:_35d,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_362});if(_35d.onOpen){_35d.onOpen(best);}return best;},close:function(_365){var _366=this._stack;while(dojo.some(_366,function(elem){return elem.widget==_365;})){var top=_366.pop(),_367=top.wrapper,_368=top.iframe,_369=top.widget,_36a=top.onClose;if(_369.onClose){_369.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_369&&_369.domNode){this.moveOffScreen(_369.domNode);}else{dojo.destroy(_367);}if(_36a){_36a();}}}};dijit._frames=new function(){var _36b=[];this.pop=function(){var _36c;if(_36b.length){_36c=_36b.pop();_36c.style.display="";}else{if(dojo.isIE){var burl=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var html="<iframe src='"+burl+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_36c=dojo.doc.createElement(html);}else{_36c=dojo.create("iframe");_36c.src="javascript:\"\"";_36c.className="dijitBackgroundIframe";dojo.style(_36c,"opacity",0.1);}_36c.tabIndex=-1;dijit.setWaiRole(_36c,"presentation");}return _36c;};this.push=function(_36d){_36d.style.display="none";_36b.push(_36d);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _36e=dijit._frames.pop();node.appendChild(_36e);if(dojo.isIE<7){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_36e,{width:"100%",height:"100%"});}this.iframe=_36e;}};dojo.extend(dijit.BackgroundIframe,{resize:function(node){if(this.iframe&&dojo.isIE<7){dojo.style(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){dojo.disconnect(this._conn);this._conn=null;}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,pos){dojo.window.scrollIntoView(node,pos);};}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");}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=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_36f,node,_370,obj,_371,_372,_373){if(obj!=this._obj){this.stop();this._initialDelay=_372||500;this._subsequentDelay=_371||0.9;this._minDelay=_373||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_36f,_370);this._fireEventAndReload();this._evt=dojo.mixin({faux:true},evt);}},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,_374,_375,_376,_377,_378,_379){if(_374.keyCode){_374.charOrCode=_374.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_374.charCode){_374.charOrCode=String.fromCharCode(_374.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.charOrCode==_374.charOrCode&&(_374.ctrlKey===undefined||_374.ctrlKey==evt.ctrlKey)&&(_374.altKey===undefined||_374.altKey==evt.altKey)&&(_374.metaKey===undefined||_374.metaKey==(evt.metaKey||false))&&(_374.shiftKey===undefined||_374.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_375,node,_376,_374,_377,_378,_379);}else{if(dijit.typematic._obj==_374){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_374){dijit.typematic.stop();}})];},addMouseListener:function(node,_37a,_37b,_37c,_37d,_37e){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_37a,node,_37b,node,_37c,_37d,_37e);}),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){evt.preventDefault();}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_37a,node,_37b,node,_37c,_37d,_37e);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_37f,_380,_381,_382,_383,_384,_385,_386){return this.addKeyListener(_380,_381,_382,_383,_384,_385,_386).concat(this.addMouseListener(_37f,_382,_383,_384,_385,_386));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");"}},dojo.body());var cs=dojo.getComputedStyle(div);if(cs){var _387=cs.backgroundImage;var _388=(cs.borderTopColor==cs.borderRightColor)||(_387!=null&&(_387=="none"||_387=="url(invalid-url:)"));dojo[_388?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{_XhtmlRoles:/banner|contentinfo|definition|main|navigation|search|note|secondary|seealso/,hasWaiRole:function(elem,role){var _389=this.getWaiRole(elem);return role?(_389.indexOf(role)>-1):(_389.length>0);},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));},setWaiRole:function(elem,role){var _38a=dojo.attr(elem,"role")||"";if(!this._XhtmlRoles.test(_38a)){dojo.attr(elem,"role",role);}else{if((" "+_38a+" ").indexOf(" "+role+" ")<0){var _38b=dojo.trim(_38a.replace(this._XhtmlRoles,""));var _38c=dojo.trim(_38a.replace(_38b,""));dojo.attr(elem,"role",_38c+(_38c?" ":"")+role);}}},removeWaiRole:function(elem,role){var _38d=dojo.attr(elem,"role");if(!_38d){return;}if(role){var t=dojo.trim((" "+_38d+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_38e){return elem.hasAttribute?elem.hasAttribute("aria-"+_38e):!!elem.getAttribute("aria-"+_38e);},getWaiState:function(elem,_38f){return elem.getAttribute("aria-"+_38f)||"";},setWaiState:function(elem,_390,_391){elem.setAttribute("aria-"+_390,_391);},removeWaiState:function(elem,_392){elem.removeAttribute("aria-"+_392);}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.connect(dojo,"_connect",function(_393,_394){if(_393&&dojo.isFunction(_393._onConnect)){_393._onConnect(_394);}});dijit._connectOnUseEventHandler=function(_395){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _396=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_396);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_396);});})();}else{dojo.doc.addEventListener("keydown",function(evt){dijit._lastKeyDownNode=evt.target;},true);}(function(){var _397={},_398=function(_399){var dc=_399.declaredClass;if(!_397[dc]){var r=[],_39a,_39b=_399.constructor.prototype;for(var _39c in _39b){if(dojo.isFunction(_39b[_39c])&&(_39a=_39c.match(/^_set([a-zA-Z]*)Attr$/))&&_39a[1]){r.push(_39a[1].charAt(0).toLowerCase()+_39a[1].substr(1));}}_397[dc]=r;}return _397[dc]||[];};dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_39d,_39e){this.create(_39d,_39e);},create:function(_39f,_3a0){this.srcNodeRef=dojo.byId(_3a0);this._connects=[];this._subscribes=[];this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_39f){this.params=_39f;dojo.mixin(this,_39f);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _3a1=this.srcNodeRef;if(_3a1&&_3a1.parentNode){_3a1.parentNode.replaceChild(this.domNode,_3a1);}for(attr in this.params){this._onConnect(attr);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _3a2=function(attr,_3a3){if((_3a3.params&&attr in _3a3.params)||_3a3[attr]){_3a3.set(attr,_3a3[attr]);}};for(var attr in this.attributeMap){_3a2(attr,this);}dojo.forEach(_398(this),function(a){if(!(a in this.attributeMap)){_3a2(a,this);}},this);},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.create("div");},postCreate:function(){if(this.baseClass){var _3a4=this.baseClass.split(" ");if(!this.isLeftToRight()){_3a4=_3a4.concat(dojo.map(_3a4,function(name){return name+"Rtl";}));}dojo.addClass(this.domNode,_3a4);}},startup:function(){this._started=true;},destroyRecursive:function(_3a5){this._beingDestroyed=true;this.destroyDescendants(_3a5);this.destroy(_3a5);},destroy:function(_3a6){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_3a7){dfe(_3a7,d.disconnect);});dfe(this._subscribes,function(_3a8){dun(_3a8);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_3a6);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_3a9){if(this.bgIframe){this.bgIframe.destroy(_3a9);delete this.bgIframe;}if(this.domNode){if(_3a9){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_3a9){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_3aa){dojo.forEach(this.getChildren(),function(_3ab){if(_3ab.destroyRecursive){_3ab.destroyRecursive(_3aa);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},_onConnect:function(_3ac){if(_3ac in this._deferredConnects){var _3ad=this[this._deferredConnects[_3ac]||"domNode"];this.connect(_3ad,_3ac.toLowerCase(),_3ac);delete this._deferredConnects[_3ac];}},_setClassAttr:function(_3ae){var _3af=this[this.attributeMap["class"]||"domNode"];dojo.removeClass(_3af,this["class"]);this["class"]=_3ae;dojo.addClass(_3af,_3ae);},_setStyleAttr:function(_3b0){var _3b1=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_3b0)){dojo.style(_3b1,_3b0);}else{if(_3b1.style.cssText){_3b1.style.cssText+="; "+_3b0;}else{_3b1.style.cssText=_3b0;}}this.style=_3b0;},setAttribute:function(attr,_3b2){dojo.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_3b2);},_attrToDom:function(attr,_3b3){var _3b4=this.attributeMap[attr];dojo.forEach(dojo.isArray(_3b4)?_3b4:[_3b4],function(_3b5){var _3b6=this[_3b5.node||_3b5||"domNode"];var type=_3b5.type||"attribute";switch(type){case "attribute":if(dojo.isFunction(_3b3)){_3b3=dojo.hitch(this,_3b3);}var _3b7=_3b5.attribute?_3b5.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);dojo.attr(_3b6,_3b7,_3b3);break;case "innerText":_3b6.innerHTML="";_3b6.appendChild(dojo.doc.createTextNode(_3b3));break;case "innerHTML":_3b6.innerHTML=_3b3;break;case "class":dojo.removeClass(_3b6,this[attr]);dojo.addClass(_3b6,_3b3);break;}},this);this[attr]=_3b3;},attr:function(name,_3b8){if(dojo.config.isDebug){var _3b9=arguments.callee._ach||(arguments.callee._ach={}),_3ba=(arguments.callee.caller||"unknown caller").toString();if(!_3b9[_3ba]){dojo.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_3ba,"","2.0");_3b9[_3ba]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},get:function(name){var _3bb=this._getAttrNames(name);return this[_3bb.g]?this[_3bb.g]():this[name];},set:function(name,_3bc){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _3bd=this._getAttrNames(name);if(this[_3bd.s]){var _3be=this[_3bd.s].apply(this,Array.prototype.slice.call(arguments,1));}else{if(name in this.attributeMap){this._attrToDom(name,_3bc);}var _3bf=this[name];this[name]=_3bc;}return _3be||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){return this.containerNode?dojo.query("[widgetId]",this.containerNode).map(dijit.byNode):[];},getChildren:function(){return this.containerNode?dijit.findWidgets(this.containerNode):[];},nodesWithKeyClick:["input","button"],connect:function(obj,_3c0,_3c1){var d=dojo,dc=d._connect,_3c2=[];if(_3c0=="ondijitclick"){if(dojo.indexOf(this.nodesWithKeyClick,obj.nodeName.toLowerCase())==-1){var m=d.hitch(this,_3c1);_3c2.push(dc(obj,"onkeydown",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=e.target;e.preventDefault();}}),dc(obj,"onkeyup",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&e.target===dijit._lastKeyDownNode&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=null;return m(e);}}));}_3c0="onclick";}_3c2.push(dc(obj,_3c0,this,_3c1));this._connects.push(_3c2);return _3c2;},disconnect:function(_3c3){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_3c3){dojo.forEach(_3c3,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_3c4,_3c5){var d=dojo,_3c6=d.subscribe(_3c4,this,_3c5);this._subscribes.push(_3c6);return _3c6;},unsubscribe:function(_3c7){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_3c7){dojo.unsubscribe(_3c7);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):dojo._isBodyLtr();},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},placeAt:function(_3c8,_3c9){if(_3c8.declaredClass&&_3c8.addChild){_3c8.addChild(this,_3c9);}else{dojo.place(this.domNode,_3c8,_3c9);}return this;},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});})();}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_3ca,map,_3cb,_3cc){_3cc=_3cc||dojo.global;_3cb=_3cb?dojo.hitch(_3cc,_3cb):function(v){return v;};return _3ca.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_3cd,key,_3ce){var _3cf=dojo.getObject(key,false,map);if(_3ce){_3cf=dojo.getObject(_3ce,false,_3cc).call(_3cc,_3cf,key);}return _3cb(_3cf,key).toString();});};dojo.string.trim=String.prototype.trim?dojo.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.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_3d0,_3d1){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 _3d2=dojo.date.stamp._isoRegExp.exec(_3d0),_3d3=null;if(_3d2){_3d2.shift();if(_3d2[1]){_3d2[1]--;}if(_3d2[6]){_3d2[6]*=1000;}if(_3d1){_3d1=new Date(_3d1);dojo.forEach(dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _3d1["get"+prop]();}),function(_3d4,_3d5){_3d2[_3d5]=_3d2[_3d5]||_3d4;});}_3d3=new Date(_3d2[0]||1970,_3d2[1]||0,_3d2[2]||1,_3d2[3]||0,_3d2[4]||0,_3d2[5]||0,_3d2[6]||0);if(_3d2[0]<100){_3d3.setFullYear(_3d2[0]||1970);}var _3d6=0,_3d7=_3d2[7]&&_3d2[7].charAt(0);if(_3d7!="Z"){_3d6=((_3d2[8]||0)*60)+(Number(_3d2[9])||0);if(_3d7!="-"){_3d6*=-1;}}if(_3d7){_3d6-=_3d3.getTimezoneOffset();}if(_3d6){_3d3.setTime(_3d3.getTime()+_3d6*60000);}}return _3d3;};dojo.date.stamp.toISOString=function(_3d8,_3d9){var _3da=function(n){return (n<10)?"0"+n:n;};_3d9=_3d9||{};var _3db=[],_3dc=_3d9.zulu?"getUTC":"get",date="";if(_3d9.selector!="time"){var year=_3d8[_3dc+"FullYear"]();date=["0000".substr((year+"").length)+year,_3da(_3d8[_3dc+"Month"]()+1),_3da(_3d8[_3dc+"Date"]())].join("-");}_3db.push(date);if(_3d9.selector!="date"){var time=[_3da(_3d8[_3dc+"Hours"]()),_3da(_3d8[_3dc+"Minutes"]()),_3da(_3d8[_3dc+"Seconds"]())].join(":");var _3dd=_3d8[_3dc+"Milliseconds"]();if(_3d9.milliseconds){time+="."+(_3dd<100?"0":"")+_3da(_3dd);}if(_3d9.zulu){time+="Z";}else{if(_3d9.selector!="time"){var _3de=_3d8.getTimezoneOffset();var _3df=Math.abs(_3de);time+=(_3de>0?"-":"+")+_3da(Math.floor(_3df/60))+":"+_3da(_3df%60);}}_3db.push(time);}return _3db.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");new Date("X");dojo.parser=new function(){var d=dojo;this._attrName=d._scopeName+"Type";this._query="["+this._attrName+"]";function _3e0(_3e1){if(d.isString(_3e1)){return "string";}if(typeof _3e1=="number"){return "number";}if(typeof _3e1=="boolean"){return "boolean";}if(d.isFunction(_3e1)){return "function";}if(d.isArray(_3e1)){return "array";}if(_3e1 instanceof Date){return "date";}if(_3e1 instanceof d._Url){return "url";}return "object";};function _3e2(_3e3,type){switch(type){case "string":return _3e3;case "number":return _3e3.length?Number(_3e3):NaN;case "boolean":return typeof _3e3=="boolean"?_3e3:!(_3e3.toLowerCase()=="false");case "function":if(d.isFunction(_3e3)){_3e3=_3e3.toString();_3e3=d.trim(_3e3.substring(_3e3.indexOf("{")+1,_3e3.length-1));}try{if(_3e3===""||_3e3.search(/[^\w\.]+/i)!=-1){return new Function(_3e3);}else{return d.getObject(_3e3,false)||new Function(_3e3);}}catch(e){return new Function();}case "array":return _3e3?_3e3.split(/\s*,\s*/):[];case "date":switch(_3e3){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_3e3);}case "url":return d.baseUrl+_3e3;default:return d.fromJson(_3e3);}};var _3e4={};dojo.connect(dojo,"extend",function(){_3e4={};});function _3e5(_3e6){if(!_3e4[_3e6]){var cls=d.getObject(_3e6);if(!cls){return null;}var _3e7=cls.prototype;var _3e8={},_3e9={};for(var name in _3e7){if(name.charAt(0)=="_"){continue;}if(name in _3e9){continue;}var _3ea=_3e7[name];_3e8[name]=_3e0(_3ea);}_3e4[_3e6]={cls:cls,params:_3e8};}return _3e4[_3e6];};this._functionFromScript=function(_3eb){var _3ec="";var _3ed="";var _3ee=_3eb.getAttribute("args");if(_3ee){d.forEach(_3ee.split(/\s*,\s*/),function(part,idx){_3ec+="var "+part+" = arguments["+idx+"]; ";});}var _3ef=_3eb.getAttribute("with");if(_3ef&&_3ef.length){d.forEach(_3ef.split(/\s*,\s*/),function(part){_3ec+="with("+part+"){";_3ed+="}";});}return new Function(_3ec+_3eb.innerHTML+_3ed);};this.instantiate=function(_3f0,_3f1,args){var _3f2=[],dp=dojo.parser;_3f1=_3f1||{};args=args||{};d.forEach(_3f0,function(obj){if(!obj){return;}var node,type,_3f3,_3f4,_3f5;if(obj.node){node=obj.node;type=obj.type;_3f3=obj.clsInfo||(type&&_3e5(type));_3f4=_3f3&&_3f3.cls;_3f5=obj.scripts;}else{node=obj;type=dp._attrName in _3f1?_3f1[dp._attrName]:node.getAttribute(dp._attrName);_3f3=type&&_3e5(type);_3f4=_3f3&&_3f3.cls;_3f5=(_3f4&&(_3f4._noScript||_3f4.prototype._noScript)?[]:d.query("> script[type^='dojo/']",node));}if(!_3f3){throw new Error("Could not load class '"+type);}var _3f6={},_3f7=node.attributes;if(args.defaults){dojo.mixin(_3f6,args.defaults);}if(obj.inherited){dojo.mixin(_3f6,obj.inherited);}for(var name in _3f3.params){var item=name in _3f1?{value:_3f1[name],specified:true}:_3f7.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _3f8=item.value;switch(name){case "class":_3f8="className" in _3f1?_3f1.className:node.className;break;case "style":_3f8="style" in _3f1?_3f1.style:(node.style&&node.style.cssText);}var _3f9=_3f3.params[name];if(typeof _3f8=="string"){_3f6[name]=_3e2(_3f8,_3f9);}else{_3f6[name]=_3f8;}}var _3fa=[],_3fb=[];d.forEach(_3f5,function(_3fc){node.removeChild(_3fc);var _3fd=_3fc.getAttribute("event"),type=_3fc.getAttribute("type"),nf=d.parser._functionFromScript(_3fc);if(_3fd){if(type=="dojo/connect"){_3fa.push({event:_3fd,func:nf});}else{_3f6[_3fd]=nf;}}else{_3fb.push(nf);}});var _3fe=_3f4.markupFactory||_3f4.prototype&&_3f4.prototype.markupFactory;var _3ff=_3fe?_3fe(_3f6,node,_3f4):new _3f4(_3f6,node);_3f2.push(_3ff);var _400=node.getAttribute("jsId");if(_400){d.setObject(_400,_3ff);}d.forEach(_3fa,function(_401){d.connect(_3ff,_401.event,null,_401.func);});d.forEach(_3fb,function(func){func.call(_3ff);});});if(!_3f1._started){d.forEach(_3f2,function(_402){if(!args.noStart&&_402&&_402.startup&&!_402._started&&(!_402.getParent||!_402.getParent())){_402.startup();}});}return _3f2;};this.parse=function(_403,args){var root;if(!args&&_403&&_403.rootNode){args=_403;root=args.rootNode;}else{root=_403;}var _404=this._attrName;function scan(_405,list){var _406=dojo.clone(_405.inherited);dojo.forEach(["dir","lang"],function(name){var val=_405.node.getAttribute(name);if(val){_406[name]=val;}});var _407=_405.scripts;var _408=!_405.clsInfo||!_405.clsInfo.cls.prototype.stopParser;for(var _409=_405.node.firstChild;_409;_409=_409.nextSibling){if(_409.nodeType==1){var type=_408&&_409.getAttribute(_404);if(type){var _40a={"type":type,clsInfo:_3e5(type),node:_409,scripts:[],inherited:_406};list.push(_40a);scan(_40a,list);}else{if(_407&&_409.nodeName.toLowerCase()=="script"){type=_409.getAttribute("type");if(type&&/^dojo\//i.test(type)){_407.push(_409);}}else{if(_408){scan({node:_409,inherited:_406},list);}}}}}};var list=[];scan({node:root?dojo.byId(root):dojo.body(),inherited:(args&&args.inherited)||{dir:dojo._isBodyLtr()?"ltr":"rtl"}},list);return this.instantiate(list,null,args);};}();(function(){var _40b=function(){if(dojo.config.parseOnLoad){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_40b);}else{dojo._loaders.unshift(_40b);}})();}if(!dojo._hasResource["dojo.cache"]){dojo._hasResource["dojo.cache"]=true;dojo.provide("dojo.cache");(function(){var _40c={};dojo.cache=function(_40d,url,_40e){if(typeof _40d=="string"){var _40f=dojo.moduleUrl(_40d,url);}else{_40f=_40d;_40e=url;}var key=_40f.toString();var val=_40e;if(_40e!=undefined&&!dojo.isString(_40e)){val=("value" in _40e?_40e.value:undefined);}var _410=_40e&&_40e.sanitize?true:false;if(typeof val=="string"){val=_40c[key]=_410?dojo.cache._sanitize(val):val;}else{if(val===null){delete _40c[key];}else{if(!(key in _40c)){val=dojo._getText(key);_40c[key]=_410?dojo.cache._sanitize(val):val;}val=_40c[key];}}return val;};dojo.cache._sanitize=function(val){if(val){val=val.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _411=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_411){val=_411[1];}}else{val="";}return val;};})();}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];},_stringRepl:function(tmpl){var _412=this.declaredClass,_413=this;return dojo.string.substitute(tmpl,this,function(_414,key){if(key.charAt(0)=="!"){_414=dojo.getObject(key.substr(1),false,_413);}if(typeof _414=="undefined"){throw new Error(_412+" template:"+key);}if(_414==null){return "";}return key.charAt(0)=="!"?_414:_414.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _415=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_415)){node=dojo._toDom(this._stringRepl(_415));if(node.nodeType!=1){throw new Error("Invalid template: "+_415);}}else{node=_415.cloneNode(true);}this.domNode=node;this._attachTemplateNodes(node);if(this.widgetsInTemplate){var _416=dojo.parser,qry,attr;if(_416._query!="[dojoType]"){qry=_416._query;attr=_416._attrName;_416._query="[dojoType]";_416._attrName="dojoType";}var cw=(this._startupWidgets=dojo.parser.parse(node,{noStart:!this._earlyTemplatedStartup,inherited:{dir:this.dir,lang:this.lang}}));if(qry){_416._query=qry;_416._attrName=attr;}this._supportingWidgets=dijit.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(this.srcNodeRef);},_fillContent:function(_417){var dest=this.containerNode;if(_417&&dest){while(_417.hasChildNodes()){dest.appendChild(_417.firstChild);}}},_attachTemplateNodes:function(_418,_419){_419=_419||function(n,p){return n.getAttribute(p);};var _41a=dojo.isArray(_418)?_418:(_418.all||_418.getElementsByTagName("*"));var x=dojo.isArray(_418)?0:-1;for(;x<_41a.length;x++){var _41b=(x==-1)?_418:_41a[x];if(this.widgetsInTemplate&&_419(_41b,"dojoType")){continue;}var _41c=_419(_41b,"dojoAttachPoint");if(_41c){var _41d,_41e=_41c.split(/\s*,\s*/);while((_41d=_41e.shift())){if(dojo.isArray(this[_41d])){this[_41d].push(_41b);}else{this[_41d]=_41b;}this._attachPoints.push(_41d);}}var _41f=_419(_41b,"dojoAttachEvent");if(_41f){var _420,_421=_41f.split(/\s*,\s*/);var trim=dojo.trim;while((_420=_421.shift())){if(_420){var _422=null;if(_420.indexOf(":")!=-1){var _423=_420.split(":");_420=trim(_423[0]);_422=trim(_423[1]);}else{_420=trim(_420);}if(!_422){_422=_420;}this.connect(_41b,_420,_422);}}}var role=_419(_41b,"waiRole");if(role){dijit.setWaiRole(_41b,role);}var _424=_419(_41b,"waiState");if(_424){dojo.forEach(_424.split(/\s*,\s*/),function(_425){if(_425.indexOf("-")!=-1){var pair=_425.split("-");dijit.setWaiState(_41b,pair[0],pair[1]);}});}}},startup:function(){dojo.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);},destroyRendering:function(){dojo.forEach(this._attachPoints,function(_426){delete this[_426];},this);this._attachPoints=[];this.inherited(arguments);}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_427,_428,_429){var _42a=dijit._Templated._templateCache;var key=_428||_427;var _42b=_42a[key];if(_42b){try{if(!_42b.ownerDocument||_42b.ownerDocument==dojo.doc){return _42b;}}catch(e){}dojo.destroy(_42b);}if(!_428){_428=dojo.cache(_427,{sanitize:true});}_428=dojo.string.trim(_428);if(_429||_428.match(/\$\{([^\}]+)\}/g)){return (_42a[key]=_428);}else{var node=dojo._toDom(_428);if(node.nodeType!=1){throw new Error("Invalid template: "+_428);}return (_42a[key]=node);}};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _42c=dijit._Templated._templateCache;for(var key in _42c){var _42d=_42c[key];if(typeof _42d=="object"){dojo.destroy(_42d);}delete _42c[key];}});}dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._CssStateMixin"]){dojo._hasResource["dijit._CssStateMixin"]=true;dojo.provide("dijit._CssStateMixin");dojo.declare("dijit._CssStateMixin",[],{cssStateNodes:{},postCreate:function(){this.inherited(arguments);dojo.forEach(["onmouseenter","onmouseleave","onmousedown"],function(e){this.connect(this.domNode,e,"_cssMouseEvent");},this);this.connect(this,"set",function(name,_42e){if(arguments.length>=2&&{disabled:true,readOnly:true,checked:true,selected:true}[name]){this._setStateClass();}});dojo.forEach(["_onFocus","_onBlur"],function(ap){this.connect(this,ap,"_setStateClass");},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._setStateClass();},_cssMouseEvent:function(_42f){if(!this.disabled){switch(_42f.type){case "mouseenter":case "mouseover":this._hovering=true;this._active=this._mouseDown;break;case "mouseleave":case "mouseout":this._hovering=false;this._active=false;break;case "mousedown":this._active=true;this._mouseDown=true;var _430=this.connect(dojo.body(),"onmouseup",function(){this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_430);});break;}this._setStateClass();}},_setStateClass:function(){var _431=this.baseClass.split(" ");function _432(_433){_431=_431.concat(dojo.map(_431,function(c){return c+_433;}),"dijit"+_433);};if(!this.isLeftToRight()){_432("Rtl");}if(this.checked){_432("Checked");}if(this.state){_432(this.state);}if(this.selected){_432("Selected");}if(this.disabled){_432("Disabled");}else{if(this.readOnly){_432("ReadOnly");}else{if(this._active){_432("Active");}else{if(this._hovering){_432("Hover");}}}}if(this._focused){_432("Focused");}var tn=this.stateNode||this.domNode,_434={};dojo.forEach(tn.className.split(" "),function(c){_434[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _434[c];});}dojo.forEach(_431,function(c){_434[c]=true;});var _435=[];for(var c in _434){_435.push(c);}tn.className=_435.join(" ");this._stateClasses=_431;},_trackMouseState:function(node,_436){var _437=false,_438=false,_439=false;var self=this,cn=dojo.hitch(this,"connect",node);function _43a(){var _43b=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);dojo.toggleClass(node,_436+"Hover",_437&&!_438&&!_43b);dojo.toggleClass(node,_436+"Active",_438&&!_43b);dojo.toggleClass(node,_436+"Focused",_439&&!_43b);};cn("onmouseenter",function(){_437=true;_43a();});cn("onmouseleave",function(){_437=false;_438=false;_43a();});cn("onmousedown",function(){_438=true;_43a();});cn("onmouseup",function(){_438=false;_43a();});cn("onfocus",function(){_439=true;_43a();});cn("onblur",function(){_439=false;_43a();});this.connect(this,"set",function(name,_43c){if(name=="disabled"||name=="readOnly"){_43a();}});}});}if(!dojo._hasResource["dijit.form._FormMixin"]){dojo._hasResource["dijit.form._FormMixin"]=true;dojo.provide("dijit.form._FormMixin");dojo.declare("dijit.form._FormMixin",null,{reset:function(){dojo.forEach(this.getDescendants(),function(_43d){if(_43d.reset){_43d.reset();}});},validate:function(){var _43e=false;return dojo.every(dojo.map(this.getDescendants(),function(_43f){_43f._hasBeenBlurred=true;var _440=_43f.disabled||!_43f.validate||_43f.validate();if(!_440&&!_43e){dojo.window.scrollIntoView(_43f.containerNode||_43f.domNode);_43f.focus();_43e=true;}return _440;}),function(item){return item;});},setValues:function(val){dojo.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_441){if(!_441.name){return;}var _442=map[_441.name]||(map[_441.name]=[]);_442.push(_441);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _443=map[name],_444=dojo.getObject(name,false,obj);if(_444===undefined){continue;}if(!dojo.isArray(_444)){_444=[_444];}if(typeof _443[0].checked=="boolean"){dojo.forEach(_443,function(w,i){w.set("value",dojo.indexOf(_444,w.value)!=-1);});}else{if(_443[0].multiple){_443[0].set("value",_444);}else{dojo.forEach(_443,function(w,i){w.set("value",_444[i]);});}}}},getValues:function(){dojo.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};dojo.forEach(this.getDescendants(),function(_445){var name=_445.name;if(!name||_445.disabled){return;}var _446=_445.get("value");if(typeof _445.checked=="boolean"){if(/Radio/.test(_445.declaredClass)){if(_446!==false){dojo.setObject(name,_446,obj);}else{_446=dojo.getObject(name,false,obj);if(_446===undefined){dojo.setObject(name,null,obj);}}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_446!==false){ary.push(_446);}}}else{var prev=dojo.getObject(name,false,obj);if(typeof prev!="undefined"){if(dojo.isArray(prev)){prev.push(_446);}else{dojo.setObject(name,[prev,_446],obj);}}else{dojo.setObject(name,_446,obj);}}});return obj;},isValid:function(){this._invalidWidgets=dojo.filter(this.getDescendants(),function(_447){return !_447.disabled&&_447.isValid&&!_447.isValid();});return !this._invalidWidgets.length;},onValidStateChange:function(_448){},_widgetChange:function(_449){var _44a=this._lastValidState;if(!_449||this._lastValidState===undefined){_44a=this.isValid();if(this._lastValidState===undefined){this._lastValidState=_44a;}}else{if(_449.isValid){this._invalidWidgets=dojo.filter(this._invalidWidgets||[],function(w){return (w!=_449);},this);if(!_449.isValid()&&!_449.get("disabled")){this._invalidWidgets.push(_449);}_44a=(this._invalidWidgets.length===0);}}if(_44a!==this._lastValidState){this._lastValidState=_44a;this.onValidStateChange(_44a);}},connectChildren:function(){dojo.forEach(this._changeConnections,dojo.hitch(this,"disconnect"));var _44b=this;var _44c=(this._changeConnections=[]);dojo.forEach(dojo.filter(this.getDescendants(),function(item){return item.validate;}),function(_44d){_44c.push(_44b.connect(_44d,"validate",dojo.hitch(_44b,"_widgetChange",_44d)));_44c.push(_44b.connect(_44d,"_setDisabledAttr",dojo.hitch(_44b,"_widgetChange",_44d)));});this._widgetChange(null);},startup:function(){this.inherited(arguments);this._changeConnections=[];this.connectChildren();}});}if(!dojo._hasResource["dijit._DialogMixin"]){dojo._hasResource["dijit._DialogMixin"]=true;dojo.provide("dijit._DialogMixin");dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_44e){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(_44f){var _450=dijit._getTabNavigable(dojo.byId(_44f));this._firstFocusItem=_450.lowest||_450.first||_44f;this._lastFocusItem=_450.last||_450.highest||this._firstFocusItem;if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.getNodeProp(this._firstFocusItem,"type").toLowerCase()=="file"){dojo.attr(_44f,"tabIndex","0");this._firstFocusItem=_44f;}}});}if(!dojo._hasResource["dijit.DialogUnderlay"]){dojo._hasResource["dijit.DialogUnderlay"]=true;dojo.provide("dijit.DialogUnderlay");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' dojoAttachPoint='node'></div></div>",dialogId:"","class":"",attributeMap:{id:"domNode"},_setDialogIdAttr:function(id){dojo.attr(this.node,"id",id+"_underlay");},_setClassAttr:function(_451){this.node.className="dijitDialogUnderlay "+_451;},postCreate:function(){dojo.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _452=dojo.window.getBox();os.top=_452.t+"px";os.left=_452.l+"px";is.width=_452.w+"px";is.height=_452.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new dijit.BackgroundIframe(this.domNode);},hide:function(){this.bgIframe.destroy();this.domNode.style.display="none";},uninitialize:function(){if(this.bgIframe){this.bgIframe.destroy();}this.inherited(arguments);}});}if(!dojo._hasResource["dijit._Contained"]){dojo._hasResource["dijit._Contained"]=true;dojo.provide("dijit._Contained");dojo.declare("dijit._Contained",null,{getParent:function(){var _453=dijit.getEnclosingWidget(this.domNode.parentNode);return _453&&_453.isContainer?_453:null;},_getSibling:function(_454){var node=this.domNode;do{node=node[_454+"Sibling"];}while(node&&node.nodeType!=1);return node&&dijit.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_455,_456){var _457=this.containerNode;if(_456&&typeof _456=="number"){var _458=this.getChildren();if(_458&&_458.length>=_456){_457=_458[_456-1].domNode;_456="after";}}dojo.place(_455.domNode,_457,_456);if(this._started&&!_455._started){_455.startup();}},removeChild:function(_459){if(typeof _459=="number"&&_459>0){_459=this.getChildren()[_459];}if(_459){var node=_459.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},destroyDescendants:function(_45a){dojo.forEach(this.getChildren(),function(_45b){_45b.destroyRecursive(_45a);});},_getSiblingOfChild:function(_45c,dir){var node=_45c.domNode,_45d=(dir>0?"nextSibling":"previousSibling");do{node=node[_45d];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node&&dijit.byNode(node);},getIndexOfChild:function(_45e){return dojo.indexOf(this.getChildren(),_45e);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_45f){_45f.startup();});this.inherited(arguments);}});}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],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){dojo.addClass(this.domNode,"dijitContainer");this.inherited(arguments);},startup:function(){if(this._started){return;}this.inherited(arguments);var _460=this.getParent&&this.getParent();if(!(_460&&_460.isLayoutContainer)){this.resize();this.connect(dojo.isIE?this.domNode:dojo.global,"onresize",function(){this.resize();});}},resize:function(_461,_462){var node=this.domNode;if(_461){dojo.marginBox(node,_461);if(_461.t){node.style.top=_461.t+"px";}if(_461.l){node.style.left=_461.l+"px";}}var mb=_462||{};dojo.mixin(mb,_461||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(node),mb);}var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var be=dojo._getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=dojo._getPadExtents(node,cs);this._contentBox={l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_463){dojo.addClass(_463.domNode,this.baseClass+"-child");if(_463.baseClass){dojo.addClass(_463.domNode,this.baseClass+"-"+_463.baseClass);}},addChild:function(_464,_465){this.inherited(arguments);if(this._started){this._setupChild(_464);}},removeChild:function(_466){dojo.removeClass(_466.domNode,this.baseClass+"-child");if(_466.baseClass){dojo.removeClass(_466.domNode,this.baseClass+"-"+_466.baseClass);}this.inherited(arguments);}});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 _467=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_468,dim){_468.resize?_468.resize(dim):dojo.marginBox(_468.domNode,dim);dojo.mixin(_468,dojo.marginBox(_468.domNode));dojo.mixin(_468,dim);};dijit.layout.layoutChildren=function(_469,dim,_46a){dim=dojo.mixin({},dim);dojo.addClass(_469,"dijitLayoutContainer");_46a=dojo.filter(_46a,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_46a,function(item){return item.layoutAlign=="client";}));dojo.forEach(_46a,function(_46b){var elm=_46b.domNode,pos=_46b.layoutAlign;var _46c=elm.style;_46c.left=dim.l+"px";_46c.top=dim.t+"px";_46c.bottom=_46c.right="auto";dojo.addClass(elm,"dijitAlign"+_467(pos));if(pos=="top"||pos=="bottom"){size(_46b,{w:dim.w});dim.h-=_46b.h;if(pos=="top"){dim.t+=_46b.h;}else{_46c.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_46b,{h:dim.h});dim.w-=_46b.w;if(pos=="left"){dim.l+=_46b.w;}else{_46c.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_46b,dim);}}}});};})();}if(!dojo._hasResource["dojo.html"]){dojo._hasResource["dojo.html"]=true;dojo.provide("dojo.html");(function(){var _46d=0,d=dojo;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=dojo.empty;dojo.html._setNodeContent=function(node,cont){d.empty(node);if(cont){if(typeof cont=="string"){cont=d._toDom(cont,node.ownerDocument);}if(!cont.nodeType&&d.isArrayLike(cont)){for(var _46e=cont.length,i=0;i<cont.length;i=_46e==cont.length?i+1:0){d.place(cont[i],node,"last");}}else{d.place(cont,node,"last");}}return node;};dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,constructor:function(_46f,node){dojo.mixin(this,_46f||{});node=this.node=dojo.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_46d++].join("_");}},set:function(cont,_470){if(undefined!==cont){this.content=cont;}if(_470){this._mixin(_470);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _471=this.onContentError(e);try{node.innerHTML=_471;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){dojo.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(dojo.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _472=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_472){cont=_472[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_473){var _474={},key;for(key in _473){if(key in _474){continue;}this[key]=_473[key];}},_parse:function(){var _475=this.node;try{this.parseResults=dojo.parser.parse({rootNode:_475,dir:this.dir,lang:this.lang});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_476){var _477=this["on"+type+"Error"].call(this,err);if(_476){console.error(_476,err);}else{if(_477){dojo.html._setNodeContent(this.node,_477,true);}}}});dojo.html.set=function(node,cont,_478){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_478){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(dojo.mixin(_478,{content:cont,node:node}));return op.set();}};})();}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_479,_47a,_47b){_47b=dojo.i18n.normalizeLocale(_47b);var _47c=_47b.split("-");var _47d=[_479,"nls",_47a].join(".");var _47e=dojo._loadedModules[_47d];if(_47e){var _47f;for(var i=_47c.length;i>0;i--){var loc=_47c.slice(0,i).join("_");if(_47e[loc]){_47f=_47e[loc];break;}}if(!_47f){_47f=_47e.ROOT;}if(_47f){var _480=function(){};_480.prototype=_47f;return new _480();}}throw new Error("Bundle not found: "+_47a+" in "+_479+" , locale="+_47b);};dojo.i18n.normalizeLocale=function(_481){var _482=_481?_481.toLowerCase():dojo.locale;if(_482=="root"){_482="ROOT";}return _482;};dojo.i18n._requireLocalization=function(_483,_484,_485,_486){var _487=dojo.i18n.normalizeLocale(_485);var _488=[_483,"nls",_484].join(".");var _489="";if(_486){var _48a=_486.split(",");for(var i=0;i<_48a.length;i++){if(_487["indexOf"](_48a[i])==0){if(_48a[i].length>_489.length){_489=_48a[i];}}}if(!_489){_489="ROOT";}}var _48b=_486?_489:_487;var _48c=dojo._loadedModules[_488];var _48d=null;if(_48c){if(dojo.config.localizationComplete&&_48c._built){return;}var _48e=_48b.replace(/-/g,"_");var _48f=_488+"."+_48e;_48d=dojo._loadedModules[_48f];}if(!_48d){_48c=dojo["provide"](_488);var syms=dojo._getModuleSymbols(_483);var _490=syms.concat("nls").join("/");var _491;dojo.i18n._searchLocalePath(_48b,_486,function(loc){var _492=loc.replace(/-/g,"_");var _493=_488+"."+_492;var _494=false;if(!dojo._loadedModules[_493]){dojo["provide"](_493);var _495=[_490];if(loc!="ROOT"){_495.push(loc);}_495.push(_484);var _496=_495.join("/")+".js";_494=dojo._loadPath(_496,null,function(hash){var _497=function(){};_497.prototype=_491;_48c[_492]=new _497();for(var j in hash){_48c[_492][j]=hash[j];}});}else{_494=true;}if(_494&&_48c[_492]){_491=_48c[_492];}else{_48c[_492]=_491;}if(_486){return true;}});}if(_486&&_487!=_489){_48c[_487.replace(/-/g,"_")]=_48c[_489.replace(/-/g,"_")];}};(function(){var _498=dojo.config.extraLocale;if(_498){if(!_498 instanceof Array){_498=[_498];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_499,_49a){req(m,b,_499,_49a);if(_499){return;}for(var i=0;i<_498.length;i++){req(m,b,_498[i],_49a);}};}})();dojo.i18n._searchLocalePath=function(_49b,down,_49c){_49b=dojo.i18n.normalizeLocale(_49b);var _49d=_49b.split("-");var _49e=[];for(var i=_49d.length;i>0;i--){_49e.push(_49d.slice(0,i).join("-"));}_49e.push(false);if(down){_49e.reverse();}for(var j=_49e.length-1;j>=0;j--){var loc=_49e[j]||"ROOT";var stop=_49c(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_49f,_4a0){function _4a1(_4a2){_4a2=dojo.i18n.normalizeLocale(_4a2);dojo.i18n._searchLocalePath(_4a2,true,function(loc){for(var i=0;i<_4a0.length;i++){if(_4a0[i]==loc){dojo["require"](_49f+"_"+loc);return true;}}return false;});};_4a1();var _4a3=dojo.config.extraLocale||[];for(var i=0;i<_4a3.length;i++){_4a1(_4a3[i]);}};}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,baseClass:"dijitContentPane",doLayout:true,ioArgs:{},isContainer:true,isLayoutContainer:true,onLoadDeferred:null,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[]}),postMixInProperties:function(){this.inherited(arguments);var _4a4=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_4a4);this.errorMessage=dojo.string.substitute(this.errorMessage,_4a4);if(!this.href&&this.srcNodeRef&&this.srcNodeRef.innerHTML){this.isLoaded=true;}},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},postCreate:function(){this.domNode.title="";if(!dojo.attr(this.domNode,"role")){dijit.setWaiRole(this.domNode,"group");}dojo.addClass(this.domNode,this.baseClass);},startup:function(){if(this._started){return;}var _4a5=dijit._Contained.prototype.getParent.call(this);this._childOfLayoutWidget=_4a5&&_4a5.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;if(this.isLoaded){dojo.forEach(this.getChildren(),function(_4a6){_4a6.startup();});}if(this._isShown()||this.preload){this._onShow();}this.inherited(arguments);},_checkIfSingleChild:function(){var _4a7=dojo.query("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_4a8=_4a7.filter(function(node){return dojo.hasAttr(node,"dojoType")||dojo.hasAttr(node,"widgetId");}),_4a9=dojo.filter(_4a8.map(dijit.byNode),function(_4aa){return _4aa&&_4aa.domNode&&_4aa.resize;});if(_4a7.length==_4a8.length&&_4a9.length==1){this._singleChild=_4a9[0];}else{delete this._singleChild;}dojo.toggleClass(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},setHref:function(href){dojo.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this.href=href;if(this._created&&(this.preload||this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){dojo.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this.href="";this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},uninitialize:function(){if(this._beingDestroyed){this.cancel();}this.inherited(arguments);},destroyRecursive:function(_4ab){if(this._beingDestroyed){return;}this.inherited(arguments);},resize:function(_4ac,_4ad){if(!this._wasShown){this._onShow();}this._resizeCalled=true;if(_4ac){dojo.marginBox(this.domNode,_4ac);}var cn=this.containerNode;if(cn===this.domNode){var mb=_4ad||{};dojo.mixin(mb,_4ac||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(cn),mb);}this._contentBox=dijit.layout.marginBox2contentBox(cn,mb);}else{this._contentBox=dojo.contentBox(cn);}this._layoutChildren();},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!dojo.hasClass(node,"dijitHidden");}}},_onShow:function(){if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){this.refresh();}}else{if(!this._childOfLayoutWidget&&this._needLayout){this._layoutChildren();}}this.inherited(arguments);this._wasShown=true;},refresh:function(){this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _4ae={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_4ae,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_4ae));hand.addCallback(function(html){try{self._isDownloaded=true;self._setContent(html,false);self.onDownloadEnd();}catch(err){self._onError("Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;});delete this._hrefChanged;},_onLoadHandler:function(data){this.isLoaded=true;try{this.onLoadDeferred.callback(data);this.onLoad(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this.isLoaded=false;try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(){if(this.isLoaded){this._onUnloadHandler();}var _4af=this._contentSetter;dojo.forEach(this.getChildren(),function(_4b0){if(_4b0.destroyRecursive){_4b0.destroyRecursive();}});if(_4af){dojo.forEach(_4af.parseResults,function(_4b1){if(_4b1.destroyRecursive&&_4b1.domNode&&_4b1.domNode.parentNode==dojo.body()){_4b1.destroyRecursive();}});delete _4af.parseResults;}dojo.html._emptyNode(this.containerNode);delete this._singleChild;},_setContent:function(cont,_4b2){this.destroyDescendants();var _4b3=this._contentSetter;if(!(_4b3&&_4b3 instanceof dojo.html._ContentSetter)){_4b3=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){var _4b4=this.onContentError(e);try{this.containerNode.innerHTML=_4b4;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _4b5=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad,dir:this.dir,lang:this.lang},this._contentSetterParams||{});dojo.mixin(_4b3,_4b5);_4b3.set((dojo.isObject(cont)&&cont.domNode)?cont.domNode:cont);delete this._contentSetterParams;if(!_4b2){dojo.forEach(this.getChildren(),function(_4b6){if(!this.parseOnLoad||_4b6.getParent){_4b6.startup();}},this);this._scheduleLayout();this._onLoadHandler(cont);}},_onError:function(type,err,_4b7){this.onLoadDeferred.errback(err);var _4b8=this["on"+type+"Error"].call(this,err);if(_4b7){console.error(_4b7,err);}else{if(_4b8){this._setContent(_4b8,true);}}},_scheduleLayout:function(){if(this._isShown()){this._layoutChildren();}else{this._needLayout=true;}},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||dojo.contentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{dojo.forEach(this.getChildren(),function(_4b9){if(_4b9.resize){_4b9.resize();}});}delete this._needLayout;},onLoad:function(data){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_4ba){},onDownloadError:function(_4bb){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.TooltipDialog"]){dojo._hasResource["dijit.TooltipDialog"]=true;dojo.provide("dijit.TooltipDialog");dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:dojo.cache("dijit","templates/TooltipDialog.html","<div 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=\"presentation\"></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,_4bc,_4bd){var c=this._currentOrientClass;if(c){dojo.removeClass(this.domNode,c);}c="dijitTooltipAB"+(_4bd.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_4bd.charAt(0)=="T"?"Below":"Above");dojo.addClass(this.domNode,c);this._currentOrientClass=c;},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);this._onShow();if(this.autofocus){this._getFocusItems(this.containerNode);dijit.focus(this._firstFocusItem);}},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;var dk=dojo.keys;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.containerNode);}var _4be=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==dk.ESCAPE){setTimeout(dojo.hitch(this,"onCancel"),0);dojo.stopEvent(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_4be){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_4be){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.charOrCode===dk.TAB){evt.stopPropagation();}}}}}});}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit._DialogBase",[dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin,dijit._CssStateMixin],{templateString:dojo.cache("dijit","templates/Dialog.html","<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\"></span>\r\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel\" title=\"${buttonCancel}\">\r\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">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"),baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],"aria-describedby":""}),open:false,duration:dijit.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _4bf=dojo.i18n.getLocalization("dijit","common");dojo.mixin(this,_4bf);this.inherited(arguments);},postCreate:function(){dojo.style(this.domNode,{display:"none",position:"absolute"});dojo.body().appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();if(this.autofocus){this._getFocusItems(this.domNode);dijit.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(e){if(e&&e.node&&e.node===this.domNode){this._relativePosition=dojo.position(e.node);}},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=(dojo.isIE==6)?new dojo.dnd.TimedMoveable(node,{handle:this.titleBar}):new dojo.dnd.Moveable(node,{handle:this.titleBar,timeout:0});dojo.subscribe("/dnd/move/stop",this,"_endDrag");}else{dojo.addClass(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":dojo.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")};this._fadeIn=dojo.fadeIn({node:node,duration:this.duration,beforeBegin:dojo.hitch(this,function(){var _4c0=dijit._underlay;if(!_4c0){_4c0=dijit._underlay=new dijit.DialogUnderlay(this.underlayAttrs);}else{_4c0.set(this.underlayAttrs);}var ds=dijit._dialogStack,_4c1=948+ds.length*2;if(ds.length==1){_4c0.show();}dojo.style(dijit._underlay.domNode,"zIndex",_4c1);dojo.style(this.domNode,"zIndex",_4c1+1);}),onEnd:dojo.hitch(this,function(){if(this.autofocus){this._getFocusItems(this.domNode);dijit.focus(this._firstFocusItem);}})});this._fadeOut=dojo.fadeOut({node:node,duration:this.duration,onEnd:dojo.hitch(this,function(){node.style.display="none";var ds=dijit._dialogStack;if(ds.length==0){dijit._underlay.hide();}else{dojo.style(dijit._underlay.domNode,"zIndex",948+ds.length*2);dijit._underlay.set(ds[ds.length-1].underlayAttrs);}if(this.refocus){var _4c2=this._savedFocus;if(ds.length>0){var pd=ds[ds.length-1];if(!dojo.isDescendant(_4c2.node,pd.domNode)){pd._getFocusItems(pd.domNode);_4c2=pd._firstFocusItem;}}dijit.focus(_4c2);}})});},uninitialize:function(){var _4c3=false;if(this._fadeIn&&this._fadeIn.status()=="playing"){_4c3=true;this._fadeIn.stop();}if(this._fadeOut&&this._fadeOut.status()=="playing"){_4c3=true;this._fadeOut.stop();}if((this.open||_4c3)&&!dijit._underlay._destroyed){dijit._underlay.hide();}if(this._moveable){this._moveable.destroy();}this.inherited(arguments);},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(this._singleChildOriginalStyle){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;}delete this._singleChildOriginalStyle;}else{dojo.style(this.containerNode,{width:"auto",height:"auto"});}var mb=dojo.marginBox(this.domNode);var _4c4=dojo.window.getBox();if(mb.w>=_4c4.w||mb.h>=_4c4.h){var w=Math.min(mb.w,Math.floor(_4c4.w*0.75)),h=Math.min(mb.h,Math.floor(_4c4.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{dojo.style(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});}}else{if(this._singleChild&&this._singleChild.resize){this._singleChild.resize();}}},_position:function(){if(!dojo.hasClass(dojo.body(),"dojoMove")){var node=this.domNode,_4c5=dojo.window.getBox(),p=this._relativePosition,bb=p?null:dojo._getBorderBox(node),l=Math.floor(_4c5.l+(p?p.x:(_4c5.w-bb.w)/2)),t=Math.floor(_4c5.t+(p?p.y:(_4c5.h-bb.h)/2));dojo.style(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){var ds=dijit._dialogStack;if(ds[ds.length-1]!=this){return;}if(evt.charOrCode){var dk=dojo.keys;var node=evt.target;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.domNode);}var _4c6=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_4c6){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_4c6){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode||dojo.hasClass(node,"dijitPopup")){if(evt.charOrCode==dk.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==dk.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(window,"onresize",this,function(){var _4c7=dojo.window.getBox();if(!this._oldViewport||_4c7.h!=this._oldViewport.h||_4c7.w!=this._oldViewport.w){this.layout();this._oldViewport=_4c7;}}));this._modalconnects.push(dojo.connect(dojo.doc.documentElement,"onkeypress",this,"_onKey"));dojo.style(this.domNode,{opacity:0,display:""});this.open=true;this._onShow();this._size();this._position();dijit._dialogStack.push(this);this._fadeIn.play();this._savedFocus=dijit.getFocus(this);},hide:function(){var ds=dijit._dialogStack;if(!this._alreadyInitialized||this!=ds[ds.length-1]){return;}if(this._fadeIn.status()=="playing"){this._fadeIn.stop();}ds.pop();this._fadeOut.play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];if(this._relativePosition){delete this._relativePosition;}this.open=false;this.onHide();},layout:function(){if(this.domNode.style.display!="none"){if(dijit._underlay){dijit._underlay.layout();}this._position();}},destroy:function(){dojo.forEach(this._modalconnects,dojo.disconnect);if(this.refocus&&this.open){setTimeout(dojo.hitch(dijit,"focus",this._savedFocus),25);}this.inherited(arguments);}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._DialogBase],{});dijit._dialogStack=[];}if(!dojo._hasResource["dojox.fx._core"]){dojo._hasResource["dojox.fx._core"]=true;dojo.provide("dojox.fx._core");dojox.fx._Line=function(_4c8,end){this.start=_4c8;this.end=end;var _4c9=dojo.isArray(_4c8),d=(_4c9?[]:end-_4c8);if(_4c9){dojo.forEach(this.start,function(s,i){d[i]=this.end[i]-s;},this);this.getValue=function(n){var res=[];dojo.forEach(this.start,function(s,i){res[i]=(d[i]*n)+s;},this);return res;};}else{this.getValue=function(n){return (d*n)+this.start;};}};}if(!dojo._hasResource["dojox.fx.scroll"]){dojo._hasResource["dojox.fx.scroll"]=true;dojo.provide("dojox.fx.scroll");dojo.experimental("dojox.fx.scroll");dojox.fx.smoothScroll=function(args){if(!args.target){args.target=dojo.position(args.node,true);}var _4ca=dojo[(dojo.isIE?"isObject":"isFunction")](args["win"].scrollTo),_4cb={x:args.target.x,y:args.target.y};if(!_4ca){var _4cc=dojo.position(args.win);_4cb.x-=_4cc.x;_4cb.y-=_4cc.y;}var _4cd=(_4ca)?(function(val){args.win.scrollTo(val[0],val[1]);}):(function(val){args.win.scrollLeft=val[0];args.win.scrollTop=val[1];});var anim=new dojo.Animation(dojo.mixin({beforeBegin:function(){if(this.curve){delete this.curve;}var _4ce=_4ca?dojo._docScroll():{x:args.win.scrollLeft,y:args.win.scrollTop};anim.curve=new dojox.fx._Line([_4ce.x,_4ce.y],[_4cb.x,_4cb.y]);},onAnimate:_4cd},args));return anim;};}if(!dojo._hasResource["interpulse.widget.Slider"]){dojo._hasResource["interpulse.widget.Slider"]=true;dojo.provide("interpulse.widget.Slider");dojo.declare("interpulse.widget.Slider",[dijit.layout._LayoutWidget,dijit._Templated],{templateString:dojo.cache("interpulse.widget","templates/Slider.html","<div class=\"ipulseSlider\">\r\n  <div dojoattachpoint=\"leftButtonNode\" class=\"ipulseSliderButton left\"><a href=\"#\" dojoattachevent=\"onclick: _scrollLeft\"></a></div>\r\n  <div class=\"SliderContainer\" dojoattachpoint=\"windowNode\"> \r\n  \t<div dojoattachpoint=\"containerNode\"></div>\r\n  </div>\t\r\n  <div dojoattachpoint=\"rightButtonNode\" class=\"ipulseSliderButton right\"><a href=\"#\" dojoattachevent=\"onclick: _scrollRight\"></a></div>\r\n\t<div class=\"ipulseSliderPager\">\r\n\t\t<ul dojoattachpoint=\"pagerNode\"></ul>\r\n\t</div>\r\n</div>\r\n"),interval:"",duration:1000,easing:"dojo.fx.easing.expoIn",pagedSlide:false,_setIntervalAttr:function(_4cf){this.interval=parseInt(_4cf);},postCreate:function(){this.inherited(arguments);dojo.style(this.windowNode,{overflow:"hidden",position:"relative"});},startup:function(){this.inherited(arguments);this._children=this.getChildren();var _4d0=0;dojo.forEach(this._children,dojo.hitch(this,function(_4d1){_4d1.posX=_4d0;_4d1.interval=this.interval;_4d1.duration=this.duration;_4d1.easing=this.easing;_4d1.pagerNode=this._createPagerItem(_4d1);_4d1.width=dojo.marginBox(_4d1.domNode).w;_4d0+=_4d1.width;}));var _4d2=dojo.contentBox(this.windowNode);this.windowWidth=_4d2.w;dojo.style(this.containerNode,{height:_4d2.h+"px",width:_4d0+"px",overflow:"visible"});if(this._children.length>0){this._children[0].select();}},_createPagerItem:function(_4d3){var li=dojo.create("li",null,this.pagerNode);var a=dojo.create("a",null,li);this.connect(a,"onclick",dojo.hitch(_4d3,"_onClick"));return li;},selectItem:function(_4d4){if(this._activeChild){this._activeChild.unSelect();}this._scrollToItem(_4d4);this._updateControls(_4d4);this._activeChild=_4d4;},_updateControls:function(_4d5){(_4d5.getPreviousSibling()?dojo.removeClass:dojo.addClass)(this.leftButtonNode,"disabled");(_4d5.getNextSibling()?dojo.removeClass:dojo.addClass)(this.rightButtonNode,"disabled");},_scrollLeft:function(_4d6){var _4d7=this._activeChild.getPreviousSibling();if(_4d7){_4d7.select();}_4d6.preventDefault();},_scrollRight:function(_4d8){var _4d9=this._activeChild.getNextSibling();if(_4d9){_4d9.select();}_4d8.preventDefault();},_scrollToItem:function(_4da){var posX=_4da.posX;posX+=dojo.position(this.windowNode).x;if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this._anim=dojox.fx.smoothScroll({win:this.windowNode,target:{x:posX,y:0},duration:this.duration,easing:dojo.getObject(this.easing)}).play();}});dojo.declare("interpulse.widget.SliderItem",[dijit._Widget,dijit._Templated,dijit._Contained],{interval:0,templateString:"<div class=\"ipulseSliderItem\" dojoattachpoint=\"containerNode\"></div>",postCreate:function(){this.inherited(arguments);dojo.style(this.domNode,{cssFloat:"left"});},_onClick:function(_4db){this.select();_4db.preventDefault();},select:function(){this.getParent().selectItem(this);dojo.addClass(this.pagerNode,"active");if(this.interval>0){this._timer=setTimeout(dojo.hitch(this,function(){var _4dc=this.getNextSibling();if(_4dc){_4dc.select();}else{this.getParent().getChildren()[0].select();}}),this.interval);}},getNextSibling:function(_4dd){if(_4dd){return this.inherited(arguments);}var _4de=this.getNextSibling(true);var _4df=_4de;var _4e0=this.getParent().windowWidth;var _4e1=this.width;while(_4df){_4e1+=_4df.width;if(_4e1>_4e0){if(this.getParent().pagedSlide){return _4df;}else{return _4de;}}_4df=_4df.getNextSibling(true);}return null;},getPreviousSibling:function(_4e2){if(_4e2){return this.inherited(arguments);}var _4e3=this.getPreviousSibling(true);if(!this.getParent().pagedSlide){return _4e3;}var _4e4=_4e3;var _4e5=this.getParent().windowWidth;var _4e6=0;while(_4e4){_4e6+=_4e4.width;if(_4e6>_4e5){return _4e3;}_4e3=_4e4;_4e4=_4e4.getPreviousSibling(true);}return _4e3;},unSelect:function(){dojo.removeClass(this.pagerNode,"active");if(this._timer){clearTimeout(this._timer);}},destroy:function(){if(this._timer){clearTimeout(this._timer);}this.inherited(arguments);}});}if(!dojo._hasResource["dojox.fx._base"]){dojo._hasResource["dojox.fx._base"]=true;dojo.provide("dojox.fx._base");dojo.mixin(dojox.fx,{anim:dojo.anim,animateProperty:dojo.animateProperty,fadeTo:dojo._fade,fadeIn:dojo.fadeIn,fadeOut:dojo.fadeOut,combine:dojo.fx.combine,chain:dojo.fx.chain,slideTo:dojo.fx.slideTo,wipeIn:dojo.fx.wipeIn,wipeOut:dojo.fx.wipeOut});dojox.fx.sizeTo=function(args){var node=args.node=dojo.byId(args.node),abs="absolute";var _4e7=args.method||"chain";if(!args.duration){args.duration=500;}if(_4e7=="chain"){args.duration=Math.floor(args.duration/2);}var top,_4e8,left,_4e9,_4ea,_4eb=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n),pos=cs.position,w=cs.width,h=cs.height;top=(pos==abs?n.offsetTop:parseInt(cs.top)||0);left=(pos==abs?n.offsetLeft:parseInt(cs.left)||0);_4ea=(w=="auto"?0:parseInt(w));_4eb=(h=="auto"?0:parseInt(h));_4e9=left-Math.floor((args.width-_4ea)/2);_4e8=top-Math.floor((args.height-_4eb)/2);if(pos!=abs&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position=abs;n.style.top=top+"px";n.style.left=left+"px";}};})(node);var _4ec=dojo.animateProperty(dojo.mixin({properties:{height:function(){init();return {end:args.height||0,start:_4eb};},top:function(){return {start:top,end:_4e8};}}},args));var _4ed=dojo.animateProperty(dojo.mixin({properties:{width:function(){return {start:_4ea,end:args.width||0};},left:function(){return {start:left,end:_4e9};}}},args));var anim=dojo.fx[(args.method=="combine"?"combine":"chain")]([_4ec,_4ed]);return anim;};dojox.fx.slideBy=function(args){var node=args.node=dojo.byId(args.node),top,left;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 _4ee=dojo.animateProperty(dojo.mixin({properties:{top:top+(args.top||0),left:left+(args.left||0)}},args));dojo.connect(_4ee,"beforeBegin",_4ee,init);return _4ee;};dojox.fx.crossFade=function(args){var _4ef=args.nodes[0]=dojo.byId(args.nodes[0]),op1=dojo.style(_4ef,"opacity"),_4f0=args.nodes[1]=dojo.byId(args.nodes[1]),op2=dojo.style(_4f0,"opacity");var _4f1=dojo.fx.combine([dojo[(op1==0?"fadeIn":"fadeOut")](dojo.mixin({node:_4ef},args)),dojo[(op1==0?"fadeOut":"fadeIn")](dojo.mixin({node:_4f0},args))]);return _4f1;};dojox.fx.highlight=function(args){var node=args.node=dojo.byId(args.node);args.duration=args.duration||400;var _4f2=args.color||"#ffff99",_4f3=dojo.style(node,"backgroundColor");if(_4f3=="rgba(0, 0, 0, 0)"){_4f3="transparent";}var anim=dojo.animateProperty(dojo.mixin({properties:{backgroundColor:{start:_4f2,end:_4f3}}},args));if(_4f3=="transparent"){dojo.connect(anim,"onEnd",anim,function(){node.style.backgroundColor=_4f3;});}return anim;};dojox.fx.wipeTo=function(args){args.node=dojo.byId(args.node);var node=args.node,s=node.style;var dir=(args.width?"width":"height"),_4f4=args[dir],_4f5={};_4f5[dir]={start:function(){s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s[dir]="1px";s.display="";s.visibility="";return 1;}else{var now=dojo.style(node,dir);return Math.max(now,1);}},end:_4f4};var anim=dojo.animateProperty(dojo.mixin({properties:_4f5},args));return anim;};}if(!dojo._hasResource["dojox.fx"]){dojo._hasResource["dojox.fx"]=true;dojo.provide("dojox.fx");}if(!dojo._hasResource["interpulse.widget.Carousel"]){dojo._hasResource["interpulse.widget.Carousel"]=true;dojo.provide("interpulse.widget.Carousel");dojo.declare("interpulse.widget.Carousel",[dijit.layout._LayoutWidget,dijit._Templated],{templateString:dojo.cache("interpulse.widget","templates/Carousel.html","<div class=\"ipulseCarousel\">\r\n  <div dojoattachpoint=\"leftButtonNode\" class=\"ipulseCarouselButton left\"><a href=\"#\" dojoattachevent=\"onclick:_scrollLeft\"></a></div>\r\n  <div class=\"ipulseCarouselContainer\" dojoattachpoint=\"containerNode\"></div>\t\r\n  <div dojoattachpoint=\"rightButtonNode\" class=\"ipulseCarouselButton right\"><a href=\"#\" dojoattachevent=\"onclick:_scrollRight\"></a></div>\r\n  <div dojoattachpoint=\"startPauseButtonNode\" class=\"ipulseCarouselButton startpause\"><a href=\"#\" dojoattachevent=\"onclick:_doStartPause\"></a></div>\r\n\t<div class=\"ipulseCarouselPager\">\r\n\t\t<ul dojoattachpoint=\"pagerNode\"></ul>\r\n\t</div>\r\n</div>\r\n"),interval:8000,duration:1000,transition:"slide",paused:false,easing:"dojo.fx.easing.expoIn",_setPausedAttr:function(_4f6){this.paused=_4f6;dojo[_4f6?"addClass":"removeClass"](this.startPauseButtonNode,"paused");if(this._activeChild){this._activeChild.set("paused",_4f6);}},postCreate:function(){this.inherited(arguments);dojo.style(this.containerNode,{overflow:"hidden",position:"relative"});},startup:function(){this.inherited(arguments);this._children=this.getChildren();var _4f7=dojo.contentBox(this.containerNode);dojo.forEach(this._children,dojo.hitch(this,function(_4f8){_4f8.pagerNode=this._createPagerItem(_4f8);dojo.marginBox(_4f8.domNode,{t:0,l:0,h:_4f7.h,w:_4f7.w});}));if(this._children.length>0){this._children[0].select("auto");}},_createPagerItem:function(_4f9){var li=dojo.create("li",null,this.pagerNode);var a=dojo.create("a",null,li);this.connect(a,"onclick",dojo.hitch(_4f9,"_onClick"));return li;},selectItem:function(_4fa,_4fb){if(this._activeChild){this._activeChild.unSelect();}this._doTransition(_4fa,_4fb);this._activeChild=_4fa;},_scrollLeft:function(_4fc){var _4fd=this._activeChild.getPreviousSibling();if(_4fd){_4fd.select("Previous");}_4fc.preventDefault();},_scrollRight:function(_4fe){var _4ff=this._activeChild.getNextSibling();if(_4ff){_4ff.select("Next");}_4fe.preventDefault();},_doStartPause:function(_500){this.set("paused",!this.paused);_500.preventDefault();},_getAutoDirection:function(_501){var c=this.getChildren().length;var ai=this.getIndexOfChild(this._activeChild?this._activeChild:_501);var ci=this.getIndexOfChild(_501);var cn=ci-ai+((ai>ci)?c:0);var cp=ai-ci+((ci>ai)?c:0);return (cn<=cp)?"Next":"Previous";},_doTransition:function(_502,_503){if(_503=="auto"){_503=this._getAutoDirection(_502);}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}switch(this.transition){case "fade":this._anim=this._xFadeAnim(this._activeChild||_502,_502);break;default:this._anim=this._slideToAnim(this._activeChild||_502,_502,_503);break;}this._anim.play();},_slideToAnim:function(_504,_505,_506){var _507=[];var _508=dojo.contentBox(this.containerNode).w;var _509=true;var _50a=_504;var left=dojo.marginBox(_504.domNode).l;while(_509){_509=(_50a!=_505);_507.push(_50a);if(_50a!=_504){left+=((_506=="Next"?1:-1)*_508);dojo.marginBox(_505.domNode,{t:0,l:left});}dojo.style(_505.domNode,{display:""});_50a=_50a["get"+_506+"Sibling"]();}return dojo.fx.combine(dojo.map(_507,dojo.hitch(this,function(_50b,_50c){return dojo.fx.slideTo({node:_50b.domNode,duration:this.duration,left:(_507.length-_50c-1)*((_506=="Next"?-1:1)*_508)});})));},_xFadeAnim:function(_50d,_50e){dojo.style(_50e.domNode,{opacity:((_50d!=_50e)?0:1),zIndex:1,display:""});if(_50d!=_50e){dojo.style(_50d.domNode,{zIndex:0});}return (_50d!=_50e)?dojox.fx.crossFade({nodes:[_50e.domNode,_50d.domNode],duration:this.duration,onEnd:dojo.hitch(this,function(){dojo.style(_50d.domNode,{display:"none"});})}):dojo.fx.combine([]);}});dojo.declare("interpulse.widget.CarouselItem",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:"<div class=\"ipulseCarouselItem\" dojoattachpoint=\"containerNode\"></div>",postCreate:function(){this.inherited(arguments);dojo.style(this.domNode,{position:"absolute",display:"none"});},_setPausedAttr:function(_50f){if(_50f){this._clearTimer();}else{this._setTimer(0);}},_onClick:function(_510){this.select("auto");_510.preventDefault();},select:function(_511){var _512=this.getParent();_512.selectItem(this,_511);dojo.addClass(this.pagerNode,"active");this._setTimer(_512.interval);},_setTimer:function(_513){var _514=this.getParent();if(!_514.paused){this._clearTimer();this._timer=setTimeout(dojo.hitch(this,function(){this.getNextSibling().select("Next");}),_513);}},getNextSibling:function(){var _515=this.inherited(arguments);return _515?_515:this.getParent().getChildren()[0];},getPreviousSibling:function(){var _516=this.inherited(arguments);var _517=this.getParent().getChildren();return _516?_516:_517[_517.length-1];},_clearTimer:function(){if(this._timer){clearTimeout(this._timer);}},unSelect:function(){dojo.removeClass(this.pagerNode,"active");this._clearTimer();},destroy:function(){this._clearTimer();this.inherited(arguments);}});}if(!dojo._hasResource["interpulse.widget"]){dojo._hasResource["interpulse.widget"]=true;dojo.provide("interpulse.widget");}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,dijit._CssStateMixin],{name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,intermediateChanges:false,scrollOnFocus:true,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{value:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode",title:"focusNode"}),postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/'/g,"&quot;")+"\""):"";this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousedown","_onMouseDown");},_setDisabledAttr:function(_518){this.disabled=_518;dojo.attr(this.focusNode,"disabled",_518);if(this.valueNode){dojo.attr(this.valueNode,"disabled",_518);}dijit.setWaiState(this.focusNode,"disabled",_518);if(_518){this._hovering=false;this._active=false;var _519="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:"focusNode";dojo.forEach(dojo.isArray(_519)?_519:[_519],function(_51a){var node=this[_51a];if(dojo.isWebKit||dijit.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{this.focusNode.setAttribute("tabIndex",this.tabIndex);}},setDisabled:function(_51b){dojo.deprecated("setDisabled("+_51b+") is deprecated. Use set('disabled',"+_51b+") instead.","","2.0");this.set("disabled",_51b);},_onFocus:function(e){if(this.scrollOnFocus){dojo.window.scrollIntoView(this.domNode);}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&!this.readOnly&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){dijit.focus(this.focusNode);},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(_51c){},_onChangeActive:false,_handleOnChange:function(_51d,_51e){this._lastValue=_51d;if(this._lastValueReported==undefined&&(_51e===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_51d;}if((this.intermediateChanges||_51e||_51e===undefined)&&((typeof _51d!=typeof this._lastValueReported)||this.compare(_51d,this._lastValueReported)!=0)){this._lastValueReported=_51d;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(dojo.hitch(this,function(){this._onChangeHandle=null;this.onChange(_51d);}),0);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);this.onChange(this._lastValueReported);}this.inherited(arguments);},setValue:function(_51f){dojo.deprecated("dijit.form._FormWidget:setValue("+_51f+") is deprecated.  Use set('value',"+_51f+") instead.","","2.0");this.set("value",_51f);},getValue:function(){dojo.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_onMouseDown:function(e){if(!e.ctrlKey&&this.isFocusable()){var _520=this.connect(dojo.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_520);});}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{readOnly:false,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"",readOnly:"focusNode"}),_setReadOnlyAttr:function(_521){this.readOnly=_521;dojo.attr(this.focusNode,"readOnly",_521);dijit.setWaiState(this.focusNode,"readonly",_521);},postCreate:function(){this.inherited(arguments);if(dojo.isIE){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._resetValue=this.value;}},_setValueAttr:function(_522,_523){this.value=_522;this._handleOnChange(_522,_523);},_getValueAttr:function(){return this._lastValue;},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){var te;if(dojo.isIE){e.preventDefault();te=document.createEventObject();te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}},_layoutHackIE7:function(){if(dojo.isIE==7){var _524=this.domNode;var _525=_524.parentNode;var _526=_524.firstChild||_524;var _527=_526.style.filter;var _528=this;while(_525&&_525.clientHeight==0){(function ping(){var _529=_528.connect(_525,"onscroll",function(e){_528.disconnect(_529);_526.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_526.style.filter=_527;},0);});})();_525=_525.parentNode;}}}});}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:"",selectOnClick:false,placeHolder:"",templateString:dojo.cache("dijit.form","templates/TextBox.html","<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" waiRole=\"presentation\"\r\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\r\n\t\t><input class=\"dijitReset dijitInputInner\" dojoAttachPoint='textbox,focusNode' autocomplete=\"off\"\r\n\t\t\t${!nameAttrSetting} type='${type}'\r\n\t/></div\r\n></div>\r\n"),_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" dojoAttachPoint=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:dojo.isIE?"disabled":"",baseClass:"dijitTextBox",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{maxLength:"focusNode"}),postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==dijit.form.TextBox.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_setPlaceHolderAttr:function(v){this.placeHolder=v;if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=dojo.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this._focused&&!this.textbox.value)?"":"none";}},_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_52a,_52b,_52c){var _52d;if(_52a!==undefined){_52d=this.filter(_52a);if(typeof _52c!="string"){if(_52d!==null&&((typeof _52d!="number")||!isNaN(_52d))){_52c=this.filter(this.format(_52d,this.constraints));}else{_52c="";}}}if(_52c!=null&&_52c!=undefined&&((typeof _52c)!="number"||!isNaN(_52c))&&this.textbox.value!=_52c){this.textbox.value=_52c;}this._updatePlaceHolder();this.inherited(arguments,[_52d,_52b]);},displayedValue:"",getDisplayedValue:function(){dojo.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},setDisplayedValue:function(_52e){dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_52e);},_setDisplayedValueAttr:function(_52f){if(_52f===null||_52f===undefined){_52f="";}else{if(typeof _52f!="string"){_52f=String(_52f);}}this.textbox.value=_52f;this._setValueAttr(this.get("value"),undefined,_52f);},format:function(_530,_531){return ((_530==null||_530==undefined)?"":(_530.toString?_530.toString():_530));},parse:function(_532,_533){return _532;},_refreshState:function(){},_onInput:function(e){if(e&&e.type&&/key/i.test(e.type)&&e.keyCode){switch(e.keyCode){case dojo.keys.SHIFT:case dojo.keys.ALT:case dojo.keys.CTRL:case dojo.keys.TAB:return;}}if(this.intermediateChanges){var _534=this;setTimeout(function(){_534._handleOnChange(_534.get("value"),false);},0);}this._refreshState();},postCreate:function(){if(dojo.isIE){var s=dojo.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _535=this.domNode.getElementsByTagName("INPUT");if(_535){for(var i=0;i<_535.length;i++){_535[i].style.fontFamily=ff;}}}}}this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);if(dojo.isMoz||dojo.isOpera){this.connect(this.textbox,"oninput",this._onInput);}else{this.connect(this.textbox,"onkeydown",this._onInput);this.connect(this.textbox,"onkeyup",this._onInput);this.connect(this.textbox,"onpaste",this._onInput);this.connect(this.textbox,"oncut",this._onInput);}},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}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._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}if(this.selectOnClick&&dojo.isMoz){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);var _536;if(dojo.isIE){var _537=dojo.doc.selection.createRange();var _538=_537.parentElement();_536=_538==this.textbox&&_537.text.length==0;}else{_536=this.textbox.selectionStart==this.textbox.selectionEnd;}if(_536){dijit.selectInputText(this.textbox);}});}this._updatePlaceHolder();this._refreshState();this.inherited(arguments);},reset:function(){this.textbox.value="";this.inherited(arguments);}});dijit.selectInputText=function(_539,_53a,stop){var _53b=dojo.global;var _53c=dojo.doc;_539=dojo.byId(_539);if(isNaN(_53a)){_53a=0;}if(isNaN(stop)){stop=_539.value?_539.value.length:0;}dijit.focus(_539);if(_53c["selection"]&&dojo.body()["createTextRange"]){if(_539.createTextRange){var _53d=_539.createTextRange();with(_53d){collapse(true);moveStart("character",-99999);moveStart("character",_53a);moveEnd("character",stop-_53a);select();}}}else{if(_53b["getSelection"]){if(_539.setSelectionRange){_539.setSelectionRange(_53a,stop);}}}};}if(!dojo._hasResource["dijit.form.SimpleTextarea"]){dojo._hasResource["dijit.form.SimpleTextarea"]=true;dojo.provide("dijit.form.SimpleTextarea");dojo.declare("dijit.form.SimpleTextarea",dijit.form.TextBox,{baseClass:"dijitTextBox dijitTextArea",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{rows:"textbox",cols:"textbox"}),rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} dojoAttachPoint='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},filter:function(_53e){if(_53e){_53e=_53e.replace(/\r/g,"");}return this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(dojo.isIE&&this.cols){dojo.addClass(this.textbox,"dijitTextAreaCols");}},_previousValue:"",_onInput:function(e){if(this.maxLength){var _53f=parseInt(this.maxLength);var _540=this.textbox.value.replace(/\r/g,"");var _541=_540.length-_53f;if(_541>0){if(e){dojo.stopEvent(e);}var _542=this.textbox;if(_542.selectionStart){var pos=_542.selectionStart;var cr=0;if(dojo.isOpera){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_540.substring(0,pos-_541-cr)+_540.substring(pos-cr);_542.setSelectionRange(pos-_541,pos-_541);}else{if(dojo.doc.selection){_542.focus();var _543=dojo.doc.selection.createRange();_543.moveStart("character",-_541);_543.text="";_543.select();}}}this._previousValue=this.textbox.value;}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:dijit.defaultDuration,templateString:dojo.cache("dijit","templates/Tooltip.html","<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(_544,_545,_546,rtl){if(this.aroundNode&&this.aroundNode===_545){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_544;var pos=dijit.placeOnScreenAroundElement(this.domNode,_545,dijit.getPopupAroundAlignment((_546&&_546.length)?_546:dijit.Tooltip.defaultPosition,!rtl),dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_545;},orient:function(node,_547,_548){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"}[_547+"-"+_548];},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_549){if(this._onDeck&&this._onDeck[1]==_549){this._onDeck=null;}else{if(this.aroundNode===_549){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});dijit.showTooltip=function(_54a,_54b,_54c,rtl){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_54a,_54b,_54c,rtl);};dijit.hideTooltip=function(_54d){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_54d);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],constructor:function(){this._nodeConnectionsById={};},_setConnectIdAttr:function(_54e){for(var _54f in this._nodeConnectionsById){this.removeTarget(_54f);}dojo.forEach(dojo.isArrayLike(_54e)?_54e:[_54e],this.addTarget,this);},_getConnectIdAttr:function(){var ary=[];for(var id in this._nodeConnectionsById){ary.push(id);}return ary;},addTarget:function(id){var node=dojo.byId(id);if(!node){return;}if(node.id in this._nodeConnectionsById){return;}this._nodeConnectionsById[node.id]=[this.connect(node,"onmouseenter","_onTargetMouseEnter"),this.connect(node,"onmouseleave","_onTargetMouseLeave"),this.connect(node,"onfocus","_onTargetFocus"),this.connect(node,"onblur","_onTargetBlur")];},removeTarget:function(node){var id=node.id||node;if(id in this._nodeConnectionsById){dojo.forEach(this._nodeConnectionsById[id],this.disconnect,this);delete this._nodeConnectionsById[id];}},postCreate:function(){dojo.addClass(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;dojo.forEach(dojo.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onTargetMouseEnter:function(e){this._onHover(e);},_onTargetMouseLeave:function(e){this._onUnHover(e);},_onTargetFocus:function(e){this._focus=true;this._onHover(e);},_onTargetBlur:function(e){this._focus=false;this._onUnHover(e);},_onHover:function(e){if(!this._showTimer){var _550=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_550);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_551){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_551,this.position,!this.isLeftToRight());this._connectNode=_551;this.onShow(_551,this.position);},close:function(){if(this._connectNode){dijit.hideTooltip(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},onShow:function(_552,_553){},onHide:function(){},uninitialize:function(){this.close();this.inherited(arguments);}});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:dojo.cache("dijit.form","templates/ValidationTextBox.html","<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\r\n\tid=\"widget_${id}\" waiRole=\"presentation\"\r\n\t><div class='dijitReset dijitValidationContainer'\r\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&Chi; \" type=\"text\" tabIndex=\"-1\" readOnly waiRole=\"presentation\"\r\n\t/></div\r\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\r\n\t\t><input class=\"dijitReset dijitInputInner\" dojoAttachPoint='textbox,focusNode' autocomplete=\"off\"\r\n\t\t\t${!nameAttrSetting} type='${type}'\r\n\t/></div\r\n></div>\r\n"),baseClass:"dijitTextBox dijitValidationTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",constraints:{},regExp:".*",regExpGen:function(_554){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this._focused);},validator:function(_555,_556){return (new RegExp("^(?:"+this.regExpGen(_556)+")"+(this.required?"":"?")+"$")).test(_555)&&(!this.required||!this._isEmpty(_555))&&(this._isEmpty(_555)||this.parse(_555,_556)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(_557){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_558){return /^\s*$/.test(_558);},getErrorMessage:function(_559){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(_55a){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_55b){var _55c="";var _55d=this.disabled||this.isValid(_55b);if(_55d){this._maskValidSubsetError=true;}var _55e=this._isEmpty(this.textbox.value);var _55f=!_55d&&!_55e&&_55b&&this._isValidSubset();this.state=((_55d||((!this._hasBeenBlurred||_55b)&&_55e)||_55f)&&this._maskValidSubsetError)?"":"Error";if(this.state=="Error"){this._maskValidSubsetError=_55b;}this._setStateClass();dijit.setWaiState(this.focusNode,"invalid",_55d?"false":"true");if(_55b){if(this.state=="Error"){_55c=this.getErrorMessage(true);}else{_55c=this.getPromptMessage(true);}this._maskValidSubsetError=true;}this.displayMessage(_55c);return _55d;},_message:"",displayMessage:function(_560){if(this._message==_560){return;}this._message=_560;dijit.hideTooltip(this.domNode);if(_560){dijit.showTooltip(_560,this.domNode,this.tooltipPosition,!this.isLeftToRight());}},_refreshState:function(){this.validate(this._focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_561){if(!_561.locale&&this.lang){_561.locale=this.lang;}this.constraints=_561;this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _562="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_562+=re;break;case ")":_562+="|$)";break;default:_562+="(?:"+re+"|$)";break;}});}try{"".search(_562);}catch(e){_562=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_562+")$";},postMixInProperties:function(){this.inherited(arguments);this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}if(!this.invalidMessage){this.invalidMessage=this.promptMessage;}if(this.missingMessage=="$_unset_$"){this.missingMessage=this.messages.missingMessage;}if(!this.missingMessage){this.missingMessage=this.invalidMessage;}this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_563){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_564){this.required=_564;dijit.setWaiState(this.focusNode,"required",_564);this._refreshState();},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},serialize:function(val,_565){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=dojo.place("<input type='hidden'"+(this.name?" name='"+this.name+"'":"")+">",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",rangeCheck:function(_566,_567){return ("min" in _567?(this.compare(_566,_567.min)>=0):true)&&("max" in _567?(this.compare(_566,_567.max)<=0):true);},isInRange:function(_568){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _569=false;var _56a=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_569=(typeof min=="number")&&min<0;}if("max" in this.constraints){var max=this.constraints.max;max=this.compare(val,((typeof max!="number")||max>0)?max:0);_56a=(typeof max=="number")&&max>0;}return _569||_56a;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_56b){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_56b));},getErrorMessage:function(_56c){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_56c)){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;}},_setConstraintsAttr:function(_56d){this.inherited(arguments);if(this.focusNode){if(this.constraints.min!==undefined){dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);}else{dijit.removeWaiState(this.focusNode,"valuemin");}if(this.constraints.max!==undefined){dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);}else{dijit.removeWaiState(this.focusNode,"valuemax");}}},_setValueAttr:function(_56e,_56f){dijit.setWaiState(this.focusNode,"valuenow",_56e);this.inherited(arguments);}});}if(!dojo._hasResource["interpulse.form.ValidationTextarea"]){dojo._hasResource["interpulse.form.ValidationTextarea"]=true;dojo.provide("interpulse.form.ValidationTextarea");dojo.declare("dijit.form.ValidationTextarea",[dijit.form.ValidationTextBox,dijit.form.SimpleTextarea],{});}if(!dojo._hasResource["interpulse.interpulse"]){dojo._hasResource["interpulse.interpulse"]=true;dojo.provide("interpulse.interpulse");var maj=Math.floor;dojo.global["is_gecko"]=(dojo.isMozilla?true:false)||(dojo.isChrome||dojo.isSafari||dojo.isOpera?true:false);dojo.global["is_opera"]=false;dojo.global["is_nav6up"]=(maj(dojo.isMozilla)>=5)||(dojo.isChrome||dojo.isSafari||dojo.isOpera?true:false);dojo.global["is_nav6"]=(maj(dojo.isMozilla)==5)||(dojo.isChrome||dojo.isSafari||dojo.isOpera?true:false);dojo.global["is_nav4"]=(maj(dojo.isMozilla)==4);dojo.global["is_ie4"]=(maj(dojo.isIE)==4);dojo.global["is_ie5"]=(maj(dojo.isIE)==5);dojo.global["is_ie5up"]=(maj(dojo.isIE)>=5);dojo.global["toggleActive"]=function(node){node=dojo.byId(node);if(node){dojo.query(".active",node.parentNode).forEach(function(node){dojo.removeClass(node,"active");});dojo.addClass(node,"active");}};dojo.global["toggleDiv"]=function(_570){var _571=2000;var _572=250;var node=dojo.byId(_570);if(node._anim){node._anim.stop();}if(dojo.style(node,"display")=="none"){node._anim=dojo.fx.wipeIn({node:node,duration:_571,easing:dojo.fx.easing.expoOut});node._anim.play();}else{node._anim=dojo.fx.wipeOut({node:node,duration:_571,easing:dojo.fx.easing.expoOut});node._anim.play();}};dojo.global["popPage"]=function(_573,url,_574,_575){diag=new dijit.Dialog({href:url,title:_573,id:_574,autofocus:false,preventCache:true});diag._endDrag=function(e){if(e&&e.node&&e.node===this.domNode){var p=e._leftTop||dojo.coords(e.node,true);this._relativePosition={t:p.t,l:p.l};this._firstRun=false;}};diag._position=function(){if(!dojo.hasClass(dojo.body(),"dojoMove")){var node=this.domNode;if(!this._relativePosition||this._firstRun){this._firstRun=this._firstRun?false:true;var _576=dijit.getViewport();var mb=dojo.marginBox(node);this._relativePosition={l:Math.floor(_576.l+((((_576.w-mb.w)/2)<0)?10:((_576.w-mb.w)/2))),t:Math.floor(_576.t+((((_576.h-mb.h)/2)<0)?10:((_576.h-mb.h)/2)))};}var p=this._relativePosition;dojo.style(node,{left:p.l+"px",top:p.t+"px"});}};diag.connect(diag,"hide",dojo.hitch(diag,function(){this.connect(this._fadeOut,"onEnd",dojo.hitch(this,function(){this.destroyRecursive();}));}));if(_575){diag.connect(diag,"onLoad",_575);}diag.show();};}if(!dojo._hasResource["harrykies.patch"]){dojo._hasResource["harrykies.patch"]=true;dojo.provide("harrykies.patch");(function(dojo){})(dojo);}if(!dojo._hasResource["harrykies.widget.Slider"]){dojo._hasResource["harrykies.widget.Slider"]=true;dojo.provide("harrykies.widget.Slider");dojo.declare("harrykies.widget.Slider",[interpulse.widget.Slider],{templateString:dojo.cache("harrykies.widget","templates/Slider.html","<div class=\"ipulseSlider\">\r\n  <div class=\"SliderContainer\" dojoattachpoint=\"windowNode\"> \r\n  \t<div dojoattachpoint=\"containerNode\"></div>\r\n  </div>\t\r\n  <div class=\"SliderControls\">\r\n  \t<div dojoattachpoint=\"leftButtonNode\" class=\"ipulseSliderButton left\"><a href=\"#\" dojoattachevent=\"onclick: _scrollLeft\"></a></div>\r\n  \t<div dojoattachpoint=\"rightButtonNode\" class=\"ipulseSliderButton right\"><a href=\"#\" dojoattachevent=\"onclick: _scrollRight\"></a></div>\r\n\t</div>\r\n\t<div class=\"ipulseSliderPager\">\r\n\t\t<ul dojoattachpoint=\"pagerNode\"></ul>\r\n\t</div>\r\n</div>\r\n")});}if(!dojo._hasResource["harrykies.widget.TransitionContentPane"]){dojo._hasResource["harrykies.widget.TransitionContentPane"]=true;dojo.provide("harrykies.widget.TransitionContentPane");dojo.declare("harrykies.widget.TransitionContentPane",[dijit.layout._LayoutWidget,dijit._Templated],{templateString:"<div class=\"hkContentPane\"><div class=\"pane\" dojoattachpoint=\"contentPane1\" dojotype=\"dijit.layout.ContentPane\"></div><div class=\"pane\" dojoattachpoint=\"contentPane2\" dojotype=\"dijit.layout.ContentPane\"></div></div>",widgetsInTemplate:true,href:"",constructor:function(){this._history=[];},postCreate:function(){this.inherited(arguments);this.connect(this.contentPane1,"onDownloadEnd",function(){this._onDownloadEnd(this.contentPane1._xhrDfd);});this.connect(this.contentPane2,"onDownloadEnd",function(){this._onDownloadEnd(this.contentPane2._xhrDfd);});},startup:function(){dojo.style(this.domNode,{position:"relative",overflow:"hidden"});this._setupPane(this.contentPane1);this._setupPane(this.contentPane2);this._activePane=this.contentPane1;dojo.style(this.contentPane2.domNode,"display","none");},_onDownloadEnd:function(_577){var xhr=_577.ioArgs.xhr;dojo.publish(this.id+"-X-PAGER",[xhr.getResponseHeader("X-PAGER-URL"),xhr.getResponseHeader("X-PAGER-PAGE"),xhr.getResponseHeader("X-PAGER-PAGES")]);dojo.publish(this.id+"-X-SEARCH",[xhr.getResponseHeader("X-SEARCH-RESULTS")]);},_setupPane:function(pane){pane.preload=true;dojo.style(pane.domNode,{position:"absolute",overflow:"hidden",top:0,left:0,height:dojo.style(this.domNode,"height")+"px",width:dojo.style(this.domNode,"width")+"px"});},_fillContent:function(_578){this.containerNode=this.contentPane1.domNode;this.inherited(arguments);},setHref:function(href,_579){this._history.push(href);this._setHref(href,_579);},goBack:function(_57a){this._history.pop();if(this._history.length>0){this._setHref(this._history[this._history.length-1],_57a);return true;}return false;},_setHref:function(href,_57b){var _57c=(this._activePane==this.contentPane1)?this.contentPane2:this.contentPane1;_57c.attr("href",href);switch(_57b){case "fade":this._xFade(this._activePane,_57c);break;case "slideLeft":this._slide(this._activePane,_57c,true);break;case "slideRight":this._slide(this._activePane,_57c,false);break;}},_xFade:function(_57d,_57e){dojo.style(_57e.domNode,{opacity:0,zIndex:1,display:""});dojo.style(_57d.domNode,{zIndex:0});var _57f=dojox.fx.crossFade({nodes:[_57e.domNode,_57d.domNode],duration:500});_57f.onEnd=dojo.hitch(this,function(){this._activePane=_57e;dojo.style(_57d.domNode,{display:"none"});});_57f.play();},_slide:function(_580,_581,_582){dojo.style(_581.domNode,{opacity:1,left:(_582?dojo.style(this.domNode,"width"):0-dojo.style(this.domNode,"width"))+"px",zIndex:1,display:""});dojo.style(_580.domNode,{zIndex:0});var _583=dojo.fx.slideTo({node:_581.domNode,left:0,duration:500});_583.onEnd=dojo.hitch(this,function(){this._activePane=_581;dojo.style(_580.domNode,{display:"none"});});_583.play();}});}if(!dojo._hasResource["harrykies.widget.NewsSelector"]){dojo._hasResource["harrykies.widget.NewsSelector"]=true;dojo.provide("harrykies.widget.NewsSelector");dojo.declare("harrykies.widget.NewsSelector",[dijit.layout._LayoutWidget,dijit._Templated],{templateString:"<div class=\"hkNewsSelectorPane\" dojoattachpoint=\"containerNode\">\r\n  <div class=\"hkNewsSelectorPane1\">\r\n    <div class=\"nieuws_kop\">\r\n      <h2>\r\n        Nieuws</h2>\r\n      <div class=\"up\" dojoattachpoint=\"btnUp\">\r\n        <a href=\"#\"></a>\r\n      </div>\r\n      <div class=\"down\" dojoattachpoint=\"btnDown\">\r\n        <a href=\"#\"></a>\r\n      </div>\r\n    </div>\r\n    <div class=\"nieuws_items_container\" dojoattachpoint=\"newsItemsContainer\">\r\n\t\t\t<div class=\"nieuws_items\" dojoattachpoint=\"newsItems\" id=\"newsItems\" dojotype=\"dijit.layout.ContentPane\" preload=\"true\" href=\"/ajax/NewsSelectorAjax.asp?part=1\">\r\n\t\t\t\t\r\n\t\t\t</div>\r\n    </div>\r\n  </div>\r\n  <div class=\"hkNewsSelectorPane2\" dojoattachpoint=\"contentPane3\" dojotype=\"harrykies.widget.TransitionContentPane\">\r\n    <div class=\"nieuws_foto\">\r\n\r\n    </div>\r\n  </div>\r\n  <div class=\"hkNewsSelectorPane3\" dojoattachpoint=\"contentPane2\" dojotype=\"harrykies.widget.TransitionContentPane\">\r\n    <div class=\"nieuws_tekst\">\r\n\t\t\r\n\t\t\r\n\t\t\r\n    </div>\r\n  </div>\r\n</div>\r\n",widgetsInTemplate:true,scrollPos:0,delta:60,selectItem:function(id){this.contentPane2.setHref("/ajax/NewsSelectorAjax.asp?part=2&id="+id,"fade");this.contentPane3.setHref("/ajax/NewsSelectorAjax.asp?part=3&id="+id,"fade");var ul;ul=this.newsItems.domNode.firstChild;if(ul.tagName=="UL"){for(var i=0;i<ul.children.length;i++){if(ul.children[i].value==id){ul.children[i].className="active";this._activeItem=ul.children[i];}else{ul.children[i].className=null;}}}},selectFirstItem:function(){var ul;ul=this.newsItems.domNode.firstChild;if(ul!=null){if(ul.tagName=="UL"){var li;li=ul.firstChild;if(li!=null){this.selectItem(li.value);}}}},selectNextItem:function(){if(this._activeItem){var _584;_584=this._activeItem.nextSibling;if(_584!=null){this.selectItem(_584.value);}else{this.selectFirstItem();}}else{this.selectFirstItem();}},postCreate:function(){this.inherited(arguments);this.connect(this.btnUp,"onclick",this._scrollUp);this.connect(this.btnDown,"onclick",this._scrollDown);},_scrollUp:function(){var _585=this;_585._scrollItems(1);},_scrollDown:function(){var _586=this;_586._scrollItems(-1);},_scrollItems:function(_587){var node=dojo.byId("newsItems");var _588;_588=this.scrollPos;var _589;var _58a;var ul;ul=this.newsItems.domNode.firstChild;_58a=ul.children.length-4;_589=-(_58a*this.delta);if((_587>0)&&(this.scrollPos<0)){this.scrollPos+=this.delta;}else{if((_587<0)&&(this.scrollPos>_589)){this.scrollPos-=this.delta;}}if(_588!=this.scrollPos){node._anim=dojo.animateProperty({node:node,properties:{top:{end:this.scrollPos}},easing:dojo.fx.easing.quadInOut}).play();}}});}if(!dojo._hasResource["harrykies.widget.ThumbnailPicker"]){dojo._hasResource["harrykies.widget.ThumbnailPicker"]=true;dojo.provide("harrykies.widget.ThumbnailPicker");dojo.declare("harrykies.widget.ThumbnailPicker",[dijit.layout._LayoutWidget,dijit._Templated],{templateString:"<div class=\"hkThumbnailPickerPane\" dojoattachpoint=\"containerNode\">\r\n  <div class=\"hkThumbnailPickerPane1 border_bottom\">\r\n    <div class=\"preview\">\r\n      <h2 dojoattachpoint=\"titleNode\"></h2>\r\n    </div>\r\n</div>\r\n  <div class=\"hkThumbnailPickerPane2\" dojoattachpoint=\"thumbNailPickerContainer\">\r\n\t\t<div class=\"thumbnailItems\" dojoattachpoint=\"thumbnailItems\" id=\"thumbnailItems\" dojotype=\"dijit.layout.ContentPane\" preload=\"true\"></div>\r\n  </div>\r\n  \r\n  <div class=\"navigation-ticker\">\r\n  \r\n    <div class=\"left\" dojoattachpoint=\"btnLeft\"><a href=\"#\"></a></div>\r\n    \r\n    <div class=\"right\" dojoattachpoint=\"btnRight\"><a href=\"#\"></a></div>\r\n    \r\n   </div>\r\n    \r\n</div>\r\n",widgetsInTemplate:true,itemWidth:160,itemsPerPage:6,href:"",title:"",_scrollPos:0,_autoScrollDirection:-1,_autoScrollTimeout:8000,postCreate:function(){this.inherited(arguments);this.connect(this.btnLeft,"onclick",this._scrollLeft);this.connect(this.btnRight,"onclick",this._scrollRight);},startup:function(){this.thumbnailItems.attr("href",this.href);this.titleNode.innerHTML=this.title;var node=dojo.byId("thumbnailItems");dojo.style(node,{width:"1000px"});this._setAutoScrollTimeout();},_setAutoScrollTimeout:function(){if(this._timer){clearTimeout(this._timer);}this._timer=setTimeout(dojo.hitch(this,"autoScroll"),this._autoScrollTimeout);},autoScroll:function(){var node=dojo.byId("thumbnailItems");var _58b=node.children.length-1;if(_58b>this.itemsPerPage){this._scrollItems(this._autoScrollDirection,true);}},_scrollLeft:function(){var node=dojo.byId("thumbnailItems");var _58c=node.children.length-1;if(_58c>this.itemsPerPage){this._scrollItems(1,false);}},_scrollRight:function(){var node=dojo.byId("thumbnailItems");var _58d=node.children.length-1;if(_58d>this.itemsPerPage){this._scrollItems(-1,false);}},_scrollItems:function(_58e,_58f){var node=dojo.byId("thumbnailItems");var _590=node.children.length-1;dojo.style(node,{width:(_590*this.itemWidth)+"px"});var _591=-((_590-this.itemsPerPage)*this.itemWidth);var _592=this._scrollPos;if((_58e>0)&&(this._scrollPos<0)){this._scrollPos+=this.itemWidth*this.itemsPerPage;}else{if((_58e<0)&&(this._scrollPos>_591)){this._scrollPos-=this.itemWidth*this.itemsPerPage;}else{if(_58f){this._autoScrollDirection=-this._autoScrollDirection;this._scrollItems(this._autoScrollDirection,false);}}}if(_592!=this._scrollPos){node._anim=dojo.animateProperty({node:node,properties:{left:{end:this._scrollPos}},easing:dojo.fx.easing.quadInOut}).play();}this._setAutoScrollTimeout();}});}if(!dojo._hasResource["dijit.dijit"]){dojo._hasResource["dijit.dijit"]=true;dojo.provide("dijit.dijit");}if(!dojo._hasResource["harrykies.widget.Popup"]){dojo._hasResource["harrykies.widget.Popup"]=true;dojo.provide("harrykies.widget.Popup");dojo.declare("harrykies.widget.Popup",[dijit.layout.ContentPane,dijit._Templated,dijit._DialogMixin],{templateString:"<div tabindex=\"-1\" dojoattachpoint=\"containerNode\"></div>",parent:"",parentpopup:"",doLayout:false,_open:false,postCreate:function(){this.inherited(arguments);dijit.popup.moveOffScreen(this.domNode);this.parent=(this.parent!="")?dojo.byId(this.parent):null;this.parentpopup=(this.parentpopup!="")?dojo.byId(this.parentpopup):null;if(this.parent){this.connect(this.parent,"onclick","_onClick");}this.connect(this.domNode,"onkeypress",dojo.hitch(this,function(e){var evt=e;var node=evt.target;var dk=dojo.keys;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.containerNode);}var _593=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==dk.ESCAPE){setTimeout(dojo.hitch(this,"onCancel"),0);dojo.stopEvent(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_593){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_593){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.charOrCode===dk.TAB){evt.stopPropagation();}}}}var _594=dojo.filter(dojo.query("ul > li > a",this.containerNode),function(link){return link.innerHTML.charAt(0).toLowerCase()==e.keyChar.toLowerCase();});if(_594.length>0){var mb=dojo.marginBox(dojo.isIE?_594[0].parentNode:_594[0]);dojox.fx.smoothScroll({target:{x:0,y:mb.t+dojo.position(this.containerNode).y},win:this.containerNode,duration:400,onEnd:function(){dojox.fx.highlight({node:_594[0],duration:800}).play();}}).play();}}));},_onClick:function(e){if(this._open){this.close();}else{this.open();}},open:function(){this._open=true;dijit.popup.open({popup:this,parent:this.parentpopup,around:this.parent,onExecute:dojo.hitch(this,"close"),onCancel:dojo.hitch(this,"close")});dijit.focus(this.domNode);},onCancel:function(){},onExecute:function(){},close:function(){if(this._preventTAB){this._preventTAB=false;return;}this._open=false;if(this.parentpopup){dijit.focus(this.parentpopup);}dijit.popup.close(this);},_onBlur:function(){if(!this._preventBlur){this.onCancel();}},onOpen:function(){}});}if(!dojo._hasResource["harrykies._base"]){dojo._hasResource["harrykies._base"]=true;dojo.provide("harrykies._base");(function(){harrykies.setText=function(node,text){node=dojo.byId(node);if(node){dojo.empty(node);dojo.place(dojo.doc.createTextNode(text?text:""),node);}};})();}dojo.i18n._preloadLocalizations("dojo.nls.dojo",["ROOT","ar","ca","cs","da","de","de-de","el","en","en-gb","en-us","es","es-es","fi","fi-fi","fr","fr-fr","he","he-il","hu","it","it-it","ja","ja-jp","ko","ko-kr","nb","nl","nl-nl","pl","pt","pt-br","pt-pt","ru","sk","sl","sv","th","tr","xx","zh","zh-cn","zh-tw"]);if(dojo.isBrowser&&(document.readyState==="complete"||dojo.config.afterOnLoad)){window.setTimeout(dojo._loadInit,100);}})();

