/*
	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

(function(){var ha=null;if((ha||typeof djConfig!="undefined"&&djConfig.scopeMap)&&typeof window!="undefined"){var qa="",na="",oa="",ra={},sa={};ha=ha||djConfig.scopeMap;for(var ia=0;ia<ha.length;ia++){var da=ha[ia];qa+="var "+da[0]+" = {}; "+da[1]+" = "+da[0]+";"+da[1]+"._scopeName = '"+da[1]+"';";na+=(ia==0?"":",")+da[0];oa+=(ia==0?"":",")+da[1];ra[da[0]]=da[1];sa[da[1]]=da[0]}eval(qa+"dojo._scopeArgs = ["+oa+"];");dojo._scopePrefixArgs=na;dojo._scopePrefix="(function("+na+"){";dojo._scopeSuffix=
"})("+oa+")";dojo._scopeMap=ra;dojo._scopeMapRev=sa}(function(){if(typeof this.loadFirebugConsole=="function")this.loadFirebugConsole();else{this.console=this.console||{};for(var a=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"],e=0,n;n=a[e++];)console[n]||function(){var c=n+"";console[c]="log"in console?function(){var i=Array.apply({},arguments);i.unshift(c+":");console.log(i.join(" "))}:function(){};console[c]._fake=
true}()}if(typeof dojo=="undefined")dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};var q=dojo;if(typeof dijit=="undefined")dijit={_scopeName:"dijit"};if(typeof dojox=="undefined")dojox={_scopeName:"dojox"};if(!q._scopeArgs)q._scopeArgs=[dojo,dijit,dojox];q.global=this;q.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined")for(var h in djConfig)q.config[h]=djConfig[h];dojo.locale=q.config.locale;a="$Rev: 22487 $".match(/\d+/);
dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:a?+a[0]:NaN,toString:function(){with(q.version)return major+"."+minor+"."+patch+flag+" ("+revision+")"}};typeof OpenAjax!="undefined"&&OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",q.version.toString());var o,p,b={};for(e in{toString:1}){o=[];break}dojo._extraNames=o=o||["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"];p=o.length;dojo._mixin=function(c,i){var r,
s,y;for(r in i){s=i[r];if(!(r in c)||c[r]!==s&&(!(r in b)||b[r]!==s))c[r]=s}if(p&&i)for(y=0;y<p;++y){r=o[y];s=i[r];if(!(r in c)||c[r]!==s&&(!(r in b)||b[r]!==s))c[r]=s}return c};dojo.mixin=function(c){c||(c={});for(var i=1,r=arguments.length;i<r;i++)q._mixin(c,arguments[i]);return c};dojo._getProp=function(c,i,r){r=r||q.global;for(var s=0,y;r&&(y=c[s]);s++){if(s==0&&q._scopeMap[y])y=q._scopeMap[y];r=y in r?r[y]:i?(r[y]={}):undefined}return r};dojo.setObject=function(c,i,r){var s=c.split(".");c=s.pop();
return(r=q._getProp(s,true,r))&&c?(r[c]=i):undefined};dojo.getObject=function(c,i,r){return q._getProp(c.split("."),i,r)};dojo.exists=function(c,i){return!!q.getObject(c,false,i)};dojo.eval=function(c){return q.global.eval?q.global.eval(c):eval(c)};q.deprecated=q.experimental=function(){}})();(function(){var a=dojo;a.mixin(a,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(h){var o=
a._modulePrefixes;return!!(o[h]&&o[h].value)},_getModulePrefix:function(h){var o=a._modulePrefixes;if(a._moduleHasPrefix(h))return o[h].value;return h},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadPath=function(h,o,p){h=(h.charAt(0)=="/"||h.match(/^\w+:/)?"":a.baseUrl)+h;try{return!o?a._loadUri(h,p):a._loadUriAndCheck(h,o,p)}catch(b){console.error(b);return false}};dojo._loadUri=function(h,o){if(a._loadedUrls[h])return true;a._inFlightCount++;var p=a._getText(h,
true);if(p){a._loadedUrls[h]=true;a._loadedUrls.push(h);p=o?"("+p+")":a._scopePrefix+p+a._scopeSuffix;a.isIE||(p+="\r\n//@ sourceURL="+h);h=a.eval(p);o&&o(h)}--a._inFlightCount==0&&a._postLoad&&a._loaders.length&&setTimeout(function(){a._inFlightCount==0&&a._callLoaded()},0);return!!p};dojo._loadUriAndCheck=function(h,o,p){var b=false;try{b=a._loadUri(h,p)}catch(c){console.error("failed loading "+h+" with error: "+c)}return!!(b&&a._loadedModules[o])};dojo.loaded=function(){a._loadNotifying=true;a._postLoad=
true;var h=a._loaders;a._loaders=[];for(var o=0;o<h.length;o++)h[o]();a._loadNotifying=false;a._postLoad&&a._inFlightCount==0&&h.length&&a._callLoaded()};dojo.unloaded=function(){for(var h=a._unloaders;h.length;)h.pop()()};a._onto=function(h,o,p){if(p){if(p){var b=typeof p=="string"?o[p]:p;h.push(function(){b.call(o)})}}else h.push(o)};dojo.ready=dojo.addOnLoad=function(h,o){a._onto(a._loaders,h,o);a._postLoad&&a._inFlightCount==0&&!a._loadNotifying&&a._callLoaded()};var e=a.config.addOnLoad;if(e)a.addOnLoad[e instanceof
Array?"apply":"call"](a,e);dojo._modulesLoaded=function(){a._postLoad||(a._inFlightCount>0?console.warn("files still in flight!"):a._callLoaded())};dojo._callLoaded=function(){typeof setTimeout=="object"||a.config.useXDomain&&a.isOpera?setTimeout(a.isAIR?function(){a.loaded()}:a._scopeName+".loaded();",0):a.loaded()};dojo._getModuleSymbols=function(h){h=h.split(".");for(var o=h.length;o>0;o--){var p=h.slice(0,o).join(".");if(o==1&&!a._moduleHasPrefix(p))h[0]="../"+h[0];else{var b=a._getModulePrefix(p);
if(b!=p){h.splice(0,o,b);break}}}return h};dojo._global_omit_module_check=false;dojo.loadInit=function(h){h()};dojo._loadModule=dojo.require=function(h,o){o=a._global_omit_module_check||o;var p=a._loadedModules[h];if(p)return p;var b=a._getModuleSymbols(h).join("/")+".js";if(!a._loadPath(b,!o?h:null)&&!o)throw new Error("Could not load '"+h+"'; last tried '"+b+"'");if(!o&&!a._isXDomain){p=a._loadedModules[h];if(!p)throw new Error("symbol '"+h+"' is not defined after loading '"+b+"'");}return p};dojo.provide=
function(h){h+="";return a._loadedModules[h]=a.getObject(h,true)};dojo.platformRequire=function(h){h=(h.common||[]).concat(h[a._name]||h["default"]||[]);for(var o=0;o<h.length;o++){var p=h[o];p.constructor==Array?a._loadModule.apply(a,p):a._loadModule(p)}};dojo.requireIf=function(h){if(h===true){for(var o=[],p=1;p<arguments.length;p++)o.push(arguments[p]);a.require.apply(a,o)}};dojo.requireAfterIf=a.requireIf;dojo.registerModulePath=function(h,o){a._modulePrefixes[h]={name:h,value:o}};dojo.requireLocalization=
function(){a.require("dojo.i18n");a.i18n._requireLocalization.apply(a.hostenv,arguments)};var n=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,q=/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/;dojo._Url=function(){for(var h=arguments,o=[h[0]],p=1;p<h.length;p++)if(h[p]){var b=new a._Url(h[p]+"");o=new a._Url(o[0]+"");if(b.path==""&&!b.scheme&&!b.authority&&!b.query){if(b.fragment!=null)o.fragment=b.fragment;b=o}else if(!b.scheme){b.scheme=o.scheme;if(!b.authority){b.authority=
o.authority;if(b.path.charAt(0)!="/"){o=(o.path.substring(0,o.path.lastIndexOf("/")+1)+b.path).split("/");for(var c=0;c<o.length;c++)if(o[c]==".")if(c==o.length-1)o[c]="";else{o.splice(c,1);c--}else if(c>0&&!(c==1&&o[0]=="")&&o[c]==".."&&o[c-1]!="..")if(c==o.length-1){o.splice(c,1);o[c-1]=""}else{o.splice(c-1,2);c-=2}b.path=o.join("/")}}}o=[];b.scheme&&o.push(b.scheme,":");b.authority&&o.push("//",b.authority);o.push(b.path);b.query&&o.push("?",b.query);b.fragment&&o.push("#",b.fragment)}this.uri=
o.join("");p=this.uri.match(n);this.scheme=p[2]||(p[1]?"":null);this.authority=p[4]||(p[3]?"":null);this.path=p[5];this.query=p[7]||(p[6]?"":null);this.fragment=p[9]||(p[8]?"":null);if(this.authority!=null){p=this.authority.match(q);this.user=p[3]||null;this.password=p[4]||null;this.host=p[6]||p[7];this.port=p[9]||null}};dojo._Url.prototype.toString=function(){return this.uri};dojo.moduleUrl=function(h,o){h=a._getModuleSymbols(h).join("/");if(!h)return null;if(h.lastIndexOf("/")!=h.length-1)h+="/";
var p=h.indexOf(":");if(h.charAt(0)!="/"&&(p==-1||p>h.indexOf("/")))h=a.baseUrl+h;return new a._Url(h,o)}})();if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var a=dojo;if(document&&document.getElementsByTagName)for(var e=document.getElementsByTagName("script"),n=/dojo(\.xd)?\.js(\W|$)/i,q=0;q<e.length;q++){var h=e[q].getAttribute("src");if(h){var o=h.match(n);if(o){if(!a.config.baseUrl)a.config.baseUrl=h.substring(0,o.index);if(e=e[q].getAttribute("djConfig")){e=
eval("({ "+e+" })");for(var p in e)dojo.config[p]=e[p]}break}}}a.baseUrl=a.config.baseUrl;p=navigator;e=p.userAgent;n=p.appVersion;q=parseFloat(n);if(e.indexOf("Opera")>=0)a.isOpera=q;if(e.indexOf("AdobeAIR")>=0)a.isAIR=1;a.isKhtml=n.indexOf("Konqueror")>=0?q:0;a.isWebKit=parseFloat(e.split("WebKit/")[1])||undefined;a.isChrome=parseFloat(e.split("Chrome/")[1])||undefined;a.isMac=n.indexOf("Macintosh")>=0;if((h=Math.max(n.indexOf("WebKit"),n.indexOf("Safari"),0))&&!dojo.isChrome){a.isSafari=parseFloat(n.split("Version/")[1]);
if(!a.isSafari||parseFloat(n.substr(h+7))<=419.3)a.isSafari=2}if(e.indexOf("Gecko")>=0&&!a.isKhtml&&!a.isWebKit)a.isMozilla=a.isMoz=q;if(a.isMoz)a.isFF=parseFloat(e.split("Firefox/")[1]||e.split("Minefield/")[1])||undefined;if(document.all&&!a.isOpera){a.isIE=parseFloat(n.split("MSIE ")[1])||undefined;if((e=document.documentMode)&&e!=5&&Math.floor(a.isIE)!=e)a.isIE=e}if(dojo.isIE&&window.location.protocol==="file:")dojo.config.ieForceActiveXXhr=true;a.isQuirks=document.compatMode=="BackCompat";a.locale=
dojo.config.locale||(a.isIE?p.userLanguage:p.language).toLowerCase();a._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];a._xhrObj=function(){var j,t;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr)try{j=new XMLHttpRequest}catch(F){}if(!j)for(var k=0;k<3;++k){var u=a._XMLHTTP_PROGIDS[k];try{j=new ActiveXObject(u)}catch(I){t=I}if(j){a._XMLHTTP_PROGIDS=[u];break}}if(!j)throw new Error("XMLHTTP not available: "+t);return j};a._isDocumentOk=function(j){j=j.status||0;var t=location.protocol;
return j>=200&&j<300||j==304||j==1223||!j&&(t=="file:"||t=="chrome:"||t=="chrome-extension:"||t=="app:")};var b=window.location+"";var c=(p=document.getElementsByTagName("base"))&&p.length>0;a._getText=function(j,t){var F=a._xhrObj();if(!c&&dojo._Url)j=(new dojo._Url(b,j)).toString();if(a.config.cacheBust){j+="";j+=(j.indexOf("?")==-1?"?":"&")+String(a.config.cacheBust).replace(/\W+/g,"")}F.open("GET",j,false);try{F.send(null);if(!a._isDocumentOk(F)){var k=Error("Unable to load "+j+" status:"+F.status);
k.status=F.status;k.responseText=F.responseText;throw k;}}catch(u){if(t)return null;throw u;}return F.responseText};var i=window,r=function(j,t){var F=i.attachEvent||i.addEventListener;j=i.attachEvent?j:j.substring(2);F(j,function(){t.apply(i,arguments)},false)};a._windowUnloaders=[];a.windowUnloaded=function(){for(var j=a._windowUnloaders;j.length;)j.pop()();a=null};var s=0;a.addOnWindowUnload=function(j,t){a._onto(a._windowUnloaders,j,t);if(!s){s=1;r("onunload",a.windowUnloaded)}};var y=0;a.addOnUnload=
function(j,t){a._onto(a._unloaders,j,t);if(!y){y=1;r("onbeforeunload",dojo.unloaded)}}})();dojo._initFired=false;dojo._loadInit=function(){if(dojo._scrollIntervalId){clearInterval(dojo._scrollIntervalId);dojo._scrollIntervalId=0}if(!dojo._initFired){dojo._initFired=true;!dojo.config.afterOnLoad&&window.detachEvent&&window.detachEvent("onload",dojo._loadInit);dojo._inFlightCount==0&&dojo._modulesLoaded()}};if(!dojo.config.afterOnLoad)if(document.addEventListener){document.addEventListener("DOMContentLoaded",
dojo._loadInit,false);window.addEventListener("load",dojo._loadInit,false)}else if(window.attachEvent){window.attachEvent("onload",dojo._loadInit);if(!dojo.config.skipIeDomLoaded&&self===self.top)dojo._scrollIntervalId=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");dojo._loadInit()}}catch(a){}},30)}if(dojo.isIE)try{(function(){document.namespaces.add("v","urn:schemas-microsoft-com:vml");var a=["*","group","roundrect","oval","shape","rect","imagedata","path",
"textpath","text"],e=0,n=1,q=document.createStyleSheet();if(dojo.isIE>=8){e=1;n=a.length}for(;e<n;++e)q.addRule("v\\:"+a[e],"behavior:url(#default#VML); display:inline-block")})()}catch(Ba){}}(function(){var a=dojo.config.modulePaths;if(a)for(var e in a)dojo.registerModulePath(e,a[e])})();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");
dojo.require("dojo.i18n")}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");(function(){var a=dojo,e=Object.prototype.toString;dojo.isString=function(c){return typeof c=="string"||c instanceof String};dojo.isArray=function(c){return c&&(c instanceof Array||typeof c=="array")};dojo.isFunction=function(c){return e.call(c)==="[object Function]"};dojo.isObject=function(c){return c!==undefined&&(c===null||typeof c=="object"||a.isArray(c)||
a.isFunction(c))};dojo.isArrayLike=function(c){return c&&c!==undefined&&!a.isString(c)&&!a.isFunction(c)&&!(c.tagName&&c.tagName.toLowerCase()=="form")&&(a.isArray(c)||isFinite(c.length))};dojo.isAlien=function(c){return c&&!a.isFunction(c)&&/\{\s*\[native code\]\s*\}/.test(String(c))};dojo.extend=function(c){for(var i=1,r=arguments.length;i<r;i++)a._mixin(c.prototype,arguments[i]);return c};dojo._hitchArgs=function(c,i){var r=a._toArray(arguments,2),s=a.isString(i);return function(){var y=a._toArray(arguments),
j=s?(c||a.global)[i]:i;return j&&j.apply(c||this,r.concat(y))}};dojo.hitch=function(c,i){if(arguments.length>2)return a._hitchArgs.apply(a,arguments);if(!i){i=c;c=null}if(a.isString(i)){c=c||a.global;if(!c[i])throw['dojo.hitch: scope["',i,'"] is null (scope="',c,'")'].join("");return function(){return c[i].apply(c,arguments||[])}}return!c?i:function(){return i.apply(c,arguments||[])}};dojo.delegate=dojo._delegate=function(){function c(){}return function(i,r){c.prototype=i;i=new c;c.prototype=null;
r&&a._mixin(i,r);return i}}();var n=function(c,i,r){return(r||[]).concat(Array.prototype.slice.call(c,i||0))},q=function(c,i,r){r=r||[];for(i=i||0;i<c.length;i++)r.push(c[i]);return r};dojo._toArray=a.isIE?function(c){return(c.item?q:n).apply(this,arguments)}:n;dojo.partial=function(){return a.hitch.apply(a,[null].concat(a._toArray(arguments)))};var h=a._extraNames,o=h.length,p={};dojo.clone=function(c){if(!c||typeof c!="object"||a.isFunction(c))return c;if(c.nodeType&&"cloneNode"in c)return c.cloneNode(true);
if(c instanceof Date)return new Date(c.getTime());var i,r,s,y;if(a.isArray(c)){i=[];r=0;for(s=c.length;r<s;++r)r in c&&i.push(a.clone(c[r]))}else i=c.constructor?new c.constructor:{};for(y in c){s=c[y];if(!(y in i)||i[y]!==s&&(!(y in p)||p[y]!==s))i[y]=a.clone(s)}if(o)for(r=0;r<o;++r){y=h[r];s=c[y];if(!(y in i)||i[y]!==s&&(!(y in p)||p[y]!==s))i[y]=s}return i};dojo.trim=String.prototype.trim?function(c){return c.trim()}:function(c){return c.replace(/^\s\s*/,"").replace(/\s\s*$/,"")};var b=/\{([^\}]+)\}/g;
dojo.replace=function(c,i,r){return c.replace(r||b,a.isFunction(i)?i:function(s,y){return a.getObject(y,false,i)})}})()}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var a=function(n,q,h){return[typeof n=="string"?n.split(""):n,q||dojo.global,typeof h=="string"?new Function("item","index","array",h):h]},e=function(n,q,h,o){var p=a(q,o,h);q=p[0];h=0;for(o=q.length;h<o;++h){var b=!!p[2].call(p[1],q[h],h,q);if(n^b)return b}return n};
dojo.mixin(dojo,{indexOf:function(n,q,h,o){var p=1,b=n.length||0,c=0;if(o){c=b-1;p=b=-1}if(h!=undefined)c=h;if(o&&c>b||c<b)for(;c!=b;c+=p)if(n[c]==q)return c;return-1},lastIndexOf:function(n,q,h){return dojo.indexOf(n,q,h,true)},forEach:function(n,q,h){if(n&&n.length){var o=a(n,h,q);n=o[0];q=0;for(h=n.length;q<h;++q)o[2].call(o[1],n[q],q,n)}},every:function(n,q,h){return e(true,n,q,h)},some:function(n,q,h){return e(false,n,q,h)},map:function(n,q,h,o){var p=a(n,h,q);n=p[0];q=o?new o:[];h=0;for(o=n.length;h<
o;++h)q.push(p[2].call(p[1],n[h],h,n));return q},filter:function(n,q,h){var o=a(n,h,q);n=o[0];q=[];h=0;for(var p=n.length;h<p;++h)o[2].call(o[1],n[h],h,n)&&q.push(n[h]);return q}})})()}if(!dojo._hasResource["dojo._base.declare"]){dojo._hasResource["dojo._base.declare"]=true;dojo.provide("dojo._base.declare");(function(){function a(A){throw new Error("declare: "+A);}function e(A){for(var C=[],v=[{cls:0,refs:[]}],B={},E=1,K=A.length,J=0,N,P,M,T,$;J<K;++J){if(N=A[J])u.call(N)!="[object Function]"&&a("mixin #"+
J+" is not a callable constructor.");else a("mixin #"+J+" is unknown. Did you use dojo.require to pull it in?");P=N._meta?N._meta.bases:[N];M=0;for(N=P.length-1;N>=0;--N){T=P[N].prototype;if(!T.hasOwnProperty("declaredClass"))T.declaredClass="uniqName_"+G++;T=T.declaredClass;if(!B.hasOwnProperty(T)){B[T]={count:0,refs:[],cls:P[N]};++E}T=B[T];if(M&&M!==T){T.refs.push(M);++M.count}M=T}++M.count;v[0].refs.push(M)}for(;v.length;){M=v.pop();C.push(M.cls);for(--E;$=M.refs,$.length==1;){M=$[0];if(!M||--M.count){M=
0;break}C.push(M.cls);--E}if(M){J=0;for(K=$.length;J<K;++J){M=$[J];--M.count||v.push(M)}}}E&&a("can't build consistent linearization");N=A[0];C[0]=N?N._meta&&N===C[C.length-N._meta.bases.length]?N._meta.bases.length:1:0;return C}function n(A,C,v){var B,E,K,J,N,P,M,T=this._inherited=this._inherited||{};if(typeof A=="string"){B=A;A=C;C=v}v=0;J=A.callee;(B=B||J.nom)||a("can't deduce a name to call inherited()");N=this.constructor._meta;K=N.bases;M=T.p;if(B!=H){if(T.c!==J){M=0;P=K[0];N=P._meta;if(N.hidden[B]!==
J){(E=N.chains)&&typeof E[B]=="string"&&a("calling chained method with inherited: "+B);do{N=P._meta;E=P.prototype;if(N&&(E[B]===J&&E.hasOwnProperty(B)||N.hidden[B]===J))break}while(P=K[++M]);M=P?M:-1}}if(P=K[++M]){E=P.prototype;if(P._meta&&E.hasOwnProperty(B))v=E[B];else{J=k[B];do{E=P.prototype;if((v=E[B])&&(P._meta?E.hasOwnProperty(B):v!==J))break}while(P=K[++M])}}v=P&&v||k[B]}else{if(T.c!==J){M=0;if((N=K[0]._meta)&&N.ctor!==J){E=N.chains;if(!E||E.constructor!=="manual")a("calling chained constructor with inherited");
for(;P=K[++M];)if((N=P._meta)&&N.ctor===J)break;M=P?M:-1}}for(;P=K[++M];)if(v=(N=P._meta)?N.ctor:P)break;v=P&&v}T.c=v;T.p=M;if(v)return C===true?v:v.apply(this,C||A)}function q(A,C){if(typeof A=="string")return this.inherited(A,C,true);return this.inherited(A,true)}function h(A){for(var C=this.constructor._meta.bases,v=0,B=C.length;v<B;++v)if(C[v]===A)return true;return this instanceof A}function o(A,C){var v,B=0,E=t._extraNames.length;for(v in C)if(v!=H&&C.hasOwnProperty(v))A[v]=C[v];for(;B<E;++B){v=
t._extraNames[B];if(v!=H&&C.hasOwnProperty(v))A[v]=C[v]}}function p(A,C){var v,B,E=0,K=t._extraNames.length;for(v in C){B=C[v];if((B!==k[v]||!(v in k))&&v!=H){if(u.call(B)=="[object Function]")B.nom=v;A[v]=B}}for(;E<K;++E){v=t._extraNames[E];B=C[v];if((B!==k[v]||!(v in k))&&v!=H){if(u.call(B)=="[object Function]")B.nom=v;A[v]=B}}return A}function b(A){p(this.prototype,A);return this}function c(A,C){return function(){var v=arguments,B=v,E=v[0],K,J;J=A.length;var N;if(!(this instanceof v.callee))return j(v);
if(C&&(E&&E.preamble||this.preamble)){N=new Array(A.length);N[0]=v;for(K=0;;){if(E=v[0])if(E=E.preamble)v=E.apply(this,v)||v;E=A[K].prototype;if(E=E.hasOwnProperty("preamble")&&E.preamble)v=E.apply(this,v)||v;if(++K==J)break;N[K]=v}}for(K=J-1;K>=0;--K){E=A[K];if(E=(J=E._meta)?J.ctor:E)E.apply(this,N?N[K]:v)}(E=this.postscript)&&E.apply(this,B)}}function i(A,C){return function(){var v=arguments,B=v,E=v[0];if(!(this instanceof v.callee))return j(v);if(C){if(E)if(E=E.preamble)B=E.apply(this,B)||B;(E=
this.preamble)&&E.apply(this,B)}A&&A.apply(this,v);(E=this.postscript)&&E.apply(this,v)}}function r(A){return function(){var C=arguments,v=0,B,E;if(!(this instanceof C.callee))return j(C);for(;B=A[v];++v)if(B=(E=B._meta)?E.ctor:B){B.apply(this,C);break}(B=this.postscript)&&B.apply(this,C)}}function s(A,C,v){return function(){var B,E,K=0,J=1;if(v){K=C.length-1;J=-1}for(;B=C[K];K+=J){E=B._meta;(B=(E?E.hidden:B.prototype)[A])&&B.apply(this,arguments)}}}function y(A){I.prototype=A.prototype;A=new I;I.prototype=
null;return A}function j(A){var C=A.callee,v=y(C);C.apply(v,A);return v}var t=dojo,F=t._mixin,k=Object.prototype,u=k.toString,I=new Function,G=0,H="constructor";t.declare=function(A,C,v){if(typeof A!="string"){v=C;C=A;A=""}v=v||{};var B,E,K,J,N,P,M,T=1,$=C;if(u.call(C)=="[object Array]"){P=e(C);K=P[0];T=P.length-K;C=P[T]}else{P=[0];if(C)if(u.call(C)=="[object Function]"){K=C._meta;P=P.concat(K?K.bases:C)}else a("base class is not a callable constructor.");else C!==null&&a("unknown base class. Did you use dojo.require to pull it in?")}if(C)for(E=
T-1;;--E){B=y(C);if(!E)break;K=P[E];(K._meta?o:F)(B,K.prototype);J=new Function;J.superclass=C;J.prototype=B;C=B.constructor=J}else B={};p(B,v);K=v.constructor;if(K!==k.constructor){K.nom=H;B.constructor=K}for(E=T-1;E;--E)if((K=P[E]._meta)&&K.chains)M=F(M||{},K.chains);if(B["-chains-"])M=F(M||{},B["-chains-"]);K=!M||!M.hasOwnProperty(H);P[0]=J=M&&M.constructor==="manual"?r(P):P.length==1?i(v.constructor,K):c(P,K);J._meta={bases:P,hidden:v,chains:M,parents:$,ctor:v.constructor};J.superclass=C&&C.prototype;
J.extend=b;J.prototype=B;B.constructor=J;B.getInherited=q;B.inherited=n;B.isInstanceOf=h;if(A){B.declaredClass=A;t.setObject(A,J)}if(M)for(N in M)if(B[N]&&typeof M[N]=="string"&&N!=H){K=B[N]=s(N,P,M[N]==="after");K.nom=N}return J};t.safeMixin=p})()}if(!dojo._hasResource["dojo._base.connect"]){dojo._hasResource["dojo._base.connect"]=true;dojo.provide("dojo._base.connect");dojo._listener={getDispatcher:function(){return function(){var a=Array.prototype,e=arguments.callee,n=e._listeners;e=(e=e.target)&&
e.apply(this,arguments);var q;n=[].concat(n);for(q in n)q in a||n[q].apply(this,arguments);return e}},add:function(a,e,n){a=a||dojo.global;var q=a[e];if(!q||!q._listeners){var h=dojo._listener.getDispatcher();h.target=q;h._listeners=[];q=a[e]=h}return q._listeners.push(n)},remove:function(a,e,n){(a=(a||dojo.global)[e])&&a._listeners&&n--&&delete a._listeners[n]}};dojo.connect=function(){var a=arguments,e=[],n=0;e.push(dojo.isString(a[0])?null:a[n++],a[n++]);var q=a[n+1];e.push(dojo.isString(q)||dojo.isFunction(q)?
a[n++]:null,a[n++]);for(q=a.length;n<q;n++)e.push(a[n]);return dojo._connect.apply(this,e)};dojo._connect=function(a,e,n,q){var h=dojo._listener;n=h.add(a,e,dojo.hitch(n,q));return[a,e,n,h]};dojo.disconnect=function(a){if(a&&a[0]!==undefined){dojo._disconnect.apply(this,a);delete a[0]}};dojo._disconnect=function(a,e,n,q){q.remove(a,e,n)};dojo._topics={};dojo.subscribe=function(a,e,n){return[a,dojo._listener.add(dojo._topics,a,dojo.hitch(e,n))]};dojo.unsubscribe=function(a){a&&dojo._listener.remove(dojo._topics,
a[0],a[1])};dojo.publish=function(a,e){if(a=dojo._topics[a])a.apply(this,e||[])};dojo.connectPublisher=function(a,e,n){var q=function(){dojo.publish(a,arguments)};return n?dojo.connect(e,n,q):dojo.connect(e,q)}}if(!dojo._hasResource["dojo._base.Deferred"]){dojo._hasResource["dojo._base.Deferred"]=true;dojo.provide("dojo._base.Deferred");(function(){var a=function(){},e=Object.freeze||function(){};dojo.Deferred=function(n){function q(y){if(p)throw new Error("This deferred has already been resolved");
o=y;p=true;h()}function h(){for(var y;!y&&i;){var j=i;i=i.next;if(y=j.progress==a)p=false;var t=b?j.error:j.resolved;if(t)try{var F=t(o);if(F&&typeof F.then==="function")F.then(dojo.hitch(j.deferred,"resolve"),dojo.hitch(j.deferred,"reject"));else{t=y&&F===undefined;j.deferred[t&&b?"reject":"resolve"](t?o:F)}}catch(k){j.deferred.reject(k)}else b?j.deferred.reject(o):j.deferred.resolve(o)}}var o,p,b,c,i,r=this.promise={};this.resolve=this.callback=function(y){this.fired=0;this.results=[y,null];q(y)};
this.reject=this.errback=function(y){b=true;this.fired=1;q(y);this.results=[null,y];if(!y||y.log!==false)(dojo.config.deferredOnError||function(j){console.error(j)})(y)};this.progress=function(y){for(var j=i;j;){var t=j.progress;t&&t(y);j=j.next}};this.addCallbacks=function(y,j){this.then(y,j,a);return this};this.then=r.then=function(y,j,t){var F=t==a?this:new dojo.Deferred(r.cancel);y={resolved:y,error:j,progress:t,deferred:F};if(i)c=c.next=y;else i=c=y;p&&h();return F.promise};var s=this;this.cancel=
r.cancel=function(){if(!p){var y=n&&n(s);if(!p){y instanceof Error||(y=new Error(y));y.log=false;s.reject(y)}}};e(r)};dojo.extend(dojo.Deferred,{addCallback:function(){return this.addCallbacks(dojo.hitch.apply(dojo,arguments))},addErrback:function(){return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments))},addBoth:function(){var n=dojo.hitch.apply(dojo,arguments);return this.addCallbacks(n,n)},fired:-1})})();dojo.when=function(a,e,n,q){if(a&&typeof a.then==="function")return a.then(e,n,q);
return e(a)}}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(a){return eval("("+a+")")};dojo._escapeString=function(a){return('"'+a.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(a,e,n){if(a===undefined)return"undefined";var q=typeof a;if(q=="number"||q=="boolean")return a+
"";if(a===null)return"null";if(dojo.isString(a))return dojo._escapeString(a);var h=arguments.callee,o;n=n||"";var p=e?n+dojo.toJsonIndentStr:"";o=a.__json__||a.json;if(dojo.isFunction(o)){o=o.call(a);if(a!==o)return h(o,e,p)}if(a.nodeType&&a.cloneNode)throw new Error("Can't serialize DOM nodes");o=e?" ":"";var b=e?"\n":"";if(dojo.isArray(a))return"["+dojo.map(a,function(s){s=h(s,e,p);if(typeof s!="string")s="undefined";return b+p+s}).join(","+o)+b+n+"]";if(q=="function")return null;q=[];var c;for(c in a){var i,
r;if(typeof c=="number")i='"'+c+'"';else if(typeof c=="string")i=dojo._escapeString(c);else continue;r=h(a[c],e,p);typeof r=="string"&&q.push(b+p+i+":"+o+r)}return"{"+q.join(","+o)+b+n+"}"}}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");(function(){var a=dojo;dojo.Color=function(e){e&&this.setColor(e)};dojo.Color.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,
0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:a.config.transparentColor||[255,255,255]};dojo.extend(dojo.Color,{r:255,g:255,b:255,a:1,_set:function(e,n,q,h){var o=this;o.r=e;o.g=n;o.b=q;o.a=h},setColor:function(e){if(a.isString(e))a.colorFromString(e,this);else if(a.isArray(e))a.colorFromArray(e,this);else{this._set(e.r,e.g,e.b,e.a);e instanceof a.Color||this.sanitize()}return this},
sanitize:function(){return this},toRgb:function(){var e=this;return[e.r,e.g,e.b]},toRgba:function(){var e=this;return[e.r,e.g,e.b,e.a]},toHex:function(){return"#"+a.map(["r","g","b"],function(e){e=this[e].toString(16);return e.length<2?"0"+e:e},this).join("")},toCss:function(e){var n=this,q=n.r+", "+n.g+", "+n.b;return(e?"rgba("+q+", "+n.a:"rgb("+q)+")"},toString:function(){return this.toCss(true)}});dojo.blendColors=function(e,n,q,h){var o=h||new a.Color;a.forEach(["r","g","b","a"],function(p){o[p]=
e[p]+(n[p]-e[p])*q;if(p!="a")o[p]=Math.round(o[p])});return o.sanitize()};dojo.colorFromRgb=function(e,n){return(e=e.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/))&&dojo.colorFromArray(e[1].split(/\s*,\s*/),n)};dojo.colorFromHex=function(e,n){var q=n||new a.Color,h=e.length==4?4:8,o=(1<<h)-1;e=Number("0x"+e.substr(1));if(isNaN(e))return null;a.forEach(["b","g","r"],function(p){var b=e&o;e>>=h;q[p]=h==4?17*b:b});q.a=1;return q};dojo.colorFromArray=function(e,n){n=n||new a.Color;n._set(Number(e[0]),
Number(e[1]),Number(e[2]),Number(e[3]));if(isNaN(n.a))n.a=1;return n.sanitize()};dojo.colorFromString=function(e,n){var q=a.Color.named[e];return q&&a.colorFromArray(q,n)||a.colorFromRgb(e,n)||a.colorFromHex(e,n)}})()}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(a,e){dojo.global=a;dojo.doc=e};dojo.withGlobal=function(a,e,n,q){var h=dojo.global;try{dojo.global=a;return dojo.withDoc.call(null,a.document,e,n,q)}finally{dojo.global=h}};dojo.withDoc=function(a,e,n,q){var h=dojo.doc,o=dojo._bodyLtr,p=dojo.isQuirks;try{dojo.doc=a;delete dojo._bodyLtr;dojo.isQuirks=dojo.doc.compatMode=="BackCompat";if(n&&typeof e=="string")e=n[e];return e.apply(n,q||[])}finally{dojo.doc=h;delete dojo._bodyLtr;if(o!==
undefined)dojo._bodyLtr=o;dojo.isQuirks=p}}}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");(function(){var a=dojo._event_listener={add:function(b,c,i){if(b){c=a._normalizeEventName(c);i=a._fixCallback(c,i);if(!dojo.isIE&&(c=="mouseenter"||c=="mouseleave")){var r=i;c=c=="mouseenter"?"mouseover":"mouseout";i=function(s){if(!dojo.isDescendant(s.relatedTarget,b))return r.call(this,s)}}b.addEventListener(c,i,false);return i}},remove:function(b,
c,i){if(b){c=a._normalizeEventName(c);if(!dojo.isIE&&(c=="mouseenter"||c=="mouseleave"))c=c=="mouseenter"?"mouseover":"mouseout";b.removeEventListener(c,i,false)}},_normalizeEventName:function(b){return b.slice(0,2)=="on"?b.slice(2):b},_fixCallback:function(b,c){return b!="keypress"?c:function(i){return c.call(this,a._fixEvent(i,this))}},_fixEvent:function(b){switch(b.type){case "keypress":a._setKeyChar(b);break}return b},_setKeyChar:function(b){b.keyChar=b.charCode?String.fromCharCode(b.charCode):
"";b.charOrCode=b.keyChar||b.keyCode},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39}};dojo.fixEvent=function(b,c){return a._fixEvent(b,c)};dojo.stopEvent=function(b){b.preventDefault();b.stopPropagation()};var e=dojo._listener;dojo._connect=function(b,c,i,r,s){s=b&&(b.nodeType||b.attachEvent||b.addEventListener)?s?2:1:0;i=[dojo._listener,a,e][s].add(b,c,dojo.hitch(i,r));return[b,c,i,s]};dojo._disconnect=function(b,c,i,r){[dojo._listener,a,e][r].remove(b,
c,i)};dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:dojo.isSafari?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,
NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,copyKey:dojo.isMac&&!dojo.isAIR?dojo.isSafari?91:224:17};var n=dojo.isMac?"metaKey":"ctrlKey";dojo.isCopyKey=function(b){return b[n]};dojo.mouseButtons=dojo.isIE?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(b,c){return b.button&c},isLeft:function(b){return b.button&1},isMiddle:function(b){return b.button&4},isRight:function(b){return b.button&
2}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(b,c){return b.button==c},isLeft:function(b){return b.button==0},isMiddle:function(b){return b.button==1},isRight:function(b){return b.button==2}};if(dojo.isIE){var q=function(b,c){try{return b.keyCode=c}catch(i){return 0}},h=dojo._listener,o=dojo._ieListenersName="_"+dojo._scopeName+"_listeners";if(!dojo.config._allow_leaks){e=h=dojo._ie_listener={handlers:[],add:function(b,c,i){b=b||dojo.global;var r=b[c];if(!r||!r[o]){var s=dojo._getIeDispatcher();
s.target=r&&p.push(r)-1;s[o]=[];r=b[c]=s}return r[o].push(p.push(i)-1)},remove:function(b,c,i){c=(b=(b||dojo.global)[c])&&b[o];if(b&&c&&i--){delete p[c[i]];delete c[i]}}};var p=h.handlers}dojo.mixin(a,{add:function(b,c,i){if(b){c=a._normalizeEventName(c);if(c=="onkeypress"){var r=b.onkeydown;if(!r||!r[o]||!r._stealthKeydownHandle){var s=a.add(b,"onkeydown",a._stealthKeyDown);r=b.onkeydown;r._stealthKeydownHandle=s;r._stealthKeydownRefs=1}else r._stealthKeydownRefs++}return h.add(b,c,a._fixCallback(i))}},
remove:function(b,c,i){c=a._normalizeEventName(c);h.remove(b,c,i);if(c=="onkeypress"){c=b.onkeydown;if(--c._stealthKeydownRefs<=0){h.remove(b,"onkeydown",c._stealthKeydownHandle);delete c._stealthKeydownHandle}}},_normalizeEventName:function(b){return b.slice(0,2)!="on"?"on"+b:b},_nop:function(){},_fixEvent:function(b,c){if(!b)b=(c&&(c.ownerDocument||c.document||c).parentWindow||window).event;if(!b)return b;b.target=b.srcElement;b.currentTarget=c||b.srcElement;b.layerX=b.offsetX;b.layerY=b.offsetY;
c=(c=b.srcElement)&&c.ownerDocument||document;c=dojo.isIE<6||c.compatMode=="BackCompat"?c.body:c.documentElement;var i=dojo._getIeDocumentElementOffset();b.pageX=b.clientX+dojo._fixIeBiDiScrollLeft(c.scrollLeft||0)-i.x;b.pageY=b.clientY+(c.scrollTop||0)-i.y;if(b.type=="mouseover")b.relatedTarget=b.fromElement;if(b.type=="mouseout")b.relatedTarget=b.toElement;b.stopPropagation=a._stopPropagation;b.preventDefault=a._preventDefault;return a._fixKeys(b)},_fixKeys:function(b){switch(b.type){case "keypress":var c=
"charCode"in b?b.charCode:b.keyCode;if(c==10){c=0;b.keyCode=13}else if(c==13||c==27)c=0;else if(c==3)c=99;b.charCode=c;a._setKeyChar(b);break}return b},_stealthKeyDown:function(b){var c=b.currentTarget.onkeypress;if(c&&c[o]){var i=b.keyCode,r=i!=13&&i!=32&&i!=27&&(i<48||i>90)&&(i<96||i>111)&&(i<186||i>192)&&(i<219||i>222);if(r||b.ctrlKey){r=r?0:i;if(b.ctrlKey)if(i==3||i==13)return;else if(r>95&&r<106)r-=48;else if(!b.shiftKey&&r>=65&&r<=90)r+=32;else r=a._punctMap[r]||r;i=a._synthesizeEvent(b,{type:"keypress",
faux:true,charCode:r});c.call(b.currentTarget,i);b.cancelBubble=i.cancelBubble;b.returnValue=i.returnValue;q(b,i.keyCode)}}},_stopPropagation:function(){this.cancelBubble=true},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;this.ctrlKey&&q(this,0);this.returnValue=false}});dojo.stopEvent=function(b){b=b||window.event;a._stopPropagation.call(b);a._preventDefault.call(b)}}a._synthesizeEvent=function(b,c){c=dojo.mixin({},b,c);a._setKeyChar(c);c.preventDefault=function(){b.preventDefault()};
c.stopPropagation=function(){b.stopPropagation()};return c};dojo.isOpera&&dojo.mixin(a,{_fixEvent:function(b){switch(b.type){case "keypress":var c=b.which;if(c==3)c=99;c=c<41&&!b.shiftKey?0:c;if(b.ctrlKey&&!b.shiftKey&&c>=65&&c<=90)c+=32;return a._synthesizeEvent(b,{charCode:c})}return b}});if(dojo.isWebKit){a._add=a.add;a._remove=a.remove;dojo.mixin(a,{add:function(b,c,i){if(b){var r=a._add(b,c,i);if(a._normalizeEventName(c)=="keypress")r._stealthKeyDownHandle=a._add(b,"keydown",function(s){var y=
s.keyCode,j=y!=13&&y!=32&&(y<48||y>90)&&(y<96||y>111)&&(y<186||y>192)&&(y<219||y>222);if(j||s.ctrlKey){j=j?0:y;if(s.ctrlKey)if(y==3||y==13)return;else if(j>95&&j<106)j-=48;else if(!s.shiftKey&&j>=65&&j<=90)j+=32;else j=a._punctMap[j]||j;y=a._synthesizeEvent(s,{type:"keypress",faux:true,charCode:j});i.call(s.currentTarget,y)}});return r}},remove:function(b,c,i){if(b){i._stealthKeyDownHandle&&a._remove(b,"keydown",i._stealthKeyDownHandle);a._remove(b,c,i)}},_fixEvent:function(b){switch(b.type){case "keypress":if(b.faux)return b;
var c=b.charCode;c=c>=32?c:0;return a._synthesizeEvent(b,{charCode:c,faux:true})}return b}})}})();if(dojo.isIE){dojo._ieDispatcher=function(a,e){var n=Array.prototype,q=dojo._ie_listener.handlers,h=a.callee,o=h[dojo._ieListenersName];h=(h=q[h.target])&&h.apply(e,a);o=[].concat(o);for(var p in o){var b=q[o[p]];!(p in n)&&b&&b.apply(e,a)}return h};dojo._getIeDispatcher=function(){return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)")};dojo._event_listener._fixCallback=function(a){var e=
dojo._event_listener._fixEvent;return function(n){return a.call(this,e(n,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(Ca){}dojo.byId=dojo.isIE||dojo.isOpera?function(a,e){if(typeof a!="string")return a;var n=e||dojo.doc;if((e=n.getElementById(a))&&(e.attributes.id.value==a||e.id==a))return e;else{var q=n.all[a];if(!q||q.nodeName)q=[q];for(var h=0;e=q[h++];)if(e.attributes&&
e.attributes.id&&e.attributes.id.value==a||e.id==a)return e}}:function(a,e){return typeof a=="string"?(e||dojo.doc).getElementById(a):a};(function(){var a=dojo,e=a.byId,n=null,q;a.addOnWindowUnload(function(){n=null});dojo._destroyElement=dojo.destroy=function(d){d=e(d);try{var f=d.ownerDocument;if(!n||q!=f){n=f.createElement("div");q=f}n.appendChild(d.parentNode?d.parentNode.removeChild(d):d);n.innerHTML=""}catch(l){}};dojo.isDescendant=function(d,f){try{d=e(d);for(f=e(f);d;){if(d==f)return true;
d=d.parentNode}}catch(l){}return false};dojo.setSelectable=function(d,f){d=e(d);if(a.isMozilla)d.style.MozUserSelect=f?"":"none";else if(a.isKhtml||a.isWebKit)d.style.KhtmlUserSelect=f?"auto":"none";else if(a.isIE){f=d.unselectable=f?"":"on";a.query("*",d).forEach("item.unselectable = '"+f+"'")}};var h=function(d,f){var l=f.parentNode;l&&l.insertBefore(d,f)},o=function(d,f){var l=f.parentNode;if(l)l.lastChild==f?l.appendChild(d):l.insertBefore(d,f.nextSibling)};dojo.place=function(d,f,l){f=e(f);if(typeof d==
"string")d=d.charAt(0)=="<"?a._toDom(d,f.ownerDocument):e(d);if(typeof l=="number"){var z=f.childNodes;!z.length||z.length<=l?f.appendChild(d):h(d,z[l<0?0:l])}else switch(l){case "before":h(d,f);break;case "after":o(d,f);break;case "replace":f.parentNode.replaceChild(d,f);break;case "only":a.empty(f);f.appendChild(d);break;case "first":if(f.firstChild){h(d,f.firstChild);break}default:f.appendChild(d)}return d};dojo.boxModel="content-box";if(a.isIE)a.boxModel=document.compatMode=="BackCompat"?"border-box":
"content-box";var p;p=a.isWebKit?function(d){var f;if(d.nodeType==1){var l=d.ownerDocument.defaultView;f=l.getComputedStyle(d,null);if(!f&&d.style){d.style.display="";f=l.getComputedStyle(d,null)}}return f||{}}:a.isIE?function(d){return d.nodeType==1?d.currentStyle:{}}:function(d){return d.nodeType==1?d.ownerDocument.defaultView.getComputedStyle(d,null):{}};dojo.getComputedStyle=p;a._toPixelValue=a.isIE?function(d,f){if(!f)return 0;if(f=="medium")return 4;if(f.slice&&f.slice(-2)=="px")return parseFloat(f);
with(d){d=style.left;var l=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=f;f=style.pixelLeft}catch(z){f=0}style.left=d;runtimeStyle.left=l}return f}:function(d,f){return parseFloat(f)||0};var b=a._toPixelValue,c=function(d,f){try{return d.filters.item("DXImageTransform.Microsoft.Alpha")}catch(l){return f?{}:null}};dojo._getOpacity=a.isIE?function(d){try{return c(d).Opacity/100}catch(f){return 1}}:function(d){return p(d).opacity};dojo._setOpacity=a.isIE?function(d,f){var l=f*
100,z=f==1;d.style.zoom=z?"":1;if(c(d))c(d,1).Opacity=l;else{if(z)return f;d.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+l+")"}c(d,1).Enabled=!z;d.nodeName.toLowerCase()=="tr"&&a.query("> td",d).forEach(function(D){a._setOpacity(D,f)});return f}:function(d,f){return d.style.opacity=f};var i={left:true,top:true},r=/margin|padding|width|height|max|min|offset/,s=function(d,f,l){f=f.toLowerCase();if(a.isIE){if(l=="auto"){if(f=="height")return d.offsetHeight;if(f=="width")return d.offsetWidth}if(f==
"fontweight")switch(l){case 700:return"bold";case 400:default:return"normal"}}f in i||(i[f]=r.test(f));return i[f]?b(d,l):l},y=a.isIE?"styleFloat":"cssFloat",j={cssFloat:y,styleFloat:y,"float":y};dojo.style=function(d,f,l){var z=e(d),D=arguments.length,L=f=="opacity";f=j[f]||f;if(D==3)return L?a._setOpacity(z,l):(z.style[f]=l);if(D==2&&L)return a._getOpacity(z);L=p(z);if(D==2&&typeof f!="string"){for(var S in f)a.style(d,S,f[S]);return L}return D==1?L:s(z,f,L[f]||z.style[f])};dojo._getPadExtents=
function(d,f){f=f||p(d);var l=b(d,f.paddingLeft),z=b(d,f.paddingTop);return{l:l,t:z,w:l+b(d,f.paddingRight),h:z+b(d,f.paddingBottom)}};dojo._getBorderExtents=function(d,f){f=f||p(d);var l=f.borderLeftStyle!="none"?b(d,f.borderLeftWidth):0,z=f.borderTopStyle!="none"?b(d,f.borderTopWidth):0;return{l:l,t:z,w:l+(f.borderRightStyle!="none"?b(d,f.borderRightWidth):0),h:z+(f.borderBottomStyle!="none"?b(d,f.borderBottomWidth):0)}};dojo._getPadBorderExtents=function(d,f){var l=f||p(d);f=a._getPadExtents(d,
l);d=a._getBorderExtents(d,l);return{l:f.l+d.l,t:f.t+d.t,w:f.w+d.w,h:f.h+d.h}};dojo._getMarginExtents=function(d,f){f=f||p(d);var l=b(d,f.marginLeft),z=b(d,f.marginTop),D=b(d,f.marginRight);d=b(d,f.marginBottom);if(a.isWebKit&&f.position!="absolute")D=l;return{l:l,t:z,w:l+D,h:z+d}};dojo._getMarginBox=function(d,f){var l=f||p(d);f=a._getMarginExtents(d,l);var z=d.offsetLeft-f.l,D=d.offsetTop-f.t,L=d.parentNode;if(a.isMoz){var S=parseFloat(l.left);l=parseFloat(l.top);if(!isNaN(S)&&!isNaN(l)){z=S;D=
l}else if(L&&L.style){S=p(L);if(S.overflow!="visible"){L=a._getBorderExtents(L,S);z+=L.l;D+=L.t}}}else if(a.isOpera||a.isIE>7&&!a.isQuirks)if(L){L=a._getBorderExtents(L);z-=L.l;D-=L.t}return{l:z,t:D,w:d.offsetWidth+f.w,h:d.offsetHeight+f.h}};dojo._getContentBox=function(d,f){var l=f||p(d);f=a._getPadExtents(d,l);l=a._getBorderExtents(d,l);var z=d.clientWidth;if(z){d=d.clientHeight;l.w=l.h=0}else{z=d.offsetWidth;d=d.offsetHeight}if(a.isOpera){f.l+=l.l;f.t+=l.t}return{l:f.l,t:f.t,w:z-f.w-l.w,h:d-f.h-
l.h}};dojo._getBorderBox=function(d,f){var l=f||p(d);f=a._getPadExtents(d,l);d=a._getContentBox(d,l);return{l:d.l-f.l,t:d.t-f.t,w:d.w+f.w,h:d.h+f.h}};dojo._setBox=function(d,f,l,z,D,L){L=L||"px";d=d.style;if(!isNaN(f))d.left=f+L;if(!isNaN(l))d.top=l+L;if(z>=0)d.width=z+L;if(D>=0)d.height=D+L};dojo._isButtonTag=function(d){return d.tagName=="BUTTON"||d.tagName=="INPUT"&&(d.getAttribute("type")||"").toUpperCase()=="BUTTON"};dojo._usesBorderBox=function(d){var f=d.tagName;return a.boxModel=="border-box"||
f=="TABLE"||a._isButtonTag(d)};dojo._setContentSize=function(d,f,l,z){if(a._usesBorderBox(d)){z=a._getPadBorderExtents(d,z);if(f>=0)f+=z.w;if(l>=0)l+=z.h}a._setBox(d,NaN,NaN,f,l)};dojo._setMarginBox=function(d,f,l,z,D,L){var S=L||p(d);L=a._usesBorderBox(d)?t:a._getPadBorderExtents(d,S);if(a.isWebKit)if(a._isButtonTag(d)){var ba=d.style;if(z>=0&&!ba.width)ba.width="4px";if(D>=0&&!ba.height)ba.height="4px"}S=a._getMarginExtents(d,S);if(z>=0)z=Math.max(z-L.w-S.w,0);if(D>=0)D=Math.max(D-L.h-S.h,0);a._setBox(d,
f,l,z,D)};var t={l:0,t:0,w:0,h:0};dojo.marginBox=function(d,f){d=e(d);var l=p(d);return!f?a._getMarginBox(d,l):a._setMarginBox(d,f.l,f.t,f.w,f.h,l)};dojo.contentBox=function(d,f){d=e(d);var l=p(d);return!f?a._getContentBox(d,l):a._setContentSize(d,f.w,f.h,l)};var F=function(d,f){if(!(d=(d||0).parentNode))return 0;for(var l,z=0,D=a.body();d&&d.style;){if(p(d).position=="fixed")return 0;if(l=d[f]){z+=l-0;if(d==D)break}d=d.parentNode}return z};dojo._docScroll=function(){var d=a.global;return"pageXOffset"in
d?{x:d.pageXOffset,y:d.pageYOffset}:(d=a.doc.documentElement,d.clientHeight?{x:a._fixIeBiDiScrollLeft(d.scrollLeft),y:d.scrollTop}:(d=a.body(),{x:d.scrollLeft||0,y:d.scrollTop||0}))};dojo._isBodyLtr=function(){return"_bodyLtr"in a?a._bodyLtr:(a._bodyLtr=(a.body().dir||a.doc.documentElement.dir||"ltr").toLowerCase()=="ltr")};dojo._getIeDocumentElementOffset=function(){var d=a.doc.documentElement;if(a.isIE<8){var f=d.getBoundingClientRect(),l=f.left;f=f.top;if(a.isIE<7){l+=d.clientLeft;f+=d.clientTop}return{x:l<
0?0:l,y:f<0?0:f}}else return{x:0,y:0}};dojo._fixIeBiDiScrollLeft=function(d){var f=a.doc;if(a.isIE<8&&!a._isBodyLtr()){f=a.isQuirks?f.body:f.documentElement;return d+f.clientWidth-f.scrollWidth}return d};dojo._abs=dojo.position=function(d,f){var l=a.body(),z=l.parentNode,D;d=e(d);if(d.getBoundingClientRect){D=d.getBoundingClientRect();D={x:D.left,y:D.top,w:D.right-D.left,h:D.bottom-D.top};if(a.isIE){d=a._getIeDocumentElementOffset();D.x-=d.x+(a.isQuirks?l.clientLeft+l.offsetLeft:0);D.y-=d.y+(a.isQuirks?
l.clientTop+l.offsetTop:0)}else if(a.isFF==3){var L=p(z);D.x-=b(z,L.marginLeft)+b(z,L.borderLeftWidth);D.y-=b(z,L.marginTop)+b(z,L.borderTopWidth)}}else{D={x:0,y:0,w:d.offsetWidth,h:d.offsetHeight};if(d.offsetParent){D.x-=F(d,"scrollLeft");D.y-=F(d,"scrollTop");l=d;do{L=l.offsetLeft;var S=l.offsetTop;D.x+=isNaN(L)?0:L;D.y+=isNaN(S)?0:S;L=p(l);if(l!=d)if(a.isMoz){D.x+=2*b(l,L.borderLeftWidth);D.y+=2*b(l,L.borderTopWidth)}else{D.x+=b(l,L.borderLeftWidth);D.y+=b(l,L.borderTopWidth)}if(a.isMoz&&L.position==
"static")for(L=l.parentNode;L!=l.offsetParent;){S=p(L);if(S.position=="static"){D.x+=b(l,S.borderLeftWidth);D.y+=b(l,S.borderTopWidth)}L=L.parentNode}l=l.offsetParent}while(l!=z&&l)}else if(d.x&&d.y){D.x+=isNaN(d.x)?0:d.x;D.y+=isNaN(d.y)?0:d.y}}if(f){f=a._docScroll();D.x+=f.x;D.y+=f.y}return D};dojo.coords=function(d,f){d=e(d);var l=p(d);l=a._getMarginBox(d,l);f=a.position(d,f);l.x=f.x;l.y=f.y;return l};var k={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",
frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"},u={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"},I={innerHTML:1,className:1,htmlFor:a.isIE,value:1},G=function(d){return u[d.toLowerCase()]||d},H=function(d,f){return(d=d.getAttributeNode&&d.getAttributeNode(f))&&d.specified};dojo.hasAttr=function(d,f){var l=f.toLowerCase();return I[k[l]||f]||H(e(d),u[l]||f)};var A={},C=0,v=dojo._scopeName+"attrid",B={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,
title:1};dojo.attr=function(d,f,l){d=e(d);var z=arguments.length;if(z==2&&typeof f!="string"){for(var D in f)a.attr(d,D,f[D]);return d}var L=f.toLowerCase();D=k[L]||f;var S=I[D];L=u[L]||f;if(z==3){if(D=="style"&&typeof l!="string")a.style(d,l);else if(D=="innerHTML")if(a.isIE&&d.tagName.toLowerCase()in B){a.empty(d);d.appendChild(a._toDom(l,d.ownerDocument))}else d[D]=l;else if(a.isFunction(l)){z=a.attr(d,v);if(!z){z=C++;a.attr(d,v,z)}A[z]||(A[z]={});if(S=A[z][D])a.disconnect(S);else try{delete d[D]}catch(ba){}A[z][D]=
a.connect(d,D,l)}else if(S||typeof l=="boolean")d[D]=l;else d.setAttribute(L,l);return d}l=d[D];if(S&&typeof l!="undefined")return l;if(D!="href"&&(typeof l=="boolean"||a.isFunction(l)))return l;return H(d,L)?d.getAttribute(L):null};dojo.removeAttr=function(d,f){e(d).removeAttribute(G(f))};dojo.getNodeProp=function(d,f){d=e(d);var l=f.toLowerCase(),z=k[l]||f;if(z in d&&z!="href")return d[z];f=u[l]||f;return H(d,f)?d.getAttribute(f):null};dojo.create=function(d,f,l,z){var D=a.doc;if(l){l=e(l);D=l.ownerDocument}if(typeof d==
"string")d=D.createElement(d);f&&a.attr(d,f);l&&a.place(d,l,z);return d};a.empty=a.isIE?function(d){d=e(d);for(var f;f=d.lastChild;)a.destroy(f)}:function(d){e(d).innerHTML=""};var E={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},K=/<\s*([\w\:]+)/,J={},N=0,P="__"+a._scopeName+"ToDomId";for(var M in E){var T=E[M];T.pre=
M=="option"?'<select multiple="multiple">':"<"+T.join("><")+">";T.post="</"+T.reverse().join("></")+">"}a._toDom=function(d,f){f=f||a.doc;var l=f[P];if(!l){f[P]=l=++N+"";J[l]=f.createElement("div")}d+="";var z=d.match(K),D=z?z[1].toLowerCase():"";l=J[l];if(z&&E[D]){z=E[D];l.innerHTML=z.pre+d+z.post;for(d=z.length;d;--d)l=l.firstChild}else l.innerHTML=d;if(l.childNodes.length==1)return l.removeChild(l.firstChild);for(d=f.createDocumentFragment();f=l.firstChild;)d.appendChild(f);return d};var $="className";
dojo.hasClass=function(d,f){return(" "+e(d)[$]+" ").indexOf(" "+f+" ")>=0};var pa=/\s+/,ja=[""],ka=function(d){if(typeof d=="string"||d instanceof String)if(d.indexOf(" ")<0){ja[0]=d;return ja}else return d.split(pa);return d||""};dojo.addClass=function(d,f){d=e(d);f=ka(f);var l=d[$],z;l=l?" "+l+" ":" ";z=l.length;for(var D=0,L=f.length,S;D<L;++D)if((S=f[D])&&l.indexOf(" "+S+" ")<0)l+=S+" ";if(z<l.length)d[$]=l.substr(1,l.length-2)};dojo.removeClass=function(d,f){d=e(d);var l;if(f!==undefined){f=
ka(f);l=" "+d[$]+" ";for(var z=0,D=f.length;z<D;++z)l=l.replace(" "+f[z]+" "," ");l=a.trim(l)}else l="";if(d[$]!=l)d[$]=l};dojo.toggleClass=function(d,f,l){if(l===undefined)l=!a.hasClass(d,f);a[l?"addClass":"removeClass"](d,f)}})()}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var a=dojo,e=Array.prototype,n=e.slice,q=e.concat,h=function(j,t,F){j.sort||(j=n.call(j,0));F=F||this._NodeListCtor||a._NodeListCtor;
j.constructor=F;dojo._mixin(j,F.prototype);j._NodeListCtor=F;return t?j._stash(t):j},o=function(j,t,F){t=[0].concat(n.call(t,0));F=F||a.global;return function(k){t[0]=k;return j.apply(F,t)}},p=function(j,t){return function(){this.forEach(o(j,arguments,t));return this}},b=function(j,t){return function(){return this.map(o(j,arguments,t))}},c=function(j,t,F){return function(){var k=arguments,u=o(j,k,F);if(t.call(F||a.global,k))return this.map(u);this.forEach(u);return this}},i=function(j){return j.length==
1&&typeof j[0]=="string"},r=function(j){var t=j.parentNode;t&&t.removeChild(j)};dojo.NodeList=function(){return h(Array.apply(null,arguments))};var s=a._NodeListCtor=a.NodeList,y=s.prototype;s._wrap=y._wrap=h;s._adaptAsMap=b;s._adaptAsForEach=p;s._adaptAsFilter=function(j,t){return function(){return this.filter(o(j,arguments,t))}};s._adaptWithCondition=c;a.forEach(["slice","splice"],function(j){var t=e[j];y[j]=function(){return this._wrap(t.apply(this,arguments),j=="slice"?this:null)}});a.forEach(["indexOf",
"lastIndexOf","every","some"],function(j){var t=a[j];y[j]=function(){return t.apply(a,[this].concat(n.call(arguments,0)))}});a.forEach(["attr","style"],function(j){y[j]=c(a[j],i)});a.forEach(["connect","addClass","removeClass","toggleClass","empty","removeAttr"],function(j){y[j]=p(a[j])});dojo.extend(dojo.NodeList,{_normalize:function(j,t){var F=j.parse===true?true:false;if(typeof j.template=="string"){var k=j.templateFunc||dojo.string&&dojo.string.substitute;j=k?k(j.template,j):j}k=typeof j;if(k==
"string"||k=="number"){j=dojo._toDom(j,t&&t.ownerDocument);j=j.nodeType==11?dojo._toArray(j.childNodes):[j]}else if(dojo.isArrayLike(j))dojo.isArray(j)||(j=dojo._toArray(j));else j=[j];if(F)j._runParse=true;return j},_cloneNode:function(j){return j.cloneNode(true)},_place:function(j,t,F,k){if(!(t.nodeType!=1&&F=="only")){t=t;for(var u,I=j.length,G=I-1;G>=0;G--){var H=k?this._cloneNode(j[G]):j[G];if(j._runParse&&dojo.parser&&dojo.parser.parse){u||(u=t.ownerDocument.createElement("div"));u.appendChild(H);
dojo.parser.parse(u);for(H=u.firstChild;u.firstChild;)u.removeChild(u.firstChild)}G==I-1?dojo.place(H,t,F):t.parentNode.insertBefore(H,t);t=H}}},_stash:function(j){this._parent=j;return this},end:function(){return this._parent?this._parent:new this._NodeListCtor},concat:function(){var j=a.isArray(this)?this:n.call(this,0),t=a.map(arguments,function(F){return F&&!a.isArray(F)&&(typeof NodeList!="undefined"&&F.constructor===NodeList||F.constructor===this._NodeListCtor)?n.call(F,0):F});return this._wrap(q.apply(j,
t),this)},map:function(j,t){return this._wrap(a.map(this,j,t),this)},forEach:function(j,t){a.forEach(this,j,t);return this},coords:b(a.coords),position:b(a.position),place:function(j,t){var F=a.query(j)[0];return this.forEach(function(k){a.place(k,F,t)})},orphan:function(j){return(j?a._filterQueryResult(this,j):this).forEach(r)},adopt:function(j,t){return a.query(j).place(this[0],t)._stash(this)},query:function(j){if(!j)return this;var t=this.map(function(F){return a.query(j,F).filter(function(k){return k!==
undefined})});return this._wrap(q.apply([],t),this)},filter:function(j){var t=arguments,F=this,k=0;if(typeof j=="string"){F=a._filterQueryResult(this,t[0]);if(t.length==1)return F._stash(this);k=1}return this._wrap(a.filter(F,t[k],t[k+1]),this)},addContent:function(j,t){j=this._normalize(j,this[0]);for(var F=0,k;k=this[F];F++)this._place(j,k,t,F>0);return this},instantiate:function(j,t){var F=a.isFunction(j)?j:a.getObject(j);t=t||{};return this.forEach(function(k){new F(t,k)})},at:function(){var j=
new this._NodeListCtor;a.forEach(arguments,function(t){if(t<0)t=this.length+t;this[t]&&j.push(this[t])},this);return j._stash(this)}});s.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];a.forEach(s.events,function(j){var t="on"+j;y[t]=function(F,k){return this.connect(t,F,k)}})})()}if(!dojo._hasResource["dojo._base.query"]){dojo._hasResource["dojo._base.query"]=true;typeof dojo!=
"undefined"&&dojo.provide("dojo._base.query");(function(a){var e=a.trim,n=a.forEach,q=a._NodeListCtor=a.NodeList,h=function(){return a.doc},o=(a.isWebKit||a.isMozilla)&&h().compatMode=="BackCompat",p=h().firstChild.children?"children":"childNodes",b=false,c=function(){return true},i=function(g){g+=">~+".indexOf(g.slice(-1))>=0?" * ":" ";for(var m=function(ma,ta){return e(g.slice(ma,ta))},w=[],x=-1,O=-1,R=-1,W=-1,Q=-1,U=-1,Y=-1,aa="",Z="",ea,X=0,ua=g.length,V=null,ca=null,va=function(){if(Y>=0){var ma=
Y==X?null:m(Y,X);V[">~+".indexOf(ma)<0?"tag":"oper"]=ma;Y=-1}},wa=function(){if(U>=0){V.id=m(U,X).replace(/\\/g,"");U=-1}},xa=function(){if(Q>=0){V.classes.push(m(Q+1,X).replace(/\\/g,""));Q=-1}},la=function(){wa();va();xa()},ya=function(){la();W>=0&&V.pseudos.push({name:m(W+1,X)});V.loops=V.pseudos.length||V.attrs.length||V.classes.length;V.oquery=V.query=m(ea,X);V.otag=V.tag=V.oper?null:V.tag||"*";if(V.tag)V.tag=V.tag.toUpperCase();if(w.length&&w[w.length-1].oper){V.infixOper=w.pop();V.query=V.infixOper.query+
" "+V.query}w.push(V);V=null};aa=Z,Z=g.charAt(X),X<ua;X++)if(aa!="\\"){if(!V){ea=X;V={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return b?this.otag:this.tag}};Y=X}if(x>=0)if(Z=="]"){if(ca.attr)ca.matchFor=m(R||x+1,X);else ca.attr=m(x+1,X);if(x=ca.matchFor)if(x.charAt(0)=='"'||x.charAt(0)=="'")ca.matchFor=x.slice(1,-1);V.attrs.push(ca);ca=null;x=R=-1}else{if(Z=="="){R="|~^$*".indexOf(aa)>=0?aa:"";ca.type=R+Z;ca.attr=m(x+1,X-R.length);R=X+1}}else if(O>=0){if(Z==
")"){if(W>=0)ca.value=m(O+1,X);W=O=-1}}else if(Z=="#"){la();U=X+1}else if(Z=="."){la();Q=X}else if(Z==":"){la();W=X}else if(Z=="["){la();x=X;ca={}}else if(Z=="("){if(W>=0){ca={name:m(W+1,X),value:null};V.pseudos.push(ca)}O=X}else Z==" "&&aa!=Z&&ya()}return w},r=function(g,m){if(!g)return m;if(!m)return g;return function(){return g.apply(window,arguments)&&m.apply(window,arguments)}},s=function(g,m){m=m||[];g&&m.push(g);return m},y=function(g){return 1==g.nodeType},j=function(g,m){if(!g)return"";if(m==
"class")return g.className||"";if(m=="for")return g.htmlFor||"";if(m=="style")return g.style.cssText||"";return(b?g.getAttribute(m):g.getAttribute(m,2))||""},t={"*=":function(g,m){return function(w){return j(w,g).indexOf(m)>=0}},"^=":function(g,m){return function(w){return j(w,g).indexOf(m)==0}},"$=":function(g,m){return function(w){w=" "+j(w,g);return w.lastIndexOf(m)==w.length-m.length}},"~=":function(g,m){var w=" "+m+" ";return function(x){return(" "+j(x,g)+" ").indexOf(w)>=0}},"|=":function(g,
m){var w=" "+m+"-";return function(x){x=" "+j(x,g);return x==m||x.indexOf(w)==0}},"=":function(g,m){return function(w){return j(w,g)==m}}},F=typeof h().firstChild.nextElementSibling=="undefined",k=!F?"nextElementSibling":"nextSibling",u=!F?"previousElementSibling":"previousSibling",I=F?y:c,G=function(g){for(;g=g[u];)if(I(g))return false;return true},H=function(g){for(;g=g[k];)if(I(g))return false;return true},A=function(g){var m=g.parentNode,w=0,x=m[p],O=g._i||-1,R=m._l||-1;if(!x)return-1;x=x.length;
if(R==x&&O>=0&&R>=0)return O;m._l=x;O=-1;for(m=m.firstElementChild||m.firstChild;m;m=m[k])if(I(m)){m._i=++w;if(g===m)O=w}return O},C=function(g){return!(A(g)%2)},v=function(g){return A(g)%2},B={checked:function(){return function(g){return!!("checked"in g?g.checked:g.selected)}},"first-child":function(){return G},"last-child":function(){return H},"only-child":function(){return function(g){if(!G(g))return false;if(!H(g))return false;return true}},empty:function(){return function(g){var m=g.childNodes;
for(g=g.childNodes.length-1;g>=0;g--){var w=m[g].nodeType;if(w===1||w==3)return false}return true}},contains:function(g,m){g=m.charAt(0);if(g=='"'||g=="'")m=m.slice(1,-1);return function(w){return w.innerHTML.indexOf(m)>=0}},not:function(g,m){g=i(m)[0];m={el:1};if(g.tag!="*")m.tag=1;if(!g.classes.length)m.classes=1;var w=K(g,m);return function(x){return!w(x)}},"nth-child":function(g,m){g=parseInt;if(m=="odd")return v;else if(m=="even")return C;if(m.indexOf("n")!=-1){m=m.split("n",2);var w=m[0]?m[0]==
"-"?-1:g(m[0]):1,x=m[1]?g(m[1]):0,O=0,R=-1;if(w>0)if(x<0)x=x%w&&w+x%w;else{if(x>0){if(x>=w)O=x-x%w;x%=w}}else if(w<0){w*=-1;if(x>0){R=x;x%=w}}if(w>0)return function(Q){Q=A(Q);return Q>=O&&(R<0||Q<=R)&&Q%w==x};else m=x}var W=g(m);return function(Q){return A(Q)==W}}},E=a.isIE?function(g){var m=g.toLowerCase();if(m=="class")g="className";return function(w){return b?w.getAttribute(g):w[g]||w[m]}}:function(g){return function(m){return m&&m.getAttribute&&m.hasAttribute(g)}},K=function(g,m){if(!g)return c;
m=m||{};var w=null;"el"in m||(w=r(w,y));if(!("tag"in m))if(g.tag!="*")w=r(w,function(x){return x&&x.tagName==g.getTag()});"classes"in m||n(g.classes,function(x,O){var R=new RegExp("(?:^|\\s)"+x+"(?:\\s|$)");w=r(w,function(W){return R.test(W.className)});w.count=O});"pseudos"in m||n(g.pseudos,function(x){var O=x.name;if(B[O])w=r(w,B[O](O,x.value))});"attrs"in m||n(g.attrs,function(x){var O,R=x.attr;if(x.type&&t[x.type])O=t[x.type](R,x.matchFor);else if(R.length)O=E(R);if(O)w=r(w,O)});if(!("id"in m))if(g.id)w=
r(w,function(x){return!!x&&x.id==g.id});w||"default"in m||(w=c);return w},J=function(g){return function(m,w,x){for(;m=m[k];)if(!(F&&!y(m))){if((!x||fa(m,x))&&g(m))w.push(m);break}return w}},N=function(g){return function(m,w,x){for(m=m[k];m;){if(I(m)){if(x&&!fa(m,x))break;g(m)&&w.push(m)}m=m[k]}return w}},P=function(g){g=g||c;return function(m,w,x){for(var O=0,R=m[p];m=R[O++];)if(I(m)&&(!x||fa(m,x))&&g(m,O))w.push(m);return w}},M=function(g,m){for(g=g.parentNode;g;){if(g==m)break;g=g.parentNode}return!!g},
T={},$=function(g){var m=T[g.query];if(m)return m;var w=g.infixOper;w=w?w.oper:"";var x=K(g,{el:1}),O="*"==g.tag,R=h().getElementsByClassName;if(w){R={el:1};if(O)R.tag=1;x=K(g,R);if("+"==w)m=J(x);else if("~"==w)m=N(x);else if(">"==w)m=P(x)}else if(g.id){x=!g.loops&&O?c:K(g,{el:1,id:1});m=function(Q,U){var Y=a.byId(g.id,Q.ownerDocument||Q);if(Y&&x(Y))if(9==Q.nodeType)return s(Y,U);else if(M(Y,Q))return s(Y,U)}}else if(R&&/\{\s*\[native code\]\s*\}/.test(String(R))&&g.classes.length&&!o){x=K(g,{el:1,
classes:1,id:1});var W=g.classes.join(" ");m=function(Q,U,Y){U=s(0,U);for(var aa,Z=0,ea=Q.getElementsByClassName(W);aa=ea[Z++];)x(aa,Q)&&fa(aa,Y)&&U.push(aa);return U}}else if(!O&&!g.loops)m=function(Q,U,Y){U=s(0,U);for(var aa=0,Z=Q.getElementsByTagName(g.getTag());Q=Z[aa++];)fa(Q,Y)&&U.push(Q);return U};else{x=K(g,{el:1,tag:1,id:1});m=function(Q,U,Y){U=s(0,U);for(var aa,Z=0,ea=Q.getElementsByTagName(g.getTag());aa=ea[Z++];)x(aa,Q)&&fa(aa,Y)&&U.push(aa);return U}}return T[g.query]=m},pa=function(g,
m){g=s(g);for(var w,x,O=m.length,R,W,Q=0;Q<O;Q++){W=[];w=m[Q];x=g.length-1;if(x>0){R={};W.nozip=true}x=$(w);for(var U=0;w=g[U];U++)x(w,W,R);if(!W.length)break;g=W}return W},ja={},ka={},d=function(g){var m=i(e(g));if(m.length==1){var w=$(m[0]);return function(x){if(x=w(x,new q))x.nozip=true;return x}}return function(x){return pa(x,m)}},f=navigator.userAgent;f=a.isWebKit&&f.indexOf("WebKit/")>0&&parseFloat(f.split("WebKit/")[1])>528;var l=a.isIE?"commentStrip":"nozip",z=!!h().querySelectorAll&&(!a.isSafari||
a.isSafari>3.1||f),D=/n\+\d|([^ ])?([>~+])([^ =])?/g,L=function(g,m,w,x){return w?(m?m+" ":"")+w+(x?" "+x:""):g},S=function(g,m){g=g.replace(D,L);if(z){var w=ka[g];if(w&&!m)return w}if(w=ja[g])return w;w=g.charAt(0);var x=-1==g.indexOf(" ");if(g.indexOf("#")>=0&&x)m=true;if(z&&!m&&">~+".indexOf(w)==-1&&(!a.isIE||g.indexOf(":")==-1)&&!(o&&g.indexOf(".")>=0)&&g.indexOf(":contains")==-1&&g.indexOf(":checked")==-1&&g.indexOf("|=")==-1){var O=">~+".indexOf(g.charAt(g.length-1))>=0?g+" *":g;return ka[g]=
function(W){try{if(!(9==W.nodeType||x))throw"";var Q=W.querySelectorAll(O);Q[l]=true;return Q}catch(U){return S(g,true)(W)}}}else{var R=g.split(/\s*,\s*/);return ja[g]=R.length<2?d(g):function(W){for(var Q=0,U=[],Y;Y=R[Q++];)U=U.concat(d(Y)(W));return U}}},ba=0,za=a.isIE?function(g){return b?g.getAttribute("_uid")||g.setAttribute("_uid",++ba)||ba:g.uniqueID}:function(g){return g._uid||(g._uid=++ba)},fa=function(g,m){if(!m)return 1;g=za(g);if(!m[g])return m[g]=1;return 0},ga="_zipIdx",Aa=function(g){if(g&&
g.nozip)return q._wrap?q._wrap(g):g;var m=new q;if(!g||!g.length)return m;g[0]&&m.push(g[0]);if(g.length<2)return m;ba++;if(a.isIE&&b){var w=ba+"";g[0].setAttribute(ga,w);for(var x=1,O;O=g[x];x++){g[x].getAttribute(ga)!=w&&m.push(O);O.setAttribute(ga,w)}}else if(a.isIE&&g.commentStrip)try{for(x=1;O=g[x];x++)y(O)&&m.push(O)}catch(R){}else{if(g[0])g[0][ga]=ba;for(x=1;O=g[x];x++){g[x][ga]!=ba&&m.push(O);O[ga]=ba}}return m};a.query=function(g,m){q=a._NodeListCtor;if(!g)return new q;if(g.constructor==
q)return g;if(typeof g!="string")return new q(g);if(typeof m=="string"){m=a.byId(m);if(!m)return new q}m=m||h();var w=m.ownerDocument||m.documentElement;b=m.contentType&&m.contentType=="application/xml"||a.isOpera&&(m.doctype||w.toString()=="[object XMLDocument]")||!!w&&(a.isIE?w.xml:m.xmlVersion||w.xmlVersion);if((g=S(g)(m))&&g.nozip&&!q._wrap)return g;return Aa(g)};a.query.pseudos=B;a._filterQueryResult=function(g,m){var w=new a._NodeListCtor;m=K(i(m)[0]);for(var x=0,O;O=g[x];x++)m(O)&&w.push(O);
return w}})(this.queryPortability||this.acme||dojo)}if(!dojo._hasResource["dojo._base.xhr"]){dojo._hasResource["dojo._base.xhr"]=true;dojo.provide("dojo._base.xhr");(function(){function a(k,u,I){if(I!==null){var G=k[u];if(typeof G=="string")k[u]=[G,I];else if(e.isArray(G))G.push(I);else k[u]=I}}var e=dojo,n=e.config;dojo.fieldToObject=function(k){var u=null;if(k=e.byId(k)){var I=k.name,G=(k.type||"").toLowerCase();if(I&&G&&!k.disabled)if(G=="radio"||G=="checkbox"){if(k.checked)u=k.value}else if(k.multiple){u=
[];e.query("option",k).forEach(function(H){H.selected&&u.push(H.value)})}else u=k.value}return u};dojo.formToObject=function(k){var u={};e.forEach(dojo.byId(k).elements,function(I){var G=I.name,H=(I.type||"").toLowerCase();if(G&&H&&"file|submit|image|reset|button|".indexOf(H)==-1&&!I.disabled){a(u,G,e.fieldToObject(I));if(H=="image")u[G+".x"]=u[G+".y"]=u[G].x=u[G].y=0}});return u};dojo.objectToQuery=function(k){var u=encodeURIComponent,I=[],G={};for(var H in k){var A=k[H];if(A!=G[H]){var C=u(H)+"=";
if(e.isArray(A))for(var v=0;v<A.length;v++)I.push(C+u(A[v]));else I.push(C+u(A))}}return I.join("&")};dojo.formToQuery=function(k){return e.objectToQuery(e.formToObject(k))};dojo.formToJson=function(k,u){return e.toJson(e.formToObject(k),u)};dojo.queryToObject=function(k){var u={};k=k.split("&");var I=decodeURIComponent;e.forEach(k,function(G){if(G.length){var H=G.split("=");G=I(H.shift());H=I(H.join("="));if(typeof u[G]=="string")u[G]=[u[G]];if(e.isArray(u[G]))u[G].push(H);else u[G]=H}});return u};
dojo._blockAsync=false;var q=e._contentHandlers=dojo.contentHandlers={text:function(k){return k.responseText},json:function(k){return e.fromJson(k.responseText||null)},"json-comment-filtered":function(k){dojo.config.useCommentedJson||console.warn("Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&\nUse djConfig.useCommentedJson=true to turn off this message.");
k=k.responseText;var u=k.indexOf("/*"),I=k.lastIndexOf("*/");if(u==-1||I==-1)throw new Error("JSON was not comment filtered");return e.fromJson(k.substring(u+2,I))},javascript:function(k){return e.eval(k.responseText)},xml:function(k){var u=k.responseXML;if(e.isIE&&(!u||!u.documentElement)){var I=function(G){return"MSXML"+G+".DOMDocument"};I=["Microsoft.XMLDOM",I(6),I(4),I(3),I(2)];e.some(I,function(G){try{var H=new ActiveXObject(G);H.async=false;H.loadXML(k.responseText);u=H}catch(A){return false}return true})}return u},
"json-comment-optional":function(k){return k.responseText&&/^[^{\[]*\/\*/.test(k.responseText)?q["json-comment-filtered"](k):q.json(k)}};dojo._ioSetArgs=function(k,u,I,G){var H={args:k,url:k.url},A=null;if(k.form){A=e.byId(k.form);var C=A.getAttributeNode("action");H.url=H.url||(C?C.value:null);A=e.formToObject(A)}C=[{}];A&&C.push(A);k.content&&C.push(k.content);k.preventCache&&C.push({"dojo.preventCache":(new Date).valueOf()});H.query=e.objectToQuery(e.mixin.apply(null,C));H.handleAs=k.handleAs||
"text";var v=new e.Deferred(u);v.addCallbacks(I,function(J){return G(J,v)});var B=k.load;B&&e.isFunction(B)&&v.addCallback(function(J){return B.call(k,J,H)});var E=k.error;E&&e.isFunction(E)&&v.addErrback(function(J){return E.call(k,J,H)});var K=k.handle;K&&e.isFunction(K)&&v.addBoth(function(J){return K.call(k,J,H)});if(n.ioPublish&&e.publish&&H.args.ioPublish!==false){v.addCallbacks(function(J){e.publish("/dojo/io/load",[v,J]);return J},function(J){e.publish("/dojo/io/error",[v,J]);return J});v.addBoth(function(J){e.publish("/dojo/io/done",
[v,J]);return J})}v.ioArgs=H;return v};var h=function(k){k.canceled=true;var u=k.ioArgs.xhr,I=typeof u.abort;if(I=="function"||I=="object"||I=="unknown")u.abort();k=k.ioArgs.error;if(!k){k=new Error("xhr cancelled");k.dojoType="cancel"}return k},o=function(k){k=q[k.ioArgs.handleAs](k.ioArgs.xhr);return k===undefined?null:k},p=function(k,u){u.ioArgs.args.failOk||console.error(k);return k},b=null,c=[],i=0,r=function(k){if(i<=0){i=0;if(n.ioPublish&&e.publish&&(!k||k&&k.ioArgs.args.ioPublish!==false))e.publish("/dojo/io/stop")}},
s=function(){var k=(new Date).getTime();if(!e._blockAsync)for(var u=0,I;u<c.length&&(I=c[u]);u++){var G=I.dfd,H=function(){if(!G||G.canceled||!I.validCheck(G)){c.splice(u--,1);i-=1}else if(I.ioCheck(G)){c.splice(u--,1);I.resHandle(G);i-=1}else if(G.startTime)if(G.startTime+(G.ioArgs.args.timeout||0)<k){c.splice(u--,1);var C=new Error("timeout exceeded");C.dojoType="timeout";G.errback(C);G.cancel();i-=1}};if(dojo.config.debugAtAllCosts)H.call(this);else try{H.call(this)}catch(A){G.errback(A)}}r(G);
if(!c.length){clearInterval(b);b=null}};dojo._ioCancelAll=function(){try{e.forEach(c,function(u){try{u.dfd.cancel()}catch(I){}})}catch(k){}};e.isIE&&e.addOnWindowUnload(e._ioCancelAll);e._ioNotifyStart=function(k){if(n.ioPublish&&e.publish&&k.ioArgs.args.ioPublish!==false){i||e.publish("/dojo/io/start");i+=1;e.publish("/dojo/io/send",[k])}};e._ioWatch=function(k,u,I,G){var H=k.ioArgs.args;if(H.timeout)k.startTime=(new Date).getTime();c.push({dfd:k,validCheck:u,ioCheck:I,resHandle:G});b||(b=setInterval(s,
50));H.sync&&s()};var y="application/x-www-form-urlencoded",j=function(k){return k.ioArgs.xhr.readyState},t=function(k){return 4==k.ioArgs.xhr.readyState},F=function(k){var u=k.ioArgs.xhr;if(e._isDocumentOk(u))k.callback(k);else{var I=new Error("Unable to load "+k.ioArgs.url+" status:"+u.status);I.status=u.status;I.responseText=u.responseText;k.errback(I)}};dojo._ioAddQueryToUrl=function(k){if(k.query.length){k.url+=(k.url.indexOf("?")==-1?"?":"&")+k.query;k.query=null}};dojo.xhr=function(k,u,I){var G=
e._ioSetArgs(u,h,o,p),H=G.ioArgs,A=H.xhr=e._xhrObj(H.args);if(!A){G.cancel();return G}if("postData"in u)H.query=u.postData;else if("putData"in u)H.query=u.putData;else if("rawBody"in u)H.query=u.rawBody;else if(arguments.length>2&&!I||"POST|PUT".indexOf(k.toUpperCase())==-1)e._ioAddQueryToUrl(H);A.open(k,H.url,u.sync!==true,u.user||undefined,u.password||undefined);if(u.headers)for(var C in u.headers)if(C.toLowerCase()==="content-type"&&!u.contentType)u.contentType=u.headers[C];else u.headers[C]&&
A.setRequestHeader(C,u.headers[C]);A.setRequestHeader("Content-Type",u.contentType||y);if(!u.headers||!("X-Requested-With"in u.headers))A.setRequestHeader("X-Requested-With","XMLHttpRequest");e._ioNotifyStart(G);if(dojo.config.debugAtAllCosts)A.send(H.query);else try{A.send(H.query)}catch(v){H.error=v;G.cancel()}e._ioWatch(G,j,t,F);return G};dojo.xhrGet=function(k){return e.xhr("GET",k)};dojo.rawXhrPost=dojo.xhrPost=function(k){return e.xhr("POST",k,true)};dojo.rawXhrPut=dojo.xhrPut=function(k){return e.xhr("PUT",
k,true)};dojo.xhrDelete=function(k){return e.xhr("DELETE",k)}})()}if(!dojo._hasResource["dojo._base.fx"]){dojo._hasResource["dojo._base.fx"]=true;dojo.provide("dojo._base.fx");(function(){var a=dojo,e=a._mixin;dojo._Line=function(b,c){this.start=b;this.end=c};dojo._Line.prototype.getValue=function(b){return(this.end-this.start)*b+this.start};dojo.Animation=function(b){e(this,b);if(a.isArray(this.curve))this.curve=new a._Line(this.curve[0],this.curve[1])};a._Animation=a.Animation;a.extend(dojo.Animation,
{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var b=this._percent,c=this.easing;return c?c(b):b},_fire:function(b,c){c=c||[];if(this[b])if(a.config.debugAtAllCosts)this[b].apply(this,c);else try{this[b].apply(this,c)}catch(i){console.error("exception in animation handler for:",b);console.error(i)}return this},play:function(b,c){var i=this;i._delayTimer&&i._clearTimer();if(c){i._stopTimer();i._active=i._paused=false;i._percent=0}else if(i._active&&!i._paused)return i;
i._fire("beforeBegin",[i.node]);b=b||i.delay;var r=dojo.hitch(i,"_play",c);if(b>0){i._delayTimer=setTimeout(r,b);return i}r();return i},_play:function(){var b=this;b._delayTimer&&b._clearTimer();b._startTime=(new Date).valueOf();if(b._paused)b._startTime-=b.duration*b._percent;b._active=true;b._paused=false;var c=b.curve.getValue(b._getStep());if(!b._percent){if(!b._startRepeatCount)b._startRepeatCount=b.repeat;b._fire("onBegin",[c])}b._fire("onPlay",[c]);b._cycle();return b},pause:function(){var b=
this;b._delayTimer&&b._clearTimer();b._stopTimer();if(!b._active)return b;b._paused=true;b._fire("onPause",[b.curve.getValue(b._getStep())]);return b},gotoPercent:function(b,c){var i=this;i._stopTimer();i._active=i._paused=true;i._percent=b;c&&i.play();return i},stop:function(b){var c=this;c._delayTimer&&c._clearTimer();if(!c._timer)return c;c._stopTimer();if(b)c._percent=1;c._fire("onStop",[c.curve.getValue(c._getStep())]);c._active=c._paused=false;return c},status:function(){if(this._active)return this._paused?
"paused":"playing";return"stopped"},_cycle:function(){var b=this;if(b._active){var c=((new Date).valueOf()-b._startTime)/b.duration;if(c>=1)c=1;b._percent=c;if(b.easing)c=b.easing(c);b._fire("onAnimate",[b.curve.getValue(c)]);if(b._percent<1)b._startTimer();else{b._active=false;if(b.repeat>0){b.repeat--;b.play(null,true)}else if(b.repeat==-1)b.play(null,true);else if(b._startRepeatCount){b.repeat=b._startRepeatCount;b._startRepeatCount=0}b._percent=0;b._fire("onEnd",[b.node]);!b.repeat&&b._stopTimer()}}return b},
_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer}});var n=0,q=null,h={run:function(){}};a.extend(a.Animation,{_startTimer:function(){if(!this._timer){this._timer=a.connect(h,"run",this,"_cycle");n++}q||(q=setInterval(a.hitch(h,"run"),this.rate))},_stopTimer:function(){if(this._timer){a.disconnect(this._timer);this._timer=null;n--}if(n<=0){clearInterval(q);q=null;n=0}}});var o=a.isIE?function(b){var c=b.style;if(!c.width.length&&a.style(b,"width")=="auto")c.width="auto"}:
function(){};dojo._fade=function(b){b.node=a.byId(b.node);var c=e({properties:{}},b);b=c.properties.opacity={};b.start=!("start"in c)?function(){return+a.style(c.node,"opacity")||0}:c.start;b.end=c.end;b=a.animateProperty(c);a.connect(b,"beforeBegin",a.partial(o,c.node));return b};dojo.fadeIn=function(b){return a._fade(e({end:1},b))};dojo.fadeOut=function(b){return a._fade(e({end:0},b))};dojo._defaultEasing=function(b){return 0.5+Math.sin((b+1.5)*Math.PI)/2};var p=function(b){this._properties=b;for(var c in b){var i=
b[c];if(i.start instanceof a.Color)i.tempColor=new a.Color}};p.prototype.getValue=function(b){var c={};for(var i in this._properties){var r=this._properties[i],s=r.start;if(s instanceof a.Color)c[i]=a.blendColors(s,r.end,b,r.tempColor).toCss();else a.isArray(s)||(c[i]=(r.end-s)*b+s+(i!="opacity"?r.units||"px":0))}return c};dojo.animateProperty=function(b){var c=b.node=a.byId(b.node);if(!b.easing)b.easing=a._defaultEasing;b=new a.Animation(b);a.connect(b,"beforeBegin",b,function(){var i={};for(var r in this.properties){if(r==
"width"||r=="height")this.node.display="block";var s=this.properties[r];if(a.isFunction(s))s=s(c);s=i[r]=e({},a.isObject(s)?s:{end:s});if(a.isFunction(s.start))s.start=s.start(c);if(a.isFunction(s.end))s.end=s.end(c);var y=r.toLowerCase().indexOf("color")>=0;function j(t,F){var k={height:t.offsetHeight,width:t.offsetWidth}[F];if(k!==undefined)return k;k=a.style(t,F);return F=="opacity"?+k:y?k:parseFloat(k)}if("end"in s){if(!("start"in s))s.start=j(c,r)}else s.end=j(c,r);if(y){s.start=new a.Color(s.start);
s.end=new a.Color(s.end)}else s.start=r=="opacity"?+s.start:parseFloat(s.start)}this.curve=new p(i)});a.connect(b,"onAnimate",a.hitch(a,"style",b.node));return b};dojo.anim=function(b,c,i,r,s,y){return a.animateProperty({node:b,duration:i||a.Animation.prototype.duration,properties:c,easing:r,onEnd:s}).play(y||0)}})()}if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");dojo.forEach(dojo.config.require,function(a){dojo.require(a)})}if(dojo.isBrowser&&
(document.readyState==="complete"||dojo.config.afterOnLoad))window.setTimeout(dojo._loadInit,100)})();

