/*
	Copyright (c) 2004-2011, 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
*/

if(!dojo._hasResource["dojo.fx.Toggler"]){dojo._hasResource["dojo.fx.Toggler"]=true;dojo.provide("dojo.fx.Toggler");dojo.declare("dojo.fx.Toggler",null,{node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,constructor:function(_1){var _2=this;dojo.mixin(_2,_1);_2.node=_1.node;_2._showArgs=dojo.mixin({},_1);_2._showArgs.node=_2.node;_2._showArgs.duration=_2.showDuration;_2.showAnim=_2.showFunc(_2._showArgs);_2._hideArgs=dojo.mixin({},_1);_2._hideArgs.node=_2.node;_2._hideArgs.duration=_2.hideDuration;_2.hideAnim=_2.hideFunc(_2._hideArgs);dojo.connect(_2.showAnim,"beforeBegin",dojo.hitch(_2.hideAnim,"stop",true));dojo.connect(_2.hideAnim,"beforeBegin",dojo.hitch(_2.showAnim,"stop",true));},show:function(_3){return this.showAnim.play(_3||0);},hide:function(_4){return this.hideAnim.play(_4||0);}});}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var d=dojo,_5={_fire:function(_6,_7){if(this[_6]){this[_6].apply(this,_7||[]);}return this;}};var _8=function(_9){this._index=-1;this._animations=_9||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;d.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};d.extend(_8,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){d.disconnect(this._onAnimateCtx);d.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_a,_b){if(!this._current){this._current=this._animations[this._index=0];}if(!_b&&this._current.status()=="playing"){return this;}var _c=d.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_d=d.connect(this._current,"onBegin",this,function(_e){this._fire("onBegin",arguments);}),_f=d.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);d.disconnect(_c);d.disconnect(_d);d.disconnect(_f);});if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){d.disconnect(this._onEndCtx);}this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=d.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);d.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_10,_11){this.pause();var _12=this.duration*_10;this._current=null;d.some(this._animations,function(a){if(a.duration<=_12){this._current=a;return true;}_12-=a.duration;return false;});if(this._current){this._current.gotoPercent(_12/this._current.duration,_11);}return this;},stop:function(_13){if(this._current){if(_13){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=d.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);d.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}if(this._onEndCtx){d.disconnect(this._onEndCtx);}}});d.extend(_8,_5);dojo.fx.chain=function(_14){return new _8(_14);};var _15=function(_16){this._animations=_16||[];this._connects=[];this._finished=0;this.duration=0;d.forEach(_16,function(a){var _17=a.duration;if(a.delay){_17+=a.delay;}if(this.duration<_17){this.duration=_17;}this._connects.push(d.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new d.Animation({curve:[0,1],duration:this.duration});var _18=this;d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){_18._connects.push(d.connect(_18._pseudoAnimation,evt,function(){_18._fire(evt,arguments);}));});};d.extend(_15,{_doAction:function(_19,_1a){d.forEach(this._animations,function(a){a[_19].apply(a,_1a);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_1b,_1c){var t=this._pseudoAnimation;t[_1b].apply(t,_1c);},play:function(_1d,_1e){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_1f,_20){var ms=this.duration*_1f;d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_20);});this._call("gotoPercent",arguments);return this;},stop:function(_21){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){d.forEach(this._connects,dojo.disconnect);}});d.extend(_15,_5);dojo.fx.combine=function(_22){return new _15(_22);};dojo.fx.wipeIn=function(_23){var _24=_23.node=d.byId(_23.node),s=_24.style,o;var _25=d.animateProperty(d.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _26=d.style(_24,"height");return Math.max(_26,1);}},end:function(){return _24.scrollHeight;}}}},_23));d.connect(_25,"onEnd",function(){s.height="auto";s.overflow=o;});return _25;};dojo.fx.wipeOut=function(_27){var _28=_27.node=d.byId(_27.node),s=_28.style,o;var _29=d.animateProperty(d.mixin({properties:{height:{end:1}}},_27));d.connect(_29,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});d.connect(_29,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return _29;};dojo.fx.slideTo=function(_2a){var _2b=_2a.node=d.byId(_2a.node),top=null,_2c=null;var _2d=(function(n){return function(){var cs=d.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);_2c=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=d.position(n,true);top=ret.y;_2c=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=_2c+"px";}};})(_2b);_2d();var _2e=d.animateProperty(d.mixin({properties:{top:_2a.top||0,left:_2a.left||0}},_2a));d.connect(_2e,"beforeBegin",_2e,_2d);return _2e;};})();}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_2f){if(this._hash[_2f.id]){throw new Error("Tried to register widget with id=="+_2f.id+" but that id is already registered");}this._hash[_2f.id]=_2f;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_30,_31){_31=_31||dojo.global;var i=0,id;for(id in this._hash){_30.call(_31,this._hash[id],i++,this._hash);}return this;},filter:function(_32,_33){_33=_33||dojo.global;var res=new dijit.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_32.call(_33,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new dijit.WidgetSet(),id,_34;for(id in this._hash){_34=this._hash[id];if(_34.declaredClass==cls){res.add(_34);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_35,_36){return dojo.map(this.toArray(),_35,_36);},every:function(_37,_38){_38=_38||dojo.global;var x=0,i;for(i in this._hash){if(!_37.call(_38,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_39,_3a){_3a=_3a||dojo.global;var x=0,i;for(i in this._hash){if(_39.call(_3a,this._hash[i],x++,this._hash)){return true;}}return false;}});(function(){dijit.registry=new dijit.WidgetSet();var _3b=dijit.registry._hash,_3c=dojo.attr,_3d=dojo.hasAttr,_3e=dojo.style;dijit.byId=function(id){return typeof id=="string"?_3b[id]:id;};var _3f={};dijit.getUniqueId=function(_40){var id;do{id=_40+"_"+(_40 in _3f?++_3f[_40]:_3f[_40]=0);}while(_3b[id]);return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;};dijit.findWidgets=function(_41){var _42=[];function _43(_44){for(var _45=_44.firstChild;_45;_45=_45.nextSibling){if(_45.nodeType==1){var _46=_45.getAttribute("widgetId");if(_46){var _47=_3b[_46];if(_47){_42.push(_47);}}else{_43(_45);}}}};_43(_41);return _42;};dijit._destroyAll=function(){dijit._curFocus=null;dijit._prevFocus=null;dijit._activeStack=[];dojo.forEach(dijit.findWidgets(dojo.body()),function(_48){if(!_48._destroyed){if(_48.destroyRecursive){_48.destroyRecursive();}else{if(_48.destroy){_48.destroy();}}}});};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit._destroyAll();});}dijit.byNode=function(_49){return _3b[_49.getAttribute("widgetId")];};dijit.getEnclosingWidget=function(_4a){while(_4a){var id=_4a.getAttribute&&_4a.getAttribute("widgetId");if(id){return _3b[id];}_4a=_4a.parentNode;}return null;};var _4b=(dijit._isElementShown=function(_4c){var s=_3e(_4c);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_3c(_4c,"type")!="hidden");});dijit.hasDefaultTabStop=function(_4d){switch(_4d.nodeName.toLowerCase()){case "a":return _3d(_4d,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _4e;try{var _4f=_4d.contentDocument;if("designMode" in _4f&&_4f.designMode=="on"){return true;}_4e=_4f.body;}catch(e1){try{_4e=_4d.contentWindow.document.body;}catch(e2){return false;}}return _4e.contentEditable=="true"||(_4e.firstChild&&_4e.firstChild.contentEditable=="true");default:return _4d.contentEditable=="true";}};var _50=(dijit.isTabNavigable=function(_51){if(_3c(_51,"disabled")){return false;}else{if(_3d(_51,"tabIndex")){return _3c(_51,"tabIndex")>=0;}else{return dijit.hasDefaultTabStop(_51);}}});dijit._getTabNavigable=function(_52){var _53,_54,_55,_56,_57,_58,_59={};function _5a(_5b){return _5b&&_5b.tagName.toLowerCase()=="input"&&_5b.type&&_5b.type.toLowerCase()=="radio"&&_5b.name&&_5b.name.toLowerCase();};var _5c=function(_5d){dojo.query("> *",_5d).forEach(function(_5e){if((dojo.isIE&&_5e.scopeName!=="HTML")||!_4b(_5e)){return;}if(_50(_5e)){var _5f=_3c(_5e,"tabIndex");if(!_3d(_5e,"tabIndex")||_5f==0){if(!_53){_53=_5e;}_54=_5e;}else{if(_5f>0){if(!_55||_5f<_56){_56=_5f;_55=_5e;}if(!_57||_5f>=_58){_58=_5f;_57=_5e;}}}var rn=_5a(_5e);if(dojo.attr(_5e,"checked")&&rn){_59[rn]=_5e;}}if(_5e.nodeName.toUpperCase()!="SELECT"){_5c(_5e);}});};if(_4b(_52)){_5c(_52);}function rs(_60){return _59[_5a(_60)]||_60;};return {first:rs(_53),last:rs(_54),lowest:rs(_55),highest:rs(_57)};};dijit.getFirstInTabbingOrder=function(_61){var _62=dijit._getTabNavigable(dojo.byId(_61));return _62.lowest?_62.lowest:_62.first;};dijit.getLastInTabbingOrder=function(_63){var _64=dijit._getTabNavigable(dojo.byId(_63));return _64.last?_64.last:_64.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;})();}if(!dojo._hasResource["dojo.Stateful"]){dojo._hasResource["dojo.Stateful"]=true;dojo.provide("dojo.Stateful");dojo.declare("dojo.Stateful",null,{postscript:function(_65){if(_65){dojo.mixin(this,_65);}},get:function(_66){return this[_66];},set:function(_67,_68){if(typeof _67==="object"){for(var x in _67){this.set(x,_67[x]);}return this;}var _69=this[_67];this[_67]=_68;if(this._watchCallbacks){this._watchCallbacks(_67,_69,_68);}return this;},watch:function(_6a,_6b){var _6c=this._watchCallbacks;if(!_6c){var _6d=this;_6c=this._watchCallbacks=function(_6e,_6f,_70,_71){var _72=function(_73){if(_73){_73=_73.slice();for(var i=0,l=_73.length;i<l;i++){try{_73[i].call(_6d,_6e,_6f,_70);}catch(e){console.error(e);}}}};_72(_6c["_"+_6e]);if(!_71){_72(_6c["*"]);}};}if(!_6b&&typeof _6a==="function"){_6b=_6a;_6a="*";}else{_6a="_"+_6a;}var _74=_6c[_6a];if(typeof _74!=="object"){_74=_6c[_6a]=[];}_74.push(_6b);return {unwatch:function(){_74.splice(dojo.indexOf(_74,_6b),1);}};}});}if(!dojo._hasResource["dijit._WidgetBase"]){dojo._hasResource["dijit._WidgetBase"]=true;dojo.provide("dijit._WidgetBase");(function(){dojo.declare("dijit._WidgetBase",dojo.Stateful,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_75,_76){this.create(_75,_76);},create:function(_77,_78){this.srcNodeRef=dojo.byId(_78);this._connects=[];this._subscribes=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_77){this.params=_77;dojo._mixin(this,_77);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _79=this.srcNodeRef;if(_79&&_79.parentNode&&this.domNode!==_79){_79.parentNode.replaceChild(this.domNode,_79);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _7a=function(_7b,_7c){if((_7c.params&&_7b in _7c.params)||_7c[_7b]){_7c.set(_7b,_7c[_7b]);}};for(var _7d in this.attributeMap){_7a(_7d,this);}dojo.forEach(this._getSetterAttributes(),function(a){if(!(a in this.attributeMap)){_7a(a,this);}},this);},_getSetterAttributes:function(){var _7e=this.constructor;if(!_7e._setterAttrs){var r=(_7e._setterAttrs=[]),_7f,_80=_7e.prototype;for(var _81 in _80){if(dojo.isFunction(_80[_81])&&(_7f=_81.match(/^_set([a-zA-Z]*)Attr$/))&&_7f[1]){r.push(_7f[1].charAt(0).toLowerCase()+_7f[1].substr(1));}}}return _7e._setterAttrs;},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||dojo.create("div");}if(this.baseClass){var _82=this.baseClass.split(" ");if(!this.isLeftToRight()){_82=_82.concat(dojo.map(_82,function(_83){return _83+"Rtl";}));}dojo.addClass(this.domNode,_82);}},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_84){this._beingDestroyed=true;this.destroyDescendants(_84);this.destroy(_84);},destroy:function(_85){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_86){dfe(_86,d.disconnect);});dfe(this._subscribes,function(_87){dun(_87);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_85);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_88){if(this.bgIframe){this.bgIframe.destroy(_88);delete this.bgIframe;}if(this.domNode){if(_88){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_88){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_89){dojo.forEach(this.getChildren(),function(_8a){if(_8a.destroyRecursive){_8a.destroyRecursive(_89);}});},uninitialize:function(){return false;},_setClassAttr:function(_8b){var _8c=this[this.attributeMap["class"]||"domNode"];dojo.replaceClass(_8c,_8b,this["class"]);this._set("class",_8b);},_setStyleAttr:function(_8d){var _8e=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_8d)){dojo.style(_8e,_8d);}else{if(_8e.style.cssText){_8e.style.cssText+="; "+_8d;}else{_8e.style.cssText=_8d;}}this._set("style",_8d);},_attrToDom:function(_8f,_90){var _91=this.attributeMap[_8f];dojo.forEach(dojo.isArray(_91)?_91:[_91],function(_92){var _93=this[_92.node||_92||"domNode"];var _94=_92.type||"attribute";switch(_94){case "attribute":if(dojo.isFunction(_90)){_90=dojo.hitch(this,_90);}var _95=_92.attribute?_92.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_8f)?_8f.toLowerCase():_8f);dojo.attr(_93,_95,_90);break;case "innerText":_93.innerHTML="";_93.appendChild(dojo.doc.createTextNode(_90));break;case "innerHTML":_93.innerHTML=_90;break;case "class":dojo.replaceClass(_93,_90,this[_8f]);break;}},this);},get:function(_96){var _97=this._getAttrNames(_96);return this[_97.g]?this[_97.g]():this[_96];},set:function(_98,_99){if(typeof _98==="object"){for(var x in _98){this.set(x,_98[x]);}return this;}var _9a=this._getAttrNames(_98);if(this[_9a.s]){var _9b=this[_9a.s].apply(this,Array.prototype.slice.call(arguments,1));}else{if(_98 in this.attributeMap){this._attrToDom(_98,_99);}this._set(_98,_99);}return _9b||this;},_attrPairNames:{},_getAttrNames:function(_9c){var apn=this._attrPairNames;if(apn[_9c]){return apn[_9c];}var uc=_9c.charAt(0).toUpperCase()+_9c.substr(1);return (apn[_9c]={n:_9c+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(_9d,_9e){var _9f=this[_9d];this[_9d]=_9e;if(this._watchCallbacks&&this._created&&_9e!==_9f){this._watchCallbacks(_9d,_9f,_9e);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){return this.containerNode?dojo.query("[widgetId]",this.containerNode).map(dijit.byNode):[];},getChildren:function(){return this.containerNode?dijit.findWidgets(this.containerNode):[];},connect:function(obj,_a0,_a1){var _a2=[dojo._connect(obj,_a0,this,_a1)];this._connects.push(_a2);return _a2;},disconnect:function(_a3){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_a3){dojo.forEach(_a3,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_a4,_a5){var _a6=dojo.subscribe(_a4,this,_a5);this._subscribes.push(_a6);return _a6;},unsubscribe:function(_a7){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_a7){dojo.unsubscribe(_a7);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):dojo._isBodyLtr();},placeAt:function(_a8,_a9){if(_a8.declaredClass&&_a8.addChild){_a8.addChild(this,_a9);}else{dojo.place(this.domNode,_a8,_a9);}return this;}});})();}if(!dojo._hasResource["dojo.window"]){dojo._hasResource["dojo.window"]=true;dojo.provide("dojo.window");dojo.getObject("window",true,dojo);dojo.window.getBox=function(){var _aa=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _ab=dojo._docScroll();return {w:_aa.clientWidth,h:_aa.clientHeight,l:_ab.x,t:_ab.y};};dojo.window.get=function(doc){if(dojo.isIE&&window!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};dojo.window.scrollIntoView=function(_ac,pos){try{_ac=dojo.byId(_ac);var doc=_ac.ownerDocument||dojo.doc,_ad=doc.body||dojo.body(),_ae=doc.documentElement||_ad.parentNode,_af=dojo.isIE,_b0=dojo.isWebKit;if((!(dojo.isMoz||_af||_b0||dojo.isOpera)||_ac==_ad||_ac==_ae)&&(typeof _ac.scrollIntoView!="undefined")){_ac.scrollIntoView(false);return;}var _b1=doc.compatMode=="BackCompat",_b2=(_af>=9&&_ac.ownerDocument.parentWindow.frameElement)?((_ae.clientHeight>0&&_ae.clientWidth>0&&(_ad.clientHeight==0||_ad.clientWidth==0||_ad.clientHeight>_ae.clientHeight||_ad.clientWidth>_ae.clientWidth))?_ae:_ad):(_b1?_ad:_ae),_b3=_b0?_ad:_b2,_b4=_b2.clientWidth,_b5=_b2.clientHeight,rtl=!dojo._isBodyLtr(),_b6=pos||dojo.position(_ac),el=_ac.parentNode,_b7=function(el){return ((_af<=6||(_af&&_b1))?false:(dojo.style(el,"position").toLowerCase()=="fixed"));};if(_b7(_ac)){return;}while(el){if(el==_ad){el=_b3;}var _b8=dojo.position(el),_b9=_b7(el);if(el==_b3){_b8.w=_b4;_b8.h=_b5;if(_b3==_ae&&_af&&rtl){_b8.x+=_b3.offsetWidth-_b8.w;}if(_b8.x<0||!_af){_b8.x=0;}if(_b8.y<0||!_af){_b8.y=0;}}else{var pb=dojo._getPadBorderExtents(el);_b8.w-=pb.w;_b8.h-=pb.h;_b8.x+=pb.l;_b8.y+=pb.t;var _ba=el.clientWidth,_bb=_b8.w-_ba;if(_ba>0&&_bb>0){_b8.w=_ba;_b8.x+=(rtl&&(_af||el.clientLeft>pb.l))?_bb:0;}_ba=el.clientHeight;_bb=_b8.h-_ba;if(_ba>0&&_bb>0){_b8.h=_ba;}}if(_b9){if(_b8.y<0){_b8.h+=_b8.y;_b8.y=0;}if(_b8.x<0){_b8.w+=_b8.x;_b8.x=0;}if(_b8.y+_b8.h>_b5){_b8.h=_b5-_b8.y;}if(_b8.x+_b8.w>_b4){_b8.w=_b4-_b8.x;}}var l=_b6.x-_b8.x,t=_b6.y-Math.max(_b8.y,0),r=l+_b6.w-_b8.w,bot=t+_b6.h-_b8.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((_af==8&&!_b1)||_af>=9)){s=-s;}_b6.x+=el.scrollLeft;el.scrollLeft+=s;_b6.x-=el.scrollLeft;}if(bot*t>0){_b6.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_b6.y-=el.scrollTop;}el=(el!=_b3)&&!_b9&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_ac.scrollIntoView(false);}};}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return dijit.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=dojo.doc.selection,cf=dijit._curFocus;if(dojo.global.getSelection){sel=dojo.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_bc){var _bd=dojo.doc,_be=_bc.mark;if(_be){if(dojo.global.getSelection){var sel=dojo.global.getSelection();if(sel&&sel.removeAllRanges){if(_be.pRange){var r=_be;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(_be);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_bd.selection&&_be){var rg;if(_be.pRange){rg=_be.range;}else{if(dojo.isArray(_be)){rg=_bd.body.createControlRange();dojo.forEach(_be,function(n){rg.addElement(n);});}else{rg=_bd.body.createTextRange();rg.moveToBookmark(_be);}}rg.select();}}}},getFocus:function(_bf,_c0){var _c1=!dijit._curFocus||(_bf&&dojo.isDescendant(dijit._curFocus,_bf.domNode))?dijit._prevFocus:dijit._curFocus;return {node:_c1,bookmark:(_c1==dijit._curFocus)&&dojo.withGlobal(_c0||dojo.global,dijit.getBookmark),openedForWindow:_c0};},focus:function(_c2){if(!_c2){return;}var _c3="node" in _c2?_c2.node:_c2,_c4=_c2.bookmark,_c5=_c2.openedForWindow,_c6=_c4?_c4.isCollapsed:false;if(_c3){var _c7=(_c3.tagName.toLowerCase()=="iframe")?_c3.contentWindow:_c3;if(_c7&&_c7.focus){try{_c7.focus();}catch(e){}}dijit._onFocusNode(_c3);}if(_c4&&dojo.withGlobal(_c5||dojo.global,dijit.isCollapsed)&&!_c6){if(_c5){_c5.focus();}try{dojo.withGlobal(_c5||dojo.global,dijit.moveToBookmark,null,[_c4]);}catch(e2){}}},_activeStack:[],registerIframe:function(_c8){return dijit.registerWin(_c8.contentWindow,_c8);},unregisterIframe:function(_c9){dijit.unregisterWin(_c9);},registerWin:function(_ca,_cb){var _cc=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);if(dojo.isIE&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}dijit._onTouchNode(_cb||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_ca.document.documentElement:_ca.document;if(doc){if(dojo.isIE){_ca.document.body.attachEvent("onmousedown",_cc);var _cd=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_cb||evt.srcElement);}else{dijit._onTouchNode(_cb||evt.srcElement);}};doc.attachEvent("onactivate",_cd);var _ce=function(evt){dijit._onBlurNode(_cb||evt.srcElement);};doc.attachEvent("ondeactivate",_ce);return function(){_ca.document.detachEvent("onmousedown",_cc);doc.detachEvent("onactivate",_cd);doc.detachEvent("ondeactivate",_ce);doc=null;};}else{doc.body.addEventListener("mousedown",_cc,true);var _cf=function(evt){dijit._onFocusNode(_cb||evt.target);};doc.addEventListener("focus",_cf,true);var _d0=function(evt){dijit._onBlurNode(_cb||evt.target);};doc.addEventListener("blur",_d0,true);return function(){doc.body.removeEventListener("mousedown",_cc,true);doc.removeEventListener("focus",_cf,true);doc.removeEventListener("blur",_d0,true);doc=null;};}}},unregisterWin:function(_d1){_d1&&_d1();},_onBlurNode:function(_d2){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(_d3,by){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _d4=[];try{while(_d3){var _d5=dojo.attr(_d3,"dijitPopupParent");if(_d5){_d3=dijit.byId(_d5).domNode;}else{if(_d3.tagName&&_d3.tagName.toLowerCase()=="body"){if(_d3===dojo.body()){break;}_d3=dojo.window.get(_d3.ownerDocument).frameElement;}else{var id=_d3.getAttribute&&_d3.getAttribute("widgetId"),_d6=id&&dijit.byId(id);if(_d6&&!(by=="mouse"&&_d6.get("disabled"))){_d4.unshift(id);}_d3=_d3.parentNode;}}}}catch(e){}dijit._setStack(_d4,by);},_onFocusNode:function(_d7){if(!_d7){return;}if(_d7.nodeType==9){return;}dijit._onTouchNode(_d7);if(_d7==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=_d7;dojo.publish("focusNode",[_d7]);},_setStack:function(_d8,by){var _d9=dijit._activeStack;dijit._activeStack=_d8;for(var _da=0;_da<Math.min(_d9.length,_d8.length);_da++){if(_d9[_da]!=_d8[_da]){break;}}var _db;for(var i=_d9.length-1;i>=_da;i--){_db=dijit.byId(_d9[i]);if(_db){_db._focused=false;_db.set("focused",false);_db._hasBeenBlurred=true;if(_db._onBlur){_db._onBlur(by);}dojo.publish("widgetBlur",[_db,by]);}}for(i=_da;i<_d8.length;i++){_db=dijit.byId(_d8[i]);if(_db){_db._focused=true;_db.set("focused",true);if(_db._onFocus){_db._onFocus(by);}dojo.publish("widgetFocus",[_db,by]);}}}});dojo.addOnLoad(function(){var _dc=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_dc);_dc=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_dd){this.pairs=[];this.returnWrappers=_dd||false;};dojo.extend(dojo.AdapterRegistry,{register:function(_de,_df,_e0,_e1,_e2){this.pairs[((_e2)?"unshift":"push")]([_de,_df,_e0,_e1]);},match:function(){for(var i=0;i<this.pairs.length;i++){var _e3=this.pairs[i];if(_e3[1].apply(this,arguments)){if((_e3[3])||(this.returnWrappers)){return _e3[2];}else{return _e3[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(_e4){for(var i=0;i<this.pairs.length;i++){var _e5=this.pairs[i];if(_e5[0]==_e4){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){return dojo.window.getBox();};dijit.placeOnScreen=function(_e6,pos,_e7,_e8){var _e9=dojo.map(_e7,function(_ea){var c={corner:_ea,pos:{x:pos.x,y:pos.y}};if(_e8){c.pos.x+=_ea.charAt(1)=="L"?_e8.x:-_e8.x;c.pos.y+=_ea.charAt(0)=="T"?_e8.y:-_e8.y;}return c;});return dijit._place(_e6,_e9);};dijit._place=function(_eb,_ec,_ed,_ee){var _ef=dojo.window.getBox();if(!_eb.parentNode||String(_eb.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_eb);}var _f0=null;dojo.some(_ec,function(_f1){var _f2=_f1.corner;var pos=_f1.pos;var _f3=0;var _f4={w:_f2.charAt(1)=="L"?(_ef.l+_ef.w)-pos.x:pos.x-_ef.l,h:_f2.charAt(1)=="T"?(_ef.t+_ef.h)-pos.y:pos.y-_ef.t};if(_ed){var res=_ed(_eb,_f1.aroundCorner,_f2,_f4,_ee);_f3=typeof res=="undefined"?0:res;}var _f5=_eb.style;var _f6=_f5.display;var _f7=_f5.visibility;_f5.visibility="hidden";_f5.display="";var mb=dojo.marginBox(_eb);_f5.display=_f6;_f5.visibility=_f7;var _f8=Math.max(_ef.l,_f2.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_f9=Math.max(_ef.t,_f2.charAt(0)=="T"?pos.y:(pos.y-mb.h)),_fa=Math.min(_ef.l+_ef.w,_f2.charAt(1)=="L"?(_f8+mb.w):pos.x),_fb=Math.min(_ef.t+_ef.h,_f2.charAt(0)=="T"?(_f9+mb.h):pos.y),_fc=_fa-_f8,_fd=_fb-_f9;_f3+=(mb.w-_fc)+(mb.h-_fd);if(_f0==null||_f3<_f0.overflow){_f0={corner:_f2,aroundCorner:_f1.aroundCorner,x:_f8,y:_f9,w:_fc,h:_fd,overflow:_f3,spaceAvailable:_f4};}return !_f3;});if(_f0.overflow&&_ed){_ed(_eb,_f0.aroundCorner,_f0.corner,_f0.spaceAvailable,_ee);}var l=dojo._isBodyLtr(),s=_eb.style;s.top=_f0.y+"px";s[l?"left":"right"]=(l?_f0.x:_ef.w-_f0.x-_f0.w)+"px";return _f0;};dijit.placeOnScreenAroundNode=function(_fe,_ff,_100,_101){_ff=dojo.byId(_ff);var _102=dojo.position(_ff,true);return dijit._placeOnScreenAroundRect(_fe,_102.x,_102.y,_102.w,_102.h,_100,_101);};dijit.placeOnScreenAroundRectangle=function(node,_103,_104,_105){return dijit._placeOnScreenAroundRect(node,_103.x,_103.y,_103.width,_103.height,_104,_105);};dijit._placeOnScreenAroundRect=function(node,x,y,_106,_107,_108,_109){var _10a=[];for(var _10b in _108){_10a.push({aroundCorner:_10b,corner:_108[_10b],pos:{x:x+(_10b.charAt(1)=="L"?0:_106),y:y+(_10b.charAt(0)=="T"?0:_107)}});}return dijit._place(node,_10a,_109,{w:_106,h:_107});};dijit.placementRegistry=new dojo.AdapterRegistry();dijit.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},dijit.placeOnScreenAroundNode);dijit.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},dijit.placeOnScreenAroundRectangle);dijit.placeOnScreenAroundElement=function(node,_10c,_10d,_10e){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAroundAlignment=function(_10f,_110){var _111={};dojo.forEach(_10f,function(pos){switch(pos){case "after":_111[_110?"BR":"BL"]=_110?"BL":"BR";break;case "before":_111[_110?"BL":"BR"]=_110?"BR":"BL";break;case "below-alt":_110=!_110;case "below":_111[_110?"BL":"BR"]=_110?"TL":"TR";_111[_110?"BR":"BL"]=_110?"TR":"TL";break;case "above-alt":_110=!_110;case "above":default:_111[_110?"TL":"TR"]=_110?"BL":"BR";_111[_110?"TR":"TL"]=_110?"BR":"BL";break;}});return _111;};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){return dojo.window.get(doc);};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup={_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_112){var _113=_112.declaredClass?_112._popupWrapper:(_112.parentNode&&dojo.hasClass(_112.parentNode,"dijitPopup")),node=_112.domNode||_112;if(!_113){_113=dojo.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},dojo.body());_113.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";if(_112.declaredClass){_112._popupWrapper=_113;dojo.connect(_112,"destroy",function(){dojo.destroy(_113);delete _112._popupWrapper;});}}return _113;},moveOffScreen:function(_114){var _115=this._createWrapper(_114);dojo.style(_115,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_116){var _117=this._createWrapper(_116);dojo.style(_117,"display","none");},getTopPopup:function(){var _118=this._stack;for(var pi=_118.length-1;pi>0&&_118[pi].parent===_118[pi-1].widget;pi--){}return _118[pi];},open:function(args){var _119=this._stack,_11a=args.popup,_11b=args.orient||((args.parent?args.parent.isLeftToRight():dojo._isBodyLtr())?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),_11c=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_119.length&&(!args.parent||!dojo.isDescendant(args.parent.domNode,_119[_119.length-1].widget.domNode))){dijit.popup.close(_119[_119.length-1].widget);}var _11d=this._createWrapper(_11a);dojo.attr(_11d,{id:id,style:{zIndex:this._beginZIndex+_119.length},"class":"dijitPopup "+(_11a.baseClass||_11a["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(dojo.isIE||dojo.isMoz){if(!_11a.bgIframe){_11a.bgIframe=new dijit.BackgroundIframe(_11d);}}var best=_11c?dijit.placeOnScreenAroundElement(_11d,_11c,_11b,_11a.orient?dojo.hitch(_11a,"orient"):null):dijit.placeOnScreen(_11d,args,_11b=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_11d.style.display="";_11d.style.visibility="visible";_11a.domNode.style.visibility="visible";var _11e=[];_11e.push(dojo.connect(_11d,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&args.onCancel){dojo.stopEvent(evt);args.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _11f=this.getTopPopup();if(_11f&&_11f.onCancel){_11f.onCancel();}}}}));if(_11a.onCancel){_11e.push(dojo.connect(_11a,"onCancel",args.onCancel));}_11e.push(dojo.connect(_11a,_11a.onExecute?"onExecute":"onChange",this,function(){var _120=this.getTopPopup();if(_120&&_120.onExecute){_120.onExecute();}}));_119.push({widget:_11a,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_11e});if(_11a.onOpen){_11a.onOpen(best);}return best;},close:function(_121){var _122=this._stack;while((_121&&dojo.some(_122,function(elem){return elem.widget==_121;}))||(!_121&&_122.length)){var top=_122.pop(),_123=top.widget,_124=top.onClose;if(_123.onClose){_123.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_123&&_123.domNode){this.hide(_123);}if(_124){_124();}}}};dijit._frames=new function(){var _125=[];this.pop=function(){var _126;if(_125.length){_126=_125.pop();_126.style.display="";}else{if(dojo.isIE<9){var burl=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var html="<iframe src='"+burl+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_126=dojo.doc.createElement(html);}else{_126=dojo.create("iframe");_126.src="javascript:\"\"";_126.className="dijitBackgroundIframe";dojo.style(_126,"opacity",0.1);}_126.tabIndex=-1;dijit.setWaiRole(_126,"presentation");}return _126;};this.push=function(_127){_127.style.display="none";_125.push(_127);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _128=(this.iframe=dijit._frames.pop());node.appendChild(_128);if(dojo.isIE<7||dojo.isQuirks){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_128,{width:"100%",height:"100%"});}}};dojo.extend(dijit.BackgroundIframe,{resize:function(node){if(this.iframe){dojo.style(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){dojo.disconnect(this._conn);this._conn=null;}if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node,pos){dojo.window.scrollIntoView(node,pos);};}if(!dojo._hasResource["dojo.uacss"]){dojo._hasResource["dojo.uacss"]=true;dojo.provide("dojo.uacss");(function(){var d=dojo,html=d.doc.documentElement,ie=d.isIE,_129=d.isOpera,maj=Math.floor,ff=d.isFF,_12a=d.boxModel.replace(/-/,""),_12b={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_ie8:maj(ie)==8,dj_ie9:maj(ie)==9,dj_quirks:d.isQuirks,dj_iequirks:ie&&d.isQuirks,dj_opera:_129,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla,dj_ff3:maj(ff)==3};_12b["dj_"+_12a]=true;var _12c="";for(var clz in _12b){if(_12b[clz]){_12c+=clz+" ";}}html.className=d.trim(html.className+" "+_12c);dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){var _12d="dj_rtl dijitRtl "+_12c.replace(/ /g,"-rtl ");html.className=d.trim(html.className+" "+_12d);}});})();}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_12e,node,_12f,obj,_130,_131,_132){if(obj!=this._obj){this.stop();this._initialDelay=_131||500;this._subsequentDelay=_130||0.9;this._minDelay=_132||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_12e,_12f);this._fireEventAndReload();this._evt=dojo.mixin({faux:true},evt);}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_133,_134,_135,_136,_137,_138){if(_133.keyCode){_133.charOrCode=_133.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_133.charCode){_133.charOrCode=String.fromCharCode(_133.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.charOrCode==_133.charOrCode&&(_133.ctrlKey===undefined||_133.ctrlKey==evt.ctrlKey)&&(_133.altKey===undefined||_133.altKey==evt.altKey)&&(_133.metaKey===undefined||_133.metaKey==(evt.metaKey||false))&&(_133.shiftKey===undefined||_133.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_134,node,_135,_133,_136,_137,_138);}else{if(dijit.typematic._obj==_133){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_133){dijit.typematic.stop();}})];},addMouseListener:function(node,_139,_13a,_13b,_13c,_13d){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_139,node,_13a,node,_13b,_13c,_13d);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){evt.preventDefault();}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_139,node,_13a,node,_13b,_13c,_13d);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_13e,_13f,_140,_141,_142,_143,_144,_145){return this.addKeyListener(_13f,_140,_141,_142,_143,_144,_145).concat(this.addMouseListener(_13e,_141,_142,_143,_144,_145));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");"}},dojo.body());var cs=dojo.getComputedStyle(div);if(cs){var _146=cs.backgroundImage;var _147=(cs.borderTopColor==cs.borderRightColor)||(_146!=null&&(_146=="none"||_146=="url(invalid-url:)"));dojo[_147?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(elem,role){var _148=this.getWaiRole(elem);return role?(_148.indexOf(role)>-1):(_148.length>0);},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){dojo.attr(elem,"role",role);},removeWaiRole:function(elem,role){var _149=dojo.attr(elem,"role");if(!_149){return;}if(role){var t=dojo.trim((" "+_149+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_14a){return elem.hasAttribute?elem.hasAttribute("aria-"+_14a):!!elem.getAttribute("aria-"+_14a);},getWaiState:function(elem,_14b){return elem.getAttribute("aria-"+_14b)||"";},setWaiState:function(elem,_14c,_14d){elem.setAttribute("aria-"+_14c,_14d);},removeWaiState:function(elem,_14e){elem.removeAttribute("aria-"+_14e);}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.connect(dojo,"_connect",function(_14f,_150){if(_14f&&dojo.isFunction(_14f._onConnect)){_14f._onConnect(_150);}});dijit._connectOnUseEventHandler=function(_151){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _152=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_152);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_152);});})();}else{dojo.doc.addEventListener("keydown",function(evt){dijit._lastKeyDownNode=evt.target;},true);}(function(){dojo.declare("dijit._Widget",dijit._WidgetBase,{_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,create:function(_153,_154){this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}this.inherited(arguments);if(this.domNode){for(attr in this.params){this._onConnect(attr);}}},_onConnect:function(_155){if(_155 in this._deferredConnects){var _156=this[this._deferredConnects[_155]||"domNode"];this.connect(_156,_155.toLowerCase(),_155);delete this._deferredConnects[_155];}},focused:false,isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(attr,_157){dojo.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_157);},attr:function(name,_158){if(dojo.config.isDebug){var _159=arguments.callee._ach||(arguments.callee._ach={}),_15a=(arguments.callee.caller||"unknown caller").toString();if(!_159[_15a]){dojo.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_15a,"","2.0");_159[_15a]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},nodesWithKeyClick:["input","button"],connect:function(obj,_15b,_15c){var d=dojo,dc=d._connect,_15d=this.inherited(arguments,[obj,_15b=="ondijitclick"?"onclick":_15b,_15c]);if(_15b=="ondijitclick"){if(d.indexOf(this.nodesWithKeyClick,obj.nodeName.toLowerCase())==-1){var m=d.hitch(this,_15c);_15d.push(dc(obj,"onkeydown",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=e.target;if(!("openDropDown" in this&&obj==this._buttonNode)){e.preventDefault();}}}),dc(obj,"onkeyup",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&e.target==dijit._lastKeyDownNode&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=null;return m(e);}}));}}return _15d;},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});})();}if(!dojo._hasResource["celinedesign.ImageJam"]){dojo._hasResource["celinedesign.ImageJam"]=true;dojo.provide("celinedesign.ImageJam");dojo.declare("celinedesign.ImageJam",[dijit._Widget],{duration:1000,sprite:"",imageWidth:null,imageLength:null,paddingLeft:0,href:null,zIndex:10,_images:null,postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onclick",this.onClick);this._images=[];var _15e=dojo.position(this.domNode.parentNode).w;for(var i=0;i<this.imageLength;i++){this._images.push(dojo.create("div",{style:{backgroundImage:"url("+this.sprite+")",backgroundPosition:"-"+this.imageWidth*i+"px 0",position:"absolute",top:0,left:_15e+"px",height:"100%",width:this.imageWidth+"px",zIndex:i+this.zIndex}},this.domNode));}this.start();},start:function(){dojo.forEach(this._images,function(_15f,idx){dojo.fx.slideTo({node:_15f,left:this.imageWidth*idx+2*idx+this.paddingLeft,duration:this.duration,delay:idx*this.duration/2}).play();},this);},onClick:function(){if(!this.href){return;}window.location.href=this.href;return false;}});}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_160,_161){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _162=dojo.date.stamp._isoRegExp.exec(_160),_163=null;if(_162){_162.shift();if(_162[1]){_162[1]--;}if(_162[6]){_162[6]*=1000;}if(_161){_161=new Date(_161);dojo.forEach(dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _161["get"+prop]();}),function(_164,_165){_162[_165]=_162[_165]||_164;});}_163=new Date(_162[0]||1970,_162[1]||0,_162[2]||1,_162[3]||0,_162[4]||0,_162[5]||0,_162[6]||0);if(_162[0]<100){_163.setFullYear(_162[0]||1970);}var _166=0,_167=_162[7]&&_162[7].charAt(0);if(_167!="Z"){_166=((_162[8]||0)*60)+(Number(_162[9])||0);if(_167!="-"){_166*=-1;}}if(_167){_166-=_163.getTimezoneOffset();}if(_166){_163.setTime(_163.getTime()+_166*60000);}}return _163;};dojo.date.stamp.toISOString=function(_168,_169){var _16a=function(n){return (n<10)?"0"+n:n;};_169=_169||{};var _16b=[],_16c=_169.zulu?"getUTC":"get",date="";if(_169.selector!="time"){var year=_168[_16c+"FullYear"]();date=["0000".substr((year+"").length)+year,_16a(_168[_16c+"Month"]()+1),_16a(_168[_16c+"Date"]())].join("-");}_16b.push(date);if(_169.selector!="date"){var time=[_16a(_168[_16c+"Hours"]()),_16a(_168[_16c+"Minutes"]()),_16a(_168[_16c+"Seconds"]())].join(":");var _16d=_168[_16c+"Milliseconds"]();if(_169.milliseconds){time+="."+(_16d<100?"0":"")+_16a(_16d);}if(_169.zulu){time+="Z";}else{if(_169.selector!="time"){var _16e=_168.getTimezoneOffset();var _16f=Math.abs(_16e);time+=(_16e>0?"-":"+")+_16a(Math.floor(_16f/60))+":"+_16a(_16f%60);}}_16b.push(time);}return _16b.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");new Date("X");dojo.parser=new function(){var d=dojo;function _170(_171){if(d.isString(_171)){return "string";}if(typeof _171=="number"){return "number";}if(typeof _171=="boolean"){return "boolean";}if(d.isFunction(_171)){return "function";}if(d.isArray(_171)){return "array";}if(_171 instanceof Date){return "date";}if(_171 instanceof d._Url){return "url";}return "object";};function _172(_173,type){switch(type){case "string":return _173;case "number":return _173.length?Number(_173):NaN;case "boolean":return typeof _173=="boolean"?_173:!(_173.toLowerCase()=="false");case "function":if(d.isFunction(_173)){_173=_173.toString();_173=d.trim(_173.substring(_173.indexOf("{")+1,_173.length-1));}try{if(_173===""||_173.search(/[^\w\.]+/i)!=-1){return new Function(_173);}else{return d.getObject(_173,false)||new Function(_173);}}catch(e){return new Function();}case "array":return _173?_173.split(/\s*,\s*/):[];case "date":switch(_173){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_173);}case "url":return d.baseUrl+_173;default:return d.fromJson(_173);}};var _174={},_175={};d.connect(d,"extend",function(){_175={};});function _176(cls,_177){for(var name in cls){if(name.charAt(0)=="_"){continue;}if(name in _174){continue;}_177[name]=_170(cls[name]);}return _177;};function _178(_179,_17a){var c=_175[_179];if(!c){var cls=d.getObject(_179),_17b=null;if(!cls){return null;}if(!_17a){_17b=_176(cls.prototype,{});}c={cls:cls,params:_17b};}else{if(!_17a&&!c.params){c.params=_176(c.cls.prototype,{});}}return c;};this._functionFromScript=function(_17c,_17d){var _17e="";var _17f="";var _180=(_17c.getAttribute(_17d+"args")||_17c.getAttribute("args"));if(_180){d.forEach(_180.split(/\s*,\s*/),function(part,idx){_17e+="var "+part+" = arguments["+idx+"]; ";});}var _181=_17c.getAttribute("with");if(_181&&_181.length){d.forEach(_181.split(/\s*,\s*/),function(part){_17e+="with("+part+"){";_17f+="}";});}return new Function(_17e+_17c.innerHTML+_17f);};this.instantiate=function(_182,_183,args){var _184=[],_183=_183||{};args=args||{};var _185=(args.scope||d._scopeName)+"Type",_186="data-"+(args.scope||d._scopeName)+"-";d.forEach(_182,function(obj){if(!obj){return;}var node,type,_187,_188,_189,_18a;if(obj.node){node=obj.node;type=obj.type;_18a=obj.fastpath;_187=obj.clsInfo||(type&&_178(type,_18a));_188=_187&&_187.cls;_189=obj.scripts;}else{node=obj;type=_185 in _183?_183[_185]:node.getAttribute(_185);_187=type&&_178(type);_188=_187&&_187.cls;_189=(_188&&(_188._noScript||_188.prototype._noScript)?[]:d.query("> script[type^='dojo/']",node));}if(!_187){throw new Error("Could not load class '"+type);}var _18b={};if(args.defaults){d._mixin(_18b,args.defaults);}if(obj.inherited){d._mixin(_18b,obj.inherited);}if(_18a){var _18c=node.getAttribute(_186+"props");if(_18c&&_18c.length){try{_18c=d.fromJson.call(args.propsThis,"{"+_18c+"}");d._mixin(_18b,_18c);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_18c+"'");}}var _18d=node.getAttribute(_186+"attach-point");if(_18d){_18b.dojoAttachPoint=_18d;}var _18e=node.getAttribute(_186+"attach-event");if(_18e){_18b.dojoAttachEvent=_18e;}dojo.mixin(_18b,_183);}else{var _18f=node.attributes;for(var name in _187.params){var item=name in _183?{value:_183[name],specified:true}:_18f.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _190=item.value;switch(name){case "class":_190="className" in _183?_183.className:node.className;break;case "style":_190="style" in _183?_183.style:(node.style&&node.style.cssText);}var _191=_187.params[name];if(typeof _190=="string"){_18b[name]=_172(_190,_191);}else{_18b[name]=_190;}}}var _192=[],_193=[];d.forEach(_189,function(_194){node.removeChild(_194);var _195=(_194.getAttribute(_186+"event")||_194.getAttribute("event")),type=_194.getAttribute("type"),nf=d.parser._functionFromScript(_194,_186);if(_195){if(type=="dojo/connect"){_192.push({event:_195,func:nf});}else{_18b[_195]=nf;}}else{_193.push(nf);}});var _196=_188.markupFactory||_188.prototype&&_188.prototype.markupFactory;var _197=_196?_196(_18b,node,_188):new _188(_18b,node);_184.push(_197);var _198=(node.getAttribute(_186+"id")||node.getAttribute("jsId"));if(_198){d.setObject(_198,_197);}d.forEach(_192,function(_199){d.connect(_197,_199.event,null,_199.func);});d.forEach(_193,function(func){func.call(_197);});});if(!_183._started){d.forEach(_184,function(_19a){if(!args.noStart&&_19a&&dojo.isFunction(_19a.startup)&&!_19a._started&&(!_19a.getParent||!_19a.getParent())){_19a.startup();}});}return _184;};this.parse=function(_19b,args){var root;if(!args&&_19b&&_19b.rootNode){args=_19b;root=args.rootNode;}else{root=_19b;}root=root?dojo.byId(root):dojo.body();args=args||{};var _19c=(args.scope||d._scopeName)+"Type",_19d="data-"+(args.scope||d._scopeName)+"-";function scan(_19e,list){var _19f=dojo.clone(_19e.inherited);dojo.forEach(["dir","lang"],function(name){var val=_19e.node.getAttribute(name);if(val){_19f[name]=val;}});var _1a0=_19e.clsInfo&&!_19e.clsInfo.cls.prototype._noScript?_19e.scripts:null;var _1a1=(!_19e.clsInfo||!_19e.clsInfo.cls.prototype.stopParser)||(args&&args.template);for(var _1a2=_19e.node.firstChild;_1a2;_1a2=_1a2.nextSibling){if(_1a2.nodeType==1){var type,_1a3=_1a1&&_1a2.getAttribute(_19d+"type");if(_1a3){type=_1a3;}else{type=_1a1&&_1a2.getAttribute(_19c);}var _1a4=_1a3==type;if(type){var _1a5={"type":type,fastpath:_1a4,clsInfo:_178(type,_1a4),node:_1a2,scripts:[],inherited:_19f};list.push(_1a5);scan(_1a5,list);}else{if(_1a0&&_1a2.nodeName.toLowerCase()=="script"){type=_1a2.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_1a0.push(_1a2);}}else{if(_1a1){scan({node:_1a2,inherited:_19f},list);}}}}}};var _1a6={};if(args&&args.inherited){for(var key in args.inherited){if(args.inherited[key]){_1a6[key]=args.inherited[key];}}}var list=[];scan({node:root,inherited:_1a6},list);var _1a7=args&&args.template?{template:true}:null;return this.instantiate(list,_1a7,args);};}();(function(){var _1a8=function(){if(dojo.config.parseOnLoad){dojo.parser.parse();}};if(dojo.getObject("dijit.wai.onload")===dojo._loaders[0]){dojo._loaders.splice(1,0,_1a8);}else{dojo._loaders.unshift(_1a8);}})();}dojo.ready(function(){dojo.parser.parse();});

