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

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

	http://dojotoolkit.org/license

*/

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

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

(function(){var _1=null;if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){var _2="",_3="",_4="",_5={},_6={};_1=_1||djConfig.scopeMap;for(var i=0;i<_1.length;i++){var _8=_1[i];_2+="var "+_8[0]+" = {}; "+_8[1]+" = "+_8[0]+";"+_8[1]+"._scopeName = '"+_8[1]+"';";_3+=(i==0?"":",")+_8[0];_4+=(i==0?"":",")+_8[1];_5[_8[0]]=_8[1];_6[_8[1]]=_8[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}(function(){if(!this["console"]){this.console={log:function(){}};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _c=tn+"";console[_c]=function(){var a=Array.apply({},arguments);a.unshift(_c+":");console["log"](a.join(" "));};})();}}if(typeof dojo=="undefined"){this.dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){this.dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){this.dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var _f in djConfig){d.config[_f]=djConfig[_f];}}var _10=["Browser","Rhino","Spidermonkey","Mobile"];var t;while((t=_10.shift())){d["is"+t]=false;}dojo.locale=d.config.locale;var rev="$Rev: 14256 $".match(/\d+/);dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:rev?+rev[0]:999999,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(obj,_14){var _15={};for(var x in _14){if(_15[x]===undefined||_15[x]!=_14[x]){obj[x]=_14[x];}}if(d["isIE"]&&_14){var p=_14.toString;if(typeof p=="function"&&p!=obj.toString&&p!=_15.toString&&p!="\nfunction toString() {\n    [native code]\n}\n"){obj.toString=_14.toString;}}return obj;};dojo.mixin=function(obj,_19){for(var i=1,l=arguments.length;i<l;i++){d._mixin(obj,arguments[i]);}return obj;};dojo._getProp=function(_1c,_1d,_1e){var obj=_1e||d.global;for(var i=0,p;obj&&(p=_1c[i]);i++){if(i==0&&this._scopeMap[p]){p=this._scopeMap[p];}obj=(p in obj?obj[p]:(_1d?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_22,_23,_24){var _25=_22.split("."),p=_25.pop(),obj=d._getProp(_25,true,_24);return obj&&p?(obj[p]=_23):undefined;};dojo.getObject=function(_28,_29,_2a){return d._getProp(_28.split("."),_29,_2a);};dojo.exists=function(_2b,obj){return !!d.getObject(_2b,false,obj);};dojo["eval"]=function(_2d){return d.global.eval?d.global.eval(_2d):eval(_2d);};d.deprecated=d.experimental=function(){};})();(function(){var d=dojo;d.mixin(d,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_2f){var mp=this._modulePrefixes;return !!(mp[_2f]&&mp[_2f].value);},_getModulePrefix:function(_31){var mp=this._modulePrefixes;if(this._moduleHasPrefix(_31)){return mp[_31].value;}return _31;},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadPath=function(_33,_34,cb){var uri=((_33.charAt(0)=="/"||_33.match(/^\w+:/))?"":this.baseUrl)+_33;try{return !_34?this._loadUri(uri,cb):this._loadUriAndCheck(uri,_34,cb);}catch(e){console.error(e);return false;}};dojo._loadUri=function(uri,cb){if(this._loadedUrls[uri]){return true;}var _39=this._getText(uri,true);if(!_39){return false;}this._loadedUrls[uri]=true;this._loadedUrls.push(uri);if(cb){_39="("+_39+")";}else{_39=this._scopePrefix+_39+this._scopeSuffix;}if(d.isMoz){_39+="\r\n//@ sourceURL="+uri;}var _3a=d["eval"](_39);if(cb){cb(_3a);}return true;};dojo._loadUriAndCheck=function(uri,_3c,cb){var ok=false;try{ok=this._loadUri(uri,cb);}catch(e){console.error("failed loading "+uri+" with error: "+e);}return !!(ok&&this._loadedModules[_3c]);};dojo.loaded=function(){this._loadNotifying=true;this._postLoad=true;var mll=d._loaders;this._loaders=[];for(var x=0;x<mll.length;x++){mll[x]();}this._loadNotifying=false;if(d._postLoad&&d._inFlightCount==0&&mll.length){d._callLoaded();}};dojo.unloaded=function(){var mll=this._unloaders;while(mll.length){(mll.pop())();}};d._onto=function(arr,obj,fn){if(!fn){arr.push(obj);}else{if(fn){var _45=(typeof fn=="string")?obj[fn]:fn;arr.push(function(){_45.call(obj);});}}};dojo.addOnLoad=function(obj,_47){d._onto(d._loaders,obj,_47);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.addOnUnload=function(obj,_4a){d._onto(d._unloaders,obj,_4a);};dojo._modulesLoaded=function(){if(d._postLoad){return;}if(d._inFlightCount>0){console.warn("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(dojo.config.useXDomain&&d.isOpera)){if(dojo.isAIR){setTimeout(function(){dojo.loaded();},0);}else{setTimeout(dojo._scopeName+".loaded();",0);}}else{d.loaded();}};dojo._getModuleSymbols=function(_4b){var _4c=_4b.split(".");for(var i=_4c.length;i>0;i--){var _4e=_4c.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_4e)){_4c[0]="../"+_4c[0];}else{var _4f=this._getModulePrefix(_4e);if(_4f!=_4e){_4c.splice(0,i,_4f);break;}}}return _4c;};dojo._global_omit_module_check=false;dojo.loadInit=function(_50){_50();};dojo._loadModule=dojo.require=function(_51,_52){_52=this._global_omit_module_check||_52;var _53=this._loadedModules[_51];if(_53){return _53;}var _54=this._getModuleSymbols(_51).join("/")+".js";var _55=(!_52)?_51:null;var ok=this._loadPath(_54,_55);if(!ok&&!_52){throw new Error("Could not load '"+_51+"'; last tried '"+_54+"'");}if(!_52&&!this._isXDomain){_53=this._loadedModules[_51];if(!_53){throw new Error("symbol '"+_51+"' is not defined after loading '"+_54+"'");}}return _53;};dojo.provide=function(_57){_57=_57+"";return (d._loadedModules[_57]=d.getObject(_57,true));};dojo.platformRequire=function(_58){var _59=_58.common||[];var _5a=_59.concat(_58[d._name]||_58["default"]||[]);for(var x=0;x<_5a.length;x++){var _5c=_5a[x];if(_5c.constructor==Array){d._loadModule.apply(d,_5c);}else{d._loadModule(_5c);}}};dojo.requireIf=function(_5d,_5e){if(_5d===true){var _5f=[];for(var i=1;i<arguments.length;i++){_5f.push(arguments[i]);}d.require.apply(d,_5f);}};dojo.requireAfterIf=d.requireIf;dojo.registerModulePath=function(_61,_62){d._modulePrefixes[_61]={name:_61,value:_62};};dojo.requireLocalization=function(_63,_64,_65,_66){d.require("dojo.i18n");d.i18n._requireLocalization.apply(d.hostenv,arguments);};var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$");var ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");dojo._Url=function(){var n=null;var _a=arguments;var uri=[_a[0]];for(var i=1;i<_a.length;i++){if(!_a[i]){continue;}var _6d=new d._Url(_a[i]+"");var _6e=new d._Url(uri[0]+"");if(_6d.path==""&&!_6d.scheme&&!_6d.authority&&!_6d.query){if(_6d.fragment!=n){_6e.fragment=_6d.fragment;}_6d=_6e;}else{if(!_6d.scheme){_6d.scheme=_6e.scheme;if(!_6d.authority){_6d.authority=_6e.authority;if(_6d.path.charAt(0)!="/"){var _6f=_6e.path.substring(0,_6e.path.lastIndexOf("/")+1)+_6d.path;var _70=_6f.split("/");for(var j=0;j<_70.length;j++){if(_70[j]=="."){if(j==_70.length-1){_70[j]="";}else{_70.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_70[0]=="")&&_70[j]==".."&&_70[j-1]!=".."){if(j==(_70.length-1)){_70.splice(j,1);_70[j-1]="";}else{_70.splice(j-1,2);j-=2;}}}}_6d.path=_70.join("/");}}}}uri=[];if(_6d.scheme){uri.push(_6d.scheme,":");}if(_6d.authority){uri.push("//",_6d.authority);}uri.push(_6d.path);if(_6d.query){uri.push("?",_6d.query);}if(_6d.fragment){uri.push("#",_6d.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(_73,url){var loc=d._getModuleSymbols(_73).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _76=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_76==-1||_76>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 _78=document.getElementsByTagName("script");var _79=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_78.length;i++){var src=_78[i].getAttribute("src");if(!src){continue;}var m=src.match(_79);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_78[i].getAttribute("djConfig");if(cfg){var _7e=eval("({ "+cfg+" })");for(var x in _7e){dojo.config[x]=_7e[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent;var dav=n.appVersion;var tv=parseFloat(dav);d.isOpera=(dua.indexOf("Opera")>=0)?tv:0;var _84=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_84){d.isSafari=parseFloat(dav.split("Version/")[1])||(parseFloat(dav.substr(_84+7))>419.3)?3:2;}d.isAIR=(dua.indexOf("AdobeAIR")>=0)?1:0;d.isKhtml=(dav.indexOf("Konqueror")>=0||d.isSafari)?tv:0;d.isMozilla=d.isMoz=(dua.indexOf("Gecko")>=0&&!d.isKhtml)?tv:0;d.isFF=d.isIE=0;if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1])||0;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||0;}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}var cm=document.compatMode;d.isQuirks=cm=="BackCompat"||cm=="QuirksMode"||d.isIE<6;d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _86=null;var _87=null;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_86=new XMLHttpRequest();}catch(e){}}if(!_86){for(var i=0;i<3;++i){var _89=d._XMLHTTP_PROGIDS[i];try{_86=new ActiveXObject(_89);}catch(e){_87=e;}if(_86){d._XMLHTTP_PROGIDS=[_89];break;}}}if(!_86){throw new Error("XMLHTTP not available: "+_87);}return _86;};d._isDocumentOk=function(_8a){var _8b=_8a.status||0;return (_8b>=200&&_8b<300)||_8b==304||_8b==1223||(!_8b&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _8c=window.location+"";var _8d=document.getElementsByTagName("base");var _8e=(_8d&&_8d.length>0);d._getText=function(uri,_90){var _91=this._xhrObj();if(!_8e&&dojo._Url){uri=(new dojo._Url(_8c,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_91.open("GET",uri,false);try{_91.send(null);if(!d._isDocumentOk(_91)){var err=Error("Unable to load "+uri+" status:"+_91.status);err.status=_91.status;err.responseText=_91.responseText;throw err;}}catch(e){if(_90){return null;}throw e;}return _91.responseText;};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=this._windowUnloaders;while(mll.length){(mll.pop())();}};d.addOnWindowUnload=function(obj,_95){d._onto(d._windowUnloaders,obj,_95);};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _97=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_97!="domcontentloaded"&&_97!="load")){return;}arguments.callee.initialized=true;if("_khtmlTimer" in dojo){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};dojo._fakeLoadInit=function(){dojo._loadInit({type:"load"});};if(!dojo.config.afterOnLoad){if(document.addEventListener){if(dojo.isOpera||dojo.isFF>=3||(dojo.isMoz&&dojo.config.enableMozDomContentLoaded===true)){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}if(dojo.isAIR){window.addEventListener("load",dojo._loadInit,null);}else{if(/(WebKit|khtml)/i.test(navigator.userAgent)){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}}}(function(){var _w=window;var _99=function(_9a,fp){var _9c=_w[_9a]||function(){};_w[_9a]=function(){fp.apply(_w,arguments);_9c.apply(_w,arguments);};};if(dojo.isIE){if(!dojo.config.afterOnLoad){document.write("<scr"+"ipt defer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){"+dojo._scopeName+"._loadInit();}\">"+"</scr"+"ipt>");}try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}catch(e){}}_99("onbeforeunload",function(){dojo.unloaded();});_99("onunload",function(){dojo.windowUnloaded();});})();}(function(){var mp=dojo.config["modulePaths"];if(mp){for(var _9e in mp){dojo.registerModulePath(_9e,mp[_9e]);}}})();if(dojo.config.isDebug){dojo.require("dojo._firebug.firebug");}if(dojo.config.debugAtAllCosts){dojo.config.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");dojo.isString=function(it){return !!arguments.length&&it!=null&&(typeof it=="string"||it instanceof String);};dojo.isArray=function(it){return it&&(it instanceof Array||typeof it=="array");};dojo.isFunction=(function(){var _a1=function(it){return it&&(typeof it=="function"||it instanceof Function);};return dojo.isSafari?function(it){if(typeof it=="function"&&it=="[object NodeList]"){return false;}return _a1(it);}:_a1;})();dojo.isObject=function(it){return it!==undefined&&(it===null||typeof it=="object"||dojo.isArray(it)||dojo.isFunction(it));};dojo.isArrayLike=function(it){var d=dojo;return it&&it!==undefined&&!d.isString(it)&&!d.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(d.isArray(it)||isFinite(it.length));};dojo.isAlien=function(it){return it&&!dojo.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.extend=function(_a8,_a9){for(var i=1,l=arguments.length;i<l;i++){dojo._mixin(_a8.prototype,arguments[i]);}return _a8;};dojo._hitchArgs=function(_ac,_ad){var pre=dojo._toArray(arguments,2);var _af=dojo.isString(_ad);return function(){var _b0=dojo._toArray(arguments);var f=_af?(_ac||dojo.global)[_ad]:_ad;return f&&f.apply(_ac||this,pre.concat(_b0));};};dojo.hitch=function(_b2,_b3){if(arguments.length>2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_b3){_b3=_b2;_b2=null;}if(dojo.isString(_b3)){_b2=_b2||dojo.global;if(!_b2[_b3]){throw (["dojo.hitch: scope[\"",_b3,"\"] is null (scope=\"",_b2,"\")"].join(""));}return function(){return _b2[_b3].apply(_b2,arguments||[]);};}return !_b2?_b3:function(){return _b3.apply(_b2,arguments||[]);};};dojo.delegate=dojo._delegate=function(obj,_b5){function TMP(){};TMP.prototype=obj;var tmp=new TMP();if(_b5){dojo.mixin(tmp,_b5);}return tmp;};dojo.partial=function(_b7){var arr=[null];return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));};dojo._toArray=function(obj,_ba,_bb){return (_bb||[]).concat(Array.prototype.slice.call(obj,_ba||0));};dojo.clone=function(o){if(!o){return o;}if(dojo.isArray(o)){var r=[];for(var i=0;i<o.length;++i){r.push(dojo.clone(o[i]));}return r;}if(!dojo.isObject(o)){return o;}if(o.nodeType&&o.cloneNode){return o.cloneNode(true);}if(o instanceof Date){return new Date(o.getTime());}var r=new o.constructor();for(var i in o){if(!(i in r)||r[i]!=o[i]){r[i]=dojo.clone(o[i]);}}return r;};dojo.trim=function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");};}if(!dojo._hasResource["dojo._base.declare"]){dojo._hasResource["dojo._base.declare"]=true;dojo.provide("dojo._base.declare");dojo.declare=function(_c0,_c1,_c2){var dd=arguments.callee,_c4;if(dojo.isArray(_c1)){_c4=_c1;_c1=_c4.shift();}if(_c4){dojo.forEach(_c4,function(m){if(!m){throw (_c0+": mixin #"+i+" is null");}_c1=dd._delegate(_c1,m);});}var _c6=dd._delegate(_c1);_c2=_c2||{};_c6.extend(_c2);dojo.extend(_c6,{declaredClass:_c0,_constructor:_c2.constructor});_c6.prototype.constructor=_c6;return dojo.setObject(_c0,_c6);};dojo.mixin(dojo.declare,{_delegate:function(_c7,_c8){var bp=(_c7||0).prototype,mp=(_c8||0).prototype,dd=dojo.declare;var _cc=dd._makeCtor();dojo.mixin(_cc,{superclass:bp,mixin:mp,extend:dd._extend});if(_c7){_cc.prototype=dojo._delegate(bp);}dojo.extend(_cc,dd._core,mp||0,{_constructor:null,preamble:null});_cc.prototype.constructor=_cc;_cc.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;return _cc;},_extend:function(_cd){var i,fn;for(i in _cd){if(dojo.isFunction(fn=_cd[i])&&!0[i]){fn.nom=i;fn.ctor=this;}}dojo.extend(this,_cd);},_makeCtor:function(){return function(){this._construct(arguments);};},_core:{_construct:function(_d0){var c=_d0.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=_d0,ii,fn;if(a[0]){if(((fn=a[0].preamble))){a=fn.apply(this,a)||a;}}if((fn=c.prototype.preamble)){a=fn.apply(this,a)||a;}if(ct&&ct.apply){ct.apply(this,a);}if(mct&&mct.apply){mct.apply(this,a);}if((ii=c.prototype._constructor)){ii.apply(this,_d0);}if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){ct.apply(this,_d0);}},_findMixin:function(_d9){var c=this.constructor,p,m;while(c){p=c.superclass;m=c.mixin;if(m==_d9||(m instanceof _d9.constructor)){return p;}if(m&&m._findMixin&&(m=m._findMixin(_d9))){return m;}c=p&&p.constructor;}},_findMethod:function(_dd,_de,_df,has){var p=_df,c,m,f;do{c=p.constructor;m=c.mixin;if(m&&(m=this._findMethod(_dd,_de,m,has))){return m;}if((f=p[_dd])&&(has==(f==_de))){return p;}p=c.superclass;}while(p);return !has&&(p=this._findMixin(_df))&&this._findMethod(_dd,_de,p,has);},inherited:function(_e5,_e6,_e7){var a=arguments;if(!dojo.isString(a[0])){_e7=_e6;_e6=_e5;_e5=_e6.callee.nom;}a=_e7||_e6;var c=_e6.callee,p=this.constructor.prototype,fn,mp;if(this[_e5]!=c||p[_e5]==c){mp=(c.ctor||0).superclass||this._findMethod(_e5,c,p,true);if(!mp){throw (this.declaredClass+": inherited method \""+_e5+"\" mismatch");}p=this._findMethod(_e5,c,mp,false);}fn=p&&p[_e5];if(!fn){throw (mp.declaredClass+": inherited method \""+_e5+"\" not found");}return fn.apply(this,a);}}});}if(!dojo._hasResource["dojo._base.connect"]){dojo._hasResource["dojo._base.connect"]=true;dojo.provide("dojo._base.connect");dojo._listener={getDispatcher:function(){return function(){var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target;var r=t&&t.apply(this,arguments);for(var i in ls){if(!(i in ap)){ls[i].apply(this,arguments);}}return r;};},add:function(_f3,_f4,_f5){_f3=_f3||dojo.global;var f=_f3[_f4];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_f3[_f4]=d;}return f._listeners.push(_f5);},remove:function(_f8,_f9,_fa){var f=(_f8||dojo.global)[_f9];if(f&&f._listeners&&_fa--){delete f._listeners[_fa];}}};dojo.connect=function(obj,_fd,_fe,_ff,_100){var a=arguments,args=[],i=0;args.push(dojo.isString(a[0])?null:a[i++],a[i++]);var a1=a[i+1];args.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){args.push(a[i]);}return dojo._connect.apply(this,args);};dojo._connect=function(obj,_106,_107,_108){var l=dojo._listener,h=l.add(obj,_106,dojo.hitch(_107,_108));return [obj,_106,h,l];};dojo.disconnect=function(_10b){if(_10b&&_10b[0]!==undefined){dojo._disconnect.apply(this,_10b);delete _10b[0];}};dojo._disconnect=function(obj,_10d,_10e,_10f){_10f.remove(obj,_10d,_10e);};dojo._topics={};dojo.subscribe=function(_110,_111,_112){return [_110,dojo._listener.add(dojo._topics,_110,dojo.hitch(_111,_112))];};dojo.unsubscribe=function(_113){if(_113){dojo._listener.remove(dojo._topics,_113[0],_113[1]);}};dojo.publish=function(_114,args){var f=dojo._topics[_114];if(f){f.apply(this,args||[]);}};dojo.connectPublisher=function(_117,obj,_119){var pf=function(){dojo.publish(_117,arguments);};return (_119)?dojo.connect(obj,_119,pf):dojo.connect(obj,pf);};}if(!dojo._hasResource["dojo._base.Deferred"]){dojo._hasResource["dojo._base.Deferred"]=true;dojo.provide("dojo._base.Deferred");dojo.Deferred=function(_11b){this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=_11b;this.silentlyCancelled=false;};dojo.extend(dojo.Deferred,{_nextId:(function(){var n=1;return function(){return n++;};})(),cancel:function(){var err;if(this.fired==-1){if(this.canceller){err=this.canceller(this);}else{this.silentlyCancelled=true;}if(this.fired==-1){if(!(err instanceof Error)){var res=err;err=new Error("Deferred Cancelled");err.dojoType="cancel";err.cancelResult=res;}this.errback(err);}}else{if((this.fired==0)&&(this.results[0] instanceof dojo.Deferred)){this.results[0].cancel();}}},_resback:function(res){this.fired=((res instanceof Error)?1:0);this.results[this.fired]=res;this._fire();},_check:function(){if(this.fired!=-1){if(!this.silentlyCancelled){throw new Error("already called!");}this.silentlyCancelled=false;return;}},callback:function(res){this._check();this._resback(res);},errback:function(res){this._check();if(!(res instanceof Error)){res=new Error(res);}this._resback(res);},addBoth:function(cb,cbfn){var _124=dojo.hitch.apply(dojo,arguments);return this.addCallbacks(_124,_124);},addCallback:function(cb,cbfn){return this.addCallbacks(dojo.hitch.apply(dojo,arguments));},addErrback:function(cb,cbfn){return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments));},addCallbacks:function(cb,eb){this.chain.push([cb,eb]);if(this.fired>=0){this._fire();}return this;},_fire:function(){var _12b=this.chain;var _12c=this.fired;var res=this.results[_12c];var self=this;var cb=null;while((_12b.length>0)&&(this.paused==0)){var f=_12b.shift()[_12c];if(!f){continue;}var func=function(){res=f(res);_12c=((res instanceof Error)?1:0);if(res instanceof dojo.Deferred){cb=function(res){self._resback(res);self.paused--;if((self.paused==0)&&(self.fired>=0)){self._fire();}};this.paused++;}};if(dojo.config.isDebug){func.call(this);}else{try{func.call(this);}catch(err){_12c=1;res=err;}}}this.fired=_12c;this.results[_12c]=res;if((cb)&&(this.paused)){res.addBoth(cb);}}});}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(json){return eval("("+json+")");};dojo._escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_136,_137){if(it===undefined){return "undefined";}var _138=typeof it;if(_138=="number"||_138=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _139=arguments.callee;var _13a;_137=_137||"";var _13b=_136?_137+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_13a=tf.call(it);if(it!==_13a){return _139(_13a,_136,_13b);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_136?" ":"";var _13e=_136?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_139(obj,_136,_13b);if(typeof val!="string"){val="undefined";}return _13e+_13b+val;});return "["+res.join(","+sep)+_13e+_137+"]";}if(_138=="function"){return null;}var _142=[],key;for(key in it){var _144,val;if(typeof key=="number"){_144="\""+key+"\"";}else{if(typeof key=="string"){_144=dojo._escapeString(key);}else{continue;}}val=_139(it[key],_136,_13b);if(typeof val!="string"){continue;}_142.push(_13e+_13b+_144+":"+sep+val);}return "{"+_142.join(","+sep)+_13e+_137+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _146=function(arr,obj,cb){return [dojo.isString(arr)?arr.split(""):arr,obj||dojo.global,dojo.isString(cb)?new Function("item","index","array",cb):cb];};dojo.mixin(dojo,{indexOf:function(_14a,_14b,_14c,_14d){var step=1,end=_14a.length||0,i=0;if(_14d){i=end-1;step=end=-1;}if(_14c!=undefined){i=_14c;}if((_14d&&i>end)||i<end){for(;i!=end;i+=step){if(_14a[i]==_14b){return i;}}}return -1;},lastIndexOf:function(_150,_151,_152){return dojo.indexOf(_150,_151,_152,true);},forEach:function(arr,_154,_155){if(!arr||!arr.length){return;}var _p=_146(arr,_155,_154);arr=_p[0];for(var i=0,l=arr.length;i<l;++i){_p[2].call(_p[1],arr[i],i,arr);}},_everyOrSome:function(_159,arr,_15b,_15c){var _p=_146(arr,_15c,_15b);arr=_p[0];for(var i=0,l=arr.length;i<l;++i){var _160=!!_p[2].call(_p[1],arr[i],i,arr);if(_159^_160){return _160;}}return _159;},every:function(arr,_162,_163){return this._everyOrSome(true,arr,_162,_163);},some:function(arr,_165,_166){return this._everyOrSome(false,arr,_165,_166);},map:function(arr,_168,_169){var _p=_146(arr,_169,_168);arr=_p[0];var _16b=(arguments[3]?(new arguments[3]()):[]);for(var i=0,l=arr.length;i<l;++i){_16b.push(_p[2].call(_p[1],arr[i],i,arr));}return _16b;},filter:function(arr,_16f,_170){var _p=_146(arr,_170,_16f);arr=_p[0];var _172=[];for(var i=0,l=arr.length;i<l;++i){if(_p[2].call(_p[1],arr[i],i,arr)){_172.push(arr[i]);}}return _172;}});})();}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");dojo.Color=function(_175){if(_175){this.setColor(_175);}};dojo.Color.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255]};dojo.extend(dojo.Color,{r:255,g:255,b:255,a:1,_set:function(r,g,b,a){var t=this;t.r=r;t.g=g;t.b=b;t.a=a;},setColor:function(_17b){var d=dojo;if(d.isString(_17b)){d.colorFromString(_17b,this);}else{if(d.isArray(_17b)){d.colorFromArray(_17b,this);}else{this._set(_17b.r,_17b.g,_17b.b,_17b.a);if(!(_17b instanceof d.Color)){this.sanitize();}}}return this;},sanitize:function(){return this;},toRgb:function(){var t=this;return [t.r,t.g,t.b];},toRgba:function(){var t=this;return [t.r,t.g,t.b,t.a];},toHex:function(){var arr=dojo.map(["r","g","b"],function(x){var s=this[x].toString(16);return s.length<2?"0"+s:s;},this);return "#"+arr.join("");},toCss:function(_182){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_182?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_185,end,_187,obj){var d=dojo,t=obj||new dojo.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_185[x]+(end[x]-_185[x])*_187;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_18c,obj){var m=_18c.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_18f,obj){var d=dojo,t=obj||new d.Color(),bits=(_18f.length==4)?4:8,mask=(1<<bits)-1;_18f=Number("0x"+_18f.substr(1));if(isNaN(_18f)){return null;}d.forEach(["b","g","r"],function(x){var c=_18f&mask;_18f>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new dojo.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=dojo.Color.named[str];return a&&dojo.colorFromArray(a,obj)||dojo.colorFromRgb(str,obj)||dojo.colorFromHex(str,obj);};}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_19d,_19e){dojo.global=_19d;dojo.doc=_19e;};dojo._fireCallback=function(_19f,_1a0,_1a1){if(_1a0&&dojo.isString(_19f)){_19f=_1a0[_19f];}return _19f.apply(_1a0,_1a1||[]);};dojo.withGlobal=function(_1a2,_1a3,_1a4,_1a5){var rval;var _1a7=dojo.global;var _1a8=dojo.doc;try{dojo.setContext(_1a2,_1a2.document);rval=dojo._fireCallback(_1a3,_1a4,_1a5);}finally{dojo.setContext(_1a7,_1a8);}return rval;};dojo.withDoc=function(_1a9,_1aa,_1ab,_1ac){var rval;var _1ae=dojo.doc;try{dojo.doc=_1a9;rval=dojo._fireCallback(_1aa,_1ab,_1ac);}finally{dojo.doc=_1ae;}return rval;};}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");(function(){var del=(dojo._event_listener={add:function(node,name,fp){if(!node){return;}name=del._normalizeEventName(name);fp=del._fixCallback(name,fp);var _1b3=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,_1b7,_1b8){if(node){node.removeEventListener(del._normalizeEventName(_1b7),_1b8,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,_1be){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;}});dojo.fixEvent=function(evt,_1c1){return del._fixEvent(evt,_1c1);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _1c3=dojo._listener;dojo._connect=function(obj,_1c5,_1c6,_1c7,_1c8){var _1c9=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=!_1c9?0:(!_1c8?1:2),l=[dojo._listener,del,_1c3][lid];var h=l.add(obj,_1c5,dojo.hitch(_1c6,_1c7));return [obj,_1c5,h,lid];};dojo._disconnect=function(obj,_1ce,_1cf,_1d0){([dojo._listener,del,_1c3][_1d0]).remove(obj,_1ce,_1cf);};dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145};if(dojo.isIE){var _1d1=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _1d5=dojo._ieListenersName="_"+dojo._scopeName+"_listeners";if(!dojo.config._allow_leaks){_1c3=iel=dojo._ie_listener={handlers:[],add:function(_1d6,_1d7,_1d8){_1d6=_1d6||dojo.global;var f=_1d6[_1d7];if(!f||!f[_1d5]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_1d5]=[];f=_1d6[_1d7]=d;}return f[_1d5].push(ieh.push(_1d8)-1);},remove:function(_1dc,_1dd,_1de){var f=(_1dc||dojo.global)[_1dd],l=f&&f[_1d5];if(f&&l&&_1de--){delete ieh[l[_1de]];delete l[_1de];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_1e2,fp){if(!node){return;}_1e2=del._normalizeEventName(_1e2);if(_1e2=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_1d5]||!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,_1e2,del._fixCallback(fp));},remove:function(node,_1e7,_1e8){_1e7=del._normalizeEventName(_1e7);iel.remove(node,_1e7,_1e8);if(_1e7=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_1ea){return _1ea.slice(0,2)!="on"?"on"+_1ea:_1ea;},_nop:function(){},_fixEvent:function(evt,_1ec){if(!evt){var w=_1ec&&(_1ec.ownerDocument||_1ec.document||_1ec).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_1ec||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _1f0=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _1f1=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_1f0.scrollLeft||0)-_1f1.x;evt.pageY=evt.clientY+(_1f0.scrollTop||0)-_1f1.y;if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}evt.stopPropagation=del._stopPropagation;evt.preventDefault=del._preventDefault;return del._fixKeys(evt);},_fixKeys:function(evt){switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;del._setKeyChar(evt);break;}return evt;},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39},_stealthKeyDown:function(evt){var kp=evt.currentTarget.onkeypress;if(!kp||!kp[_1d5]){return;}var k=evt.keyCode;var _1f7=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_1f7||evt.ctrlKey){var c=_1f7?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;_1d1(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_1d1(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,_1fc){var faux=dojo.mixin({},evt,_1fc);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_1ff){switch(evt.type){case "keypress":var c=evt.which;if(c==3){c=99;}c=((c<41)&&(!evt.shiftKey)?0:c);if((evt.ctrlKey)&&(!evt.shiftKey)&&(c>=65)&&(c<=90)){c+=32;}return del._synthesizeEvent(evt,{charCode:c});}return evt;}});}if(dojo.isSafari){dojo.mixin(del,{_fixEvent:function(evt,_202){switch(evt.type){case "keypress":var c=evt.charCode,s=evt.shiftKey,k=evt.keyCode;k=k||_206[evt.keyIdentifier]||0;if(evt.keyIdentifier=="Enter"){c=0;}else{if((evt.ctrlKey)&&(c>0)&&(c<27)){c+=96;}else{if(c==dojo.keys.SHIFT_TAB){c=dojo.keys.TAB;s=true;}else{c=(c>=32&&c<63232?c:0);}}}return del._synthesizeEvent(evt,{charCode:c,shiftKey:s,keyCode:k});}return evt;}});dojo.mixin(dojo.keys,{SHIFT_TAB:25,UP_ARROW:63232,DOWN_ARROW:63233,LEFT_ARROW:63234,RIGHT_ARROW:63235,F1:63236,F2:63237,F3:63238,F4:63239,F5:63240,F6:63241,F7:63242,F8:63243,F9:63244,F10:63245,F11:63246,F12:63247,PAUSE:63250,DELETE:63272,HOME:63273,END:63275,PAGE_UP:63276,PAGE_DOWN:63277,INSERT:63302,PRINT_SCREEN:63248,SCROLL_LOCK:63249,NUM_LOCK:63289});var dk=dojo.keys,_206={"Up":dk.UP_ARROW,"Down":dk.DOWN_ARROW,"Left":dk.LEFT_ARROW,"Right":dk.RIGHT_ARROW,"PageUp":dk.PAGE_UP,"PageDown":dk.PAGE_DOWN};}})();if(dojo.isIE){dojo._ieDispatcher=function(args,_209){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(_209,args);for(var i in ls){if(!(i in ap)){h[ls[i]].apply(_209,args);}}return r;};dojo._getIeDispatcher=function(){return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)");};dojo._event_listener._fixCallback=function(fp){var f=dojo._event_listener._fixEvent;return function(e){return fp.call(this,f(e,this));};};}}if(!dojo._hasResource["dojo._base.html"]){dojo._hasResource["dojo._base.html"]=true;dojo.provide("dojo._base.html");try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}if(dojo.isIE||dojo.isOpera){dojo.byId=function(id,doc){if(dojo.isString(id)){var _d=doc||dojo.doc;var te=_d.getElementById(id);if(te&&te.attributes.id.value==id){return te;}else{var eles=_d.all[id];if(!eles||!eles.length){return eles;}var i=0;while((te=eles[i++])){if(te.attributes.id.value==id){return te;}}}}else{return id;}};}else{dojo.byId=function(id,doc){return dojo.isString(id)?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var _21d=null;dojo.addOnWindowUnload(function(){_21d=null;});dojo._destroyElement=function(node){node=d.byId(node);try{if(!_21d||_21d.ownerDocument!=node.ownerDocument){_21d=node.ownerDocument.createElement("div");}_21d.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_21d.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_220){try{node=d.byId(node);_220=d.byId(_220);while(node){if(node===_220){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_222){node=d.byId(node);if(d.isMozilla){node.style.MozUserSelect=_222?"":"none";}else{if(d.isKhtml){node.style.KhtmlUserSelect=_222?"auto":"none";}else{if(d.isIE){var v=node.unselectable=_222?"":"on";d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _224=function(node,ref){ref.parentNode.insertBefore(node,ref);return true;};var _227=function(node,ref){var pn=ref.parentNode;if(ref==pn.lastChild){pn.appendChild(node);}else{return _224(node,ref.nextSibling);}return true;};dojo.place=function(node,_22c,_22d){if(!node||!_22c||_22d===undefined){return false;}node=d.byId(node);_22c=d.byId(_22c);if(typeof _22d=="number"){var cn=_22c.childNodes;if((_22d==0&&cn.length==0)||cn.length==_22d){_22c.appendChild(node);return true;}if(_22d==0){return _224(node,_22c.firstChild);}return _227(node,cn[_22d-1]);}switch(_22d.toLowerCase()){case "before":return _224(node,_22c);case "after":return _227(node,_22c);case "first":if(_22c.firstChild){return _224(node,_22c.firstChild);}default:_22c.appendChild(node);return true;}};dojo.boxModel="content-box";if(d.isIE){var _dcm=document.compatMode;d.boxModel=_dcm=="BackCompat"||_dcm=="QuirksMode"||d.isIE<6?"border-box":"content-box";}var gcs;if(d.isSafari){gcs=function(node){var s;if(node instanceof Element){var dv=node.ownerDocument.defaultView;var s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}}return s||{};};}else{if(d.isIE){gcs=function(node){return node.nodeType==1?node.currentStyle:{};};}else{gcs=function(node){return node instanceof Element?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}dojo.getComputedStyle=gcs;if(!d.isIE){dojo._toPixelValue=function(_236,_237){return parseFloat(_237)||0;};}else{dojo._toPixelValue=function(_238,_239){if(!_239){return 0;}if(_239=="medium"){return 4;}if(_239.slice&&(_239.slice(-2)=="px")){return parseFloat(_239);}with(_238){var _23a=style.left;var _23b=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_239;_239=style.pixelLeft;}catch(e){_239=0;}style.left=_23a;runtimeStyle.left=_23b;}return _239;};}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,_244){var ov=_244*100;node.style.zoom=1;if(_244==1){af(node,1).Enabled=false;}else{af(node,1).Enabled=true;if(!af(node)){node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}}if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){d._setOpacity(i,_244);});}return _244;}:function(node,_248){return node.style.opacity=_248;};var _249={left:true,top:true};var _24a=/margin|padding|width|height|max|min|offset/;var _24b=function(node,type,_24e){type=type.toLowerCase();if(d.isIE&&_24e=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(!(type in _249)){_249[type]=_24a.test(type);}return _249[type]?px(node,_24e):_24e;};var _24f=d.isIE?"styleFloat":"cssFloat";var _250={"cssFloat":_24f,"styleFloat":_24f,"float":_24f};dojo.style=function(node,_252,_253){var n=d.byId(node),args=arguments.length,op=(_252=="opacity");_252=_250[_252]||_252;if(args==3){return op?d._setOpacity(n,_253):n.style[_252]=_253;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&!d.isString(_252)){for(var x in _252){d.style(node,x,_252[x]);}return s;}return (args==1)?s:_24b(n,_252,s[_252]);};dojo._getPadExtents=function(n,_25a){var s=_25a||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,_25f){var ne="none",s=_25f||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,_265){var s=_265||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,_26a){var s=_26a||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isSafari&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_271){var s=_271||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){if(p){var be=d._getBorderExtents(p);l-=be.l;t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_27c){var s=_27c||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,_283){var s=_283||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"||dojo._isButtonTag(node);};dojo._setContentSize=function(node,_292,_293,_294){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_294);if(_292>=0){_292+=pb.w;}if(_293>=0){_293+=pb.h;}}d._setBox(node,NaN,NaN,_292,_293);};dojo._setMarginBox=function(node,_297,_298,_299,_29a,_29b){var s=_29b||gcs(node);var bb=d._usesBorderBox(node),pb=bb?_29f:d._getPadBorderExtents(node,s);if(dojo.isSafari){if(dojo._isButtonTag(node)){var ns=node.style;if(_299>=0&&!ns.width){ns.width="4px";}if(_29a>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_299>=0){_299=Math.max(_299-pb.w-mb.w,0);}if(_29a>=0){_29a=Math.max(_29a-pb.h-mb.h,0);}d._setBox(node,_297,_298,_299,_29a);};var _29f={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _2ac=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_2b0=0,_b=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_2b0+=val-0;if(node==_b){break;}}node=node.parentNode;}return _2b0;};dojo._docScroll=function(){var _b=d.body(),_w=d.global,de=d.doc.documentElement;return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||d._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};};dojo._isBodyLtr=function(){return !("_bodyLtr" in d)?d._bodyLtr=gcs(d.body()).direction=="ltr":d._bodyLtr;};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;return (d.isIE>=7)?{x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top}:{x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};};dojo._fixIeBiDiScrollLeft=function(_2b6){var dd=d.doc;if(d.isIE&&!dojo._isBodyLtr()){var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;return _2b6+de.clientWidth-de.scrollWidth;}return _2b6;};dojo._abs=function(node,_2ba){var _2bb=node.ownerDocument;var ret={x:0,y:0};var db=d.body();if(d.isIE||(d.isFF>=3)){var _2be=node.getBoundingClientRect();var cs;if(d.isFF){var dv=node.ownerDocument.defaultView;cs=dv.getComputedStyle(db.parentNode,null);}var _2c1=(d.isIE)?d._getIeDocumentElementOffset():{x:px(db.parentNode,cs.marginLeft),y:px(db.parentNode,cs.marginTop)};ret.x=_2be.left-_2c1.x;ret.y=_2be.top-_2c1.y;}else{if(node["offsetParent"]){var _2c2;if(d.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){_2c2=db;}else{_2c2=db.parentNode;}ret.x-=_2ac(node,"scrollLeft");ret.y-=_2ac(node,"scrollTop");var _2c3=node;do{var n=_2c3.offsetLeft;if(!d.isOpera||n>0){ret.x+=isNaN(n)?0:n;}var t=_2c3.offsetTop;ret.y+=isNaN(t)?0:t;if(_2c3!=node){var cs=gcs(_2c3);if(d.isSafari){ret.x+=px(_2c3,cs.borderLeftWidth);ret.y+=px(_2c3,cs.borderTopWidth);}else{if(d.isFF){ret.x+=2*px(_2c3,cs.borderLeftWidth);ret.y+=2*px(_2c3,cs.borderTopWidth);}}}_2c3=_2c3.offsetParent;}while((_2c3!=_2c2)&&_2c3);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}if(_2ba){var _2c6=d._docScroll();ret.y+=_2c6.y;ret.x+=_2c6.x;}return ret;};dojo.coords=function(node,_2c8){var n=d.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d._abs(n,_2c8);mb.x=abs.x;mb.y=abs.y;return mb;};var _2cd=(d.isIE&&d.isIE<8);var _2ce=function(name){switch(name.toLowerCase()){case "tabindex":return _2cd?"tabIndex":"tabindex";case "for":case "htmlfor":return _2cd?"htmlFor":"for";default:return name;}};var _2d0={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType"};dojo.hasAttr=function(node,name){var _2d3=_2ce(name);_2d3=_2d3=="htmlFor"?"for":_2d3;var attr=d.byId(node).getAttributeNode(_2d3);return attr?attr.specified:false;};var _2d5={};var _ctr=0;var _2d7=dojo._scopeName+"attrid";dojo.attr=function(node,name,_2da){var args=arguments.length;if(args==2&&!d.isString(name)){for(var x in name){d.attr(node,x,name[x]);}return;}node=d.byId(node);name=_2ce(name);if(args==3){if(d.isFunction(_2da)){var _2dd=d.attr(node,_2d7);if(!_2dd){_2dd=_ctr++;d.attr(node,_2d7,_2dd);}if(!_2d5[_2dd]){_2d5[_2dd]={};}var h=_2d5[_2dd][name];if(h){d.disconnect(h);}else{try{delete node[name];}catch(e){}}_2d5[_2dd][name]=d.connect(node,name,_2da);}else{if(typeof _2da=="boolean"){node[name]=_2da;}else{node.setAttribute(name,_2da);}}return;}else{var prop=_2d0[name.toLowerCase()];if(prop){return node[prop];}else{var _2da=node[name];return (typeof _2da=="boolean"||typeof _2da=="function")?_2da:(d.hasAttr(node,name)?node.getAttribute(name):null);}}};dojo.removeAttr=function(node,name){d.byId(node).removeAttribute(_2ce(name));};var _2e2="className";dojo.hasClass=function(node,_2e4){return ((" "+d.byId(node)[_2e2]+" ").indexOf(" "+_2e4+" ")>=0);};dojo.addClass=function(node,_2e6){node=d.byId(node);var cls=node[_2e2];if((" "+cls+" ").indexOf(" "+_2e6+" ")<0){node[_2e2]=cls+(cls?" ":"")+_2e6;}};dojo.removeClass=function(node,_2e9){node=d.byId(node);var t=d.trim((" "+node[_2e2]+" ").replace(" "+_2e9+" "," "));if(node[_2e2]!=t){node[_2e2]=t;}};dojo.toggleClass=function(node,_2ec,_2ed){if(_2ed===undefined){_2ed=!d.hasClass(node,_2ec);}d[_2ed?"addClass":"removeClass"](node,_2ec);};})();}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var d=dojo;var tnl=function(arr){arr.constructor=dojo.NodeList;dojo._mixin(arr,dojo.NodeList.prototype);return arr;};var _2f1=function(func,_2f3){return function(){var _a=arguments;var aa=d._toArray(_a,0,[null]);var s=this.map(function(i){aa[0]=i;return d[func].apply(d,aa);});return (_2f3||((_a.length>1)||!d.isString(_a[0])))?this:s;};};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};dojo.NodeList._wrap=tnl;dojo.extend(dojo.NodeList,{slice:function(){var a=d._toArray(arguments);return tnl(a.slice.apply(this,a));},splice:function(){var a=d._toArray(arguments);return tnl(a.splice.apply(this,a));},concat:function(){var a=d._toArray(arguments,0,[this]);return tnl(a.concat.apply([],a));},indexOf:function(_2fb,_2fc){return d.indexOf(this,_2fb,_2fc);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_2fd,_2fe){return d.every(this,_2fd,_2fe);},some:function(_2ff,_300){return d.some(this,_2ff,_300);},map:function(func,obj){return d.map(this,func,obj,d.NodeList);},forEach:function(_303,_304){d.forEach(this,_303,_304);return this;},coords:function(){return d.map(this,d.coords);},attr:_2f1("attr"),style:_2f1("style"),addClass:_2f1("addClass",true),removeClass:_2f1("removeClass",true),toggleClass:_2f1("toggleClass",true),connect:_2f1("connect",true),place:function(_305,_306){var item=d.query(_305)[0];return this.forEach(function(i){d.place(i,item,(_306||"last"));});},orphan:function(_309){return (_309?d._filterQueryResult(this,_309):this).forEach("if(item.parentNode){ item.parentNode.removeChild(item); }");},adopt:function(_30a,_30b){var item=this[0];return d.query(_30a).forEach(function(ai){d.place(ai,item,_30b||"last");});},query:function(_30e){if(!_30e){return this;}var ret=d.NodeList();this.forEach(function(item){ret=ret.concat(d.query(_30e,item).filter(function(_311){return (_311!==undefined);}));});return ret;},filter:function(_312){var _313=this;var _a=arguments;var r=d.NodeList();var rp=function(t){if(t!==undefined){r.push(t);}};if(d.isString(_312)){_313=d._filterQueryResult(this,_a[0]);if(_a.length==1){return _313;}_a.shift();}d.forEach(d.filter(_313,_a[0],_a[1]),rp);return r;},addContent:function(_318,_319){var ta=d.doc.createElement("span");if(d.isString(_318)){ta.innerHTML=_318;}else{ta.appendChild(_318);}if(_319===undefined){_319="last";}var ct=(_319=="first"||_319=="after")?"lastChild":"firstChild";this.forEach(function(item){var tn=ta.cloneNode(true);while(tn[ct]){d.place(tn[ct],item,_319);}});return this;},empty:function(){return this.forEach("item.innerHTML='';");},instantiate:function(_31e,_31f){var c=d.isFunction(_31e)?_31e:d.getObject(_31e);return this.forEach(function(i){new c(_31f||{},i);});}});d.forEach(["blur","focus","click","keydown","keypress","keyup","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup"],function(evt){var _oe="on"+evt;d.NodeList.prototype[_oe]=function(a,b){return this.connect(_oe,a,b);};});})();}if(!dojo._hasResource["dojo._base.query"]){dojo._hasResource["dojo._base.query"]=true;dojo.provide("dojo._base.query");(function(){var d=dojo;var _327=dojo.isIE?"children":"childNodes";var _328=false;var _329=function(_32a){if(">~+".indexOf(_32a.charAt(_32a.length-1))>=0){_32a+=" *";}_32a+=" ";var ts=function(s,e){return d.trim(_32a.slice(s,e));};var _32e=[];var _32f=-1;var _330=-1;var _331=-1;var _332=-1;var _333=-1;var inId=-1;var _335=-1;var lc="";var cc="";var _338;var x=0;var ql=_32a.length;var _33b=null;var _cp=null;var _33d=function(){if(_335>=0){var tv=(_335==x)?null:ts(_335,x).toLowerCase();_33b[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;_335=-1;}};var _33f=function(){if(inId>=0){_33b.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _340=function(){if(_333>=0){_33b.classes.push(ts(_333+1,x).replace(/\\/g,""));_333=-1;}};var _341=function(){_33f();_33d();_340();};for(;lc=cc,cc=_32a.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_33b){_338=x;_33b={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null};_335=x;}if(_32f>=0){if(cc=="]"){if(!_cp.attr){_cp.attr=ts(_32f+1,x);}else{_cp.matchFor=ts((_331||_32f+1),x);}var cmf=_cp.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_cp.matchFor=cmf.substring(1,cmf.length-1);}}_33b.attrs.push(_cp);_cp=null;_32f=_331=-1;}else{if(cc=="="){var _343=("|~^$*".indexOf(lc)>=0)?lc:"";_cp.type=_343+cc;_cp.attr=ts(_32f+1,x-_343.length);_331=x+1;}}}else{if(_330>=0){if(cc==")"){if(_332>=0){_cp.value=ts(_330+1,x);}_332=_330=-1;}}else{if(cc=="#"){_341();inId=x+1;}else{if(cc=="."){_341();_333=x;}else{if(cc==":"){_341();_332=x;}else{if(cc=="["){_341();_32f=x;_cp={};}else{if(cc=="("){if(_332>=0){_cp={name:ts(_332+1,x),value:null};_33b.pseudos.push(_cp);}_330=x;}else{if(cc==" "&&lc!=cc){_341();if(_332>=0){_33b.pseudos.push({name:ts(_332+1,x)});}_33b.hasLoops=(_33b.pseudos.length||_33b.attrs.length||_33b.classes.length);_33b.query=ts(_338,x);_33b.tag=(_33b["oper"])?null:(_33b.tag||"*");_32e.push(_33b);_33b=null;}}}}}}}}}return _32e;};var _344={"*=":function(attr,_346){return "[contains(@"+attr+", '"+_346+"')]";},"^=":function(attr,_348){return "[starts-with(@"+attr+", '"+_348+"')]";},"$=":function(attr,_34a){return "[substring(@"+attr+", string-length(@"+attr+")-"+(_34a.length-1)+")='"+_34a+"']";},"~=":function(attr,_34c){return "[contains(concat(' ',@"+attr+",' '), ' "+_34c+" ')]";},"|=":function(attr,_34e){return "[contains(concat(' ',@"+attr+",' '), ' "+_34e+"-')]";},"=":function(attr,_350){return "[@"+attr+"='"+_350+"']";}};var _351=function(_352,_353,_354,_355){d.forEach(_353.attrs,function(attr){var _357;if(attr.type&&_352[attr.type]){_357=_352[attr.type](attr.attr,attr.matchFor);}else{if(attr.attr.length){_357=_354(attr.attr);}}if(_357){_355(_357);}});};var _358=function(_359){var _35a=".";var _35b=_329(d.trim(_359));while(_35b.length){var tqp=_35b.shift();var _35d;var _35e="";if(tqp.oper==">"){_35d="/";tqp=_35b.shift();}else{if(tqp.oper=="~"){_35d="/following-sibling::";tqp=_35b.shift();}else{if(tqp.oper=="+"){_35d="/following-sibling::";_35e="[position()=1]";tqp=_35b.shift();}else{_35d="//";}}}_35a+=_35d+tqp.tag+_35e;if(tqp.id){_35a+="[@id='"+tqp.id+"'][1]";}d.forEach(tqp.classes,function(cn){var cnl=cn.length;var _361=" ";if(cn.charAt(cnl-1)=="*"){_361="";cn=cn.substr(0,cnl-1);}_35a+="[contains(concat(' ',@class,' '), ' "+cn+_361+"')]";});_351(_344,tqp,function(_362){return "[@"+_362+"]";},function(_363){_35a+=_363;});}return _35a;};var _364={};var _365=function(path){if(_364[path]){return _364[path];}var doc=d.doc;var _368=_358(path);var tf=function(_36a){var ret=[];var _36c;try{_36c=doc.evaluate(_368,_36a,null,XPathResult.ANY_TYPE,null);}catch(e){console.debug("failure in exprssion:",_368,"under:",_36a);console.debug(e);}var _36d=_36c.iterateNext();while(_36d){ret.push(_36d);_36d=_36c.iterateNext();}return ret;};return _364[path]=tf;};var _36e={};var _36f={};var _370=function(_371,_372){if(!_371){return _372;}if(!_372){return _371;}return function(){return _371.apply(window,arguments)&&_372.apply(window,arguments);};};var _373=function(root){var ret=[];var te,x=0,tret=root[_327];while((te=tret[x++])){if(te.nodeType==1){ret.push(te);}}return ret;};var _379=function(root,_37b){var ret=[];var te=root;while((te=te.nextSibling)){if(te.nodeType==1){ret.push(te);if(_37b){break;}}}return ret;};var _37e=function(_37f,_380,_381,idx){var nidx=idx+1;var _384=(_380.length==nidx);var tqp=_380[idx];if(tqp.oper){var ecn=(tqp.oper==">")?_373(_37f):_379(_37f,(tqp.oper=="+"));if(!ecn||!ecn.length){return;}nidx++;_384=(_380.length==nidx);var tf=_388(_380[idx+1]);for(var x=0,ecnl=ecn.length,te;x<ecnl,te=ecn[x];x++){if(tf(te)){if(_384){_381.push(te);}else{_37e(te,_380,_381,nidx);}}}}var _38c=_38d(tqp)(_37f);if(_384){while(_38c.length){_381.push(_38c.shift());}}else{while(_38c.length){_37e(_38c.shift(),_380,_381,nidx);}}};var _38e=function(_38f,_390){var ret=[];var x=_38f.length-1,te;while((te=_38f[x--])){_37e(te,_390,ret,0);}return ret;};var _388=function(q){if(_36e[q.query]){return _36e[q.query];}var ff=null;if(q.tag){if(q.tag=="*"){ff=_370(ff,function(elem){return (elem.nodeType==1);});}else{ff=_370(ff,function(elem){return ((elem.nodeType==1)&&(q.tag==elem.tagName.toLowerCase()));});}}if(q.id){ff=_370(ff,function(elem){return ((elem.nodeType==1)&&(elem.id==q.id));});}if(q.hasLoops){ff=_370(ff,_399(q));}return _36e[q.query]=ff;};var _39a=function(node){var pn=node.parentNode;var pnc=pn.childNodes;var nidx=-1;var _39f=pn.firstChild;if(!_39f){return nidx;}var ci=node["__cachedIndex"];var cl=pn["__cachedLength"];if(((typeof cl=="number")&&(cl!=pnc.length))||(typeof ci!="number")){pn["__cachedLength"]=pnc.length;var idx=1;do{if(_39f===node){nidx=idx;}if(_39f.nodeType==1){_39f["__cachedIndex"]=idx;idx++;}_39f=_39f.nextSibling;}while(_39f);}else{nidx=ci;}return nidx;};var _3a3=0;var _3a4="";var _3a5=function(elem,attr){if(attr=="class"){return elem.className||_3a4;}if(attr=="for"){return elem.htmlFor||_3a4;}return elem.getAttribute(attr,2)||_3a4;};var _3a8={"*=":function(attr,_3aa){return function(elem){return (_3a5(elem,attr).indexOf(_3aa)>=0);};},"^=":function(attr,_3ad){return function(elem){return (_3a5(elem,attr).indexOf(_3ad)==0);};},"$=":function(attr,_3b0){var tval=" "+_3b0;return function(elem){var ea=" "+_3a5(elem,attr);return (ea.lastIndexOf(_3b0)==(ea.length-_3b0.length));};},"~=":function(attr,_3b5){var tval=" "+_3b5+" ";return function(elem){var ea=" "+_3a5(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3ba){var _3bb=" "+_3ba+"-";return function(elem){var ea=" "+(elem.getAttribute(attr,2)||"");return ((ea==_3ba)||(ea.indexOf(_3bb)==0));};},"=":function(attr,_3bf){return function(elem){return (_3a5(elem,attr)==_3bf);};}};var _3c1={"first-child":function(name,_3c3){return function(elem){if(elem.nodeType!=1){return false;}var fc=elem.previousSibling;while(fc&&(fc.nodeType!=1)){fc=fc.previousSibling;}return (!fc);};},"last-child":function(name,_3c7){return function(elem){if(elem.nodeType!=1){return false;}var nc=elem.nextSibling;while(nc&&(nc.nodeType!=1)){nc=nc.nextSibling;}return (!nc);};},"empty":function(name,_3cb){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,_3d2){return function(elem){if(_3d2.charAt(0)=="\""||_3d2.charAt(0)=="'"){_3d2=_3d2.substr(1,_3d2.length-2);}return (elem.innerHTML.indexOf(_3d2)>=0);};},"not":function(name,_3d5){var ntf=_388(_329(_3d5)[0]);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3d9){var pi=parseInt;if(_3d9=="odd"){_3d9="2n+1";}else{if(_3d9=="even"){_3d9="2n";}}if(_3d9.indexOf("n")!=-1){var _3db=_3d9.split("n",2);var pred=_3db[0]?(_3db[0]=="-"?-1:pi(_3db[0])):1;var idx=_3db[1]?pi(_3db[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=_39a(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_3d9=idx;}}var _3e2=pi(_3d9);return function(elem){return (_39a(elem)==_3e2);};}};var _3e4=(d.isIE)?function(cond){var clc=cond.toLowerCase();return function(elem){return elem[cond]||elem[clc];};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _399=function(_3ea){var _3eb=(_36f[_3ea.query]||_36e[_3ea.query]);if(_3eb){return _3eb;}var ff=null;if(_3ea.id){if(_3ea.tag!="*"){ff=_370(ff,function(elem){return (elem.tagName.toLowerCase()==_3ea.tag);});}}d.forEach(_3ea.classes,function(_3ee,idx,arr){var _3f1=_3ee.charAt(_3ee.length-1)=="*";if(_3f1){_3ee=_3ee.substr(0,_3ee.length-1);}var re=new RegExp("(?:^|\\s)"+_3ee+(_3f1?".*":"")+"(?:\\s|$)");ff=_370(ff,function(elem){return re.test(elem.className);});ff.count=idx;});d.forEach(_3ea.pseudos,function(_3f4){if(_3c1[_3f4.name]){ff=_370(ff,_3c1[_3f4.name](_3f4.name,_3f4.value));}});_351(_3a8,_3ea,_3e4,function(_3f5){ff=_370(ff,_3f5);});if(!ff){ff=function(){return true;};}return _36f[_3ea.query]=ff;};var _3f6={};var _38d=function(_3f7,root){var fHit=_3f6[_3f7.query];if(fHit){return fHit;}if(_3f7.id&&!_3f7.hasLoops&&!_3f7.tag){return _3f6[_3f7.query]=function(root){return [d.byId(_3f7.id)];};}var _3fb=_399(_3f7);var _3fc;if(_3f7.tag&&_3f7.id&&!_3f7.hasLoops){_3fc=function(root){var te=d.byId(_3f7.id,(root.ownerDocument||root));if(_3fb(te)){return [te];}};}else{var tret;if(!_3f7.hasLoops){_3fc=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_3f7.tag);while((te=tret[x++])){ret.push(te);}return ret;};}else{_3fc=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_3f7.tag);while((te=tret[x++])){if(_3fb(te)){ret.push(te);}}return ret;};}}return _3f6[_3f7.query]=_3fc;};var _408={};var _409={"*":d.isIE?function(root){return root.all;}:function(root){return root.getElementsByTagName("*");},"~":_379,"+":function(root){return _379(root,true);},">":_373};var _40d=function(_40e){var _40f=_329(d.trim(_40e));if(_40f.length==1){var tt=_38d(_40f[0]);tt.nozip=true;return tt;}var sqf=function(root){var _413=_40f.slice(0);var _414;if(_413[0].oper==">"){_414=[root];}else{_414=_38d(_413.shift())(root);}return _38e(_414,_413);};return sqf;};var _415=((document["evaluate"]&&!d.isSafari)?function(_416){var _417=_416.split(" ");if((document["evaluate"])&&(_416.indexOf(":")==-1)&&(_416.indexOf("+")==-1)){if(((_417.length>2)&&(_416.indexOf(">")==-1))||(_417.length>3)||(_416.indexOf("[")>=0)||((1==_417.length)&&(0<=_416.indexOf(".")))){return _365(_416);}}return _40d(_416);}:_40d);var _418=function(_419){var qcz=_419.charAt(0);if(d.doc["querySelectorAll"]&&((!d.isSafari)||(d.isSafari>3.1))&&(">+~".indexOf(qcz)==-1)){return function(root){var r=root.querySelectorAll(_419);r.nozip=true;return r;};}if(_409[_419]){return _409[_419];}if(0>_419.indexOf(",")){return _409[_419]=_415(_419);}else{var _41d=_419.split(/\s*,\s*/);var tf=function(root){var _420=0;var ret=[];var tp;while((tp=_41d[_420++])){ret=ret.concat(_415(tp,tp.indexOf(" "))(root));}return ret;};return _409[_419]=tf;}};var _423=0;var _zip=function(arr){if(arr&&arr.nozip){return d.NodeList._wrap(arr);}var ret=new d.NodeList();if(!arr){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_423++;arr[0]["_zipIdx"]=_423;for(var x=1,te;te=arr[x];x++){if(arr[x]["_zipIdx"]!=_423){ret.push(te);}te["_zipIdx"]=_423;}return ret;};d.query=function(_429,root){if(_429.constructor==d.NodeList){return _429;}if(!d.isString(_429)){return new d.NodeList(_429);}if(d.isString(root)){root=d.byId(root);}return _zip(_418(_429)(root||d.doc));};d.query.pseudos=_3c1;d._filterQueryResult=function(_42b,_42c){var tnl=new d.NodeList();var ff=(_42c)?_388(_329(_42c)[0]):function(){return true;};for(var x=0,te;te=_42b[x];x++){if(ff(te)){tnl.push(te);}}return tnl;};})();}if(!dojo._hasResource["dojo._base.xhr"]){dojo._hasResource["dojo._base.xhr"]=true;dojo.provide("dojo._base.xhr");(function(){var _d=dojo;function setValue(obj,name,_434){var val=obj[name];if(_d.isString(val)){obj[name]=[val,_434];}else{if(_d.isArray(val)){val.push(_434);}else{obj[name]=_434;}}};dojo.formToObject=function(_436){var ret={};var iq="input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]), select, textarea";_d.query(iq,_436).filter(function(node){return !node.disabled&&node.name;}).forEach(function(item){var _in=item.name;var type=(item.type||"").toLowerCase();if(type=="radio"||type=="checkbox"){if(item.checked){setValue(ret,_in,item.value);}}else{if(item.multiple){ret[_in]=[];_d.query("option",item).forEach(function(opt){if(opt.selected){setValue(ret,_in,opt.value);}});}else{setValue(ret,_in,item.value);if(type=="image"){ret[_in+".x"]=ret[_in+".y"]=ret[_in].x=ret[_in].y=0;}}}});return ret;};dojo.objectToQuery=function(map){var enc=encodeURIComponent;var _440=[];var _441={};for(var name in map){var _443=map[name];if(_443!=_441[name]){var _444=enc(name)+"=";if(_d.isArray(_443)){for(var i=0;i<_443.length;i++){_440.push(_444+enc(_443[i]));}}else{_440.push(_444+enc(_443));}}}return _440.join("&");};dojo.formToQuery=function(_446){return _d.objectToQuery(_d.formToObject(_446));};dojo.formToJson=function(_447,_448){return _d.toJson(_d.formToObject(_447),_448);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_d.forEach(qp,function(item){if(item.length){var _44e=item.split("=");var name=dec(_44e.shift());var val=dec(_44e.join("="));if(_d.isString(ret[name])){ret[name]=[ret[name]];}if(_d.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}});return ret;};dojo._blockAsync=false;dojo._contentHandlers={"text":function(xhr){return xhr.responseText;},"json":function(xhr){return _d.fromJson(xhr.responseText);},"json-comment-filtered":function(xhr){if(!dojo.config.useCommentedJson){console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues, if you wish to "+" decrease the chances of hijacking, use the standard the 'json' handler and "+" prefix your json with :\n{}&&\n "+" (use djConfig.useCommentedJson=true to turn off this message)");}var _454=xhr.responseText;var _455=_454.indexOf("/*");var _456=_454.lastIndexOf("*/");if(_455==-1||_456==-1){throw new Error("JSON was not comment filtered");}return _d.fromJson(_454.substring(_455+2,_456));},"javascript":function(xhr){return _d.eval(xhr.responseText);},"xml":function(xhr){var _459=xhr.responseXML;if(_d.isIE&&(!_459||_459.documentElement==null)){_d.forEach(["MSXML2","Microsoft","MSXML","MSXML3"],function(_45a){try{var dom=new ActiveXObject(_45a+".XMLDOM");dom.async=false;dom.loadXML(xhr.responseText);_459=dom;}catch(e){}});}return _459;}};dojo._contentHandlers["json-comment-optional"]=function(xhr){var _45d=_d._contentHandlers;if(xhr.responseText&&xhr.responseText.indexOf("/*")!=-1){return _45d["json-comment-filtered"](xhr);}else{return _45d["json"](xhr);}};dojo._ioSetArgs=function(args,_45f,_460,_461){var _462={args:args,url:args.url};var _463=null;if(args.form){var form=_d.byId(args.form);var _465=form.getAttributeNode("action");_462.url=_462.url||(_465?_465.value:null);_463=_d.formToObject(form);}var _466=[{}];if(_463){_466.push(_463);}if(args.content){_466.push(args.content);}if(args.preventCache){_466.push({"dojo.preventCache":new Date().valueOf()});}_462.query=_d.objectToQuery(_d.mixin.apply(null,_466));_462.handleAs=args.handleAs||"text";var d=new _d.Deferred(_45f);d.addCallbacks(_460,function(_468){return _461(_468,d);});var ld=args.load;if(ld&&_d.isFunction(ld)){d.addCallback(function(_46a){return ld.call(args,_46a,_462);});}var err=args.error;if(err&&_d.isFunction(err)){d.addErrback(function(_46c){return err.call(args,_46c,_462);});}var _46d=args.handle;if(_46d&&_d.isFunction(_46d)){d.addBoth(function(_46e){return _46d.call(args,_46e,_462);});}d.ioArgs=_462;return d;};var _46f=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _at=typeof xhr.abort;if(_at=="function"||_at=="object"||_at=="unknown"){xhr.abort();}var err=dfd.ioArgs.error||new Error("xhr cancelled");return err;};var _474=function(dfd){return _d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);};var _476=function(_477,dfd){console.debug(_477);return _477;};var _479=null;var _47a=[];var _47b=function(){var now=(new Date()).getTime();if(!_d._blockAsync){for(var i=0,tif;i<_47a.length&&(tif=_47a[i]);i++){var dfd=tif.dfd;var func=function(){if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_47a.splice(i--,1);}else{if(tif.ioCheck(dfd)){_47a.splice(i--,1);tif.resHandle(dfd);}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_47a.splice(i--,1);var err=new Error("timeout exceeded");err.dojoType="timeout";dfd.errback(err);dfd.cancel();}}}}};if(dojo.config.isDebug){func.call(this);}else{try{func.call(this);}catch(e){dfd.errback(e);}}}}if(!_47a.length){clearInterval(_479);_479=null;return;}};dojo._ioCancelAll=function(){try{_d.forEach(_47a,function(i){try{i.dfd.cancel();}catch(e){}});}catch(e){}};if(_d.isIE){_d.addOnWindowUnload(_d._ioCancelAll);}_d._ioWatch=function(dfd,_484,_485,_486){if(dfd.ioArgs.args.timeout){dfd.startTime=(new Date()).getTime();}_47a.push({dfd:dfd,validCheck:_484,ioCheck:_485,resHandle:_486});if(!_479){_479=setInterval(_47b,50);}_47b();};var _487="application/x-www-form-urlencoded";var _488=function(dfd){return dfd.ioArgs.xhr.readyState;};var _48a=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _48c=function(dfd){var xhr=dfd.ioArgs.xhr;if(_d._isDocumentOk(xhr)){dfd.callback(dfd);}else{var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);err.status=xhr.status;err.responseText=xhr.responseText;dfd.errback(err);}};dojo._ioAddQueryToUrl=function(_490){if(_490.query.length){_490.url+=(_490.url.indexOf("?")==-1?"?":"&")+_490.query;_490.query=null;}};dojo.xhr=function(_491,args,_493){var dfd=_d._ioSetArgs(args,_46f,_474,_476);dfd.ioArgs.xhr=_d._xhrObj(dfd.ioArgs.args);if(_493){if("postData" in args){dfd.ioArgs.query=args.postData;}else{if("putData" in args){dfd.ioArgs.query=args.putData;}}}else{_d._ioAddQueryToUrl(dfd.ioArgs);}var _495=dfd.ioArgs;var xhr=_495.xhr;xhr.open(_491,_495.url,args.sync!==true,args.user||undefined,args.password||undefined);if(args.headers){for(var hdr in args.headers){if(hdr.toLowerCase()==="content-type"&&!args.contentType){args.contentType=args.headers[hdr];}else{xhr.setRequestHeader(hdr,args.headers[hdr]);}}}xhr.setRequestHeader("Content-Type",args.contentType||_487);if(!args.headers||!args.headers["X-Requested-With"]){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");}if(dojo.config.isDebug){xhr.send(_495.query);}else{try{xhr.send(_495.query);}catch(e){dfd.ioArgs.error=e;dfd.cancel();}}_d._ioWatch(dfd,_488,_48a,_48c);xhr=null;return dfd;};dojo.xhrGet=function(args){return _d.xhr("GET",args);};dojo.rawXhrPost=dojo.xhrPost=function(args){return _d.xhr("POST",args,true);};dojo.rawXhrPut=dojo.xhrPut=function(args){return _d.xhr("PUT",args,true);};dojo.xhrDelete=function(args){return _d.xhr("DELETE",args);};})();}if(!dojo._hasResource["dojo._base.fx"]){dojo._hasResource["dojo._base.fx"]=true;dojo.provide("dojo._base.fx");(function(){var d=dojo;dojo._Line=function(_49d,end){this.start=_49d;this.end=end;this.getValue=function(n){return ((this.end-this.start)*n)+this.start;};};d.declare("dojo._Animation",null,{constructor:function(args){d.mixin(this,args);if(d.isArray(this.curve)){this.curve=new d._Line(this.curve[0],this.curve[1]);}},duration:350,repeat:0,rate:10,_percent:0,_startRepeatCount:0,_fire:function(evt,args){if(this[evt]){if(dojo.config.isDebug){this[evt].apply(this,args||[]);}else{try{this[evt].apply(this,args||[]);}catch(e){console.error("exception in animation handler for:",evt);console.error(e);}}}return this;},play:function(_4a3,_4a4){var _t=this;if(_4a4){_t._stopTimer();_t._active=_t._paused=false;_t._percent=0;}else{if(_t._active&&!_t._paused){return _t;}}_t._fire("beforeBegin");var de=_4a3||_t.delay;var _p=dojo.hitch(_t,"_play",_4a4);if(de>0){setTimeout(_p,de);return _t;}_p();return _t;},_play:function(_4a8){var _t=this;_t._startTime=new Date().valueOf();if(_t._paused){_t._startTime-=_t.duration*_t._percent;}_t._endTime=_t._startTime+_t.duration;_t._active=true;_t._paused=false;var _4aa=_t.curve.getValue(_t._percent);if(!_t._percent){if(!_t._startRepeatCount){_t._startRepeatCount=_t.repeat;}_t._fire("onBegin",[_4aa]);}_t._fire("onPlay",[_4aa]);_t._cycle();return _t;},pause:function(){this._stopTimer();if(!this._active){return this;}this._paused=true;this._fire("onPause",[this.curve.getValue(this._percent)]);return this;},gotoPercent:function(_4ab,_4ac){this._stopTimer();this._active=this._paused=true;this._percent=_4ab;if(_4ac){this.play();}return this;},stop:function(_4ad){if(!this._timer){return this;}this._stopTimer();if(_4ad){this._percent=1;}this._fire("onStop",[this.curve.getValue(this._percent)]);this._active=this._paused=false;return this;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _t=this;if(_t._active){var curr=new Date().valueOf();var step=(curr-_t._startTime)/(_t._endTime-_t._startTime);if(step>=1){step=1;}_t._percent=step;if(_t.easing){step=_t.easing(step);}_t._fire("onAnimate",[_t.curve.getValue(step)]);if(_t._percent<1){_t._startTimer();}else{_t._active=false;if(_t.repeat>0){_t.repeat--;_t.play(null,true);}else{if(_t.repeat==-1){_t.play(null,true);}else{if(_t._startRepeatCount){_t.repeat=_t._startRepeatCount;_t._startRepeatCount=0;}}}_t._percent=0;_t._fire("onEnd");_t._stopTimer();}}return _t;}});var ctr=0;var _4b2=[];var _4b3={run:function(){}};var _4b4=null;dojo._Animation.prototype._startTimer=function(){if(!this._timer){this._timer=d.connect(_4b3,"run",this,"_cycle");ctr++;}if(!_4b4){_4b4=setInterval(d.hitch(_4b3,"run"),this.rate);}};dojo._Animation.prototype._stopTimer=function(){if(this._timer){d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_4b4);_4b4=null;ctr=0;}};var _4b5=(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 _4b9=d.mixin({properties:{}},args);var _4ba=(_4b9.properties.opacity={});_4ba.start=!("start" in _4b9)?function(){return Number(d.style(_4b9.node,"opacity"));}:_4b9.start;_4ba.end=_4b9.end;var anim=d.animateProperty(_4b9);d.connect(anim,"beforeBegin",d.partial(_4b5,_4b9.node));return anim;};dojo.fadeIn=function(args){return d._fade(d.mixin({end:1},args));};dojo.fadeOut=function(args){return d._fade(d.mixin({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _4bf=function(_4c0){this._properties=_4c0;for(var p in _4c0){var prop=_4c0[p];if(prop.start instanceof d.Color){prop.tempColor=new d.Color();}}this.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p];var _4c7=prop.start;if(_4c7 instanceof d.Color){ret[p]=d.blendColors(_4c7,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_4c7)){ret[p]=((prop.end-_4c7)*r)+_4c7+(p!="opacity"?prop.units||"px":"");}}}return ret;};};dojo.animateProperty=function(args){args.node=d.byId(args.node);if(!args.easing){args.easing=d._defaultEasing;}var anim=new d._Animation(args);d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];prop=pm[p]=d.mixin({},(d.isObject(prop)?prop:{end:prop}));if(d.isFunction(prop.start)){prop.start=prop.start();}if(d.isFunction(prop.end)){prop.end=prop.end();}var _4cd=(p.toLowerCase().indexOf("color")>=0);function getStyle(node,p){var v=({height:node.offsetHeight,width:node.offsetWidth})[p];if(v!==undefined){return v;}v=d.style(node,p);return (p=="opacity")?Number(v):(_4cd?v:parseFloat(v));};if(!("end" in prop)){prop.end=getStyle(this.node,p);}else{if(!("start" in prop)){prop.start=getStyle(this.node,p);}}if(_4cd){prop.start=new d.Color(prop.start);prop.end=new d.Color(prop.end);}else{prop.start=(p=="opacity")?Number(prop.start):parseFloat(prop.start);}}this.curve=new _4bf(pm);});d.connect(anim,"onAnimate",d.hitch(d,"style",anim.node));return anim;};dojo.anim=function(node,_4d2,_4d3,_4d4,_4d5,_4d6){return d.animateProperty({node:node,duration:_4d3||d._Animation.prototype.duration,properties:_4d2,easing:_4d4,onEnd:_4d5}).play(_4d6||0);};})();}if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");if(dojo.config.require){dojo.forEach(dojo.config.require,"dojo['require'](item);");}}if(!dojo._hasResource["dojo.back"]){dojo._hasResource["dojo.back"]=true;dojo.provide("dojo.back");(function(){var back=dojo.back;function getHash(){var h=window.location.hash;if(h.charAt(0)=="#"){h=h.substring(1);}return dojo.isMozilla?h:decodeURIComponent(h);};function setHash(h){if(!h){h="";}window.location.hash=encodeURIComponent(h);_4da=history.length;};if(dojo.exists("tests.back-hash")){back.getHash=getHash;back.setHash=setHash;}var _4db=(typeof (window)!=="undefined")?window.location.href:"";var _4dc=(typeof (window)!=="undefined")?getHash():"";var _4dd=null;var _4de=null;var _4df=null;var _4e0=null;var _4e1=[];var _4e2=[];var _4e3=false;var _4e4=false;var _4da;function handleBackButton(){var _4e5=_4e2.pop();if(!_4e5){return;}var last=_4e2[_4e2.length-1];if(!last&&_4e2.length==0){last=_4dd;}if(last){if(last.kwArgs["back"]){last.kwArgs["back"]();}else{if(last.kwArgs["backButton"]){last.kwArgs["backButton"]();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("back");}}}}_4e1.push(_4e5);};back.goBack=handleBackButton;function handleForwardButton(){var last=_4e1.pop();if(!last){return;}if(last.kwArgs["forward"]){last.kwArgs.forward();}else{if(last.kwArgs["forwardButton"]){last.kwArgs.forwardButton();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("forward");}}}_4e2.push(last);};back.goForward=handleForwardButton;function createState(url,args,hash){return {"url":url,"kwArgs":args,"urlHash":hash};};function getUrlQuery(url){var _4ec=url.split("?");if(_4ec.length<2){return null;}else{return _4ec[1];}};function loadIframeHistory(){var url=(dojo.config["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html"))+"?"+(new Date()).getTime();_4e3=true;if(_4e0){dojo.isSafari?_4e0.location=url:window.frames[_4e0.name].location=url;}else{}return url;};function checkLocation(){if(!_4e4){var hsl=_4e2.length;var hash=getHash();if((hash===_4dc||window.location.href==_4db)&&(hsl==1)){handleBackButton();return;}if(_4e1.length>0){if(_4e1[_4e1.length-1].urlHash===hash){handleForwardButton();return;}}if((hsl>=2)&&(_4e2[hsl-2])){if(_4e2[hsl-2].urlHash===hash){handleBackButton();return;}}if(dojo.isSafari&&dojo.isSafari<3){var _4f0=history.length;if(_4f0>_4da){handleForwardButton();}else{if(_4f0<_4da){handleBackButton();}}_4da=_4f0;}}};back.init=function(){if(dojo.byId("dj_history")){return;}var src=dojo.config["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html");document.write("<iframe style=\"border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;\" name=\"dj_history\" id=\"dj_history\" src=\""+src+"\"></iframe>");};back.setInitialState=function(args){_4dd=createState(_4db,args,_4dc);};back.addToHistory=function(args){_4e1=[];var hash=null;var url=null;if(!_4e0){if(dojo.config["useXDomain"]&&!dojo.config["dojoIframeHistoryUrl"]){console.warn("dojo.back: When using cross-domain Dojo builds,"+" please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"+" to the path on your domain to iframe_history.html");}_4e0=window.frames["dj_history"];}if(!_4df){_4df=document.createElement("a");dojo.body().appendChild(_4df);_4df.style.display="none";}if(args["changeUrl"]){hash=""+((args["changeUrl"]!==true)?args["changeUrl"]:(new Date()).getTime());if(_4e2.length==0&&_4dd.urlHash==hash){_4dd=createState(url,args,hash);return;}else{if(_4e2.length>0&&_4e2[_4e2.length-1].urlHash==hash){_4e2[_4e2.length-1]=createState(url,args,hash);return;}}_4e4=true;setTimeout(function(){setHash(hash);_4e4=false;},1);_4df.href=hash;if(dojo.isIE){url=loadIframeHistory();var _4f6=args["back"]||args["backButton"]||args["handle"];var tcb=function(_4f8){if(getHash()!=""){setTimeout(function(){setHash(hash);},1);}_4f6.apply(this,[_4f8]);};if(args["back"]){args.back=tcb;}else{if(args["backButton"]){args.backButton=tcb;}else{if(args["handle"]){args.handle=tcb;}}}var _4f9=args["forward"]||args["forwardButton"]||args["handle"];var tfw=function(_4fb){if(getHash()!=""){setHash(hash);}if(_4f9){_4f9.apply(this,[_4fb]);}};if(args["forward"]){args.forward=tfw;}else{if(args["forwardButton"]){args.forwardButton=tfw;}else{if(args["handle"]){args.handle=tfw;}}}}else{if(!dojo.isIE){if(!_4de){_4de=setInterval(checkLocation,200);}}}}else{url=loadIframeHistory();}_4e2.push(createState(url,args,hash));};back._iframeLoaded=function(evt,_4fd){var _4fe=getUrlQuery(_4fd.href);if(_4fe==null){if(_4e2.length==1){handleBackButton();}return;}if(_4e3){_4e3=false;return;}if(_4e2.length>=2&&_4fe==getUrlQuery(_4e2[_4e2.length-2].url)){handleBackButton();}else{if(_4e1.length>0&&_4fe==getUrlQuery(_4e1[_4e1.length-1].url)){handleForwardButton();}}};})();}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._isMac=navigator.appVersion.indexOf("Macintosh")>=0;dojo.dnd._copyKey=dojo.dnd._isMac?"metaKey":"ctrlKey";dojo.dnd.getCopyKeyState=function(e){return e[dojo.dnd._copyKey];};dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.dnd.getViewport=function(){var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();if(dojo.isMozilla){return {w:dd.clientWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&w.innerWidth){return {w:w.innerWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&dd&&dd.clientWidth){return {w:dd.clientWidth,h:dd.clientHeight};}else{if(b.clientWidth){return {w:b.clientWidth,h:b.clientHeight};}}}}return null;};dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.dnd.getViewport(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo._abs(n,true);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.isSafari||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 _516=n.scrollLeft,_517=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_516!=n.scrollLeft||_517!=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,_51d=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo,"stopEvent"),dojo.connect(d,"onselectstart",dojo,"stopEvent"),_51d];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});dojo.stopEvent(e);},onMouseUp:function(e){if(dojo.isSafari&&dojo.dnd._isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}dojo.stopEvent(e);},onFirstMove:function(){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left));t=Math.round(parseFloat(s.top));break;default:s.position="absolute";var m=dojo.marginBox(this.node);l=m.l;t=m.t;break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onMoveStart){h.onFirstMove(this);}dojo.disconnect(this.events.pop());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=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,_528){this.node=dojo.byId(node);if(!_528){_528={};}this.handle=_528.handle?dojo.byId(_528.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_528.delay>0?_528.delay:0;this.skip=_528.skip;this.mover=_528.mover?_528.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(_529,node){return new dojo.dnd.Moveable(node,_529);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"));this.events.push(dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{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){dojo.disconnect(this.events.pop());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(_530){dojo.publish("/dnd/move/start",[_530]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_531){dojo.publish("/dnd/move/stop",[_531]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_532){},onMove:function(_533,_534){this.onMoving(_533,_534);var s=_533.node.style;s.left=_534.l+"px";s.top=_534.t+"px";this.onMoved(_533,_534);},onMoving:function(_536,_537){},onMoved:function(_538,_539){}});}if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _53a=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_53c){if(!_53c){_53c={};}if(_53c.timeout&&typeof _53c.timeout=="number"&&_53c.timeout>=0){this.timeout=_53c.timeout;}},markupFactory:function(_53d,node){return new dojo.dnd.TimedMoveable(node,_53d);},onMoveStop:function(_53f){if(_53f._timer){clearTimeout(_53f._timer);_53a.call(this,_53f,_53f._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_540,_541){_540._leftTop=_541;if(!_540._timer){var _t=this;_540._timer=setTimeout(function(){_540._timer=null;_53a.call(_t,_540,_540._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");dojo.provide("dojo.fx.Toggler");(function(){var _543={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _546=function(_547){this._index=-1;this._animations=_547||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;dojo.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};dojo.extend(_546,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){dojo.disconnect(this._onAnimateCtx);dojo.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_549,_54a){if(!this._current){this._current=this._animations[this._index=0];}if(!_54a&&this._current.status()=="playing"){return this;}var _54b=dojo.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_54c=dojo.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_54e=dojo.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);dojo.disconnect(_54b);dojo.disconnect(_54c);dojo.disconnect(_54e);});if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=dojo.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);dojo.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_552,_553){this.pause();var _554=this.duration*_552;this._current=null;dojo.some(this._animations,function(a){if(a.duration<=_554){this._current=a;return true;}_554-=a.duration;return false;});if(this._current){this._current.gotoPercent(_554/this._current.duration,_553);}return this;},stop:function(_556){if(this._current){if(_556){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=dojo.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);dojo.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}}});dojo.extend(_546,_543);dojo.fx.chain=function(_559){return new _546(_559);};var _55a=function(_55b){this._animations=_55b||[];this._connects=[];this._finished=0;this.duration=0;dojo.forEach(_55b,function(a){var _55d=a.duration;if(a.delay){_55d+=a.delay;}if(this.duration<_55d){this.duration=_55d;}this._connects.push(dojo.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new dojo._Animation({curve:[0,1],duration:this.duration});dojo.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop"],function(evt){this._connects.push(dojo.connect(this._pseudoAnimation,evt,dojo.hitch(this,"_fire",evt)));},this);};dojo.extend(_55a,{_doAction:function(_55f,args){dojo.forEach(this._animations,function(a){a[_55f].apply(a,args);});return this;},_onEnd:function(){if(++this._finished==this._animations.length){this._fire("onEnd");}},_call:function(_562,args){var t=this._pseudoAnimation;t[_562].apply(t,args);},play:function(_565,_566){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(_567,_568){var ms=this.duration*_567;dojo.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_568);});this._call("gotoPercent",arguments);return this;},stop:function(_56b){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){dojo.forEach(this._connects,dojo.disconnect);}});dojo.extend(_55a,_543);dojo.fx.combine=function(_56c){return new _55a(_56c);};})();dojo.declare("dojo.fx.Toggler",null,{constructor:function(args){var _t=this;dojo.mixin(_t,args);_t.node=args.node;_t._showArgs=dojo.mixin({},args);_t._showArgs.node=_t.node;_t._showArgs.duration=_t.showDuration;_t.showAnim=_t.showFunc(_t._showArgs);_t._hideArgs=dojo.mixin({},args);_t._hideArgs.node=_t.node;_t._hideArgs.duration=_t.hideDuration;_t.hideAnim=_t.hideFunc(_t._hideArgs);dojo.connect(_t.showAnim,"beforeBegin",dojo.hitch(_t.hideAnim,"stop",true));dojo.connect(_t.hideAnim,"beforeBegin",dojo.hitch(_t.showAnim,"stop",true));},node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,show:function(_56f){return this.showAnim.play(_56f||0);},hide:function(_570){return this.hideAnim.play(_570||0);}});dojo.fx.wipeIn=function(args){args.node=dojo.byId(args.node);var node=args.node,s=node.style,o;var anim=dojo.animateProperty(dojo.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 _576=dojo.style(node,"height");return Math.max(_576,1);}},end:function(){return node.scrollHeight;}}}},args));dojo.connect(anim,"onEnd",function(){s.height="auto";s.overflow=o;});return anim;};dojo.fx.wipeOut=function(args){var node=args.node=dojo.byId(args.node);var s=node.style;var o;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{end:1}}},args));dojo.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});dojo.connect(anim,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return anim;};dojo.fx.slideTo=function(args){var node=(args.node=dojo.byId(args.node));var top=null;var left=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=dojo.animateProperty(dojo.mixin({properties:{top:{end:args.top||0},left:{end:args.left||0}}},args));dojo.connect(anim,"beforeBegin",anim,init);return anim;};}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _586=dojo.doc;if(_586.selection){var s=_586.selection;if(s.type=="Text"){return !s.createRange().htmlText.length;}else{return !s.createRange().length;}}else{var _588=dojo.global;var _589=_588.getSelection();if(dojo.isString(_589)){return !_589;}else{return _589.isCollapsed||!_589.toString();}}},getBookmark:function(){var _58a,_58b=dojo.doc.selection;if(_58b){var _58c=_58b.createRange();if(_58b.type.toUpperCase()=="CONTROL"){if(_58c.length){_58a=[];var i=0,len=_58c.length;while(i<len){_58a.push(_58c.item(i++));}}else{_58a=null;}}else{_58a=_58c.getBookmark();}}else{if(window.getSelection){_58b=dojo.global.getSelection();if(_58b){_58c=_58b.getRangeAt(0);_58a=_58c.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _58a;},moveToBookmark:function(_58f){var _590=dojo.doc;if(_590.selection){var _591;if(dojo.isArray(_58f)){_591=_590.body.createControlRange();dojo.forEach(_58f,function(n){_591.addElement(n);});}else{_591=_590.selection.createRange();_591.moveToBookmark(_58f);}_591.select();}else{var _593=dojo.global.getSelection&&dojo.global.getSelection();if(_593&&_593.removeAllRanges){_593.removeAllRanges();_593.addRange(_58f);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(menu,_595){return {node:menu&&dojo.isDescendant(dijit._curFocus,menu.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_595||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_595||dojo.global,dijit.getBookmark):null,openedForWindow:_595};},focus:function(_596){if(!_596){return;}var node="node" in _596?_596.node:_596,_598=_596.bookmark,_599=_596.openedForWindow;if(node){var _59a=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_59a&&_59a.focus){try{_59a.focus();}catch(e){}}dijit._onFocusNode(node);}if(_598&&dojo.withGlobal(_599||dojo.global,dijit.isCollapsed)){if(_599){_599.focus();}try{dojo.withGlobal(_599||dojo.global,dijit.moveToBookmark,null,[_598]);}catch(e){}}},_activeStack:[],registerWin:function(_59b){if(!_59b){_59b=window;}dojo.connect(_59b.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var body=_59b.document.body||_59b.document.getElementsByTagName("body")[0];if(body){if(dojo.isIE){body.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="body"){dijit._onFocusNode(evt.srcElement);}});body.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{body.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);body.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}body=null;},_onBlurNode:function(node){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(node){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _5a4=[];try{while(node){if(node.dijitPopupParent){node=dijit.byId(node.dijitPopupParent).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===dojo.body()){break;}node=dijit.getDocumentWindow(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId");if(id){_5a4.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_5a4);},_onFocusNode:function(node){if(node&&node.tagName&&node.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(node);if(node==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=node;dojo.publish("focusNode",[node]);},_setStack:function(_5a7){var _5a8=dijit._activeStack;dijit._activeStack=_5a7;for(var _5a9=0;_5a9<Math.min(_5a8.length,_5a7.length);_5a9++){if(_5a8[_5a9]!=_5a7[_5a9]){break;}}for(var i=_5a8.length-1;i>=_5a9;i--){var _5ab=dijit.byId(_5a8[i]);if(_5ab){_5ab._focused=false;_5ab._hasBeenBlurred=true;if(_5ab._onBlur){_5ab._onBlur();}if(_5ab._setStateClass){_5ab._setStateClass();}dojo.publish("widgetBlur",[_5ab]);}}for(i=_5a9;i<_5a7.length;i++){_5ab=dijit.byId(_5a7[i]);if(_5ab){_5ab._focused=true;if(_5ab._onFocus){_5ab._onFocus();}if(_5ab._setStateClass){_5ab._setStateClass();}dojo.publish("widgetFocus",[_5ab]);}}}});dojo.addOnLoad(dijit.registerWin);}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_5ac){if(this._hash[_5ac.id]){throw new Error("Tried to register widget with id=="+_5ac.id+" but that id is already registered");}this._hash[_5ac.id]=_5ac;},remove:function(id){delete this._hash[id];},forEach:function(func){for(var id in this._hash){func(this._hash[id]);}},filter:function(_5b0){var res=new dijit.WidgetSet();this.forEach(function(_5b2){if(_5b0(_5b2)){res.add(_5b2);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_5b5){return _5b5.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_5b6){var id;do{id=_5b6+"_"+(_5b6 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_5b6]:dijit._widgetTypeCtr[_5b6]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.registry.forEach(function(_5b8){_5b8.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(node){return dijit.registry.byId(node.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(node){while(node){if(node.getAttribute&&node.getAttribute("widgetId")){return dijit.registry.byId(node.getAttribute("widgetId"));}node=node.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(elem){var _5bd=dojo.style(elem);return (_5bd.visibility!="hidden")&&(_5bd.visibility!="collapsed")&&(_5bd.display!="none")&&(dojo.attr(elem,"type")!="hidden");};dijit.isTabNavigable=function(elem){if(dojo.hasAttr(elem,"disabled")){return false;}var _5bf=dojo.hasAttr(elem,"tabindex");var _5c0=dojo.attr(elem,"tabindex");if(_5bf&&_5c0>=0){return true;}var name=elem.nodeName.toLowerCase();if(((name=="a"&&dojo.hasAttr(elem,"href"))||dijit._tabElements[name])&&(!_5bf||_5c0>=0)){return true;}return false;};dijit._getTabNavigable=function(root){var _5c3,last,_5c5,_5c6,_5c7,_5c8;var _5c9=function(_5ca){dojo.query("> *",_5ca).forEach(function(_5cb){var _5cc=dijit._isElementShown(_5cb);if(_5cc&&dijit.isTabNavigable(_5cb)){var _5cd=dojo.attr(_5cb,"tabindex");if(!dojo.hasAttr(_5cb,"tabindex")||_5cd==0){if(!_5c3){_5c3=_5cb;}last=_5cb;}else{if(_5cd>0){if(!_5c5||_5cd<_5c6){_5c6=_5cd;_5c5=_5cb;}if(!_5c7||_5cd>=_5c8){_5c8=_5cd;_5c7=_5cb;}}}}if(_5cc){_5c9(_5cb);}});};if(dijit._isElementShown(root)){_5c9(root);}return {first:_5c3,last:last,lowest:_5c5,highest:_5c7};};dijit.getFirstInTabbingOrder=function(root){var _5cf=dijit._getTabNavigable(dojo.byId(root));return _5cf.lowest?_5cf.lowest:_5cf.first;};dijit.getLastInTabbingOrder=function(root){var _5d1=dijit._getTabNavigable(dojo.byId(root));return _5d1.last?_5d1.last:_5d1.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_5d2){this.pairs=[];this.returnWrappers=_5d2||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_5d4,wrap,_5d6,_5d7){this.pairs[((_5d7)?"unshift":"push")]([name,_5d4,wrap,_5d6]);},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(){var _5dd=dojo.global;var _5de=dojo.doc;var w=0,h=0;var de=_5de.documentElement;var dew=de.clientWidth,deh=de.clientHeight;if(dojo.isMozilla){var minw,minh,maxw,maxh;var dbw=_5de.body.clientWidth;if(dbw>dew){minw=dew;maxw=dbw;}else{maxw=dew;minw=dbw;}var dbh=_5de.body.clientHeight;if(dbh>deh){minh=deh;maxh=dbh;}else{maxh=deh;minh=dbh;}w=(maxw>_5dd.innerWidth)?minw:maxw;h=(maxh>_5dd.innerHeight)?minh:maxh;}else{if(!dojo.isOpera&&_5dd.innerWidth){w=_5dd.innerWidth;h=_5dd.innerHeight;}else{if(dojo.isIE&&de&&deh){w=dew;h=deh;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _5ea=dojo._docScroll();return {w:w,h:h,l:_5ea.x,t:_5ea.y};};dijit.placeOnScreen=function(node,pos,_5ed,_5ee){var _5ef=dojo.map(_5ed,function(_5f0){return {corner:_5f0,pos:pos};});return dijit._place(node,_5ef);};dijit._place=function(node,_5f2,_5f3){var view=dijit.getViewport();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_5f2,function(_5f6){var _5f7=_5f6.corner;var pos=_5f6.pos;if(_5f3){_5f3(node,_5f6.aroundCorner,_5f7);}var _5f9=node.style;var _5fa=_5f9.display;var _5fb=_5f9.visibility;_5f9.visibility="hidden";_5f9.display="";var mb=dojo.marginBox(node);_5f9.display=_5fa;_5f9.visibility=_5fb;var _5fd=(_5f7.charAt(1)=="L"?pos.x:Math.max(view.l,pos.x-mb.w)),_5fe=(_5f7.charAt(0)=="T"?pos.y:Math.max(view.t,pos.y-mb.h)),endX=(_5f7.charAt(1)=="L"?Math.min(view.l+view.w,_5fd+mb.w):pos.x),endY=(_5f7.charAt(0)=="T"?Math.min(view.t+view.h,_5fe+mb.h):pos.y),_601=endX-_5fd,_602=endY-_5fe,_603=(mb.w-_601)+(mb.h-_602);if(best==null||_603<best.overflow){best={corner:_5f7,aroundCorner:_5f6.aroundCorner,x:_5fd,y:_5fe,w:_601,h:_602,overflow:_603};}return !_603;});node.style.left=best.x+"px";node.style.top=best.y+"px";if(best.overflow&&_5f3){_5f3(node,best.aroundCorner,best.corner);}return best;};dijit.placeOnScreenAroundNode=function(node,_605,_606,_607){_605=dojo.byId(_605);var _608=_605.style.display;_605.style.display="";var _609=_605.offsetWidth;var _60a=_605.offsetHeight;var _60b=dojo.coords(_605,true);_605.style.display=_608;return dijit._placeOnScreenAroundRect(node,_60b.x,_60b.y,_609,_60a,_606,_607);};dijit.placeOnScreenAroundRectangle=function(node,_60d,_60e,_60f){return dijit._placeOnScreenAroundRect(node,_60d.x,_60d.y,_60d.width,_60d.height,_60e,_60f);};dijit._placeOnScreenAroundRect=function(node,x,y,_613,_614,_615,_616){var _617=[];for(var _618 in _615){_617.push({aroundCorner:_618,corner:_615[_618],pos:{x:x+(_618.charAt(1)=="L"?0:_613),y:y+(_618.charAt(0)=="T"?0:_614)}});}return dijit._place(node,_617,_616);};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,_61e,_61f,_620){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){if(dojo.isSafari&&!doc._parentWindow){var fix=function(win){win.document._parentWindow=win;for(var i=0;i<win.frames.length;i++){fix(win.frames[i]);}};fix(window.top);}if(dojo.isIE&&window!==document.parentWindow&&!doc._parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc._parentWindow||doc.parentWindow||doc.defaultView;};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup=new function(){var _626=[],_627=1000,_628=1;this.prepare=function(node){dojo.body().appendChild(node);var s=node.style;if(s.display=="none"){s.display="";}s.visibility="hidden";s.position="absolute";s.top="-9999px";};this.open=function(args){var _62c=args.popup,_62d=args.orient||{"BL":"TL","TL":"BL"},_62e=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+_628++);var _630=dojo.doc.createElement("div");dijit.setWaiRole(_630,"presentation");_630.id=id;_630.className="dijitPopup";_630.style.zIndex=_627+_626.length;_630.style.left=_630.style.top="0px";_630.style.visibility="hidden";if(args.parent){_630.dijitPopupParent=args.parent.id;}dojo.body().appendChild(_630);var s=_62c.domNode.style;s.display="";s.visibility="";s.position="";_630.appendChild(_62c.domNode);var _632=new dijit.BackgroundIframe(_630);var best=_62e?dijit.placeOnScreenAroundElement(_630,_62e,_62d,_62c.orient?dojo.hitch(_62c,"orient"):null):dijit.placeOnScreen(_630,args,_62d=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_630.style.visibility="visible";var _634=[];var _635=function(){for(var pi=_626.length-1;pi>0&&_626[pi].parent===_626[pi-1].widget;pi--){}return _626[pi];};_634.push(dojo.connect(_630,"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 _638=_635();if(_638&&_638.onCancel){_638.onCancel();}}}}));if(_62c.onCancel){_634.push(dojo.connect(_62c,"onCancel",null,args.onCancel));}_634.push(dojo.connect(_62c,_62c.onExecute?"onExecute":"onChange",null,function(){var _639=_635();if(_639&&_639.onExecute){_639.onExecute();}}));_626.push({wrapper:_630,iframe:_632,widget:_62c,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_634});if(_62c.onOpen){_62c.onOpen(best);}return best;};this.close=function(_63a){while(dojo.some(_626,function(elem){return elem.widget==_63a;})){var top=_626.pop(),_63d=top.wrapper,_63e=top.iframe,_63f=top.widget,_640=top.onClose;if(_63f.onClose){_63f.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_63f||!_63f.domNode){return;}this.prepare(_63f.domNode);_63e.destroy();dojo._destroyElement(_63d);if(_640){_640();}}};}();dijit._frames=new function(){var _641=[];this.pop=function(){var _642;if(_641.length){_642=_641.pop();_642.style.display="";}else{if(dojo.isIE){var html="<iframe src='javascript:\"\"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_642=dojo.doc.createElement(html);}else{_642=dojo.doc.createElement("iframe");_642.src="javascript:\"\"";_642.className="dijitBackgroundIframe";}_642.tabIndex=-1;dojo.body().appendChild(_642);}return _642;};this.push=function(_644){_644.style.display="";if(dojo.isIE){_644.style.removeExpression("width");_644.style.removeExpression("height");}_641.push(_644);};}();if(dojo.isIE&&dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _647=dijit._frames.pop();node.appendChild(_647);if(dojo.isIE){_647.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetWidth");_647.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetHeight");}this.iframe=_647;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node){node=dojo.byId(node);var body=node.ownerDocument.body;var html=body.parentNode;if(dojo.isFF==2||node==body||node==html){node.scrollIntoView(false);return;}var rtl=!dojo._isBodyLtr();var _64c=dojo.doc.compatMode!="BackCompat";var _64d=(_64c&&!dojo.isSafari)?html:body;function addPseudoAttrs(_64e){var _64f=_64e.parentNode;var _650=_64e.offsetParent;if(_650==null){_64e=_64d;_650=html;_64f=null;}_64e._offsetParent=(_650==body)?_64d:_650;_64e._parent=(_64f==body)?_64d:_64f;_64e._start={H:_64e.offsetLeft,V:_64e.offsetTop};_64e._scroll={H:_64e.scrollLeft,V:_64e.scrollTop};_64e._renderedSize={H:_64e.offsetWidth,V:_64e.offsetHeight};var bp=dojo._getBorderExtents(_64e);_64e._borderStart={H:bp.l,V:bp.t};_64e._borderSize={H:bp.w,V:bp.h};_64e._clientSize=(_64e._offsetParent==html&&dojo.isSafari&&_64c)?{H:html.clientWidth,V:html.clientHeight}:{H:_64e.clientWidth,V:_64e.clientHeight};_64e._scrollBarSize={V:null,H:null};for(var dir in _64e._scrollBarSize){var _653=_64e._renderedSize[dir]-_64e._clientSize[dir]-_64e._borderSize[dir];_64e._scrollBarSize[dir]=(_64e._clientSize[dir]>0&&_653>=15&&_653<=17)?_653:0;}_64e._isScrollable={V:null,H:null};for(dir in _64e._isScrollable){var _654=dir=="H"?"V":"H";_64e._isScrollable[dir]=_64e==_64d||_64e._scroll[dir]||_64e._scrollBarSize[_654];}};var _655=node;while(_655!=null){addPseudoAttrs(_655);_655=_655._parent;}for(var dir in _64d._renderedSize){_64d._renderedSize[dir]=Math.min(_64d._clientSize[dir],_64d._renderedSize[dir]);}var _657=node;while(_657!=_64d){_655=_657._parent;var _658=_657==_64d||(_655._offsetParent!=_657._offsetParent);for(dir in _657._start){var _659=dir=="H"?"V":"H";if(rtl&&dir=="H"&&(dojo.isSafari||dojo.isIE)&&_655._clientSize.H>0){var _65a=_655.scrollWidth-_655._clientSize.H;if(_65a>0){_655._scroll.H-=_65a;}}if(dojo.isIE&&_655._offsetParent.tagName=="TABLE"){_655._start[dir]-=_655._offsetParent._borderStart[dir];_655._borderStart[dir]=_655._borderSize[dir]=0;}if(_655._clientSize[dir]==0){_655._renderedSize[dir]=_655._clientSize[dir]=_657._clientSize[dir];if(rtl&&dir=="H"){_655._start[dir]-=_655._renderedSize[dir];}}else{_655._renderedSize[dir]-=_655._borderSize[dir]+_655._scrollBarSize[dir];}_655._start[dir]+=_655._borderStart[dir];var _65b=_657._start[dir]-(_658?0:_655._start[dir])-_655._scroll[dir];var _65c=_65b+_657._renderedSize[dir]-_655._renderedSize[dir];var _65d,_65e=(dir=="H")?"scrollLeft":"scrollTop";var _65f=(dir=="H"&&rtl);var _660=_65f?-_65c:_65b;var _661=_65f?-_65b:_65c;if(_660<=0){_65d=_660;}else{if(_661<=0){_65d=0;}else{if(_660<_661){_65d=_660;}else{_65d=_661;}}}var _662=0;if(_65d!=0){var _663=_655[_65e];_655[_65e]+=_65f?-_65d:_65d;_662=_655[_65e]-_663;_65b-=_662;_661-=_65f?-_662:_662;}_655._renderedSize[dir]=_657._renderedSize[dir]+_655._scrollBarSize[dir]-((_655._isScrollable[dir]&&_661>0)?_661:0);_655._start[dir]+=(_65b>=0||!_655._isScrollable[dir])?_65b:0;}_657=_655;}};}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo;var ie=d.isIE;var _666=d.isOpera;var maj=Math.floor;var ff=d.isFF;var _669=d.boxModel.replace(/-/,"");var _66a={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_666,dj_opera8:maj(_666)==8,dj_opera9:maj(_666)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2,dj_ff3:maj(ff)==3};_66a["dj_"+_669]=true;var html=dojo.doc.documentElement;for(var p in _66a){if(_66a[p]){if(html.className){html.className+=" "+p;}else{html.className=p;}}}dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){html.className+=" dijitRtl";for(var p in _66a){if(_66a[p]){html.className+=" "+p+"-rtl";}}}});})();}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_66f,node,_671,obj,_673,_674){if(obj!=this._obj){this.stop();this._initialDelay=_674||500;this._subsequentDelay=_673||0.9;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_66f,_671);this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_676,_677,_678,_679,_67a){if(_676.keyCode){_676.charOrCode=_676.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_676.charCode){_676.charOrCode=String.fromCharCode(_676.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==_676.charOrCode&&(_676.ctrlKey===undefined||_676.ctrlKey==evt.ctrlKey)&&(_676.altKey===undefined||_676.altKey==evt.ctrlKey)&&(_676.shiftKey===undefined||_676.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_676,_677,node,_678,_676,_679,_67a);}else{if(dijit.typematic._obj==_676){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_676){dijit.typematic.stop();}})];},addMouseListener:function(node,_67e,_67f,_680,_681){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_67e,node,_67f,node,_680,_681);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_67e,node,_67f,node,_680,_681);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_688,_689,_68a,_68b,_68c,_68d,_68e){return this.addKeyListener(_689,_68a,_68b,_68c,_68d,_68e).concat(this.addMouseListener(_688,_68b,_68c,_68d,_68e));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.doc.createElement("div");div.id="a11yTestNode";div.style.cssText="border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");";dojo.body().appendChild(div);var cs=dojo.getComputedStyle(div);if(cs){var _691=cs.backgroundImage;var _692=(cs.borderTopColor==cs.borderRightColor)||(_691!=null&&(_691=="none"||_691=="url(invalid-url:)"));dojo[_692?"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,{hasWaiRole:function(elem){return elem.hasAttribute?elem.hasAttribute("role"):!!elem.getAttribute("role");},getWaiRole:function(elem){var _695=elem.getAttribute("role");if(_695){var _696=_695.indexOf(":");return _696==-1?_695:_695.substring(_696+1);}else{return "";}},setWaiRole:function(elem,role){elem.setAttribute("role",(dojo.isFF&&dojo.isFF<3)?"wairole:"+role:role);},removeWaiRole:function(elem){elem.removeAttribute("role");},hasWaiState:function(elem,_69b){if(dojo.isFF&&dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_69b);}else{return elem.hasAttribute?elem.hasAttribute("aria-"+_69b):!!elem.getAttribute("aria-"+_69b);}},getWaiState:function(elem,_69d){if(dojo.isFF&&dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_69d);}else{var _69e=elem.getAttribute("aria-"+_69d);return _69e?_69e:"";}},setWaiState:function(elem,_6a0,_6a1){if(dojo.isFF&&dojo.isFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_6a0,_6a1);}else{elem.setAttribute("aria-"+_6a0,_6a1);}},removeWaiState:function(elem,_6a3){if(dojo.isFF&&dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_6a3);}else{elem.removeAttribute("aria-"+_6a3);}}});}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.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")),postscript:function(_6a4,_6a5){this.create(_6a4,_6a5);},create:function(_6a6,_6a7){this.srcNodeRef=dojo.byId(_6a7);this._connects=[];this._attaches=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_6a6){this.params=_6a6;dojo.mixin(this,_6a6);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){for(var attr in this.attributeMap){var _6a9=this[attr];if(typeof _6a9!="object"&&((_6a9!==""&&_6a9!==false)||(_6a6&&_6a6[attr]))){this.setAttribute(attr,_6a9);}}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_6aa){this.destroyDescendants(_6aa);this.destroy(_6aa);},destroy:function(_6ab){this.uninitialize();dojo.forEach(this._connects,function(_6ac){dojo.forEach(_6ac,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){if(w.destroy){w.destroy();}});this.destroyRendering(_6ab);dijit.registry.remove(this.id);},destroyRendering:function(_6ae){if(this.bgIframe){this.bgIframe.destroy(_6ae);delete this.bgIframe;}if(this.domNode){if(!_6ae){dojo._destroyElement(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_6ae){dojo._destroyElement(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_6af){dojo.forEach(this.getDescendants(),function(_6b0){if(_6b0.destroy){_6b0.destroy(_6af);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(attr,_6b3){var _6b4=this[this.attributeMap[attr]||"domNode"];this[attr]=_6b3;switch(attr){case "class":dojo.addClass(_6b4,_6b3);break;case "style":if(_6b4.style.cssText){_6b4.style.cssText+="; "+_6b3;}else{_6b4.style.cssText=_6b3;}break;default:if(/^on[A-Z]/.test(attr)){attr=attr.toLowerCase();}if(typeof _6b3=="function"){_6b3=dojo.hitch(this,_6b3);}dojo.attr(_6b4,attr,_6b3);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){if(this.containerNode){var list=dojo.query("[widgetId]",this.containerNode);return list.map(dijit.byNode);}else{return [];}},nodesWithKeyClick:["input","button"],connect:function(obj,_6b7,_6b8){var d=dojo;var dco=d.hitch(d,"connect",obj);var _6bb=[];if(_6b7=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){var m=d.hitch(this,_6b8);_6bb.push(dco("onkeydown",this,function(e){if(!d.isFF&&e.keyCode==d.keys.ENTER){return m(e);}else{if(e.keyCode==d.keys.SPACE){d.stopEvent(e);}}}),dco("onkeyup",this,function(e){if(e.keyCode==d.keys.SPACE){return m(e);}}));if(d.isFF){_6bb.push(dco("onkeypress",this,function(e){if(e.keyCode==d.keys.ENTER){return m(e);}}));}}_6b7="onclick";}_6bb.push(dco(_6b7,this,_6b8));this._connects.push(_6bb);return _6bb;},disconnect:function(_6c0){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_6c0){dojo.forEach(_6c0,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){return dojo._isBodyLtr();},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");}});}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.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(_6cb,map,_6cd,_6ce){_6ce=_6ce||dojo.global;_6cd=(!_6cd)?function(v){return v;}:dojo.hitch(_6ce,_6cd);return _6cb.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_6d0,key,_6d2){var _6d3=dojo.getObject(key,false,map);if(_6d2){_6d3=dojo.getObject(_6d2,false,_6ce).call(_6ce,_6d3,key);}return _6cd(_6d3,key).toString();});};dojo.string.trim=function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_6d6,_6d7){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 _6d8=dojo.date.stamp._isoRegExp.exec(_6d6);var _6d9=null;if(_6d8){_6d8.shift();if(_6d8[1]){_6d8[1]--;}if(_6d8[6]){_6d8[6]*=1000;}if(_6d7){_6d7=new Date(_6d7);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _6d7["get"+prop]();}).forEach(function(_6db,_6dc){if(_6d8[_6dc]===undefined){_6d8[_6dc]=_6db;}});}_6d9=new Date(_6d8[0]||1970,_6d8[1]||0,_6d8[2]||1,_6d8[3]||0,_6d8[4]||0,_6d8[5]||0,_6d8[6]||0);var _6dd=0;var _6de=_6d8[7]&&_6d8[7].charAt(0);if(_6de!="Z"){_6dd=((_6d8[8]||0)*60)+(Number(_6d8[9])||0);if(_6de!="-"){_6dd*=-1;}}if(_6de){_6dd-=_6d9.getTimezoneOffset();}if(_6dd){_6d9.setTime(_6d9.getTime()+_6dd*60000);}}return _6d9;};dojo.date.stamp.toISOString=function(_6df,_6e0){var _=function(n){return (n<10)?"0"+n:n;};_6e0=_6e0||{};var _6e3=[];var _6e4=_6e0.zulu?"getUTC":"get";var date="";if(_6e0.selector!="time"){var year=_6df[_6e4+"FullYear"]();date=["0000".substr((year+"").length)+year,_(_6df[_6e4+"Month"]()+1),_(_6df[_6e4+"Date"]())].join("-");}_6e3.push(date);if(_6e0.selector!="date"){var time=[_(_6df[_6e4+"Hours"]()),_(_6df[_6e4+"Minutes"]()),_(_6df[_6e4+"Seconds"]())].join(":");var _6e8=_6df[_6e4+"Milliseconds"]();if(_6e0.milliseconds){time+="."+(_6e8<100?"0":"")+_(_6e8);}if(_6e0.zulu){time+="Z";}else{if(_6e0.selector!="time"){var _6e9=_6df.getTimezoneOffset();var _6ea=Math.abs(_6e9);time+=(_6e9>0?"-":"+")+_(Math.floor(_6ea/60))+":"+_(_6ea%60);}}_6e3.push(time);}return _6e3.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;var _6ec=d._scopeName+"Type";var qry="["+_6ec+"]";function val2type(_6ee){if(d.isString(_6ee)){return "string";}if(typeof _6ee=="number"){return "number";}if(typeof _6ee=="boolean"){return "boolean";}if(d.isFunction(_6ee)){return "function";}if(d.isArray(_6ee)){return "array";}if(_6ee instanceof Date){return "date";}if(_6ee instanceof d._Url){return "url";}return "object";};function str2obj(_6ef,type){switch(type){case "string":return _6ef;case "number":return _6ef.length?Number(_6ef):NaN;case "boolean":return typeof _6ef=="boolean"?_6ef:!(_6ef.toLowerCase()=="false");case "function":if(d.isFunction(_6ef)){_6ef=_6ef.toString();_6ef=d.trim(_6ef.substring(_6ef.indexOf("{")+1,_6ef.length-1));}try{if(_6ef.search(/[^\w\.]+/i)!=-1){_6ef=d.parser._nameAnonFunc(new Function(_6ef),this);}return d.getObject(_6ef,false);}catch(e){return new Function();}case "array":return _6ef?_6ef.split(/\s*,\s*/):[];case "date":switch(_6ef){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_6ef);}case "url":return d.baseUrl+_6ef;default:return d.fromJson(_6ef);}};var _6f1={};function getClassInfo(_6f2){if(!_6f1[_6f2]){var cls=d.getObject(_6f2);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_6f2+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _6f4=cls.prototype;var _6f5={};for(var name in _6f4){if(name.charAt(0)=="_"){continue;}var _6f7=_6f4[name];_6f5[name]=val2type(_6f7);}_6f1[_6f2]={cls:cls,params:_6f5};}return _6f1[_6f2];};this._functionFromScript=function(_6f8){var _6f9="";var _6fa="";var _6fb=_6f8.getAttribute("args");if(_6fb){d.forEach(_6fb.split(/\s*,\s*/),function(part,idx){_6f9+="var "+part+" = arguments["+idx+"]; ";});}var _6fe=_6f8.getAttribute("with");if(_6fe&&_6fe.length){d.forEach(_6fe.split(/\s*,\s*/),function(part){_6f9+="with("+part+"){";_6fa+="}";});}return new Function(_6f9+_6f8.innerHTML+_6fa);};this.instantiate=function(_700){var _701=[];d.forEach(_700,function(node){if(!node){return;}var type=node.getAttribute(_6ec);if((!type)||(!type.length)){return;}var _704=getClassInfo(type);var _705=_704.cls;var ps=_705._noScript||_705.prototype._noScript;var _707={};var _708=node.attributes;for(var name in _704.params){var item=_708.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _70b=item.value;switch(name){case "class":_70b=node.className;break;case "style":_70b=node.style&&node.style.cssText;}var _70c=_704.params[name];_707[name]=str2obj(_70b,_70c);}if(!ps){var _70d=[],_70e=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_70f){var _710=_70f.getAttribute("event"),type=_70f.getAttribute("type"),nf=d.parser._functionFromScript(_70f);if(_710){if(type=="dojo/connect"){_70d.push({event:_710,func:nf});}else{_707[_710]=nf;}}else{_70e.push(nf);}});}var _712=_705["markupFactory"];if(!_712&&_705["prototype"]){_712=_705.prototype["markupFactory"];}var _713=_712?_712(_707,node,_705):new _705(_707,node);_701.push(_713);var _714=node.getAttribute("jsId");if(_714){d.setObject(_714,_713);}if(!ps){d.forEach(_70d,function(_715){d.connect(_713,_715.event,null,_715.func);});d.forEach(_70e,function(func){func.call(_713);});}});d.forEach(_701,function(_717){if(_717&&_717.startup&&!_717._started&&(!_717.getParent||!_717.getParent())){_717.startup();}});return _701;};this.parse=function(_718){var list=d.query(qry,_718);var _71a=this.instantiate(list);return _71a;};}();(function(){var _71b=function(){if(dojo.config["parseOnLoad"]==true){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_71b);}else{dojo._loaders.unshift(_71b);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_71c,_71d){var jpn="$joinpoint";var nso=(_71d||dojo.parser._anon);if(dojo.isIE){var cn=_71c["__dojoNameCache"];if(cn&&nso[cn]===_71c){return _71c["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_71c;return ret;};}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_stringRepl:function(tmpl){var _723=this.declaredClass,_724=this;return dojo.string.substitute(tmpl,this,function(_725,key){if(key.charAt(0)=="!"){_725=_724[key.substr(1)];}if(typeof _725=="undefined"){throw new Error(_723+" template:"+key);}if(!_725){return "";}return key.charAt(0)=="!"?_725:_725.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _727=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_727)){node=dijit._Templated._createNodesFromText(this._stringRepl(_727))[0];}else{node=_727.cloneNode(true);}this._attachTemplateNodes(node);var _729=this.srcNodeRef;if(_729&&_729.parentNode){_729.parentNode.replaceChild(node,_729);}this.domNode=node;if(this.widgetsInTemplate){var cw=this._supportingWidgets=dojo.parser.parse(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(_729);},_fillContent:function(_72d){var dest=this.containerNode;if(_72d&&dest){while(_72d.hasChildNodes()){dest.appendChild(_72d.firstChild);}}},_attachTemplateNodes:function(_72f,_730){_730=_730||function(n,p){return n.getAttribute(p);};var _733=dojo.isArray(_72f)?_72f:(_72f.all||_72f.getElementsByTagName("*"));var x=dojo.isArray(_72f)?0:-1;for(;x<_733.length;x++){var _735=(x==-1)?_72f:_733[x];if(this.widgetsInTemplate&&_730(_735,"dojoType")){continue;}var _736=_730(_735,"dojoAttachPoint");if(_736){var _737,_738=_736.split(/\s*,\s*/);while((_737=_738.shift())){if(dojo.isArray(this[_737])){this[_737].push(_735);}else{this[_737]=_735;}}}var _739=_730(_735,"dojoAttachEvent");if(_739){var _73a,_73b=_739.split(/\s*,\s*/);var trim=dojo.trim;while((_73a=_73b.shift())){if(_73a){var _73d=null;if(_73a.indexOf(":")!=-1){var _73e=_73a.split(":");_73a=trim(_73e[0]);_73d=trim(_73e[1]);}else{_73a=trim(_73a);}if(!_73d){_73d=_73a;}this.connect(_735,_73a,_73d);}}}var role=_730(_735,"waiRole");if(role){dijit.setWaiRole(_735,role);}var _740=_730(_735,"waiState");if(_740){dojo.forEach(_740.split(/\s*,\s*/),function(_741){if(_741.indexOf("-")!=-1){var pair=_741.split("-");dijit.setWaiState(_735,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_743,_744,_745){var _746=dijit._Templated._templateCache;var key=_744||_743;var _748=_746[key];if(_748){if(!_748.ownerDocument||_748.ownerDocument==dojo.doc){return _748;}dojo._destroyElement(_748);}if(!_744){_744=dijit._Templated._sanitizeTemplateString(dojo._getText(_743));}_744=dojo.string.trim(_744);if(_745||_744.match(/\$\{([^\}]+)\}/g)){return (_746[key]=_744);}else{return (_746[key]=dijit._Templated._createNodesFromText(_744)[0]);}};dijit._Templated._sanitizeTemplateString=function(_749){if(_749){_749=_749.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _74a=_749.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_74a){_749=_74a[1];}}else{_749="";}return _749;};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _74b=dijit._Templated._templateCache;for(var key in _74b){var _74d=_74b[key];if(!isNaN(_74d.nodeType)){dojo._destroyElement(_74d);}delete _74b[key];}});}(function(){var _74e={cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};var tn;dijit._Templated._createNodesFromText=function(text){if(tn&&tn.ownerDocument!=dojo.doc){dojo._destroyElement(tn);tn=undefined;}if(!tn){tn=dojo.doc.createElement("div");tn.style.display="none";dojo.body().appendChild(tn);}var _751="none";var _752=text.replace(/^\s+/,"");for(var type in _74e){var map=_74e[type];if(map.re.test(_752)){_751=type;text=map.pre+text+map.post;break;}}tn.innerHTML=text;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_751];var _756=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _757=[];while(_756.firstChild){_757.push(_756.removeChild(_756.firstChild));}tn.innerHTML="";return _757;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _75a=dijit.byId(id);return _75a.isContainer?_75a:null;}}return null;},_getSibling:function(_75b){var node=this.domNode;do{node=node[_75b+"Sibling"];}while(node&&node.nodeType!=1);if(!node){return null;}var id=node.getAttribute("widgetId");return dijit.byId(id);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_75f,_760){if(_760===undefined){_760="last";}var _761=this.containerNode;if(_760&&typeof _760=="number"){var _762=dojo.query("> [widgetId]",_761);if(_762&&_762.length>=_760){_761=_762[_760-1];_760="after";}}dojo.place(_75f.domNode,_761,_760);if(this._started&&!_75f._started){_75f.startup();}},removeChild:function(_763){if(typeof _763=="number"&&_763>0){_763=this.getChildren()[_763];}if(!_763||!_763.domNode){return;}var node=_763.domNode;node.parentNode.removeChild(node);},_nextElement:function(node){do{node=node.nextSibling;}while(node&&node.nodeType!=1);return node;},_firstElement:function(node){node=node.firstChild;if(node&&node.nodeType!=1){node=this._nextElement(node);}return node;},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode).map(dijit.byNode);},hasChildren:function(){return !!this._firstElement(this.containerNode);},destroyDescendants:function(_767){dojo.forEach(this.getChildren(),function(_768){_768.destroyRecursive(_767);});},_getSiblingOfChild:function(_769,dir){var node=_769.domNode;var _76c=(dir>0?"nextSibling":"previousSibling");do{node=node[_76c];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;},getIndexOfChild:function(_76d){var _76e=this.getChildren();for(var i=0,c;c=_76e[i];i++){if(c==_76d){return i;}}return -1;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_771,_772){var _773=this._keyNavCodes={};var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_771,function(code){_773[code]=prev;});dojo.forEach(_772,function(code){_773[code]=next;});this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));},addChild:function(_778,_779){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_778);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusNext:function(){if(this.focusedChild&&this.focusedChild.hasNextFocalNode&&this.focusedChild.hasNextFocalNode()){this.focusedChild.focusNext();return;}var _77a=this._getNextFocusableChild(this.focusedChild,1);if(_77a.getFocalNodes){this.focusChild(_77a,_77a.getFocalNodes()[0]);}else{this.focusChild(_77a);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _77b=this._getNextFocusableChild(this.focusedChild,-1);if(_77b.getFocalNodes){var _77c=_77b.getFocalNodes();this.focusChild(_77b,_77c[_77c.length-1]);}else{this.focusChild(_77b);}},focusChild:function(_77d,node){if(_77d){if(this.focusedChild&&_77d!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_77d;if(node&&_77d.focusFocalNode){_77d.focusFocalNode(node);}else{_77d.focus();}}},_startupChild:function(_77f){if(_77f.getFocalNodes){dojo.forEach(_77f.getFocalNodes(),function(node){dojo.attr(node,"tabindex",-1);this._connectNode(node);},this);}else{var node=_77f.focusNode||_77f.domNode;if(_77f.isFocusable()){dojo.attr(node,"tabindex",-1);}this._connectNode(node);}},_connectNode:function(node){this.connect(node,"onfocus","_onNodeFocus");this.connect(node,"onblur","_onNodeBlur");},_onContainerFocus:function(evt){if(evt.target===this.domNode){this.focusFirstChild();}},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.charOrCode];if(func){func();dojo.stopEvent(evt);}},_onNodeFocus:function(evt){dojo.attr(this.domNode,"tabindex",-1);var _787=dijit.getEnclosingWidget(evt.target);if(_787&&_787.isFocusable()){this.focusedChild=_787;}dojo.stopEvent(evt);},_onNodeBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabindex",this.tabIndex);}dojo.stopEvent(evt);},_onChildBlur:function(_789){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_78a,dir){if(_78a){_78a=this._getSiblingOfChild(_78a,dir);}var _78c=this.getChildren();for(var i=0;i<_78c.length;i++){if(!_78a){_78a=_78c[(dir>0)?0:(_78c.length-1)];}if(_78a.isFocusable()){return _78a;}_78a=this._getSiblingOfChild(_78a,dir);}return null;}});}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],{"class":"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){dojo.addClass(this.domNode,"dijitContainer");dojo.addClass(this.domNode,this["class"]);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_78e){_78e.startup();});if(!this.getParent||!this.getParent()){this.resize();this.connect(dojo.global,"onresize","resize");}this.inherited(arguments);},resize:function(_78f,_790){var node=this.domNode;if(_78f){dojo.marginBox(node,_78f);if(_78f.t){node.style.top=_78f.t+"px";}if(_78f.l){node.style.left=_78f.l+"px";}}var mb=_790||{};dojo.mixin(mb,_78f||{});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(_798){if(_798["class"]){dojo.addClass(_798.domNode,this["class"]+"-"+_798["class"]);}},addChild:function(_799,_79a){this.inherited(arguments);this._setupChild(_799);},removeChild:function(_79b){if(_79b["class"]){dojo.removeClass(_79b.domNode,this["class"]+"-"+_79b["class"]);}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 _7a1=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_7a4,dim){_7a4.resize?_7a4.resize(dim):dojo.marginBox(_7a4.domNode,dim);dojo.mixin(_7a4,dojo.marginBox(_7a4.domNode));dojo.mixin(_7a4,dim);};dijit.layout.layoutChildren=function(_7a6,dim,_7a8){dim=dojo.mixin({},dim);dojo.addClass(_7a6,"dijitLayoutContainer");_7a8=dojo.filter(_7a8,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_7a8,function(item){return item.layoutAlign=="client";}));dojo.forEach(_7a8,function(_7ab){var elm=_7ab.domNode,pos=_7ab.layoutAlign;var _7ae=elm.style;_7ae.left=dim.l+"px";_7ae.top=dim.t+"px";_7ae.bottom=_7ae.right="auto";dojo.addClass(elm,"dijitAlign"+_7a1(pos));if(pos=="top"||pos=="bottom"){size(_7ab,{w:dim.w});dim.h-=_7ab.h;if(pos=="top"){dim.t+=_7ab.h;}else{_7ae.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_7ab,{h:dim.h});dim.w-=_7ab.w;if(pos=="left"){dim.l+=_7ab.w;}else{_7ae.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_7ab,dim);}}}});};})();}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_7af,_7b0,_7b1){_7b1=dojo.i18n.normalizeLocale(_7b1);var _7b2=_7b1.split("-");var _7b3=[_7af,"nls",_7b0].join(".");var _7b4=dojo._loadedModules[_7b3];if(_7b4){var _7b5;for(var i=_7b2.length;i>0;i--){var loc=_7b2.slice(0,i).join("_");if(_7b4[loc]){_7b5=_7b4[loc];break;}}if(!_7b5){_7b5=_7b4.ROOT;}if(_7b5){var _7b8=function(){};_7b8.prototype=_7b5;return new _7b8();}}throw new Error("Bundle not found: "+_7b0+" in "+_7af+" , locale="+_7b1);};dojo.i18n.normalizeLocale=function(_7b9){var _7ba=_7b9?_7b9.toLowerCase():dojo.locale;if(_7ba=="root"){_7ba="ROOT";}return _7ba;};dojo.i18n._requireLocalization=function(_7bb,_7bc,_7bd,_7be){var _7bf=dojo.i18n.normalizeLocale(_7bd);var _7c0=[_7bb,"nls",_7bc].join(".");var _7c1="";if(_7be){var _7c2=_7be.split(",");for(var i=0;i<_7c2.length;i++){if(_7bf["indexOf"](_7c2[i])==0){if(_7c2[i].length>_7c1.length){_7c1=_7c2[i];}}}if(!_7c1){_7c1="ROOT";}}var _7c4=_7be?_7c1:_7bf;var _7c5=dojo._loadedModules[_7c0];var _7c6=null;if(_7c5){if(dojo.config.localizationComplete&&_7c5._built){return;}var _7c7=_7c4.replace(/-/g,"_");var _7c8=_7c0+"."+_7c7;_7c6=dojo._loadedModules[_7c8];}if(!_7c6){_7c5=dojo["provide"](_7c0);var syms=dojo._getModuleSymbols(_7bb);var _7ca=syms.concat("nls").join("/");var _7cb;dojo.i18n._searchLocalePath(_7c4,_7be,function(loc){var _7cd=loc.replace(/-/g,"_");var _7ce=_7c0+"."+_7cd;var _7cf=false;if(!dojo._loadedModules[_7ce]){dojo["provide"](_7ce);var _7d0=[_7ca];if(loc!="ROOT"){_7d0.push(loc);}_7d0.push(_7bc);var _7d1=_7d0.join("/")+".js";_7cf=dojo._loadPath(_7d1,null,function(hash){var _7d3=function(){};_7d3.prototype=_7cb;_7c5[_7cd]=new _7d3();for(var j in hash){_7c5[_7cd][j]=hash[j];}});}else{_7cf=true;}if(_7cf&&_7c5[_7cd]){_7cb=_7c5[_7cd];}else{_7c5[_7cd]=_7cb;}if(_7be){return true;}});}if(_7be&&_7bf!=_7c1){_7c5[_7bf.replace(/-/g,"_")]=_7c5[_7c1.replace(/-/g,"_")];}};(function(){var _7d5=dojo.config.extraLocale;if(_7d5){if(!_7d5 instanceof Array){_7d5=[_7d5];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_7d9,_7da){req(m,b,_7d9,_7da);if(_7d9){return;}for(var i=0;i<_7d5.length;i++){req(m,b,_7d5[i],_7da);}};}})();dojo.i18n._searchLocalePath=function(_7dc,down,_7de){_7dc=dojo.i18n.normalizeLocale(_7dc);var _7df=_7dc.split("-");var _7e0=[];for(var i=_7df.length;i>0;i--){_7e0.push(_7df.slice(0,i).join("-"));}_7e0.push(false);if(down){_7e0.reverse();}for(var j=_7e0.length-1;j>=0;j--){var loc=_7e0[j]||"ROOT";var stop=_7de(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_7e5,_7e6){function preload(_7e7){_7e7=dojo.i18n.normalizeLocale(_7e7);dojo.i18n._searchLocalePath(_7e7,true,function(loc){for(var i=0;i<_7e6.length;i++){if(_7e6[i]==loc){dojo["require"](_7e5+"_"+loc);return true;}}return false;});};preload();var _7ea=dojo.config.extraLocale||[];for(var i=0;i<_7ea.length;i++){preload(_7ea[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,"class":"dijitContentPane",doLayout:"auto",postMixInProperties:function(){this.inherited(arguments);var _7ec=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_7ec);this.errorMessage=dojo.string.substitute(this.errorMessage,_7ec);},postCreate:function(){this.domNode.title="";if(!this.containerNode){this.containerNode=this.domNode;}if(this.preload){this._loadCheck();}var _7ed=dijit.getWaiRole(this.domNode);if(!_7ed){dijit.setWaiRole(this.domNode,"group");}dojo.addClass(this.domNode,this["class"]);},startup:function(){if(this._started){return;}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild){this._singleChild.startup();}}this._loadCheck();this.inherited(arguments);},_checkIfSingleChild:function(){var _7ee=dojo.query(">",this.containerNode),_7ef=_7ee.filter("[widgetId]");if(_7ee.length==1&&_7ef.length==1){this.isContainer=true;this._singleChild=dijit.byNode(_7ef[0]);}else{delete this.isContainer;delete this._singleChild;}},refresh:function(){return this._prepareLoad(true);},setHref:function(href){this.href=href;return this._prepareLoad();},setContent:function(data){if(!this._isDownloaded){this.href="";this._onUnloadHandler();}this._setContent(data||"");this._isDownloaded=false;if(this.parseOnLoad){this._createSubWidgets();}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){this._singleChild.startup();var cb=this._contentBox||dojo.contentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}}this._onLoadHandler();},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;},destroy:function(){if(this._beingDestroyed){return;}this._onUnloadHandler();this._beingDestroyed=true;this.inherited(arguments);},resize:function(size){dojo.marginBox(this.domNode,size);var node=this.containerNode,mb=dojo.mixin(dojo.marginBox(node),size||{});var cb=this._contentBox=dijit.layout.marginBox2contentBox(node,mb);if(this._singleChild&&this._singleChild.resize){this._singleChild.resize({w:cb.w,h:cb.h});}},_prepareLoad:function(_7f7){this.cancel();this.isLoaded=false;this._loadCheck(_7f7);},_isShown:function(){if("open" in this){return this.open;}else{var node=this.domNode;return (node.style.display!="none")&&(node.style.visibility!="hidden");}},_loadCheck:function(_7f9){var _7fa=this._isShown();if(this.href&&(_7f9||(this.preload&&!this._xhrDfd)||(this.refreshOnShow&&_7fa&&!this._xhrDfd)||(!this.isLoaded&&_7fa&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._onUnloadHandler();this._setContent(this.onDownloadStart.call(this));var self=this;var _7fc={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_7fc,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_7fc);hand.addCallback(function(html){try{self.onDownloadEnd.call(self);self._isDownloaded=true;self.setContent.call(self,html);}catch(err){self._onError.call(self,"Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.cancelled){self._onError.call(self,"Download",err);}delete self._xhrDfd;return err;});},_onLoadHandler:function(){this.isLoaded=true;try{this.onLoad.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code");}},_onUnloadHandler:function(){this.isLoaded=false;this.cancel();try{this.onUnload.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code");}},_setContent:function(cont){this.destroyDescendants();try{var node=this.containerNode;while(node.firstChild){dojo._destroyElement(node.firstChild);}if(typeof cont=="string"){if(this.extractContent){var _802=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_802){cont=_802[1];}}node.innerHTML=cont;}else{if(cont.nodeType){node.appendChild(cont);}else{dojo.forEach(cont,function(n){node.appendChild(n.cloneNode(true));});}}}catch(e){var _804=this.onContentError(e);try{node.innerHTML=_804;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}}},_onError:function(type,err,_807){var _808=this["on"+type+"Error"].call(this,err);if(_807){console.error(_807,err);}else{if(_808){this._setContent.call(this,_808);}}},_createSubWidgets:function(){try{dojo.parser.parse(this.containerNode,true);}catch(e){this._onError("Content",e,"Couldn't create widgets in "+this.id+(this.href?" from "+this.href:""));}},onLoad:function(e){},onUnload:function(e){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_80b){},onDownloadError:function(_80c){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.form.Form"]){dojo._hasResource["dijit.form.Form"]=true;dojo.provide("dijit.form.Form");dojo.declare("dijit.form._FormMixin",null,{reset:function(){dojo.forEach(this.getDescendants(),function(_80d){if(_80d.reset){_80d.reset();}});},validate:function(){var _80e=false;return dojo.every(dojo.map(this.getDescendants(),function(_80f){_80f._hasBeenBlurred=true;var _810=_80f.disabled||!_80f.validate||_80f.validate();if(!_810&&!_80e){dijit.scrollIntoView(_80f.containerNode||_80f.domNode);_80f.focus();_80e=true;}return _810;}),"return item;");},setValues:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_813){if(!_813.name){return;}var _814=map[_813.name]||(map[_813.name]=[]);_814.push(_813);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _816=map[name],_817=dojo.getObject(name,false,obj);if(_817===undefined){continue;}if(!dojo.isArray(_817)){_817=[_817];}if(typeof _816[0].checked=="boolean"){dojo.forEach(_816,function(w,i){w.setValue(dojo.indexOf(_817,w.value)!=-1);});}else{if(_816[0]._multiValue){_816[0].setValue(_817);}else{dojo.forEach(_816,function(w,i){w.setValue(_817[i]);});}}}},getValues:function(){var obj={};dojo.forEach(this.getDescendants(),function(_81d){var name=_81d.name;if(!name||_81d.disabled){return;}var _81f=(_81d.getValue&&!_81d._getValueDeprecated)?_81d.getValue():_81d.value;if(typeof _81d.checked=="boolean"){if(/Radio/.test(_81d.declaredClass)){if(_81f!==false){dojo.setObject(name,_81f,obj);}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_81f!==false){ary.push(_81f);}}}else{dojo.setObject(name,_81f,obj);}});return obj;},isValid:function(){return dojo.every(this.getDescendants(),function(_821){return _821.disabled||!_821.isValid||_821.isValid();});},onValidStateChange:function(_822){},_widgetChange:function(){var _823=this.isValid();if(_823!==this._lastValidState){this._lastValidState=_823;this.onValidStateChange(_823);}},connectChildren:function(){dojo.forEach(this._changeConnections,dojo.hitch(this,"disconnect"));var _824=this;this._changeConnections=dojo.map(dojo.filter(this.getDescendants(),function(item){return item.validate;}),function(_826){return _824.connect(_826,"validate","_widgetChange");});this._widgetChange();},startup:function(){this.inherited(arguments);this._changeConnections=[];this.connectChildren();this._lastValidState=this.isValid();}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onreset:_onReset,onsubmit:_onSubmit' name='${name}'></form>",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",encType:"","accept-charset":"",accept:"",target:""}),execute:function(_827){},onExecute:function(){},setAttribute:function(attr,_829){this.inherited(arguments);switch(attr){case "encType":if(dojo.isIE){this.domNode.encoding=_829;}}},postCreate:function(){if(dojo.isIE&&this.srcNodeRef&&this.srcNodeRef.attributes){var item=this.srcNodeRef.attributes.getNamedItem("encType");if(item&&!item.specified&&(typeof item.value=="string")){this.setAttribute("encType",item.value);}}this.inherited(arguments);},onReset:function(e){return true;},_onReset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e.currentTarget,target:e.target};if(!(this.onReset(faux)===false)&&faux.returnValue){this.reset();}dojo.stopEvent(e);return false;},_onSubmit:function(e){var fp=dijit.form.Form.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){dojo.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){dojo.stopEvent(e);}},onSubmit:function(e){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper' id='${id}_wrapper'><div class='dijitDialogUnderlay ${class}' id='${id}' dojoAttachPoint='node'></div></div>",attributeMap:{},postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);},layout:function(){var _831=dijit.getViewport();var is=this.node.style,os=this.domNode.style;os.top=_831.t+"px";os.left=_831.l+"px";is.width=_831.w+"px";is.height=_831.h+"px";var _834=dijit.getViewport();if(_831.w!=_834.w){is.width=_834.w+"px";}if(_831.h!=_834.h){is.height=_834.h+"px";}},show:function(){this.domNode.style.display="block";this.layout();if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="block";}},hide:function(){this.domNode.style.display="none";if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="none";}},uninitialize:function(){if(this.bgIframe){this.bgIframe.destroy();}}});dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_835){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.getValues());},_getFocusItems:function(_836){var _837=dijit.getFirstInTabbingOrder(_836);this._firstFocusItem=_837?_837:_836;_837=dijit.getLastInTabbingOrder(_836);this._lastFocusItem=_837?_837:this._firstFocusItem;if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.attr(this._firstFocusItem,"type").toLowerCase()=="file"){dojo.attr(_836,"tabindex","0");this._firstFocusItem=_836;}}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{templateString:null,templateString:"<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\">${title}</span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel\" title=\"${buttonCancel}\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n",open:false,duration:dijit.defaultDuration,refocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{title:"titleBar"}),postMixInProperties:function(){var _838=dojo.i18n.getLocalization("dijit","common");dojo.mixin(this,_838);},postCreate:function(){var s=this.domNode.style;s.visibility="hidden";s.position="absolute";s.display="";s.top="-9999px";dojo.body().appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();this.inherited(arguments);},_endDrag:function(e){if(e&&e.node&&e.node===this.domNode){var vp=dijit.getViewport();var p=e._leftTop||dojo.coords(e.node,true);this._relativePosition={t:p.t-vp.t,l:p.l-vp.l};}},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new dojo.dnd.TimedMoveable(node,{handle:this.titleBar,timeout:0});dojo.subscribe("/dnd/move/stop",this,"_endDrag");}else{dojo.addClass(node,"dijitDialogFixed");}this._underlay=new dijit.DialogUnderlay({id:this.id+"_underlay","class":dojo.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")});var _83f=this._underlay;this._fadeIn=dojo.fadeIn({node:node,duration:this.duration,onBegin:dojo.hitch(_83f,"show")});this._fadeOut=dojo.fadeOut({node:node,duration:this.duration,onEnd:function(){node.style.visibility="hidden";node.style.top="-9999px";_83f.hide();}});},uninitialize:function(){if(this._fadeIn&&this._fadeIn.status()=="playing"){this._fadeIn.stop();}if(this._fadeOut&&this._fadeOut.status()=="playing"){this._fadeOut.stop();}if(this._underlay){this._underlay.destroy();}if(this._moveable){this._moveable.destroy();}},_position:function(){if(!dojo.hasClass(dojo.body(),"dojoMove")){var node=this.domNode;var _841=dijit.getViewport();var p=this._relativePosition;var mb=p?null:dojo.marginBox(node);dojo.style(node,{left:Math.floor(_841.l+(p?p.l:(_841.w-mb.w)/2))+"px",top:Math.floor(_841.t+(p?p.t:(_841.h-mb.h)/2))+"px"});}},_onKey:function(evt){if(evt.charOrCode){var dk=dojo.keys;var node=evt.target;if(evt.charOrCode==dk.TAB){this._getFocusItems(this.domNode);}var _847=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode==dk.TAB){if(!_847){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode==dk.TAB&&!evt.shiftKey){if(!_847){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode){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,"layout"));this._modalconnects.push(dojo.connect(dojo.doc.documentElement,"onkeypress",this,"_onKey"));dojo.style(this.domNode,{opacity:0,visibility:""});this.open=true;this._loadCheck();this._position();this._fadeIn.play();this._savedFocus=dijit.getFocus(this);this._getFocusItems(this.domNode);setTimeout(dojo.hitch(dijit,"focus",this._firstFocusItem),50);},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeIn.status()=="playing"){this._fadeIn.stop();}this._fadeOut.play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];if(this.refocus){this.connect(this._fadeOut,"onEnd",dojo.hitch(dijit,"focus",this._savedFocus));}if(this._relativePosition){delete this._relativePosition;}this.open=false;},layout:function(){if(this.domNode.style.visibility!="hidden"){this._underlay.layout();this._position();}},destroy:function(){dojo.forEach(this._modalconnects,dojo.disconnect);if(this.refocus&&this.open){setTimeout(dojo.hitch(dijit,"focus",this._savedFocus),25);}this.inherited(arguments);}});dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,"class":"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:null,templateString:"<div waiRole=\"presentation\">\n\t<div class=\"dijitTooltipContainer\" waiRole=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"-1\" waiRole=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" waiRole=\"presenation\"></div>\n</div>\n",postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");this.containerNode.title=this.title;},orient:function(node,_849,_84a){this.domNode.className=this["class"]+" dijitTooltipAB"+(_84a.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_84a.charAt(0)=="T"?"Below":"Above");},onOpen:function(pos){this._getFocusItems(this.containerNode);this.orient(this.domNode,pos.aroundCorner,pos.corner);this._loadCheck();dijit.focus(this._firstFocusItem);},_onKey:function(evt){var node=evt.target;var dk=dojo.keys;if(evt.charOrCode==dk.TAB){this._getFocusItems(this.containerNode);}var _84f=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==dk.ESCAPE){this.onCancel();}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode==dk.TAB){if(!_84f){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode==dk.TAB&&!evt.shiftKey){if(!_84f){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.charOrCode==dk.TAB){evt.stopPropagation();}}}}}});}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);var _852=args.method||"chain";if(!args.duration){args.duration=500;}if(_852=="chain"){args.duration=Math.floor(args.duration/2);}var top,_854,left,_856,_857,_858=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);_857=parseInt(cs.width);_858=parseInt(cs.height);_856=left-Math.floor((args.width-_857)/2);_854=top-Math.floor((args.height-_858)/2);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 _85e=dojo.animateProperty(dojo.mixin({properties:{height:{start:_858,end:args.height||0,unit:"px"},top:{start:top,end:_854}}},args));var _85f=dojo.animateProperty(dojo.mixin({properties:{width:{start:_857,end:args.width||0,unit:"px"},left:{start:left,end:_856}}},args));var anim=dojo.fx[(args.method=="combine"?"combine":"chain")]([_85e,_85f]);dojo.connect(anim,"beforeBegin",anim,init);return anim;};dojox.fx.slideBy=function(args){var node=args.node=dojo.byId(args.node);var top=null;var left=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var _86a=dojo.animateProperty(dojo.mixin({properties:{top:top+(args.top||0),left:left+(args.left||0)}},args));dojo.connect(_86a,"beforeBegin",_86a,init);return _86a;};dojox.fx.crossFade=function(args){if(dojo.isArray(args.nodes)){var _86c=args.nodes[0]=dojo.byId(args.nodes[0]);var op1=dojo.style(_86c,"opacity");var _86e=args.nodes[1]=dojo.byId(args.nodes[1]);var op2=dojo.style(_86e,"opacity");var _870=dojo.fx.combine([dojo[(op1==0?"fadeIn":"fadeOut")](dojo.mixin({node:_86c},args)),dojo[(op1==0?"fadeOut":"fadeIn")](dojo.mixin({node:_86e},args))]);return _870;}else{return false;}};dojox.fx.highlight=function(args){var node=args.node=dojo.byId(args.node);args.duration=args.duration||400;var _873=args.color||"#ffff99";var _874=dojo.style(node,"backgroundColor");var _875=(_874=="transparent"||_874=="rgba(0, 0, 0, 0)")?_874:false;var anim=dojo.animateProperty(dojo.mixin({properties:{backgroundColor:{start:_873,end:_874}}},args));if(_875){dojo.connect(anim,"onEnd",anim,function(){node.style.backgroundColor=_875;});}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");var _87b=args[dir];var _87c={};_87c[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:_87b,unit:"px"};var anim=dojo.animateProperty(dojo.mixin({properties:_87c},args));return anim;};}if(!dojo._hasResource["hadi.Lightbox"]){dojo._hasResource["hadi.Lightbox"]=true;dojo.provide("hadi.Lightbox");dojo.experimental("hadi.Lightbox");dojo.declare("hadi.Lightbox",dijit._Widget,{group:"",title:"",href:"",duration:500,_allowPassthru:false,_attachedDialog:null,startup:function(){this.inherited(arguments);var tmp=dijit.byId("dojoxLightboxDialog");if(tmp){this._attachedDialog=tmp;}else{this._attachedDialog=new hadi.LightboxDialog({id:"dojoxLightboxDialog"});this._attachedDialog.startup();}if(!this.store){this._addSelf();this.connect(this.domNode,"onclick","_handleClick");}},_addSelf:function(){this._attachedDialog.addImage({href:this.href,title:this.title},this.group||null);},_handleClick:function(e){if(!this._allowPassthru){e.preventDefault();}else{return;}this.show();},show:function(){this._attachedDialog.show(this);},disable:function(){this._allowPassthru=true;},enable:function(){this._allowPassthru=false;}});dojo.declare("hadi.LightboxDialog",dijit.Dialog,{title:"",inGroup:null,imgUrl:"",errorMessage:"Image not found.",adjust:true,_groups:{XnoGroupX:[]},errorImg:dojo.moduleUrl("dojox.image","resources/images/warning.png"),templateString:"<div class=\"dojoxLightbox\" dojoAttachPoint=\"containerNode\">\n\t<div style=\"position:relative\">\n\t\t<div dojoAttachPoint=\"imageContainer\" class=\"dojoxLightboxContainer\"> <img dojoAttachPoint=\"imgNode\" src=\"${imgUrl}\" class=\"dojoxLightboxImage\" alt=\"${title}\">\n\t\t\t<div class=\"dojoxLightboxFooter\" dojoAttachPoint=\"titleNode\">\n\t\t\t\t<div class=\"dijitInline LightboxClose\" dojoAttachPoint=\"closeNode\"></div>\n\t\t\t\t<div class=\"dojoxLightboxText\">\n\t\t\t\t\t<span dojoAttachPoint=\"textNode\">${title}</span><br />\n\t\t\t\t\t<span dojoAttachPoint=\"groupCount\" class=\"dojoxLightboxGroupText\"></span>\n\t\t\t\t\t\n\t\t\t\t\t<span class=\"LightboxPrev LightboxLinkEnabled\" dojoAttachPoint=\"prevNode\">&lt; prev</span>\n\t\t\t\t\t<span class=\"LightboxPrev LightboxLinkDisabled\" dojoAttachPoint=\"prevNodeDisabled\">&lt; prev</span>\n\t\t\t\t\t/\n\t\t\t\t\t<span class=\"LightboxNext LightboxLinkDisabled\" dojoAttachPoint=\"nextNodeDisabled\">next &gt;</span>\n\t\t\t\t\t<span class=\"LightboxNext LightboxLinkEnabled\" dojoAttachPoint=\"nextNode\">next &gt;</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",startup:function(){this.inherited(arguments);this._animConnects=[];this._clone=dojo.clone(this.imgNode);this.connect(document.documentElement,"onkeypress","_handleKey");this.connect(window,"onresize","_position");this.connect(this.imgNode,"onclick","_nextImage");this.connect(this.nextNode,"onclick","_nextImage");this.connect(this.prevNode,"onclick","_prevImage");this.connect(this.closeNode,"onclick","hide");this._makeAnims();this._vp=dijit.getViewport();return this;},show:function(_881){var _t=this;if(!_t.open){_t.inherited(arguments);}if(this._wasStyled){dojo._destroyElement(_t.imgNode);_t.imgNode=dojo.clone(_t._clone);_t.connect(_t.imgNode,"onclick","_nextImage");dojo.place(_t.imgNode,_t.imageContainer,"first");_t._makeAnims();_t._wasStyled=false;}dojo.style(_t.imgNode,"opacity","0");dojo.style(_t.titleNode,"opacity","0");_t._imageReady=false;_t.imgNode.src=_881.href;if((_881.group&&_881!=="XnoGroupX")||_t.inGroup){if(!_t.inGroup){_t.inGroup=_t._groups[(_881.group)];dojo.forEach(_t.inGroup,function(g,i){if(g.href==_881.href){_t._positionIndex=i;}},_t);}if(!_t._positionIndex){_t._positionIndex=0;_t.imgNode.src=_t.inGroup[_t._positionIndex].href;}_t.groupCount.innerHTML=(_t._positionIndex+1)+" / "+_t.inGroup.length;var _885=_t._positionIndex<=0;var _886=_t._positionIndex+1>=_t.inGroup.length;}else{_t.groupCount.innerHTML="";_t.prevNode.style.visibility="hidden";_t.nextNode.style.visibility="hidden";}_t.textNode.innerHTML=_881.title;if(!_t._imageReady||_t.imgNode.complete===true){_t._imgConnect=dojo.connect(_t.imgNode,"onload",_t,function(){_t._imageReady=true;_t.resizeTo({w:_t.imgNode.width,h:_t.imgNode.height,duration:_t.duration});dojo.disconnect(_t._imgConnect);if(_t._imgError){dojo.disconnect(_t._imgError);}});_t._imgError=dojo.connect(_t.imgNode,"onerror",_t,function(){dojo.disconnect(_t._imgError);_t.imgNode.src=_t.errorImg;_t._imageReady=true;_t.textNode.innerHTML=_t.errorMessage;});if(dojo.isIE){_t.imgNode.src=_t.imgNode.src;}}else{_t.resizeTo({w:_t.imgNode.width,h:_t.imgNode.height,duration:1});}},_nextImage:function(){if(!this.inGroup){return;}if(this._positionIndex+1<this.inGroup.length){this._positionIndex++;}else{this._positionIndex=0;}this._loadImage();},_prevImage:function(){if(this.inGroup){if(this._positionIndex==0){this._positionIndex=this.inGroup.length-1;}else{this._positionIndex--;}this._loadImage();}},_loadImage:function(){this._loadingAnim.play(1);},_prepNodes:function(){this._imageReady=false;this.show({href:this.inGroup[this._positionIndex].href,title:this.inGroup[this._positionIndex].title});},resizeTo:function(size){var _888=((dojo.boxModel=="border-box"))?22:0;if(this.adjust&&(size.h+_888+80>this._vp.h||size.w+_888+50>this._vp.w)){size=this._scaleToFit(size);}var _889=dojox.fx.sizeTo({node:this.containerNode,duration:size.duration||this.duration,width:size.w+_888,height:size.h+30+_888});this.connect(_889,"onEnd","_showImage");_889.play(15);},_showImage:function(){this._showImageAnim.play(1);},_showNav:function(){this._showNavAnim.play(1);},hide:function(){dojo.fadeOut({node:this.titleNode,duration:200,onEnd:dojo.hitch(this,function(){this.imgNode.src=this._blankGif;})}).play(5);this.inherited(arguments);this.inGroup=null;this._positionIndex=null;},addImage:function(_88a,_88b){var g=_88b;if(!_88a.href){return;}if(g){if(!this._groups[g]){this._groups[g]=[];}this._groups[g].push(_88a);}else{this._groups["XnoGroupX"].push(_88a);}},_handleKey:function(e){if(!this.open){return;}var dk=dojo.keys;var key=(e.charCode==dk.SPACE?dk.SPACE:e.keyCode);switch(key){case dk.ESCAPE:this.hide();break;case dk.DOWN_ARROW:case dk.RIGHT_ARROW:case 78:this._nextImage();break;case dk.UP_ARROW:case dk.LEFT_ARROW:case 80:this._prevImage();break;}},_scaleToFit:function(size){var ns={};if(this._vp.h>this._vp.w){ns.w=this._vp.w-70;ns.h=ns.w*(size.h/size.w);}else{ns.h=this._vp.h-80;ns.w=ns.h*(size.w/size.h);}this._wasStyled=true;var s=this.imgNode.style;s.height=ns.h+"px";s.width=ns.w+"px";ns.duration=size.duration;return ns;},_position:function(e){this.inherited(arguments);this._vp=dijit.getViewport();},_makeAnims:function(){dojo.forEach(this._animConnects,dojo.disconnect);this._animConnects=[];this._showImageAnim=dojo.fadeIn({node:this.imgNode,duration:this.duration});this._animConnects.push(dojo.connect(this._showImageAnim,"onEnd",this,"_showNav"));this._loadingAnim=dojo.fx.combine([dojo.fadeOut({node:this.imgNode,duration:175}),dojo.fadeOut({node:this.titleNode,duration:175})]);this._animConnects.push(dojo.connect(this._loadingAnim,"onEnd",this,"_prepNodes"));this._showNavAnim=dojo.fadeIn({node:this.titleNode,duration:225});}});}dojo.i18n._preloadLocalizations("dojo.nls.dojo",["he","nl","tr","no","ko","el","en","en-gb","ROOT","zh-cn","hu","es","fi-fi","pt-br","fi","he-il","xx","ru","it","fr","cs","de-de","fr-fr","it-it","es-es","ja","da","pl","de","sv","pt","zh-tw","pt-pt","nl-nl","ko-kr","ar","en-us","zh","ja-jp"]);if(dojo.config.afterOnLoad&&dojo.isBrowser){window.setTimeout(dojo._fakeLoadInit,1000);}})();
