/* Copyright (c) 2004-2007, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing */ /* This is a compiled version of Dojo, built for deployment and not for development. To get an editable version, please visit: http://dojotoolkit.org for documentation and information on getting the source. */ if(typeof dojo=="undefined"){(function(){if(typeof this["djConfig"]=="undefined"){this.djConfig={};}if((!this["console"])||(!console["firebug"])){this.console={};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","log","profile","profileEnd","time","timeEnd","trace","warn"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){console[tn]=function(){};}}if(typeof this["dojo"]=="undefined"){this.dojo={};}var d=dojo;dojo.global=this;var _5={isDebug:false,libraryScriptUri:"",preventBackButtonFix:true,delayMozLoadingFix:false};for(var _6 in _5){if(typeof djConfig[_6]=="undefined"){djConfig[_6]=_5[_6];}}var _7=["Browser","Rhino","Spidermonkey","Mobile"];var t;while(t=_7.shift()){d["is"+t]=false;}dojo.locale=djConfig.locale;dojo.version={major:1,minor:0,patch:2,flag:"",revision:Number("$Rev: 11832 $".match(/[0-9]+/)[0]),toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary("dojo","http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(_9,_a){var _b={};for(var x in _a){if(_b[x]===undefined||_b[x]!=_a[x]){_9[x]=_a[x];}}if(d["isIE"]&&_a){var p=_a.toString;if(typeof p=="function"&&p!=_9.toString&&p!=_b.toString&&p!="\nfunction toString() {\n [native code]\n}\n"){_9.toString=_a.toString;}}return _9;};dojo.mixin=function(_e,_f){for(var i=1,l=arguments.length;i0){d._callLoaded();}};dojo.unloaded=function(){var mll=this._unloaders;while(mll.length){(mll.pop())();}};dojo.addOnLoad=function(obj,_39){if(arguments.length==1){d._loaders.push(obj);}else{if(arguments.length>1){d._loaders.push(function(){obj[_39]();});}}if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){d._callLoaded();}};dojo.addOnUnload=function(obj,_3b){if(arguments.length==1){d._unloaders.push(obj);}else{if(arguments.length>1){d._unloaders.push(function(){obj[_3b]();});}}};dojo._modulesLoaded=function(){if(d._postLoad){return;}if(d._inFlightCount>0){console.debug("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(djConfig["useXDomain"]&&d.isOpera)){setTimeout("dojo.loaded();",0);}else{d.loaded();}};dojo._getModuleSymbols=function(_3c){var _3d=_3c.split(".");for(var i=_3d.length;i>0;i--){var _3f=_3d.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_3f)){_3d[0]="../"+_3d[0];}else{var _40=this._getModulePrefix(_3f);if(_40!=_3f){_3d.splice(0,i,_40);break;}}}return _3d;};dojo._global_omit_module_check=false;dojo._loadModule=dojo.require=function(_41,_42){_42=this._global_omit_module_check||_42;var _43=this._loadedModules[_41];if(_43){return _43;}var _44=this._getModuleSymbols(_41).join("/")+".js";var _45=(!_42)?_41:null;var ok=this._loadPath(_44,_45);if((!ok)&&(!_42)){throw new Error("Could not load '"+_41+"'; last tried '"+_44+"'");}if((!_42)&&(!this["_isXDomain"])){_43=this._loadedModules[_41];if(!_43){throw new Error("symbol '"+_41+"' is not defined after loading '"+_44+"'");}}return _43;};dojo.provide=function(_47){_47=_47+"";return (d._loadedModules[_47]=d.getObject(_47,true));};dojo.platformRequire=function(_48){var _49=_48["common"]||[];var _4a=_49.concat(_48[d._name]||_48["default"]||[]);for(var x=0;x<_4a.length;x++){var _4c=_4a[x];if(_4c.constructor==Array){d._loadModule.apply(d,_4c);}else{d._loadModule(_4c);}}};dojo.requireIf=function(_4d,_4e){if(_4d===true){var _4f=[];for(var i=1;i0&&!(j==1&&_60[0]=="")&&_60[j]==".."&&_60[j-1]!=".."){if(j==(_60.length-1)){_60.splice(j,1);_60[j-1]="";}else{_60.splice(j-1,2);j-=2;}}}}_5d.path=_60.join("/");}}}}uri="";if(_5d.scheme){uri+=_5d.scheme+":";}if(_5d.authority){uri+="//"+_5d.authority;}uri+=_5d.path;if(_5d.query){uri+="?"+_5d.query;}if(_5d.fragment){uri+="#"+_5d.fragment;}}this.uri=uri.toString();var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[5];this.port=r[7]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_63,url){var loc=dojo._getModuleSymbols(_63).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _66=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_66==-1||_66>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 _68=document.getElementsByTagName("script");var _69=/dojo(\.xd)?\.js([\?\.]|$)/i;for(var i=0;i<_68.length;i++){var src=_68[i].getAttribute("src");if(!src){continue;}var m=src.match(_69);if(m){if(!djConfig["baseUrl"]){djConfig["baseUrl"]=src.substring(0,m.index);}var cfg=_68[i].getAttribute("djConfig");if(cfg){var _6e=eval("({ "+cfg+" })");for(var x in _6e){djConfig[x]=_6e[x];}}break;}}}d.baseUrl=djConfig["baseUrl"];var n=navigator;var dua=n.userAgent;var dav=n.appVersion;var tv=parseFloat(dav);d.isOpera=(dua.indexOf("Opera")>=0)?tv:0;d.isKhtml=(dav.indexOf("Konqueror")>=0)||(dav.indexOf("Safari")>=0)?tv:0;if(dav.indexOf("Safari")>=0){d.isSafari=parseFloat(dav.split("Version/")[1])||2;}var _74=dua.indexOf("Gecko");d.isMozilla=d.isMoz=((_74>=0)&&(!d.isKhtml))?tv:0;d.isFF=0;d.isIE=0;try{if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1].split(" ")[0]);}if((document.all)&&(!d.isOpera)){d.isIE=parseFloat(dav.split("MSIE ")[1].split(";")[0]);}}catch(e){}if(dojo.isIE&&(window.location.protocol==="file:")){djConfig.ieForceActiveXXhr=true;}var cm=document["compatMode"];d.isQuirks=(cm=="BackCompat")||(cm=="QuirksMode")||(d.isIE<6);d.locale=djConfig.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._println=console.debug;d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _76=null;var _77=null;if(!dojo.isIE||!djConfig.ieForceActiveXXhr){try{_76=new XMLHttpRequest();}catch(e){}}if(!_76){for(var i=0;i<3;++i){var _79=dojo._XMLHTTP_PROGIDS[i];try{_76=new ActiveXObject(_79);}catch(e){_77=e;}if(_76){dojo._XMLHTTP_PROGIDS=[_79];break;}}}if(!_76){throw new Error("XMLHTTP not available: "+_77);}return _76;};d._isDocumentOk=function(_7a){var _7b=_7a.status||0;return ((_7b>=200)&&(_7b<300))||(_7b==304)||(_7b==1223)||(!_7b&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _7c=window.location+"";var _7d=document.getElementsByTagName("base");var _7e=(_7d&&_7d.length>0);d._getText=function(uri,_80){var _81=this._xhrObj();if(!_7e&&dojo._Url){uri=(new dojo._Url(_7c,uri)).toString();}_81.open("GET",uri,false);try{_81.send(null);if(!d._isDocumentOk(_81)){var err=Error("Unable to load "+uri+" status:"+_81.status);err.status=_81.status;err.responseText=_81.responseText;throw err;}}catch(e){if(_80){return null;}throw e;}return _81.responseText;};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _84=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_84!="domcontentloaded"&&_84!="load")){return;}arguments.callee.initialized=true;if(typeof dojo["_khtmlTimer"]!="undefined"){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};if(document.addEventListener){if(dojo.isOpera||(dojo.isMoz&&(djConfig["enableMozDomContentLoaded"]===true))){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}if(/(WebKit|khtml)/i.test(navigator.userAgent)){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}(function(){var _w=window;var _86=function(_87,fp){var _89=_w[_87]||function(){};_w[_87]=function(){fp.apply(_w,arguments);_89.apply(_w,arguments);};};if(dojo.isIE){document.write(""+"");var _8a=true;_86("onbeforeunload",function(){_w.setTimeout(function(){_8a=false;},0);});_86("onunload",function(){if(_8a){dojo.unloaded();}});try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}catch(e){}}else{_86("onbeforeunload",function(){dojo.unloaded();});}})();}if(djConfig.isDebug){dojo.require("dojo._firebug.firebug");}if(djConfig.debugAtAllCosts){djConfig.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");dojo.require("dojo.i18n");}}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");dojo.isString=function(it){return typeof it=="string"||it instanceof String;};dojo.isArray=function(it){return it&&it instanceof Array||typeof it=="array";};dojo.isFunction=(function(){var _8d=function(it){return typeof it=="function"||it instanceof Function;};return dojo.isSafari?function(it){if(typeof it=="function"&&it=="[object NodeList]"){return false;}return _8d(it);}:_8d;})();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(_94,_95){for(var i=1,l=arguments.length;i2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_9f){_9f=_9e;_9e=null;}if(dojo.isString(_9f)){_9e=_9e||dojo.global;if(!_9e[_9f]){throw (["dojo.hitch: scope[\"",_9f,"\"] is null (scope=\"",_9e,"\")"].join(""));}return function(){return _9e[_9f].apply(_9e,arguments||[]);};}return !_9e?_9f:function(){return _9f.apply(_9e,arguments||[]);};};dojo.delegate=dojo._delegate=function(obj,_a1){function TMP(){};TMP.prototype=obj;var tmp=new TMP();if(_a1){dojo.mixin(tmp,_a1);}return tmp;};dojo.partial=function(_a3){var arr=[null];return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));};dojo._toArray=function(obj,_a6,_a7){var arr=_a7||[];for(var x=_a6||0;x3)){dojo.deprecated("dojo.declare: for class '"+_ae+"' pass initializer function as 'constructor' property instead of as a separate argument.","","1.0");var c=_b0;_b0=arguments[3]||{};_b0.constructor=c;}var dd=arguments.callee,_b3=null;if(dojo.isArray(_af)){_b3=_af;_af=_b3.shift();}if(_b3){for(var i=0,m;i<_b3.length;i++){m=_b3[i];if(!m){throw ("Mixin #"+i+" to declaration of "+_ae+" is null. It's likely a required module is not loaded.");}_af=dd._delegate(_af,m);}}var _b6=(_b0||0).constructor,_b7=dd._delegate(_af),fn;for(var i in _b0){if(dojo.isFunction(fn=_b0[i])&&(!0[i])){fn.nom=i;}}dojo.extend(_b7,{declaredClass:_ae,_constructor:_b6,preamble:null},_b0||0);_b7.prototype.constructor=_b7;return dojo.setObject(_ae,_b7);};dojo.mixin(dojo.declare,{_delegate:function(_b9,_ba){var bp=(_b9||0).prototype,mp=(_ba||0).prototype;var _bd=dojo.declare._makeCtor();dojo.mixin(_bd,{superclass:bp,mixin:mp,extend:dojo.declare._extend});if(_b9){_bd.prototype=dojo._delegate(bp);}dojo.extend(_bd,dojo.declare._core,mp||0,{_constructor:null,preamble:null});_bd.prototype.constructor=_bd;_bd.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;return _bd;},_extend:function(_be){for(var i in _be){if(dojo.isFunction(fn=_be[i])&&(!0[i])){fn.nom=i;}}dojo.extend(this,_be);},_makeCtor:function(){return function(){this._construct(arguments);};},_core:{_construct:function(_c0){var c=_c0.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=_c0,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,_c0);}if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){ct.apply(this,_c0);}},_findMixin:function(_c9){var c=this.constructor,p,m;while(c){p=c.superclass;m=c.mixin;if(m==_c9||(m instanceof _c9.constructor)){return p;}if(m&&(m=m._findMixin(_c9))){return m;}c=p&&p.constructor;}},_findMethod:function(_cd,_ce,_cf,has){var p=_cf,c,m,f;do{c=p.constructor;m=c.mixin;if(m&&(m=this._findMethod(_cd,_ce,m,has))){return m;}if((f=p[_cd])&&(has==(f==_ce))){return p;}p=c.superclass;}while(p);return !has&&(p=this._findMixin(_cf))&&this._findMethod(_cd,_ce,p,has);},inherited:function(_d5,_d6,_d7){var a=arguments;if(!dojo.isString(a[0])){_d7=_d6;_d6=_d5;_d5=_d6.callee.nom;}var c=_d6.callee,p=this.constructor.prototype,a=_d7||_d6,fn,mp;if(this[_d5]!=c||p[_d5]==c){mp=this._findMethod(_d5,c,p,true);if(!mp){throw (this.declaredClass+": name argument (\""+_d5+"\") to inherited must match callee (declare.js)");}p=this._findMethod(_d5,c,mp,false);}fn=p&&p[_d5];if(!fn){console.debug(mp.declaredClass+": no inherited \""+_d5+"\" was found (declare.js)");return;}return fn.apply(this,a);}}});}if(!dojo._hasResource["dojo._base.connect"]){dojo._hasResource["dojo._base.connect"]=true;dojo.provide("dojo._base.connect");dojo._listener={getDispatcher:function(){return function(){var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target;var r=t&&t.apply(this,arguments);for(var i in ls){if(!(i in ap)){ls[i].apply(this,arguments);}}return r;};},add:function(_e3,_e4,_e5){_e3=_e3||dojo.global;var f=_e3[_e4];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_e3[_e4]=d;}return f._listeners.push(_e5);},remove:function(_e8,_e9,_ea){var f=(_e8||dojo.global)[_e9];if(f&&f._listeners&&_ea--){delete f._listeners[_ea];}}};dojo.connect=function(obj,_ed,_ee,_ef,_f0){var a=arguments,_f2=[],i=0;_f2.push(dojo.isString(a[0])?null:a[i++],a[i++]);var a1=a[i+1];_f2.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);for(var l=a.length;i2){_115=dojo.partial(_115,arguments,2);}return this.addCallbacks(_115,_115);},addCallback:function(cb,cbfn){var _118=dojo.hitch(cb,cbfn);if(arguments.length>2){_118=dojo.partial(_118,arguments,2);}return this.addCallbacks(_118,null);},addErrback:function(cb,cbfn){var _11b=dojo.hitch(cb,cbfn);if(arguments.length>2){_11b=dojo.partial(_11b,arguments,2);}return this.addCallbacks(null,_11b);},addCallbacks:function(cb,eb){this.chain.push([cb,eb]);if(this.fired>=0){this._fire();}return this;},_fire:function(){var _11e=this.chain;var _11f=this.fired;var res=this.results[_11f];var self=this;var cb=null;while((_11e.length>0)&&(this.paused==0)){var f=_11e.shift()[_11f];if(!f){continue;}try{res=f(res);_11f=((res instanceof Error)?1:0);if(res instanceof dojo.Deferred){cb=function(res){self._resback(res);self.paused--;if((self.paused==0)&&(self.fired>=0)){self._fire();}};this.paused++;}}catch(err){console.debug(err);_11f=1;res=err;}}this.fired=_11f;this.results[_11f]=res;if((cb)&&(this.paused)){res.addBoth(cb);}}});}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(json){try{return eval("("+json+")");}catch(e){console.debug(e);return json;}};dojo._escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_128,_129){_129=_129||"";var _12a=(_128?_129+dojo.toJsonIndentStr:"");var _12b=(_128?"\n":"");var _12c=typeof (it);if(_12c=="undefined"){return "undefined";}else{if((_12c=="number")||(_12c=="boolean")){return it+"";}else{if(it===null){return "null";}}}if(dojo.isString(it)){return dojo._escapeString(it);}if(it.nodeType&&it.cloneNode){return "";}var _12d=arguments.callee;var _12e;if(typeof it.__json__=="function"){_12e=it.__json__();if(it!==_12e){return _12d(_12e,_128,_12a);}}if(typeof it.json=="function"){_12e=it.json();if(it!==_12e){return _12d(_12e,_128,_12a);}}if(dojo.isArray(it)){var res=[];for(var i=0;i>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new dojo.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=dojo.Color.named[str];return a&&dojo.colorFromArray(a,obj)||dojo.colorFromRgb(str,obj)||dojo.colorFromHex(str,obj);};}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");(function(){if(djConfig.require){for(var x=0;x90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_1e9||evt.ctrlKey){var c=(_1e9?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;_1c6(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_1c6(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,_1ee){var faux=dojo.mixin({},evt,_1ee);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_1f1){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,_1f4){switch(evt.type){case "keypress":var c=evt.charCode,s=evt.shiftKey,k=evt.keyCode;k=k||_1f8[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,_1f8={"Up":dk.UP_ARROW,"Down":dk.DOWN_ARROW,"Left":dk.LEFT_ARROW,"Right":dk.RIGHT_ARROW,"PageUp":dk.PAGE_UP,"PageDown":dk.PAGE_DOWN};}})();if(dojo.isIE){dojo._getIeDispatcher=function(){return function(){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=arguments.callee,ls=c._listeners,t=h[c.target];var r=t&&t.apply(this,arguments);for(var i in ls){if(!(i in ap)){h[ls[i]].apply(this,arguments);}}return r;};};dojo._event_listener._fixCallback=function(fp){var f=dojo._event_listener._fixEvent;return function(e){return fp.call(this,f(e,this));};};}}if(!dojo._hasResource["dojo._base.html"]){dojo._hasResource["dojo._base.html"]=true;dojo.provide("dojo._base.html");try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}if(dojo.isIE||dojo.isOpera){dojo.byId=function(id,doc){if(dojo.isString(id)){var _d=doc||dojo.doc;var te=_d.getElementById(id);if(te&&te.attributes.id.value==id){return te;}else{var eles=_d.all[id];if(!eles){return;}if(!eles.length){return eles;}var i=0;while((te=eles[i++])){if(te.attributes.id.value==id){return te;}}}}else{return id;}};}else{dojo.byId=function(id,doc){if(dojo.isString(id)){return (doc||dojo.doc).getElementById(id);}else{return id;}};}(function(){var _20c=null;dojo._destroyElement=function(node){node=dojo.byId(node);try{if(!_20c){_20c=document.createElement("div");}_20c.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_20c.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_20f){try{node=dojo.byId(node);_20f=dojo.byId(_20f);while(node){if(node===_20f){return true;}node=node.parentNode;}}catch(e){return -1;}return false;};dojo.setSelectable=function(node,_211){node=dojo.byId(node);if(dojo.isMozilla){node.style.MozUserSelect=_211?"":"none";}else{if(dojo.isKhtml){node.style.KhtmlUserSelect=_211?"auto":"none";}else{if(dojo.isIE){node.unselectable=_211?"":"on";dojo.query("*",node).forEach(function(_212){_212.unselectable=_211?"":"on";});}}}};var _213=function(node,ref){ref.parentNode.insertBefore(node,ref);return true;};var _216=function(node,ref){var pn=ref.parentNode;if(ref==pn.lastChild){pn.appendChild(node);}else{return _213(node,ref.nextSibling);}return true;};dojo.place=function(node,_21b,_21c){if(!node||!_21b||_21c===undefined){return false;}node=dojo.byId(node);_21b=dojo.byId(_21b);if(typeof _21c=="number"){var cn=_21b.childNodes;if((_21c==0&&cn.length==0)||cn.length==_21c){_21b.appendChild(node);return true;}if(_21c==0){return _213(node,_21b.firstChild);}return _216(node,cn[_21c-1]);}switch(_21c.toLowerCase()){case "before":return _213(node,_21b);case "after":return _216(node,_21b);case "first":if(_21b.firstChild){return _213(node,_21b.firstChild);}else{_21b.appendChild(node);return true;}break;default:_21b.appendChild(node);return true;}};dojo.boxModel="content-box";if(dojo.isIE){var _dcm=document.compatMode;dojo.boxModel=(_dcm=="BackCompat")||(_dcm=="QuirksMode")||(dojo.isIE<6)?"border-box":"content-box";}var gcs,dv=document.defaultView;if(dojo.isSafari){gcs=function(node){var s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}return s||{};};}else{if(dojo.isIE){gcs=function(node){return node.currentStyle;};}else{gcs=function(node){return dv.getComputedStyle(node,null);};}}dojo.getComputedStyle=gcs;if(!dojo.isIE){dojo._toPixelValue=function(_225,_226){return parseFloat(_226)||0;};}else{dojo._toPixelValue=function(_227,_228){if(!_228){return 0;}if(_228=="medium"){return 4;}if(_228.slice&&(_228.slice(-2)=="px")){return parseFloat(_228);}with(_227){var _229=style.left;var _22a=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_228;_228=style.pixelLeft;}catch(e){_228=0;}style.left=_229;runtimeStyle.left=_22a;}return _228;};}dojo._getOpacity=(dojo.isIE?function(node){try{return (node.filters.alpha.opacity/100);}catch(e){return 1;}}:function(node){return dojo.getComputedStyle(node).opacity;});dojo._setOpacity=(dojo.isIE?function(node,_22e){if(_22e==1){node.style.cssText=node.style.cssText.replace(/FILTER:[^;]*;/i,"");if(node.nodeName.toLowerCase()=="tr"){dojo.query("> td",node).forEach(function(i){i.style.cssText=i.style.cssText.replace(/FILTER:[^;]*;/i,"");});}}else{var o="Alpha(Opacity="+(_22e*100)+")";node.style.filter=o;}if(node.nodeName.toLowerCase()=="tr"){dojo.query("> td",node).forEach(function(i){i.style.filter=o;});}return _22e;}:function(node,_233){return node.style.opacity=_233;});var _234={width:true,height:true,left:true,top:true};var _235=function(node,type,_238){type=type.toLowerCase();if(_234[type]===true){return dojo._toPixelValue(node,_238);}else{if(_234[type]===false){return _238;}else{if(dojo.isOpera&&type=="cssText"){}if((type.indexOf("margin")>=0)||(type.indexOf("padding")>=0)||(type.indexOf("width")>=0)||(type.indexOf("height")>=0)||(type.indexOf("max")>=0)||(type.indexOf("min")>=0)||(type.indexOf("offset")>=0)){_234[type]=true;return dojo._toPixelValue(node,_238);}else{_234[type]=false;return _238;}}}};dojo.style=function(node,_23a,_23b){var n=dojo.byId(node),args=arguments.length,op=(_23a=="opacity");if(args==3){return op?dojo._setOpacity(n,_23b):n.style[_23a]=_23b;}if(args==2&&op){return dojo._getOpacity(n);}var s=dojo.getComputedStyle(n);return (args==1)?s:_235(n,_23a,s[_23a]);};dojo._getPadExtents=function(n,_241){var s=_241||gcs(n),px=dojo._toPixelValue,l=px(n,s.paddingLeft),t=px(n,s.paddingTop);return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};};dojo._getBorderExtents=function(n,_247){var ne="none",px=dojo._toPixelValue,s=_247||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,_24e){var s=_24e||gcs(n),p=dojo._getPadExtents(n,s),b=dojo._getBorderExtents(n,s);return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};};dojo._getMarginExtents=function(n,_253){var s=_253||gcs(n),px=dojo._toPixelValue,l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(dojo.isSafari&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_25b){var s=_25b||gcs(node),me=dojo._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t;if(dojo.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{var p=node.parentNode;if(p&&p.style){var pcs=gcs(p);if(pcs.overflow!="visible"){var be=dojo._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else{if(dojo.isOpera){var p=node.parentNode;if(p){var be=dojo._getBorderExtents(p);l-=be.l,t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_266){var s=_266||gcs(node),pe=dojo._getPadExtents(node,s),be=dojo._getBorderExtents(node,s),w=node.clientWidth,h;if(!w){w=node.offsetWidth,h=node.offsetHeight;}else{h=node.clientHeight,be.w=be.h=0;}if(dojo.isOpera){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};dojo._getBorderBox=function(node,_26d){var s=_26d||gcs(node),pe=dojo._getPadExtents(node,s),cb=dojo._getContentBox(node,s);return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};};dojo._setBox=function(node,l,t,w,h,u){u=u||"px";with(node.style){if(!isNaN(l)){left=l+u;}if(!isNaN(t)){top=t+u;}if(w>=0){width=w+u;}if(h>=0){height=h+u;}}};dojo._usesBorderBox=function(node){var n=node.tagName;return dojo.boxModel=="border-box"||n=="TABLE"||n=="BUTTON";};dojo._setContentSize=function(node,_27a,_27b,_27c){var bb=dojo._usesBorderBox(node);if(bb){var pb=dojo._getPadBorderExtents(node,_27c);if(_27a>=0){_27a+=pb.w;}if(_27b>=0){_27b+=pb.h;}}dojo._setBox(node,NaN,NaN,_27a,_27b);};dojo._setMarginBox=function(node,_280,_281,_282,_283,_284){var s=_284||dojo.getComputedStyle(node);var bb=dojo._usesBorderBox(node),pb=bb?_288:dojo._getPadBorderExtents(node,s),mb=dojo._getMarginExtents(node,s);if(_282>=0){_282=Math.max(_282-pb.w-mb.w,0);}if(_283>=0){_283=Math.max(_283-pb.h-mb.h,0);}dojo._setBox(node,_280,_281,_282,_283);};var _288={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=dojo.byId(node),s=gcs(n),b=box;return !b?dojo._getMarginBox(n,s):dojo._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=dojo.byId(node),s=gcs(n),b=box;return !b?dojo._getContentBox(n,s):dojo._setContentSize(n,b.w,b.h,s);};var _294=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_298=0,_b=dojo.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_298+=val-0;if(node==_b){break;}}node=node.parentNode;}return _298;};dojo._docScroll=function(){var _b=dojo.body();var _w=dojo.global;var de=dojo.doc.documentElement;return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||dojo._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};};dojo._isBodyLtr=function(){return !("_bodyLtr" in dojo)?dojo._bodyLtr=dojo.getComputedStyle(dojo.body()).direction=="ltr":dojo._bodyLtr;};dojo._getIeDocumentElementOffset=function(){var de=dojo.doc.documentElement;if(dojo.isIE>=7){return {x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top};}else{return {x:dojo._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};}};dojo._fixIeBiDiScrollLeft=function(_29e){if(dojo.isIE&&!dojo._isBodyLtr()){var de=dojo.doc.documentElement;return _29e+de.clientWidth-de.scrollWidth;}return _29e;};dojo._abs=function(node,_2a1){var _2a2=node.ownerDocument;var ret={x:0,y:0};var _2a4=false;var db=dojo.body();if(dojo.isIE){var _2a6=node.getBoundingClientRect();var _2a7=dojo._getIeDocumentElementOffset();ret.x=_2a6.left-_2a7.x;ret.y=_2a6.top-_2a7.y;}else{if(_2a2["getBoxObjectFor"]){var bo=_2a2.getBoxObjectFor(node);ret.x=bo.x-_294(node,"scrollLeft");ret.y=bo.y-_294(node,"scrollTop");}else{if(node["offsetParent"]){_2a4=true;var _2a9;if(dojo.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){_2a9=db;}else{_2a9=db.parentNode;}if(node.parentNode!=db){var nd=node;if(dojo.isOpera||(dojo.isSafari>=3)){nd=db;}ret.x-=_294(nd,"scrollLeft");ret.y-=_294(nd,"scrollTop");}var _2ab=node;do{var n=_2ab["offsetLeft"];if(!dojo.isOpera||n>0){ret.x+=isNaN(n)?0:n;}var m=_2ab["offsetTop"];ret.y+=isNaN(m)?0:m;_2ab=_2ab.offsetParent;}while((_2ab!=_2a9)&&_2ab);}else{if(node["x"]&&node["y"]){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}}if(_2a4||_2a1){var _2ae=dojo._docScroll();var m=_2a4?(!_2a1?-1:0):1;ret.y+=m*_2ae.y;ret.x+=m*_2ae.x;}return ret;};dojo.coords=function(node,_2b0){var n=dojo.byId(node),s=gcs(n),mb=dojo._getMarginBox(n,s);var abs=dojo._abs(n,_2b0);mb.x=abs.x;mb.y=abs.y;return mb;};})();dojo.hasClass=function(node,_2b6){return ((" "+dojo.byId(node).className+" ").indexOf(" "+_2b6+" ")>=0);};dojo.addClass=function(node,_2b8){node=dojo.byId(node);var cls=node.className;if((" "+cls+" ").indexOf(" "+_2b8+" ")<0){node.className=cls+(cls?" ":"")+_2b8;}};dojo.removeClass=function(node,_2bb){node=dojo.byId(node);var t=dojo.trim((" "+node.className+" ").replace(" "+_2bb+" "," "));if(node.className!=t){node.className=t;}};dojo.toggleClass=function(node,_2be,_2bf){if(_2bf===undefined){_2bf=!dojo.hasClass(node,_2be);}dojo[_2bf?"addClass":"removeClass"](node,_2be);};}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var d=dojo;var tnl=function(arr){arr.constructor=dojo.NodeList;dojo._mixin(arr,dojo.NodeList.prototype);return arr;};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};dojo.NodeList._wrap=tnl;dojo.extend(dojo.NodeList,{slice:function(){var a=dojo._toArray(arguments);return tnl(a.slice.apply(this,a));},splice:function(){var a=dojo._toArray(arguments);return tnl(a.splice.apply(this,a));},concat:function(){var a=dojo._toArray(arguments,0,[this]);return tnl(a.concat.apply([],a));},indexOf:function(_2c6,_2c7){return d.indexOf(this,_2c6,_2c7);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_2c8,_2c9){return d.every(this,_2c8,_2c9);},some:function(_2ca,_2cb){return d.some(this,_2ca,_2cb);},map:function(func,obj){return d.map(this,func,obj,d.NodeList);},forEach:function(_2ce,_2cf){d.forEach(this,_2ce,_2cf);return this;},coords:function(){return d.map(this,d.coords);},style:function(){var aa=d._toArray(arguments,0,[null]);var s=this.map(function(i){aa[0]=i;return d.style.apply(d,aa);});return (arguments.length>1)?this:s;},styles:function(){d.deprecated("NodeList.styles","use NodeList.style instead","1.1");return this.style.apply(this,arguments);},addClass:function(_2d3){this.forEach(function(i){d.addClass(i,_2d3);});return this;},removeClass:function(_2d5){this.forEach(function(i){d.removeClass(i,_2d5);});return this;},place:function(_2d7,_2d8){var item=d.query(_2d7)[0];_2d8=_2d8||"last";for(var x=0;x"){_2fd+=" *";}_2fd+=" ";var ts=function(s,e){return d.trim(_2fd.slice(s,e));};var _301=[];var _302=-1;var _303=-1;var _304=-1;var _305=-1;var _306=-1;var inId=-1;var _308=-1;var lc="";var cc="";var _30b;var x=0;var ql=_2fd.length;var _30e=null;var _cp=null;var _310=function(){if(_308>=0){var tv=(_308==x)?null:ts(_308,x).toLowerCase();_30e[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;_308=-1;}};var _312=function(){if(inId>=0){_30e.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _313=function(){if(_306>=0){_30e.classes.push(ts(_306+1,x).replace(/\\/g,""));_306=-1;}};var _314=function(){_312();_310();_313();};for(;x=0){if(cc=="]"){if(!_cp.attr){_cp.attr=ts(_302+1,x);}else{_cp.matchFor=ts((_304||_302+1),x);}var cmf=_cp.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_cp.matchFor=cmf.substring(1,cmf.length-1);}}_30e.attrs.push(_cp);_cp=null;_302=_304=-1;}else{if(cc=="="){var _316=("|~^$*".indexOf(lc)>=0)?lc:"";_cp.type=_316+cc;_cp.attr=ts(_302+1,x-_316.length);_304=x+1;}}}else{if(_303>=0){if(cc==")"){if(_305>=0){_cp.value=ts(_303+1,x);}_305=_303=-1;}}else{if(cc=="#"){_314();inId=x+1;}else{if(cc=="."){_314();_306=x;}else{if(cc==":"){_314();_305=x;}else{if(cc=="["){_314();_302=x;_cp={};}else{if(cc=="("){if(_305>=0){_cp={name:ts(_305+1,x),value:null};_30e.pseudos.push(_cp);}_303=x;}else{if(cc==" "&&lc!=cc){_314();if(_305>=0){_30e.pseudos.push({name:ts(_305+1,x)});}_30e.hasLoops=(_30e.pseudos.length||_30e.attrs.length||_30e.classes.length);_30e.query=ts(_30b,x);_30e.tag=(_30e["oper"])?null:(_30e.tag||"*");_301.push(_30e);_30e=null;}}}}}}}}}return _301;};var _317={"*=":function(attr,_319){return "[contains(@"+attr+", '"+_319+"')]";},"^=":function(attr,_31b){return "[starts-with(@"+attr+", '"+_31b+"')]";},"$=":function(attr,_31d){return "[substring(@"+attr+", string-length(@"+attr+")-"+(_31d.length-1)+")='"+_31d+"']";},"~=":function(attr,_31f){return "[contains(concat(' ',@"+attr+",' '), ' "+_31f+" ')]";},"|=":function(attr,_321){return "[contains(concat(' ',@"+attr+",' '), ' "+_321+"-')]";},"=":function(attr,_323){return "[@"+attr+"='"+_323+"']";}};var _324=function(_325,_326,_327,_328){d.forEach(_326.attrs,function(attr){var _32a;if(attr.type&&_325[attr.type]){_32a=_325[attr.type](attr.attr,attr.matchFor);}else{if(attr.attr.length){_32a=_327(attr.attr);}}if(_32a){_328(_32a);}});};var _32b=function(_32c){var _32d=".";var _32e=_2fc(d.trim(_32c));while(_32e.length){var tqp=_32e.shift();var _330;if(tqp.oper==">"){_330="/";tqp=_32e.shift();}else{_330="//";}_32d+=_330+tqp.tag;if(tqp.id){_32d+="[@id='"+tqp.id+"'][1]";}d.forEach(tqp.classes,function(cn){var cnl=cn.length;var _333=" ";if(cn.charAt(cnl-1)=="*"){_333="";cn=cn.substr(0,cnl-1);}_32d+="[contains(concat(' ',@class,' '), ' "+cn+_333+"')]";});_324(_317,tqp,function(_334){return "[@"+_334+"]";},function(_335){_32d+=_335;});}return _32d;};var _336={};var _337=function(path){if(_336[path]){return _336[path];}var doc=d.doc;var _33a=_32b(path);var tf=function(_33c){var ret=[];var _33e;try{_33e=doc.evaluate(_33a,_33c,null,XPathResult.ANY_TYPE,null);}catch(e){console.debug("failure in exprssion:",_33a,"under:",_33c);console.debug(e);}var _33f=_33e.iterateNext();while(_33f){ret.push(_33f);_33f=_33e.iterateNext();}return ret;};return _336[path]=tf;};var _340={};var _341={};var _342=function(_343,_344){if(!_343){return _344;}if(!_344){return _343;}return function(){return _343.apply(window,arguments)&&_344.apply(window,arguments);};};var _345=function(_346,_347,_348,idx){var nidx=idx+1;var _34b=(_347.length==nidx);var tqp=_347[idx];if(tqp.oper==">"){var ecn=_346[_2fb];if(!ecn||!ecn.length){return;}nidx++;_34b=(_347.length==nidx);var tf=_34f(_347[idx+1]);for(var x=0,ecnl=ecn.length,te;x=0);};},"^=":function(attr,_374){return function(elem){return (_36c(elem,attr).indexOf(_374)==0);};},"$=":function(attr,_377){var tval=" "+_377;return function(elem){var ea=" "+_36c(elem,attr);return (ea.lastIndexOf(_377)==(ea.length-_377.length));};},"~=":function(attr,_37c){var tval=" "+_37c+" ";return function(elem){var ea=" "+_36c(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_381){var _382=" "+_381+"-";return function(elem){var ea=" "+(elem.getAttribute(attr,2)||"");return ((ea==_381)||(ea.indexOf(_382)==0));};},"=":function(attr,_386){return function(elem){return (_36c(elem,attr)==_386);};}};var _388={"first-child":function(name,_38a){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,_38e){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,_392){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt==1)||(nt==3)){return false;}}return true;};},"not":function(name,_399){var ntf=_34f(_2fc(_399)[0]);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_39d){var pi=parseInt;if(_39d=="odd"){return function(elem){return (((_361(elem))%2)==1);};}else{if((_39d=="2n")||(_39d=="even")){return function(elem){return ((_361(elem)%2)==0);};}else{if(_39d.indexOf("0n+")==0){var _3a1=pi(_39d.substr(3));return function(elem){return (elem.parentNode[_2fb][_3a1-1]===elem);};}else{if((_39d.indexOf("n+")>0)&&(_39d.length>3)){var _3a3=_39d.split("n+",2);var pred=pi(_3a3[0]);var idx=pi(_3a3[1]);return function(elem){return ((_361(elem)%pred)==idx);};}else{if(_39d.indexOf("n")==-1){var _3a1=pi(_39d);return function(elem){return (_361(elem)==_3a1);};}}}}}}};var _3a8=(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 _360=function(_3ae){var _3af=(_341[_3ae.query]||_340[_3ae.query]);if(_3af){return _3af;}var ff=null;if(_3ae.id){if(_3ae.tag!="*"){ff=_342(ff,function(elem){return (elem.tagName.toLowerCase()==_3ae.tag);});}}d.forEach(_3ae.classes,function(_3b2,idx,arr){var _3b5=_3b2.charAt(_3b2.length-1)=="*";if(_3b5){_3b2=_3b2.substr(0,_3b2.length-1);}var re=new RegExp("(?:^|\\s)"+_3b2+(_3b5?".*":"")+"(?:\\s|$)");ff=_342(ff,function(elem){return re.test(elem.className);});ff.count=idx;});d.forEach(_3ae.pseudos,function(_3b8){if(_388[_3b8.name]){ff=_342(ff,_388[_3b8.name](_3b8.name,_3b8.value));}});_324(_36f,_3ae,_3a8,function(_3b9){ff=_342(ff,_3b9);});if(!ff){ff=function(){return true;};}return _341[_3ae.query]=ff;};var _3ba={};var _354=function(_3bb,root){var fHit=_3ba[_3bb.query];if(fHit){return fHit;}if(_3bb.id&&!_3bb.hasLoops&&!_3bb.tag){return _3ba[_3bb.query]=function(root){return [d.byId(_3bb.id)];};}var _3bf=_360(_3bb);var _3c0;if(_3bb.tag&&_3bb.id&&!_3bb.hasLoops){_3c0=function(root){var te=d.byId(_3bb.id);if(_3bf(te)){return [te];}};}else{var tret;if(!_3bb.hasLoops){_3c0=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_3bb.tag);while(te=tret[x++]){ret.push(te);}return ret;};}else{_3c0=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_3bb.tag);while(te=tret[x++]){if(_3bf(te)){ret.push(te);}}return ret;};}}return _3ba[_3bb.query]=_3c0;};var _3cc={};var _3cd={"*":d.isIE?function(root){return root.all;}:function(root){return root.getElementsByTagName("*");},">":function(root){var ret=[];var te,x=0,tret=root[_2fb];while(te=tret[x++]){if(te.nodeType==1){ret.push(te);}}return ret;}};var _3d5=function(_3d6){var _3d7=_2fc(d.trim(_3d6));if(_3d7.length==1){var tt=_354(_3d7[0]);tt.nozip=true;return tt;}var sqf=function(root){var _3db=_3d7.slice(0);var _3dc;if(_3db[0].oper==">"){_3dc=[root];}else{_3dc=_354(_3db.shift())(root);}return _355(_3dc,_3db);};return sqf;};var _3dd=((document["evaluate"]&&!d.isSafari)?function(_3de){var _3df=_3de.split(" ");if((document["evaluate"])&&(_3de.indexOf(":")==-1)&&((true))){if(((_3df.length>2)&&(_3de.indexOf(">")==-1))||(_3df.length>3)||(_3de.indexOf("[")>=0)||((1==_3df.length)&&(0<=_3de.indexOf(".")))){return _337(_3de);}}return _3d5(_3de);}:_3d5);var _3e0=function(_3e1){if(_3cd[_3e1]){return _3cd[_3e1];}if(0>_3e1.indexOf(",")){return _3cd[_3e1]=_3dd(_3e1);}else{var _3e2=_3e1.split(/\s*,\s*/);var tf=function(root){var _3e5=0;var ret=[];var tp;while(tp=_3e2[_3e5++]){ret=ret.concat(_3dd(tp,tp.indexOf(" "))(root));}return ret;};return _3cd[_3e1]=tf;}};var _3e8=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;}_3e8++;arr[0]["_zipIdx"]=_3e8;for(var x=1,te;te=arr[x];x++){if(arr[x]["_zipIdx"]!=_3e8){ret.push(te);}te["_zipIdx"]=_3e8;}return ret;};d.query=function(_3ee,root){if(_3ee.constructor==d.NodeList){return _3ee;}if(!d.isString(_3ee)){return new d.NodeList(_3ee);}if(d.isString(root)){root=d.byId(root);}return _zip(_3e0(_3ee)(root||d.doc));};d._filterQueryResult=function(_3f0,_3f1){var tnl=new d.NodeList();var ff=(_3f1)?_34f(_2fc(_3f1)[0]):function(){return true;};for(var x=0,te;te=_3f0[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,_3f9){var val=obj[name];if(_d.isString(val)){obj[name]=[val,_3f9];}else{if(_d.isArray(val)){val.push(_3f9);}else{obj[name]=_3f9;}}};dojo.formToObject=function(_3fb){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,_3fb).filter(function(node){return (!node.disabled);}).forEach(function(item){var _in=item.name;var type=(item.type||"").toLowerCase();if(type=="radio"||type=="checkbox"){if(item.checked){setValue(ret,_in,item.value);}}else{if(item.multiple){ret[_in]=[];_d.query("option",item).forEach(function(opt){if(opt.selected){setValue(ret,_in,opt.value);}});}else{setValue(ret,_in,item.value);if(type=="image"){ret[_in+".x"]=ret[_in+".y"]=ret[_in].x=ret[_in].y=0;}}}});return ret;};dojo.objectToQuery=function(map){var ec=encodeURIComponent;var ret="";var _406={};for(var x in map){if(map[x]!=_406[x]){if(_d.isArray(map[x])){for(var y=0;y0){setTimeout(_p,d);return _t;}_p();return _t;},_play:function(_46f){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 _471=_t.curve.getValue(_t._percent);if(!_t._percent){if(!_t._startRepeatCount){_t._startRepeatCount=_t.repeat;}_t.fire("onBegin",[_471]);}_t.fire("onPlay",[_471]);_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(_472,_473){this._stopTimer();this._active=this._paused=true;this._percent=_472;if(_473){this.play();}return this;},stop:function(_474){if(!this._timer){return;}this._stopTimer();if(_474){this._percent=1;}this.fire("onStop",[this.curve.getValue(this._percent)]);this._active=this._paused=false;return this;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _t=this;if(_t._active){var curr=new Date().valueOf();var step=(curr-_t._startTime)/(_t._endTime-_t._startTime);if(step>=1){step=1;}_t._percent=step;if(_t.easing){step=_t.easing(step);}_t.fire("onAnimate",[_t.curve.getValue(step)]);if(step<1){_t._startTimer();}else{_t._active=false;if(_t.repeat>0){_t.repeat--;_t.play(null,true);}else{if(_t.repeat==-1){_t.play(null,true);}else{if(_t._startRepeatCount){_t.repeat=_t._startRepeatCount;_t._startRepeatCount=0;}}}_t._percent=0;_t.fire("onEnd");}}return _t;}});(function(){var d=dojo;var ctr=0;var _47a=[];var _47b={run:function(){}};var _47c=null;dojo._Animation.prototype._startTimer=function(){if(!this._timer){this._timer=dojo.connect(_47b,"run",this,"_cycle");ctr++;}if(!_47c){_47c=setInterval(dojo.hitch(_47b,"run"),this.rate);}};dojo._Animation.prototype._stopTimer=function(){dojo.disconnect(this._timer);this._timer=null;ctr--;if(!ctr){clearInterval(_47c);_47c=null;}};var _47d=(d.isIE)?function(node){var ns=node.style;if(!ns.zoom.length&&d.style(node,"zoom")=="normal"){ns.zoom="1";}if(!ns.width.length&&d.style(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=d.byId(args.node);var _481=d.mixin({properties:{}},args);var _482=(_481.properties.opacity={});_482.start=!("start" in _481)?function(){return Number(d.style(_481.node,"opacity"));}:_481.start;_482.end=_481.end;var anim=d.animateProperty(_481);d.connect(anim,"beforeBegin",d.partial(_47d,_481.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 _487=function(_488){this._properties=_488;for(var p in _488){var prop=_488[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 _48f=prop.start;if(_48f instanceof d.Color){ret[p]=d.blendColors(_48f,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_48f)){ret[p]=((prop.end-_48f)*r)+_48f+(p!="opacity"?prop.units||"px":"");}}}return ret;};};dojo.animateProperty=function(args){args.node=d.byId(args.node);if(!args.easing){args.easing=d._defaultEasing;}var anim=new d._Animation(args);d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){var prop=(pm[p]=d.mixin({},this.properties[p]));if(d.isFunction(prop.start)){prop.start=prop.start();}if(d.isFunction(prop.end)){prop.end=prop.end();}var _495=(p.toLowerCase().indexOf("color")>=0);function getStyle(node,p){var v=({height:node.offsetHeight,width:node.offsetWidth})[p];if(v!==undefined){return v;}v=d.style(node,p);return (p=="opacity")?Number(v):parseFloat(v);};if(!("end" in prop)){prop.end=getStyle(this.node,p);}else{if(!("start" in prop)){prop.start=getStyle(this.node,p);}}if(_495){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 _487(pm);});d.connect(anim,"onAnimate",anim,function(_499){for(var s in _499){d.style(this.node,s,_499[s]);}});return anim;};})();}