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

dojo.provide("porte.home");if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");dojo.provide("dojo.fx.Toggler");(function(){var _1={_fire:function(_2,_3){if(this[_2]){this[_2].apply(this,_3||[]);}return this;}};var _4=function(_5){this._index=-1;this._animations=_5||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;dojo.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};dojo.extend(_4,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){dojo.disconnect(this._onAnimateCtx);dojo.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_7,_8){if(!this._current){this._current=this._animations[this._index=0];}if(!_8&&this._current.status()=="playing"){return this;}var _9=dojo.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_a=dojo.connect(this._current,"onBegin",this,function(_b){this._fire("onBegin",arguments);}),_c=dojo.connect(this._current,"onPlay",this,function(_d){this._fire("onPlay",arguments);dojo.disconnect(_9);dojo.disconnect(_a);dojo.disconnect(_c);});if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=dojo.connect(this._current,"onPause",this,function(_f){this._fire("onPause",arguments);dojo.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_10,_11){this.pause();var _12=this.duration*_10;this._current=null;dojo.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(_14){if(this._current){if(_14){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=dojo.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);dojo.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}}});dojo.extend(_4,_1);dojo.fx.chain=function(_17){return new _4(_17);};var _18=function(_19){this._animations=_19||[];this._connects=[];this._finished=0;this.duration=0;dojo.forEach(_19,function(a){var _1b=a.duration;if(a.delay){_1b+=a.delay;}if(this.duration<_1b){this.duration=_1b;}this._connects.push(dojo.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new dojo._Animation({curve:[0,1],duration:this.duration});dojo.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop"],function(evt){this._connects.push(dojo.connect(this._pseudoAnimation,evt,dojo.hitch(this,"_fire",evt)));},this);};dojo.extend(_18,{_doAction:function(_1d,_1e){dojo.forEach(this._animations,function(a){a[_1d].apply(a,_1e);});return this;},_onEnd:function(){if(++this._finished==this._animations.length){this._fire("onEnd");}},_call:function(_20,_21){var t=this._pseudoAnimation;t[_20].apply(t,_21);},play:function(_23,_24){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(_25,_26){var ms=this.duration*_25;dojo.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_26);});this._call("gotoPercent",arguments);return this;},stop:function(_29){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){dojo.forEach(this._connects,dojo.disconnect);}});dojo.extend(_18,_1);dojo.fx.combine=function(_2a){return new _18(_2a);};})();dojo.declare("dojo.fx.Toggler",null,{constructor:function(_2b){var _t=this;dojo.mixin(_t,_2b);_t.node=_2b.node;_t._showArgs=dojo.mixin({},_2b);_t._showArgs.node=_t.node;_t._showArgs.duration=_t.showDuration;_t.showAnim=_t.showFunc(_t._showArgs);_t._hideArgs=dojo.mixin({},_2b);_t._hideArgs.node=_t.node;_t._hideArgs.duration=_t.hideDuration;_t.hideAnim=_t.hideFunc(_t._hideArgs);dojo.connect(_t.showAnim,"beforeBegin",dojo.hitch(_t.hideAnim,"stop",true));dojo.connect(_t.hideAnim,"beforeBegin",dojo.hitch(_t.showAnim,"stop",true));},node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,show:function(_2d){return this.showAnim.play(_2d||0);},hide:function(_2e){return this.hideAnim.play(_2e||0);}});dojo.fx.wipeIn=function(_2f){_2f.node=dojo.byId(_2f.node);var _30=_2f.node,s=_30.style,o;var _33=dojo.animateProperty(dojo.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _34=dojo.style(_30,"height");return Math.max(_34,1);}},end:function(){return _30.scrollHeight;}}}},_2f));dojo.connect(_33,"onEnd",function(){s.height="auto";s.overflow=o;});return _33;};dojo.fx.wipeOut=function(_35){var _36=_35.node=dojo.byId(_35.node);var s=_36.style;var o;var _39=dojo.animateProperty(dojo.mixin({properties:{height:{end:1}}},_35));dojo.connect(_39,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});dojo.connect(_39,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return _39;};dojo.fx.slideTo=function(_3a){var _3b=(_3a.node=dojo.byId(_3a.node));var top=null;var _3d=null;var _3e=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);_3d=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;_3d=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=_3d+"px";}};})(_3b);_3e();var _43=dojo.animateProperty(dojo.mixin({properties:{top:{end:_3a.top||0},left:{end:_3a.left||0}}},_3a));dojo.connect(_43,"beforeBegin",_43,_3e);return _43;};}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _44=dojo.doc;if(_44.selection){var s=_44.selection;if(s.type=="Text"){return !s.createRange().htmlText.length;}else{return !s.createRange().length;}}else{var _46=dojo.global;var _47=_46.getSelection();if(dojo.isString(_47)){return !_47;}else{return _47.isCollapsed||!_47.toString();}}},getBookmark:function(){var _48,_49=dojo.doc.selection;if(_49){var _4a=_49.createRange();if(_49.type.toUpperCase()=="CONTROL"){if(_4a.length){_48=[];var i=0,len=_4a.length;while(i<len){_48.push(_4a.item(i++));}}else{_48=null;}}else{_48=_4a.getBookmark();}}else{if(window.getSelection){_49=dojo.global.getSelection();if(_49){_4a=_49.getRangeAt(0);_48=_4a.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _48;},moveToBookmark:function(_4d){var _4e=dojo.doc;if(_4e.selection){var _4f;if(dojo.isArray(_4d)){_4f=_4e.body.createControlRange();dojo.forEach(_4d,function(n){_4f.addElement(n);});}else{_4f=_4e.selection.createRange();_4f.moveToBookmark(_4d);}_4f.select();}else{var _51=dojo.global.getSelection&&dojo.global.getSelection();if(_51&&_51.removeAllRanges){_51.removeAllRanges();_51.addRange(_4d);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(_52,_53){return {node:_52&&dojo.isDescendant(dijit._curFocus,_52.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_53||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_53||dojo.global,dijit.getBookmark):null,openedForWindow:_53};},focus:function(_54){if(!_54){return;}var _55="node" in _54?_54.node:_54,_56=_54.bookmark,_57=_54.openedForWindow;if(_55){var _58=(_55.tagName.toLowerCase()=="iframe")?_55.contentWindow:_55;if(_58&&_58.focus){try{_58.focus();}catch(e){}}dijit._onFocusNode(_55);}if(_56&&dojo.withGlobal(_57||dojo.global,dijit.isCollapsed)){if(_57){_57.focus();}try{dojo.withGlobal(_57||dojo.global,dijit.moveToBookmark,null,[_56]);}catch(e){}}},_activeStack:[],registerWin:function(_59){if(!_59){_59=window;}dojo.connect(_59.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var doc=_59.document;if(doc){if(dojo.isIE){doc.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"){dijit._onFocusNode(evt.srcElement);}});doc.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{doc.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);doc.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}doc=null;},_onBlurNode:function(_60){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(_61){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _62=[];try{while(_61){if(_61.dijitPopupParent){_61=dijit.byId(_61.dijitPopupParent).domNode;}else{if(_61.tagName&&_61.tagName.toLowerCase()=="body"){if(_61===dojo.body()){break;}_61=dijit.getDocumentWindow(_61.ownerDocument).frameElement;}else{var id=_61.getAttribute&&_61.getAttribute("widgetId");if(id){_62.unshift(id);}_61=_61.parentNode;}}}}catch(e){}dijit._setStack(_62);},_onFocusNode:function(_64){if(!_64){return;}if(_64.nodeType==9){return;}if(_64.nodeType==9){var _65=dijit.getDocumentWindow(_64).frameElement;if(!_65){return;}_64=_65;}dijit._onTouchNode(_64);if(_64==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=_64;dojo.publish("focusNode",[_64]);},_setStack:function(_66){var _67=dijit._activeStack;dijit._activeStack=_66;for(var _68=0;_68<Math.min(_67.length,_66.length);_68++){if(_67[_68]!=_66[_68]){break;}}for(var i=_67.length-1;i>=_68;i--){var _6a=dijit.byId(_67[i]);if(_6a){_6a._focused=false;_6a._hasBeenBlurred=true;if(_6a._onBlur){_6a._onBlur();}if(_6a._setStateClass){_6a._setStateClass();}dojo.publish("widgetBlur",[_6a]);}}for(i=_68;i<_66.length;i++){_6a=dijit.byId(_66[i]);if(_6a){_6a._focused=true;if(_6a._onFocus){_6a._onFocus();}if(_6a._setStateClass){_6a._setStateClass();}dojo.publish("widgetFocus",[_6a]);}}}});dojo.addOnLoad(dijit.registerWin);}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_6b){if(this._hash[_6b.id]){throw new Error("Tried to register widget with id=="+_6b.id+" but that id is already registered");}this._hash[_6b.id]=_6b;},remove:function(id){delete this._hash[id];},forEach:function(_6d){for(var id in this._hash){_6d(this._hash[id]);}},filter:function(_6f){var res=new dijit.WidgetSet();this.forEach(function(_71){if(_6f(_71)){res.add(_71);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_74){return _74.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_75){var id;do{id=_75+"_"+(_75 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_75]:dijit._widgetTypeCtr[_75]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.registry.forEach(function(_77){_77.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_79){return dijit.registry.byId(_79.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_7a){while(_7a){if(_7a.getAttribute&&_7a.getAttribute("widgetId")){return dijit.registry.byId(_7a.getAttribute("widgetId"));}_7a=_7a.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(_7b){var _7c=dojo.style(_7b);return (_7c.visibility!="hidden")&&(_7c.visibility!="collapsed")&&(_7c.display!="none")&&(dojo.attr(_7b,"type")!="hidden");};dijit.isTabNavigable=function(_7d){if(dojo.hasAttr(_7d,"disabled")){return false;}var _7e=dojo.hasAttr(_7d,"tabindex");var _7f=dojo.attr(_7d,"tabindex");if(_7e&&_7f>=0){return true;}var _80=_7d.nodeName.toLowerCase();if(((_80=="a"&&dojo.hasAttr(_7d,"href"))||dijit._tabElements[_80])&&(!_7e||_7f>=0)){return true;}return false;};dijit._getTabNavigable=function(_81){var _82,_83,_84,_85,_86,_87;var _88=function(_89){dojo.query("> *",_89).forEach(function(_8a){var _8b=dijit._isElementShown(_8a);if(_8b&&dijit.isTabNavigable(_8a)){var _8c=dojo.attr(_8a,"tabindex");if(!dojo.hasAttr(_8a,"tabindex")||_8c==0){if(!_82){_82=_8a;}_83=_8a;}else{if(_8c>0){if(!_84||_8c<_85){_85=_8c;_84=_8a;}if(!_86||_8c>=_87){_87=_8c;_86=_8a;}}}}if(_8b&&_8a.nodeName.toUpperCase()!="SELECT"){_88(_8a);}});};if(dijit._isElementShown(_81)){_88(_81);}return {first:_82,last:_83,lowest:_84,highest:_86};};dijit.getFirstInTabbingOrder=function(_8d){var _8e=dijit._getTabNavigable(dojo.byId(_8d));return _8e.lowest?_8e.lowest:_8e.first;};dijit.getLastInTabbingOrder=function(_8f){var _90=dijit._getTabNavigable(dojo.byId(_8f));return _90.last?_90.last:_90.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_91){this.pairs=[];this.returnWrappers=_91||false;};dojo.extend(dojo.AdapterRegistry,{register:function(_92,_93,_94,_95,_96){this.pairs[((_96)?"unshift":"push")]([_92,_93,_94,_95]);},match:function(){for(var i=0;i<this.pairs.length;i++){var _98=this.pairs[i];if(_98[1].apply(this,arguments)){if((_98[3])||(this.returnWrappers)){return _98[2];}else{return _98[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(_99){for(var i=0;i<this.pairs.length;i++){var _9b=this.pairs[i];if(_9b[0]==_99){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _9c=dojo.global;var _9d=dojo.doc;var w=0,h=0;var de=_9d.documentElement;var dew=de.clientWidth,deh=de.clientHeight;if(dojo.isMozilla||dojo.isSafari){var _a3,_a4,_a5,_a6;var dbw=_9d.body.clientWidth;if(dbw>dew){_a3=dew;_a5=dbw;}else{_a5=dew;_a3=dbw;}var dbh=_9d.body.clientHeight;if(dbh>deh){_a4=deh;_a6=dbh;}else{_a6=deh;_a4=dbh;}w=(_a5>_9c.innerWidth)?_a3:_a5;h=(_a6>_9c.innerHeight)?_a4:_a6;}else{if(!dojo.isOpera&&_9c.innerWidth){w=_9c.innerWidth;h=_9c.innerHeight;}else{if(dojo.isIE&&de&&deh){w=dew;h=deh;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _a9=dojo._docScroll();return {w:w,h:h,l:_a9.x,t:_a9.y};};dijit.placeOnScreen=function(_aa,pos,_ac,_ad){var _ae=dojo.map(_ac,function(_af){return {corner:_af,pos:pos};});return dijit._place(_aa,_ae);};dijit._place=function(_b0,_b1,_b2){var _b3=dijit.getViewport();if(!_b0.parentNode||String(_b0.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_b0);}var _b4=null;dojo.some(_b1,function(_b5){var _b6=_b5.corner;var pos=_b5.pos;if(_b2){_b2(_b0,_b5.aroundCorner,_b6);}var _b8=_b0.style;var _b9=_b8.display;var _ba=_b8.visibility;_b8.visibility="hidden";_b8.display="";var mb=dojo.marginBox(_b0);_b8.display=_b9;_b8.visibility=_ba;var _bc=(_b6.charAt(1)=="L"?pos.x:Math.max(_b3.l,pos.x-mb.w)),_bd=(_b6.charAt(0)=="T"?pos.y:Math.max(_b3.t,pos.y-mb.h)),_be=(_b6.charAt(1)=="L"?Math.min(_b3.l+_b3.w,_bc+mb.w):pos.x),_bf=(_b6.charAt(0)=="T"?Math.min(_b3.t+_b3.h,_bd+mb.h):pos.y),_c0=_be-_bc,_c1=_bf-_bd,_c2=(mb.w-_c0)+(mb.h-_c1);if(_b4==null||_c2<_b4.overflow){_b4={corner:_b6,aroundCorner:_b5.aroundCorner,x:_bc,y:_bd,w:_c0,h:_c1,overflow:_c2};}return !_c2;});_b0.style.left=_b4.x+"px";_b0.style.top=_b4.y+"px";if(_b4.overflow&&_b2){_b2(_b0,_b4.aroundCorner,_b4.corner);}return _b4;};dijit.placeOnScreenAroundNode=function(_c3,_c4,_c5,_c6){_c4=dojo.byId(_c4);var _c7=_c4.style.display;_c4.style.display="";var _c8=_c4.offsetWidth;var _c9=_c4.offsetHeight;var _ca=dojo.coords(_c4,true);_c4.style.display=_c7;return dijit._placeOnScreenAroundRect(_c3,_ca.x,_ca.y,_c8,_c9,_c5,_c6);};dijit.placeOnScreenAroundRectangle=function(_cb,_cc,_cd,_ce){return dijit._placeOnScreenAroundRect(_cb,_cc.x,_cc.y,_cc.width,_cc.height,_cd,_ce);};dijit._placeOnScreenAroundRect=function(_cf,x,y,_d2,_d3,_d4,_d5){var _d6=[];for(var _d7 in _d4){_d6.push({aroundCorner:_d7,corner:_d4[_d7],pos:{x:x+(_d7.charAt(1)=="L"?0:_d2),y:y+(_d7.charAt(0)=="T"?0:_d3)}});}return dijit._place(_cf,_d6,_d5);};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(_dc,_dd,_de,_df){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){if(dojo.isIE&&window!==document.parentWindow&&!doc._parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc._parentWindow||doc.parentWindow||doc.defaultView;};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup=new function(){var _e2=[],_e3=1000,_e4=1;this.prepare=function(_e5){dojo.body().appendChild(_e5);var s=_e5.style;if(s.display=="none"){s.display="";}s.visibility="hidden";s.position="absolute";s.top="-9999px";};this.open=function(_e7){var _e8=_e7.popup,_e9=_e7.orient||{"BL":"TL","TL":"BL"},_ea=_e7.around,id=(_e7.around&&_e7.around.id)?(_e7.around.id+"_dropdown"):("popup_"+_e4++);var _ec=dojo.doc.createElement("div");dijit.setWaiRole(_ec,"presentation");_ec.id=id;_ec.className="dijitPopup";_ec.style.zIndex=_e3+_e2.length;_ec.style.left=_ec.style.top="0px";_ec.style.visibility="hidden";if(_e7.parent){_ec.dijitPopupParent=_e7.parent.id;}dojo.body().appendChild(_ec);var s=_e8.domNode.style;s.display="";s.visibility="";s.position="";_ec.appendChild(_e8.domNode);var _ee=new dijit.BackgroundIframe(_ec);var _ef=_ea?dijit.placeOnScreenAroundElement(_ec,_ea,_e9,_e8.orient?dojo.hitch(_e8,"orient"):null):dijit.placeOnScreen(_ec,_e7,_e9=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_ec.style.visibility="visible";var _f0=[];var _f1=function(){for(var pi=_e2.length-1;pi>0&&_e2[pi].parent===_e2[pi-1].widget;pi--){}return _e2[pi];};_f0.push(dojo.connect(_ec,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&_e7.onCancel){dojo.stopEvent(evt);_e7.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _f4=_f1();if(_f4&&_f4.onCancel){_f4.onCancel();}}}}));if(_e8.onCancel){_f0.push(dojo.connect(_e8,"onCancel",null,_e7.onCancel));}_f0.push(dojo.connect(_e8,_e8.onExecute?"onExecute":"onChange",null,function(){var _f5=_f1();if(_f5&&_f5.onExecute){_f5.onExecute();}}));_e2.push({wrapper:_ec,iframe:_ee,widget:_e8,parent:_e7.parent,onExecute:_e7.onExecute,onCancel:_e7.onCancel,onClose:_e7.onClose,handlers:_f0});if(_e8.onOpen){_e8.onOpen(_ef);}return _ef;};this.close=function(_f6){while(dojo.some(_e2,function(_f7){return _f7.widget==_f6;})){var top=_e2.pop(),_f9=top.wrapper,_fa=top.iframe,_fb=top.widget,_fc=top.onClose;if(_fb.onClose){_fb.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_fb||!_fb.domNode){return;}this.prepare(_fb.domNode);_fa.destroy();dojo._destroyElement(_f9);if(_fc){_fc();}}};}();dijit._frames=new function(){var _fd=[];this.pop=function(){var _fe;if(_fd.length){_fe=_fd.pop();_fe.style.display="";}else{if(dojo.isIE){var _ff=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var html="<iframe src='"+_ff+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_fe=dojo.doc.createElement(html);}else{_fe=dojo.doc.createElement("iframe");_fe.src="javascript:\"\"";_fe.className="dijitBackgroundIframe";}_fe.tabIndex=-1;dojo.body().appendChild(_fe);}return _fe;};this.push=function(_101){_101.style.display="";if(dojo.isIE){_101.style.removeExpression("width");_101.style.removeExpression("height");}_fd.push(_101);};}();if(dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _104=dijit._frames.pop();node.appendChild(_104);if(dojo.isIE){_104.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetWidth");_104.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetHeight");}this.iframe=_104;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node){node=dojo.byId(node);var body=node.ownerDocument.body;var html=body.parentNode;if(dojo.isFF==2||node==body||node==html){node.scrollIntoView(false);return;}var rtl=!dojo._isBodyLtr();var _109=dojo.doc.compatMode!="BackCompat";var _10a=(_109&&!dojo.isSafari)?html:body;function _10b(_10c){var _10d=_10c.parentNode;var _10e=_10c.offsetParent;if(_10e==null||(_10c.style&&_10c.style.position=="fixed")){if(_10c==body||_10c==html){_10c=_10a;}else{_10a=_10c;}_10e=html;_10d=null;}_10c._offsetParent=(_10e==body)?_10a:_10e;_10c._parent=(_10d==body)?_10a:_10d;_10c._start={H:_10c.offsetLeft,V:_10c.offsetTop};_10c._scroll={H:_10c.scrollLeft,V:_10c.scrollTop};_10c._renderedSize={H:_10c.offsetWidth,V:_10c.offsetHeight};var bp=dojo._getBorderExtents(_10c);_10c._borderStart={H:bp.l,V:bp.t};_10c._borderSize={H:bp.w,V:bp.h};_10c._clientSize=(_10c._offsetParent==html&&dojo.isSafari&&_109)?{H:html.clientWidth,V:html.clientHeight}:{H:_10c.clientWidth,V:_10c.clientHeight};_10c._scrollBarSize={V:null,H:null};for(var dir in _10c._scrollBarSize){var _111=_10c._renderedSize[dir]-_10c._clientSize[dir]-_10c._borderSize[dir];_10c._scrollBarSize[dir]=(_10c._clientSize[dir]>0&&_111>=15&&_111<=17)?_111:0;}_10c._isScrollable={V:null,H:null};for(dir in _10c._isScrollable){var _112=dir=="H"?"V":"H";_10c._isScrollable[dir]=_10c==_10a||_10c._scroll[dir]||_10c._scrollBarSize[_112];}};var _113=node;while(_113!=null){_10b(_113);var next=_113._parent;if(next){next._child=_113;}_113=next;}for(var dir in _10a._renderedSize){_10a._renderedSize[dir]=Math.min(_10a._clientSize[dir],_10a._renderedSize[dir]);}var _116=node;while(_116!=_10a){_113=_116._parent;if(_113.tagName=="TD"){var _117=_113._parent._parent._parent;if(_117._offsetParent==_116._offsetParent&&_113._offsetParent!=_116._offsetParent){_113=_117;}}var _118=_116==_10a||(_113._offsetParent!=_116._offsetParent);for(dir in _116._start){var _119=dir=="H"?"V":"H";if(rtl&&dir=="H"&&(dojo.isSafari||dojo.isIE)&&_113._clientSize.H>0){var _11a=_113.scrollWidth-_113._clientSize.H;if(_11a>0){_113._scroll.H-=_11a;}}if(dojo.isIE&&_113._offsetParent.tagName=="TABLE"){_113._start[dir]-=_113._offsetParent._borderStart[dir];_113._borderStart[dir]=_113._borderSize[dir]=0;}if(_113._clientSize[dir]==0){_113._renderedSize[dir]=_113._clientSize[dir]=_113._child._clientSize[dir];if(rtl&&dir=="H"){_113._start[dir]-=_113._renderedSize[dir];}}else{_113._renderedSize[dir]-=_113._borderSize[dir]+_113._scrollBarSize[dir];}_113._start[dir]+=_113._borderStart[dir];var _11b=_116._start[dir]-(_118?0:_113._start[dir])-_113._scroll[dir];var _11c=_11b+_116._renderedSize[dir]-_113._renderedSize[dir];var _11d,_11e=(dir=="H")?"scrollLeft":"scrollTop";var _11f=(dir=="H"&&rtl);var _120=_11f?-_11c:_11b;var _121=_11f?-_11b:_11c;if(_120<=0){_11d=_120;}else{if(_121<=0){_11d=0;}else{if(_120<_121){_11d=_120;}else{_11d=_121;}}}var _122=0;if(_11d!=0){var _123=_113[_11e];_113[_11e]+=_11f?-_11d:_11d;_122=_113[_11e]-_123;_11b-=_122;_121-=_11f?-_122:_122;}_113._renderedSize[dir]=_116._renderedSize[dir]+_113._scrollBarSize[dir]-((_113._isScrollable[dir]&&_121>0)?_121:0);_113._start[dir]+=(_11b>=0||!_113._isScrollable[dir])?_11b:0;}_116=_113;}};}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo;var ie=d.isIE;var _126=d.isOpera;var maj=Math.floor;var ff=d.isFF;var _129=d.boxModel.replace(/-/,"");var _12a={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_126,dj_opera8:maj(_126)==8,dj_opera9:maj(_126)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2,dj_ff3:maj(ff)==3};_12a["dj_"+_129]=true;var html=dojo.doc.documentElement;for(var p in _12a){if(_12a[p]){if(html.className){html.className+=" "+p;}else{html.className=p;}}}dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){html.className+=" dijitRtl";for(var p in _12a){if(_12a[p]){html.className+=" "+p+"-rtl";}}}});})();}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_12f,node,_131,obj,_133,_134){if(obj!=this._obj){this.stop();this._initialDelay=_134||500;this._subsequentDelay=_133||0.9;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_12f,_131);this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_136,_137,_138,_139,_13a){if(_136.keyCode){_136.charOrCode=_136.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_136.charCode){_136.charOrCode=String.fromCharCode(_136.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==_136.charOrCode&&(_136.ctrlKey===undefined||_136.ctrlKey==evt.ctrlKey)&&(_136.altKey===undefined||_136.altKey==evt.ctrlKey)&&(_136.shiftKey===undefined||_136.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_136,_137,node,_138,_136,_139,_13a);}else{if(dijit.typematic._obj==_136){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_136){dijit.typematic.stop();}})];},addMouseListener:function(node,_13e,_13f,_140,_141){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_13e,node,_13f,node,_140,_141);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_13e,node,_13f,node,_140,_141);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_148,_149,_14a,_14b,_14c,_14d,_14e){return this.addKeyListener(_149,_14a,_14b,_14c,_14d,_14e).concat(this.addMouseListener(_148,_14b,_14c,_14d,_14e));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.doc.createElement("div");div.id="a11yTestNode";div.style.cssText="border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");";dojo.body().appendChild(div);var cs=dojo.getComputedStyle(div);if(cs){var _151=cs.backgroundImage;var _152=(cs.borderTopColor==cs.borderRightColor)||(_151!=null&&(_151=="none"||_151=="url(invalid-url:)"));dojo[_152?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{_XhtmlRoles:/banner|contentinfo|definition|main|navigation|search|note|secondary|seealso/,hasWaiRole:function(elem,role){var _155=this.getWaiRole(elem);return role?(_155.indexOf(role)>-1):(_155.length>0);},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));},setWaiRole:function(elem,role){var _159=dojo.attr(elem,"role")||"";if(dojo.isFF<3||!this._XhtmlRoles.test(_159)){dojo.attr(elem,"role",dojo.isFF<3?"wairole:"+role:role);}else{if((" "+_159+" ").indexOf(" "+role+" ")<0){var _15a=dojo.trim(_159.replace(this._XhtmlRoles,""));var _15b=dojo.trim(_159.replace(_15a,""));dojo.attr(elem,"role",_15b+(_15b?" ":"")+role);}}},removeWaiRole:function(elem,role){var _15e=dojo.attr(elem,"role");if(!_15e){return;}if(role){var _15f=dojo.isFF<3?"wairole:"+role:role;var t=dojo.trim((" "+_15e+" ").replace(" "+_15f+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_162){if(dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_162);}return elem.hasAttribute?elem.hasAttribute("aria-"+_162):!!elem.getAttribute("aria-"+_162);},getWaiState:function(elem,_164){if(dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_164);}return elem.getAttribute("aria-"+_164)||"";},setWaiState:function(elem,_166,_167){if(dojo.isFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_166,_167);}else{elem.setAttribute("aria-"+_166,_167);}},removeWaiState:function(elem,_169){if(dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_169);}else{elem.removeAttribute("aria-"+_169);}}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.connect(dojo,"connect",function(_16a,_16b){if(_16a&&dojo.isFunction(_16a._onConnect)){_16a._onConnect(_16b);}});dijit._connectOnUseEventHandler=function(_16c){};(function(){var _16d={};var _16e=function(dc){if(!_16d[dc]){var r=[];var _171;var _172=dojo.getObject(dc).prototype;for(var _173 in _172){if(dojo.isFunction(_172[_173])&&(_171=_173.match(/^_set([a-zA-Z]*)Attr$/))&&_171[1]){r.push(_171[1].charAt(0).toLowerCase()+_171[1].substr(1));}}_16d[dc]=r;}return _16d[dc]||[];};dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")),postscript:function(_174,_175){this.create(_174,_175);},create:function(_176,_177){this.srcNodeRef=dojo.byId(_177);this._connects=[];this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_176){this.params=_176;dojo.mixin(this,_176);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();for(attr in this.params){this._onConnect(attr);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _179=function(attr,_17b){if((_17b.params&&attr in _17b.params)||_17b[attr]){_17b.attr(attr,_17b[attr]);}};for(var attr in this.attributeMap){_179(attr,this);}dojo.forEach(_16e(this.declaredClass),function(a){if(!(a in this.attributeMap)){_179(a,this);}},this);},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_17e){this.destroyDescendants(_17e);this.destroy(_17e);},destroy:function(_17f){this.uninitialize();dojo.forEach(this._connects,function(_180){dojo.forEach(_180,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){if(w.destroy){w.destroy();}});this.destroyRendering(_17f);dijit.registry.remove(this.id);},destroyRendering:function(_182){if(this.bgIframe){this.bgIframe.destroy(_182);delete this.bgIframe;}if(this.domNode){if(!_182){dojo._destroyElement(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_182){dojo._destroyElement(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_183){dojo.forEach(this.getDescendants(true),function(_184){if(_184.destroyRecursive){_184.destroyRecursive(_183);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},_onConnect:function(_186){if(_186 in this._deferredConnects){var _187=this[this._deferredConnects[_186]||"domNode"];this.connect(_187,_186.toLowerCase(),this[_186]);delete this._deferredConnects[_186];}},_setClassAttr:function(_188){var _189=this[this.attributeMap["class"]||"domNode"];dojo.removeClass(_189,this["class"]);this["class"]=_188;dojo.addClass(_189,_188);},_setStyleAttr:function(_18a){var _18b=this[this.attributeMap["style"]||"domNode"];if(_18b.style.cssText){_18b.style.cssText+="; "+_18a;}else{_18b.style.cssText=_18a;}this["style"]=_18a;},setAttribute:function(attr,_18d){dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");this.attr(attr,_18d);},_attrToDom:function(attr,_18f){var _190=this.attributeMap[attr];dojo.forEach(dojo.isArray(_190)?_190:[_190],function(_191){var _192=this[_191.node||_191||"domNode"];var type=_191.type||"attribute";switch(type){case "attribute":if(dojo.isFunction(_18f)){_18f=dojo.hitch(this,_18f);}if(/^on[A-Z][a-zA-Z]*$/.test(attr)){attr=attr.toLowerCase();}dojo.attr(_192,attr,_18f);break;case "innerHTML":_192.innerHTML=_18f;break;case "class":dojo.removeClass(_192,this[attr]);dojo.addClass(_192,_18f);break;}},this);this[attr]=_18f;},attr:function(name,_195){var args=arguments.length;if(args==1&&!dojo.isString(name)){for(var x in name){this.attr(x,name[x]);}return this;}var _198=this._getAttrNames(name);if(args==2){if(this[_198.s]){return this[_198.s](_195)||this;}else{if(name in this.attributeMap){this._attrToDom(name,_195);}this[name]=_195;}return this;}else{if(this[_198.g]){return this[_198.g]();}else{return this[name];}}},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"};},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(_19c,_19d){_19d=_19d||[];if(this.containerNode){this._getDescendantsHelper(_19c,_19d,this.containerNode);}return _19d;},_getDescendantsHelper:function(_19e,_19f,root){var list=dojo.isIE?root.children:root.childNodes,i=0,node;while(node=list[i++]){if(node.nodeType!=1){continue;}var _1a4=node.getAttribute("widgetId");if(_1a4){var _1a5=dijit.byId(_1a4);_19f.push(_1a5);if(!_19e){_1a5.getDescendants(_19e,_19f);}}else{this._getDescendantsHelper(_19e,_19f,node);}}},nodesWithKeyClick:["input","button"],connect:function(obj,_1a7,_1a8){var d=dojo;var dco=d.hitch(d,"connect",obj);var _1ab=[];if(_1a7=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){var m=d.hitch(this,_1a8);_1ab.push(dco("onkeydown",this,function(e){if(!d.isFF&&e.keyCode==d.keys.ENTER){return m(e);}else{if(e.keyCode==d.keys.SPACE){d.stopEvent(e);}}}),dco("onkeyup",this,function(e){if(e.keyCode==d.keys.SPACE){return m(e);}}));if(d.isFF){_1ab.push(dco("onkeypress",this,function(e){if(e.keyCode==d.keys.ENTER){return m(e);}}));}}_1a7="onclick";}_1ab.push(dco(_1a7,this,_1a8));this._connects.push(_1ab);return _1ab;},disconnect:function(_1b0){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_1b0){dojo.forEach(_1b0,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){return dojo._isBodyLtr();},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},placeAt:function(_1b2,_1b3){if(_1b2["declaredClass"]&&_1b2["addChild"]){_1b2.addChild(this,_1b3);}else{dojo.place(this.domNode,_1b2,_1b3);}return this;}});})();}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_1bd,map,_1bf,_1c0){_1c0=_1c0||dojo.global;_1bf=(!_1bf)?function(v){return v;}:dojo.hitch(_1c0,_1bf);return _1bd.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1c2,key,_1c4){var _1c5=dojo.getObject(key,false,map);if(_1c4){_1c5=dojo.getObject(_1c4,false,_1c0).call(_1c0,_1c5,key);}return _1bf(_1c5,key).toString();});};dojo.string.trim=function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_1c8,_1c9){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 _1ca=dojo.date.stamp._isoRegExp.exec(_1c8);var _1cb=null;if(_1ca){_1ca.shift();if(_1ca[1]){_1ca[1]--;}if(_1ca[6]){_1ca[6]*=1000;}if(_1c9){_1c9=new Date(_1c9);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _1c9["get"+prop]();}).forEach(function(_1cd,_1ce){if(_1ca[_1ce]===undefined){_1ca[_1ce]=_1cd;}});}_1cb=new Date(_1ca[0]||1970,_1ca[1]||0,_1ca[2]||1,_1ca[3]||0,_1ca[4]||0,_1ca[5]||0,_1ca[6]||0);var _1cf=0;var _1d0=_1ca[7]&&_1ca[7].charAt(0);if(_1d0!="Z"){_1cf=((_1ca[8]||0)*60)+(Number(_1ca[9])||0);if(_1d0!="-"){_1cf*=-1;}}if(_1d0){_1cf-=_1cb.getTimezoneOffset();}if(_1cf){_1cb.setTime(_1cb.getTime()+_1cf*60000);}}return _1cb;};dojo.date.stamp.toISOString=function(_1d1,_1d2){var _=function(n){return (n<10)?"0"+n:n;};_1d2=_1d2||{};var _1d5=[];var _1d6=_1d2.zulu?"getUTC":"get";var date="";if(_1d2.selector!="time"){var year=_1d1[_1d6+"FullYear"]();date=["0000".substr((year+"").length)+year,_(_1d1[_1d6+"Month"]()+1),_(_1d1[_1d6+"Date"]())].join("-");}_1d5.push(date);if(_1d2.selector!="date"){var time=[_(_1d1[_1d6+"Hours"]()),_(_1d1[_1d6+"Minutes"]()),_(_1d1[_1d6+"Seconds"]())].join(":");var _1da=_1d1[_1d6+"Milliseconds"]();if(_1d2.milliseconds){time+="."+(_1da<100?"0":"")+_(_1da);}if(_1d2.zulu){time+="Z";}else{if(_1d2.selector!="time"){var _1db=_1d1.getTimezoneOffset();var _1dc=Math.abs(_1db);time+=(_1db>0?"-":"+")+_(Math.floor(_1dc/60))+":"+_(_1dc%60);}}_1d5.push(time);}return _1d5.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;var _1de=d._scopeName+"Type";var qry="["+_1de+"]";var _1e0=0,_1e1={};var _1e2=function(_1e3,_1e4){var nso=_1e4||_1e1;if(dojo.isIE){var cn=_1e3["__dojoNameCache"];if(cn&&nso[cn]===_1e3){return cn;}}var name;do{name="__"+_1e0++;}while(name in nso);nso[name]=_1e3;return name;};function _1e8(_1e9){if(d.isString(_1e9)){return "string";}if(typeof _1e9=="number"){return "number";}if(typeof _1e9=="boolean"){return "boolean";}if(d.isFunction(_1e9)){return "function";}if(d.isArray(_1e9)){return "array";}if(_1e9 instanceof Date){return "date";}if(_1e9 instanceof d._Url){return "url";}return "object";};function _1ea(_1eb,type){switch(type){case "string":return _1eb;case "number":return _1eb.length?Number(_1eb):NaN;case "boolean":return typeof _1eb=="boolean"?_1eb:!(_1eb.toLowerCase()=="false");case "function":if(d.isFunction(_1eb)){_1eb=_1eb.toString();_1eb=d.trim(_1eb.substring(_1eb.indexOf("{")+1,_1eb.length-1));}try{if(_1eb.search(/[^\w\.]+/i)!=-1){_1eb=_1e2(new Function(_1eb),this);}return d.getObject(_1eb,false);}catch(e){return new Function();}case "array":return _1eb?_1eb.split(/\s*,\s*/):[];case "date":switch(_1eb){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_1eb);}case "url":return d.baseUrl+_1eb;default:return d.fromJson(_1eb);}};var _1ed={};function _1ee(_1ef){if(!_1ed[_1ef]){var cls=d.getObject(_1ef);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_1ef+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _1f1=cls.prototype;var _1f2={};for(var name in _1f1){if(name.charAt(0)=="_"){continue;}var _1f4=_1f1[name];_1f2[name]=_1e8(_1f4);}_1ed[_1ef]={cls:cls,params:_1f2};}return _1ed[_1ef];};this._functionFromScript=function(_1f5){var _1f6="";var _1f7="";var _1f8=_1f5.getAttribute("args");if(_1f8){d.forEach(_1f8.split(/\s*,\s*/),function(part,idx){_1f6+="var "+part+" = arguments["+idx+"]; ";});}var _1fb=_1f5.getAttribute("with");if(_1fb&&_1fb.length){d.forEach(_1fb.split(/\s*,\s*/),function(part){_1f6+="with("+part+"){";_1f7+="}";});}return new Function(_1f6+_1f5.innerHTML+_1f7);};this.instantiate=function(_1fd,_1fe){var _1ff=[];_1fe=_1fe||{};d.forEach(_1fd,function(node){if(!node){return;}var type=_1de in _1fe?_1fe[_1de]:node.getAttribute(_1de);if(!type||!type.length){return;}var _202=_1ee(type),_203=_202.cls,ps=_203._noScript||_203.prototype._noScript;var _205={},_206=node.attributes;for(var name in _202.params){var item=name in _1fe?{value:_1fe[name],specified:true}:_206.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _209=item.value;switch(name){case "class":_209="className" in _1fe?_1fe.className:node.className;break;case "style":_209="style" in _1fe?_1fe.style:(node.style&&node.style.cssText);}var _20a=_202.params[name];if(typeof _209=="string"){_205[name]=_1ea(_209,_20a);}else{_205[name]=_209;}}if(!ps){var _20b=[],_20c=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_20d){var _20e=_20d.getAttribute("event"),type=_20d.getAttribute("type"),nf=d.parser._functionFromScript(_20d);if(_20e){if(type=="dojo/connect"){_20b.push({event:_20e,func:nf});}else{_205[_20e]=nf;}}else{_20c.push(nf);}});}var _210=_203["markupFactory"];if(!_210&&_203["prototype"]){_210=_203.prototype["markupFactory"];}var _211=_210?_210(_205,node,_203):new _203(_205,node);_1ff.push(_211);var _212=node.getAttribute("jsId");if(_212){d.setObject(_212,_211);}if(!ps){d.forEach(_20b,function(_213){d.connect(_211,_213.event,null,_213.func);});d.forEach(_20c,function(func){func.call(_211);});}});d.forEach(_1ff,function(_215){if(_215&&_215.startup&&!_215._started&&(!_215.getParent||!_215.getParent())){_215.startup();}});return _1ff;};this.parse=function(_216){var list=d.query(qry,_216);var _218=this.instantiate(list);return _218;};}();(function(){var _219=function(){if(dojo.config["parseOnLoad"]==true){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_219);}else{dojo._loaders.unshift(_219);}})();}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_stringRepl:function(tmpl){var _21b=this.declaredClass,_21c=this;return dojo.string.substitute(tmpl,this,function(_21d,key){if(key.charAt(0)=="!"){_21d=dojo.getObject(key.substr(1),_21c);}if(typeof _21d=="undefined"){throw new Error(_21b+" template:"+key);}if(_21d==null){return "";}return key.charAt(0)=="!"?_21d:_21d.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _21f=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_21f)){node=dijit._Templated._createNodesFromText(this._stringRepl(_21f))[0];}else{node=_21f.cloneNode(true);}this.domNode=node;this._attachTemplateNodes(node);var _221=this.srcNodeRef;if(_221&&_221.parentNode){_221.parentNode.replaceChild(node,_221);}if(this.widgetsInTemplate){var cw=(this._supportingWidgets=dojo.parser.parse(node));this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(_221);},_fillContent:function(_225){var dest=this.containerNode;if(_225&&dest){while(_225.hasChildNodes()){dest.appendChild(_225.firstChild);}}},_attachTemplateNodes:function(_227,_228){_228=_228||function(n,p){return n.getAttribute(p);};var _22b=dojo.isArray(_227)?_227:(_227.all||_227.getElementsByTagName("*"));var x=dojo.isArray(_227)?0:-1;var _22d={};for(;x<_22b.length;x++){var _22e=(x==-1)?_227:_22b[x];if(this.widgetsInTemplate&&_228(_22e,"dojoType")){continue;}var _22f=_228(_22e,"dojoAttachPoint");if(_22f){var _230,_231=_22f.split(/\s*,\s*/);while((_230=_231.shift())){if(dojo.isArray(this[_230])){this[_230].push(_22e);}else{this[_230]=_22e;}}}var _232=_228(_22e,"dojoAttachEvent");if(_232){var _233,_234=_232.split(/\s*,\s*/);var trim=dojo.trim;while((_233=_234.shift())){if(_233){var _236=null;if(_233.indexOf(":")!=-1){var _237=_233.split(":");_233=trim(_237[0]);_236=trim(_237[1]);}else{_233=trim(_233);}if(!_236){_236=_233;}this.connect(_22e,_233,_236);}}}var role=_228(_22e,"waiRole");if(role){dijit.setWaiRole(_22e,role);}var _239=_228(_22e,"waiState");if(_239){dojo.forEach(_239.split(/\s*,\s*/),function(_23a){if(_23a.indexOf("-")!=-1){var pair=_23a.split("-");dijit.setWaiState(_22e,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_23c,_23d,_23e){var _23f=dijit._Templated._templateCache;var key=_23d||_23c;var _241=_23f[key];if(_241){if(!_241.ownerDocument||_241.ownerDocument==dojo.doc){return _241;}dojo._destroyElement(_241);}if(!_23d){_23d=dijit._Templated._sanitizeTemplateString(dojo._getText(_23c));}_23d=dojo.string.trim(_23d);if(_23e||_23d.match(/\$\{([^\}]+)\}/g)){return (_23f[key]=_23d);}else{return (_23f[key]=dijit._Templated._createNodesFromText(_23d)[0]);}};dijit._Templated._sanitizeTemplateString=function(_242){if(_242){_242=_242.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _243=_242.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_243){_242=_243[1];}}else{_242="";}return _242;};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _244=dijit._Templated._templateCache;for(var key in _244){var _246=_244[key];if(!isNaN(_246.nodeType)){dojo._destroyElement(_246);}delete _244[key];}});}(function(){var _247={cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};var tn;dijit._Templated._createNodesFromText=function(text){if(tn&&tn.ownerDocument!=dojo.doc){dojo._destroyElement(tn);tn=undefined;}if(!tn){tn=dojo.doc.createElement("div");tn.style.display="none";dojo.body().appendChild(tn);}var _24a="none";var _24b=text.replace(/^\s+/,"");for(var type in _247){var map=_247[type];if(map.re.test(_24b)){_24a=type;text=map.pre+text+map.post;break;}}tn.innerHTML=text;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_24a];var _24f=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _250=[];while(_24f.firstChild){_250.push(_24f.removeChild(_24f.firstChild));}tn.innerHTML="";return _250;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,readOnly:false,intermediateChanges:false,scrollOnFocus:true,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{value:"focusNode",disabled:"focusNode",readOnly:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),_setDisabledAttr:function(_251){this.disabled=_251;dojo.attr(this.focusNode,"disabled",_251);dijit.setWaiState(this.focusNode,"disabled",_251);if(_251){this._hovering=false;this._active=false;this.focusNode.removeAttribute("tabIndex");}else{this.focusNode.setAttribute("tabIndex",this.tabIndex);}this._setStateClass();},setDisabled:function(_252){dojo.deprecated("setDisabled("+_252+") is deprecated. Use attr('disabled',"+_252+") instead.","","2.0");this.attr("disabled",_252);},_onFocus:function(e){if(this.scrollOnFocus){dijit.scrollIntoView(this.domNode);}this.inherited(arguments);},_onMouse:function(_254){var _255=_254.currentTarget;if(_255&&_255.getAttribute){this.stateModifier=_255.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_254.type){case "mouseenter":case "mouseover":this._hovering=true;this._active=this._mouseDown;break;case "mouseout":case "mouseleave":this._hovering=false;this._active=false;break;case "mousedown":this._active=true;this._mouseDown=true;var _256=this.connect(dojo.body(),"onmouseup",function(){if(this._mouseDown&&this.isFocusable()){this.focus();}this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_256);});break;}this._setStateClass();}},isFocusable:function(){return !this.disabled&&!this.readOnly&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){dijit.focus(this.focusNode);},_setStateClass:function(){var _257=this.baseClass.split(" ");function _258(_259){_257=_257.concat(dojo.map(_257,function(c){return c+_259;}),"dijit"+_259);};if(this.checked){_258("Checked");}if(this.state){_258(this.state);}if(this.selected){_258("Selected");}if(this.disabled){_258("Disabled");}else{if(this.readOnly){_258("ReadOnly");}else{if(this._active){_258(this.stateModifier+"Active");}else{if(this._focused){_258("Focused");}if(this._hovering){_258(this.stateModifier+"Hover");}}}}var tn=this.stateNode||this.domNode,_25c={};dojo.forEach(tn.className.split(" "),function(c){_25c[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _25c[c];});}dojo.forEach(_257,function(c){_25c[c]=true;});var _260=[];for(var c in _25c){_260.push(c);}tn.className=_260.join(" ");this._stateClasses=_257;},compare:function(val1,val2){if((typeof val1=="number")&&(typeof val2=="number")){return (isNaN(val1)&&isNaN(val2))?0:(val1-val2);}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(_264){},_onChangeActive:false,_handleOnChange:function(_265,_266){this._lastValue=_265;if(this._lastValueReported==undefined&&(_266===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_265;}if((this.intermediateChanges||_266||_266===undefined)&&((typeof _265!=typeof this._lastValueReported)||this.compare(_265,this._lastValueReported)!=0)){this._lastValueReported=_265;if(this._onChangeActive){this.onChange(_265);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;this._setStateClass();},destroy:function(){if(this._layoutHackHandle){clearTimeout(this._layoutHackHandle);}this.inherited(arguments);},setValue:function(_267){dojo.deprecated("dijit.form._FormWidget:setValue("+_267+") is deprecated.  Use attr('value',"+_267+") instead.","","2.0");this.attr("value",_267);},getValue:function(){dojo.deprecated(this.declaredClass+"::getValue() is deprecated. Use attr('value') instead.","","2.0");return this.attr("value");},_layoutHack:function(){if(dojo.isFF==2&&!this._layoutHackHandle){var node=this.domNode;var old=node.style.opacity;node.style.opacity="0.999";this._layoutHackHandle=setTimeout(dojo.hitch(this,function(){this._layoutHackHandle=null;node.style.opacity=old;}),0);}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:""}),postCreate:function(){if(dojo.isIE||dojo.isSafari){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._resetValue=this.value;}},_setValueAttr:function(_26a,_26b){this.value=_26a;this._handleOnChange(_26a,_26b);},_getValueAttr:function(_26c){return this._lastValue;},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_valueChanged:function(){var v=this.attr("value");var lv=this._lastValueReported;return ((v!==null&&(v!==undefined)&&v.toString)?v.toString():"")!==((lv!==null&&(lv!==undefined)&&lv.toString)?lv.toString():"");},_onKeyDown:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!e.ctrlKey&&!e.altKey){var te;if(dojo.isIE){e.preventDefault();te=document.createEventObject();te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}else{if(dojo.isSafari){te=document.createEvent("Events");te.initEvent("keypress",true,true);te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.target.dispatchEvent(te);}}}},_onKeyPress:function(e){if(e.charOrCode==dojo.keys.ESCAPE&&!e.ctrlKey&&!e.altKey&&this._valueChanged()){this.undo();dojo.stopEvent(e);return false;}else{if(this.intermediateChanges){var _272=this;setTimeout(function(){_272._handleOnChange(_272.attr("value"),false);},0);}}return true;}});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _275=dijit.byId(id);return _275.isContainer?_275:null;}}return null;},_getSibling:function(_276){var node=this.domNode;do{node=node[_276+"Sibling"];}while(node&&node.nodeType!=1);if(!node){return null;}var id=node.getAttribute("widgetId");return dijit.byId(id);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_27a,_27b){var _27c=this.containerNode;if(_27b&&typeof _27b=="number"){var _27d=dojo.query("> [widgetId]",_27c);if(_27d&&_27d.length>=_27b){_27c=_27d[_27b-1];_27b="after";}}dojo.place(_27a.domNode,_27c,_27b);if(this._started&&!_27a._started){_27a.startup();}},removeChild:function(_27e){if(typeof _27e=="number"&&_27e>0){_27e=this.getChildren()[_27e];}if(!_27e||!_27e.domNode){return;}var node=_27e.domNode;node.parentNode.removeChild(node);},_nextElement:function(node){do{node=node.nextSibling;}while(node&&node.nodeType!=1);return node;},_firstElement:function(node){node=node.firstChild;if(node&&node.nodeType!=1){node=this._nextElement(node);}return node;},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode).map(dijit.byNode);},hasChildren:function(){return !!this._firstElement(this.containerNode);},destroyDescendants:function(_282){dojo.forEach(this.getChildren(),function(_283){_283.destroyRecursive(_282);});},_getSiblingOfChild:function(_284,dir){var node=_284.domNode;var _287=(dir>0?"nextSibling":"previousSibling");do{node=node[_287];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;},getIndexOfChild:function(_288){var _289=this.getChildren();for(var i=0,c;c=_289[i];i++){if(c==_288){return i;}}return -1;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_28c,_28d){var _28e=this._keyNavCodes={};var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_28c,function(code){_28e[code]=prev;});dojo.forEach(_28d,function(code){_28e[code]=next;});this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));},addChild:function(_293,_294){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_293);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusNext:function(){if(this.focusedChild&&this.focusedChild.hasNextFocalNode&&this.focusedChild.hasNextFocalNode()){this.focusedChild.focusNext();return;}var _295=this._getNextFocusableChild(this.focusedChild,1);if(_295.getFocalNodes){this.focusChild(_295,_295.getFocalNodes()[0]);}else{this.focusChild(_295);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _296=this._getNextFocusableChild(this.focusedChild,-1);if(_296.getFocalNodes){var _297=_296.getFocalNodes();this.focusChild(_296,_297[_297.length-1]);}else{this.focusChild(_296);}},focusChild:function(_298,node){if(_298){if(this.focusedChild&&_298!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_298;if(node&&_298.focusFocalNode){_298.focusFocalNode(node);}else{_298.focus();}}},_startupChild:function(_29a){if(_29a.getFocalNodes){dojo.forEach(_29a.getFocalNodes(),function(node){dojo.attr(node,"tabindex",-1);this._connectNode(node);},this);}else{var node=_29a.focusNode||_29a.domNode;if(_29a.isFocusable()){dojo.attr(node,"tabindex",-1);}this._connectNode(node);}},_connectNode:function(node){this.connect(node,"onfocus","_onNodeFocus");this.connect(node,"onblur","_onNodeBlur");},_onContainerFocus:function(evt){if(evt.target===this.domNode){this.focusFirstChild();}},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.charOrCode];if(func){func();dojo.stopEvent(evt);}},_onNodeFocus:function(evt){dojo.attr(this.domNode,"tabindex",-1);var _2a2=dijit.getEnclosingWidget(evt.target);if(_2a2&&_2a2.isFocusable()){this.focusedChild=_2a2;}dojo.stopEvent(evt);},_onNodeBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabindex",this.tabIndex);}dojo.stopEvent(evt);},_onChildBlur:function(_2a4){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_2a5,dir){if(_2a5){_2a5=this._getSiblingOfChild(_2a5,dir);}var _2a7=this.getChildren();for(var i=0;i<_2a7.length;i++){if(!_2a5){_2a5=_2a7[(dir>0)?0:(_2a7.length-1)];}if(_2a5.isFocusable()){return _2a5;}_2a5=this._getSiblingOfChild(_2a5,dir);}return null;}});}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._isMac=navigator.appVersion.indexOf("Macintosh")>=0;dojo.dnd._copyKey=dojo.dnd._isMac?"metaKey":"ctrlKey";dojo.dnd.getCopyKeyState=function(e){return e[dojo.dnd._copyKey];};dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.dnd.getViewport=function(){var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();if(dojo.isMozilla){return {w:dd.clientWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&w.innerWidth){return {w:w.innerWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&dd&&dd.clientWidth){return {w:dd.clientWidth,h:dd.clientHeight};}else{if(b.clientWidth){return {w:b.clientWidth,h:b.clientHeight};}}}}return null;};dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.dnd.getViewport(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo._abs(n,true);var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-t.x,ry=e.pageY-t.y,dx=0,dy=0;if(dojo.isSafari||dojo.isOpera){rx+=dojo.body().scrollLeft,ry+=dojo.body().scrollTop;}if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}}var _2c0=n.scrollLeft,_2c1=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_2c0!=n.scrollLeft||_2c1!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(node,e,host){this.node=dojo.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=this.host=host,d=node.ownerDocument,_2c7=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo.stopEvent),dojo.connect(d.body,"onselectstart",dojo.stopEvent),_2c7];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});dojo.stopEvent(e);},onMouseUp:function(e){if(dojo.isSafari&&dojo.dnd._isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}dojo.stopEvent(e);},onFirstMove:function(){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left));t=Math.round(parseFloat(s.top));break;default:s.position="absolute";var m=dojo.marginBox(this.node);var b=dojo.doc.body;var bs=dojo.getComputedStyle(b);var bm=dojo._getMarginBox(b,bs);var bc=dojo._getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this);}dojo.disconnect(this.events.pop());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(node,_2d6){this.node=dojo.byId(node);if(!_2d6){_2d6={};}this.handle=_2d6.handle?dojo.byId(_2d6.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_2d6.delay>0?_2d6.delay:0;this.skip=_2d6.skip;this.mover=_2d6.mover?_2d6.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_2d7,node){return new dojo.dnd.Moveable(node,_2d7);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"),dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}dojo.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}dojo.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){dojo.disconnect(this.events.pop());}dojo.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_2df){dojo.publish("/dnd/move/start",[_2df]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_2e0){dojo.publish("/dnd/move/stop",[_2e0]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_2e1){},onMove:function(_2e2,_2e3){this.onMoving(_2e2,_2e3);var s=_2e2.node.style;s.left=_2e3.l+"px";s.top=_2e3.t+"px";this.onMoved(_2e2,_2e3);},onMoving:function(_2e5,_2e6){},onMoved:function(_2e7,_2e8){}});}if(!dojo._hasResource["dojo.dnd.move"]){dojo._hasResource["dojo.dnd.move"]=true;dojo.provide("dojo.dnd.move");dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,markupFactory:function(_2e9,node){return new dojo.dnd.move.constrainedMoveable(node,_2e9);},constructor:function(node,_2ec){if(!_2ec){_2ec={};}this.constraints=_2ec.constraints;this.within=_2ec.within;},onFirstMove:function(_2ed){var c=this.constraintBox=this.constraints.call(this,_2ed);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo.marginBox(_2ed.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_2f0,_2f1){var c=this.constraintBox,s=_2f0.node.style;s.left=(_2f1.l<c.l?c.l:c.r<_2f1.l?c.r:_2f1.l)+"px";s.top=(_2f1.t<c.t?c.t:c.b<_2f1.t?c.b:_2f1.t)+"px";}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_2f4,node){return new dojo.dnd.move.boxConstrainedMoveable(node,_2f4);},constructor:function(node,_2f7){var box=_2f7&&_2f7.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_2f9,node){return new dojo.dnd.move.parentConstrainedMoveable(node,_2f9);},constructor:function(node,_2fc){var area=_2fc&&_2fc.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.move.constrainedMover=function(fun,_303){dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead");var _304=function(node,e,_307){dojo.dnd.Mover.call(this,node,e,_307);};dojo.extend(_304,dojo.dnd.Mover.prototype);dojo.extend(_304,{onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox,c=this.constraintBox,l=m.l+e.pageX,t=m.t+e.pageY;l=l<c.l?c.l:c.r<l?c.r:l;t=t<c.t?c.t:c.b<t?c.b:t;this.host.onMove(this,{l:l,t:t});},onFirstMove:function(){dojo.dnd.Mover.prototype.onFirstMove.call(this);var c=this.constraintBox=fun.call(this);c.r=c.l+c.w;c.b=c.t+c.h;if(_303){var mb=dojo.marginBox(this.node);c.r-=mb.w;c.b-=mb.h;}}});return _304;};dojo.dnd.move.boxConstrainedMover=function(box,_310){dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead");return dojo.dnd.move.constrainedMover(function(){return box;},_310);};dojo.dnd.move.parentConstrainedMover=function(area,_312){dojo.deprecated("dojo.dnd.move.parentConstrainedMover, use dojo.dnd.move.parentConstrainedMoveable instead");var fun=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};return dojo.dnd.move.constrainedMover(fun,_312);};dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;}if(!dojo._hasResource["dijit.form.Button"]){dojo._hasResource["dijit.form.Button"]=true;dojo.provide("dijit.form.Button");dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:"<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"\n\t><span class=\"dijitReset dijitRight dijitInline\"\n\t\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\t\tdojoAttachPoint=\"titleNode,focusNode\" \n\t\t\t\tname=\"${name}\" type=\"${type}\" value=\"${value}\" waiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\" \n\t\t\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#10003;</span \n\t\t\t\t></span \n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\" \n\t\t\t\t\tid=\"${id}_label\"  \n\t\t\t\t\tdojoAttachPoint=\"containerNode\"\n\t\t\t\t></span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n",attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),_onClick:function(e){if(this.disabled||this.readOnly){return false;}this._clicked();return this.onClick(e);},_onButtonClick:function(e){if(e.type!="click"){dojo.stopEvent(e);}if(this._onClick(e)===false){e.preventDefault();}else{if(this.type=="submit"&&!this.focusNode.form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _31b=dijit.byNode(node);if(_31b&&typeof _31b._onSubmit=="function"){_31b._onSubmit(e);break;}}}}},_setValueAttr:function(_31c){var attr=this.attributeMap.value||"";if(this[attr.node||attr||"domNode"].tagName=="BUTTON"){if(_31c!=this.value){console.debug("Cannot change the value attribute on a Button widget.");}}},_fillContent:function(_31e){if(_31e&&!("label" in this.params)){this.attr("label",_31e.innerHTML);}},postCreate:function(){if(this.showLabel==false){dojo.addClass(this.containerNode,"dijitDisplayNone");}dojo.setSelectable(this.focusNode,false);this.inherited(arguments);},onClick:function(e){return true;},_clicked:function(e){},setLabel:function(_321){dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use attr('label', ...) instead.","","2.0");this.attr("label",_321);},_setLabelAttr:function(_322){this.containerNode.innerHTML=this.label=_322;this._layoutHack();if(this.showLabel==false&&!this.params.title){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container],{baseClass:"dijitDropDownButton",templateString:"<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse,onclick:_onDropDownClick,onkeydown:_onDropDownKeydown,onblur:_onDropDownBlur,onkeypress:_onKey\"\n\t><span class='dijitReset dijitRight dijitInline'\n\t\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\" \n\t\t\t\ttype=\"${type}\" name=\"${name}\" value=\"${value}\"\n\t\t\t\tdojoAttachPoint=\"focusNode,titleNode\" \n\t\t\t\twaiRole=\"button\" waiState=\"haspopup-true,labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\" \n\t\t\t\t\tdojoAttachPoint=\"iconNode\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  \n\t\t\t\t\tdojoAttachPoint=\"containerNode,popupStateNode\" \n\t\t\t\t\tid=\"${id}_label\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\">&thinsp;</span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n",_fillContent:function(){if(this.srcNodeRef){var _323=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_323[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown){var _324=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_324);delete this.dropDownContainer;}dijit.popup.prepare(this.dropDown.domNode);this.inherited(arguments);},destroyDescendants:function(){if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}this.inherited(arguments);},_onArrowClick:function(e){if(this.disabled||this.readOnly){return;}this._toggleDropDown();},_onDropDownClick:function(e){var _327=dojo.isFF&&dojo.isFF<3&&navigator.appVersion.indexOf("Macintosh")!=-1;if(!_327||e.detail!=0||this._seenKeydown){this._onArrowClick(e);}this._seenKeydown=false;},_onDropDownKeydown:function(e){this._seenKeydown=true;},_onDropDownBlur:function(e){this._seenKeydown=false;},_onKey:function(e){if(this.disabled||this.readOnly){return;}if(e.charOrCode==dojo.keys.DOWN_ARROW){if(!this.dropDown||this.dropDown.domNode.style.visibility=="hidden"){dojo.stopEvent(e);this._toggleDropDown();}}},_onBlur:function(){this._closeDropDown();this.inherited(arguments);},_toggleDropDown:function(){if(this.disabled||this.readOnly){return;}dijit.focus(this.popupStateNode);var _32b=this.dropDown;if(!_32b){return;}if(!this._opened){if(_32b.href&&!_32b.isLoaded){var self=this;var _32d=dojo.connect(_32b,"onLoad",function(){dojo.disconnect(_32d);self._openDropDown();});_32b._loadCheck(true);return;}else{this._openDropDown();}}else{this._closeDropDown();}},_openDropDown:function(){var _32e=this.dropDown;var _32f=_32e.domNode.style.width;var self=this;dijit.popup.open({parent:this,popup:_32e,around:this.domNode,orient:this.isLeftToRight()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"},onExecute:function(){self._closeDropDown(true);},onCancel:function(){self._closeDropDown(true);},onClose:function(){_32e.domNode.style.width=_32f;self.popupStateNode.removeAttribute("popupActive");self._opened=false;}});if(this.domNode.offsetWidth>_32e.domNode.offsetWidth){var _331=null;if(!this.isLeftToRight()){_331=_32e.domNode.parentNode;var _332=_331.offsetLeft+_331.offsetWidth;}dojo.marginBox(_32e.domNode,{w:this.domNode.offsetWidth});if(_331){_331.style.left=_332-this.domNode.offsetWidth+"px";}}this.popupStateNode.setAttribute("popupActive","true");this._opened=true;if(_32e.focus){_32e.focus();}},_closeDropDown:function(_333){if(this._opened){dijit.popup.close(this.dropDown);if(_333){this.focus();}this._opened=false;}}});dojo.declare("dijit.form.ComboButton",dijit.form.DropDownButton,{templateString:"<table class='dijit dijitReset dijitInline dijitLeft'\n\tcellspacing='0' cellpadding='0' waiRole=\"presentation\"\n\t><tbody waiRole=\"presentation\"><tr waiRole=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\"\n\t\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"  dojoAttachPoint=\"titleNode\"\n\t\t\twaiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\" waiRole=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\" waiRole=\"presentation\"></div\n\t\t></td\n\t\t><td class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"popupStateNode,focusNode\"\n\t\t\tdojoAttachEvent=\"ondijitclick:_onArrowClick, onkeypress:_onKey,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\tstateModifier=\"DownArrow\"\n\t\t\ttitle=\"${optionsTitle}\" name=\"${name}\"\n\t\t\twaiRole=\"button\" waiState=\"haspopup-true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" waiRole=\"presentation\">&thinsp;</div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" waiRole=\"presentation\">&#9660;</div\n\t\t></td\n\t></tr></tbody\n></table>\n",attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{id:"",name:"",tabIndex:["focusNode","titleNode"]}),optionsTitle:"",baseClass:"dijitComboButton",_focusedNode:null,postCreate:function(){this.inherited(arguments);this._focalNodes=[this.titleNode,this.popupStateNode];dojo.forEach(this._focalNodes,dojo.hitch(this,function(node){if(dojo.isIE){this.connect(node,"onactivate",this._onNodeFocus);this.connect(node,"ondeactivate",this._onNodeBlur);}else{this.connect(node,"onfocus",this._onNodeFocus);this.connect(node,"onblur",this._onNodeBlur);}}));},focusFocalNode:function(node){this._focusedNode=node;dijit.focus(node);},hasNextFocalNode:function(){return this._focusedNode!==this.getFocalNodes()[1];},focusNext:function(){this._focusedNode=this.getFocalNodes()[this._focusedNode?1:0];dijit.focus(this._focusedNode);},hasPrevFocalNode:function(){return this._focusedNode!==this.getFocalNodes()[0];},focusPrev:function(){this._focusedNode=this.getFocalNodes()[this._focusedNode?0:1];dijit.focus(this._focusedNode);},getFocalNodes:function(){return this._focalNodes;},_onNodeFocus:function(evt){this._focusedNode=evt.currentTarget;var fnc=this._focusedNode==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";dojo.addClass(this._focusedNode,fnc);},_onNodeBlur:function(evt){var fnc=evt.currentTarget==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";dojo.removeClass(evt.currentTarget,fnc);},_onBlur:function(){this.inherited(arguments);this._focusedNode=null;}});dojo.declare("dijit.form.ToggleButton",dijit.form.Button,{baseClass:"dijitToggleButton",checked:false,attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{checked:"focusNode"}),_clicked:function(evt){this.attr("checked",!this.checked);},_setCheckedAttr:function(_33b){this.checked=_33b;dojo.attr(this.focusNode||this.domNode,"checked",_33b);dijit.setWaiState(this.focusNode||this.domNode,"pressed",_33b);this._setStateClass();this._handleOnChange(_33b,true);},setChecked:function(_33c){dojo.deprecated("setChecked("+_33c+") is deprecated. Use attr('checked',"+_33c+") instead.","","2.0");this.attr("checked",_33c);},reset:function(){this._hasBeenBlurred=false;this.attr("checked",this.params.checked||false);}});}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_33d,_33e,_33f){_33f=dojo.i18n.normalizeLocale(_33f);var _340=_33f.split("-");var _341=[_33d,"nls",_33e].join(".");var _342=dojo._loadedModules[_341];if(_342){var _343;for(var i=_340.length;i>0;i--){var loc=_340.slice(0,i).join("_");if(_342[loc]){_343=_342[loc];break;}}if(!_343){_343=_342.ROOT;}if(_343){var _346=function(){};_346.prototype=_343;return new _346();}}throw new Error("Bundle not found: "+_33e+" in "+_33d+" , locale="+_33f);};dojo.i18n.normalizeLocale=function(_347){var _348=_347?_347.toLowerCase():dojo.locale;if(_348=="root"){_348="ROOT";}return _348;};dojo.i18n._requireLocalization=function(_349,_34a,_34b,_34c){var _34d=dojo.i18n.normalizeLocale(_34b);var _34e=[_349,"nls",_34a].join(".");var _34f="";if(_34c){var _350=_34c.split(",");for(var i=0;i<_350.length;i++){if(_34d["indexOf"](_350[i])==0){if(_350[i].length>_34f.length){_34f=_350[i];}}}if(!_34f){_34f="ROOT";}}var _352=_34c?_34f:_34d;var _353=dojo._loadedModules[_34e];var _354=null;if(_353){if(dojo.config.localizationComplete&&_353._built){return;}var _355=_352.replace(/-/g,"_");var _356=_34e+"."+_355;_354=dojo._loadedModules[_356];}if(!_354){_353=dojo["provide"](_34e);var syms=dojo._getModuleSymbols(_349);var _358=syms.concat("nls").join("/");var _359;dojo.i18n._searchLocalePath(_352,_34c,function(loc){var _35b=loc.replace(/-/g,"_");var _35c=_34e+"."+_35b;var _35d=false;if(!dojo._loadedModules[_35c]){dojo["provide"](_35c);var _35e=[_358];if(loc!="ROOT"){_35e.push(loc);}_35e.push(_34a);var _35f=_35e.join("/")+".js";_35d=dojo._loadPath(_35f,null,function(hash){var _361=function(){};_361.prototype=_359;_353[_35b]=new _361();for(var j in hash){_353[_35b][j]=hash[j];}});}else{_35d=true;}if(_35d&&_353[_35b]){_359=_353[_35b];}else{_353[_35b]=_359;}if(_34c){return true;}});}if(_34c&&_34d!=_34f){_353[_34d.replace(/-/g,"_")]=_353[_34f.replace(/-/g,"_")];}};(function(){var _363=dojo.config.extraLocale;if(_363){if(!_363 instanceof Array){_363=[_363];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_367,_368){req(m,b,_367,_368);if(_367){return;}for(var i=0;i<_363.length;i++){req(m,b,_363[i],_368);}};}})();dojo.i18n._searchLocalePath=function(_36a,down,_36c){_36a=dojo.i18n.normalizeLocale(_36a);var _36d=_36a.split("-");var _36e=[];for(var i=_36d.length;i>0;i--){_36e.push(_36d.slice(0,i).join("-"));}_36e.push(false);if(down){_36e.reverse();}for(var j=_36e.length-1;j>=0;j--){var loc=_36e[j]||"ROOT";var stop=_36c(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_373,_374){function _375(_376){_376=dojo.i18n.normalizeLocale(_376);dojo.i18n._searchLocalePath(_376,true,function(loc){for(var i=0;i<_374.length;i++){if(_374[i]==loc){dojo["require"](_373+"_"+loc);return true;}}return false;});};_375();var _379=dojo.config.extraLocale||[];for(var i=0;i<_379.length;i++){_375(_379[i]);}};}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_37c){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_37c&&_37c.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_380){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_380);};dojo.regexp.group=function(_383,_384){return "("+(_384?"?:":"")+_383+")";};}if(!dojo._hasResource["dojo.number"]){dojo._hasResource["dojo.number"]=true;dojo.provide("dojo.number");dojo.number.format=function(_385,_386){_386=dojo.mixin({},_386||{});var _387=dojo.i18n.normalizeLocale(_386.locale);var _388=dojo.i18n.getLocalization("dojo.cldr","number",_387);_386.customs=_388;var _389=_386.pattern||_388[(_386.type||"decimal")+"Format"];if(isNaN(_385)){return null;}return dojo.number._applyPattern(_385,_389,_386);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_38a,_38b,_38c){_38c=_38c||{};var _38d=_38c.customs.group;var _38e=_38c.customs.decimal;var _38f=_38b.split(";");var _390=_38f[0];_38b=_38f[(_38a<0)?1:0]||("-"+_390);if(_38b.indexOf("%")!=-1){_38a*=100;}else{if(_38b.indexOf("‰")!=-1){_38a*=1000;}else{if(_38b.indexOf("¤")!=-1){_38d=_38c.customs.currencyGroup||_38d;_38e=_38c.customs.currencyDecimal||_38e;_38b=_38b.replace(/\u00a4{1,3}/,function(_391){var prop=["symbol","currency","displayName"][_391.length-1];return _38c[prop]||_38c.currency||"";});}else{if(_38b.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _393=dojo.number._numberPatternRE;var _394=_390.match(_393);if(!_394){throw new Error("unable to find a number expression in pattern: "+_38b);}if(_38c.fractional===false){_38c.places=0;}return _38b.replace(_393,dojo.number._formatAbsolute(_38a,_394[0],{decimal:_38e,group:_38d,places:_38c.places,round:_38c.round}));};dojo.number.round=function(_395,_396,_397){var _398=Math.log(Math.abs(_395))/Math.log(10);var _399=10/(_397||10);var _39a=Math.pow(10,-14+_398);return (_399*(+_395+_39a)).toFixed(_396)/_399;};dojo.number._formatAbsolute=function(_39b,_39c,_39d){_39d=_39d||{};if(_39d.places===true){_39d.places=0;}if(_39d.places===Infinity){_39d.places=6;}var _39e=_39c.split(".");var _39f=(_39d.places>=0)?_39d.places:(_39e[1]&&_39e[1].length)||0;if(!(_39d.round<0)){_39b=dojo.number.round(_39b,_39f,_39d.round);}var _3a0=String(Math.abs(_39b)).split(".");var _3a1=_3a0[1]||"";if(_39d.places){var _3a2=dojo.isString(_39d.places)&&_39d.places.indexOf(",");if(_3a2){_39d.places=_39d.places.substring(_3a2+1);}_3a0[1]=dojo.string.pad(_3a1.substr(0,_39d.places),_39d.places,"0",true);}else{if(_39e[1]&&_39d.places!==0){var pad=_39e[1].lastIndexOf("0")+1;if(pad>_3a1.length){_3a0[1]=dojo.string.pad(_3a1,pad,"0",true);}var _3a4=_39e[1].length;if(_3a4<_3a1.length){_3a0[1]=_3a1.substr(0,_3a4);}}else{if(_3a0[1]){_3a0.pop();}}}var _3a5=_39e[0].replace(",","");pad=_3a5.indexOf("0");if(pad!=-1){pad=_3a5.length-pad;if(pad>_3a0[0].length){_3a0[0]=dojo.string.pad(_3a0[0],pad);}if(_3a5.indexOf("#")==-1){_3a0[0]=_3a0[0].substr(_3a0[0].length-pad);}}var _3a6=_39e[0].lastIndexOf(",");var _3a7,_3a8;if(_3a6!=-1){_3a7=_39e[0].length-_3a6-1;var _3a9=_39e[0].substr(0,_3a6);_3a6=_3a9.lastIndexOf(",");if(_3a6!=-1){_3a8=_3a9.length-_3a6-1;}}var _3aa=[];for(var _3ab=_3a0[0];_3ab;){var off=_3ab.length-_3a7;_3aa.push((off>0)?_3ab.substr(off):_3ab);_3ab=(off>0)?_3ab.slice(0,off):"";if(_3a8){_3a7=_3a8;delete _3a8;}}_3a0[0]=_3aa.reverse().join(_39d.group||",");return _3a0.join(_39d.decimal||".");};dojo.number.regexp=function(_3ad){return dojo.number._parseInfo(_3ad).regexp;};dojo.number._parseInfo=function(_3ae){_3ae=_3ae||{};var _3af=dojo.i18n.normalizeLocale(_3ae.locale);var _3b0=dojo.i18n.getLocalization("dojo.cldr","number",_3af);var _3b1=_3ae.pattern||_3b0[(_3ae.type||"decimal")+"Format"];var _3b2=_3b0.group;var _3b3=_3b0.decimal;var _3b4=1;if(_3b1.indexOf("%")!=-1){_3b4/=100;}else{if(_3b1.indexOf("‰")!=-1){_3b4/=1000;}else{var _3b5=_3b1.indexOf("¤")!=-1;if(_3b5){_3b2=_3b0.currencyGroup||_3b2;_3b3=_3b0.currencyDecimal||_3b3;}}}var _3b6=_3b1.split(";");if(_3b6.length==1){_3b6.push("-"+_3b6[0]);}var re=dojo.regexp.buildGroupRE(_3b6,function(_3b8){_3b8="(?:"+dojo.regexp.escapeString(_3b8,".")+")";return _3b8.replace(dojo.number._numberPatternRE,function(_3b9){var _3ba={signed:false,separator:_3ae.strict?_3b2:[_3b2,""],fractional:_3ae.fractional,decimal:_3b3,exponent:false};var _3bb=_3b9.split(".");var _3bc=_3ae.places;if(_3bb.length==1||_3bc===0){_3ba.fractional=false;}else{if(_3bc===undefined){_3bc=_3ae.pattern?_3bb[1].lastIndexOf("0")+1:Infinity;}if(_3bc&&_3ae.fractional==undefined){_3ba.fractional=true;}if(!_3ae.places&&(_3bc<_3bb[1].length)){_3bc+=","+_3bb[1].length;}_3ba.places=_3bc;}var _3bd=_3bb[0].split(",");if(_3bd.length>1){_3ba.groupSize=_3bd.pop().length;if(_3bd.length>1){_3ba.groupSize2=_3bd.pop().length;}}return "("+dojo.number._realNumberRegexp(_3ba)+")";});},true);if(_3b5){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_3be,_3bf,_3c0,_3c1){var prop=["symbol","currency","displayName"][_3c0.length-1];var _3c3=dojo.regexp.escapeString(_3ae[prop]||_3ae.currency||"");_3bf=_3bf?"[\\s\\xa0]":"";_3c1=_3c1?"[\\s\\xa0]":"";if(!_3ae.strict){if(_3bf){_3bf+="*";}if(_3c1){_3c1+="*";}return "(?:"+_3bf+_3c3+_3c1+")?";}return _3bf+_3c3+_3c1;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_3b2,decimal:_3b3,factor:_3b4};};dojo.number.parse=function(_3c4,_3c5){var info=dojo.number._parseInfo(_3c5);var _3c7=(new RegExp("^"+info.regexp+"$")).exec(_3c4);if(!_3c7){return NaN;}var _3c8=_3c7[1];if(!_3c7[1]){if(!_3c7[2]){return NaN;}_3c8=_3c7[2];info.factor*=-1;}_3c8=_3c8.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return Number(_3c8)*info.factor;};dojo.number._realNumberRegexp=function(_3c9){_3c9=_3c9||{};if(!("places" in _3c9)){_3c9.places=Infinity;}if(typeof _3c9.decimal!="string"){_3c9.decimal=".";}if(!("fractional" in _3c9)||/^0/.test(_3c9.places)){_3c9.fractional=[true,false];}if(!("exponent" in _3c9)){_3c9.exponent=[true,false];}if(!("eSigned" in _3c9)){_3c9.eSigned=[true,false];}var _3ca=dojo.number._integerRegexp(_3c9);var _3cb=dojo.regexp.buildGroupRE(_3c9.fractional,function(q){var re="";if(q&&(_3c9.places!==0)){re="\\"+_3c9.decimal;if(_3c9.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_3c9.places+"}";}}return re;},true);var _3ce=dojo.regexp.buildGroupRE(_3c9.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_3c9.eSigned})+")";}return "";});var _3d0=_3ca+_3cb;if(_3cb){_3d0="(?:(?:"+_3d0+")|(?:"+_3cb+"))";}return _3d0+_3ce;};dojo.number._integerRegexp=function(_3d1){_3d1=_3d1||{};if(!("signed" in _3d1)){_3d1.signed=[true,false];}if(!("separator" in _3d1)){_3d1.separator="";}else{if(!("groupSize" in _3d1)){_3d1.groupSize=3;}}var _3d2=dojo.regexp.buildGroupRE(_3d1.signed,function(q){return q?"[-+]":"";},true);var _3d4=dojo.regexp.buildGroupRE(_3d1.separator,function(sep){if(!sep){return "(?:0|[1-9]\\d*)";}sep=dojo.regexp.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_3d1.groupSize,grp2=_3d1.groupSize2;if(grp2){var _3d8="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_3d8+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_3d8;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _3d2+_3d4;};}if(!dojo._hasResource["dijit.form.Slider"]){dojo._hasResource["dijit.form.Slider"]=true;dojo.provide("dijit.form.Slider");dojo.declare("dijit.form.HorizontalSlider",[dijit.form._FormValueWidget,dijit._Container],{templateString:"<table class=\"dijit dijitReset dijitSlider\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" dojoAttachEvent=\"onkeypress:_onKeyPress\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td dojoAttachPoint=\"containerNode,topDecoration\" class=\"dijitReset\" style=\"text-align:center;width:100%;\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper dijitSliderLeftBumper\" dojoAttachEvent=\"onmousedown:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input dojoAttachPoint=\"valueNode\" type=\"hidden\" name=\"${name}\"\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" waiRole=\"presentation\" dojoAttachPoint=\"sliderBarContainer\"\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" dojoAttachEvent=\"onmousedown:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\" \n\t\t\t\t\t\t><div dojoAttachPoint=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" dojoAttachEvent=\"onmousedown:_onHandleClick\" waiRole=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" dojoAttachEvent=\"onmousedown:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper dijitSliderRightBumper\" dojoAttachEvent=\"onmousedown:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\" style=\"right:0px;\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td dojoAttachPoint=\"containerNode,bottomDecoration\" class=\"dijitReset\" style=\"text-align:center;\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n",value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:dijit.defaultDuration,widgetsInTemplate:true,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{id:"",name:"valueNode"}),baseClass:"dijitSlider",_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_startingPixelCount:"l",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyPress:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey){return;}switch(e.charOrCode){case dojo.keys.HOME:this._setValueAttr(this.minimum,true);break;case dojo.keys.END:this._setValueAttr(this.maximum,true);break;case ((this._descending||this.isLeftToRight())?dojo.keys.RIGHT_ARROW:dojo.keys.LEFT_ARROW):case (this._descending===false?dojo.keys.DOWN_ARROW:dojo.keys.UP_ARROW):case (this._descending===false?dojo.keys.PAGE_DOWN:dojo.keys.PAGE_UP):this.increment(e);break;case ((this._descending||this.isLeftToRight())?dojo.keys.LEFT_ARROW:dojo.keys.RIGHT_ARROW):case (this._descending===false?dojo.keys.UP_ARROW:dojo.keys.DOWN_ARROW):case (this._descending===false?dojo.keys.PAGE_UP:dojo.keys.PAGE_DOWN):this.decrement(e);break;default:this.inherited(arguments);return;}dojo.stopEvent(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!dojo.isIE){dijit.focus(this.sliderHandle);}dojo.stopEvent(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}dijit.focus(this.sliderHandle);dojo.stopEvent(e);var _3dc=dojo.coords(this.sliderBarContainer,true);var _3dd=e[this._mousePixelCoord]-_3dc[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_3dc[this._pixelCount]-_3dd):_3dd,_3dc[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_3de,_3df,_3e0){if(this.disabled||this.readOnly){return;}_3de=_3de<0?0:_3df<_3de?_3df:_3de;var _3e1=this.discreteValues;if(_3e1<=1||_3e1==Infinity){_3e1=_3df;}_3e1--;var _3e2=_3df/_3e1;var _3e3=Math.round(_3de/_3e2);this._setValueAttr((this.maximum-this.minimum)*_3e3/_3e1+this.minimum,_3e0);},_setValueAttr:function(_3e4,_3e5){this.valueNode.value=this.value=_3e4;dijit.setWaiState(this.focusNode,"valuenow",_3e4);this.inherited(arguments);var _3e6=(_3e4-this.minimum)/(this.maximum-this.minimum);var _3e7=(this._descending===false)?this.remainingBar:this.progressBar;var _3e8=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_3e5&&this.slideDuration>0&&_3e7.style[this._progressPixelSize]){var _3e9=this;var _3ea={};var _3eb=parseFloat(_3e7.style[this._progressPixelSize]);var _3ec=this.slideDuration*(_3e6-_3eb/100);if(_3ec==0){return;}if(_3ec<0){_3ec=0-_3ec;}_3ea[this._progressPixelSize]={start:_3eb,end:_3e6*100,units:"%"};this._inProgressAnim=dojo.animateProperty({node:_3e7,duration:_3ec,onAnimate:function(v){_3e8.style[_3e9._progressPixelSize]=(100-parseFloat(v[_3e9._progressPixelSize]))+"%";},onEnd:function(){delete _3e9._inProgressAnim;},properties:_3ea});this._inProgressAnim.play();}else{_3e7.style[this._progressPixelSize]=(_3e6*100)+"%";_3e8.style[this._progressPixelSize]=((1-_3e6)*100)+"%";}},_bumpValue:function(_3ee){if(this.disabled||this.readOnly){return;}var s=dojo.getComputedStyle(this.sliderBarContainer);var c=dojo._getContentBox(this.sliderBarContainer,s);var _3f1=this.discreteValues;if(_3f1<=1||_3f1==Infinity){_3f1=c[this._pixelCount];}_3f1--;var _3f2=(this.value-this.minimum)*_3f1/(this.maximum-this.minimum)+_3ee;if(_3f2<0){_3f2=0;}if(_3f2>_3f1){_3f2=_3f1;}_3f2=_3f2*(this.maximum-this.minimum)/_3f1+this.minimum;this._setValueAttr(_3f2,true);},_onClkBumper:function(val){if(this.disabled||this.readOnly||!this.clickSelect){return;}this._setValueAttr(val,true);},_onClkIncBumper:function(){this._onClkBumper(this._descending===false?this.minimum:this.maximum);},_onClkDecBumper:function(){this._onClkBumper(this._descending===false?this.maximum:this.minimum);},decrement:function(e){this._bumpValue(e.charOrCode==dojo.keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.charOrCode==dojo.keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){dojo.stopEvent(evt);var _3f7=!dojo.isMozilla;var _3f8=evt[(_3f7?"wheelDelta":"detail")]*(_3f7?1:-1);this[(_3f8<0?"decrement":"increment")](evt);},startup:function(){dojo.forEach(this.getChildren(),function(_3f9){if(this[_3f9.container]!=this.containerNode){this[_3f9.container].appendChild(_3f9.domNode);}},this);},_typematicCallback:function(_3fa,_3fb,e){if(_3fa==-1){return;}this[(_3fb==(this._descending?this.incrementButton:this.decrementButton))?"decrement":"increment"](e);},postCreate:function(){if(this.showButtons){this.incrementButton.style.display="";this.decrementButton.style.display="";this._connects.push(dijit.typematic.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500));this._connects.push(dijit.typematic.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.connect(this.domNode,!dojo.isMozilla?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _3fd=this;var _3fe=function(){dijit.form._SliderMover.apply(this,arguments);this.widget=_3fd;};dojo.extend(_3fe,dijit.form._SliderMover.prototype);this._movable=new dojo.dnd.Moveable(this.sliderHandle,{mover:_3fe});var _3ff=dojo.query("label[for=\""+this.id+"\"]");if(_3ff.length){_3ff[0].id=(this.id+"_label");dijit.setWaiState(this.focusNode,"labelledby",_3ff[0].id);}dijit.setWaiState(this.focusNode,"valuemin",this.minimum);dijit.setWaiState(this.focusNode,"valuemax",this.maximum);this.inherited(arguments);},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this.inherited(arguments);}});dojo.declare("dijit.form.VerticalSlider",dijit.form.HorizontalSlider,{templateString:"<table class=\"dijitReset dijitSlider\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" dojoAttachEvent=\"onkeypress:_onKeyPress\"\n><tbody class=\"dijitReset\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper dijitSliderTopBumper\" dojoAttachEvent=\"onmousedown:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td dojoAttachPoint=\"leftDecoration\" class=\"dijitReset\" style=\"text-align:center;height:100%;\"></td\n\t\t><td class=\"dijitReset\" style=\"height:100%;\"\n\t\t\t><input dojoAttachPoint=\"valueNode\" type=\"hidden\" name=\"${name}\"\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" waiRole=\"presentation\" dojoAttachPoint=\"sliderBarContainer\"\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" dojoAttachEvent=\"onmousedown:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" dojoAttachEvent=\"onmousedown:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable\" style=\"vertical-align:top;\" \n\t\t\t\t\t\t><div dojoAttachPoint=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" dojoAttachEvent=\"onmousedown:_onHandleClick\" waiRole=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td dojoAttachPoint=\"containerNode,rightDecoration\" class=\"dijitReset\" style=\"text-align:center;height:100%;\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper dijitSliderBottomBumper\" dojoAttachEvent=\"onmousedown:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></tbody></table>\n",_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_startingPixelCount:"t",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,startup:function(){if(this._started){return;}if(!this.isLeftToRight()&&dojo.isMoz){if(this.leftDecoration){this._rtlRectify(this.leftDecoration);}if(this.rightDecoration){this._rtlRectify(this.rightDecoration);}}this.inherited(arguments);},_isReversed:function(){return this._descending;},_rtlRectify:function(_400){var _401=[];while(_400.firstChild){_401.push(_400.firstChild);_400.removeChild(_400.firstChild);}for(var i=_401.length-1;i>=0;i--){if(_401[i]){_400.appendChild(_401[i]);}}}});dojo.declare("dijit.form._SliderMover",dojo.dnd.Mover,{onMouseMove:function(e){var _404=this.widget;var _405=_404._abspos;if(!_405){_405=_404._abspos=dojo.coords(_404.sliderBarContainer,true);_404._setPixelValue_=dojo.hitch(_404,"_setPixelValue");_404._isReversed_=_404._isReversed();}var _406=e[_404._mousePixelCoord]-_405[_404._startingPixelCoord];_404._setPixelValue_(_404._isReversed_?(_405[_404._pixelCount]-_406):_406,_405[_404._pixelCount],false);},destroy:function(e){dojo.dnd.Mover.prototype.destroy.apply(this,arguments);var _408=this.widget;_408._abspos=null;_408._setValueAttr(_408.value,true);}});dojo.declare("dijit.form.HorizontalRule",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkH\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(pos,ndx){return this._positionPrefix+pos+this._positionSuffix+this.ruleStyle+this._suffix;},_isHorizontal:true,postCreate:function(){var _40b;if(this.count==1){_40b=this._genHTML(50,0);}else{var i;var _40d=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_40b=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_40b+=this._genHTML(_40d*i,i);}_40b+=this._genHTML(100,this.count-1);}else{_40b=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_40b+=this._genHTML(100-_40d*i,i);}_40b+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_40b;}});dojo.declare("dijit.form.VerticalRule",dijit.form.HorizontalRule,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});dojo.declare("dijit.form.HorizontalRuleLabels",dijit.form.HorizontalRule,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</span></div>",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[ndx]+this._suffix;},getLabels:function(){var _411=this.labels;if(!_411.length){_411=dojo.query("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_411.length&&this.count>1){var _413=this.minimum;var inc=(this.maximum-_413)/(this.count-1);for(var i=0;i<this.count;i++){_411.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":dojo.number.format(_413,this.constraints));_413+=inc;}}return _411;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});dojo.declare("dijit.form.VerticalRuleLabels",dijit.form.HorizontalRuleLabels,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});}if(!dojo._hasResource["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){dojo.addClass(this.domNode,"dijitContainer");dojo.addClass(this.domNode,this.baseClass);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_417){_417.startup();});if(!this.getParent||!this.getParent()){this.resize();this.connect(dojo.global,"onresize","resize");}this.inherited(arguments);},resize:function(_418,_419){var node=this.domNode;if(_418){dojo.marginBox(node,_418);if(_418.t){node.style.top=_418.t+"px";}if(_418.l){node.style.left=_418.l+"px";}}var mb=_419||{};dojo.mixin(mb,_418||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(node),mb);}var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var be=dojo._getBorderExtents(node,cs);var bb=this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)};var pe=dojo._getPadExtents(node,cs);this._contentBox={l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_421){if(_421.baseClass){dojo.addClass(_421.domNode,this.baseClass+"-"+_421.baseClass);}},addChild:function(_422,_423){this.inherited(arguments);if(this._started){this._setupChild(_422);}},removeChild:function(_424){if(_424.baseClass){dojo.removeClass(_424.domNode,this.baseClass+"-"+_424.baseClass);}this.inherited(arguments);}});dijit.layout.marginBox2contentBox=function(node,mb){var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var pb=dojo._getPadBorderExtents(node,cs);return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _42a=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_42d,dim){_42d.resize?_42d.resize(dim):dojo.marginBox(_42d.domNode,dim);dojo.mixin(_42d,dojo.marginBox(_42d.domNode));dojo.mixin(_42d,dim);};dijit.layout.layoutChildren=function(_42f,dim,_431){dim=dojo.mixin({},dim);dojo.addClass(_42f,"dijitLayoutContainer");_431=dojo.filter(_431,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_431,function(item){return item.layoutAlign=="client";}));dojo.forEach(_431,function(_434){var elm=_434.domNode,pos=_434.layoutAlign;var _437=elm.style;_437.left=dim.l+"px";_437.top=dim.t+"px";_437.bottom=_437.right="auto";dojo.addClass(elm,"dijitAlign"+_42a(pos));if(pos=="top"||pos=="bottom"){size(_434,{w:dim.w});dim.h-=_434.h;if(pos=="top"){dim.t+=_434.h;}else{_437.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_434,{h:dim.h});dim.w-=_434.w;if(pos=="left"){dim.l+=_434.w;}else{_437.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_434,dim);}}}});};})();}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(name,_439,_43a){var c=document.cookie;if(arguments.length==1){var _43c=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(name)+"=([^;]*)"));return _43c?decodeURIComponent(_43c[1]):undefined;}else{_43a=_43a||{};var exp=_43a.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_43a.expires=d;}if(exp&&exp.toUTCString){_43a.expires=exp.toUTCString();}_439=encodeURIComponent(_439);var _43f=name+"="+_439,_440;for(_440 in _43a){_43f+="; "+_440;var _441=_43a[_440];if(_441!==true){_43f+="="+_441;}}document.cookie=_43f;}};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};}if(!dojo._hasResource["dijit.layout.BorderContainer"]){dojo._hasResource["dijit.layout.BorderContainer"]=true;dojo.provide("dijit.layout.BorderContainer");dojo.declare("dijit.layout.BorderContainer",dijit.layout._LayoutWidget,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:"dijit.layout._Splitter",postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this._splitters={};this._splitterThickness={};},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_442){var _443=_442.region;if(_443){this.inherited(arguments);dojo.addClass(_442.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_443=="leading"){_443=ltr?"left":"right";}if(_443=="trailing"){_443=ltr?"right":"left";}this["_"+_443]=_442.domNode;this["_"+_443+"Widget"]=_442;if((_442.splitter||this.gutters)&&!this._splitters[_443]){var _445=dojo.getObject(_442.splitter?this._splitterClass:"dijit.layout._Gutter");var flip={left:"right",right:"left",top:"bottom",bottom:"top",leading:"trailing",trailing:"leading"};var _447=new _445({container:this,child:_442,region:_443,oppNode:this["_"+flip[_442.region]],live:this.liveSplitters});_447.isSplitter=true;this._splitters[_443]=_447.domNode;dojo.place(this._splitters[_443],_442.domNode,"after");_447.startup();}_442.region=_443;}},_computeSplitterThickness:function(_448){this._splitterThickness[_448]=this._splitterThickness[_448]||dojo.marginBox(this._splitters[_448])[(/top|bottom/.test(_448)?"h":"w")];},layout:function(){for(var _449 in this._splitters){this._computeSplitterThickness(_449);}this._layoutChildren();},addChild:function(_44a,_44b){this.inherited(arguments);if(this._started){this._layoutChildren();}},removeChild:function(_44c){var _44d=_44c.region;var _44e=this._splitters[_44d];if(_44e){dijit.byNode(_44e).destroy();delete this._splitters[_44d];delete this._splitterThickness[_44d];}this.inherited(arguments);delete this["_"+_44d];delete this["_"+_44d+"Widget"];if(this._started){this._layoutChildren(_44c.region);}dojo.removeClass(_44c.domNode,this.baseClass+"Pane");},getChildren:function(){return dojo.filter(this.inherited(arguments),function(_44f){return !_44f.isSplitter;});},getSplitter:function(_450){var _451=this._splitters[_450];return _451?dijit.byNode(_451):null;},resize:function(_452,_453){if(!this.cs||!this.pe){var node=this.domNode;this.cs=dojo.getComputedStyle(node);this.pe=dojo._getPadExtents(node,this.cs);this.pe.r=dojo._toPixelValue(node,this.cs.paddingRight);this.pe.b=dojo._toPixelValue(node,this.cs.paddingBottom);dojo.style(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_455){var _456=(this.design=="sidebar");var _457=0,_458=0,_459=0,_45a=0;var _45b={},_45c={},_45d={},_45e={},_45f=(this._center&&this._center.style)||{};var _460=/left|right/.test(_455);var _461=!_455||(!_460&&!_456);var _462=!_455||(_460&&_456);if(this._top){_45b=_462&&this._top.style;_457=dojo.marginBox(this._top).h;}if(this._left){_45c=_461&&this._left.style;_459=dojo.marginBox(this._left).w;}if(this._right){_45d=_461&&this._right.style;_45a=dojo.marginBox(this._right).w;}if(this._bottom){_45e=_462&&this._bottom.style;_458=dojo.marginBox(this._bottom).h;}var _463=this._splitters;var _464=_463.top,_465=_463.bottom,_466=_463.left,_467=_463.right;var _468=this._splitterThickness;var _469=_468.top||0,_46a=_468.left||0,_46b=_468.right||0,_46c=_468.bottom||0;if(_46a>50||_46b>50){setTimeout(dojo.hitch(this,function(){this._splitterThickness={};for(var _46d in this._splitters){this._computeSplitterThickness(_46d);}this._layoutChildren();}),50);return false;}var pe=this.pe;var _46f={left:(_456?_459+_46a:0)+pe.l+"px",right:(_456?_45a+_46b:0)+pe.r+"px"};if(_464){dojo.mixin(_464.style,_46f);_464.style.top=_457+pe.t+"px";}if(_465){dojo.mixin(_465.style,_46f);_465.style.bottom=_458+pe.b+"px";}_46f={top:(_456?0:_457+_469)+pe.t+"px",bottom:(_456?0:_458+_46c)+pe.b+"px"};if(_466){dojo.mixin(_466.style,_46f);_466.style.left=_459+pe.l+"px";}if(_467){dojo.mixin(_467.style,_46f);_467.style.right=_45a+pe.r+"px";}dojo.mixin(_45f,{top:pe.t+_457+_469+"px",left:pe.l+_459+_46a+"px",right:pe.r+_45a+_46b+"px",bottom:pe.b+_458+_46c+"px"});var _470={top:_456?pe.t+"px":_45f.top,bottom:_456?pe.b+"px":_45f.bottom};dojo.mixin(_45c,_470);dojo.mixin(_45d,_470);_45c.left=pe.l+"px";_45d.right=pe.r+"px";_45b.top=pe.t+"px";_45e.bottom=pe.b+"px";if(_456){_45b.left=_45e.left=_459+_46a+pe.l+"px";_45b.right=_45e.right=_45a+_46b+pe.r+"px";}else{_45b.left=_45e.left=pe.l+"px";_45b.right=_45e.right=pe.r+"px";}var _471=this._borderBox.h-pe.t-pe.b,_472=_471-(_457+_469+_458+_46c),_473=_456?_471:_472;var _474=this._borderBox.w-pe.l-pe.r,_475=_474-(_459+_46a+_45a+_46b),_476=_456?_475:_474;var dim={top:{w:_476,h:_457},bottom:{w:_476,h:_458},left:{w:_459,h:_473},right:{w:_45a,h:_473},center:{h:_472,w:_475}};var _478=dojo.isIE<8||dojo.some(this.getChildren(),function(_479){return _479.domNode.tagName=="TEXTAREA"||_479.domNode.tagName=="INPUT";});if(_478){var _47a=function(_47b,_47c,_47d){if(_47b){(_47b.resize?_47b.resize(_47c,_47d):dojo.marginBox(_47b.domNode,_47c));}};if(_466){_466.style.height=_473;}if(_467){_467.style.height=_473;}_47a(this._leftWidget,{h:_473},dim.left);_47a(this._rightWidget,{h:_473},dim.right);if(_464){_464.style.width=_476;}if(_465){_465.style.width=_476;}_47a(this._topWidget,{w:_476},dim.top);_47a(this._bottomWidget,{w:_476},dim.bottom);_47a(this._centerWidget,dim.center);}else{var _47e={};if(_455){_47e[_455]=_47e.center=true;if(/top|bottom/.test(_455)&&this.design!="sidebar"){_47e.left=_47e.right=true;}else{if(/left|right/.test(_455)&&this.design=="sidebar"){_47e.top=_47e.bottom=true;}}}dojo.forEach(this.getChildren(),function(_47f){if(_47f.resize&&(!_455||_47f.region in _47e)){_47f.resize(null,dim[_47f.region]);}},this);}},destroy:function(){for(region in this._splitters){var _480=this._splitters[region];dijit.byNode(_480).destroy();dojo._destroyElement(_480);}delete this._splitters;delete this._splitterThickness;this.inherited(arguments);}});dojo.extend(dijit._Widget,{region:"",splitter:false,minSize:0,maxSize:Infinity});dojo.declare("dijit.layout._Splitter",[dijit._Widget,dijit._Templated],{live:true,templateString:"<div class=\"dijitSplitter\" dojoAttachEvent=\"onkeypress:_onKeyPress,onmousedown:_startDrag\" tabIndex=\"0\" waiRole=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",postCreate:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);dojo.addClass(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));this._factor=/top|left/.test(this.region)?1:-1;this._minSize=this.child.minSize;this.child.domNode._recalc=true;this.connect(this.container,"resize",function(){this.child.domNode._recalc=true;});this._cookieName=this.container.id+"_"+this.region;if(this.container.persist){var _481=dojo.cookie(this._cookieName);if(_481){this.child.domNode.style[this.horizontal?"height":"width"]=_481;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_483=this.container._splitterThickness[this.region];var _484=dojo.contentBox(this.container.domNode)[dim]-(this.oppNode?dojo.marginBox(this.oppNode)[dim]:0)-20-_483*2;this._maxSize=Math.min(this.child.maxSize,_484);},_startDrag:function(e){if(this.child.domNode._recalc){this._computeMaxSize();this.child.domNode._recalc=false;}if(!this.cover){this.cover=dojo.doc.createElement("div");dojo.addClass(this.cover,"dijitSplitterCover");dojo.place(this.cover,this.child.domNode,"after");}else{this.cover.style.zIndex=1;}if(this.fake){dojo._destroyElement(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");dojo.addClass(this.domNode,"dijitSplitterShadow");dojo.place(this.fake,this.domNode,"after");}dojo.addClass(this.domNode,"dijitSplitterActive");var _486=this._factor,max=this._maxSize,min=this._minSize||20,_489=this.horizontal,axis=_489?"pageY":"pageX",_48b=e[axis],_48c=this.domNode.style,dim=_489?"h":"w",_48e=dojo.marginBox(this.child.domNode)[dim],_48f=this.region,_490=parseInt(this.domNode.style[_48f],10),_491=this._resize,mb={},_493=this.child.domNode,_494=dojo.hitch(this.container,this.container._layoutChildren),de=dojo.doc.body;this._handlers=(this._handlers||[]).concat([dojo.connect(de,"onmousemove",this._drag=function(e,_497){var _498=e[axis]-_48b,_499=_486*_498+_48e,_49a=Math.max(Math.min(_499,max),min);if(_491||_497){mb[dim]=_49a;dojo.marginBox(_493,mb);_494(_48f);}_48c[_48f]=_486*_498+_490+(_49a-_499)+"px";}),dojo.connect(de,"onmouseup",this,"_stopDrag")]);dojo.stopEvent(e);},_stopDrag:function(e){try{if(this.cover){this.cover.style.zIndex=-1;}if(this.fake){dojo._destroyElement(this.fake);}dojo.removeClass(this.domNode,"dijitSplitterActive");dojo.removeClass(this.domNode,"dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();if(this.oppNode){this.oppNode._recalc=true;}delete this._drag;}if(this.container.persist){dojo.cookie(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){dojo.forEach(this._handlers,dojo.disconnect);delete this._handlers;},_onKeyPress:function(e){if(this.child.domNode._recalc){this._computeMaxSize();this.child.domNode._recalc=false;}this._resize=true;var _49d=this.horizontal;var tick=1;var dk=dojo.keys;switch(e.charOrCode){case _49d?dk.UP_ARROW:dk.LEFT_ARROW:tick*=-1;case _49d?dk.DOWN_ARROW:dk.RIGHT_ARROW:break;default:return;}var _4a0=dojo.marginBox(this.child.domNode)[_49d?"h":"w"]+this._factor*tick;var mb={};mb[this.horizontal?"h":"w"]=Math.max(Math.min(_4a0,this._maxSize),this._minSize);dojo.marginBox(this.child.domNode,mb);if(this.oppNode){this.oppNode._recalc=true;}this.container._layoutChildren(this.region);dojo.stopEvent(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.fake;this.inherited(arguments);}});dojo.declare("dijit.layout._Gutter",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitGutter\" waiRole=\"presentation\"></div>",postCreate:function(){this.horizontal=/top|bottom/.test(this.region);dojo.addClass(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});}if(!dojo._hasResource["dojo.html"]){dojo._hasResource["dojo.html"]=true;dojo.provide("dojo.html");(function(){var _4a2=0;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=function(node){while(node.firstChild){dojo._destroyElement(node.firstChild);}};dojo.html._setNodeContent=function(node,cont,_4a7){if(_4a7){dojo.html._emptyNode(node);}if(typeof cont=="string"){var pre="",post="",walk=0,name=node.nodeName.toLowerCase();switch(name){case "tr":pre="<tr>";post="</tr>";walk+=1;case "tbody":case "thead":pre="<tbody>"+pre;post+="</tbody>";walk+=1;case "table":pre="<table>"+pre;post+="</table>";walk+=1;break;}if(walk){var n=node.ownerDocument.createElement("div");n.innerHTML=pre+cont+post;do{n=n.firstChild;}while(--walk);dojo.forEach(n.childNodes,function(n){node.appendChild(n.cloneNode(true));});}else{node.innerHTML=cont;}}else{if(cont.nodeType){node.appendChild(cont);}else{dojo.forEach(cont,function(n){node.appendChild(n.cloneNode(true));});}}return node;};dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,constructor:function(_4af,node){dojo.mixin(this,_4af||{});node=this.node=dojo.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_4a2++].join("_");}if(!(this.node||node)){new Error(this.declaredClass+": no node provided to "+this.id);}},set:function(cont,_4b2){if(undefined!==cont){this.content=cont;}if(_4b2){this._mixin(_4b2);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){console.error("setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _4b4=this.onContentError(e);try{node.innerHTML=_4b4;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){dojo.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(dojo.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _4b7=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_4b7){cont=_4b7[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_4b9){var _4ba={},key;for(key in _4b9){if(key in _4ba){continue;}this[key]=_4b9[key];}},_parse:function(){var _4bc=this.node;try{this.parseResults=dojo.parser.parse(_4bc,true);}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_4bf){var _4c0=this["on"+type+"Error"].call(this,err);if(_4bf){console.error(_4bf,err);}else{if(_4c0){dojo.html._setNodeContent(this.node,_4c0,true);}}}});dojo.html.set=function(node,cont,_4c3){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_4c3){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(dojo.mixin(_4c3,{content:cont,node:node}));return op.set();}};})();}if(!dojo._hasResource["dijit.layout.ContentPane"]){dojo._hasResource["dijit.layout.ContentPane"]=true;dojo.provide("dijit.layout.ContentPane");dojo.declare("dijit.layout.ContentPane",dijit._Widget,{href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",doLayout:true,_isRealContent:true,postMixInProperties:function(){this.inherited(arguments);var _4c5=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_4c5);this.errorMessage=dojo.string.substitute(this.errorMessage,_4c5);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},postCreate:function(){this.domNode.title="";if(!dijit.hasWaiRole(this.domNode)){dijit.setWaiRole(this.domNode,"group");}dojo.addClass(this.domNode,this.baseClass);},startup:function(){if(this._started){return;}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild){this._singleChild.startup();}}this._loadCheck();this.inherited(arguments);},_checkIfSingleChild:function(){var _4c6=dojo.query(">",this.containerNode),_4c7=_4c6.filter(function(node){return dojo.hasAttr(node,"dojoType")||dojo.hasAttr(node,"widgetId");}),_4c9=dojo.filter(_4c7.map(dijit.byNode),function(_4ca){return _4ca&&_4ca.domNode&&_4ca.resize;});if(_4c6.length==_4c7.length&&_4c9.length==1){this.isContainer=true;this._singleChild=_4c9[0];}else{delete this.isContainer;delete this._singleChild;}},refresh:function(){return this._prepareLoad(true);},setHref:function(href){dojo.deprecated("dijit.layout.ContentPane.setHref() is deprecated.\tUse attr('href', ...) instead.","","2.0");return this.attr("href",href);},_setHrefAttr:function(href){this.href=href;if(this._created){return this._prepareLoad();}},setContent:function(data){dojo.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use attr('content', ...) instead.","","2.0");this.attr("content",data);},_setContentAttr:function(data){if(!this._isDownloaded){this.href="";}this._setContent(data||"");this._isDownloaded=false;if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){this._singleChild.startup();var cb=this._contentBox||dojo.contentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}}this._onLoadHandler(data);},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;},destroyRecursive:function(_4d0){if(this._beingDestroyed){return;}this._beingDestroyed=true;this.inherited(arguments);},resize:function(size){dojo.marginBox(this.domNode,size);var node=this.containerNode,mb=dojo.mixin(dojo.marginBox(node),size||{});var cb=this._contentBox=dijit.layout.marginBox2contentBox(node,mb);if(this._singleChild&&this._singleChild.resize){this._singleChild.resize({w:cb.w,h:cb.h});}},_prepareLoad:function(_4d5){this.cancel();this.isLoaded=false;this._loadCheck(_4d5);},_isShown:function(){if("open" in this){return this.open;}else{var node=this.domNode;return (node.style.display!="none")&&(node.style.visibility!="hidden");}},_loadCheck:function(_4d7){var _4d8=this._isShown();if(this.href&&(_4d7||(this.preload&&!this.isLoaded&&!this._xhrDfd)||(this.refreshOnShow&&_4d8&&!this._xhrDfd)||(!this.isLoaded&&_4d8&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _4da={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_4da,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_4da);hand.addCallback(function(html){try{self._isDownloaded=true;self.attr("content",html);self.onDownloadEnd();}catch(err){self._onError("Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.cancelled){self._onError("Download",err);}delete self._xhrDfd;return err;});},_onLoadHandler:function(data){this.isLoaded=true;try{this.onLoad(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this.isLoaded=false;try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(){if(this._isRealContent){this._onUnloadHandler();}var _4df=this._contentSetter;dojo.forEach(this.getDescendants(true),function(_4e0){if(_4e0.destroyRecursive){_4e0.destroyRecursive();}});if(_4df){dojo.forEach(_4df.parseResults,function(_4e1){if(_4e1.destroyRecursive&&_4e1.domNode&&_4e1.domNode.parentNode==dojo.body()){_4e1.destroyRecursive();}});delete _4df.parseResults;}dojo.html._emptyNode(this.containerNode);},_setContent:function(cont,_4e3){this.cancel();this.destroyDescendants();this._isRealContent=!_4e3;var _4e4=this._contentSetter;if(!(_4e4&&_4e4 instanceof dojo.html._ContentSetter)){_4e4=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){var _4e6=this.onContentError(e);try{this.containerNode.innerHTML=_4e6;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _4e7=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad},this._contentSetterParams||{});dojo.mixin(_4e4,_4e7);_4e4.set((dojo.isObject(cont)&&cont.domNode)?cont.domNode:cont);delete this._contentSetterParams;},_onError:function(type,err,_4ea){var _4eb=this["on"+type+"Error"].call(this,err);if(_4ea){console.error(_4ea,err);}else{if(_4eb){this._setContent(_4eb,true);}}},_createSubWidgets:function(){try{dojo.parser.parse(this.containerNode,true);}catch(e){this._onError("Content",e,"Couldn't create widgets in "+this.id+(this.href?" from "+this.href:""));}},onLoad:function(data){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_4ed){},onDownloadError:function(_4ee){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dojox.highlight._base"]){dojo._hasResource["dojox.highlight._base"]=true;dojo.provide("dojox.highlight._base");(function(){var dh=dojox.highlight,_4f0="\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)";dh.constants={IDENT_RE:"[a-zA-Z][a-zA-Z0-9_]*",UNDERSCORE_IDENT_RE:"[a-zA-Z_][a-zA-Z0-9_]*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:_4f0,APOS_STRING_MODE:{className:"string",begin:"'",end:"'",illegal:"\\n",contains:["escape"],relevance:0},QUOTE_STRING_MODE:{className:"string",begin:"\"",end:"\"",illegal:"\\n",contains:["escape"],relevance:0},BACKSLASH_ESCAPE:{className:"escape",begin:"\\\\.",end:"^",relevance:0},C_LINE_COMMENT_MODE:{className:"comment",begin:"//",end:"$",relevance:0},C_BLOCK_COMMENT_MODE:{className:"comment",begin:"/\\*",end:"\\*/"},HASH_COMMENT_MODE:{className:"comment",begin:"#",end:"$"},C_NUMBER_MODE:{className:"number",begin:_4f0,end:"^",relevance:0}};function esc(_4f2){return _4f2.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;");};function _4f3(_4f4){return dojo.every(_4f4.childNodes,function(node){return node.nodeType==3||String(node.nodeName).toLowerCase()=="br";});};function _4f6(_4f7){var _4f8=[];dojo.forEach(_4f7.childNodes,function(node){if(node.nodeType==3){_4f8.push(node.nodeValue);}else{if(String(node.nodeName).toLowerCase()=="br"){_4f8.push("\n");}else{throw "Complex markup";}}});return _4f8.join("");};function _4fa(mode){if(!mode.keywordGroups){for(var key in mode.keywords){var kw=mode.keywords[key];if(kw instanceof Object){mode.keywordGroups=mode.keywords;}else{mode.keywordGroups={keyword:mode.keywords};}break;}}};function _4fe(lang){if(lang.defaultMode&&lang.modes){_4fa(lang.defaultMode);dojo.forEach(lang.modes,_4fa);}};var _500=function(_501,_502){this.langName=_501;this.lang=dh.languages[_501];this.modes=[this.lang.defaultMode];this.relevance=0;this.keywordCount=0;this.result=[];if(!this.lang.defaultMode.illegalRe){this.buildRes();_4fe(this.lang);}try{this.highlight(_502);this.result=this.result.join("");}catch(e){if(e=="Illegal"){this.relevance=0;this.keywordCount=0;this.partialResult=this.result.join("");this.result=esc(_502);}else{throw e;}}};dojo.extend(_500,{buildRes:function(){dojo.forEach(this.lang.modes,function(mode){if(mode.begin){mode.beginRe=this.langRe("^"+mode.begin);}if(mode.end){mode.endRe=this.langRe("^"+mode.end);}if(mode.illegal){mode.illegalRe=this.langRe("^(?:"+mode.illegal+")");}},this);this.lang.defaultMode.illegalRe=this.langRe("^(?:"+this.lang.defaultMode.illegal+")");},subMode:function(_504){var _505=this.modes[this.modes.length-1].contains;if(_505){var _506=this.lang.modes;for(var i=0;i<_505.length;++i){var _508=_505[i];for(var j=0;j<_506.length;++j){var mode=_506[j];if(mode.className==_508&&mode.beginRe.test(_504)){return mode;}}}}return null;},endOfMode:function(_50b){for(var i=this.modes.length-1;i>=0;--i){var mode=this.modes[i];if(mode.end&&mode.endRe.test(_50b)){return this.modes.length-i;}if(!mode.endsWithParent){break;}}return 0;},isIllegal:function(_50e){var _50f=this.modes[this.modes.length-1].illegalRe;return _50f&&_50f.test(_50e);},langRe:function(_510,_511){var mode="m"+(this.lang.case_insensitive?"i":"")+(_511?"g":"");return new RegExp(_510,mode);},buildTerminators:function(){var mode=this.modes[this.modes.length-1],_514={};if(mode.contains){dojo.forEach(this.lang.modes,function(_515){if(dojo.indexOf(mode.contains,_515.className)>=0){_514[_515.begin]=1;}});}for(var i=this.modes.length-1;i>=0;--i){var m=this.modes[i];if(m.end){_514[m.end]=1;}if(!m.endsWithParent){break;}}if(mode.illegal){_514[mode.illegal]=1;}var t=[];for(i in _514){t.push(i);}mode.terminatorsRe=this.langRe("("+t.join("|")+")");},eatModeChunk:function(_519,_51a){var mode=this.modes[this.modes.length-1];if(!mode.terminatorsRe){this.buildTerminators();}_519=_519.substr(_51a);var _51c=mode.terminatorsRe.exec(_519);if(!_51c){return {buffer:_519,lexeme:"",end:true};}return {buffer:_51c.index?_519.substr(0,_51c.index):"",lexeme:_51c[0],end:false};},keywordMatch:function(mode,_51e){var _51f=_51e[0];if(this.lang.case_insensitive){_51f=_51f.toLowerCase();}for(var _520 in mode.keywordGroups){if(_51f in mode.keywordGroups[_520]){return _520;}}return "";},buildLexemes:function(mode){var _522={};dojo.forEach(mode.lexems,function(_523){_522[_523]=1;});var t=[];for(var i in _522){t.push(i);}mode.lexemsRe=this.langRe("("+t.join("|")+")",true);},processKeywords:function(_526){var mode=this.modes[this.modes.length-1];if(!mode.keywords||!mode.lexems){return esc(_526);}if(!mode.lexemsRe){this.buildLexemes(mode);}mode.lexemsRe.lastIndex=0;var _528=[],_529=0,_52a=mode.lexemsRe.exec(_526);while(_52a){_528.push(esc(_526.substr(_529,_52a.index-_529)));var _52b=this.keywordMatch(mode,_52a);if(_52b){++this.keywordCount;_528.push("<span class=\""+_52b+"\">"+esc(_52a[0])+"</span>");}else{_528.push(esc(_52a[0]));}_529=mode.lexemsRe.lastIndex;_52a=mode.lexemsRe.exec(_526);}_528.push(esc(_526.substr(_529,_526.length-_529)));return _528.join("");},processModeInfo:function(_52c,_52d,end){var mode=this.modes[this.modes.length-1];if(end){this.result.push(this.processKeywords(mode.buffer+_52c));return;}if(this.isIllegal(_52d)){throw "Illegal";}var _530=this.subMode(_52d);if(_530){mode.buffer+=_52c;this.result.push(this.processKeywords(mode.buffer));if(_530.excludeBegin){this.result.push(_52d+"<span class=\""+_530.className+"\">");_530.buffer="";}else{this.result.push("<span class=\""+_530.className+"\">");_530.buffer=_52d;}this.modes.push(_530);this.relevance+=typeof _530.relevance=="number"?_530.relevance:1;return;}var _531=this.endOfMode(_52d);if(_531){mode.buffer+=_52c;if(mode.excludeEnd){this.result.push(this.processKeywords(mode.buffer)+"</span>"+_52d);}else{this.result.push(this.processKeywords(mode.buffer+_52d)+"</span>");}while(_531>1){this.result.push("</span>");--_531;this.modes.pop();}this.modes.pop();this.modes[this.modes.length-1].buffer="";return;}},highlight:function(_532){var _533=0;this.lang.defaultMode.buffer="";do{var _534=this.eatModeChunk(_532,_533);this.processModeInfo(_534.buffer,_534.lexeme,_534.end);_533+=_534.buffer.length+_534.lexeme.length;}while(!_534.end);if(this.modes.length>1){throw "Illegal";}}});function _535(node,_537,text){if(String(node.tagName).toLowerCase()=="code"&&String(node.parentNode.tagName).toLowerCase()=="pre"){var _539=document.createElement("div"),_53a=node.parentNode.parentNode;_539.innerHTML="<pre><code class=\""+_537+"\">"+text+"</code></pre>";_53a.replaceChild(_539.firstChild,node.parentNode);}else{node.className=_537;node.innerHTML=text;}};function _53b(lang,str){var _53e=new _500(lang,str);return {result:_53e.result,langName:lang,partialResult:_53e.partialResult};};function _53f(_540,lang){var _542=_53b(lang,_4f6(_540));_535(_540,_540.className,_542.result);};function _543(str){var _545="",_546="",_547=2,_548=str;for(var key in dh.languages){if(!dh.languages[key].defaultMode){continue;}var _54a=new _500(key,_548),_54b=_54a.keywordCount+_54a.relevance,_54c=0;if(!_545||_54b>_54c){_54c=_54b;_545=_54a.result;_546=_54a.langName;}}return {result:_545,langName:_546};};function _54d(_54e){var _54f=_543(_4f6(_54e));if(_54f.result){_535(_54e,_54f.langName,_54f.result);}};dh.processString=function(str,lang){return lang?_53b(lang,str):_543(str);};dh.init=function(_552){if(dojo.hasClass(_552,"no-highlight")){return;}if(!_4f3(_552)){return;}var _553=_552.className.split(/\s+/),flag=dojo.some(_553,function(_555){if(_555.charAt(0)!="_"&&dh.languages[_555]){_53f(_552,_555);return true;}return false;});if(!flag){_54d(_552);}};dh.Code=function(_556,node){dh.init(node);};})();}if(!dojo._hasResource["dojox.highlight"]){dojo._hasResource["dojox.highlight"]=true;dojo.provide("dojox.highlight");}if(!dojo._hasResource["dojox.highlight.languages.php"]){dojo._hasResource["dojox.highlight.languages.php"]=true;dojo.provide("dojox.highlight.languages.php");(function(){var _558={"and":1,"include_once":1,"list":1,"abstract":1,"global":1,"private":1,"echo":1,"interface":1,"as":1,"static":1,"endswitch":1,"array":1,"null":1,"if":1,"endwhile":1,"or":1,"const":1,"for":1,"endforeach":1,"self":1,"var":1,"while":1,"isset":1,"public":1,"protected":1,"exit":1,"foreach":1,"throw":1,"elseif":1,"extends":1,"include":1,"__FILE__":1,"empty":1,"require_once":1,"function":1,"do":1,"xor":1,"return":1,"implements":1,"parent":1,"clone":1,"use":1,"__CLASS__":1,"__LINE__":1,"else":1,"break":1,"print":1,"eval":1,"new":1,"catch":1,"__METHOD__":1,"class":1,"case":1,"exception":1,"php_user_filter":1,"default":1,"die":1,"require":1,"__FUNCTION__":1,"enddeclare":1,"final":1,"try":1,"this":1,"switch":1,"continue":1,"endfor":1,"endif":1,"declare":1,"unset":1};var _559="[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*";var dh=dojox.highlight,dhc=dh.constants;dh.languages.php={defaultMode:{lexems:[dhc.IDENT_RE],contains:["comment","number","string","variable"],keywords:_558},case_insensitive:true,modes:[dhc.C_LINE_COMMENT_MODE,dhc.HASH_COMMENT_MODE,{className:"comment",begin:"/\\*",end:"\\*/",contains:["phpdoc"]},{className:"phpdoc",begin:"\\s@[A-Za-z]+",end:"^",relevance:10},dhc.C_NUMBER_MODE,{className:"string",begin:"'",end:"'",contains:["escape"],relevance:0},{className:"string",begin:"\"",end:"\"",contains:["escape"],relevance:0},dhc.BACKSLASH_ESCAPE,{className:"variable",begin:"\\$"+_559,end:"^"}]};})();}if(!dojo._hasResource["dojox.highlight.languages.pygments.xml"]){dojo._hasResource["dojox.highlight.languages.pygments.xml"]=true;dojo.provide("dojox.highlight.languages.pygments.xml");dojox.highlight.languages.pygments.xml={a:1};dojox.highlight.languages.xml={defaultMode:{contains:["name entity","comment","comment preproc","_tag"]},modes:[{className:"comment",begin:"<!--",end:"-->"},{className:"comment preproc",begin:"\\<\\!\\[CDATA\\[",end:"\\]\\]\\>"},{className:"comment preproc",begin:"\\<\\!",end:"\\>"},{className:"comment preproc",begin:"\\<\\?",end:"\\?\\>",relevance:5},{className:"string",begin:"'",end:"'",illegal:"\\n",relevance:0},{className:"string",begin:"\"",end:"\"",illegal:"\\n",relevance:0},{className:"name entity",begin:"\\&[a-z]+;",end:"^"},{className:"name tag",begin:"\\b[a-z0-9_\\:\\-]+\\b",end:"^"},{className:"name attribute",begin:"\\b[a-z0-9_\\:\\-]+=",end:"^",relevance:0},{className:"_tag",begin:"\\<",end:"\\>",contains:["name tag","name attribute","string"]},{className:"_tag",begin:"\\</",end:"\\>",contains:["name tag"]}]};}if(!dojo._hasResource["dojox.highlight.languages.pygments._html"]){dojo._hasResource["dojox.highlight.languages.pygments._html"]=true;dojo.provide("dojox.highlight.languages.pygments._html");dojox.highlight.languages.pygments._html.tags={"code":1,"kbd":1,"font":1,"noscript":1,"style":1,"img":1,"title":1,"menu":1,"tt":1,"tr":1,"param":1,"li":1,"tfoot":1,"th":1,"input":1,"td":1,"dl":1,"blockquote":1,"fieldset":1,"big":1,"dd":1,"abbr":1,"optgroup":1,"dt":1,"button":1,"isindex":1,"p":1,"small":1,"div":1,"dir":1,"em":1,"frame":1,"meta":1,"sub":1,"bdo":1,"label":1,"acronym":1,"sup":1,"body":1,"xml":1,"basefont":1,"base":1,"br":1,"address":1,"strong":1,"legend":1,"ol":1,"script":1,"caption":1,"s":1,"col":1,"h2":1,"h3":1,"h1":1,"h6":1,"h4":1,"h5":1,"table":1,"select":1,"noframes":1,"span":1,"area":1,"dfn":1,"strike":1,"cite":1,"thead":1,"head":1,"option":1,"form":1,"hr":1,"var":1,"link":1,"b":1,"colgroup":1,"ul":1,"applet":1,"del":1,"iframe":1,"pre":1,"frameset":1,"ins":1,"tbody":1,"html":1,"samp":1,"map":1,"object":1,"a":1,"xmlns":1,"center":1,"textarea":1,"i":1,"q":1,"u":1};}if(!dojo._hasResource["dojox.highlight.languages.pygments.html"]){dojo._hasResource["dojox.highlight.languages.pygments.html"]=true;dojo.provide("dojox.highlight.languages.pygments.html");(function(){var dh=dojox.highlight,dhl=dh.languages,tags=[],ht=dhl.pygments._html.tags;for(var key in ht){tags.push(key);}tags="\\b("+tags.join("|")+")\\b";dhl.html={case_insensitive:true,defaultMode:{contains:["name entity","comment","comment preproc","_script","_style","_tag"]},modes:[{className:"comment",begin:"<!--",end:"-->"},{className:"comment preproc",begin:"\\<\\!\\[CDATA\\[",end:"\\]\\]\\>"},{className:"comment preproc",begin:"\\<\\!",end:"\\>"},{className:"string",begin:"'",end:"'",illegal:"\\n",relevance:0},{className:"string",begin:"\"",end:"\"",illegal:"\\n",relevance:0},{className:"name entity",begin:"\\&[a-z]+;",end:"^"},{className:"name tag",begin:tags,end:"^",relevance:5},{className:"name attribute",begin:"\\b[a-z0-9_\\:\\-]+\\s*=",end:"^",relevance:0},{className:"_script",begin:"\\<script\\b",end:"\\</script\\>",relevance:5},{className:"_style",begin:"\\<style\\b",end:"\\</style\\>",relevance:5},{className:"_tag",begin:"\\<(?!/)",end:"\\>",contains:["name tag","name attribute","string","_value"]},{className:"_tag",begin:"\\</",end:"\\>",contains:["name tag"]},{className:"_value",begin:"[^\\s\\>]+",end:"^"}]};})();}if(!dojo._hasResource["dojox.highlight.languages.pygments.css"]){dojo._hasResource["dojox.highlight.languages.pygments.css"]=true;dojo.provide("dojox.highlight.languages.pygments.css");(function(){var dh=dojox.highlight,dhl=dh.languages;dhl.css={defaultMode:{lexems:["\\b[a-zA-Z0-9]+\\b","\\b@media\b"],keywords:{"keyword":{"@media":1},"name tag":dhl.pygments._html.tags},contains:["comment","string single","string double","punctuation","name decorator","name class","name function","_content"]},modes:[{className:"comment",begin:"/\\*",end:"\\*/",relevance:0},{className:"comment preproc",begin:"@[a-z][a-zA-Z]*",end:"^"},{className:"comment preproc",begin:"\\!important\\b",end:"^"},{className:"number",begin:"\\#[a-fA-F0-9]{3}\\b",end:"^",relevance:0},{className:"number",begin:"\\#[a-fA-F0-9]{6}\\b",end:"^",relevance:0},{className:"number",begin:"[\\.\\-]?[0-9]*[\\.]?[0-9]+(em|px|\\%|pt|pc|in|mm|cm|ex)",end:"^",relevance:0},{className:"number",begin:"\\-?[0-9]+",end:"^",relevance:0},{className:"string single",begin:"'",end:"'",illegal:"\\n",relevance:0},{className:"string double",begin:"\"",end:"\"",illegal:"\\n",relevance:0},{className:"operator",begin:"[~\\^\\*!%&\\[\\]\\(\\)<>\\|+=@:;,./?-]",end:"^",relevance:0},{className:"punctuation",begin:"[\\[\\]();]+",end:"^",relevance:0},{className:"name decorator",begin:"\\:[a-zA-Z0-9_\\-]+\\b",end:"^"},{className:"name class",begin:"\\.[a-zA-Z0-9_\\-]+\\b",end:"^"},{className:"name function",begin:"\\#[a-zA-Z0-9_\\-]+\\b",end:"^"},{className:"_content",begin:"\\{",end:"\\}",lexems:["\\b[a-zA-Z\\-]+\\b"],keywords:{"keyword":{"azimuth":1,"background-attachment":1,"background-color":1,"background-image":1,"background-position":1,"background-repeat":1,"background":1,"border-bottom-color":1,"border-bottom-style":1,"border-bottom-width":1,"border-left-color":1,"border-left-style":1,"border-left-width":1,"border-right":1,"border-right-color":1,"border-right-style":1,"border-right-width":1,"border-top-color":1,"border-top-style":1,"border-top-width":1,"border-bottom":1,"border-collapse":1,"border-left":1,"border-width":1,"border-color":1,"border-spacing":1,"border-style":1,"border-top":1,"border":1,"caption-side":1,"clear":1,"clip":1,"color":1,"content":1,"counter-increment":1,"counter-reset":1,"cue-after":1,"cue-before":1,"cue":1,"cursor":1,"direction":1,"display":1,"elevation":1,"empty-cells":1,"float":1,"font-family":1,"font-size":1,"font-size-adjust":1,"font-stretch":1,"font-style":1,"font-variant":1,"font-weight":1,"font":1,"height":1,"letter-spacing":1,"line-height":1,"list-style-type":1,"list-style-image":1,"list-style-position":1,"list-style":1,"margin-bottom":1,"margin-left":1,"margin-right":1,"margin-top":1,"margin":1,"marker-offset":1,"marks":1,"max-height":1,"max-width":1,"min-height":1,"min-width":1,"opacity":1,"orphans":1,"outline":1,"outline-color":1,"outline-style":1,"outline-width":1,"overflow":1,"padding-bottom":1,"padding-left":1,"padding-right":1,"padding-top":1,"padding":1,"page":1,"page-break-after":1,"page-break-before":1,"page-break-inside":1,"pause-after":1,"pause-before":1,"pause":1,"pitch":1,"pitch-range":1,"play-during":1,"position":1,"quotes":1,"richness":1,"right":1,"size":1,"speak-header":1,"speak-numeral":1,"speak-punctuation":1,"speak":1,"speech-rate":1,"stress":1,"table-layout":1,"text-align":1,"text-decoration":1,"text-indent":1,"text-shadow":1,"text-transform":1,"top":1,"unicode-bidi":1,"vertical-align":1,"visibility":1,"voice-family":1,"volume":1,"white-space":1,"widows":1,"width":1,"word-spacing":1,"z-index":1,"bottom":1,"left":1,"above":1,"absolute":1,"always":1,"armenian":1,"aural":1,"auto":1,"avoid":1,"baseline":1,"behind":1,"below":1,"bidi-override":1,"blink":1,"block":1,"bold":1,"bolder":1,"both":1,"capitalize":1,"center-left":1,"center-right":1,"center":1,"circle":1,"cjk-ideographic":1,"close-quote":1,"collapse":1,"condensed":1,"continuous":1,"crop":1,"crosshair":1,"cross":1,"cursive":1,"dashed":1,"decimal-leading-zero":1,"decimal":1,"default":1,"digits":1,"disc":1,"dotted":1,"double":1,"e-resize":1,"embed":1,"extra-condensed":1,"extra-expanded":1,"expanded":1,"fantasy":1,"far-left":1,"far-right":1,"faster":1,"fast":1,"fixed":1,"georgian":1,"groove":1,"hebrew":1,"help":1,"hidden":1,"hide":1,"higher":1,"high":1,"hiragana-iroha":1,"hiragana":1,"icon":1,"inherit":1,"inline-table":1,"inline":1,"inset":1,"inside":1,"invert":1,"italic":1,"justify":1,"katakana-iroha":1,"katakana":1,"landscape":1,"larger":1,"large":1,"left-side":1,"leftwards":1,"level":1,"lighter":1,"line-through":1,"list-item":1,"loud":1,"lower-alpha":1,"lower-greek":1,"lower-roman":1,"lowercase":1,"ltr":1,"lower":1,"low":1,"medium":1,"message-box":1,"middle":1,"mix":1,"monospace":1,"n-resize":1,"narrower":1,"ne-resize":1,"no-close-quote":1,"no-open-quote":1,"no-repeat":1,"none":1,"normal":1,"nowrap":1,"nw-resize":1,"oblique":1,"once":1,"open-quote":1,"outset":1,"outside":1,"overline":1,"pointer":1,"portrait":1,"px":1,"relative":1,"repeat-x":1,"repeat-y":1,"repeat":1,"rgb":1,"ridge":1,"right-side":1,"rightwards":1,"s-resize":1,"sans-serif":1,"scroll":1,"se-resize":1,"semi-condensed":1,"semi-expanded":1,"separate":1,"serif":1,"show":1,"silent":1,"slow":1,"slower":1,"small-caps":1,"small-caption":1,"smaller":1,"soft":1,"solid":1,"spell-out":1,"square":1,"static":1,"status-bar":1,"super":1,"sw-resize":1,"table-caption":1,"table-cell":1,"table-column":1,"table-column-group":1,"table-footer-group":1,"table-header-group":1,"table-row":1,"table-row-group":1,"text":1,"text-bottom":1,"text-top":1,"thick":1,"thin":1,"transparent":1,"ultra-condensed":1,"ultra-expanded":1,"underline":1,"upper-alpha":1,"upper-latin":1,"upper-roman":1,"uppercase":1,"url":1,"visible":1,"w-resize":1,"wait":1,"wider":1,"x-fast":1,"x-high":1,"x-large":1,"x-loud":1,"x-low":1,"x-small":1,"x-soft":1,"xx-large":1,"xx-small":1,"yes":1},"name builtin":{"indigo":1,"gold":1,"firebrick":1,"indianred":1,"yellow":1,"darkolivegreen":1,"darkseagreen":1,"mediumvioletred":1,"mediumorchid":1,"chartreuse":1,"mediumslateblue":1,"black":1,"springgreen":1,"crimson":1,"lightsalmon":1,"brown":1,"turquoise":1,"olivedrab":1,"cyan":1,"silver":1,"skyblue":1,"gray":1,"darkturquoise":1,"goldenrod":1,"darkgreen":1,"darkviolet":1,"darkgray":1,"lightpink":1,"teal":1,"darkmagenta":1,"lightgoldenrodyellow":1,"lavender":1,"yellowgreen":1,"thistle":1,"violet":1,"navy":1,"orchid":1,"blue":1,"ghostwhite":1,"honeydew":1,"cornflowerblue":1,"darkblue":1,"darkkhaki":1,"mediumpurple":1,"cornsilk":1,"red":1,"bisque":1,"slategray":1,"darkcyan":1,"khaki":1,"wheat":1,"deepskyblue":1,"darkred":1,"steelblue":1,"aliceblue":1,"gainsboro":1,"mediumturquoise":1,"floralwhite":1,"coral":1,"purple":1,"lightgrey":1,"lightcyan":1,"darksalmon":1,"beige":1,"azure":1,"lightsteelblue":1,"oldlace":1,"greenyellow":1,"royalblue":1,"lightseagreen":1,"mistyrose":1,"sienna":1,"lightcoral":1,"orangered":1,"navajowhite":1,"lime":1,"palegreen":1,"burlywood":1,"seashell":1,"mediumspringgreen":1,"fuchsia":1,"papayawhip":1,"blanchedalmond":1,"peru":1,"aquamarine":1,"white":1,"darkslategray":1,"ivory":1,"dodgerblue":1,"lemonchiffon":1,"chocolate":1,"orange":1,"forestgreen":1,"slateblue":1,"olive":1,"mintcream":1,"antiquewhite":1,"darkorange":1,"cadetblue":1,"moccasin":1,"limegreen":1,"saddlebrown":1,"darkslateblue":1,"lightskyblue":1,"deeppink":1,"plum":1,"aqua":1,"darkgoldenrod":1,"maroon":1,"sandybrown":1,"magenta":1,"tan":1,"rosybrown":1,"pink":1,"lightblue":1,"palevioletred":1,"mediumseagreen":1,"dimgray":1,"powderblue":1,"seagreen":1,"snow":1,"mediumblue":1,"midnightblue":1,"paleturquoise":1,"palegoldenrod":1,"whitesmoke":1,"darkorchid":1,"salmon":1,"lightslategray":1,"lawngreen":1,"lightgreen":1,"tomato":1,"hotpink":1,"lightyellow":1,"lavenderblush":1,"linen":1,"mediumaquamarine":1,"green":1,"blueviolet":1,"peachpuff":1}},contains:["comment","comment preproc","number","string single","string double","punctuation","name decorator","name class","name function"]}]};})();}if(!dojo._hasResource["dojox.highlight.languages.pygments.javascript"]){dojo._hasResource["dojox.highlight.languages.pygments.javascript"]=true;dojo.provide("dojox.highlight.languages.pygments.javascript");(function(){var dh=dojox.highlight,dhc=dh.constants;dh.languages.javascript={defaultMode:{lexems:["\\b[a-zA-Z]+"],keywords:{"keyword":{"for":1,"in":1,"while":1,"do":1,"break":1,"return":1,"continue":1,"if":1,"else":1,"throw":1,"try":1,"catch":1,"var":1,"with":1,"const":1,"label":1,"function":1,"new":1,"typeof":1,"instanceof":1},"keyword constant":{"true":1,"false":1,"null":1,"NaN":1,"Infinity":1,"undefined":1},"name builtin":{"Array":1,"Boolean":1,"Date":1,"Error":1,"Function":1,"Math":1,"netscape":1,"Number":1,"Object":1,"Packages":1,"RegExp":1,"String":1,"sun":1,"decodeURI":1,"decodeURIComponent":1,"encodeURI":1,"encodeURIComponent":1,"Error":1,"eval":1,"isFinite":1,"isNaN":1,"parseFloat":1,"parseInt":1,"document":1,"window":1},"name builtin pseudo":{"this":1}},contains:["comment single","comment multiline","number integer","number oct","number hex","number float","string single","string double","string regex","operator","punctuation","_function"]},modes:[{className:"comment single",begin:"//",end:"$",relevance:0},{className:"comment multiline",begin:"/\\*",end:"\\*/"},{className:"number integer",begin:"0|([1-9][0-9]*)",end:"^",relevance:0},{className:"number oct",begin:"0[0-9]+",end:"^",relevance:0},{className:"number hex",begin:"0x[0-9a-fA-F]+",end:"^",relevance:0},{className:"number float",begin:"([1-9][0-9]*\\.[0-9]*([eE][\\+-]?[0-9]+)?)|(\\.[0-9]+([eE][\\+-]?[0-9]+)?)|([0-9]+[eE][\\+-]?[0-9]+)",end:"^",relevance:0},{className:"string single",begin:"'",end:"'",illegal:"\\n",contains:["string escape"],relevance:0},{className:"string double",begin:"\"",end:"\"",illegal:"\\n",contains:["string escape"],relevance:0},{className:"string escape",begin:"\\\\.",end:"^",relevance:0},{className:"string regex",begin:"/.*?[^\\\\/]/[gim]*",end:"^"},{className:"operator",begin:"\\|\\||&&|\\+\\+|--|-=|\\+=|/=|\\*=|==|[-\\+\\*/=\\?:~\\^]",end:"^",relevance:0},{className:"punctuation",begin:"[{}\\(\\)\\[\\]\\.;]",end:"^",relevance:0},{className:"_function",begin:"function\\b",end:"{",lexems:[dhc.UNDERSCORE_IDENT_RE],keywords:{keyword:{"function":1}},contains:["name function","_params"],relevance:5},{className:"name function",begin:dhc.UNDERSCORE_IDENT_RE,end:"^"},{className:"_params",begin:"\\(",end:"\\)",contains:["comment single","comment multiline"]}]};})();}if(!dojo._hasResource["dojox.highlight.languages.pygments._www"]){dojo._hasResource["dojox.highlight.languages.pygments._www"]=true;dojo.provide("dojox.highlight.languages.pygments._www");}if(!dojo._hasResource["dijit.Menu"]){dojo._hasResource["dijit.Menu"]=true;dojo.provide("dijit.Menu");dojo.declare("dijit.Menu",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{constructor:function(){this._bindings=[];},templateString:"<table class=\"dijit dijitMenu dijitReset dijitMenuTable\" waiRole=\"menu\" dojoAttachEvent=\"onkeypress:_onKeyPress\">"+"<tbody class=\"dijitReset\" dojoAttachPoint=\"containerNode\"></tbody>"+"</table>",targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,parentMenu:null,popupDelay:500,_contextMenuWithMouse:false,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(dojo.body());}else{dojo.forEach(this.targetNodeIds,this.bindDomNode,this);}this.connectKeyNavHandlers([dojo.keys.UP_ARROW],[dojo.keys.DOWN_ARROW]);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_565){_565.startup();});this.startupKeyNavChildren();this.inherited(arguments);},onExecute:function(){},onCancel:function(_566){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case dojo.keys.RIGHT_ARROW:this._moveToPopup(evt);dojo.stopEvent(evt);break;case dojo.keys.LEFT_ARROW:if(this.parentMenu){this.onCancel(false);}else{dojo.stopEvent(evt);}break;}},onItemHover:function(item){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=setTimeout(dojo.hitch(this,"_openPopup"),this.popupDelay);}},_onChildBlur:function(item){dijit.popup.close(item.popup);item._blur();this._stopPopupTimer();},onItemUnhover:function(item){},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(item.disabled){return false;}if(item.popup){if(!this.is_open){this._openPopup();}}else{this.onExecute();item.onClick(evt);}},_iframeContentWindow:function(_56f){var win=dijit.getDocumentWindow(dijit.Menu._iframeContentDocument(_56f))||dijit.Menu._iframeContentDocument(_56f)["__parent__"]||(_56f.name&&dojo.doc.frames[_56f.name])||null;return win;},_iframeContentDocument:function(_571){var doc=_571.contentDocument||(_571.contentWindow&&_571.contentWindow.document)||(_571.name&&dojo.doc.frames[_571.name]&&dojo.doc.frames[_571.name].document)||null;return doc;},bindDomNode:function(node){node=dojo.byId(node);var win=dijit.getDocumentWindow(node.ownerDocument);if(node.tagName.toLowerCase()=="iframe"){win=this._iframeContentWindow(node);node=dojo.withGlobal(win,dojo.body);}var cn=(node==dojo.body()?dojo.doc:node);node[this.id]=this._bindings.push([dojo.connect(cn,(this.leftClickToOpen)?"onclick":"oncontextmenu",this,"_openMyself"),dojo.connect(cn,"onkeydown",this,"_contextKey"),dojo.connect(cn,"onmousedown",this,"_contextMouse")]);},unBindDomNode:function(_576){var node=dojo.byId(_576);if(node){var bid=node[this.id]-1,b=this._bindings[bid];dojo.forEach(b,dojo.disconnect);delete this._bindings[bid];}},_contextKey:function(e){this._contextMenuWithMouse=false;if(e.keyCode==dojo.keys.F10){dojo.stopEvent(e);if(e.shiftKey&&e.type=="keydown"){var _e={target:e.target,pageX:e.pageX,pageY:e.pageY};_e.preventDefault=_e.stopPropagation=function(){};window.setTimeout(dojo.hitch(this,function(){this._openMyself(_e);}),1);}}},_contextMouse:function(e){this._contextMenuWithMouse=true;},_openMyself:function(e){if(this.leftClickToOpen&&e.button>0){return;}dojo.stopEvent(e);var x,y;if(dojo.isSafari||this._contextMenuWithMouse){x=e.pageX;y=e.pageY;}else{var _580=dojo.coords(e.target,true);x=_580.x+10;y=_580.y+10;}var self=this;var _582=dijit.getFocus(this);function _583(){dijit.focus(_582);dijit.popup.close(self);};dijit.popup.open({popup:this,x:x,y:y,onExecute:_583,onCancel:_583,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);dijit.popup.close(this);};},onOpen:function(e){this.isShowingNow=true;},onClose:function(){this._stopPopupTimer();this.parentMenu=null;this.isShowingNow=false;this.currentPopup=null;if(this.focusedChild){this._onChildBlur(this.focusedChild);this.focusedChild=null;}},_openPopup:function(){this._stopPopupTimer();var _585=this.focusedChild;var _586=_585.popup;if(_586.isShowingNow){return;}_586.parentMenu=this;var self=this;dijit.popup.open({parent:this,popup:_586,around:_585.domNode,orient:this.isLeftToRight()?{"TR":"TL","TL":"TR"}:{"TL":"TR","TR":"TL"},onCancel:function(){dijit.popup.close(_586);_585.focus();self.currentPopup=null;}});this.currentPopup=_586;if(_586.focus){_586.focus();}},uninitialize:function(){dojo.forEach(this.targetNodeIds,this.unBindDomNode,this);this.inherited(arguments);}});dojo.declare("dijit.MenuItem",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:"<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" waiRole=\"menuitem\" tabIndex=\"-1\""+"dojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">"+"<td class=\"dijitReset\" waiRole=\"presentation\"><div class=\"dijitMenuItemIcon\" dojoAttachPoint=\"iconNode\"></div></td>"+"<td class=\"dijitReset dijitMenuItemLabel\" dojoAttachPoint=\"containerNode\"></td>"+"<td class=\"dijitReset dijitMenuArrowCell\" waiRole=\"presentation\">"+"<div dojoAttachPoint=\"arrowWrapper\" style=\"display: none\">"+"<div class=\"dijitMenuExpand\"></div>"+"<span class=\"dijitMenuExpandA11y\">+</span>"+"</div>"+"</td>"+"</tr>",attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),label:"",iconClass:"",disabled:false,_fillContent:function(_588){if(_588&&!("label" in this.params)){this.attr("label",_588.innerHTML);}},postCreate:function(){dojo.setSelectable(this.domNode,false);dojo.attr(this.containerNode,"id",this.id+"_text");dijit.setWaiState(this.domNode,"labelledby",this.id+"_text");},_onHover:function(){this.getParent().onItemHover(this);},_onUnhover:function(){this.getParent().onItemUnhover(this);},_onClick:function(evt){this.getParent().onItemClick(this,evt);dojo.stopEvent(evt);},onClick:function(evt){},focus:function(){dojo.addClass(this.domNode,"dijitMenuItemHover");try{dijit.focus(this.focusNode);}catch(e){}},_blur:function(){dojo.removeClass(this.domNode,"dijitMenuItemHover");},setLabel:function(_58b){dojo.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use attr('label', ...) instead.","","2.0");this.attr("label",_58b);},setDisabled:function(_58c){dojo.deprecated("dijit.Menu.setDisabled() is deprecated.  Use attr('disabled', bool) instead.","","2.0");this.attr("disabled",_58c);},_setDisabledAttr:function(_58d){this.disabled=_58d;dojo[_58d?"addClass":"removeClass"](this.domNode,"dijitMenuItemDisabled");dijit.setWaiState(this.focusNode,"disabled",_58d?"true":"false");}});dojo.declare("dijit.PopupMenuItem",dijit.MenuItem,{_fillContent:function(){if(this.srcNodeRef){var _58e=dojo.query("*",this.srcNodeRef);dijit.PopupMenuItem.superclass._fillContent.call(this,_58e[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=dojo.query("[widgetId]",this.dropDownContainer)[0];this.popup=dijit.byNode(node);}dojo.body().appendChild(this.popup.domNode);this.popup.domNode.style.display="none";dojo.style(this.arrowWrapper,"display","");dijit.setWaiState(this.focusNode,"haspopup","true");},destroyDescendants:function(){if(this.popup){this.popup.destroyRecursive();delete this.popup;}this.inherited(arguments);}});dojo.declare("dijit.MenuSeparator",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:"<tr class=\"dijitMenuSeparator\"><td colspan=3>"+"<div class=\"dijitMenuSeparatorTop\"></div>"+"<div class=\"dijitMenuSeparatorBottom\"></div>"+"</td></tr>",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});dojo.declare("dijit.CheckedMenuItem",dijit.MenuItem,{templateString:"<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" waiRole=\"menuitemcheckbox\" tabIndex=\"-1\""+"dojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">"+"<td class=\"dijitReset\" waiRole=\"presentation\"><div class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" dojoAttachPoint=\"iconNode\">"+"<div class=\"dijitCheckedMenuItemIconChar\">&#10003;</div>"+"</div></td>"+"<td class=\"dijitReset dijitMenuItemLabel\" dojoAttachPoint=\"containerNode,labelNode\"></td>"+"<td class=\"dijitReset dijitMenuArrowCell\" waiRole=\"presentation\">"+"<div dojoAttachPoint=\"arrowWrapper\" style=\"display: none\">"+"<div class=\"dijitMenuExpand\"></div>"+"<span class=\"dijitMenuExpandA11y\">+</span>"+"</div>"+"</td>"+"</tr>",checked:false,_setCheckedAttr:function(_590){dojo.toggleClass(this.iconNode,"dijitCheckedMenuItemIconChecked",_590);dijit.setWaiState(this.domNode,"checked",_590);this.checked=_590;},onChange:function(_591){},_onClick:function(e){if(!this.disabled){this.attr("checked",!this.checked);this.onChange(this.checked);}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.layout.StackContainer"]){dojo._hasResource["dijit.layout.StackContainer"]=true;dojo.provide("dijit.layout.StackContainer");dojo.declare("dijit.layout.StackContainer",dijit.layout._LayoutWidget,{doLayout:true,persist:false,baseClass:"dijitStackContainer",_started:false,postCreate:function(){this.inherited(arguments);dijit.setWaiRole(this.containerNode,"tabpanel");this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _593=this.getChildren();dojo.forEach(_593,this._setupChild,this);if(this.persist){this.selectedChildWidget=dijit.byId(dojo.cookie(this.id+"_selectedChild"));}else{dojo.some(_593,function(_594){if(_594.selected){this.selectedChildWidget=_594;}return _594.selected;},this);}var _595=this.selectedChildWidget;if(!_595&&_593[0]){_595=this.selectedChildWidget=_593[0];_595.selected=true;}if(_595){this._showChild(_595);}dojo.publish(this.id+"-startup",[{children:_593,selected:_595}]);this.inherited(arguments);},_setupChild:function(_596){this.inherited(arguments);_596.domNode.style.display="none";_596.domNode.style.position="relative";_596.domNode.title="";return _596;},addChild:function(_597,_598){this.inherited(arguments);if(this._started){dojo.publish(this.id+"-addChild",[_597,_598]);this.layout();if(!this.selectedChildWidget){this.selectChild(_597);}}},removeChild:function(page){this.inherited(arguments);if(this._beingDestroyed){return;}if(this._started){dojo.publish(this.id+"-removeChild",[page]);this.layout();}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _59a=this.getChildren();if(_59a.length){this.selectChild(_59a[0]);}}}},selectChild:function(page){page=dijit.byId(page);if(this.selectedChildWidget!=page){this._transition(page,this.selectedChildWidget);this.selectedChildWidget=page;dojo.publish(this.id+"-selectChild",[page]);if(this.persist){dojo.cookie(this.id+"_selectedChild",this.selectedChildWidget.id);}}},_transition:function(_59c,_59d){if(_59d){this._hideChild(_59d);}this._showChild(_59c);if(this.doLayout&&_59c.resize){_59c.resize(this._containerContentBox||this._contentBox);}},_adjacent:function(_59e){var _59f=this.getChildren();var _5a0=dojo.indexOf(_59f,this.selectedChildWidget);_5a0+=_59e?1:_59f.length-1;return _59f[_5a0%_59f.length];},forward:function(){this.selectChild(this._adjacent(true));},back:function(){this.selectChild(this._adjacent(false));},_onKeyPress:function(e){dojo.publish(this.id+"-containerKeyPress",[{e:e,page:this}]);},layout:function(){if(this.doLayout&&this.selectedChildWidget&&this.selectedChildWidget.resize){this.selectedChildWidget.resize(this._contentBox);}},_showChild:function(page){var _5a3=this.getChildren();page.isFirstChild=(page==_5a3[0]);page.isLastChild=(page==_5a3[_5a3.length-1]);page.selected=true;page.domNode.style.display="";if(page._loadCheck){page._loadCheck();}if(page.onShow){page.onShow();}},_hideChild:function(page){page.selected=false;page.domNode.style.display="none";if(page.onHide){page.onHide();}},closeChild:function(page){var _5a6=page.onClose(this,page);if(_5a6){this.removeChild(page);page.destroyRecursive();}},destroy:function(){this._beingDestroyed=true;this.inherited(arguments);}});dojo.declare("dijit.layout.StackController",[dijit._Widget,dijit._Templated,dijit._Container],{templateString:"<span wairole='tablist' dojoAttachEvent='onkeypress' class='dijitStackController'></span>",containerId:"",buttonWidget:"dijit.layout._StackButton",postCreate:function(){dijit.setWaiRole(this.domNode,"tablist");this.pane2button={};this.pane2handles={};this.pane2menu={};this._subscriptions=[dojo.subscribe(this.containerId+"-startup",this,"onStartup"),dojo.subscribe(this.containerId+"-addChild",this,"onAddChild"),dojo.subscribe(this.containerId+"-removeChild",this,"onRemoveChild"),dojo.subscribe(this.containerId+"-selectChild",this,"onSelectChild"),dojo.subscribe(this.containerId+"-containerKeyPress",this,"onContainerKeyPress")];},onStartup:function(info){dojo.forEach(info.children,this.onAddChild,this);this.onSelectChild(info.selected);},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(pane);}dojo.forEach(this._subscriptions,dojo.unsubscribe);this.inherited(arguments);},onAddChild:function(page,_5aa){var _5ab=dojo.doc.createElement("span");this.domNode.appendChild(_5ab);var cls=dojo.getObject(this.buttonWidget);var _5ad=new cls({label:page.title,closeButton:page.closable},_5ab);this.addChild(_5ad,_5aa);this.pane2button[page]=_5ad;page.controlButton=_5ad;var _5ae=[];_5ae.push(dojo.connect(_5ad,"onClick",dojo.hitch(this,"onButtonClick",page)));if(page.closable){_5ae.push(dojo.connect(_5ad,"onClickCloseButton",dojo.hitch(this,"onCloseButtonClick",page)));var _5af=dojo.i18n.getLocalization("dijit","common");var _5b0=new dijit.Menu({targetNodeIds:[_5ad.id],id:_5ad.id+"_Menu"});var _5b1=new dijit.MenuItem({label:_5af.itemClose});_5ae.push(dojo.connect(_5b1,"onClick",dojo.hitch(this,"onCloseButtonClick",page)));_5b0.addChild(_5b1);this.pane2menu[page]=_5b0;}this.pane2handles[page]=_5ae;if(!this._currentChild){_5ad.focusNode.setAttribute("tabIndex","0");this._currentChild=page;}if(!this.isLeftToRight()&&dojo.isIE&&this._rectifyRtlTabList){this._rectifyRtlTabList();}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}dojo.forEach(this.pane2handles[page],dojo.disconnect);delete this.pane2handles[page];var menu=this.pane2menu[page];if(menu){menu.destroyRecursive();delete this.pane2menu[page];}var _5b4=this.pane2button[page];if(_5b4){_5b4.destroy();delete this.pane2button[page];}},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _5b6=this.pane2button[this._currentChild];_5b6.attr("checked",false);_5b6.focusNode.setAttribute("tabIndex","-1");}var _5b7=this.pane2button[page];_5b7.attr("checked",true);this._currentChild=page;_5b7.focusNode.setAttribute("tabIndex","0");var _5b8=dijit.byId(this.containerId);dijit.setWaiState(_5b8.containerNode,"labelledby",_5b7.id);},onButtonClick:function(page){var _5ba=dijit.byId(this.containerId);_5ba.selectChild(page);},onCloseButtonClick:function(page){var _5bc=dijit.byId(this.containerId);_5bc.closeChild(page);var b=this.pane2button[this._currentChild];if(b){dijit.focus(b.focusNode||b.domNode);}},adjacent:function(_5be){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_5be=!_5be;}var _5bf=this.getChildren();var _5c0=dojo.indexOf(_5bf,this.pane2button[this._currentChild]);var _5c1=_5be?1:_5bf.length-1;return _5bf[(_5c0+_5c1)%_5bf.length];},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _5c3=null;if(e.ctrlKey||!e._djpage){var k=dojo.keys;switch(e.charOrCode){case k.LEFT_ARROW:case k.UP_ARROW:if(!e._djpage){_5c3=false;}break;case k.PAGE_UP:if(e.ctrlKey){_5c3=false;}break;case k.RIGHT_ARROW:case k.DOWN_ARROW:if(!e._djpage){_5c3=true;}break;case k.PAGE_DOWN:if(e.ctrlKey){_5c3=true;}break;case k.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}dojo.stopEvent(e);break;default:if(e.ctrlKey){if(e.charOrCode===k.TAB){this.adjacent(!e.shiftKey).onClick();dojo.stopEvent(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}dojo.stopEvent(e);}}}}if(_5c3!==null){this.adjacent(_5c3).onClick();dojo.stopEvent(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});dojo.declare("dijit.layout._StackButton",dijit.form.ToggleButton,{tabIndex:"-1",postCreate:function(evt){dijit.setWaiRole((this.focusNode||this.domNode),"tab");this.inherited(arguments);},onClick:function(evt){dijit.focus(this.focusNode);},onClickCloseButton:function(evt){evt.stopPropagation();}});dojo.extend(dijit._Widget,{title:"",selected:false,closable:false,onClose:function(){return true;}});}if(!dojo._hasResource["dojo.fx.easing"]){dojo._hasResource["dojo.fx.easing"]=true;dojo.provide("dojo.fx.easing");dojo.fx.easing={linear:function(n){return n;},quadIn:function(n){return Math.pow(n,2);},quadOut:function(n){return n*(n-2)*-1;},quadInOut:function(n){n=n*2;if(n<1){return Math.pow(n,2)/2;}return -1*((--n)*(n-2)-1)/2;},cubicIn:function(n){return Math.pow(n,3);},cubicOut:function(n){return Math.pow(n-1,3)+1;},cubicInOut:function(n){n=n*2;if(n<1){return Math.pow(n,3)/2;}n-=2;return (Math.pow(n,3)+2)/2;},quartIn:function(n){return Math.pow(n,4);},quartOut:function(n){return -1*(Math.pow(n-1,4)-1);},quartInOut:function(n){n=n*2;if(n<1){return Math.pow(n,4)/2;}n-=2;return -1/2*(Math.pow(n,4)-2);},quintIn:function(n){return Math.pow(n,5);},quintOut:function(n){return Math.pow(n-1,5)+1;},quintInOut:function(n){n=n*2;if(n<1){return Math.pow(n,5)/2;}n-=2;return (Math.pow(n,5)+2)/2;},sineIn:function(n){return -1*Math.cos(n*(Math.PI/2))+1;},sineOut:function(n){return Math.sin(n*(Math.PI/2));},sineInOut:function(n){return -1*(Math.cos(Math.PI*n)-1)/2;},expoIn:function(n){return (n==0)?0:Math.pow(2,10*(n-1));},expoOut:function(n){return (n==1)?1:(-1*Math.pow(2,-10*n)+1);},expoInOut:function(n){if(n==0){return 0;}if(n==1){return 1;}n=n*2;if(n<1){return Math.pow(2,10*(n-1))/2;}--n;return (-1*Math.pow(2,-10*n)+2)/2;},circIn:function(n){return -1*(Math.sqrt(1-Math.pow(n,2))-1);},circOut:function(n){n=n-1;return Math.sqrt(1-Math.pow(n,2));},circInOut:function(n){n=n*2;if(n<1){return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);}n-=2;return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);},backIn:function(n){var s=1.70158;return Math.pow(n,2)*((s+1)*n-s);},backOut:function(n){n=n-1;var s=1.70158;return Math.pow(n,2)*((s+1)*n+s)+1;},backInOut:function(n){var s=1.70158*1.525;n=n*2;if(n<1){return (Math.pow(n,2)*((s+1)*n-s))/2;}n-=2;return (Math.pow(n,2)*((s+1)*n+s)+2)/2;},elasticIn:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;n=n-1;return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);},elasticOut:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;},elasticInOut:function(n){if(n==0){return 0;}n=n*2;if(n==2){return 1;}var p=0.3*1.5;var s=p/4;if(n<1){n-=1;return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));}n-=1;return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;},bounceIn:function(n){return (1-dojo.fx.easing.bounceOut(1-n));},bounceOut:function(n){var s=7.5625;var p=2.75;var l;if(n<(1/p)){l=s*Math.pow(n,2);}else{if(n<(2/p)){n-=(1.5/p);l=s*Math.pow(n,2)+0.75;}else{if(n<(2.5/p)){n-=(2.25/p);l=s*Math.pow(n,2)+0.9375;}else{n-=(2.625/p);l=s*Math.pow(n,2)+0.984375;}}}return l;},bounceInOut:function(n){if(n<0.5){return dojo.fx.easing.bounceIn(n*2)/2;}return (dojo.fx.easing.bounceOut(n*2-1)/2)+0.5;}};}if(!dojo._hasResource["dojox.layout.RadioGroup"]){dojo._hasResource["dojox.layout.RadioGroup"]=true;dojo.provide("dojox.layout.RadioGroup");dojo.experimental("dojox.layout.RadioGroup");dojo.declare("dojox.layout.RadioGroup",[dijit.layout.StackContainer,dijit._Templated],{duration:750,hasButtons:false,buttonClass:"dojox.layout._RadioButton",templateString:"<div class=\"dojoxRadioGroup\">"+" \t<div dojoAttachPoint=\"buttonHolder\" style=\"display:none;\">"+"\t\t<table class=\"dojoxRadioButtons\"><tbody><tr class=\"dojoxRadioButtonRow\" dojoAttachPoint=\"buttonNode\"></tr></tbody></table>"+"\t</div>"+"\t<div class=\"dojoxRadioView\" dojoAttachPoint=\"containerNode\"></div>"+"</div>",startup:function(){this.inherited(arguments);this._children=this.getChildren();this._buttons=this._children.length;this._size=dojo.coords(this.containerNode);if(this.hasButtons){dojo.style(this.buttonHolder,"display","block");dojo.forEach(this._children,this._makeButton,this);}},_makeButton:function(_5f4){dojo.style(_5f4.domNode,"position","absolute");var tmp=dojo.doc.createElement("td");this.buttonNode.appendChild(tmp);var tmpt=tmp.appendChild(dojo.doc.createElement("div"));var _5f7=dojo.getObject(this.buttonClass);var tmpw=new _5f7({label:_5f4.title,page:_5f4},tmpt);dojo.mixin(_5f4,{_radioButton:tmpw});tmpw.startup();},addChild:function(_5f9){this.inherited(arguments);if(this.hasButtons){this._makeButton(_5f9);}},removeChild:function(_5fa){if(this.hasButtons&&_5fa._radioButton){_5fa._radioButton.destroy();delete _5fa._radioButton;}this.inherited(arguments);},_transition:function(_5fb,_5fc){this._showChild(_5fb);if(_5fc){this._hideChild(_5fc);}if(this.doLayout&&_5fb.resize){console.debug("this._contentBox",this._contentBox);_5fb.resize(this._containerContentBox||this._contentBox);}},_showChild:function(page){var _5fe=this.getChildren();page.isFirstChild=(page==_5fe[0]);page.isLastChild=(page==_5fe[_5fe.length-1]);page.selected=true;page.domNode.style.display="";if(page._loadCheck){page._loadCheck();}if(page.onShow){page.onShow();}},_hideChild:function(page){page.selected=false;page.domNode.style.display="none";if(page.onHide){page.onHide();}}});dojo.declare("dojox.layout.RadioGroupFade",dojox.layout.RadioGroup,{_hideChild:function(page){dojo.fadeOut({node:page.domNode,duration:this.duration,onEnd:dojo.hitch(this,"inherited",arguments)}).play();},_showChild:function(page){this.inherited(arguments);dojo.style(page.domNode,"opacity",0);dojo.fadeIn({node:page.domNode,duration:this.duration}).play();}});dojo.declare("dojox.layout.RadioGroupSlide",dojox.layout.RadioGroup,{easing:"dojo.fx.easing.backOut",zTop:99,constructor:function(){if(dojo.isString(this.easing)){this.easing=dojo.getObject(this.easing);}},startup:function(){this.inherited(arguments);dojo.forEach(this._children,this._positionChild,this);},_positionChild:function(page){var rA=true,rB=true;switch(page.slideFrom){case "bottom":rB=!rB;break;case "right":rA=!rA;rB=!rB;break;case "top":break;case "left":rA=!rA;break;default:rA=Math.round(Math.random());rB=Math.round(Math.random());break;}var prop=rA?"top":"left";var val=(rB?"-":"")+this._size[rA?"h":"w"]+"px";dojo.style(page.domNode,prop,val);},_showChild:function(page){var _608=this.getChildren();page.isFirstChild=(page==_608[0]);page.isLastChild=(page==_608[_608.length-1]);page.selected=true;dojo.style(page.domNode,{display:"",zIndex:this.zTop});if(this._anim&&this._anim.status()=="playing"){this._anim.gotoPercent(100,true);}this._anim=dojo.animateProperty({node:page.domNode,properties:{left:0,top:0},duration:this.duration,easing:this.easing,onEnd:dojo.hitch(page,function(){if(this.onShow){this.onShow();}if(this._loadCheck){this._loadCheck();}})});this._anim.play();},_hideChild:function(page){if(this._tmpConnect){dojo.disconnect(this._tmpConnect);}page.selected=false;page.domNode.style.zIndex=this.zTop-1;if(page.onHide){page.onHide();}this._tmpConnect=dojo.connect(this._anim,"onEnd",dojo.hitch(this,"_positionChild",page));},addChild:function(_60a){this.inherited(arguments);this._positionChild(_60a);}});dojo.declare("dojox.layout._RadioButton",[dijit._Widget,dijit._Templated,dijit._Contained],{label:"",page:null,templateString:"<div dojoAttachPoint=\"focusNode\" class=\"dojoxRadioButton\"><span dojoAttachPoint=\"titleNode\" class=\"dojoxRadioButtonLabel\">${label}</span></div>",startup:function(){this.connect(this.domNode,"onmouseover","_onMouse");},_onMouse:function(e){this.getParent().selectChild(this.page);this._clearSelected();dojo.addClass(this.domNode,"dojoxRadioButtonSelected");},_clearSelected:function(){dojo.query(".dojoxRadioButtonSelected",this.domNode.parentNode.parentNode).forEach(function(n){dojo.removeClass(n,"dojoxRadioButtonSelected");});}});dojo.extend(dijit._Widget,{slideFrom:"random"});}dojo.declare("porte.RadioGroup",dojox.layout.RadioGroupSlide,{startup:function(){this.inherited(arguments);this._containerContentBox=this._contentBox;this._containerContentBox.h=this._size.h-24;}});dojo.addOnLoad(function(){var _60d=dojo.byId("container");var _60e=dojo.doc.createElement("div");_60e.setAttribute("id","container-outer");_60e.appendChild(_60d);dojo.body().appendChild(_60e);this.center=function(){var _60f=dijit.getViewport();var _610=dojo.marginBox(_60e);_60e.style.top=((_60f.h-_610.h)/2)+"px";};dojo.connect(dojo.global,"onresize",this,"center");this.center();var _611=new porte.RadioGroup({id:"radio",hasButtons:true});var news=new dijit.layout.ContentPane({title:"News"},dojo.byId("news"));var _613=new dijit.layout.ContentPane({title:"Exemple"},dojo.byId("exemple"));var _614=new dijit.layout.ContentPane({title:"Sitemap"},dojo.byId("sitemap"));_60d.appendChild(_611.domNode);_611.startup();_611.addChild(news);_611.addChild(_613);_611.addChild(_614);dojo.query("code").forEach(function(el){if(dojo.isMozilla){el.innerHTML=el.innerHTML.replace(/\t/g,"  ");}dojox.highlight.init(el);});});dojo.i18n._preloadLocalizations("dojo.nls.",["xx","ROOT","en","en-us"]);
