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

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

		http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/

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

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

if(!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/_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("gotoProcent",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;var _32=dojo.animateProperty(dojo.mixin({properties:{height:{start:function(){s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _33=dojo.style(_30,"height");return Math.max(_33,1);}},end:function(){return _30.scrollHeight;}}}},_2f));dojo.connect(_32,"onEnd",function(){s.height="auto";});return _32;};dojo.fx.wipeOut=function(_34){var _35=_34.node=dojo.byId(_34.node);var s=_35.style;var _37=dojo.animateProperty(dojo.mixin({properties:{height:{end:1}}},_34));dojo.connect(_37,"beforeBegin",function(){s.overflow="hidden";s.display="";});dojo.connect(_37,"onEnd",function(){s.height="auto";s.display="none";});return _37;};dojo.fx.slideTo=function(_38){var _39=(_38.node=dojo.byId(_38.node));var top=null;var _3b=null;var _3c=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);_3b=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;_3b=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=_3b+"px";}};})(_39);_3c();var _41=dojo.animateProperty(dojo.mixin({properties:{top:{end:_38.top||0},left:{end:_38.left||0}}},_38));dojo.connect(_41,"beforeBegin",_41,_3c);return _41;};}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 _42=dojo.global;var _43=dojo.doc;if(_43.selection){return !_43.selection.createRange().text;}else{var _44=_42.getSelection();if(dojo.isString(_44)){return !_44;}else{return _44.isCollapsed||!_44.toString();}}},getBookmark:function(){var _45,_46=dojo.doc.selection;if(_46){var _47=_46.createRange();if(_46.type.toUpperCase()=="CONTROL"){if(_47.length){_45=[];var i=0,len=_47.length;while(i<len){_45.push(_47.item(i++));}}else{_45=null;}}else{_45=_47.getBookmark();}}else{if(window.getSelection){_46=dojo.global.getSelection();if(_46){_47=_46.getRangeAt(0);_45=_47.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _45;},moveToBookmark:function(_4a){var _4b=dojo.doc;if(_4b.selection){var _4c;if(dojo.isArray(_4a)){_4c=_4b.body.createControlRange();dojo.forEach(_4a,"range.addElement(item)");}else{_4c=_4b.selection.createRange();_4c.moveToBookmark(_4a);}_4c.select();}else{var _4d=dojo.global.getSelection&&dojo.global.getSelection();if(_4d&&_4d.removeAllRanges){_4d.removeAllRanges();_4d.addRange(_4a);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(_4e,_4f){return {node:_4e&&dojo.isDescendant(dijit._curFocus,_4e.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_4f||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_4f||dojo.global,dijit.getBookmark):null,openedForWindow:_4f};},focus:function(_50){if(!_50){return;}var _51="node" in _50?_50.node:_50,_52=_50.bookmark,_53=_50.openedForWindow;if(_51){var _54=(_51.tagName.toLowerCase()=="iframe")?_51.contentWindow:_51;if(_54&&_54.focus){try{_54.focus();}catch(e){}}dijit._onFocusNode(_51);}if(_52&&dojo.withGlobal(_53||dojo.global,dijit.isCollapsed)){if(_53){_53.focus();}try{dojo.withGlobal(_53||dojo.global,dijit.moveToBookmark,null,[_52]);}catch(e){}}},_activeStack:[],registerWin:function(_55){if(!_55){_55=window;}dojo.connect(_55.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var _57=_55.document.body||_55.document.getElementsByTagName("body")[0];if(_57){if(dojo.isIE){_57.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="body"){dijit._onFocusNode(evt.srcElement);}});_57.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{_57.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);_57.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}_57=null;},_onBlurNode:function(_5c){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(_5d){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _5e=[];try{while(_5d){if(_5d.dijitPopupParent){_5d=dijit.byId(_5d.dijitPopupParent).domNode;}else{if(_5d.tagName&&_5d.tagName.toLowerCase()=="body"){if(_5d===dojo.body()){break;}_5d=dijit.getDocumentWindow(_5d.ownerDocument).frameElement;}else{var id=_5d.getAttribute&&_5d.getAttribute("widgetId");if(id){_5e.unshift(id);}_5d=_5d.parentNode;}}}}catch(e){}dijit._setStack(_5e);},_onFocusNode:function(_60){if(_60&&_60.tagName&&_60.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(_60);if(_60==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=_60;dojo.publish("focusNode",[_60]);},_setStack:function(_61){var _62=dijit._activeStack;dijit._activeStack=_61;for(var _63=0;_63<Math.min(_62.length,_61.length);_63++){if(_62[_63]!=_61[_63]){break;}}for(var i=_62.length-1;i>=_63;i--){var _65=dijit.byId(_62[i]);if(_65){_65._focused=false;_65._hasBeenBlurred=true;if(_65._onBlur){_65._onBlur();}if(_65._setStateClass){_65._setStateClass();}dojo.publish("widgetBlur",[_65]);}}for(i=_63;i<_61.length;i++){_65=dijit.byId(_61[i]);if(_65){_65._focused=true;if(_65._onFocus){_65._onFocus();}if(_65._setStateClass){_65._setStateClass();}dojo.publish("widgetFocus",[_65]);}}}});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(_66){if(this._hash[_66.id]){throw new Error("Tried to register widget with id=="+_66.id+" but that id is already registered");}this._hash[_66.id]=_66;},remove:function(id){delete this._hash[id];},forEach:function(_68){for(var id in this._hash){_68(this._hash[id]);}},filter:function(_6a){var res=new dijit.WidgetSet();this.forEach(function(_6c){if(_6a(_6c)){res.add(_6c);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_6f){return _6f.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_70){var id;do{id=_70+"_"+(_70 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_70]:dijit._widgetTypeCtr[_70]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnUnload(function(){dijit.registry.forEach(function(_72){_72.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_74){return dijit.registry.byId(_74.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_75){while(_75){if(_75.getAttribute&&_75.getAttribute("widgetId")){return dijit.registry.byId(_75.getAttribute("widgetId"));}_75=_75.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(_76){var _77=dojo.style(_76);return (_77.visibility!="hidden")&&(_77.visibility!="collapsed")&&(_77.display!="none");};dijit.isTabNavigable=function(_78){if(dojo.hasAttr(_78,"disabled")){return false;}var _79=dojo.hasAttr(_78,"tabindex");var _7a=dojo.attr(_78,"tabindex");if(_79&&_7a>=0){return true;}var _7b=_78.nodeName.toLowerCase();if(((_7b=="a"&&dojo.hasAttr(_78,"href"))||dijit._tabElements[_7b])&&(!_79||_7a>=0)){return true;}return false;};dijit._getTabNavigable=function(_7c){var _7d,_7e,_7f,_80,_81,_82;var _83=function(_84){dojo.query("> *",_84).forEach(function(_85){var _86=dijit._isElementShown(_85);if(_86&&dijit.isTabNavigable(_85)){var _87=dojo.attr(_85,"tabindex");if(!dojo.hasAttr(_85,"tabindex")||_87==0){if(!_7d){_7d=_85;}_7e=_85;}else{if(_87>0){if(!_7f||_87<_80){_80=_87;_7f=_85;}if(!_81||_87>=_82){_82=_87;_81=_85;}}}}if(_86){_83(_85);}});};if(dijit._isElementShown(_7c)){_83(_7c);}return {first:_7d,last:_7e,lowest:_7f,highest:_81};};dijit.getFirstInTabbingOrder=function(_88){var _89=dijit._getTabNavigable(dojo.byId(_88));return _89.lowest?_89.lowest:_89.first;};dijit.getLastInTabbingOrder=function(_8a){var _8b=dijit._getTabNavigable(dojo.byId(_8a));return _8b.last?_8b.last:_8b.highest;};}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _8c=dojo.global;var _8d=dojo.doc;var w=0,h=0;var de=_8d.documentElement;var dew=de.clientWidth,deh=de.clientHeight;if(dojo.isMozilla){var _93,_94,_95,_96;var dbw=_8d.body.clientWidth;if(dbw>dew){_93=dew;_95=dbw;}else{_95=dew;_93=dbw;}var dbh=_8d.body.clientHeight;if(dbh>deh){_94=deh;_96=dbh;}else{_96=deh;_94=dbh;}w=(_95>_8c.innerWidth)?_93:_95;h=(_96>_8c.innerHeight)?_94:_96;}else{if(!dojo.isOpera&&_8c.innerWidth){w=_8c.innerWidth;h=_8c.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 _99=dojo._docScroll();return {w:w,h:h,l:_99.x,t:_99.y};};dijit.placeOnScreen=function(_9a,pos,_9c,_9d){var _9e=dojo.map(_9c,function(_9f){return {corner:_9f,pos:pos};});return dijit._place(_9a,_9e);};dijit._place=function(_a0,_a1,_a2){var _a3=dijit.getViewport();if(!_a0.parentNode||String(_a0.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_a0);}var _a4=null;dojo.some(_a1,function(_a5){var _a6=_a5.corner;var pos=_a5.pos;if(_a2){_a2(_a0,_a5.aroundCorner,_a6);}var _a8=_a0.style;var _a9=_a8.display;var _aa=_a8.visibility;_a8.visibility="hidden";_a8.display="";var mb=dojo.marginBox(_a0);_a8.display=_a9;_a8.visibility=_aa;var _ac=(_a6.charAt(1)=="L"?pos.x:Math.max(_a3.l,pos.x-mb.w)),_ad=(_a6.charAt(0)=="T"?pos.y:Math.max(_a3.t,pos.y-mb.h)),_ae=(_a6.charAt(1)=="L"?Math.min(_a3.l+_a3.w,_ac+mb.w):pos.x),_af=(_a6.charAt(0)=="T"?Math.min(_a3.t+_a3.h,_ad+mb.h):pos.y),_b0=_ae-_ac,_b1=_af-_ad,_b2=(mb.w-_b0)+(mb.h-_b1);if(_a4==null||_b2<_a4.overflow){_a4={corner:_a6,aroundCorner:_a5.aroundCorner,x:_ac,y:_ad,w:_b0,h:_b1,overflow:_b2};}return !_b2;});_a0.style.left=_a4.x+"px";_a0.style.top=_a4.y+"px";if(_a4.overflow&&_a2){_a2(_a0,_a4.aroundCorner,_a4.corner);}return _a4;};dijit.placeOnScreenAroundElement=function(_b3,_b4,_b5,_b6){_b4=dojo.byId(_b4);var _b7=_b4.style.display;_b4.style.display="";var _b8=_b4.offsetWidth;var _b9=_b4.offsetHeight;var _ba=dojo.coords(_b4,true);_b4.style.display=_b7;var _bb=[];for(var _bc in _b5){_bb.push({aroundCorner:_bc,corner:_b5[_bc],pos:{x:_ba.x+(_bc.charAt(1)=="L"?0:_b8),y:_ba.y+(_bc.charAt(0)=="T"?0:_b9)}});}return dijit._place(_b3,_bb,_b6);};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){if(dojo.isSafari&&!doc._parentWindow){var fix=function(win){win.document._parentWindow=win;for(var i=0;i<win.frames.length;i++){fix(win.frames[i]);}};fix(window.top);}if(dojo.isIE&&window!==document.parentWindow&&!doc._parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc._parentWindow||doc.parentWindow||doc.defaultView;};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup=new function(){var _c2=[],_c3=1000,_c4=1;this.prepare=function(_c5){dojo.body().appendChild(_c5);var s=_c5.style;if(s.display=="none"){s.display="";}s.visibility="hidden";s.position="absolute";s.top="-9999px";};this.open=function(_c7){var _c8=_c7.popup,_c9=_c7.orient||{"BL":"TL","TL":"BL"},_ca=_c7.around,id=(_c7.around&&_c7.around.id)?(_c7.around.id+"_dropdown"):("popup_"+_c4++);var _cc=dojo.doc.createElement("div");dijit.setWaiRole(_cc,"presentation");_cc.id=id;_cc.className="dijitPopup";_cc.style.zIndex=_c3+_c2.length;_cc.style.visibility="hidden";if(_c7.parent){_cc.dijitPopupParent=_c7.parent.id;}dojo.body().appendChild(_cc);var s=_c8.domNode.style;s.display="";s.visibility="";s.position="";_cc.appendChild(_c8.domNode);var _ce=new dijit.BackgroundIframe(_cc);var _cf=_ca?dijit.placeOnScreenAroundElement(_cc,_ca,_c9,_c8.orient?dojo.hitch(_c8,"orient"):null):dijit.placeOnScreen(_cc,_c7,_c9=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_cc.style.visibility="visible";var _d0=[];var _d1=function(){for(var pi=_c2.length-1;pi>0&&_c2[pi].parent===_c2[pi-1].widget;pi--){}return _c2[pi];};_d0.push(dojo.connect(_cc,"onkeypress",this,function(evt){if(evt.keyCode==dojo.keys.ESCAPE&&_c7.onCancel){dojo.stopEvent(evt);_c7.onCancel();}else{if(evt.keyCode==dojo.keys.TAB){dojo.stopEvent(evt);var _d4=_d1();if(_d4&&_d4.onCancel){_d4.onCancel();}}}}));if(_c8.onCancel){_d0.push(dojo.connect(_c8,"onCancel",null,_c7.onCancel));}_d0.push(dojo.connect(_c8,_c8.onExecute?"onExecute":"onChange",null,function(){var _d5=_d1();if(_d5&&_d5.onExecute){_d5.onExecute();}}));_c2.push({wrapper:_cc,iframe:_ce,widget:_c8,parent:_c7.parent,onExecute:_c7.onExecute,onCancel:_c7.onCancel,onClose:_c7.onClose,handlers:_d0});if(_c8.onOpen){_c8.onOpen(_cf);}return _cf;};this.close=function(_d6){while(dojo.some(_c2,function(_d7){return _d7.widget==_d6;})){var top=_c2.pop(),_d9=top.wrapper,_da=top.iframe,_db=top.widget,_dc=top.onClose;if(_db.onClose){_db.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_db||!_db.domNode){return;}this.prepare(_db.domNode);_da.destroy();dojo._destroyElement(_d9);if(_dc){_dc();}}};}();dijit._frames=new function(){var _dd=[];this.pop=function(){var _de;if(_dd.length){_de=_dd.pop();_de.style.display="";}else{if(dojo.isIE){var _df="<iframe src='javascript:\"\"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_de=dojo.doc.createElement(_df);}else{_de=dojo.doc.createElement("iframe");_de.src="javascript:\"\"";_de.className="dijitBackgroundIframe";}_de.tabIndex=-1;dojo.body().appendChild(_de);}return _de;};this.push=function(_e0){_e0.style.display="";if(dojo.isIE){_e0.style.removeExpression("width");_e0.style.removeExpression("height");}_dd.push(_e0);};}();if(dojo.isIE&&dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(_e2){if(!_e2.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _e3=dijit._frames.pop();_e2.appendChild(_e3);if(dojo.isIE){_e3.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+_e2.id+"').offsetWidth");_e3.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+_e2.id+"').offsetHeight");}this.iframe=_e3;}};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(_e4){if(dojo.isMozilla){_e4.scrollIntoView(false);}else{var _e5=_e4.parentNode;var _e6=_e5.scrollTop+dojo.marginBox(_e5).h;var _e7=_e4.offsetTop+dojo.marginBox(_e4).h;if(_e6<_e7){_e5.scrollTop+=(_e7-_e6);}else{if(_e5.scrollTop>_e4.offsetTop){_e5.scrollTop-=(_e5.scrollTop-_e4.offsetTop);}}}};}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 _ea=d.isOpera;var maj=Math.floor;var ff=d.isFF;var _ed={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_ea,dj_opera8:maj(_ea)==8,dj_opera9:maj(_ea)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2};for(var p in _ed){if(_ed[p]){var _ef=dojo.doc.documentElement;if(_ef.className){_ef.className+=" "+p;}else{_ef.className=p;}}}})();}if(!dojo._hasResource["dijit._base.bidi"]){dojo._hasResource["dijit._base.bidi"]=true;dojo.provide("dijit._base.bidi");dojo.addOnLoad(function(){if(!dojo._isBodyLtr()){dojo.addClass(dojo.body(),"dijitRtl");}});}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,_f1,_f2,_f3,obj,_f5,_f6){if(obj!=this._obj){this.stop();this._initialDelay=_f6||500;this._subsequentDelay=_f5||0.9;this._obj=obj;this._evt=evt;this._node=_f2;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_f1,_f3);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(_f7,_f8,_f9,_fa,_fb,_fc){return [dojo.connect(_f7,"onkeypress",this,function(evt){if(evt.keyCode==_f8.keyCode&&(!_f8.charCode||_f8.charCode==evt.charCode)&&(_f8.ctrlKey===undefined||_f8.ctrlKey==evt.ctrlKey)&&(_f8.altKey===undefined||_f8.altKey==evt.ctrlKey)&&(_f8.shiftKey===undefined||_f8.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_f8,_f9,_f7,_fa,_f8,_fb,_fc);}else{if(dijit.typematic._obj==_f8){dijit.typematic.stop();}}}),dojo.connect(_f7,"onkeyup",this,function(evt){if(dijit.typematic._obj==_f8){dijit.typematic.stop();}})];},addMouseListener:function(_ff,_100,_101,_102,_103){var dc=dojo.connect;return [dc(_ff,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_100,_ff,_101,_ff,_102,_103);}),dc(_ff,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_ff,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_ff,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(_ff,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_100,_ff,_101,_ff,_102,_103);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_10a,_10b,_10c,_10d,_10e,_10f,_110){return this.addKeyListener(_10b,_10c,_10d,_10e,_10f,_110).concat(this.addMouseListener(_10a,_10d,_10e,_10f,_110));}};}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.moduleUrl("dojo","resources/blank.gif")+"\");";dojo.body().appendChild(div);var cs=dojo.getComputedStyle(div);if(cs){var _113=cs.backgroundImage;var _114=(cs.borderTopColor==cs.borderRightColor)||(_113!=null&&(_113=="none"||_113=="url(invalid-url:)"));dojo[_114?"addClass":"removeClass"](dojo.body(),"dijit_a11y");dojo.body().removeChild(div);}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(elem){return elem.hasAttribute?elem.hasAttribute("role"):!!elem.getAttribute("role");},getWaiRole:function(elem){var _117=elem.getAttribute("role");if(_117){var _118=_117.indexOf(":");return _118==-1?_117:_117.substring(_118+1);}else{return "";}},setWaiRole:function(elem,role){elem.setAttribute("role",(dojo.isFF&&dojo.isFF<3)?"wairole:"+role:role);},removeWaiRole:function(elem){elem.removeAttribute("role");},hasWaiState:function(elem,_11d){if(dojo.isFF&&dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_11d);}else{return elem.hasAttribute?elem.hasAttribute("aria-"+_11d):!!elem.getAttribute("aria-"+_11d);}},getWaiState:function(elem,_11f){if(dojo.isFF&&dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_11f);}else{var _120=elem.getAttribute("aria-"+_11f);return _120?_120:"";}},setWaiState:function(elem,_122,_123){if(dojo.isFF&&dojo.isFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_122,_123);}else{elem.setAttribute("aria-"+_122,_123);}},removeWaiState:function(elem,_125){if(dojo.isFF&&dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_125);}else{elem.removeAttribute("aria-"+_125);}}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");if(dojo.isSafari){dojo.connect(window,"load",function(){window.resizeBy(1,0);setTimeout(function(){window.resizeBy(-1,0);},10);});}}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},postscript:function(_126,_127){this.create(_126,_127);},create:function(_128,_129){this.srcNodeRef=dojo.byId(_129);this._connects=[];this._attaches=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_128){this.params=_128;dojo.mixin(this,_128);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){for(var attr in this.attributeMap){var _12b=this[attr];if(typeof _12b!="object"&&((_12b!==""&&_12b!==false)||(_128&&_128[attr]))){this.setAttribute(attr,_12b);}}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_12c){this.destroyDescendants();this.destroy();},destroy:function(_12d){this.uninitialize();dojo.forEach(this._connects,function(_12e){dojo.forEach(_12e,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){w.destroy();});this.destroyRendering(_12d);dijit.registry.remove(this.id);},destroyRendering:function(_130){if(this.bgIframe){this.bgIframe.destroy();delete this.bgIframe;}if(this.domNode){dojo._destroyElement(this.domNode);delete this.domNode;}if(this.srcNodeRef){dojo._destroyElement(this.srcNodeRef);delete this.srcNodeRef;}},destroyDescendants:function(){dojo.forEach(this.getDescendants(),function(_131){_131.destroy();});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(attr,_134){var _135=this[this.attributeMap[attr]||"domNode"];this[attr]=_134;switch(attr){case "class":dojo.addClass(_135,_134);break;case "style":if(_135.style.cssText){_135.style.cssText+="; "+_134;}else{_135.style.cssText=_134;}break;default:if(/^on[A-Z]/.test(attr)){attr=attr.toLowerCase();}if(typeof _134=="function"){_134=dojo.hitch(this,_134);}dojo.attr(_135,attr,_134);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){if(this.containerNode){var list=dojo.query("[widgetId]",this.containerNode);return list.map(dijit.byNode);}else{return [];}},nodesWithKeyClick:["input","button"],connect:function(obj,_138,_139){var _13a=[];if(_138=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){_13a.push(dojo.connect(obj,"onkeydown",this,function(e){if(e.keyCode==dojo.keys.ENTER){return (dojo.isString(_139))?this[_139](e):_139.call(this,e);}else{if(e.keyCode==dojo.keys.SPACE){dojo.stopEvent(e);}}}));_13a.push(dojo.connect(obj,"onkeyup",this,function(e){if(e.keyCode==dojo.keys.SPACE){return dojo.isString(_139)?this[_139](e):_139.call(this,e);}}));}_138="onclick";}_13a.push(dojo.connect(obj,_138,this,_139));this._connects.push(_13a);return _13a;},disconnect:function(_13d){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_13d){dojo.forEach(_13d,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){if(!("_ltr" in this)){this._ltr=dojo.getComputedStyle(this.domNode).direction!="rtl";}return this._ltr;},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");}});}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.pad=function(text,size,ch,end){var out=String(text);if(!ch){ch="0";}while(out.length<size){if(end){out+=ch;}else{out=ch+out;}}return out;};dojo.string.substitute=function(_144,map,_146,_147){return _144.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_148,key,_14a){var _14b=dojo.getObject(key,false,map);if(_14a){_14b=dojo.getObject(_14a,false,_147)(_14b);}if(_146){_14b=_146(_14b,key);}return _14b.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(_14e,_14f){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 _150=dojo.date.stamp._isoRegExp.exec(_14e);var _151=null;if(_150){_150.shift();if(_150[1]){_150[1]--;}if(_150[6]){_150[6]*=1000;}if(_14f){_14f=new Date(_14f);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _14f["get"+prop]();}).forEach(function(_153,_154){if(_150[_154]===undefined){_150[_154]=_153;}});}_151=new Date(_150[0]||1970,_150[1]||0,_150[2]||1,_150[3]||0,_150[4]||0,_150[5]||0,_150[6]||0);var _155=0;var _156=_150[7]&&_150[7].charAt(0);if(_156!="Z"){_155=((_150[8]||0)*60)+(Number(_150[9])||0);if(_156!="-"){_155*=-1;}}if(_156){_155-=_151.getTimezoneOffset();}if(_155){_151.setTime(_151.getTime()+_155*60000);}}return _151;};dojo.date.stamp.toISOString=function(_157,_158){var _=function(n){return (n<10)?"0"+n:n;};_158=_158||{};var _15b=[];var _15c=_158.zulu?"getUTC":"get";var date="";if(_158.selector!="time"){var year=_157[_15c+"FullYear"]();date=["0000".substr((year+"").length)+year,_(_157[_15c+"Month"]()+1),_(_157[_15c+"Date"]())].join("-");}_15b.push(date);if(_158.selector!="date"){var time=[_(_157[_15c+"Hours"]()),_(_157[_15c+"Minutes"]()),_(_157[_15c+"Seconds"]())].join(":");var _160=_157[_15c+"Milliseconds"]();if(_158.milliseconds){time+="."+(_160<100?"0":"")+_(_160);}if(_158.zulu){time+="Z";}else{if(_158.selector!="time"){var _161=_157.getTimezoneOffset();var _162=Math.abs(_161);time+=(_161>0?"-":"+")+_(Math.floor(_162/60))+":"+_(_162%60);}}_15b.push(time);}return _15b.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;var _164=d._scopeName+"Type";var qry="["+_164+"]";function val2type(_166){if(d.isString(_166)){return "string";}if(typeof _166=="number"){return "number";}if(typeof _166=="boolean"){return "boolean";}if(d.isFunction(_166)){return "function";}if(d.isArray(_166)){return "array";}if(_166 instanceof Date){return "date";}if(_166 instanceof d._Url){return "url";}return "object";};function str2obj(_167,type){switch(type){case "string":return _167;case "number":return _167.length?Number(_167):NaN;case "boolean":return typeof _167=="boolean"?_167:!(_167.toLowerCase()=="false");case "function":if(d.isFunction(_167)){_167=_167.toString();_167=d.trim(_167.substring(_167.indexOf("{")+1,_167.length-1));}try{if(_167.search(/[^\w\.]+/i)!=-1){_167=d.parser._nameAnonFunc(new Function(_167),this);}return d.getObject(_167,false);}catch(e){return new Function();}case "array":return _167.split(/\s*,\s*/);case "date":switch(_167){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_167);}case "url":return d.baseUrl+_167;default:return d.fromJson(_167);}};var _169={};function getClassInfo(_16a){if(!_169[_16a]){var cls=d.getObject(_16a);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_16a+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _16c=cls.prototype;var _16d={};for(var name in _16c){if(name.charAt(0)=="_"){continue;}var _16f=_16c[name];_16d[name]=val2type(_16f);}_169[_16a]={cls:cls,params:_16d};}return _169[_16a];};this._functionFromScript=function(_170){var _171="";var _172="";var _173=_170.getAttribute("args");if(_173){d.forEach(_173.split(/\s*,\s*/),function(part,idx){_171+="var "+part+" = arguments["+idx+"]; ";});}var _176=_170.getAttribute("with");if(_176&&_176.length){d.forEach(_176.split(/\s*,\s*/),function(part){_171+="with("+part+"){";_172+="}";});}return new Function(_171+_170.innerHTML+_172);};this.instantiate=function(_178){var _179=[];d.forEach(_178,function(node){if(!node){return;}var type=node.getAttribute(_164);if((!type)||(!type.length)){return;}var _17c=getClassInfo(type);var _17d=_17c.cls;var ps=_17d._noScript||_17d.prototype._noScript;var _17f={};var _180=node.attributes;for(var name in _17c.params){var item=_180.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _183=item.value;switch(name){case "class":_183=node.className;break;case "style":_183=node.style&&node.style.cssText;}var _184=_17c.params[name];_17f[name]=str2obj(_183,_184);}if(!ps){var _185=[],_186=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_187){var _188=_187.getAttribute("event"),type=_187.getAttribute("type"),nf=d.parser._functionFromScript(_187);if(_188){if(type=="dojo/connect"){_185.push({event:_188,func:nf});}else{_17f[_188]=nf;}}else{_186.push(nf);}});}var _18a=_17d["markupFactory"];if(!_18a&&_17d["prototype"]){_18a=_17d.prototype["markupFactory"];}var _18b=_18a?_18a(_17f,node,_17d):new _17d(_17f,node);_179.push(_18b);var _18c=node.getAttribute("jsId");if(_18c){d.setObject(_18c,_18b);}if(!ps){d.forEach(_185,function(_18d){d.connect(_18b,_18d.event,null,_18d.func);});d.forEach(_186,function(func){func.call(_18b);});}});d.forEach(_179,function(_18f){if(_18f&&_18f.startup&&!_18f._started&&(!_18f.getParent||!_18f.getParent())){_18f.startup();}});return _179;};this.parse=function(_190){var list=d.query(qry,_190);var _192=this.instantiate(list);return _192;};}();(function(){var _193=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,_193);}else{dojo._loaders.unshift(_193);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_194,_195){var jpn="$joinpoint";var nso=(_195||dojo.parser._anon);if(dojo.isIE){var cn=_194["__dojoNameCache"];if(cn&&nso[cn]===_194){return _194["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_194;return ret;};}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,containerNode:null,_skipNodeCache:false,_stringRepl:function(tmpl){var _19b=this.declaredClass,_19c=this;return dojo.string.substitute(tmpl,this,function(_19d,key){if(key.charAt(0)=="!"){_19d=_19c[key.substr(1)];}if(typeof _19d=="undefined"){throw new Error(_19b+" template:"+key);}if(!_19d){return "";}return key.charAt(0)=="!"?_19d:_19d.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _19f=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_19f)){node=dijit._Templated._createNodesFromText(this._stringRepl(_19f))[0];}else{node=_19f.cloneNode(true);}this._attachTemplateNodes(node);var _1a1=this.srcNodeRef;if(_1a1&&_1a1.parentNode){_1a1.parentNode.replaceChild(node,_1a1);}this.domNode=node;if(this.widgetsInTemplate){var cw=this._supportingWidgets=dojo.parser.parse(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(_1a1);},_fillContent:function(_1a5){var dest=this.containerNode;if(_1a5&&dest){while(_1a5.hasChildNodes()){dest.appendChild(_1a5.firstChild);}}},_attachTemplateNodes:function(_1a7,_1a8){_1a8=_1a8||function(n,p){return n.getAttribute(p);};var _1ab=dojo.isArray(_1a7)?_1a7:(_1a7.all||_1a7.getElementsByTagName("*"));var x=dojo.isArray(_1a7)?0:-1;for(;x<_1ab.length;x++){var _1ad=(x==-1)?_1a7:_1ab[x];if(this.widgetsInTemplate&&_1a8(_1ad,"dojoType")){continue;}var _1ae=_1a8(_1ad,"dojoAttachPoint");if(_1ae){var _1af,_1b0=_1ae.split(/\s*,\s*/);while((_1af=_1b0.shift())){if(dojo.isArray(this[_1af])){this[_1af].push(_1ad);}else{this[_1af]=_1ad;}}}var _1b1=_1a8(_1ad,"dojoAttachEvent");if(_1b1){var _1b2,_1b3=_1b1.split(/\s*,\s*/);var trim=dojo.trim;while((_1b2=_1b3.shift())){if(_1b2){var _1b5=null;if(_1b2.indexOf(":")!=-1){var _1b6=_1b2.split(":");_1b2=trim(_1b6[0]);_1b5=trim(_1b6[1]);}else{_1b2=trim(_1b2);}if(!_1b5){_1b5=_1b2;}this.connect(_1ad,_1b2,_1b5);}}}var role=_1a8(_1ad,"waiRole");if(role){dijit.setWaiRole(_1ad,role);}var _1b8=_1a8(_1ad,"waiState");if(_1b8){dojo.forEach(_1b8.split(/\s*,\s*/),function(_1b9){if(_1b9.indexOf("-")!=-1){var pair=_1b9.split("-");dijit.setWaiState(_1ad,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_1bb,_1bc,_1bd){var _1be=dijit._Templated._templateCache;var key=_1bc||_1bb;var _1c0=_1be[key];if(_1c0){return _1c0;}if(!_1bc){_1bc=dijit._Templated._sanitizeTemplateString(dojo._getText(_1bb));}_1bc=dojo.string.trim(_1bc);if(_1bd||_1bc.match(/\$\{([^\}]+)\}/g)){return (_1be[key]=_1bc);}else{return (_1be[key]=dijit._Templated._createNodesFromText(_1bc)[0]);}};dijit._Templated._sanitizeTemplateString=function(_1c1){if(_1c1){_1c1=_1c1.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _1c2=_1c1.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1c2){_1c1=_1c2[1];}}else{_1c1="";}return _1c1;};if(dojo.isIE){dojo.addOnUnload(function(){var _1c3=dijit._Templated._templateCache;for(var key in _1c3){var _1c5=_1c3[key];if(!isNaN(_1c5.nodeType)){dojo._destroyElement(_1c5);}delete _1c3[key];}});}(function(){var _1c6={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=dojo.doc.createElement("div");tn.style.display="none";dojo.body().appendChild(tn);}var _1c9="none";var _1ca=text.replace(/^\s+/,"");for(var type in _1c6){var map=_1c6[type];if(map.re.test(_1ca)){_1c9=type;text=map.pre+text+map.post;break;}}tn.innerHTML=text;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_1c9];var _1ce=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _1cf=[];while(_1ce.firstChild){_1cf.push(_1ce.removeChild(_1ce.firstChild));}tn.innerHTML="";return _1cf;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _1d2=dijit.byId(id);return _1d2.isContainer?_1d2:null;}}return null;},_getSibling:function(_1d3){var node=this.domNode;do{node=node[_1d3+"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");}});dojo.declare("dijit._Container",null,{isContainer:true,addChild:function(_1d6,_1d7){if(_1d7===undefined){_1d7="last";}var _1d8=this.containerNode||this.domNode;if(_1d7&&typeof _1d7=="number"){var _1d9=dojo.query("> [widgetid]",_1d8);if(_1d9&&_1d9.length>=_1d7){_1d8=_1d9[_1d7-1];_1d7="after";}}dojo.place(_1d6.domNode,_1d8,_1d7);if(this._started&&!_1d6._started){_1d6.startup();}},removeChild:function(_1da){var node=_1da.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||this.domNode).map(dijit.byNode);},hasChildren:function(){var cn=this.containerNode||this.domNode;return !!this._firstElement(cn);},_getSiblingOfChild:function(_1df,dir){var node=_1df.domNode;var _1e2=(dir>0?"nextSibling":"previousSibling");do{node=node[_1e2];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_1e3,_1e4){var _1e5=this._keyNavCodes={};var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_1e3,function(code){_1e5[code]=prev;});dojo.forEach(_1e4,function(code){_1e5[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(_1ea,_1eb){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_1ea);},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 _1ec=this._getNextFocusableChild(this.focusedChild,1);if(_1ec.getFocalNodes){this.focusChild(_1ec,_1ec.getFocalNodes()[0]);}else{this.focusChild(_1ec);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _1ed=this._getNextFocusableChild(this.focusedChild,-1);if(_1ed.getFocalNodes){var _1ee=_1ed.getFocalNodes();this.focusChild(_1ed,_1ee[_1ee.length-1]);}else{this.focusChild(_1ed);}},focusChild:function(_1ef,node){if(_1ef){if(this.focusedChild&&_1ef!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_1ef;if(node&&_1ef.focusFocalNode){_1ef.focusFocalNode(node);}else{_1ef.focus();}}},_startupChild:function(_1f1){if(_1f1.getFocalNodes){dojo.forEach(_1f1.getFocalNodes(),function(node){dojo.attr(node,"tabindex",-1);this._connectNode(node);},this);}else{var node=_1f1.focusNode||_1f1.domNode;if(_1f1.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.keyCode];if(func){func();dojo.stopEvent(evt);}},_onNodeFocus:function(evt){dojo.attr(this.domNode,"tabindex",-1);var _1f9=dijit.getEnclosingWidget(evt.target);if(_1f9&&_1f9.isFocusable()){this.focusedChild=_1f9;}dojo.stopEvent(evt);},_onNodeBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabindex",this.tabIndex);}dojo.stopEvent(evt);},_onChildBlur:function(_1fb){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_1fc,dir){if(_1fc){_1fc=this._getSiblingOfChild(_1fc,dir);}var _1fe=this.getChildren();for(var i=0;i<_1fe.length;i++){if(!_1fc){_1fc=_1fe[(dir>0)?0:(_1fe.length-1)];}if(_1fc.isFocusable()){return _1fc;}_1fc=this._getSiblingOfChild(_1fc,dir);}return null;}});}if(!dojo._hasResource["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{isLayoutContainer:true,postCreate:function(){dojo.addClass(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_200){_200.startup();});if(!this.getParent||!this.getParent()){this.resize();this.connect(window,"onresize",function(){this.resize();});}this.inherited(arguments);},resize:function(args){var node=this.domNode;if(args){dojo.marginBox(node,args);if(args.t){node.style.top=args.t+"px";}if(args.l){node.style.left=args.l+"px";}}var mb=dojo.mixin(dojo.marginBox(node),args||{});this._contentBox=dijit.layout.marginBox2contentBox(node,mb);this.layout();},layout:function(){}});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 _209=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_20c,dim){_20c.resize?_20c.resize(dim):dojo.marginBox(_20c.domNode,dim);dojo.mixin(_20c,dojo.marginBox(_20c.domNode));dojo.mixin(_20c,dim);};dijit.layout.layoutChildren=function(_20e,dim,_210){dim=dojo.mixin({},dim);dojo.addClass(_20e,"dijitLayoutContainer");_210=dojo.filter(_210,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_210,function(item){return item.layoutAlign=="client";}));dojo.forEach(_210,function(_213){var elm=_213.domNode,pos=_213.layoutAlign;var _216=elm.style;_216.left=dim.l+"px";_216.top=dim.t+"px";_216.bottom=_216.right="auto";dojo.addClass(elm,"dijitAlign"+_209(pos));if(pos=="top"||pos=="bottom"){size(_213,{w:dim.w});dim.h-=_213.h;if(pos=="top"){dim.t+=_213.h;}else{_216.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_213,{h:dim.h});dim.w-=_213.w;if(pos=="left"){dim.l+=_213.w;}else{_216.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_213,dim);}}}});};})();}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_217,_218,_219){_219=dojo.i18n.normalizeLocale(_219);var _21a=_219.split("-");var _21b=[_217,"nls",_218].join(".");var _21c=dojo._loadedModules[_21b];if(_21c){var _21d;for(var i=_21a.length;i>0;i--){var loc=_21a.slice(0,i).join("_");if(_21c[loc]){_21d=_21c[loc];break;}}if(!_21d){_21d=_21c.ROOT;}if(_21d){var _220=function(){};_220.prototype=_21d;return new _220();}}throw new Error("Bundle not found: "+_218+" in "+_217+" , locale="+_219);};dojo.i18n.normalizeLocale=function(_221){var _222=_221?_221.toLowerCase():dojo.locale;if(_222=="root"){_222="ROOT";}return _222;};dojo.i18n._requireLocalization=function(_223,_224,_225,_226){var _227=dojo.i18n.normalizeLocale(_225);var _228=[_223,"nls",_224].join(".");var _229="";if(_226){var _22a=_226.split(",");for(var i=0;i<_22a.length;i++){if(_227.indexOf(_22a[i])==0){if(_22a[i].length>_229.length){_229=_22a[i];}}}if(!_229){_229="ROOT";}}var _22c=_226?_229:_227;var _22d=dojo._loadedModules[_228];var _22e=null;if(_22d){if(dojo.config.localizationComplete&&_22d._built){return;}var _22f=_22c.replace(/-/g,"_");var _230=_228+"."+_22f;_22e=dojo._loadedModules[_230];}if(!_22e){_22d=dojo["provide"](_228);var syms=dojo._getModuleSymbols(_223);var _232=syms.concat("nls").join("/");var _233;dojo.i18n._searchLocalePath(_22c,_226,function(loc){var _235=loc.replace(/-/g,"_");var _236=_228+"."+_235;var _237=false;if(!dojo._loadedModules[_236]){dojo["provide"](_236);var _238=[_232];if(loc!="ROOT"){_238.push(loc);}_238.push(_224);var _239=_238.join("/")+".js";_237=dojo._loadPath(_239,null,function(hash){var _23b=function(){};_23b.prototype=_233;_22d[_235]=new _23b();for(var j in hash){_22d[_235][j]=hash[j];}});}else{_237=true;}if(_237&&_22d[_235]){_233=_22d[_235];}else{_22d[_235]=_233;}if(_226){return true;}});}if(_226&&_227!=_229){_22d[_227.replace(/-/g,"_")]=_22d[_229.replace(/-/g,"_")];}};(function(){var _23d=dojo.config.extraLocale;if(_23d){if(!_23d instanceof Array){_23d=[_23d];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_241,_242){req(m,b,_241,_242);if(_241){return;}for(var i=0;i<_23d.length;i++){req(m,b,_23d[i],_242);}};}})();dojo.i18n._searchLocalePath=function(_244,down,_246){_244=dojo.i18n.normalizeLocale(_244);var _247=_244.split("-");var _248=[];for(var i=_247.length;i>0;i--){_248.push(_247.slice(0,i).join("-"));}_248.push(false);if(down){_248.reverse();}for(var j=_248.length-1;j>=0;j--){var loc=_248[j]||"ROOT";var stop=_246(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_24d,_24e){function preload(_24f){_24f=dojo.i18n.normalizeLocale(_24f);dojo.i18n._searchLocalePath(_24f,true,function(loc){for(var i=0;i<_24e.length;i++){if(_24e[i]==loc){dojo["require"](_24d+"_"+loc);return true;}}return false;});};preload();var _252=dojo.config.extraLocale||[];for(var i=0;i<_252.length;i++){preload(_252[i]);}};}if(!dojo._hasResource["dijit.layout.ContentPane"]){dojo._hasResource["dijit.layout.ContentPane"]=true;dojo.provide("dijit.layout.ContentPane");dojo.declare("dijit.layout.ContentPane",dijit._Widget,{href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,"class":"dijitContentPane",doLayout:"auto",postCreate:function(){this.domNode.title="";if(!this.containerNode){this.containerNode=this.domNode;}if(this.preload){this._loadCheck();}var _254=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_254);this.errorMessage=dojo.string.substitute(this.errorMessage,_254);var _255=dijit.getWaiRole(this.domNode);if(!_255){dijit.setWaiRole(this.domNode,"group");}dojo.addClass(this.domNode,this["class"]);},startup:function(){if(this._started){return;}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild){this._singleChild.startup();}}this._loadCheck();this.inherited(arguments);},_checkIfSingleChild:function(){var _256=dojo.query(">",this.containerNode||this.domNode),_257=_256.filter("[widgetId]");if(_256.length==1&&_257.length==1){this.isContainer=true;this._singleChild=dijit.byNode(_257[0]);}else{delete this.isContainer;delete this._singleChild;}},refresh:function(){return this._prepareLoad(true);},setHref:function(href){this.href=href;return this._prepareLoad();},setContent:function(data){if(!this._isDownloaded){this.href="";this._onUnloadHandler();}this._setContent(data||"");this._isDownloaded=false;if(this.parseOnLoad){this._createSubWidgets();}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){this._singleChild.startup();this._singleChild.resize(this._contentBox||dojo.contentBox(this.containerNode||this.domNode));}}this._onLoadHandler();},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;},destroy:function(){if(this._beingDestroyed){return;}this._onUnloadHandler();this._beingDestroyed=true;this.inherited("destroy",arguments);},resize:function(size){dojo.marginBox(this.domNode,size);var node=this.containerNode||this.domNode,mb=dojo.mixin(dojo.marginBox(node),size||{});this._contentBox=dijit.layout.marginBox2contentBox(node,mb);if(this._singleChild&&this._singleChild.resize){this._singleChild.resize(this._contentBox);}},_prepareLoad:function(_25d){this.cancel();this.isLoaded=false;this._loadCheck(_25d);},_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(_25f){var _260=this._isShown();if(this.href&&(_25f||(this.preload&&!this._xhrDfd)||(this.refreshOnShow&&_260&&!this._xhrDfd)||(!this.isLoaded&&_260&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._onUnloadHandler();this._setContent(this.onDownloadStart.call(this));var self=this;var _262={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_262,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_262);hand.addCallback(function(html){try{self.onDownloadEnd.call(self);self._isDownloaded=true;self.setContent.call(self,html);}catch(err){self._onError.call(self,"Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.cancelled){self._onError.call(self,"Download",err);}delete self._xhrDfd;return err;});},_onLoadHandler:function(){this.isLoaded=true;try{this.onLoad.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code");}},_onUnloadHandler:function(){this.isLoaded=false;this.cancel();try{this.onUnload.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code");}},_setContent:function(cont){this.destroyDescendants();try{var node=this.containerNode||this.domNode;while(node.firstChild){dojo._destroyElement(node.firstChild);}if(typeof cont=="string"){if(this.extractContent){match=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(match){cont=match[1];}}node.innerHTML=cont;}else{if(cont.nodeType){node.appendChild(cont);}else{dojo.forEach(cont,function(n){node.appendChild(n.cloneNode(true));});}}}catch(e){var _269=this.onContentError(e);try{node.innerHTML=_269;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}}},_onError:function(type,err,_26c){var _26d=this["on"+type+"Error"].call(this,err);if(_26c){console.error(_26c,err);}else{if(_26d){this._setContent.call(this,_26d);}}},_createSubWidgets:function(){var _26e=this.containerNode||this.domNode;try{dojo.parser.parse(_26e,true);}catch(e){this._onError("Content",e,"Couldn't create widgets in "+this.id+(this.href?" from "+this.href:""));}},onLoad:function(e){},onUnload:function(e){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_271){},onDownloadError:function(_272){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.TitlePane"]){dojo._hasResource["dijit.TitlePane"]=true;dojo.provide("dijit.TitlePane");dojo.declare("dijit.TitlePane",[dijit.layout.ContentPane,dijit._Templated],{title:"",open:true,duration:250,baseClass:"dijitTitlePane",templateString:"<div class=\"${baseClass}\">\n\t<div dojoAttachEvent=\"onclick:toggle,onkeypress: _onTitleKey,onfocus:_handleFocus,onblur:_handleFocus\" tabindex=\"0\"\n\t\t\twaiRole=\"button\" class=\"dijitTitlePaneTitle\" dojoAttachPoint=\"titleBarNode,focusNode\">\n\t\t<div dojoAttachPoint=\"arrowNode\" class=\"dijitInline dijitArrowNode\"><span dojoAttachPoint=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span></div>\n\t\t<div dojoAttachPoint=\"titleNode\" class=\"dijitTitlePaneTextNode\"></div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" dojoAttachPoint=\"hideNode\">\n\t\t<div class=\"dijitReset\" dojoAttachPoint=\"wipeNode\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" dojoAttachPoint=\"containerNode\" waiRole=\"region\" tabindex=\"-1\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",postCreate:function(){this.setTitle(this.title);if(!this.open){this.hideNode.style.display=this.wipeNode.style.display="none";}this._setCss();dojo.setSelectable(this.titleNode,false);this.inherited(arguments);dijit.setWaiState(this.containerNode,"labelledby",this.titleNode.id);dijit.setWaiState(this.focusNode,"haspopup","true");var _273=this.hideNode,_274=this.wipeNode;this._wipeIn=dojo.fx.wipeIn({node:this.wipeNode,duration:this.duration,beforeBegin:function(){_273.style.display="";}});this._wipeOut=dojo.fx.wipeOut({node:this.wipeNode,duration:this.duration,onEnd:function(){_273.style.display="none";}});},setContent:function(_275){if(!this.open||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn.status()=="playing"){this._wipeIn.stop();}dojo.marginBox(this.wipeNode,{h:dojo.marginBox(this.wipeNode).h});this.inherited(arguments);this._wipeIn.play();}},toggle:function(){dojo.forEach([this._wipeIn,this._wipeOut],function(_276){if(_276.status()=="playing"){_276.stop();}});this[this.open?"_wipeOut":"_wipeIn"].play();this.open=!this.open;this._loadCheck();this._setCss();},_setCss:function(){var _277=["dijitClosed","dijitOpen"];var _278=this.open;var node=this.titleBarNode||this.focusNode;dojo.removeClass(node,_277[!_278+0]);node.className+=" "+_277[_278+0];this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==dojo.keys.ENTER||e.charCode==dojo.keys.SPACE){this.toggle();}else{if(e.keyCode==dojo.keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_handleFocus:function(e){dojo[(e.type=="focus"?"addClass":"removeClass")](this.focusNode,this.baseClass+"Focused");},setTitle:function(_27c){this.titleNode.innerHTML=_27c;}});}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,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{value:"focusNode",disabled:"focusNode",readOnly:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),setAttribute:function(attr,_27e){this.inherited(arguments);switch(attr){case "disabled":var _27f=this[this.attributeMap["tabIndex"]||"domNode"];if(_27e){this._hovering=false;this._active=false;_27f.removeAttribute("tabIndex");}else{_27f.setAttribute("tabIndex",this.tabIndex);}dijit.setWaiState(this[this.attributeMap["disabled"]||"domNode"],"disabled",_27e);this._setStateClass();}},setDisabled:function(_280){dojo.deprecated("setDisabled("+_280+") is deprecated. Use setAttribute('disabled',"+_280+") instead.","","2.0");this.setAttribute("disabled",_280);},_onMouse:function(_281){var _282=_281.currentTarget;if(_282&&_282.getAttribute){this.stateModifier=_282.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_281.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 _283=this.connect(dojo.body(),"onmouseup",function(){this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_283);});if(this.isFocusable()){this.focus();}break;}this._setStateClass();}},isFocusable:function(){return !this.disabled&&!this.readOnly&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){setTimeout(dojo.hitch(this,dijit.focus,this.focusNode),0);},_setStateClass:function(){if(!("staticClass" in this)){this.staticClass=(this.stateNode||this.domNode).className;}var _284=[this.baseClass];function multiply(_285){_284=_284.concat(dojo.map(_284,function(c){return c+_285;}),"dijit"+_285);};if(this.checked){multiply("Checked");}if(this.state){multiply(this.state);}if(this.selected){multiply("Selected");}if(this.disabled){multiply("Disabled");}else{if(this.readOnly){multiply("ReadOnly");}else{if(this._active){multiply(this.stateModifier+"Active");}else{if(this._focused){multiply("Focused");}if(this._hovering){multiply(this.stateModifier+"Hover");}}}}(this.stateNode||this.domNode).className=this.staticClass+" "+_284.join(" ");},onChange:function(_287){},_onChangeMonitor:"value",_onChangeActive:false,_handleOnChange:function(_288,_289){this._lastValue=_288;if(this._lastValueReported==undefined&&(_289===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_288;}if((this.intermediateChanges||_289||_289===undefined)&&((_288&&_288.toString)?_288.toString():_288)!==((this._lastValueReported&&this._lastValueReported.toString)?this._lastValueReported.toString():this._lastValueReported)){this._lastValueReported=_288;if(this._onChangeActive){this.onChange(_288);}}},reset:function(){this._hasBeenBlurred=false;if(this.setValue&&!this._getValueDeprecated){this.setValue(this._resetValue,true);}else{if(this._onChangeMonitor){this.setAttribute(this._onChangeMonitor,(this._resetValue!==undefined&&this._resetValue!==null)?this._resetValue:"");}}},create:function(){this.inherited(arguments);this._onChangeActive=true;this._setStateClass();},destroy:function(){if(this._layoutHackHandle){clearTimeout(this._layoutHackHandle);}this.inherited(arguments);},setValue:function(_28a){dojo.deprecated("dijit.form._FormWidget:setValue("+_28a+") is deprecated.  Use setAttribute('value',"+_28a+") instead.","","2.0");this.setAttribute("value",_28a);},_getValueDeprecated:true,getValue:function(){dojo.deprecated("dijit.form._FormWidget:getValue() is deprecated.  Use widget.value instead.","","2.0");return this.value;},_layoutHack:function(){if(dojo.isFF==2){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.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{value:""}),postCreate:function(){this.setValue(this.value,null);},setValue:function(_28d,_28e){this.value=_28d;this._handleOnChange(_28d,_28e);},_getValueDeprecated:false,getValue:function(){return this._lastValue;},undo:function(){this.setValue(this._lastValueReported,false);},_valueChanged:function(){var v=this.getValue();var lv=this._lastValueReported;return ((v!==null&&(v!==undefined)&&v.toString)?v.toString():"")!==((lv!==null&&(lv!==undefined)&&lv.toString)?lv.toString():"");},_onKeyPress:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){if(this._valueChanged()){this.undo();dojo.stopEvent(e);return false;}}return true;}});}if(!dojo._hasResource["dijit.form.TextBox"]){dojo._hasResource["dijit.form.TextBox"]=true;dojo.provide("dijit.form.TextBox");dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",templateString:"<input class=\"dijit dijitReset dijitLeft\" dojoAttachPoint='textbox,focusNode' name=\"${name}\"\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse,onfocus:_onMouse,onblur:_onMouse,onkeypress:_onKeyPress'\n\tautocomplete=\"off\" type=\"${type}\"\n\t/>\n",baseClass:"dijitTextBox",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormValueWidget.prototype.attributeMap),{maxLength:"focusNode"}),getDisplayedValue:function(){return this.filter(this.textbox.value);},getValue:function(){return this.parse(this.getDisplayedValue(),this.constraints);},setValue:function(_292,_293,_294){var _295=this.filter(_292);if((((typeof _295==typeof _292)&&(_292!==undefined))||(_292===null))&&(_294==null||_294==undefined)){_294=this.format(_295,this.constraints);}if(_294!=null&&_294!=undefined){this.textbox.value=_294;}dijit.form.TextBox.superclass.setValue.call(this,_295,_293);},setDisplayedValue:function(_296,_297){this.textbox.value=_296;this.setValue(this.getValue(),_297);},format:function(_298,_299){return ((_298==null||_298==undefined)?"":(_298.toString?_298.toString():_298));},parse:function(_29a,_29b){return _29a;},postCreate:function(){this.textbox.setAttribute("value",this.getDisplayedValue());this.inherited(arguments);this._layoutHack();},filter:function(val){if(val===null||val===undefined){return "";}else{if(typeof val!="string"){return val;}}if(this.trim){val=dojo.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this.setValue(this.getValue(),(this.isValid?this.isValid():true));},_onBlur:function(){this._setBlurValue();this.inherited(arguments);}});dijit.selectInputText=function(_29e,_29f,stop){var _2a1=dojo.global;var _2a2=dojo.doc;_29e=dojo.byId(_29e);if(isNaN(_29f)){_29f=0;}if(isNaN(stop)){stop=_29e.value?_29e.value.length:0;}_29e.focus();if(_2a2["selection"]&&dojo.body()["createTextRange"]){if(_29e.createTextRange){var _2a3=_29e.createTextRange();with(_2a3){collapse(true);moveStart("character",_29f);moveEnd("character",stop);select();}}}else{if(_2a1["getSelection"]){var _2a4=_2a1.getSelection();if(_29e.setSelectionRange){_29e.setSelectionRange(_29f,stop);}}}};}if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:200,templateString:"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\n\t<div class=\"dijitTooltipConnector\"></div>\n</div>\n",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});},show:function(_2a5,_2a6,_2a7){if(this.aroundNode&&this.aroundNode===_2a6){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_2a5;this.domNode.style.top=(this.domNode.offsetTop+1)+"px";var _2a8={};var ltr=this.isLeftToRight();dojo.forEach((_2a7&&_2a7.length)?_2a7:dijit.Tooltip.defaultPosition,function(pos){switch(pos){case "after":_2a8[ltr?"BR":"BL"]=ltr?"BL":"BR";break;case "before":_2a8[ltr?"BL":"BR"]=ltr?"BR":"BL";break;case "below":_2a8[ltr?"BL":"BR"]=ltr?"TL":"TR";_2a8[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above":default:_2a8[ltr?"TL":"TR"]=ltr?"BL":"BR";_2a8[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});var pos=dijit.placeOnScreenAroundElement(this.domNode,_2a6,_2a8,dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_2a6;},orient:function(node,_2ad,_2ae){node.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_2ad+"-"+_2ae];},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_2af){if(!this.aroundNode||this.aroundNode!==_2af){return;}if(this._onDeck){this._onDeck=null;return;}this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();},_onHide:function(){this.domNode.style.cssText="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});dijit.showTooltip=function(_2b0,_2b1,_2b2){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_2b0,_2b1,_2b2);};dijit.hideTooltip=function(_2b3){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_2b3);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],postCreate:function(){if(this.srcNodeRef){this.srcNodeRef.style.display="none";}this._connectNodes=[];dojo.forEach(this.connectId,function(id){var node=dojo.byId(id);if(node){this._connectNodes.push(node);dojo.forEach(["onMouseOver","onMouseOut","onFocus","onBlur","onHover","onUnHover"],function(_2b6){this.connect(node,_2b6.toLowerCase(),"_"+_2b6);},this);if(dojo.isIE){node.style.zoom=1;}}},this);},_onMouseOver:function(e){this._onHover(e);},_onMouseOut:function(e){if(dojo.isDescendant(e.relatedTarget,e.target)){return;}this._onUnHover(e);},_onFocus:function(e){this._focus=true;this._onHover(e);this.inherited(arguments);},_onBlur:function(e){this._focus=false;this._onUnHover(e);this.inherited(arguments);},_onHover:function(e){if(!this._showTimer){var _2bc=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_2bc);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_2be){_2be=_2be||this._connectNodes[0];if(!_2be){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_2be,this.position);this._connectNode=_2be;},close:function(){dijit.hideTooltip(this._connectNode);delete this._connectNode;if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},uninitialize:function(){this.close();}});dijit.Tooltip.defaultPosition=["after","before"];}if(!dojo._hasResource["dijit.form.ValidationTextBox"]){dojo._hasResource["dijit.form.ValidationTextBox"]=true;dojo.provide("dijit.form.ValidationTextBox");dojo.declare("dijit.form.ValidationTextBox",dijit.form.TextBox,{templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" waiRole=\"presentation\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input class=\"dijitReset\" dojoAttachPoint='textbox,focusNode' dojoAttachEvent='onfocus:_update,onkeyup:_update,onblur:_onMouse,onkeypress:_onKeyPress' autocomplete=\"off\"\n\t\t\ttype='${type}' name='${name}'\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",constraints:{},regExp:".*",regExpGen:function(_2bf){return this.regExp;},state:"",tooltipPosition:[],setValue:function(){this.inherited(arguments);this.validate(this._focused);},validator:function(_2c0,_2c1){return (new RegExp("^("+this.regExpGen(_2c1)+")"+(this.required?"":"?")+"$")).test(_2c0)&&(!this.required||!this._isEmpty(_2c0))&&(this._isEmpty(_2c0)||this.parse(_2c0,_2c1)!==undefined);},isValid:function(_2c2){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_2c3){return /^\s*$/.test(_2c3);},getErrorMessage:function(_2c4){return this.invalidMessage;},getPromptMessage:function(_2c5){return this.promptMessage;},validate:function(_2c6){var _2c7="";var _2c8=this.isValid(_2c6);var _2c9=this._isEmpty(this.textbox.value);this.state=(_2c8||(!this._hasBeenBlurred&&_2c9))?"":"Error";this._setStateClass();dijit.setWaiState(this.focusNode,"invalid",_2c8?"false":"true");if(_2c6){if(_2c9){_2c7=this.getPromptMessage(true);}if(!_2c7&&this.state=="Error"){_2c7=this.getErrorMessage(true);}}this.displayMessage(_2c7);return _2c8;},_message:"",displayMessage:function(_2ca){if(this._message==_2ca){return;}this._message=_2ca;dijit.hideTooltip(this.domNode);if(_2ca){dijit.showTooltip(_2ca,this.domNode,this.tooltipPosition);}},_refreshState:function(){this.validate(this._focused);},_update:function(e){this._refreshState();this._onMouse(e);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this.constraints.locale=this.lang;this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}var p=this.regExpGen(this.constraints);this.regExp=p;}});dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{serialize:function(val,_2ce){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.getValue());return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},setAttribute:function(attr,_2d1){this.inherited(arguments);switch(attr){case "disabled":if(this.valueNode){this.valueNode.disabled=this.disabled;}}},postCreate:function(){var _2d2=this.textbox;var _2d3=(this.valueNode=dojo.doc.createElement("input"));_2d3.setAttribute("type",_2d2.type);_2d3.setAttribute("value",this.toString());dojo.style(_2d3,"display","none");_2d3.name=this.textbox.name;_2d3.disabled=this.textbox.disabled;this.textbox.name=this.textbox.name+"_displayed_";this.textbox.removeAttribute("name");dojo.place(_2d3,_2d2,"after");this.inherited(arguments);}});dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",compare:function(val1,val2){return val1-val2;},rangeCheck:function(_2d6,_2d7){var _2d8="min" in _2d7;var _2d9="max" in _2d7;if(_2d8||_2d9){return (!_2d8||this.compare(_2d6,_2d7.min)>=0)&&(!_2d9||this.compare(_2d6,_2d7.max)<=0);}return true;},isInRange:function(_2da){return this.rangeCheck(this.getValue(),this.constraints);},isValid:function(_2db){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_2db));},getErrorMessage:function(_2dc){if(dijit.form.RangeBoundTextBox.superclass.isValid.call(this,false)&&!this.isInRange(_2dc)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},postCreate:function(){this.inherited(arguments);if(this.constraints.min!==undefined){dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);}if(this.constraints.max!==undefined){dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);}},setValue:function(_2dd,_2de){dijit.setWaiState(this.focusNode,"valuenow",_2dd);this.inherited("setValue",arguments);}});}if(!dojo._hasResource["dijit.form.ComboBox"]){dojo._hasResource["dijit.form.ComboBox"]=true;dojo.provide("dijit.form.ComboBox");dojo.declare("dijit.form.ComboBoxMixin",null,{item:null,pageSize:Infinity,store:null,query:{},autoComplete:true,searchDelay:100,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,hasDownArrow:true,templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" dojoAttachPoint=\"comboNode\" waiRole=\"combobox\" tabIndex=\"-1\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"downArrowNode\" waiRole=\"presentation\"\n\t\t\tdojoAttachEvent=\"onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t><div class=\"dijitArrowButtonInner\">&thinsp;</div\n\t\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div\n\t\t></div\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input type=\"text\" autocomplete=\"off\" name=\"${name}\" class='dijitReset'\n\t\t\tdojoAttachEvent=\"onkeypress:_onKeyPress, onfocus:_update, compositionend\"\n\t\t\tdojoAttachPoint=\"textbox,focusNode\" waiRole=\"textbox\" waiState=\"haspopup-true,autocomplete-list\"\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitComboBox",_getCaretPos:function(_2df){var pos=0;if(typeof (_2df.selectionStart)=="number"){pos=_2df.selectionStart;}else{if(dojo.isIE){var tr=dojo.doc.selection.createRange().duplicate();var ntr=_2df.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_2e3,_2e4){_2e4=parseInt(_2e4);dijit.selectInputText(_2e3,_2e4,_2e4);},_setAttribute:function(attr,_2e6){if(attr=="disabled"){dijit.setWaiState(this.comboNode,"disabled",_2e6);}},_onKeyPress:function(evt){if(evt.altKey||(evt.ctrlKey&&evt.charCode!=118)){return;}var _2e8=false;var pw=this._popupWidget;var dk=dojo.keys;if(this._isShowingNow){pw.handleKey(evt);}switch(evt.keyCode){case dk.PAGE_DOWN:case dk.DOWN_ARROW:if(!this._isShowingNow||this._prev_key_esc){this._arrowPressed();_2e8=true;}else{this._announceOption(pw.getHighlightedOption());}dojo.stopEvent(evt);this._prev_key_backspace=false;this._prev_key_esc=false;break;case dk.PAGE_UP:case dk.UP_ARROW:if(this._isShowingNow){this._announceOption(pw.getHighlightedOption());}dojo.stopEvent(evt);this._prev_key_backspace=false;this._prev_key_esc=false;break;case dk.ENTER:var _2eb;if(this._isShowingNow&&(_2eb=pw.getHighlightedOption())){if(_2eb==pw.nextButton){this._nextSearch(1);dojo.stopEvent(evt);break;}else{if(_2eb==pw.previousButton){this._nextSearch(-1);dojo.stopEvent(evt);break;}}}else{this.setDisplayedValue(this.getDisplayedValue());}evt.preventDefault();case dk.TAB:var _2ec=this.getDisplayedValue();if(pw&&(_2ec==pw._messages["previousMessage"]||_2ec==pw._messages["nextMessage"])){break;}if(this._isShowingNow){this._prev_key_backspace=false;this._prev_key_esc=false;if(pw.getHighlightedOption()){pw.setValue({target:pw.getHighlightedOption()},true);}this._hideResultList();}break;case dk.SPACE:this._prev_key_backspace=false;this._prev_key_esc=false;if(this._isShowingNow&&pw.getHighlightedOption()){dojo.stopEvent(evt);this._selectOption();this._hideResultList();}else{_2e8=true;}break;case dk.ESCAPE:this._prev_key_backspace=false;this._prev_key_esc=true;if(this._isShowingNow){dojo.stopEvent(evt);this._hideResultList();}this.inherited(arguments);break;case dk.DELETE:case dk.BACKSPACE:this._prev_key_esc=false;this._prev_key_backspace=true;_2e8=true;break;case dk.RIGHT_ARROW:case dk.LEFT_ARROW:this._prev_key_backspace=false;this._prev_key_esc=false;break;default:this._prev_key_backspace=false;this._prev_key_esc=false;if(dojo.isIE||evt.charCode!=0){_2e8=true;}}if(this.searchTimer){clearTimeout(this.searchTimer);}if(_2e8){setTimeout(dojo.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(text){var fn=this.focusNode;dijit.selectInputText(fn,fn.value.length);var _2ef=this.ignoreCase?"toLowerCase":"substr";if(text[_2ef](0).indexOf(this.focusNode.value[_2ef](0))==0){var cpos=this._getCaretPos(fn);if((cpos+1)>fn.value.length){fn.value=text;dijit.selectInputText(fn,cpos);}}else{fn.value=text;dijit.selectInputText(fn);}},_openResultList:function(_2f1,_2f2){if(this.disabled||this.readOnly||(_2f2.query[this.searchAttr]!=this._lastQuery)){return;}this._popupWidget.clearResultList();if(!_2f1.length){this._hideResultList();return;}var _2f3=new String(this.store.getValue(_2f1[0],this.searchAttr));if(_2f3&&this.autoComplete&&!this._prev_key_backspace&&(_2f2.query[this.searchAttr]!="*")){this._autoCompleteText(_2f3);}this._popupWidget.createOptions(_2f1,_2f2,dojo.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_2f2.direction){if(1==_2f2.direction){this._popupWidget.highlightFirstOption();}else{if(-1==_2f2.direction){this._popupWidget.highlightLastOption();}}this._announceOption(this._popupWidget.getHighlightedOption());}},_showResultList:function(){this._hideResultList();var _2f4=this._popupWidget.getItems(),_2f5=Math.min(_2f4.length,this.maxListLength);this._arrowPressed();this.displayMessage("");with(this._popupWidget.domNode.style){width="";height="";}var best=this.open();var _2f7=dojo.marginBox(this._popupWidget.domNode);this._popupWidget.domNode.style.overflow=((best.h==_2f7.h)&&(best.w==_2f7.w))?"hidden":"auto";var _2f8=best.w;if(best.h<this._popupWidget.domNode.scrollHeight){_2f8+=16;}dojo.marginBox(this._popupWidget.domNode,{h:best.h,w:Math.max(_2f8,this.domNode.offsetWidth)});dijit.setWaiState(this.comboNode,"expanded","true");},_hideResultList:function(){if(this._isShowingNow){dijit.popup.close(this._popupWidget);this._arrowIdle();this._isShowingNow=false;dijit.setWaiState(this.comboNode,"expanded","false");dijit.removeWaiState(this.focusNode,"activedescendant");}},_setBlurValue:function(){var _2f9=this.getDisplayedValue();var pw=this._popupWidget;if(pw&&(_2f9==pw._messages["previousMessage"]||_2f9==pw._messages["nextMessage"])){this.setValue(this._lastValueReported,true);}else{this.setDisplayedValue(_2f9);}},_onBlur:function(){this._hideResultList();this._arrowIdle();this.inherited(arguments);},_announceOption:function(node){if(node==null){return;}var _2fc;if(node==this._popupWidget.nextButton||node==this._popupWidget.previousButton){_2fc=node.innerHTML;}else{_2fc=this.store.getValue(node.item,this.searchAttr);}this.focusNode.value=this.focusNode.value.substring(0,this._getCaretPos(this.focusNode));dijit.setWaiState(this.focusNode,"activedescendant",dojo.attr(node,"id"));this._autoCompleteText(_2fc);},_selectOption:function(evt){var tgt=null;if(!evt){evt={target:this._popupWidget.getHighlightedOption()};}if(!evt.target){this.setDisplayedValue(this.getDisplayedValue());return;}else{tgt=evt.target;}if(!evt.noHide){this._hideResultList();this._setCaretPos(this.focusNode,this.store.getValue(tgt.item,this.searchAttr).length);}this._doSelect(tgt);},_doSelect:function(tgt){this.item=tgt.item;this.setValue(this.store.getValue(tgt.item,this.searchAttr),true);},_onArrowMouseDown:function(evt){if(this.disabled||this.readOnly){return;}dojo.stopEvent(evt);this.focus();if(this._isShowingNow){this._hideResultList();}else{this._startSearch("");}},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_getQueryString:function(text){return dojo.string.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this._popupWidget){var _303=this.id+"_popup";this._popupWidget=new dijit.form._ComboBoxMenu({onChange:dojo.hitch(this,this._selectOption),id:_303});dijit.removeWaiState(this.focusNode,"activedescendant");dijit.setWaiState(this.textbox,"owns",_303);}this.item=null;var _304=dojo.clone(this.query);this._lastQuery=_304[this.searchAttr]=this._getQueryString(key);this.searchTimer=setTimeout(dojo.hitch(this,function(_305,_306){var _307=this.store.fetch({queryOptions:{ignoreCase:this.ignoreCase,deep:true},query:_305,onComplete:dojo.hitch(this,"_openResultList"),onError:function(_308){console.error("dijit.form.ComboBox: "+_308);dojo.hitch(_306,"_hideResultList")();},start:0,count:this.pageSize});var _309=function(_30a,_30b){_30a.start+=_30a.count*_30b;_30a.direction=_30b;this.store.fetch(_30a);};this._nextSearch=this._popupWidget.onPage=dojo.hitch(this,_309,_307);},_304,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},_arrowPressed:function(){if(!this.disabled&&!this.readOnly&&this.hasDownArrow){dojo.addClass(this.downArrowNode,"dijitArrowButtonActive");}},_arrowIdle:function(){if(!this.disabled&&!this.readOnly&&this.hasDownArrow){dojo.removeClass(this.downArrowNode,"dojoArrowButtonPushed");}},compositionend:function(evt){this.onkeypress({charCode:-1});},constructor:function(){this.query={};},postMixInProperties:function(){if(!this.hasDownArrow){this.baseClass="dijitTextBox";}if(!this.store){var _30d=this.srcNodeRef;this.store=new dijit.form._ComboBoxDataStore(_30d);if(!this.value||((typeof _30d.selectedIndex=="number")&&_30d.selectedIndex.toString()===this.value)){var item=this.store.fetchSelectedItem();if(item){this.value=this.store.getValue(item,this._getValueField());}}}},_postCreate:function(){var _30f=dojo.query("label[for=\""+this.id+"\"]");if(_30f.length){_30f[0].id=(this.id+"_label");var cn=this.comboNode;dijit.setWaiState(cn,"labelledby",_30f[0].id);dijit.setWaiState(cn,"disabled",this.disabled);}},uninitialize:function(){if(this._popupWidget){this._hideResultList();this._popupWidget.destroy();}},_getMenuLabelFromItem:function(item){return {html:false,label:this.store.getValue(item,this.searchAttr)};},open:function(){this._isShowingNow=true;return dijit.popup.open({popup:this._popupWidget,around:this.domNode,parent:this});},reset:function(){this.item=null;this.inherited(arguments);}});dojo.declare("dijit.form._ComboBoxMenu",[dijit._Widget,dijit._Templated],{templateString:"<ul class='dijitMenu' dojoAttachEvent='onmousedown:_onMouseDown,onmouseup:_onMouseUp,onmouseover:_onMouseOver,onmouseout:_onMouseOut' tabIndex='-1' style='overflow:\"auto\";'>"+"<li class='dijitMenuItem dijitMenuPreviousButton' dojoAttachPoint='previousButton'></li>"+"<li class='dijitMenuItem dijitMenuNextButton' dojoAttachPoint='nextButton'></li>"+"</ul>",_messages:null,postMixInProperties:function(){this._messages=dojo.i18n.getLocalization("dijit.form","ComboBox",this.lang);this.inherited("postMixInProperties",arguments);},setValue:function(_312){this.value=_312;this.onChange(_312);},onChange:function(_313){},onPage:function(_314){},postCreate:function(){this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];this.inherited("postCreate",arguments);},onClose:function(){this._blurOptionNode();},_createOption:function(item,_316){var _317=_316(item);var _318=dojo.doc.createElement("li");dijit.setWaiRole(_318,"option");if(_317.html){_318.innerHTML=_317.label;}else{_318.appendChild(dojo.doc.createTextNode(_317.label));}if(_318.innerHTML==""){_318.innerHTML="&nbsp;";}_318.item=item;return _318;},createOptions:function(_319,_31a,_31b){this.previousButton.style.display=(_31a.start==0)?"none":"";dojo.attr(this.previousButton,"id",this.id+"_prev");dojo.forEach(_319,function(item,i){var _31e=this._createOption(item,_31b);_31e.className="dijitMenuItem";dojo.attr(_31e,"id",this.id+i);this.domNode.insertBefore(_31e,this.nextButton);},this);this.nextButton.style.display=(_31a.count==_319.length)?"":"none";dojo.attr(this.nextButton,"id",this.id+"_next");},clearResultList:function(){while(this.domNode.childNodes.length>2){this.domNode.removeChild(this.domNode.childNodes[this.domNode.childNodes.length-2]);}},getItems:function(){return this.domNode.childNodes;},getListLength:function(){return this.domNode.childNodes.length-2;},_onMouseDown:function(evt){dojo.stopEvent(evt);},_onMouseUp:function(evt){if(evt.target===this.domNode){return;}else{if(evt.target==this.previousButton){this.onPage(-1);}else{if(evt.target==this.nextButton){this.onPage(1);}else{var tgt=evt.target;while(!tgt.item){tgt=tgt.parentNode;}this.setValue({target:tgt},true);}}}},_onMouseOver:function(evt){if(evt.target===this.domNode){return;}var tgt=evt.target;if(!(tgt==this.previousButton||tgt==this.nextButton)){while(!tgt.item){tgt=tgt.parentNode;}}this._focusOptionNode(tgt);},_onMouseOut:function(evt){if(evt.target===this.domNode){return;}this._blurOptionNode();},_focusOptionNode:function(node){if(this._highlighted_option!=node){this._blurOptionNode();this._highlighted_option=node;dojo.addClass(this._highlighted_option,"dijitMenuItemHover");}},_blurOptionNode:function(){if(this._highlighted_option){dojo.removeClass(this._highlighted_option,"dijitMenuItemHover");this._highlighted_option=null;}},_highlightNextOption:function(){var fc=this.domNode.firstChild;if(!this.getHighlightedOption()){this._focusOptionNode(fc.style.display=="none"?fc.nextSibling:fc);}else{var ns=this._highlighted_option.nextSibling;if(ns&&ns.style.display!="none"){this._focusOptionNode(ns);}}dijit.scrollIntoView(this._highlighted_option);},highlightFirstOption:function(){this._focusOptionNode(this.domNode.firstChild.nextSibling);dijit.scrollIntoView(this._highlighted_option);},highlightLastOption:function(){this._focusOptionNode(this.domNode.lastChild.previousSibling);dijit.scrollIntoView(this._highlighted_option);},_highlightPrevOption:function(){var lc=this.domNode.lastChild;if(!this.getHighlightedOption()){this._focusOptionNode(lc.style.display=="none"?lc.previousSibling:lc);}else{var ps=this._highlighted_option.previousSibling;if(ps&&ps.style.display!="none"){this._focusOptionNode(ps);}}dijit.scrollIntoView(this._highlighted_option);},_page:function(up){var _32b=0;var _32c=this.domNode.scrollTop;var _32d=dojo.style(this.domNode,"height");if(!this.getHighlightedOption()){this._highlightNextOption();}while(_32b<_32d){if(up){if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){break;}this._highlightPrevOption();}else{if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){break;}this._highlightNextOption();}var _32e=this.domNode.scrollTop;_32b+=(_32e-_32c)*(up?-1:1);_32c=_32e;}},pageUp:function(){this._page(true);},pageDown:function(){this._page(false);},getHighlightedOption:function(){var ho=this._highlighted_option;return (ho&&ho.parentNode)?ho:null;},handleKey:function(evt){switch(evt.keyCode){case dojo.keys.DOWN_ARROW:this._highlightNextOption();break;case dojo.keys.PAGE_DOWN:this.pageDown();break;case dojo.keys.UP_ARROW:this._highlightPrevOption();break;case dojo.keys.PAGE_UP:this.pageUp();break;}}});dojo.declare("dijit.form.ComboBox",[dijit.form.ValidationTextBox,dijit.form.ComboBoxMixin],{postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.ValidationTextBox.prototype.postMixInProperties.apply(this,arguments);},postCreate:function(){dijit.form.ComboBoxMixin.prototype._postCreate.apply(this,arguments);dijit.form.ValidationTextBox.prototype.postCreate.apply(this,arguments);},setAttribute:function(attr,_332){dijit.form.ValidationTextBox.prototype.setAttribute.apply(this,arguments);dijit.form.ComboBoxMixin.prototype._setAttribute.apply(this,arguments);}});dojo.declare("dijit.form._ComboBoxDataStore",null,{constructor:function(root){this.root=root;},getValue:function(item,_335,_336){return (_335=="value")?item.value:(item.innerText||item.textContent||"");},isItemLoaded:function(_337){return true;},fetch:function(args){var _339="^"+args.query.name.replace(/([\\\|\(\)\[\{\^\$\+\?\.\<\>])/g,"\\$1").replace("*",".*")+"$",_33a=new RegExp(_339,args.queryOptions.ignoreCase?"i":""),_33b=dojo.query("> option",this.root).filter(function(_33c){return (_33c.innerText||_33c.textContent||"").match(_33a);});var _33d=args.start||0,end=("count" in args&&args.count!=Infinity)?(_33d+args.count):_33b.length;args.onComplete(_33b.slice(_33d,end),args);return args;},close:function(_33f){return;},getLabel:function(item){return item.innerHTML;},getIdentity:function(item){return dojo.attr(item,"value");},fetchItemByIdentity:function(args){var item=dojo.query("option[value='"+args.identity+"']",this.root)[0];args.onItem(item);},fetchSelectedItem:function(){var root=this.root,si=root.selectedIndex;return dojo.query("> option:nth-child("+(si!=-1?si+1:1)+")",root)[0];}});}if(!dojo._hasResource["dijit.form.Form"]){dojo._hasResource["dijit.form.Form"]=true;dojo.provide("dijit.form.Form");dojo.declare("dijit.form._FormMixin",null,{reset:function(){dojo.forEach(this.getDescendants(),function(_346){if(_346.reset){_346.reset();}});},validate:function(){var _347=false;return dojo.every(dojo.map(this.getDescendants(),function(_348){_348._hasBeenBlurred=true;var _349=!_348.validate||_348.validate();if(!_349&&!_347){dijit.scrollIntoView(_348.containerNode||_348.domNode);_348.focus();_347=true;}return _349;}),"return item;");},setValues:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_34c){if(!_34c.name){return;}var _34d=map[_34c.name]||(map[_34c.name]=[]);_34d.push(_34c);});for(var name in map){var _34f=map[name],_350=dojo.getObject(name,false,obj);if(!dojo.isArray(_350)){_350=[_350];}if(typeof _34f[0].checked=="boolean"){dojo.forEach(_34f,function(w,i){w.setValue(dojo.indexOf(_350,w.value)!=-1);});}else{if(_34f[0]._multiValue){_34f[0].setValue(_350);}else{dojo.forEach(_34f,function(w,i){w.setValue(_350[i]);});}}}},getValues:function(){var obj={};dojo.forEach(this.getDescendants(),function(_356){var name=_356.name;if(!name){return;}var _358=(_356.getValue&&!_356._getValueDeprecated)?_356.getValue():_356.value;if(typeof _356.checked=="boolean"){if(/Radio/.test(_356.declaredClass)){if(_358!==false){dojo.setObject(name,_358,obj);}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_358!==false){ary.push(_358);}}}else{dojo.setObject(name,_358,obj);}});return obj;},isValid:function(){return dojo.every(this.getDescendants(),function(_35a){return !_35a.isValid||_35a.isValid();});}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onreset:_onReset,onsubmit:_onSubmit' name='${name}'></form>",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",encType:"","accept-charset":"",accept:"",target:""}),execute:function(_35b){},onExecute:function(){},setAttribute:function(attr,_35d){this.inherited(arguments);switch(attr){case "encType":if(dojo.isIE){this.domNode.encoding=_35d;}}},postCreate:function(){if(dojo.isIE&&this.srcNodeRef&&this.srcNodeRef.attributes){var item=this.srcNodeRef.attributes.getNamedItem("encType");if(item&&!item.specified&&(typeof item.value=="string")){this.setAttribute("encType",item.value);}}this.inherited(arguments);},onReset:function(e){return true;},_onReset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e.currentTarget,target:e.target};if(!(this.onReset(faux)===false)&&faux.returnValue){this.reset();}dojo.stopEvent(e);return false;},_onSubmit:function(e){var fp=dijit.form.Form.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){dojo.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){dojo.stopEvent(e);}},onSubmit:function(e){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});}if(!dojo._hasResource["dijit.form.FilteringSelect"]){dojo._hasResource["dijit.form.FilteringSelect"]=true;dojo.provide("dijit.form.FilteringSelect");dojo.declare("dijit.form.FilteringSelect",[dijit.form.MappedTextBox,dijit.form.ComboBoxMixin],{labelAttr:"",labelType:"text",_isvalid:true,_lastDisplayedValue:"",isValid:function(){return this._isvalid;},_callbackSetLabel:function(_365,_366,_367){if(_366&&_366.query[this.searchAttr]!=this._lastQuery){return;}if(!_365.length){if(!this._focused){this.valueNode.value="";}dijit.form.TextBox.superclass.setValue.call(this,undefined,!this._focused);this._isvalid=false;this.validate(this._focused);}else{this._setValueFromItem(_365[0],_367);}},_openResultList:function(_368,_369){if(_369.query[this.searchAttr]!=this._lastQuery){return;}this._isvalid=_368.length!=0;this.validate(true);dijit.form.ComboBoxMixin.prototype._openResultList.apply(this,arguments);},getValue:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValue:function(_36a,_36b,_36c){this.valueNode.value=_36a;dijit.form.FilteringSelect.superclass.setValue.call(this,_36a,_36c,_36b);this._lastDisplayedValue=_36b;},setValue:function(_36d,_36e){var self=this;var _370=function(item,_372){if(item){if(self.store.isItemLoaded(item)){self._callbackSetLabel([item],undefined,_372);}else{self.store.loadItem({item:item,onItem:function(_373,_374){self._callbackSetLabel(_373,_374,_372);}});}}else{self._isvalid=false;self.validate(false);}};this.store.fetchItemByIdentity({identity:_36d,onItem:function(item){_370(item,_36e);}});},_setValueFromItem:function(item,_377){this._isvalid=true;this._setValue(this.store.getIdentity(item),this.labelFunc(item,this.store),_377);},labelFunc:function(item,_379){return _379.getValue(item,this.searchAttr);},_doSelect:function(tgt){this.item=tgt.item;this._setValueFromItem(tgt.item,true);},setDisplayedValue:function(_37b,_37c){if(this.store){var _37d=dojo.clone(this.query);this._lastQuery=_37d[this.searchAttr]=_37b;this.textbox.value=_37b;this._lastDisplayedValue=_37b;var _37e=this;this.store.fetch({query:_37d,queryOptions:{ignoreCase:this.ignoreCase,deep:true},onComplete:function(_37f,_380){dojo.hitch(_37e,"_callbackSetLabel")(_37f,_380,_37c);},onError:function(_381){console.error("dijit.form.FilteringSelect: "+_381);dojo.hitch(_37e,"_setValue")(undefined,_37b,false);}});}},_getMenuLabelFromItem:function(item){if(this.labelAttr){return {html:this.labelType=="html",label:this.store.getValue(item,this.labelAttr)};}else{return dijit.form.ComboBoxMixin.prototype._getMenuLabelFromItem.apply(this,arguments);}},postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.MappedTextBox.prototype.postMixInProperties.apply(this,arguments);},postCreate:function(){dijit.form.ComboBoxMixin.prototype._postCreate.apply(this,arguments);dijit.form.MappedTextBox.prototype.postCreate.apply(this,arguments);},setAttribute:function(attr,_384){dijit.form.MappedTextBox.prototype.setAttribute.apply(this,arguments);dijit.form.ComboBoxMixin.prototype._setAttribute.apply(this,arguments);},undo:function(){this.setDisplayedValue(this._lastDisplayedValue);},_valueChanged:function(){return this.getDisplayedValue()!=this._lastDisplayedValue;}});}if(!dojo._hasResource["dojo.cldr.supplemental"]){dojo._hasResource["dojo.cldr.supplemental"]=true;dojo.provide("dojo.cldr.supplemental");dojo.cldr.supplemental.getFirstDayOfWeek=function(_385){var _386={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,sy:4};var _387=dojo.cldr.supplemental._region(_385);var dow=_386[_387];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_389){_389=dojo.i18n.normalizeLocale(_389);var tags=_389.split("-");var _38b=tags[1];if(!_38b){_38b={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_38b.length==4){_38b=tags[2];}}return _38b;};dojo.cldr.supplemental.getWeekend=function(_38c){var _38d={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};var _38e={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};var _38f=dojo.cldr.supplemental._region(_38c);var _390=_38d[_38f];var end=_38e[_38f];if(_390===undefined){_390=6;}if(end===undefined){end=0;}return {start:_390,end:end};};}if(!dojo._hasResource["dojo.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.date.getDaysInMonth=function(_392){var _393=_392.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_393==1&&dojo.date.isLeapYear(_392)){return 29;}return days[_393];};dojo.date.isLeapYear=function(_395){var year=_395.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_397){var str=_397.toString();var tz="";var _39a;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_39a=str.match(pat))){tz=_39a[1];}else{str=_397.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_39a=str.match(pat))){tz=_39a[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_39d,_39e,_39f){_39d=new Date(Number(_39d));_39e=new Date(Number(_39e||new Date()));if(_39f!=="undefined"){if(_39f=="date"){_39d.setHours(0,0,0,0);_39e.setHours(0,0,0,0);}else{if(_39f=="time"){_39d.setFullYear(0,0,0);_39e.setFullYear(0,0,0);}}}if(_39d>_39e){return 1;}if(_39d<_39e){return -1;}return 0;};dojo.date.add=function(date,_3a1,_3a2){var sum=new Date(Number(date));var _3a4=false;var _3a5="Date";switch(_3a1){case "day":break;case "weekday":var days,_3a7;var mod=_3a2%5;if(!mod){days=(_3a2>0)?5:-5;_3a7=(_3a2>0)?((_3a2-5)/5):((_3a2+5)/5);}else{days=mod;_3a7=parseInt(_3a2/5);}var strt=date.getDay();var adj=0;if(strt==6&&_3a2>0){adj=1;}else{if(strt==0&&_3a2<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_3a2>0)?2:-2;}_3a2=(7*_3a7)+days+adj;break;case "year":_3a5="FullYear";_3a4=true;break;case "week":_3a2*=7;break;case "quarter":_3a2*=3;case "month":_3a4=true;_3a5="Month";break;case "hour":case "minute":case "second":case "millisecond":_3a5="UTC"+_3a1.charAt(0).toUpperCase()+_3a1.substring(1)+"s";}if(_3a5){sum["set"+_3a5](sum["get"+_3a5]()+_3a2);}if(_3a4&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_3ac,_3ad,_3ae){_3ad=_3ad||new Date();_3ae=_3ae||"day";var _3af=_3ad.getFullYear()-_3ac.getFullYear();var _3b0=1;switch(_3ae){case "quarter":var m1=_3ac.getMonth();var m2=_3ad.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_3af*4);_3b0=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_3ac,_3ad,"day"));var _3b6=parseInt(dojo.date.difference(_3ac,_3ad,"week"));var mod=days%7;if(mod==0){days=_3b6*5;}else{var adj=0;var aDay=_3ac.getDay();var bDay=_3ad.getDay();_3b6=parseInt(days/7);mod=days%7;var _3bb=new Date(_3ac);_3bb.setDate(_3bb.getDate()+(_3b6*7));var _3bc=_3bb.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_3bc+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_3bc+mod)<0:adj=2;}}}days+=adj;days-=(_3b6*2);}_3b0=days;break;case "year":_3b0=_3af;break;case "month":_3b0=(_3ad.getMonth()-_3ac.getMonth())+(_3af*12);break;case "week":_3b0=parseInt(dojo.date.difference(_3ac,_3ad,"day")/7);break;case "day":_3b0/=24;case "hour":_3b0/=60;case "minute":_3b0/=60;case "second":_3b0/=1000;case "millisecond":_3b0*=_3ad.getTime()-_3ac.getTime();}return Math.round(_3b0);};}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_3be){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_3be&&_3be.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_3c2){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("|"),_3c2);};dojo.regexp.group=function(_3c5,_3c6){return "("+(_3c6?"?:":"")+_3c5+")";};}if(!dojo._hasResource["dojo.date.locale"]){dojo._hasResource["dojo.date.locale"]=true;dojo.provide("dojo.date.locale");(function(){function formatPattern(_3c7,_3c8,_3c9,_3ca){return _3ca.replace(/([a-z])\1*/ig,function(_3cb){var s,pad;var c=_3cb.charAt(0);var l=_3cb.length;var _3d0=["abbr","wide","narrow"];switch(c){case "G":s=_3c8[(l<4)?"eraAbbr":"eraNames"][_3c7.getFullYear()<0?0:1];break;case "y":s=_3c7.getFullYear();switch(l){case 1:break;case 2:if(!_3c9){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_3c7.getMonth()+1)/3);pad=true;break;case "M":case "L":var m=_3c7.getMonth();var _3d2;switch(l){case 1:case 2:s=m+1;pad=true;break;case 3:case 4:case 5:_3d2=_3d0[l-3];break;}if(_3d2){var _3d3=(c=="L")?"standalone":"format";var _3d4=["months",_3d3,_3d2].join("-");s=_3c8[_3d4][m];}break;case "w":var _3d5=0;s=dojo.date.locale._getWeekOfYear(_3c7,_3d5);pad=true;break;case "d":s=_3c7.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_3c7);pad=true;break;case "E":case "e":case "c":var d=_3c7.getDay();var _3d7;switch(l){case 1:case 2:if(c=="e"){var _3d8=dojo.cldr.supplemental.getFirstDayOfWeek(options.locale);d=(d-_3d8+7)%7;}if(c!="c"){s=d+1;pad=true;break;}case 3:case 4:case 5:_3d7=_3d0[l-3];break;}if(_3d7){var _3d9=(c=="c")?"standalone":"format";var _3da=["days",_3d9,_3d7].join("-");s=_3c8[_3da][d];}break;case "a":var _3db=(_3c7.getHours()<12)?"am":"pm";s=_3c8[_3db];break;case "h":case "H":case "K":case "k":var h=_3c7.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_3c7.getMinutes();pad=true;break;case "s":s=_3c7.getSeconds();pad=true;break;case "S":s=Math.round(_3c7.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.getTimezoneName(_3c7);if(s){break;}l=4;case "Z":var _3dd=_3c7.getTimezoneOffset();var tz=[(_3dd<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_3dd)/60),2),dojo.string.pad(Math.abs(_3dd)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_3ca);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale.format=function(_3df,_3e0){_3e0=_3e0||{};var _3e1=dojo.i18n.normalizeLocale(_3e0.locale);var _3e2=_3e0.formatLength||"short";var _3e3=dojo.date.locale._getGregorianBundle(_3e1);var str=[];var _3e5=dojo.hitch(this,formatPattern,_3df,_3e3,_3e0.fullYear);if(_3e0.selector=="year"){var year=_3df.getFullYear();if(_3e1.match(/^zh|^ja/)){year+="年";}return year;}if(_3e0.selector!="time"){var _3e7=_3e0.datePattern||_3e3["dateFormat-"+_3e2];if(_3e7){str.push(_processPattern(_3e7,_3e5));}}if(_3e0.selector!="date"){var _3e8=_3e0.timePattern||_3e3["timeFormat-"+_3e2];if(_3e8){str.push(_processPattern(_3e8,_3e5));}}var _3e9=str.join(" ");return _3e9;};dojo.date.locale.regexp=function(_3ea){return dojo.date.locale._parseInfo(_3ea).regexp;};dojo.date.locale._parseInfo=function(_3eb){_3eb=_3eb||{};var _3ec=dojo.i18n.normalizeLocale(_3eb.locale);var _3ed=dojo.date.locale._getGregorianBundle(_3ec);var _3ee=_3eb.formatLength||"short";var _3ef=_3eb.datePattern||_3ed["dateFormat-"+_3ee];var _3f0=_3eb.timePattern||_3ed["timeFormat-"+_3ee];var _3f1;if(_3eb.selector=="date"){_3f1=_3ef;}else{if(_3eb.selector=="time"){_3f1=_3f0;}else{_3f1=_3ef+" "+_3f0;}}var _3f2=[];var re=_processPattern(_3f1,dojo.hitch(this,_buildDateTimeRE,_3f2,_3ed,_3eb));return {regexp:re,tokens:_3f2,bundle:_3ed};};dojo.date.locale.parse=function(_3f4,_3f5){var info=dojo.date.locale._parseInfo(_3f5);var _3f7=info.tokens,_3f8=info.bundle;var re=new RegExp("^"+info.regexp+"$");var _3fa=re.exec(_3f4);if(!_3fa){return null;}var _3fb=["abbr","wide","narrow"];var _3fc=[1970,0,1,0,0,0,0];var amPm="";var _3fe=dojo.every(_3fa,function(v,i){if(!i){return true;}var _401=_3f7[i-1];var l=_401.length;switch(_401.charAt(0)){case "y":if(l!=2&&_3f5.strict){_3fc[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear();var _404=year.substring(0,2)*100;var _405=Math.min(Number(year.substring(2,4))+20,99);var num=(v<_405)?_404+v:_404-100+v;_3fc[0]=num;}else{if(_3f5.strict){return false;}_3fc[0]=v;}}break;case "M":if(l>2){var _407=_3f8["months-format-"+_3fb[l-3]].concat();if(!_3f5.strict){v=v.replace(".","").toLowerCase();_407=dojo.map(_407,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_407,v);if(v==-1){return false;}}else{v--;}_3fc[1]=v;break;case "E":case "e":var days=_3f8["days-format-"+_3fb[l-3]].concat();if(!_3f5.strict){v=v.toLowerCase();days=dojo.map(days,function(d){return d.toLowerCase();});}v=dojo.indexOf(days,v);if(v==-1){return false;}break;case "D":_3fc[1]=0;case "d":_3fc[2]=v;break;case "a":var am=_3f5.am||_3f8.am;var pm=_3f5.pm||_3f8.pm;if(!_3f5.strict){var _40d=/\./g;v=v.replace(_40d,"").toLowerCase();am=am.replace(_40d,"").toLowerCase();pm=pm.replace(_40d,"").toLowerCase();}if(_3f5.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_3fc[3]=v;break;case "m":_3fc[4]=v;break;case "s":_3fc[5]=v;break;case "S":_3fc[6]=v;}return true;});var _40e=+_3fc[3];if(amPm==="p"&&_40e<12){_3fc[3]=_40e+12;}else{if(amPm==="a"&&_40e==12){_3fc[3]=0;}}var _40f=new Date(_3fc[0],_3fc[1],_3fc[2],_3fc[3],_3fc[4],_3fc[5],_3fc[6]);if(_3f5.strict){_40f.setFullYear(_3fc[0]);}var _410=_3f7.join("");if(!_3fe||(_410.indexOf("M")!=-1&&_40f.getMonth()!=_3fc[1])||(_410.indexOf("d")!=-1&&_40f.getDate()!=_3fc[2])){return null;}return _40f;};function _processPattern(_411,_412,_413,_414){var _415=function(x){return x;};_412=_412||_415;_413=_413||_415;_414=_414||_415;var _417=_411.match(/(''|[^'])+/g);var _418=false;dojo.forEach(_417,function(_419,i){if(!_419){_417[i]="";}else{_417[i]=(_418?_413:_412)(_419);_418=!_418;}});return _414(_417.join(""));};function _buildDateTimeRE(_41b,_41c,_41d,_41e){_41e=dojo.regexp.escapeString(_41e);if(!_41d.strict){_41e=_41e.replace(" a"," ?a");}return _41e.replace(/([a-z])\1*/ig,function(_41f){var s;var c=_41f.charAt(0);var l=_41f.length;var p2="",p3="";if(_41d.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+":p2+"[1-9]|1[0-2]";break;case "D":s=p2+"[1-9]|"+p3+"[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6]";break;case "d":s=p2+"[1-9]|[12]\\d|3[01]";break;case "w":s=p2+"[1-9]|[1-4][0-9]|5[0-3]";break;case "E":s="\\S+";break;case "h":s=p2+"[1-9]|1[0-2]";break;case "k":s=p2+"\\d|1[01]";break;case "H":s=p2+"\\d|1\\d|2[0-3]";break;case "K":s=p2+"[1-9]|1\\d|2[0-4]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_41d.am||_41c.am||"AM";var pm=_41d.pm||_41c.pm||"PM";if(_41d.strict){s=am+"|"+pm;}else{s=am+"|"+pm;if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}}break;default:s=".*";}if(_41b){_41b.push(_41f);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _427=[];dojo.date.locale.addCustomFormats=function(_428,_429){_427.push({pkg:_428,name:_429});};dojo.date.locale._getGregorianBundle=function(_42a){var _42b={};dojo.forEach(_427,function(desc){var _42d=dojo.i18n.getLocalization(desc.pkg,desc.name,_42a);_42b=dojo.mixin(_42b,_42d);},this);return _42b;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,use,_431){var _432;var _433=dojo.date.locale._getGregorianBundle(_431);var _434=[item,use,type];if(use=="standAlone"){_432=_433[_434.join("-")];}_434[1]="format";return (_432||_433[_434.join("-")]).concat();};dojo.date.locale.isWeekend=function(_435,_436){var _437=dojo.cldr.supplemental.getWeekend(_436);var day=(_435||new Date()).getDay();if(_437.end<_437.start){_437.end+=7;if(day<_437.start){day+=7;}}return day>=_437.start&&day<=_437.end;};dojo.date.locale._getDayOfYear=function(_439){return dojo.date.difference(new Date(_439.getFullYear(),0,1),_439)+1;};dojo.date.locale._getWeekOfYear=function(_43a,_43b){if(arguments.length==1){_43b=0;}var _43c=new Date(_43a.getFullYear(),0,1).getDay();var adj=(_43c-_43b+7)%7;var week=Math.floor((dojo.date.locale._getDayOfYear(_43a)+adj-1)/7);if(_43c==_43b){week++;}return week;};}if(!dojo._hasResource["dijit._Calendar"]){dojo._hasResource["dijit._Calendar"]=true;dojo.provide("dijit._Calendar");dojo.declare("dijit._Calendar",[dijit._Widget,dijit._Templated],{templateString:"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset' dojoAttachPoint=\"decrementMonth\">\n\t\t\t\t<div class=\"dijitInline dijitCalendarIncrementControl dijitCalendarDecrease\"><span dojoAttachPoint=\"decreaseArrowNode\" class=\"dijitA11ySideArrow dijitCalendarIncrementControl dijitCalendarDecreaseInner\">-</span></div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div dojoAttachPoint=\"monthLabelSpacer\" class=\"dijitCalendarMonthLabelSpacer\"></div>\n\t\t\t\t<div dojoAttachPoint=\"monthLabelNode\" class=\"dijitCalendarMonthLabel\"></div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' dojoAttachPoint=\"incrementMonth\">\n\t\t\t\t<div class=\"dijitInline dijitCalendarIncrementControl dijitCalendarIncrease\"><span dojoAttachPoint=\"increaseArrowNode\" class=\"dijitA11ySideArrow dijitCalendarIncrementControl dijitCalendarIncreaseInner\">+</span></div>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<th class=\"dijitReset dijitCalendarDayLabelTemplate\"><span class=\"dijitCalendarDayLabel\"></span></th>\n\t\t</tr>\n\t</thead>\n\t<tbody dojoAttachEvent=\"onclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t<tr class=\"dijitReset dijitCalendarWeekTemplate\">\n\t\t\t<td class=\"dijitReset dijitCalendarDateTemplate\"><span class=\"dijitCalendarDateLabel\"></span></td>\n\t\t</tr>\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\">\n\t\t\t\t<h3 class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span dojoAttachPoint=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\"></span>\n\t\t\t\t</h3>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\t\n",value:new Date(),dayWidth:"narrow",setValue:function(_43f){if(!this.value||dojo.date.compare(_43f,this.value)){_43f=new Date(_43f);this.displayMonth=new Date(_43f);if(!this.isDisabledDate(_43f,this.lang)){this.value=_43f;this.value.setHours(0,0,0,0);this.onChange(this.value);}this._populateGrid();}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(dojo.doc.createTextNode(text));},_populateGrid:function(){var _442=this.displayMonth;_442.setDate(1);var _443=_442.getDay();var _444=dojo.date.getDaysInMonth(_442);var _445=dojo.date.getDaysInMonth(dojo.date.add(_442,"month",-1));var _446=new Date();var _447=this.value;var _448=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);if(_448>_443){_448-=7;}dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_449,i){i+=_448;var date=new Date(_442);var _44c,_44d="dijitCalendar",adj=0;if(i<_443){_44c=_445-_443+i+1;adj=-1;_44d+="Previous";}else{if(i>=(_443+_444)){_44c=i-_443-_444+1;adj=1;_44d+="Next";}else{_44c=i-_443+1;_44d+="Current";}}if(adj){date=dojo.date.add(date,"month",adj);}date.setDate(_44c);if(!dojo.date.compare(date,_446,"date")){_44d="dijitCalendarCurrentDate "+_44d;}if(!dojo.date.compare(date,_447,"date")){_44d="dijitCalendarSelectedDate "+_44d;}if(this.isDisabledDate(date,this.lang)){_44d="dijitCalendarDisabledDate "+_44d;}var _44f=this.getClassForDate(date,this.lang);if(_44f){_44d+=_44f+" "+_44d;}_449.className=_44d+"Month dijitCalendarDateTemplate";_449.dijitDateValue=date.valueOf();var _450=dojo.query(".dijitCalendarDateLabel",_449)[0];this._setText(_450,date.getDate());},this);var _451=dojo.date.locale.getNames("months","wide","standAlone",this.lang);this._setText(this.monthLabelNode,_451[_442.getMonth()]);var y=_442.getFullYear()-1;var d=new Date();dojo.forEach(["previous","current","next"],function(name){d.setFullYear(y++);this._setText(this[name+"YearLabelNode"],dojo.date.locale.format(d,{selector:"year",locale:this.lang}));},this);var _455=this;var _456=function(_457,_458,adj){dijit.typematic.addMouseListener(_455[_457],_455,function(_45a){if(_45a>=0){_455._adjustDisplay(_458,adj);}},0.8,500);};_456("incrementMonth","month",1);_456("decrementMonth","month",-1);_456("nextYearLabelNode","year",1);_456("previousYearLabelNode","year",-1);},goToToday:function(){this.setValue(new Date());},postCreate:function(){this.inherited(arguments);var _45b=dojo.hitch(this,function(_45c,n){var _45e=dojo.query(_45c,this.domNode)[0];for(var i=0;i<n;i++){_45e.parentNode.appendChild(_45e.cloneNode(true));}});_45b(".dijitCalendarDayLabelTemplate",6);_45b(".dijitCalendarDateTemplate",6);_45b(".dijitCalendarWeekTemplate",5);var _460=dojo.date.locale.getNames("days",this.dayWidth,"standAlone",this.lang);var _461=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);dojo.query(".dijitCalendarDayLabel",this.domNode).forEach(function(_462,i){this._setText(_462,_460[(i+_461)%7]);},this);var _464=dojo.date.locale.getNames("months","wide","standAlone",this.lang);dojo.forEach(_464,function(name){var _466=dojo.doc.createElement("div");this._setText(_466,name);this.monthLabelSpacer.appendChild(_466);},this);this.value=null;this.setValue(new Date());},_adjustDisplay:function(part,_468){this.displayMonth=dojo.date.add(this.displayMonth,part,_468);this._populateGrid();},_onDayClick:function(evt){var node=evt.target;dojo.stopEvent(evt);while(!node.dijitDateValue){node=node.parentNode;}if(!dojo.hasClass(node,"dijitCalendarDisabledDate")){this.setValue(node.dijitDateValue);this.onValueSelected(this.value);}},onValueSelected:function(date){},onChange:function(date){},isDisabledDate:function(_46d,_46e){},getClassForDate:function(_46f,_470){}});}if(!dojo._hasResource["dijit.form._DateTimeTextBox"]){dojo._hasResource["dijit.form._DateTimeTextBox"]=true;dojo.provide("dijit.form._DateTimeTextBox");dojo.declare("dijit.form._DateTimeTextBox",dijit.form.RangeBoundTextBox,{regExpGen:dojo.date.locale.regexp,compare:dojo.date.compare,format:function(_471,_472){if(!_471){return "";}return dojo.date.locale.format(_471,_472);},parse:function(_473,_474){return dojo.date.locale.parse(_473,_474)||undefined;},serialize:dojo.date.stamp.toISOString,value:new Date(""),popupClass:"",_selector:"",postMixInProperties:function(){this.inherited(arguments);if(!this.value||this.value.toString()==dijit.form._DateTimeTextBox.prototype.value.toString()){this.value=undefined;}var _475=this.constraints;_475.selector=this._selector;_475.fullYear=true;var _476=dojo.date.stamp.fromISOString;if(typeof _475.min=="string"){_475.min=_476(_475.min);}if(typeof _475.max=="string"){_475.max=_476(_475.max);}},_onFocus:function(evt){this._open();},setValue:function(_478,_479,_47a){this.inherited(arguments);if(this._picker){if(!_478){_478=new Date();}this._picker.setValue(_478);}},_open:function(){if(this.disabled||this.readOnly||!this.popupClass){return;}var _47b=this;if(!this._picker){var _47c=dojo.getObject(this.popupClass,false);this._picker=new _47c({onValueSelected:function(_47d){_47b.focus();setTimeout(dojo.hitch(_47b,"_close"),1);dijit.form._DateTimeTextBox.superclass.setValue.call(_47b,_47d,true);},lang:_47b.lang,constraints:_47b.constraints,isDisabledDate:function(date){var _47f=dojo.date.compare;var _480=_47b.constraints;return _480&&(_480.min&&(_47f(_480.min,date,"date")>0)||(_480.max&&_47f(_480.max,date,"date")<0));}});this._picker.setValue(this.getValue()||new Date());}if(!this._opened){dijit.popup.open({parent:this,popup:this._picker,around:this.domNode,onCancel:dojo.hitch(this,this._close),onClose:function(){_47b._opened=false;}});this._opened=true;}dojo.marginBox(this._picker.domNode,{w:this.domNode.offsetWidth});},_close:function(){if(this._opened){dijit.popup.close(this._picker);this._opened=false;}},_onBlur:function(){this._close();if(this._picker){this._picker.destroy();delete this._picker;}this.inherited(arguments);},getDisplayedValue:function(){return this.textbox.value;},setDisplayedValue:function(_481,_482){this.setValue(this.parse(_481,this.constraints),_482,_481);},destroy:function(){if(this._picker){this._picker.destroy();delete this._picker;}this.inherited(arguments);},_onKeyPress:function(e){if(dijit.form._DateTimeTextBox.superclass._onKeyPress.apply(this,arguments)){if(this._opened&&e.keyCode==dojo.keys.ESCAPE&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){this._close();dojo.stopEvent(e);}}}});}if(!dojo._hasResource["dijit.form.DateTextBox"]){dojo._hasResource["dijit.form.DateTextBox"]=true;dojo.provide("dijit.form.DateTextBox");dojo.declare("dijit.form.DateTextBox",dijit.form._DateTimeTextBox,{popupClass:"dijit._Calendar",_selector:"date"});}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._copyKey=navigator.appVersion.indexOf("Macintosh")<0?"ctrlKey":"metaKey";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);b.l+=t.x+n.scrollLeft;b.t+=t.y+n.scrollTop;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-b.l,ry=e.pageY-b.t,dx=0,dy=0;if(rx>0&&rx<b.w){if(rx<w){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(rx>b.w-w){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(ry>b.h-h){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}}var _49b=n.scrollLeft,_49c=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_49b!=n.scrollLeft||_49c!=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,_4a2=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo,"stopEvent"),dojo.connect(d,"onselectstart",dojo,"stopEvent"),_4a2];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});},onMouseUp:function(e){if(this.mouseButton==e.button){this.destroy();}},onFirstMove:function(){var s=this.node.style,l,t;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left));t=Math.round(parseFloat(s.top));break;default:s.position="absolute";var m=dojo.marginBox(this.node);l=m.l;t=m.t;break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;this.host.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=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,_4ac){this.node=dojo.byId(node);if(!_4ac){_4ac={};}this.handle=_4ac.handle?dojo.byId(_4ac.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_4ac.delay>0?_4ac.delay:0;this.skip=_4ac.skip;this.mover=_4ac.mover?_4ac.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(_4ad,node){return new dojo.dnd.Moveable(node,_4ad);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"));this.events.push(dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{new this.mover(this.node,e,this);}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);new this.mover(this.node,e,this);}dojo.stopEvent(e);},onMouseUp:function(e){dojo.disconnect(this.events.pop());dojo.disconnect(this.events.pop());},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onMoveStart:function(_4b3){dojo.publish("/dnd/move/start",[_4b3]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_4b4){dojo.publish("/dnd/move/stop",[_4b4]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_4b5){},onMove:function(_4b6,_4b7){this.onMoving(_4b6,_4b7);var s=_4b6.node.style;s.left=_4b7.l+"px";s.top=_4b7.t+"px";this.onMoved(_4b6,_4b7);},onMoving:function(_4b9,_4ba){},onMoved:function(_4bb,_4bc){}});}if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _4bd=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_4bf){if(!_4bf){_4bf={};}if(_4bf.timeout&&typeof _4bf.timeout=="number"&&_4bf.timeout>=0){this.timeout=_4bf.timeout;}},markupFactory:function(_4c0,node){return new dojo.dnd.TimedMoveable(node,_4c0);},onMoveStop:function(_4c2){if(_4c2._timer){clearTimeout(_4c2._timer);_4bd.call(this,_4c2,_4c2._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_4c3,_4c4){_4c3._leftTop=_4c4;if(!_4c3._timer){var _t=this;_4c3._timer=setTimeout(function(){_4c3._timer=null;_4bd.call(_t,_4c3,_4c3._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper' id='${id}_wrapper'><div class='dijitDialogUnderlay ${class}' id='${id}' dojoAttachPoint='node'></div></div>",attributeMap:{},postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);},layout:function(){var _4c6=dijit.getViewport();var is=this.node.style,os=this.domNode.style;os.top=_4c6.t+"px";os.left=_4c6.l+"px";is.width=_4c6.w+"px";is.height=_4c6.h+"px";var _4c9=dijit.getViewport();if(_4c6.w!=_4c9.w){is.width=_4c9.w+"px";}if(_4c6.h!=_4c9.h){is.height=_4c9.h+"px";}},show:function(){this.domNode.style.display="block";this.layout();if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="block";}this._resizeHandler=this.connect(window,"onresize","layout");},hide:function(){this.domNode.style.display="none";if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="none";}this.disconnect(this._resizeHandler);},uninitialize:function(){if(this.bgIframe){this.bgIframe.destroy();}}});dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_4ca){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.getValues());},_getFocusItems:function(_4cb){var _4cc=dijit.getFirstInTabbingOrder(_4cb);this._firstFocusItem=_4cc?_4cc:_4cb;_4cc=dijit.getLastInTabbingOrder(_4cb);this._lastFocusItem=_4cc?_4cc:this._firstFocusItem;if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.attr(this._firstFocusItem,"type").toLowerCase()=="file"){dojo.attr(_4cb,"tabindex","0");this._firstFocusItem=_4cb;}}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{templateString:null,templateString:"<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\">${title}</span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n",open:false,duration:400,refocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{title:"titleBar"}),postCreate:function(){dojo.body().appendChild(this.domNode);this.inherited(arguments);var _4cd=dojo.i18n.getLocalization("dijit","common");if(this.closeButtonNode){this.closeButtonNode.setAttribute("title",_4cd.buttonCancel);}if(this.closeText){this.closeText.setAttribute("title",_4cd.buttonCancel);}var s=this.domNode.style;s.visibility="hidden";s.position="absolute";s.display="";s.top="-9999px";this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();this.inherited(arguments);},_setup:function(){if(this.titleBar){this._moveable=new dojo.dnd.TimedMoveable(this.domNode,{handle:this.titleBar,timeout:0});}this._underlay=new dijit.DialogUnderlay({id:this.id+"_underlay","class":dojo.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")});var node=this.domNode;this._fadeIn=dojo.fx.combine([dojo.fadeIn({node:node,duration:this.duration}),dojo.fadeIn({node:this._underlay.domNode,duration:this.duration,onBegin:dojo.hitch(this._underlay,"show")})]);this._fadeOut=dojo.fx.combine([dojo.fadeOut({node:node,duration:this.duration,onEnd:function(){node.style.visibility="hidden";node.style.top="-9999px";}}),dojo.fadeOut({node:this._underlay.domNode,duration:this.duration,onEnd:dojo.hitch(this._underlay,"hide")})]);},uninitialize:function(){if(this._fadeIn&&this._fadeIn.status()=="playing"){this._fadeIn.stop();}if(this._fadeOut&&this._fadeOut.status()=="playing"){this._fadeOut.stop();}if(this._underlay){this._underlay.destroy();}},_position:function(){if(dojo.hasClass(dojo.body(),"dojoMove")){return;}var _4d1=dijit.getViewport();var mb=dojo.marginBox(this.domNode);var _4d3=this.domNode.style;_4d3.left=Math.floor((_4d1.l+(_4d1.w-mb.w)/2))+"px";_4d3.top=Math.floor((_4d1.t+(_4d1.h-mb.h)/2))+"px";},_onKey:function(evt){if(evt.keyCode){var node=evt.target;if(evt.keyCode==dojo.keys.TAB){this._getFocusItems(this.domNode);}var _4d6=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(!_4d6){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.keyCode==dojo.keys.TAB&&!evt.shiftKey){if(!_4d6){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode){if(evt.keyCode==dojo.keys.ESCAPE){this.hide();}else{return;}}node=node.parentNode;}if(evt.keyCode!=dojo.keys.TAB){dojo.stopEvent(evt);}else{if(!dojo.isOpera){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOut.status()=="playing"){this._fadeOut.stop();}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(dojo.doc.documentElement,"onkeypress",this,"_onKey"));dojo.style(this.domNode,"opacity",0);this.domNode.style.visibility="";this.open=true;this._loadCheck();this._position();this._fadeIn.play();this._savedFocus=dijit.getFocus(this);this._getFocusItems(this.domNode);setTimeout(dojo.hitch(this,function(){dijit.focus(this._firstFocusItem);}),50);},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeIn.status()=="playing"){this._fadeIn.stop();}this._fadeOut.play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];if(this.refocus){this.connect(this._fadeOut,"onEnd",dojo.hitch(dijit,"focus",this._savedFocus));}this.open=false;},layout:function(){if(this.domNode.style.visibility!="hidden"){this._underlay.layout();this._position();}},destroy:function(){dojo.forEach(this._modalconnects,dojo.disconnect);if(this.refocus&&this.open){var fo=this._savedFocus;setTimeout(dojo.hitch(dijit,"focus",fo),25);}this.inherited(arguments);}});dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,_firstFocusItem:null,_lastFocusItem:null,templateString:null,templateString:"<div class=\"dijitTooltipDialog\" waiRole=\"presentation\">\n\t<div class=\"dijitTooltipContainer\" waiRole=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"-1\" waiRole=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" waiRole=\"presenation\"></div>\n</div>\n",postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");this.containerNode.title=this.title;},orient:function(node,_4d9,_4da){this.domNode.className="dijitTooltipDialog "+" dijitTooltipAB"+(_4da.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_4da.charAt(0)=="T"?"Below":"Above");},onOpen:function(pos){this._getFocusItems(this.containerNode);this.orient(this.domNode,pos.aroundCorner,pos.corner);this._loadCheck();dijit.focus(this._firstFocusItem);},_onKey:function(evt){var node=evt.target;if(evt.keyCode==dojo.keys.TAB){this._getFocusItems(this.containerNode);}var _4de=(this._firstFocusItem==this._lastFocusItem);if(evt.keyCode==dojo.keys.ESCAPE){this.onCancel();}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(!_4de){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.keyCode==dojo.keys.TAB&&!evt.shiftKey){if(!_4de){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.keyCode==dojo.keys.TAB){evt.stopPropagation();}}}}}});}if(!dojo._hasResource["dojo.data.util.filter"]){dojo._hasResource["dojo.data.util.filter"]=true;dojo.provide("dojo.data.util.filter");dojo.data.util.filter.patternToRegExp=function(_4df,_4e0){var rxp="^";var c=null;for(var i=0;i<_4df.length;i++){c=_4df.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_4df.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_4e0){return new RegExp(rxp,"i");}else{return new RegExp(rxp);}};}if(!dojo._hasResource["dojo.data.util.sorter"]){dojo._hasResource["dojo.data.util.sorter"]=true;dojo.provide("dojo.data.util.sorter");dojo.data.util.sorter.basicComparator=function(a,b){var ret=0;if(a>b||typeof a==="undefined"||a===null){ret=1;}else{if(a<b||typeof b==="undefined"||b===null){ret=-1;}}return ret;};dojo.data.util.sorter.createSortFunction=function(_4e7,_4e8){var _4e9=[];function createSortFunction(attr,dir){return function(_4ec,_4ed){var a=_4e8.getValue(_4ec,attr);var b=_4e8.getValue(_4ed,attr);var _4f0=null;if(_4e8.comparatorMap){if(typeof attr!=="string"){attr=_4e8.getIdentity(attr);}_4f0=_4e8.comparatorMap[attr]||dojo.data.util.sorter.basicComparator;}_4f0=_4f0||dojo.data.util.sorter.basicComparator;return dir*_4f0(a,b);};};for(var i=0;i<_4e7.length;i++){sortAttribute=_4e7[i];if(sortAttribute.attribute){var _4f2=(sortAttribute.descending)?-1:1;_4e9.push(createSortFunction(sortAttribute.attribute,_4f2));}}return function(rowA,rowB){var i=0;while(i<_4e9.length){var ret=_4e9[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};}if(!dojo._hasResource["dojo.data.util.simpleFetch"]){dojo._hasResource["dojo.data.util.simpleFetch"]=true;dojo.provide("dojo.data.util.simpleFetch");dojo.data.util.simpleFetch.fetch=function(_4f7){_4f7=_4f7||{};if(!_4f7.store){_4f7.store=this;}var self=this;var _4f9=function(_4fa,_4fb){if(_4fb.onError){var _4fc=_4fb.scope||dojo.global;_4fb.onError.call(_4fc,_4fa,_4fb);}};var _4fd=function(_4fe,_4ff){var _500=_4ff.abort||null;var _501=false;var _502=_4ff.start?_4ff.start:0;var _503=_4ff.count?(_502+_4ff.count):_4fe.length;_4ff.abort=function(){_501=true;if(_500){_500.call(_4ff);}};var _504=_4ff.scope||dojo.global;if(!_4ff.store){_4ff.store=self;}if(_4ff.onBegin){_4ff.onBegin.call(_504,_4fe.length,_4ff);}if(_4ff.sort){_4fe.sort(dojo.data.util.sorter.createSortFunction(_4ff.sort,self));}if(_4ff.onItem){for(var i=_502;(i<_4fe.length)&&(i<_503);++i){var item=_4fe[i];if(!_501){_4ff.onItem.call(_504,item,_4ff);}}}if(_4ff.onComplete&&!_501){var _507=null;if(!_4ff.onItem){_507=_4fe.slice(_502,_503);}_4ff.onComplete.call(_504,_507,_4ff);}};this._fetchItems(_4f7,_4fd,_4f9);return _4f7;};}if(!dojo._hasResource["dojo.data.ItemFileReadStore"]){dojo._hasResource["dojo.data.ItemFileReadStore"]=true;dojo.provide("dojo.data.ItemFileReadStore");dojo.declare("dojo.data.ItemFileReadStore",null,{constructor:function(_508){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_508.url;this._jsonData=_508.data;this._datatypeMap=_508.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_509){return dojo.date.stamp.fromISOString(_509);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];},url:"",_assertIsItem:function(item){if(!this.isItem(item)){throw new Error("dojo.data.ItemFileReadStore: Invalid item argument.");}},_assertIsAttribute:function(_50b){if(typeof _50b!=="string"){throw new Error("dojo.data.ItemFileReadStore: Invalid attribute argument.");}},getValue:function(item,_50d,_50e){var _50f=this.getValues(item,_50d);return (_50f.length>0)?_50f[0]:_50e;},getValues:function(item,_511){this._assertIsItem(item);this._assertIsAttribute(_511);return item[_511]||[];},getAttributes:function(item){this._assertIsItem(item);var _513=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_513.push(key);}}return _513;},hasAttribute:function(item,_516){return this.getValues(item,_516).length>0;},containsValue:function(item,_518,_519){var _51a=undefined;if(typeof _519==="string"){_51a=dojo.data.util.filter.patternToRegExp(_519,false);}return this._containsValue(item,_518,_519,_51a);},_containsValue:function(item,_51c,_51d,_51e){return dojo.some(this.getValues(item,_51c),function(_51f){if(_51f!==null&&!dojo.isObject(_51f)&&_51e){if(_51f.toString().match(_51e)){return true;}}else{if(_51d===_51f){return true;}}});},isItem:function(_520){if(_520&&_520[this._storeRefPropName]===this){if(this._arrayOfAllItems[_520[this._itemNumPropName]]===_520){return true;}}return false;},isItemLoaded:function(_521){return this.isItem(_521);},loadItem:function(_522){this._assertIsItem(_522.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},_fetchItems:function(_525,_526,_527){var self=this;var _529=function(_52a,_52b){var _52c=[];if(_52a.query){var _52d=_52a.queryOptions?_52a.queryOptions.ignoreCase:false;var _52e={};for(var key in _52a.query){var _530=_52a.query[key];if(typeof _530==="string"){_52e[key]=dojo.data.util.filter.patternToRegExp(_530,_52d);}}for(var i=0;i<_52b.length;++i){var _532=true;var _533=_52b[i];if(_533===null){_532=false;}else{for(var key in _52a.query){var _530=_52a.query[key];if(!self._containsValue(_533,key,_530,_52e[key])){_532=false;}}}if(_532){_52c.push(_533);}}_526(_52c,_52a);}else{for(var i=0;i<_52b.length;++i){var item=_52b[i];if(item!==null){_52c.push(item);}}_526(_52c,_52a);}};if(this._loadFinished){_529(_525,this._getItemsArray(_525.queryOptions));}else{if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_525,filter:_529});}else{this._loadInProgress=true;var _535={url:self._jsonFileUrl,handleAs:"json-comment-optional"};var _536=dojo.xhrGet(_535);_536.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;_529(_525,self._getItemsArray(_525.queryOptions));self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_527(e,_525);}});_536.addErrback(function(_538){self._loadInProgress=false;_527(_538,_525);});}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;_529(_525,this._getItemsArray(_525.queryOptions));}catch(e){_527(e,_525);}}else{_527(new Error("dojo.data.ItemFileReadStore: No JSON source data was provided as either URL or a nested Javascript object."),_525);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _53a=this._queuedFetches[i];var _53b=_53a.args;var _53c=_53a.filter;if(_53c){_53c(_53b,this._getItemsArray(_53b.queryOptions));}else{this.fetchItemByIdentity(_53b);}}this._queuedFetches=[];}},_getItemsArray:function(_53d){if(_53d&&_53d.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_53e){},_getItemsFromLoadedData:function(_53f){function valueIsAnItem(_540){var _541=((_540!=null)&&(typeof _540=="object")&&(!dojo.isArray(_540))&&(!dojo.isFunction(_540))&&(_540.constructor==Object)&&(typeof _540._reference=="undefined")&&(typeof _540._type=="undefined")&&(typeof _540._value=="undefined"));return _541;};var self=this;function addItemAndSubItemsToArrayOfAllItems(_543){self._arrayOfAllItems.push(_543);for(var _544 in _543){var _545=_543[_544];if(_545){if(dojo.isArray(_545)){var _546=_545;for(var k=0;k<_546.length;++k){var _548=_546[k];if(valueIsAnItem(_548)){addItemAndSubItemsToArrayOfAllItems(_548);}}}else{if(valueIsAnItem(_545)){addItemAndSubItemsToArrayOfAllItems(_545);}}}}};this._labelAttr=_53f.label;var i;var item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_53f.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];addItemAndSubItemsToArrayOfAllItems(item);item[this._rootItemPropName]=true;}var _54b={};var key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _54d=item[key];if(_54d!==null){if(!dojo.isArray(_54d)){item[key]=[_54d];}}else{item[key]=[null];}}_54b[key]=key;}}while(_54b[this._storeRefPropName]){this._storeRefPropName+="_";}while(_54b[this._itemNumPropName]){this._itemNumPropName+="_";}while(_54b[this._reverseRefMap]){this._reverseRefMap+="_";}var _54e;var _54f=_53f.identifier;if(_54f){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_54f;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_54e=item[_54f];var _550=_54e[0];if(!this._itemsByIdentity[_550]){this._itemsByIdentity[_550]=item;}else{if(this._jsonFileUrl){throw new Error("dojo.data.ItemFileReadStore:  The json data as specified by: ["+this._jsonFileUrl+"] is malformed.  Items within the list have identifier: ["+_54f+"].  Value collided: ["+_550+"]");}else{if(this._jsonData){throw new Error("dojo.data.ItemFileReadStore:  The json data provided by the creation arguments is malformed.  Items within the list have identifier: ["+_54f+"].  Value collided: ["+_550+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];item[this._storeRefPropName]=this;item[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){_54e=item[key];for(var j=0;j<_54e.length;++j){_54d=_54e[j];if(_54d!==null&&typeof _54d=="object"){if(_54d._type&&_54d._value){var type=_54d._type;var _553=this._datatypeMap[type];if(!_553){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(dojo.isFunction(_553)){_54e[j]=new _553(_54d._value);}else{if(dojo.isFunction(_553.deserialize)){_54e[j]=_553.deserialize(_54d._value);}else{throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");}}}}if(_54d._reference){var _554=_54d._reference;if(!dojo.isObject(_554)){_54e[j]=this._itemsByIdentity[_554];}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _556=this._arrayOfAllItems[k];var _557=true;for(var _558 in _554){if(_556[_558]!=_554[_558]){_557=false;}}if(_557){_54e[j]=_556;}}}if(this.referenceIntegrity){var _559=_54e[j];if(this.isItem(_559)){this._addReferenceToMap(_559,item,key);}}}else{if(this.isItem(_54d)){if(this.referenceIntegrity){this._addReferenceToMap(_54d,item,key);}}}}}}}},_addReferenceToMap:function(_55a,_55b,_55c){},getIdentity:function(item){var _55e=this._features["dojo.data.api.Identity"];if(_55e===Number){return item[this._itemNumPropName];}else{var _55f=item[_55e];if(_55f){return _55f[0];}}return null;},fetchItemByIdentity:function(_560){if(!this._loadFinished){var self=this;if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_560});}else{this._loadInProgress=true;var _562={url:self._jsonFileUrl,handleAs:"json-comment-optional"};var _563=dojo.xhrGet(_562);_563.addCallback(function(data){var _565=_560.scope?_560.scope:dojo.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;var item=self._getItemByIdentity(_560.identity);if(_560.onItem){_560.onItem.call(_565,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_560.onError){_560.onError.call(_565,error);}}});_563.addErrback(function(_567){self._loadInProgress=false;if(_560.onError){var _568=_560.scope?_560.scope:dojo.global;_560.onError.call(_568,_567);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;var item=self._getItemByIdentity(_560.identity);if(_560.onItem){var _56a=_560.scope?_560.scope:dojo.global;_560.onItem.call(_56a,item);}}}}else{var item=this._getItemByIdentity(_560.identity);if(_560.onItem){var _56a=_560.scope?_560.scope:dojo.global;_560.onItem.call(_56a,item);}}},_getItemByIdentity:function(_56b){var item=null;if(this._itemsByIdentity){item=this._itemsByIdentity[_56b];}else{item=this._arrayOfAllItems[_56b];}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _56e=this._features["dojo.data.api.Identity"];if(_56e===Number){return null;}else{return [_56e];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl){var _570={url:self._jsonFileUrl,handleAs:"json-comment-optional",sync:true};var _571=dojo.xhrGet(_570);_571.addCallback(function(data){try{if(self._loadInProgress!==true&&!self._loadFinished){self._getItemsFromLoadedData(data);self._loadFinished=true;}}catch(e){console.log(e);throw e;}});_571.addErrback(function(_573){throw _573;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});dojo.extend(dojo.data.ItemFileReadStore,dojo.data.util.simpleFetch);}if(!dojo._hasResource["dojox.gfx.matrix"]){dojo._hasResource["dojox.gfx.matrix"]=true;dojo.provide("dojox.gfx.matrix");(function(){var m=dojox.gfx.matrix;m._degToRad=function(_575){return Math.PI*_575/180;};m._radToDeg=function(_576){return _576/Math.PI*180;};m.Matrix2D=function(arg){if(arg){if(typeof arg=="number"){this.xx=this.yy=arg;}else{if(arg instanceof Array){if(arg.length>0){var _578=m.normalize(arg[0]);for(var i=1;i<arg.length;++i){var l=_578,r=dojox.gfx.matrix.normalize(arg[i]);_578=new m.Matrix2D();_578.xx=l.xx*r.xx+l.xy*r.yx;_578.xy=l.xx*r.xy+l.xy*r.yy;_578.yx=l.yx*r.xx+l.yy*r.yx;_578.yy=l.yx*r.xy+l.yy*r.yy;_578.dx=l.xx*r.dx+l.xy*r.dy+l.dx;_578.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}dojo.mixin(this,_578);}}else{dojo.mixin(this,arg);}}}};dojo.extend(m.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});dojo.mixin(m,{identity:new m.Matrix2D(),flipX:new m.Matrix2D({xx:-1}),flipY:new m.Matrix2D({yy:-1}),flipXY:new m.Matrix2D({xx:-1,yy:-1}),translate:function(a,b){if(arguments.length>1){return new m.Matrix2D({dx:a,dy:b});}return new m.Matrix2D({dx:a.x,dy:a.y});},scale:function(a,b){if(arguments.length>1){return new m.Matrix2D({xx:a,yy:b});}if(typeof a=="number"){return new m.Matrix2D({xx:a,yy:a});}return new m.Matrix2D({xx:a.x,yy:a.y});},rotate:function(_580){var c=Math.cos(_580);var s=Math.sin(_580);return new m.Matrix2D({xx:c,xy:-s,yx:s,yy:c});},rotateg:function(_583){return m.rotate(m._degToRad(_583));},skewX:function(_584){return new m.Matrix2D({xy:-Math.tan(_584)});},skewXg:function(_585){return m.skewX(m._degToRad(_585));},skewY:function(_586){return new m.Matrix2D({yx:Math.tan(_586)});},skewYg:function(_587){return m.skewY(m._degToRad(_587));},reflect:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=2*a*b/n2;return new m.Matrix2D({xx:2*a2/n2-1,xy:xy,yx:xy,yy:2*b2/n2-1});},project:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=a*b/n2;return new m.Matrix2D({xx:a2/n2,xy:xy,yx:xy,yy:b2/n2});},normalize:function(_594){return (_594 instanceof m.Matrix2D)?_594:new m.Matrix2D(_594);},clone:function(_595){var obj=new m.Matrix2D();for(var i in _595){if(typeof (_595[i])=="number"&&typeof (obj[i])=="number"&&obj[i]!=_595[i]){obj[i]=_595[i];}}return obj;},invert:function(_598){var M=m.normalize(_598),D=M.xx*M.yy-M.xy*M.yx,M=new m.Matrix2D({xx:M.yy/D,xy:-M.xy/D,yx:-M.yx/D,yy:M.xx/D,dx:(M.xy*M.dy-M.yy*M.dx)/D,dy:(M.yx*M.dx-M.xx*M.dy)/D});return M;},_multiplyPoint:function(_59b,x,y){return {x:_59b.xx*x+_59b.xy*y+_59b.dx,y:_59b.yx*x+_59b.yy*y+_59b.dy};},multiplyPoint:function(_59e,a,b){var M=m.normalize(_59e);if(typeof a=="number"&&typeof b=="number"){return m._multiplyPoint(M,a,b);}return m._multiplyPoint(M,a.x,a.y);},multiply:function(_5a2){var M=m.normalize(_5a2);for(var i=1;i<arguments.length;++i){var l=M,r=m.normalize(arguments[i]);M=new m.Matrix2D();M.xx=l.xx*r.xx+l.xy*r.yx;M.xy=l.xx*r.xy+l.xy*r.yy;M.yx=l.yx*r.xx+l.yy*r.yx;M.yy=l.yx*r.xy+l.yy*r.yy;M.dx=l.xx*r.dx+l.xy*r.dy+l.dx;M.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}return M;},_sandwich:function(_5a7,x,y){return m.multiply(m.translate(x,y),_5a7,m.translate(-x,-y));},scaleAt:function(a,b,c,d){switch(arguments.length){case 4:return m._sandwich(m.scale(a,b),c,d);case 3:if(typeof c=="number"){return m._sandwich(m.scale(a),b,c);}return m._sandwich(m.scale(a,b),c.x,c.y);}return m._sandwich(m.scale(a),b.x,b.y);},rotateAt:function(_5ae,a,b){if(arguments.length>2){return m._sandwich(m.rotate(_5ae),a,b);}return m._sandwich(m.rotate(_5ae),a.x,a.y);},rotategAt:function(_5b1,a,b){if(arguments.length>2){return m._sandwich(m.rotateg(_5b1),a,b);}return m._sandwich(m.rotateg(_5b1),a.x,a.y);},skewXAt:function(_5b4,a,b){if(arguments.length>2){return m._sandwich(m.skewX(_5b4),a,b);}return m._sandwich(m.skewX(_5b4),a.x,a.y);},skewXgAt:function(_5b7,a,b){if(arguments.length>2){return m._sandwich(m.skewXg(_5b7),a,b);}return m._sandwich(m.skewXg(_5b7),a.x,a.y);},skewYAt:function(_5ba,a,b){if(arguments.length>2){return m._sandwich(m.skewY(_5ba),a,b);}return m._sandwich(m.skewY(_5ba),a.x,a.y);},skewYgAt:function(_5bd,a,b){if(arguments.length>2){return m._sandwich(m.skewYg(_5bd),a,b);}return m._sandwich(m.skewYg(_5bd),a.x,a.y);}});})();dojox.gfx.Matrix2D=dojox.gfx.matrix.Matrix2D;}if(!dojo._hasResource["dojox.gfx._base"]){dojo._hasResource["dojox.gfx._base"]=true;dojo.provide("dojox.gfx._base");(function(){var g=dojox.gfx,b=g._base;g._hasClass=function(node,_5c3){return ((" "+node.getAttribute("className")+" ").indexOf(" "+_5c3+" ")>=0);};g._addClass=function(node,_5c5){var cls=node.getAttribute("className");if((" "+cls+" ").indexOf(" "+_5c5+" ")<0){node.setAttribute("className",cls+(cls?" ":"")+_5c5);}};g._removeClass=function(node,_5c8){node.setAttribute("className",node.getAttribute("className").replace(new RegExp("(^|\\s+)"+_5c8+"(\\s+|$)"),"$1$2"));};b._getFontMeasurements=function(){var _5c9={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};if(dojo.isIE){dojo.doc.documentElement.style.fontSize="100%";}var div=dojo.doc.createElement("div");div.style.position="absolute";div.style.left="-100px";div.style.top="0";div.style.width="30px";div.style.height="1000em";div.style.border="0";div.style.margin="0";div.style.padding="0";div.style.outline="0";div.style.lineHeight="1";div.style.overflow="hidden";dojo.body().appendChild(div);for(var p in _5c9){div.style.fontSize=p;_5c9[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}dojo.body().removeChild(div);div=null;return _5c9;};var _5cc=null;b._getCachedFontMeasurements=function(_5cd){if(_5cd||!_5cc){_5cc=b._getFontMeasurements();}return _5cc;};var _5ce=null,_5cf={};b._getTextBox=function(text,_5d1,_5d2){var m;if(!_5ce){m=_5ce=dojo.doc.createElement("div");m.style.position="absolute";m.style.left="-10000px";m.style.top="0";dojo.body().appendChild(m);}else{m=_5ce;}m.className="";m.style.border="0";m.style.margin="0";m.style.padding="0";m.style.outline="0";if(arguments.length>1&&_5d1){for(var i in _5d1){if(i in _5cf){continue;}m.style[i]=_5d1[i];}}if(arguments.length>2&&_5d2){m.className=_5d2;}m.innerHTML=text;return dojo.marginBox(m);};var _5d5=0;b._getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++_5d5);}while(dojo.byId(id));return id;};})();dojo.mixin(dojox.gfx,{defaultPath:{type:"path",path:""},defaultPolyline:{type:"polyline",points:[]},defaultRect:{type:"rect",x:0,y:0,width:100,height:100,r:0},defaultEllipse:{type:"ellipse",cx:0,cy:0,rx:200,ry:100},defaultCircle:{type:"circle",cx:0,cy:0,r:100},defaultLine:{type:"line",x1:0,y1:0,x2:100,y2:100},defaultImage:{type:"image",x:0,y:0,width:0,height:0,src:""},defaultText:{type:"text",x:0,y:0,text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultStroke:{type:"stroke",color:"black",style:"solid",width:1,cap:"butt",join:4},defaultLinearGradient:{type:"linear",x1:0,y1:0,x2:100,y2:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultRadialGradient:{type:"radial",cx:0,cy:0,r:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultPattern:{type:"pattern",x:0,y:0,width:0,height:0,src:""},defaultFont:{type:"font",style:"normal",variant:"normal",weight:"normal",size:"10pt",family:"serif"},normalizeColor:function(_5d7){return (_5d7 instanceof dojo.Color)?_5d7:new dojo.Color(_5d7);},normalizeParameters:function(_5d8,_5d9){if(_5d9){var _5da={};for(var x in _5d8){if(x in _5d9&&!(x in _5da)){_5d8[x]=_5d9[x];}}}return _5d8;},makeParameters:function(_5dc,_5dd){if(!_5dd){return dojo.clone(_5dc);}var _5de={};for(var i in _5dc){if(!(i in _5de)){_5de[i]=dojo.clone((i in _5dd)?_5dd[i]:_5dc[i]);}}return _5de;},formatNumber:function(x,_5e1){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _5e3=val.indexOf(".");if(_5e3>=0&&val.length-_5e3>5){val=x.toFixed(4);}}if(x<0){return val;}return _5e1?" "+val:val;},makeFontString:function(font){return font.style+" "+font.variant+" "+font.weight+" "+font.size+" "+font.family;},splitFontString:function(str){var font=dojo.clone(dojox.gfx.defaultFont);var t=str.split(/\s+/);do{if(t.length<5){break;}font.style=t[0];font.varian=t[1];font.weight=t[2];var i=t[3].indexOf("/");font.size=i<0?t[3]:t[3].substring(0,i);var j=4;if(i<0){if(t[4]=="/"){j=6;break;}if(t[4].substr(0,1)=="/"){j=5;break;}}if(j+3>t.length){break;}font.size=t[j];font.family=t[j+1];}while(false);return font;},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return dojox.gfx._base._getCachedFontMeasurements()["12pt"]/12;},pt2px:function(len){return len*dojox.gfx.px_in_pt();},px2pt:function(len){return len/dojox.gfx.px_in_pt();},normalizedLength:function(len){if(len.length==0){return 0;}if(len.length>2){var _5ed=dojox.gfx.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_5ed;case "in":return val*72*_5ed;case "pc":return val*12*_5ed;case "mm":return val/dojox.gfx.mm_in_pt*_5ed;case "cm":return val/dojox.gfx.cm_in_pt*_5ed;}}return parseFloat(len);},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-Za-z])|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,equalSources:function(a,b){return a&&b&&a==b;}});}if(!dojo._hasResource["dojox.gfx"]){dojo._hasResource["dojox.gfx"]=true;dojo.provide("dojox.gfx");(function(){var _5f1=(typeof dojo.config["gfxRenderer"]=="string"?dojo.config["gfxRenderer"]:"svg,vml,silverlight,canvas").split(",");for(var i=0;i<_5f1.length;++i){switch(_5f1[i]){case "svg":if(!dojo.isIE&&(navigator.userAgent.indexOf("iPhone")<0)&&(navigator.userAgent.indexOf("iPod")<0)){dojox.gfx.renderer="svg";}break;case "vml":if(dojo.isIE!=0){dojox.gfx.renderer="vml";}break;case "silverlight":if(window.Silverlight){dojox.gfx.renderer="silverlight";}break;case "canvas":if(dojo.isIE==0){dojox.gfx.renderer="canvas";}break;}if(dojox.gfx.renderer){break;}}console.log("gfx renderer = "+dojox.gfx.renderer);})();dojo.requireIf(dojox.gfx.renderer=="svg","dojox.gfx.svg");dojo.requireIf(dojox.gfx.renderer=="vml","dojox.gfx.vml");dojo.requireIf(dojox.gfx.renderer=="silverlight","dojox.gfx.silverlight");dojo.requireIf(dojox.gfx.renderer=="canvas","dojox.gfx.canvas");}if(!dojo._hasResource["dojox.lang.functional.lambda"]){dojo._hasResource["dojox.lang.functional.lambda"]=true;dojo.provide("dojox.lang.functional.lambda");(function(){var df=dojox.lang.functional;var _5f4="ab".split(/a*/).length>1?String.prototype.split:function(sep){var r=this.split.call(this,sep),m=sep.exec(this);if(m&&m.index==0){r.unshift("");}return r;};var _5f8=function(s){var args=[],_5fb=_5f4.call(s,/\s*->\s*/m);if(_5fb.length>1){while(_5fb.length){s=_5fb.pop();args=_5fb.pop().split(/\s*,\s*|\s+/m);if(_5fb.length){_5fb.push("(function("+args+"){return ("+s+")})");}}}else{if(s.match(/\b_\b/)){args=["_"];}else{var l=s.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m),r=s.match(/[+\-*\/%&|\^\.=<>!]\s*$/m);if(l||r){if(l){args.push("$1");s="$1"+s;}if(r){args.push("$2");s=s+"$2";}}else{var vars=s.replace(/(?:\b[A-Z]|\.[a-zA-Z_$])[a-zA-Z_$\d]*|[a-zA-Z_$][a-zA-Z_$\d]*:|this|true|false|null|undefined|typeof|instanceof|in|delete|new|void|arguments|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval|isFinite|isNaN|parseFloat|parseInt|unescape|dojo|dijit|dojox|window|document|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"/g,"").match(/([a-z_$][a-z_$\d]*)/gi)||[];var t={};dojo.forEach(vars,function(v){if(!(v in t)){args.push(v);t[v]=1;}});}}}return {args:args,body:"return ("+s+");"};};var _601=function(a){return a.length?function(){var i=a.length-1,x=df.lambda(a[i]).apply(this,arguments);for(--i;i>=0;--i){x=df.lambda(a[i]).call(this,x);}return x;}:function(x){return x;};};dojo.mixin(df,{buildLambda:function(s){s=_5f8(s);return "function("+s.args.join(",")+"){"+s.body+"}";},lambda:function(s){if(typeof s=="function"){return s;}if(s instanceof Array){return _601(s);}s=_5f8(s);return new Function(s.args,s.body);}});})();}if(!dojo._hasResource["dojox.lang.functional.array"]){dojo._hasResource["dojox.lang.functional.array"]=true;dojo.provide("dojox.lang.functional.array");(function(){var d=dojo,df=dojox.lang.functional;d.mixin(df,{filter:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t=[],v;if(d.isArray(a)){for(var i=0,n=a.length;i<n;++i){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}}else{for(var i=0;a.hasNext();){v=a.next();if(f.call(o,v,i++)){t.push(v);}}}return t;},forEach:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);if(d.isArray(a)){for(var i=0,n=a.length;i<n;f.call(o,a[i],i,a),++i){}}else{for(var i=0;a.hasNext();f.call(o,a.next(),i++)){}}},map:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t,n;if(d.isArray(a)){t=new Array(n=a.length);for(var i=0;i<n;t[i]=f.call(o,a[i],i,a),++i){}}else{t=[];for(var i=0;a.hasNext();t.push(f.call(o,a.next(),i++))){}}return t;},every:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);if(d.isArray(a)){for(var i=0,n=a.length;i<n;++i){if(!f.call(o,a[i],i,a)){return false;}}}else{for(var i=0;a.hasNext();){if(!f.call(o,a.next(),i++)){return false;}}}return true;},some:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);if(d.isArray(a)){for(var i=0,n=a.length;i<n;++i){if(f.call(o,a[i],i,a)){return true;}}}else{for(var i=0;a.hasNext();){if(f.call(o,a.next(),i++)){return true;}}}return false;}});})();}if(!dojo._hasResource["dojox.lang.functional.object"]){dojo._hasResource["dojox.lang.functional.object"]=true;dojo.provide("dojox.lang.functional.object");(function(){var d=dojo,df=dojox.lang.functional,_628={};d.mixin(df,{forIn:function(obj,f,o){o=o||d.global;f=df.lambda(f);for(var i in obj){if(i in _628){continue;}f.call(o,obj[i],i,obj);}},keys:function(obj){var t=[];for(var i in obj){if(i in _628){continue;}t.push(i);}return t;},values:function(obj){var t=[];for(var i in obj){if(i in _628){continue;}t.push(obj[i]);}return t;}});})();}if(!dojo._hasResource["dojox.lang.functional"]){dojo._hasResource["dojox.lang.functional"]=true;dojo.provide("dojox.lang.functional");}if(!dojo._hasResource["dojox.lang.functional.fold"]){dojo._hasResource["dojox.lang.functional.fold"]=true;dojo.provide("dojox.lang.functional.fold");(function(){var d=dojo,df=dojox.lang.functional;d.mixin(df,{foldl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);if(d.isArray(a)){for(var i=0,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){}}else{for(var i=0;a.hasNext();z=f.call(o,z,a.next(),i++)){}}return z;},foldl1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var z;if(d.isArray(a)){z=a[0];for(var i=1,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){}}else{if(a.hasNext()){z=a.next();for(var i=1;a.hasNext();z=f.call(o,z,a.next(),i++)){}}}return z;},foldr:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);for(var i=a.length;i>0;--i,z=f.call(o,z,a[i],i,a)){}return z;},foldr1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var n=a.length,z=a[n-1];for(var i=n-1;i>0;--i,z=f.call(o,z,a[i],i,a)){}return z;},reduce:function(a,f,z){return arguments.length<3?df.foldl1(a,f):df.foldl(a,f,z);},reduceRight:function(a,f,z){return arguments.length<3?df.foldr1(a,f):df.foldr(a,f,z);}});})();}if(!dojo._hasResource["dojox.lang.functional.reversed"]){dojo._hasResource["dojox.lang.functional.reversed"]=true;dojo.provide("dojox.lang.functional.reversed");(function(){var d=dojo,df=dojox.lang.functional;d.mixin(df,{filterRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t=[],v;for(var i=a.length-1;i>=0;--i){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}return t;},forEachRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);for(var i=a.length-1;i>=0;f.call(o,a[i],i,a),--i){}},mapRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var n=a.length,t=new Array(n);for(var i=n-1,j=0;i>=0;t[j++]=f.call(o,a[i],i,a),--i){}return t;},everyRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);for(var i=a.length-1;i>=0;--i){if(!f.call(o,a[i],i,a)){return false;}}return true;},someRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);for(var i=a.length-1;i>=0;--i){if(f.call(o,a[i],i,a)){return true;}}return false;}});})();}if(!dojo._hasResource["dojox.charting._color"]){dojo._hasResource["dojox.charting._color"]=true;dojo.provide("dojox.charting._color");dojox.charting._color={};dojox.charting._color.fromHsb=function(hue,_66e,_66f){hue=Math.round(hue);_66e=Math.round((_66e/100)*255);_66f=Math.round((_66f/100)*255);var r,g,b;if(_66e==0){r=g=b=_66f;}else{var _673=_66f,_674=(255-_66e)*_66f/255,_675=(_673-_674)*(hue%60)/60;if(hue<60){r=_673,g=_674+_675,b=_674;}else{if(hue<120){r=_673-_675,g=_673,b=_674;}else{if(hue<180){r=_674,g=_673,b=_674+_675;}else{if(hue<240){r=_674,g=_673-_675,b=_673;}else{if(hue<300){r=_674+_675,g=_674,b=_673;}else{if(hue<360){r=_673,g=_674,b=_673-_675;}}}}}}}r=Math.round(r);g=Math.round(g);b=Math.round(b);return new dojo.Color({r:r,g:g,b:b});};dojox.charting._color.toHsb=function(red,_677,blue){var r=red,g=_677,b=blue;if(dojo.isObject(red)){r=red.r,g=red.g,b=red.b;}var min=Math.min(r,g,b);var max=Math.max(r,g,b);var _67e=max-min;var hue=0,_680=(max!=0?_67e/max:0),_681=max/255;if(_680==0){hue=0;}else{if(r==max){hue=((max-b)/_67e)-((max-g)/_67e);}else{if(g==max){hue=2+(((max-r)/_67e)-((max-b)/_67e));}else{hue=4+(((max-g)/_67e)-((max-r)/_67e));}}hue/=6;if(hue<0){hue++;}}hue=Math.round(hue*360);_680=Math.round(_680*100);_681=Math.round(_681*100);return {h:hue,s:_680,b:_681,hue:hue,saturation:_680,brightness:_681};};}if(!dojo._hasResource["dojox.charting.Theme"]){dojo._hasResource["dojox.charting.Theme"]=true;dojo.provide("dojox.charting.Theme");(function(){var dxc=dojox.charting;dxc.Theme=function(_683){_683=_683||{};var def=dxc.Theme._def;dojo.forEach(["chart","plotarea","axis","series","marker"],function(n){this[n]=dojo.mixin(dojo.clone(def[n]),_683[n]||{});},this);this.markers=dojo.mixin(dojo.clone(dxc.Theme.Markers),_683.markers||{});this.colors=[];this.antiAlias=("antiAlias" in _683)?_683.antiAlias:true;this.assignColors=("assignColors" in _683)?_683.assignColors:true;this.assignMarkers=("assignMarkers" in _683)?_683.assignMarkers:true;this._colorCache=null;_683.colors=_683.colors||def.colors;dojo.forEach(_683.colors,function(item){this.colors.push(item);},this);this._current={color:0,marker:0};this._markers=[];this._buildMarkerArray();};dxc.Theme.Markers={CIRCLE:"m-3,0 c0,-4 6,-4 6,0 m-6,0 c0,4 6,4 6,0",SQUARE:"m-3,-3 l0,6 6,0 0,-6 z",DIAMOND:"m0,-3 l3,3 -3,3 -3,-3 z",CROSS:"m0,-3 l0,6 m-3,-3 l6,0",X:"m-3,-3 l6,6 m0,-6 l-6,6",TRIANGLE:"m-3,3 l3,-6 3,6 z",TRIANGLE_INVERTED:"m-3,-3 l3,6 3,-6 z"};dxc.Theme._def={chart:{stroke:null,fill:"white"},plotarea:{stroke:null,fill:"white"},axis:{stroke:{color:"#333",width:1},line:{color:"#ccc",width:1,style:"Dot",cap:"round"},majorTick:{color:"#666",width:1,length:6,position:"center"},minorTick:{color:"#666",width:0.8,length:3,position:"center"},font:"normal normal normal 7pt Tahoma",fontColor:"#333"},series:{outline:{width:0.1,color:"#ccc"},stroke:{width:1.5,color:"#333"},fill:"#ccc",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},marker:{stroke:{width:1},fill:"#333",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},colors:["#000","#111","#222","#333","#444","#555","#666","#777","#888","#999","#aaa","#bbb","#ccc"]};dojo.extend(dxc.Theme,{defineColors:function(obj){var _688=obj||{};var _689=false;if(_688.cache===undefined){_689=true;}if(_688.cache==true){_689=true;}if(_689){this._colorCache=_688;}else{var mix=this._colorCache||{};_688=dojo.mixin(dojo.clone(mix),_688);}var c=[],n=_688.num||32;if(_688.colors){var l=_688.colors.length;for(var i=0;i<n;i++){c.push(_688.colors[i%l]);}this.colors=c;}else{if(_688.hue){var s=_688.saturation||100;var st=_688.low||30;var end=_688.high||90;var step=(end-st)/n;for(var i=0;i<n;i++){c.push(dxc._color.fromHsb(_688.hue,s,st+(step*i)).toHex());}this.colors=c;}else{if(_688.stops){var l=_688.stops.length;if(l<2){throw new Error("dojox.charting.Theme::defineColors: when using stops to "+"define a color range, you MUST specify at least 2 colors.");}if(typeof (_688.stops[0].offset)=="undefined"){var off=1/(l-1);for(var i=0;i<l;i++){_688.stops[i]={color:_688.stops[i],offset:off*i};}}_688.stops[0].offset=0;_688.stops[l-1].offset=1;_688.stops.sort(function(a,b){return a.offset-b.offset;});c.push(_688.stops[0].color.toHex());c.push(_688.stops[l-1].color.toHex());this.colors=c;}}}},_buildMarkerArray:function(){this._markers=[];for(var p in this.markers){this._markers.push(this.markers[p]);}this._current.marker=0;},addMarker:function(name,_698){this.markers[name]=_698;this._buildMarkerArray();},setMarkers:function(obj){this.markers=obj;this._buildMarkerArray();},next:function(type){if(type=="marker"){return this._markers[this._current.marker++%this._markers.length];}else{return this.colors[this._current.color++%this.colors.length];}},clear:function(){this._current={color:0,marker:0};}});})();}if(!dojo._hasResource["dojox.charting.Element"]){dojo._hasResource["dojox.charting.Element"]=true;dojo.provide("dojox.charting.Element");dojo.declare("dojox.charting.Element",null,{constructor:function(_69b){this.chart=_69b;this.group=null;this.htmlElements=[];this.dirty=true;},createGroup:function(_69c){if(!_69c){_69c=this.chart.surface;}if(!this.group){this.group=_69c.createGroup();}return this;},purgeGroup:function(){this.destroyHtmlElements();if(this.group){this.group.clear();this.group.removeShape();this.group=null;}this.dirty=true;return this;},cleanGroup:function(_69d){this.destroyHtmlElements();if(!_69d){_69d=this.chart.surface;}if(this.group){this.group.clear();}else{this.group=_69d.createGroup();}this.dirty=true;return this;},destroyHtmlElements:function(){dojo.forEach(this.htmlElements,dojo._destroyElement);this.htmlElements=[];},destroy:function(){this.purgeGroup();}});}if(!dojo._hasResource["dojox.charting.Series"]){dojo._hasResource["dojox.charting.Series"]=true;dojo.provide("dojox.charting.Series");dojo.declare("dojox.charting.Series",dojox.charting.Element,{constructor:function(_69e,data,_6a0){dojo.mixin(this,_6a0);if(typeof this.plot!="string"){this.plot="default";}this.data=data;this.dirty=true;this.clear();},clear:function(){this.dyn={};}});}if(!dojo._hasResource["dojox.charting.scaler"]){dojo._hasResource["dojox.charting.scaler"]=true;dojo.provide("dojox.charting.scaler");(function(){var _6a1=3;var _6a2=function(val,text){val=val.toLowerCase();for(var i=0;i<text.length;++i){if(val==text[i]){return true;}}return false;};var _6a6=function(min,max,_6a9,_6aa,_6ab,_6ac,span){_6a9=dojo.clone(_6a9);if(!_6aa){if(_6a9.fixUpper=="major"){_6a9.fixUpper="minor";}if(_6a9.fixLower=="major"){_6a9.fixLower="minor";}}if(!_6ab){if(_6a9.fixUpper=="minor"){_6a9.fixUpper="micro";}if(_6a9.fixLower=="minor"){_6a9.fixLower="micro";}}if(!_6ac){if(_6a9.fixUpper=="micro"){_6a9.fixUpper="none";}if(_6a9.fixLower=="micro"){_6a9.fixLower="none";}}var _6ae=_6a2(_6a9.fixLower,["major"])?Math.floor(min/_6aa)*_6aa:_6a2(_6a9.fixLower,["minor"])?Math.floor(min/_6ab)*_6ab:_6a2(_6a9.fixLower,["micro"])?Math.floor(min/_6ac)*unit:min,_6af=_6a2(_6a9.fixUpper,["major"])?Math.ceil(max/_6aa)*_6aa:_6a2(_6a9.fixUpper,["minor"])?Math.ceil(max/_6ab)*_6ab:_6a2(_6a9.fixUpper,["unit"])?Math.ceil(max/unit)*unit:max,_6b0=(_6a2(_6a9.fixLower,["major"])||!_6aa)?_6ae:Math.ceil(_6ae/_6aa)*_6aa,_6b1=(_6a2(_6a9.fixLower,["major","minor"])||!_6ab)?_6ae:Math.ceil(_6ae/_6ab)*_6ab,_6b2=(_6a2(_6a9.fixLower,["major","minor","micro"])||!_6ac)?_6ae:Math.ceil(_6ae/_6ac)*_6ac,_6b3=!_6aa?0:(_6a2(_6a9.fixUpper,["major"])?Math.round((_6af-_6b0)/_6aa):Math.floor((_6af-_6b0)/_6aa))+1,_6b4=!_6ab?0:(_6a2(_6a9.fixUpper,["major","minor"])?Math.round((_6af-_6b1)/_6ab):Math.floor((_6af-_6b1)/_6ab))+1,_6b5=!_6ac?0:(_6a2(_6a9.fixUpper,["major","minor","micro"])?Math.round((_6af-_6b2)/_6ac):Math.floor((_6af-_6b2)/_6ac))+1,_6b6=_6ab?Math.round(_6aa/_6ab):0,_6b7=_6ac?Math.round(_6ab/_6ac):0,_6b8=_6aa?Math.floor(Math.log(_6aa)/Math.LN10):0,_6b9=_6ab?Math.floor(Math.log(_6ab)/Math.LN10):0,_6ba=span/(_6af-_6ae);if(!isFinite(_6ba)){_6ba=1;}return {bounds:{lower:_6ae,upper:_6af},major:{tick:_6aa,start:_6b0,count:_6b3,prec:_6b8},minor:{tick:_6ab,start:_6b1,count:_6b4,prec:_6b9},micro:{tick:_6ac,start:_6b2,count:_6b5,prec:0},minorPerMajor:_6b6,microPerMinor:_6b7,scale:_6ba};};dojox.charting.scaler=function(min,max,span,_6be){var h={fixUpper:"none",fixLower:"none",natural:false};if(_6be){if("fixUpper" in _6be){h.fixUpper=String(_6be.fixUpper);}if("fixLower" in _6be){h.fixLower=String(_6be.fixLower);}if("natural" in _6be){h.natural=Boolean(_6be.natural);}}if(max<=min){return _6a6(min,max,h,0,0,0,span);}var mag=Math.floor(Math.log(max-min)/Math.LN10),_6c1=_6be&&("majorTick" in _6be)?_6be.majorTick:Math.pow(10,mag),_6c2=0,_6c3=0,_6c4;if(_6be&&("minorTick" in _6be)){_6c2=_6be.minorTick;}else{do{_6c2=_6c1/10;if(!h.natural||_6c2>0.9){_6c4=_6a6(min,max,h,_6c1,_6c2,0,span);if(_6c4.scale*_6c4.minor.tick>_6a1){break;}}_6c2=_6c1/5;if(!h.natural||_6c2>0.9){_6c4=_6a6(min,max,h,_6c1,_6c2,0,span);if(_6c4.scale*_6c4.minor.tick>_6a1){break;}}_6c2=_6c1/2;if(!h.natural||_6c2>0.9){_6c4=_6a6(min,max,h,_6c1,_6c2,0,span);if(_6c4.scale*_6c4.minor.tick>_6a1){break;}}return _6a6(min,max,h,_6c1,0,0,span);}while(false);}if(_6be&&("microTick" in _6be)){_6c3=_6be.microTick;_6c4=_6a6(min,max,h,_6c1,_6c2,_6c3,span);}else{do{_6c3=_6c2/10;if(!h.natural||_6c3>0.9){_6c4=_6a6(min,max,h,_6c1,_6c2,_6c3,span);if(_6c4.scale*_6c4.micro.tick>_6a1){break;}}_6c3=_6c2/5;if(!h.natural||_6c3>0.9){_6c4=_6a6(min,max,h,_6c1,_6c2,_6c3,span);if(_6c4.scale*_6c4.micro.tick>_6a1){break;}}_6c3=_6c2/2;if(!h.natural||_6c3>0.9){_6c4=_6a6(min,max,h,_6c1,_6c2,_6c3,span);if(_6c4.scale*_6c4.micro.tick>_6a1){break;}}_6c3=0;}while(false);}return _6c3?_6c4:_6a6(min,max,h,_6c1,_6c2,0,span);};})();}if(!dojo._hasResource["dojox.charting.axis2d.common"]){dojo._hasResource["dojox.charting.axis2d.common"]=true;dojo.provide("dojox.charting.axis2d.common");(function(){var g=dojox.gfx;function clearNode(s){s.marginLeft="0px";s.marginTop="0px";s.marginRight="0px";s.marginBottom="0px";s.paddingLeft="0px";s.paddingTop="0px";s.paddingRight="0px";s.paddingBottom="0px";s.borderLeftWidth="0px";s.borderTopWidth="0px";s.borderRightWidth="0px";s.borderBottomWidth="0px";};dojo.mixin(dojox.charting.axis2d.common,{createText:{gfx:function(_6c7,_6c8,x,y,_6cb,text,font,_6ce){return _6c8.createText({x:x,y:y,text:text,align:_6cb}).setFont(font).setFill(_6ce);},html:function(_6cf,_6d0,x,y,_6d3,text,font,_6d6){var p=dojo.doc.createElement("div"),s=p.style;clearNode(s);s.font=font;p.innerHTML=text;s.color=_6d6;s.position="absolute";s.left="-10000px";dojo.body().appendChild(p);var size=g.normalizedLength(g.splitFontString(font).size),box=dojo.marginBox(p);dojo.body().removeChild(p);s.position="relative";switch(_6d3){case "middle":s.left=Math.floor(x-box.w/2)+"px";break;case "end":s.left=Math.floor(x-box.w)+"px";break;default:s.left=Math.floor(x)+"px";break;}s.top=Math.floor(y-size)+"px";var wrap=dojo.doc.createElement("div"),w=wrap.style;clearNode(w);w.width="0px";w.height="0px";wrap.appendChild(p);_6cf.node.insertBefore(wrap,_6cf.node.firstChild);return p;}}});})();}if(!dojo._hasResource["dojox.charting.axis2d.Base"]){dojo._hasResource["dojox.charting.axis2d.Base"]=true;dojo.provide("dojox.charting.axis2d.Base");dojo.declare("dojox.charting.axis2d.Base",dojox.charting.Element,{constructor:function(_6dd,_6de){this.vertical=_6de&&_6de.vertical;},clear:function(){return this;},initialized:function(){return false;},calculate:function(min,max,span){return this;},getScaler:function(){return null;},getOffsets:function(){return {l:0,r:0,t:0,b:0};},render:function(dim,_6e3){return this;}});}if(!dojo._hasResource["dojo.colors"]){dojo._hasResource["dojo.colors"]=true;dojo.provide("dojo.colors");(function(){var _6e4=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=function(_6e9,obj){var m=_6e9.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1];if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){var a=dojo.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,obj);}return dojo.colorFromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2,a=[_6e4(m1,m2,H+1/3)*256,_6e4(m1,m2,H)*256,_6e4(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,obj);}}return null;};var _6f7=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};dojo.Color.prototype.sanitize=function(){var t=this;t.r=Math.round(_6f7(t.r,0,255));t.g=Math.round(_6f7(t.g,0,255));t.b=Math.round(_6f7(t.b,0,255));t.a=_6f7(t.a,0,1);return this;};})();dojo.colors.makeGrey=function(g,a){return dojo.colorFromArray([g,g,g,a]);};dojo.Color.named=dojo.mixin({aliceblue:[240,248,255],antiquewhite:[250,235,215],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],blanchedalmond:[255,235,205],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],oldlace:[253,245,230],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]},dojo.Color.named);}if(!dojo._hasResource["dojox.lang.utils"]){dojo._hasResource["dojox.lang.utils"]=true;dojo.provide("dojox.lang.utils");(function(){var _6fe={},du=dojox.lang.utils;dojo.mixin(dojox.lang.utils,{coerceType:function(_700,_701){switch(typeof _700){case "number":return Number(eval("("+_701+")"));case "string":return String(_701);case "boolean":return Boolean(eval("("+_701+")"));}return eval("("+_701+")");},updateWithObject:function(_702,_703,conv){if(!_703){return _702;}for(var x in _702){if(x in _703&&!(x in _6fe)){var t=_702[x];if(t&&typeof t=="object"){du.updateObject(t,_703[x]);}else{_702[x]=conv?du.coerceType(t,_703[x]):dojo.clone(_703[x]);}}}return _702;},updateWithPattern:function(_707,_708,_709,conv){if(!_708||!_709){return _707;}for(var x in _709){if(x in _708&&!(x in _6fe)){_707[x]=conv?du.coerceType(_709[x],_708[x]):dojo.clone(_708[x]);}}return _707;}});})();}if(!dojo._hasResource["dojox.charting.axis2d.Default"]){dojo._hasResource["dojox.charting.axis2d.Default"]=true;dojo.provide("dojox.charting.axis2d.Default");(function(){var dc=dojox.charting,df=dojox.lang.functional,du=dojox.lang.utils,g=dojox.gfx,_710=4;var eq=function(a,b){return Math.abs(a-b)<=0.000001*(Math.abs(a)+Math.abs(b));};dojo.declare("dojox.charting.axis2d.Default",dojox.charting.axis2d.Base,{defaultParams:{vertical:false,fixUpper:"none",fixLower:"none",natural:false,leftBottom:true,includeZero:false,fixed:true,majorLabels:true,minorTicks:true,minorLabels:true,microTicks:false,htmlLabels:true},optionalParams:{"min":0,"max":1,"majorTickStep":4,"minorTickStep":2,"microTickStep":1,"labels":[],"stroke":{},"majorTick":{},"minorTick":{},"font":"","fontColor":""},constructor:function(_714,_715){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_715);du.updateWithPattern(this.opt,_715,this.optionalParams);},dependOnData:function(){return !("min" in this.opt)||!("max" in this.opt);},clear:function(){delete this.scaler;this.dirty=true;return this;},initialized:function(){return "scaler" in this;},calculate:function(min,max,span,_719){if(this.initialized()){return this;}this.labels="labels" in this.opt?this.opt.labels:_719;if("min" in this.opt){min=this.opt.min;}if("max" in this.opt){max=this.opt.max;}if(this.opt.includeZero){if(min>0){min=0;}if(max<0){max=0;}}var _71a=0,ta=this.chart.theme.axis,_71c="font" in this.opt?this.opt.font:ta.font,size=_71c?g.normalizedLength(g.splitFontString(_71c).size):0;if(this.vertical){if(size){_71a=size+_710;}}else{if(size){var _71e,i;if(this.labels){_71e=df.foldl(df.map(this.labels,function(_720){return dojox.gfx._base._getTextBox(_720.text,{font:_71c}).w;}),"Math.max(a, b)",0);}else{var _721=Math.ceil(Math.log(Math.max(Math.abs(min),Math.abs(max)))/Math.LN10),t=[];if(min<0||max<0){t.push("-");}for(i=0;i<_721;++i){t.push("9");}var _723=Math.floor(Math.log(max-min)/Math.LN10);if(_723>0){t.push(".");for(i=0;i<_723;++i){t.push("9");}}_71e=dojox.gfx._base._getTextBox(t.join(""),{font:_71c}).w;}_71a=_71e+_710;}}var _724={fixUpper:this.opt.fixUpper,fixLower:this.opt.fixLower,natural:this.opt.natural};if("majorTickStep" in this.opt){_724.majorTick=this.opt.majorTickStep;}if("minorTickStep" in this.opt){_724.minorTick=this.opt.minorTickStep;}if("microTickStep" in this.opt){_724.microTick=this.opt.microTickStep;}this.scaler=dojox.charting.scaler(min,max,span,_724);this.scaler.minMinorStep=_71a;return this;},getScaler:function(){return this.scaler;},getOffsets:function(){var _725={l:0,r:0,t:0,b:0},s,_727,gtb,a,b,c,d;var _72d=0,ta=this.chart.theme.axis,_72f="font" in this.opt?this.opt.font:ta.font,_730="majorTick" in this.opt?this.opt.majorTick:ta.majorTick,_731="minorTick" in this.opt?this.opt.minorTick:ta.minorTick,size=_72f?g.normalizedLength(g.splitFontString(_72f).size):0;if(this.vertical){if(size){s=this.scaler;if(this.labels){_727=df.foldl(df.map(this.labels,function(_733){return dojox.gfx._base._getTextBox(_733.text,{font:_72f}).w;}),"Math.max(a, b)",0);}else{gtb=dojox.gfx._base._getTextBox;a=gtb(this._getLabel(s.major.start,s.major.prec),{font:_72f}).w;b=gtb(this._getLabel(s.major.start+s.major.count*s.major.tick,s.major.prec),{font:_72f}).w;c=gtb(this._getLabel(s.minor.start,s.minor.prec),{font:_72f}).w;d=gtb(this._getLabel(s.minor.start+s.minor.count*s.minor.tick,s.minor.prec),{font:_72f}).w;_727=Math.max(a,b,c,d);}_72d=_727+_710;}_72d+=_710+Math.max(_730.length,_731.length);_725[this.opt.leftBottom?"l":"r"]=_72d;_725.t=_725.b=size/2;}else{if(size){_72d=size+_710;}_72d+=_710+Math.max(_730.length,_731.length);_725[this.opt.leftBottom?"b":"t"]=_72d;if(size){s=this.scaler;if(this.labels){_727=df.foldl(df.map(this.labels,function(_734){return dojox.gfx._base._getTextBox(_734.text,{font:_72f}).w;}),"Math.max(a, b)",0);}else{gtb=dojox.gfx._base._getTextBox;a=gtb(this._getLabel(s.major.start,s.major.prec),{font:_72f}).w;b=gtb(this._getLabel(s.major.start+s.major.count*s.major.tick,s.major.prec),{font:_72f}).w;c=gtb(this._getLabel(s.minor.start,s.minor.prec),{font:_72f}).w;d=gtb(this._getLabel(s.minor.start+s.minor.count*s.minor.tick,s.minor.prec),{font:_72f}).w;_727=Math.max(a,b,c,d);}_725.l=_725.r=_727/2;}}return _725;},render:function(dim,_736){if(!this.dirty){return this;}var _737,stop,_739,_73a,_73b,_73c,ta=this.chart.theme.axis,_73e="stroke" in this.opt?this.opt.stroke:ta.stroke,_73f="majorTick" in this.opt?this.opt.majorTick:ta.majorTick,_740="minorTick" in this.opt?this.opt.minorTick:ta.minorTick,_741="font" in this.opt?this.opt.font:ta.font,_742="fontColor" in this.opt?this.opt.fontColor:ta.fontColor,_743=Math.max(_73f.length,_740.length),size=_741?g.normalizedLength(g.splitFontString(_741).size):0;if(this.vertical){_737={y:dim.height-_736.b};stop={y:_736.t};_739={x:0,y:-1};if(this.opt.leftBottom){_737.x=stop.x=_736.l;_73a={x:-1,y:0};_73c="end";}else{_737.x=stop.x=dim.width-_736.r;_73a={x:1,y:0};_73c="start";}_73b={x:_73a.x*(_743+_710),y:size*0.4};}else{_737={x:_736.l};stop={x:dim.width-_736.r};_739={x:1,y:0};_73c="middle";if(this.opt.leftBottom){_737.y=stop.y=dim.height-_736.b;_73a={x:0,y:1};_73b={y:_743+_710+size};}else{_737.y=stop.y=_736.t;_73a={x:0,y:-1};_73b={y:-_743-_710};}_73b.x=0;}this.cleanGroup();var s=this.group,c=this.scaler,step,next,_749=c.major.start,_74a=c.minor.start,_74b=c.micro.start;s.createLine({x1:_737.x,y1:_737.y,x2:stop.x,y2:stop.y}).setStroke(_73e);if(this.opt.microTicks&&c.micro.tick){step=c.micro.tick,next=_74b;}else{if(this.opt.minorTicks&&c.minor.tick){step=c.minor.tick,next=_74a;}else{if(c.major.tick){step=c.major.tick,next=_749;}else{return this;}}}while(next<=c.bounds.upper+1/c.scale){var _74c=(next-c.bounds.lower)*c.scale,x=_737.x+_739.x*_74c,y=_737.y+_739.y*_74c,elem;if(Math.abs(_749-next)<step/2){s.createLine({x1:x,y1:y,x2:x+_73a.x*_73f.length,y2:y+_73a.y*_73f.length}).setStroke(_73f);if(this.opt.majorLabels){elem=dc.axis2d.common.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,x+_73b.x,y+_73b.y,_73c,this._getLabel(_749,c.major.prec),_741,_742);if(this.opt.htmlLabels){this.htmlElements.push(elem);}}_749+=c.major.tick;_74a+=c.minor.tick;_74b+=c.micro.tick;}else{if(Math.abs(_74a-next)<step/2){if(this.opt.minorTicks){s.createLine({x1:x,y1:y,x2:x+_73a.x*_740.length,y2:y+_73a.y*_740.length}).setStroke(_740);if(this.opt.minorLabels&&(c.minMinorStep<=c.minor.tick*c.scale)){elem=dc.axis2d.common.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,x+_73b.x,y+_73b.y,_73c,this._getLabel(_74a,c.minor.prec),_741,_742);if(this.opt.htmlLabels){this.htmlElements.push(elem);}}}_74a+=c.minor.tick;_74b+=c.micro.tick;}else{if(this.opt.microTicks){s.createLine({x1:x,y1:y,x2:x+_73a.x*_740.length,y2:y+_73a.y*_740.length}).setStroke(_740);}_74b+=c.micro.tick;}}next+=step;}this.dirty=false;return this;},_getLabel:function(_750,_751){if(this.opt.labels){var l=this.opt.labels,lo=0,hi=l.length;while(lo<hi){var mid=Math.floor((lo+hi)/2),val=l[mid].value;if(val<_750){lo=mid+1;}else{hi=mid;}}if(lo<l.length&&eq(l[lo].value,_750)){return l[lo].text;}--lo;if(lo<l.length&&eq(l[lo].value,_750)){return l[lo].text;}lo+=2;if(lo<l.length&&eq(l[lo].value,_750)){return l[lo].text;}}return this.opt.fixed?_750.toFixed(_751<0?-_751:0):_750.toString();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.common"]){dojo._hasResource["dojox.charting.plot2d.common"]=true;dojo.provide("dojox.charting.plot2d.common");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common;dojo.mixin(dojox.charting.plot2d.common,{makeStroke:function(_759){if(!_759){return _759;}if(typeof _759=="string"||_759 instanceof dojo.Color){_759={color:_759};}return dojox.gfx.makeParameters(dojox.gfx.defaultStroke,_759);},augmentColor:function(_75a,_75b){var t=new dojo.Color(_75a),c=new dojo.Color(_75b);c.a=t.a;return c;},augmentStroke:function(_75e,_75f){var s=dc.makeStroke(_75e);if(s){s.color=dc.augmentColor(s.color,_75f);}return s;},augmentFill:function(fill,_762){var fc,c=new dojo.Color(_762);if(typeof fill=="string"||fill instanceof dojo.Color){return dc.augmentColor(fill,_762);}return fill;},defaultStats:{hmin:Number.POSITIVE_INFINITY,hmax:Number.NEGATIVE_INFINITY,vmin:Number.POSITIVE_INFINITY,vmax:Number.NEGATIVE_INFINITY},collectSimpleStats:function(_765){var _766=dojo.clone(dc.defaultStats);for(var i=0;i<_765.length;++i){var run=_765[i];if(!run.data.length){continue;}if(typeof run.data[0]=="number"){var _769=_766.vmin,_76a=_766.vmax;if(!("ymin" in run)||!("ymax" in run)){dojo.forEach(run.data,function(val,i){var x=i+1,y=val;if(isNaN(y)){y=0;}_766.hmin=Math.min(_766.hmin,x);_766.hmax=Math.max(_766.hmax,x);_766.vmin=Math.min(_766.vmin,y);_766.vmax=Math.max(_766.vmax,y);});}if("ymin" in run){_766.vmin=Math.min(_769,run.ymin);}if("ymax" in run){_766.vmax=Math.max(_76a,run.ymax);}}else{var _76f=_766.hmin,_770=_766.hmax,_769=_766.vmin,_76a=_766.vmax;if(!("xmin" in run)||!("xmax" in run)||!("ymin" in run)||!("ymax" in run)){dojo.forEach(run.data,function(val,i){var x=val.x,y=val.y;if(isNaN(x)){x=0;}if(isNaN(y)){y=0;}_766.hmin=Math.min(_766.hmin,x);_766.hmax=Math.max(_766.hmax,x);_766.vmin=Math.min(_766.vmin,y);_766.vmax=Math.max(_766.vmax,y);});}if("xmin" in run){_766.hmin=Math.min(_76f,run.xmin);}if("xmax" in run){_766.hmax=Math.max(_770,run.xmax);}if("ymin" in run){_766.vmin=Math.min(_769,run.ymin);}if("ymax" in run){_766.vmax=Math.max(_76a,run.ymax);}}}return _766;},collectStackedStats:function(_775){var _776=dojo.clone(dc.defaultStats);if(_775.length){_776.hmin=Math.min(_776.hmin,1);_776.hmax=df.foldl(_775,"seed, run -> Math.max(seed, run.data.length)",_776.hmax);for(var i=0;i<_776.hmax;++i){var v=_775[0].data[i];if(isNaN(v)){v=0;}_776.vmin=Math.min(_776.vmin,v);for(var j=1;j<_775.length;++j){var t=_775[j].data[i];if(isNaN(t)){t=0;}v+=t;}_776.vmax=Math.max(_776.vmax,v);}}return _776;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Base"]){dojo._hasResource["dojox.charting.plot2d.Base"]=true;dojo.provide("dojox.charting.plot2d.Base");dojo.declare("dojox.charting.plot2d.Base",dojox.charting.Element,{clear:function(){this.series=[];this._hAxis=null;this._vAxis=null;this.dirty=true;return this;},setAxis:function(axis){if(axis){this[axis.vertical?"_vAxis":"_hAxis"]=axis;}return this;},addSeries:function(run){this.series.push(run);return this;},calculateAxes:function(dim){return this;},render:function(dim,_77f){return this;},getRequiredColors:function(){return this.series.length;},_calc:function(dim,_781){if(this._hAxis){if(!this._hAxis.initialized()){this._hAxis.calculate(_781.hmin,_781.hmax,dim.width);}this._hScaler=this._hAxis.getScaler();}else{this._hScaler={bounds:{lower:_781.hmin,upper:_781.hmax},scale:dim.width/(_781.hmax-_781.hmin)};}if(this._vAxis){if(!this._vAxis.initialized()){this._vAxis.calculate(_781.vmin,_781.vmax,dim.height);}this._vScaler=this._vAxis.getScaler();}else{this._vScaler={bounds:{lower:_781.vmin,upper:_781.vmax},scale:dim.height/(_781.vmax-_781.vmin)};}}});}if(!dojo._hasResource["dojox.charting.plot2d.Default"]){dojo._hasResource["dojox.charting.plot2d.Default"]=true;dojo.provide("dojox.charting.plot2d.Default");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_785=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Default",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",lines:true,areas:false,markers:false,shadows:0,tension:0},optionalParams:{},constructor:function(_786,_787){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_787);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;},calculateAxes:function(dim){this._calc(dim,dc.collectSimpleStats(this.series));return this;},render:function(dim,_78a){if(this.dirty){dojo.forEach(this.series,_785);this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_78e,_78f,_790,_791;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){continue;}run.cleanGroup();if(!run.data.length){run.dirty=false;continue;}function curve(arr,_795){var p=dojo.map(arr,function(item,i){if(i==0){return "M"+item.x+","+item.y;}var dx=item.x-arr[i-1].x,dy=arr[i-1].y;return "C"+(item.x-(_795-1)*(dx/_795))+","+dy+" "+(item.x-(dx/_795))+","+item.y+" "+item.x+","+item.y;});return p.join(" ");};var s=run.group,_79b;if(typeof run.data[0]=="number"){_79b=dojo.map(run.data,function(v,i){return {x:this._hScaler.scale*(i+1-this._hScaler.bounds.lower)+_78a.l,y:dim.height-_78a.b-this._vScaler.scale*(v-this._vScaler.bounds.lower)};},this);}else{_79b=dojo.map(run.data,function(v,i){return {x:this._hScaler.scale*(v.x-this._hScaler.bounds.lower)+_78a.l,y:dim.height-_78a.b-this._vScaler.scale*(v.y-this._vScaler.bounds.lower)};},this);}if(!run.fill||!run.stroke){_790=run.dyn.color=new dojo.Color(t.next("color"));}var _7a0="";if(this.opt.tension){var _7a0=curve(_79b,this.opt.tension);}if(this.opt.areas){var fill=run.fill?run.fill:dc.augmentFill(t.series.fill,_790);var _7a2=dojo.clone(_79b);if(this.opt.tension){var _7a3="L"+(_7a2[_7a2.length-1].x)+","+(dim.height-_78a.b)+" "+"L"+_7a2[0].x+","+(dim.height-_78a.b)+" "+"L"+_7a2[0].x+","+_7a2[0].y;run.dyn.fill=s.createPath(_7a0+" "+_7a3).setFill(fill).getFill();}else{_7a2.push({x:_79b[_79b.length-1].x,y:dim.height-_78a.b});_7a2.push({x:_79b[0].x,y:dim.height-_78a.b});_7a2.push(_79b[0]);run.dyn.fill=s.createPolyline(_7a2).setFill(fill).getFill();}}if(this.opt.lines||this.opt.markers){_78e=run.stroke?dc.makeStroke(run.stroke):dc.augmentStroke(t.series.stroke,_790);if(run.outline||t.series.outline){_78f=dc.makeStroke(run.outline?run.outline:t.series.outline);_78f.width=2*_78f.width+_78e.width;}}if(this.opt.markers){_791=run.dyn.marker=run.marker?run.marker:t.next("marker");}if(this.opt.shadows&&_78e){var sh=this.opt.shadows,_7a5=new dojo.Color([0,0,0,0.3]),_7a6=dojo.map(_79b,function(c){return {x:c.x+sh.dx,y:c.y+sh.dy};}),_7a8=dojo.clone(_78f?_78f:_78e);_7a8.color=_7a5;_7a8.width+=sh.dw?sh.dw:0;if(this.opt.lines){if(this.opt.tension){s.createPath(curve(_7a6,this.opt.tension)).setStroke(_7a8);}else{s.createPolyline(_7a6).setStroke(_7a8);}}if(this.opt.markers){dojo.forEach(_7a6,function(c){s.createPath("M"+c.x+" "+c.y+" "+_791).setStroke(_7a8).setFill(_7a5);},this);}}if(this.opt.lines){if(_78f){if(this.opt.tension){run.dyn.outline=s.createPath(_7a0).setStroke(_78f).getStroke();}else{run.dyn.outline=s.createPolyline(_79b).setStroke(_78f).getStroke();}}if(this.opt.tension){run.dyn.stroke=s.createPath(_7a0).setStroke(_78e).getStroke();}else{run.dyn.stroke=s.createPolyline(_79b).setStroke(_78e).getStroke();}}if(this.opt.markers){dojo.forEach(_79b,function(c){var path="M"+c.x+" "+c.y+" "+_791;if(_78f){s.createPath(path).setStroke(_78f);}s.createPath(path).setStroke(_78e).setFill(_78e.color);},this);}run.dirty=false;}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Lines"]){dojo._hasResource["dojox.charting.plot2d.Lines"]=true;dojo.provide("dojox.charting.plot2d.Lines");dojo.declare("dojox.charting.plot2d.Lines",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Areas"]){dojo._hasResource["dojox.charting.plot2d.Areas"]=true;dojo.provide("dojox.charting.plot2d.Areas");dojo.declare("dojox.charting.plot2d.Areas",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Markers"]){dojo._hasResource["dojox.charting.plot2d.Markers"]=true;dojo.provide("dojox.charting.plot2d.Markers");dojo.declare("dojox.charting.plot2d.Markers",dojox.charting.plot2d.Default,{constructor:function(){this.opt.markers=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.MarkersOnly"]){dojo._hasResource["dojox.charting.plot2d.MarkersOnly"]=true;dojo.provide("dojox.charting.plot2d.MarkersOnly");dojo.declare("dojox.charting.plot2d.MarkersOnly",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=false;this.opt.markers=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Scatter"]){dojo._hasResource["dojox.charting.plot2d.Scatter"]=true;dojo.provide("dojox.charting.plot2d.Scatter");dojo.declare("dojox.charting.plot2d.Scatter",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=false;this.opt.markers=true;}});}if(!dojo._hasResource["dojox.lang.functional.sequence"]){dojo._hasResource["dojox.lang.functional.sequence"]=true;dojo.provide("dojox.lang.functional.sequence");(function(){var d=dojo,df=dojox.lang.functional;d.mixin(df,{repeat:function(n,f,z,o){o=o||d.global;f=df.lambda(f);var t=new Array(n);t[0]=z;for(var i=1;i<n;t[i]=z=f.call(o,z),++i){}return t;},until:function(pr,f,z,o){o=o||d.global;f=df.lambda(f);pr=df.lambda(pr);var t=[];for(;!pr.call(o,z);t.push(z),z=f.call(o,z)){}return t;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Stacked"]){dojo._hasResource["dojox.charting.plot2d.Stacked"]=true;dojo.provide("dojox.charting.plot2d.Stacked");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_7bb=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Stacked",dojox.charting.plot2d.Default,{calculateAxes:function(dim){var _7bd=dc.collectStackedStats(this.series);this._maxRunLength=_7bd.hmax;this._calc(dim,_7bd);return this;},render:function(dim,_7bf){var acc=df.repeat(this._maxRunLength,"-> 0",0);for(var i=0;i<this.series.length;++i){var run=this.series[i];for(var j=0;j<run.data.length;++j){var v=run.data[j];if(isNaN(v)){v=0;}acc[j]+=v;}}if(this.dirty){dojo.forEach(this.series,_7bb);this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}function curve(arr,_7c8){var p=dojo.map(arr,function(item,i){if(i==0){return "M"+item.x+","+item.y;}var dx=item.x-arr[i-1].x,dy=arr[i-1].y;return "C"+(item.x-(_7c8-1)*(dx/_7c8))+","+dy+" "+(item.x-(dx/_7c8))+","+item.y+" "+item.x+","+item.y;});return p.join(" ");};var t=this.chart.theme,_7cf,_7d0,_7d1,_7d2;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){continue;}run.cleanGroup();var s=run.group,_7d3=dojo.map(acc,function(v,i){return {x:this._hScaler.scale*(i+1-this._hScaler.bounds.lower)+_7bf.l,y:dim.height-_7bf.b-this._vScaler.scale*(v-this._vScaler.bounds.lower)};},this);if(!run.fill||!run.stroke){_7d1=new dojo.Color(t.next("color"));}var _7d6="";if(this.opt.tension){_7d6=curve(_7d3,this.opt.tension);}if(this.opt.areas){var _7d7=dojo.clone(_7d3);var fill=run.fill?run.fill:dc.augmentFill(t.series.fill,_7d1);if(this.opt.tension){var p=curve(_7d7,this.opt.tension);p+=" L"+_7d3[_7d3.length-1].x+","+(dim.height-_7bf.b)+" "+"L"+_7d3[0].x+","+(dim.height-_7bf.b)+" "+"L"+_7d3[0].x+","+_7d3[0].y;s.createPath(p).setFill(fill);}else{_7d7.push({x:_7d3[_7d3.length-1].x,y:dim.height-_7bf.b});_7d7.push({x:_7d3[0].x,y:dim.height-_7bf.b});_7d7.push(_7d3[0]);s.createPolyline(_7d7).setFill(fill);}}if(this.opt.lines||this.opt.markers){_7cf=run.stroke?dc.makeStroke(run.stroke):dc.augmentStroke(t.series.stroke,_7d1);if(run.outline||t.series.outline){_7d0=dc.makeStroke(run.outline?run.outline:t.series.outline);_7d0.width=2*_7d0.width+_7cf.width;}}if(this.opt.markers){_7d2=run.marker?run.marker:t.next("marker");}if(this.opt.shadows&&_7cf){var sh=this.opt.shadows,_7db=new dojo.Color([0,0,0,0.3]),_7dc=dojo.map(_7d3,function(c){return {x:c.x+sh.dx,y:c.y+sh.dy};}),_7de=dojo.clone(_7d0?_7d0:_7cf);_7de.color=_7db;_7de.width+=sh.dw?sh.dw:0;if(this.opt.lines){if(this.opt.tension){s.createPath(curve(_7dc,this.opt.tension)).setStroke(_7de);}else{s.createPolyline(_7dc).setStroke(_7de);}}if(this.opt.markers){dojo.forEach(_7dc,function(c){s.createPath("M"+c.x+" "+c.y+" "+_7d2).setStroke(_7de).setFill(_7db);},this);}}if(this.opt.lines){if(_7d0){if(this.opt.tension){s.createPath(_7d6).setStroke(_7d0);}else{s.createPolyline(_7d3).setStroke(_7d0);}}if(this.opt.tension){s.createPath(_7d6).setStroke(_7cf);}else{s.createPolyline(_7d3).setStroke(_7cf);}}if(this.opt.markers){dojo.forEach(_7d3,function(c){var path="M"+c.x+" "+c.y+" "+_7d2;if(_7d0){s.createPath(path).setStroke(_7d0);}s.createPath(path).setStroke(_7cf).setFill(_7cf.color);},this);}run.dirty=false;for(var j=0;j<run.data.length;++j){var v=run.data[j];if(isNaN(v)){v=0;}acc[j]-=v;}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.StackedLines"]){dojo._hasResource["dojox.charting.plot2d.StackedLines"]=true;dojo.provide("dojox.charting.plot2d.StackedLines");dojo.declare("dojox.charting.plot2d.StackedLines",dojox.charting.plot2d.Stacked,{constructor:function(){this.opt.lines=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.StackedAreas"]){dojo._hasResource["dojox.charting.plot2d.StackedAreas"]=true;dojo.provide("dojox.charting.plot2d.StackedAreas");dojo.declare("dojox.charting.plot2d.StackedAreas",dojox.charting.plot2d.Stacked,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Columns"]){dojo._hasResource["dojox.charting.plot2d.Columns"]=true;dojo.provide("dojox.charting.plot2d.Columns");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_7e5=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Columns",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,shadows:null},optionalParams:{},constructor:function(_7e6,_7e7){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_7e7);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;},calculateAxes:function(dim){var _7e9=dc.collectSimpleStats(this.series);_7e9.hmin-=0.5;_7e9.hmax+=0.5;this._calc(dim,_7e9);return this;},render:function(dim,_7eb){if(this.dirty){dojo.forEach(this.series,_7e5);this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_7ef,_7f0,fill,f,gap=this.opt.gap<this._hScaler.scale/3?this.opt.gap:0;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){continue;}run.cleanGroup();var s=run.group;if(!run.fill||!run.stroke){_7ef=run.dyn.color=new dojo.Color(t.next("color"));}_7f0=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_7ef);fill=run.fill?run.fill:dc.augmentFill(t.series.fill,_7ef);var _7f6=Math.max(0,this._vScaler.bounds.lower),xoff=_7eb.l+this._hScaler.scale*(0.5-this._hScaler.bounds.lower)+gap,yoff=dim.height-_7eb.b-this._vScaler.scale*(_7f6-this._vScaler.bounds.lower);for(var j=0;j<run.data.length;++j){var v=run.data[j],_7fb=this._hScaler.scale-2*gap,_7fc=this._vScaler.scale*(v-_7f6),h=Math.abs(_7fc);if(_7fb>=1&&h>=1){var rect={x:xoff+this._hScaler.scale*j,y:yoff-(_7fc<0?0:_7fc),width:_7fb,height:h},_7ff=s.createRect(rect).setFill(fill).setStroke(_7f0);run.dyn.fill=_7ff.getFill();run.dyn.stroke=_7ff.getStroke();}}run.dirty=false;}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.StackedColumns"]){dojo._hasResource["dojox.charting.plot2d.StackedColumns"]=true;dojo.provide("dojox.charting.plot2d.StackedColumns");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_802=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.StackedColumns",dojox.charting.plot2d.Columns,{calculateAxes:function(dim){var _804=dc.collectStackedStats(this.series);this._maxRunLength=_804.hmax;_804.hmin-=0.5;_804.hmax+=0.5;this._calc(dim,_804);return this;},render:function(dim,_806){var acc=df.repeat(this._maxRunLength,"-> 0",0);for(var i=0;i<this.series.length;++i){var run=this.series[i];for(var j=0;j<run.data.length;++j){var v=run.data[j];if(isNaN(v)){v=0;}acc[j]+=v;}}if(this.dirty){dojo.forEach(this.series,_802);this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_80f,_810,fill,f,gap=this.opt.gap<this._hScaler.scale/3?this.opt.gap:0;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){continue;}run.cleanGroup();var s=run.group;if(!run.fill||!run.stroke){_80f=run.dyn.color=new dojo.Color(t.next("color"));}_810=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_80f);fill=run.fill?run.fill:dc.augmentFill(t.series.fill,_80f);for(var j=0;j<acc.length;++j){var v=acc[j],_814=this._hScaler.scale-2*gap,_815=this._vScaler.scale*(v-this._vScaler.bounds.lower);if(_814>=1&&_815>=1){var _816=s.createRect({x:_806.l+this._hScaler.scale*(j+0.5-this._hScaler.bounds.lower)+gap,y:dim.height-_806.b-this._vScaler.scale*(v-this._vScaler.bounds.lower),width:_814,height:_815}).setFill(fill).setStroke(_810);run.dyn.fill=_816.getFill();run.dyn.stroke=_816.getStroke();}}run.dirty=false;for(var j=0;j<run.data.length;++j){var v=run.data[j];if(isNaN(v)){v=0;}acc[j]-=v;}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.ClusteredColumns"]){dojo._hasResource["dojox.charting.plot2d.ClusteredColumns"]=true;dojo.provide("dojox.charting.plot2d.ClusteredColumns");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_819=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.ClusteredColumns",dojox.charting.plot2d.Columns,{render:function(dim,_81b){if(this.dirty){dojo.forEach(this.series,_819);this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_81f,_820,fill,f,gap=this.opt.gap<this._hScaler.scale/3?this.opt.gap:0,_824=(this._hScaler.scale-2*gap)/this.series.length;for(var i=0;i<this.series.length;++i){var run=this.series[i];if(!this.dirty&&!run.dirty){continue;}run.cleanGroup();var s=run.group;if(!run.fill||!run.stroke){_81f=run.dyn.color=new dojo.Color(t.next("color"));}_820=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_81f);fill=run.fill?run.fill:dc.augmentFill(t.series.fill,_81f);var _827=Math.max(0,this._vScaler.bounds.lower),xoff=_81b.l+this._hScaler.scale*(0.5-this._hScaler.bounds.lower)+gap+_824*i,yoff=dim.height-_81b.b-this._vScaler.scale*(_827-this._vScaler.bounds.lower);for(var j=0;j<run.data.length;++j){var v=run.data[j],_82c=_824,_82d=this._vScaler.scale*(v-_827),h=Math.abs(_82d);if(_82c>=1&&h>=1){var _82f=s.createRect({x:xoff+this._hScaler.scale*j,y:yoff-(_82d<0?0:_82d),width:_82c,height:h}).setFill(fill).setStroke(_820);run.dyn.fill=_82f.getFill();run.dyn.stroke=_82f.getStroke();}}run.dirty=false;}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Bars"]){dojo._hasResource["dojox.charting.plot2d.Bars"]=true;dojo.provide("dojox.charting.plot2d.Bars");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_833=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Bars",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,shadows:null},optionalParams:{},constructor:function(_834,_835){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_835);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;},calculateAxes:function(dim){var _837=dc.collectSimpleStats(this.series),t;_837.hmin-=0.5;_837.hmax+=0.5;t=_837.hmin,_837.hmin=_837.vmin,_837.vmin=t;t=_837.hmax,_837.hmax=_837.vmax,_837.vmax=t;this._calc(dim,_837);return this;},render:function(dim,_83a){if(this.dirty){dojo.forEach(this.series,_833);this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_83e,_83f,fill,f,gap=this.opt.gap<this._vScaler.scale/3?this.opt.gap:0;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){continue;}run.cleanGroup();var s=run.group;if(!run.fill||!run.stroke){_83e=run.dyn.color=new dojo.Color(t.next("color"));}_83f=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_83e);fill=run.fill?run.fill:dc.augmentFill(t.series.fill,_83e);var _845=Math.max(0,this._hScaler.bounds.lower),xoff=_83a.l+this._hScaler.scale*(_845-this._hScaler.bounds.lower),yoff=dim.height-_83a.b-this._vScaler.scale*(1.5-this._vScaler.bounds.lower)+gap;for(var j=0;j<run.data.length;++j){var v=run.data[j],_84a=this._hScaler.scale*(v-_845),_84b=this._vScaler.scale-2*gap,w=Math.abs(_84a);if(w>=1&&_84b>=1){var _84d=s.createRect({x:xoff+(_84a<0?_84a:0),y:yoff-this._vScaler.scale*j,width:w,height:_84b}).setFill(fill).setStroke(_83f);run.dyn.fill=_84d.getFill();run.dyn.stroke=_84d.getStroke();}}run.dirty=false;}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.StackedBars"]){dojo._hasResource["dojox.charting.plot2d.StackedBars"]=true;dojo.provide("dojox.charting.plot2d.StackedBars");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_850=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.StackedBars",dojox.charting.plot2d.Bars,{calculateAxes:function(dim){var _852=dc.collectStackedStats(this.series),t;this._maxRunLength=_852.hmax;_852.hmin-=0.5;_852.hmax+=0.5;t=_852.hmin,_852.hmin=_852.vmin,_852.vmin=t;t=_852.hmax,_852.hmax=_852.vmax,_852.vmax=t;this._calc(dim,_852);return this;},render:function(dim,_855){var acc=df.repeat(this._maxRunLength,"-> 0",0);for(var i=0;i<this.series.length;++i){var run=this.series[i];for(var j=0;j<run.data.length;++j){var v=run.data[j];if(isNaN(v)){v=0;}acc[j]+=v;}}if(this.dirty){dojo.forEach(this.series,_850);this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_85e,_85f,fill,f,gap=this.opt.gap<this._vScaler.scale/3?this.opt.gap:0;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){continue;}run.cleanGroup();var s=run.group;if(!run.fill||!run.stroke){_85e=run.dyn.color=new dojo.Color(t.next("color"));}_85f=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_85e);fill=run.fill?run.fill:dc.augmentFill(t.series.fill,_85e);for(var j=0;j<acc.length;++j){var v=acc[j],_863=this._hScaler.scale*(v-this._hScaler.bounds.lower),_864=this._vScaler.scale-2*gap;if(_863>=1&&_864>=1){var _865=s.createRect({x:_855.l,y:dim.height-_855.b-this._vScaler.scale*(j+1.5-this._vScaler.bounds.lower)+gap,width:_863,height:_864}).setFill(fill).setStroke(_85f);run.dyn.fill=_865.getFill();run.dyn.stroke=_865.getStroke();}}run.dirty=false;for(var j=0;j<run.data.length;++j){var v=run.data[j];if(isNaN(v)){v=0;}acc[j]-=v;}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.ClusteredBars"]){dojo._hasResource["dojox.charting.plot2d.ClusteredBars"]=true;dojo.provide("dojox.charting.plot2d.ClusteredBars");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_868=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.ClusteredBars",dojox.charting.plot2d.Bars,{render:function(dim,_86a){if(this.dirty){dojo.forEach(this.series,_868);this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_86e,_86f,fill,f,gap=this.opt.gap<this._vScaler.scale/3?this.opt.gap:0,_873=(this._vScaler.scale-2*gap)/this.series.length;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){continue;}run.cleanGroup();var s=run.group;if(!run.fill||!run.stroke){_86e=run.dyn.color=new dojo.Color(t.next("color"));}_86f=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_86e);fill=run.fill?run.fill:dc.augmentFill(t.series.fill,_86e);var _876=Math.max(0,this._hScaler.bounds.lower),xoff=_86a.l+this._hScaler.scale*(_876-this._hScaler.bounds.lower),yoff=dim.height-_86a.b-this._vScaler.scale*(1.5-this._vScaler.bounds.lower)+gap+_873*(this.series.length-i-1);for(var j=0;j<run.data.length;++j){var v=run.data[j],_87b=this._hScaler.scale*(v-_876),_87c=_873,w=Math.abs(_87b);if(w>=1&&_87c>=1){var _87e=s.createRect({x:xoff+(_87b<0?_87b:0),y:yoff-this._vScaler.scale*j,width:w,height:_87c}).setFill(fill).setStroke(_86f);run.dyn.fill=_87e.getFill();run.dyn.stroke=_87e.getStroke();}}run.dirty=false;}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Grid"]){dojo._hasResource["dojox.charting.plot2d.Grid"]=true;dojo.provide("dojox.charting.plot2d.Grid");(function(){var du=dojox.lang.utils;dojo.declare("dojox.charting.plot2d.Grid",dojox.charting.Element,{defaultParams:{hAxis:"x",vAxis:"y",hMajorLines:true,hMinorLines:false,vMajorLines:true,vMinorLines:false,hStripes:"none",vStripes:"none"},optionalParams:{},constructor:function(_880,_881){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_881);this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;},clear:function(){this._hAxis=null;this._vAxis=null;this.dirty=true;return this;},setAxis:function(axis){if(axis){this[axis.vertical?"_vAxis":"_hAxis"]=axis;}return this;},addSeries:function(run){return this;},calculateAxes:function(dim){return this;},getRequiredColors:function(){return 0;},render:function(dim,_886){if(!this.dirty){return this;}this.cleanGroup();var s=this.group,ta=this.chart.theme.axis,_889=this._vAxis.getScaler();if(this.opt.hMinorLines&&_889.minor.tick){for(var i=0;i<_889.minor.count;++i){var y=dim.height-_886.b-_889.scale*(_889.minor.start-_889.bounds.lower+i*_889.minor.tick);s.createLine({x1:_886.l,y1:y,x2:dim.width-_886.r,y2:y}).setStroke(ta.minorTick);}}if(this.opt.hMajorLines&&_889.major.tick){for(var i=0;i<_889.major.count;++i){var y=dim.height-_886.b-_889.scale*(_889.major.start-_889.bounds.lower+i*_889.major.tick);s.createLine({x1:_886.l,y1:y,x2:dim.width-_886.r,y2:y}).setStroke(ta.majorTick);}}_889=this._hAxis.getScaler();if(this.opt.vMinorLines&&_889.minor.tick){for(var i=0;i<_889.minor.count;++i){var x=_886.l+_889.scale*(_889.minor.start-_889.bounds.lower+i*_889.minor.tick);s.createLine({x1:x,y1:_886.t,x2:x,y2:dim.height-_886.b}).setStroke(ta.minorTick);}}if(this.opt.vMajorLines&&_889.major.tick){for(var i=0;i<_889.major.count;++i){var x=_886.l+_889.scale*(_889.major.start-_889.bounds.lower+i*_889.major.tick);s.createLine({x1:x,y1:_886.t,x2:x,y2:dim.height-_886.b}).setStroke(ta.majorTick);}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Pie"]){dojo._hasResource["dojox.charting.plot2d.Pie"]=true;dojo.provide("dojox.charting.plot2d.Pie");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,da=dojox.charting.axis2d.common,g=dojox.gfx;dojo.declare("dojox.charting.plot2d.Pie",dojox.charting.Element,{defaultParams:{labels:true,ticks:false,fixed:true,precision:1,labelOffset:20,labelStyle:"default",htmlLabels:true},optionalParams:{font:"",fontColor:"",radius:0},constructor:function(_892,_893){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_893);du.updateWithPattern(this.opt,_893,this.optionalParams);this.run=null;this.dyn=[];},clear:function(){this.dirty=true;this.dyn=[];return this;},setAxis:function(axis){return this;},addSeries:function(run){this.run=run;return this;},calculateAxes:function(dim){return this;},getRequiredColors:function(){return this.run?this.run.data.length:0;},render:function(dim,_898){if(!this.dirty){return this;}this.dirty=false;this.cleanGroup();var s=this.group,_89a,t=this.chart.theme;var rx=(dim.width-_898.l-_898.r)/2,ry=(dim.height-_898.t-_898.b)/2,r=Math.min(rx,ry),_89f="font" in this.opt?this.opt.font:t.axis.font,size=_89f?g.normalizedLength(g.splitFontString(_89f).size):0,_8a1="fontColor" in this.opt?this.opt.fontColor:t.axis.fontColor,_8a2=0,step,sum,_8a5,_8a6,_8a7,_8a8,run=this.run.data;if(typeof run[0]=="number"){sum=df.foldl1(run,"+");_8a5=dojo.map(run,function(x){return x/sum;});if(this.opt.labels){_8a6=dojo.map(_8a5,function(x){return this._getLabel(x*100)+"%";},this);}}else{sum=df.foldl1(run,function(a,b){return {y:a.y+b.y};}).y;_8a5=df.map(run,function(x){return x.y/sum;});if(this.opt.labels){_8a6=dojo.map(_8a5,function(x,i){var v=run[i];return "text" in v?v.text:this._getLabel(x*100)+"%";},this);}}if(this.opt.labels){_8a7=df.foldl1(df.map(_8a6,function(_8b2){return dojox.gfx._base._getTextBox(_8b2,{font:_89f}).w;},this),"Math.max(a, b)")/2;if(this.opt.labelOffset<0){r=Math.min(rx-2*_8a7,ry-size)+this.opt.labelOffset;}_8a8=r-this.opt.labelOffset;}if("radius" in this.opt){r=this.opt.radius;_8a8=r-this.opt.labelOffset;}var _8b3={cx:_898.l+rx,cy:_898.t+ry,r:r};this.dyn=[];if(!this.run||!run.length){return this;}if(run.length==1){_89a=new dojo.Color(t.next("color"));var _8b4=s.createCircle(_8b3).setFill(dc.augmentFill(t.run.fill,_89a)).setStroke(dc.augmentStroke(t.series.stroke,_89a));this.dyn.push({color:_89a,fill:_8b4.getFill(),stroke:_8b4.getStroke()});if(this.opt.labels){var elem=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,_8b3.cx,_8b3.cy+size/2,"middle","100%",_89f,_8a1);if(this.opt.htmlLabels){this.htmlElements.push(elem);}}return this;}dojo.forEach(_8a5,function(x,i){var end=_8a2+x*2*Math.PI,v=run[i];if(i+1==_8a5.length){end=2*Math.PI;}var step=end-_8a2,x1=_8b3.cx+r*Math.cos(_8a2),y1=_8b3.cy+r*Math.sin(_8a2),x2=_8b3.cx+r*Math.cos(end),y2=_8b3.cy+r*Math.sin(end);var _8bf,fill,_8c1;if(typeof v=="object"){_8bf="color" in v?v.color:new dojo.Color(t.next("color"));fill="fill" in v?v.fill:dc.augmentFill(t.series.fill,_8bf);_8c1="stroke" in v?v.stroke:dc.augmentStroke(t.series.stroke,_8bf);}else{_8bf=new dojo.Color(t.next("color"));fill=dc.augmentFill(t.series.fill,_8bf);_8c1=dc.augmentStroke(t.series.stroke,_8bf);}var _8c2=s.createPath({}).moveTo(_8b3.cx,_8b3.cy).lineTo(x1,y1).arcTo(r,r,0,step>Math.PI,true,x2,y2).lineTo(_8b3.cx,_8b3.cy).closePath().setFill(fill).setStroke(_8c1);this.dyn.push({color:_8bf,fill:fill,stroke:_8c1});_8a2=end;},this);if(this.opt.labels){_8a2=0;dojo.forEach(_8a5,function(_8c3,i){var end=_8a2+_8c3*2*Math.PI,v=run[i];if(i+1==_8a5.length){end=2*Math.PI;}var _8c7=(_8a2+end)/2,x=_8b3.cx+_8a8*Math.cos(_8c7),y=_8b3.cy+_8a8*Math.sin(_8c7)+size/2;var elem=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,x,y,"middle",_8a6[i],_89f,(typeof v=="object"&&"fontColor" in v)?v.fontColor:_8a1);if(this.opt.htmlLabels){this.htmlElements.push(elem);}_8a2=end;},this);}return this;},_getLabel:function(_8cb){return this.opt.fixed?_8cb.toFixed(this.opt.precision):_8cb.toString();}});})();}if(!dojo._hasResource["dojox.charting.Chart2D"]){dojo._hasResource["dojox.charting.Chart2D"]=true;dojo.provide("dojox.charting.Chart2D");(function(){var df=dojox.lang.functional,dc=dojox.charting,_8ce=df.lambda("item.clear()"),_8cf=df.lambda("item.purgeGroup()"),_8d0=df.lambda("item.destroy()"),_8d1=df.lambda("item.dirty = false"),_8d2=df.lambda("item.dirty = true");dojo.declare("dojox.charting.Chart2D",null,{constructor:function(node,_8d4){if(!_8d4){_8d4={};}this.margins=_8d4.margins?_8d4.margins:{l:10,t:10,r:10,b:10};this.stroke=_8d4.stroke;this.fill=_8d4.fill;this.theme=null;this.axes={};this.stack=[];this.plots={};this.series=[];this.runs={};this.dirty=true;this.coords=null;this.node=dojo.byId(node);var box=dojo.marginBox(node);this.surface=dojox.gfx.createSurface(this.node,box.w,box.h);},destroy:function(){dojo.forEach(this.series,_8d0);dojo.forEach(this.stack,_8d0);df.forIn(this.axes,_8d0);},getCoords:function(){if(!this.coords){this.coords=dojo.coords(this.node,true);}return this.coords;},setTheme:function(_8d6){this.theme=_8d6;this.dirty=true;return this;},addAxis:function(name,_8d8){var axis;if(!_8d8||!("type" in _8d8)){axis=new dc.axis2d.Default(this,_8d8);}else{axis=typeof _8d8.type=="string"?new dc.axis2d[_8d8.type](this,_8d8):new _8d8.type(this,_8d8);}axis.name=name;axis.dirty=true;if(name in this.axes){this.axes[name].destroy();}this.axes[name]=axis;this.dirty=true;return this;},addPlot:function(name,_8db){var plot;if(!_8db||!("type" in _8db)){plot=new dc.plot2d.Default(this,_8db);}else{plot=typeof _8db.type=="string"?new dc.plot2d[_8db.type](this,_8db):new _8db.type(this,_8db);}plot.name=name;plot.dirty=true;if(name in this.plots){this.stack[this.plots[name]].destroy();this.stack[this.plots[name]]=plot;}else{this.plots[name]=this.stack.length;this.stack.push(plot);}this.dirty=true;return this;},addSeries:function(name,data,_8df){var run=new dc.Series(this,data,_8df);if(name in this.runs){this.series[this.runs[name]].destroy();this.series[this.runs[name]]=run;}else{this.runs[name]=this.series.length;this.series.push(run);}this.dirty=true;if(!("ymin" in run)&&"min" in run){run.ymin=run.min;}if(!("ymax" in run)&&"max" in run){run.ymax=run.max;}return this;},updateSeries:function(name,data){if(name in this.runs){var run=this.series[this.runs[name]],plot=this.stack[this.plots[run.plot]],axis;run.data=data;run.dirty=true;if(plot.hAxis){axis=this.axes[plot.hAxis];if(axis.dependOnData()){axis.dirty=true;dojo.forEach(this.stack,function(p){if(p.hAxis&&p.hAxis==plot.hAxis){p.dirty=true;}});}}else{plot.dirty=true;}if(plot.vAxis){axis=this.axes[plot.vAxis];if(axis.dependOnData()){axis.dirty=true;dojo.forEach(this.stack,function(p){if(p.vAxis&&p.vAxis==plot.vAxis){p.dirty=true;}});}}else{plot.dirty=true;}}return this;},resize:function(_8e8,_8e9){var box;switch(arguments.length){case 0:box=dojo.marginBox(this.node);break;case 1:box=_8e8;break;default:box={w:_8e8,h:_8e9};break;}dojo.marginBox(this.node,box);this.surface.setDimensions(box.w,box.h);this.dirty=true;this.coords=null;return this.render();},render:function(){if(this.dirty){return this.fullRender();}dojo.forEach(this.stack,function(plot){if(plot.dirty||(plot.hAxis&&this.axes[plot.hAxis].dirty)||(plot.vAxis&&this.axes[plot.vAxis].dirty)){plot.calculateAxes(this.plotArea);}},this);df.forEachRev(this.stack,function(plot){plot.render(this.dim,this.offsets);},this);df.forIn(this.axes,function(axis){axis.render(this.dim,this.offsets);},this);this._makeClean();if(this.surface.render){this.surface.render();}return this;},fullRender:function(){this._makeDirty();dojo.forEach(this.stack,_8ce);dojo.forEach(this.series,_8cf);df.forIn(this.axes,_8cf);dojo.forEach(this.stack,_8cf);this.surface.clear();dojo.forEach(this.series,function(run){if(!(run.plot in this.plots)){var plot=new dc.plot2d.Default(this,{});plot.name=run.plot;this.plots[run.plot]=this.stack.length;this.stack.push(plot);}this.stack[this.plots[run.plot]].addSeries(run);},this);dojo.forEach(this.stack,function(plot){if(plot.hAxis){plot.setAxis(this.axes[plot.hAxis]);}if(plot.vAxis){plot.setAxis(this.axes[plot.vAxis]);}},this);if(!this.theme){this.theme=new dojox.charting.Theme(dojox.charting._def);}var _8f1=df.foldl(this.stack,"z + plot.getRequiredColors()",0);this.theme.defineColors({num:_8f1,cache:false});var dim=this.dim=this.surface.getDimensions();dim.width=dojox.gfx.normalizedLength(dim.width);dim.height=dojox.gfx.normalizedLength(dim.height);df.forIn(this.axes,_8ce);dojo.forEach(this.stack,function(plot){plot.calculateAxes(dim);});var _8f4=this.offsets={l:0,r:0,t:0,b:0};df.forIn(this.axes,function(axis){df.forIn(axis.getOffsets(),function(o,i){_8f4[i]+=o;});});df.forIn(this.margins,function(o,i){_8f4[i]+=o;});this.plotArea={width:dim.width-_8f4.l-_8f4.r,height:dim.height-_8f4.t-_8f4.b};df.forIn(this.axes,_8ce);dojo.forEach(this.stack,function(plot){plot.calculateAxes(this.plotArea);},this);var t=this.theme,fill=this.fill?this.fill:(t.chart&&t.chart.fill),_8fd=this.stroke?this.stroke:(t.chart&&t.chart.stroke);if(fill){this.surface.createRect({width:dim.width,height:dim.height}).setFill(fill);}if(_8fd){this.surface.createRect({width:dim.width-1,height:dim.height-1}).setStroke(_8fd);}fill=t.plotarea&&t.plotarea.fill;_8fd=t.plotarea&&t.plotarea.stroke;if(fill){this.surface.createRect({x:_8f4.l,y:_8f4.t,width:dim.width-_8f4.l-_8f4.r,height:dim.height-_8f4.t-_8f4.b}).setFill(fill);}if(_8fd){this.surface.createRect({x:_8f4.l,y:_8f4.t,width:dim.width-_8f4.l-_8f4.r-1,height:dim.height-_8f4.t-_8f4.b-1}).setStroke(_8fd);}df.foldr(this.stack,function(z,plot){return plot.render(dim,_8f4),0;},0);df.forIn(this.axes,function(axis){axis.render(dim,_8f4);});this._makeClean();return this;},_makeClean:function(){dojo.forEach(this.axes,_8d1);dojo.forEach(this.stack,_8d1);dojo.forEach(this.series,_8d1);this.dirty=false;},_makeDirty:function(){dojo.forEach(this.axes,_8d2);dojo.forEach(this.stack,_8d2);dojo.forEach(this.series,_8d2);this.dirty=true;}});})();}if(!dojo._hasResource["dojox.charting.themes.PlotKit.blue"]){dojo._hasResource["dojox.charting.themes.PlotKit.blue"]=true;dojo.provide("dojox.charting.themes.PlotKit.blue");(function(){var dxc=dojox.charting;dxc.themes.PlotKit.blue=new dxc.Theme({chart:{stroke:null,fill:"white"},plotarea:{stroke:null,fill:"#e7eef6"},axis:{stroke:{color:"#fff",width:2},line:{color:"#fff",width:1},majorTick:{color:"#fff",width:2,length:12},minorTick:{color:"#fff",width:1,length:8},font:"normal normal normal 8pt Tahoma",fontColor:"#999"},series:{outline:{width:0.1,color:"#fff"},stroke:{width:1.5,color:"#666"},fill:new dojo.Color([102,102,102,0.8]),font:"normal normal normal 7pt Tahoma",fontColor:"#000"},marker:{stroke:{width:2},fill:"#333",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},colors:[]});dxc.themes.PlotKit.blue.defineColors({hue:217,saturation:60,low:40,high:88});})();}if(!dojo._hasResource["dojox.charting.themes.PlotKit.cyan"]){dojo._hasResource["dojox.charting.themes.PlotKit.cyan"]=true;dojo.provide("dojox.charting.themes.PlotKit.cyan");(function(){var dxc=dojox.charting;dxc.themes.PlotKit.cyan=new dxc.Theme({chart:{stroke:null,fill:"white"},plotarea:{stroke:null,fill:"#e6f1f5"},axis:{stroke:{color:"#fff",width:2},line:{color:"#fff",width:1},majorTick:{color:"#fff",width:2,length:12},minorTick:{color:"#fff",width:1,length:8},font:"normal normal normal 8pt Tahoma",fontColor:"#999"},series:{outline:{width:1,color:"#fff"},stroke:{width:2,color:"#666"},fill:new dojo.Color([102,102,102,0.8]),font:"normal normal normal 7pt Tahoma",fontColor:"#000"},marker:{stroke:{width:2},fill:"#333",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},colors:[]});dxc.themes.PlotKit.cyan.defineColors({hue:194,saturation:60,low:40,high:88});})();}if(!dojo._hasResource["dojox.charting.themes.PlotKit.green"]){dojo._hasResource["dojox.charting.themes.PlotKit.green"]=true;dojo.provide("dojox.charting.themes.PlotKit.green");(function(){var dxc=dojox.charting;dxc.themes.PlotKit.green=new dxc.Theme({chart:{stroke:null,fill:"white"},plotarea:{stroke:null,fill:"#eff5e6"},axis:{stroke:{color:"#fff",width:2},line:{color:"#fff",width:1},majorTick:{color:"#fff",width:2,length:12},minorTick:{color:"#fff",width:1,length:8},font:"normal normal normal 8pt Tahoma",fontColor:"#999"},series:{outline:{width:1,color:"#fff"},stroke:{width:2,color:"#666"},fill:new dojo.Color([102,102,102,0.8]),font:"normal normal normal 7pt Tahoma",fontColor:"#000"},marker:{stroke:{width:2},fill:"#333",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},colors:[]});dxc.themes.PlotKit.green.defineColors({hue:82,saturation:60,low:40,high:88});})();}if(!dojo._hasResource["dojox.charting.themes.PlotKit.orange"]){dojo._hasResource["dojox.charting.themes.PlotKit.orange"]=true;dojo.provide("dojox.charting.themes.PlotKit.orange");(function(){var dxc=dojox.charting;dxc.themes.PlotKit.orange=new dxc.Theme({chart:{stroke:null,fill:"white"},plotarea:{stroke:null,fill:"#f5eee6"},axis:{stroke:{color:"#fff",width:2},line:{color:"#fff",width:1},majorTick:{color:"#fff",width:2,length:12},minorTick:{color:"#fff",width:1,length:8},font:"normal normal normal 8pt Tahoma",fontColor:"#999"},series:{outline:{width:0.15,color:"#fff"},stroke:{width:1.5,color:"#666"},fill:new dojo.Color([102,102,102,0.8]),font:"normal normal normal 7pt Tahoma",fontColor:"#000"},marker:{stroke:{width:2},fill:"#333",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},colors:[]});dxc.themes.PlotKit.orange.defineColors({hue:31,saturation:60,low:40,high:88});})();}if(!dojo._hasResource["dojox.charting.themes.PlotKit.purple"]){dojo._hasResource["dojox.charting.themes.PlotKit.purple"]=true;dojo.provide("dojox.charting.themes.PlotKit.purple");(function(){var dxc=dojox.charting;dxc.themes.PlotKit.purple=new dxc.Theme({chart:{stroke:null,fill:"white"},plotarea:{stroke:null,fill:"#eee6f5"},axis:{stroke:{color:"#fff",width:2},line:{color:"#fff",width:1},majorTick:{color:"#fff",width:2,length:12},minorTick:{color:"#fff",width:1,length:8},font:"normal normal normal 8pt Tahoma",fontColor:"#999"},series:{outline:{width:1,color:"#fff"},stroke:{width:2,color:"#666"},fill:new dojo.Color([102,102,102,0.8]),font:"normal normal normal 7pt Tahoma",fontColor:"#000"},marker:{stroke:{width:2},fill:"#333",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},colors:[]});dxc.themes.PlotKit.purple.defineColors({hue:271,saturation:60,low:40,high:88});})();}if(!dojo._hasResource["dojox.charting.themes.PlotKit.red"]){dojo._hasResource["dojox.charting.themes.PlotKit.red"]=true;dojo.provide("dojox.charting.themes.PlotKit.red");(function(){var dxc=dojox.charting;dxc.themes.PlotKit.red=new dxc.Theme({chart:{stroke:null,fill:"white"},plotarea:{stroke:null,fill:"#f5e6e6"},axis:{stroke:{color:"#fff",width:2},line:{color:"#fff",width:1},majorTick:{color:"#fff",width:2,length:12},minorTick:{color:"#fff",width:1,length:8},font:"normal normal normal 8pt Tahoma",fontColor:"#999"},series:{outline:{width:1,color:"#fff"},stroke:{width:2,color:"#666"},fill:new dojo.Color([102,102,102,0.8]),font:"normal normal normal 7pt Tahoma",fontColor:"#000"},marker:{stroke:{width:2},fill:"#333",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},colors:[]});dxc.themes.PlotKit.red.defineColors({hue:1,saturation:60,low:40,high:88});})();}if(!dojo._hasResource["dojo.number"]){dojo._hasResource["dojo.number"]=true;dojo.provide("dojo.number");dojo.number.format=function(_907,_908){_908=dojo.mixin({},_908||{});var _909=dojo.i18n.normalizeLocale(_908.locale);var _90a=dojo.i18n.getLocalization("dojo.cldr","number",_909);_908.customs=_90a;var _90b=_908.pattern||_90a[(_908.type||"decimal")+"Format"];if(isNaN(_907)){return null;}return dojo.number._applyPattern(_907,_90b,_908);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_90c,_90d,_90e){_90e=_90e||{};var _90f=_90e.customs.group;var _910=_90e.customs.decimal;var _911=_90d.split(";");var _912=_911[0];_90d=_911[(_90c<0)?1:0]||("-"+_912);if(_90d.indexOf("%")!=-1){_90c*=100;}else{if(_90d.indexOf("‰")!=-1){_90c*=1000;}else{if(_90d.indexOf("¤")!=-1){_90f=_90e.customs.currencyGroup||_90f;_910=_90e.customs.currencyDecimal||_910;_90d=_90d.replace(/\u00a4{1,3}/,function(_913){var prop=["symbol","currency","displayName"][_913.length-1];return _90e[prop]||_90e.currency||"";});}else{if(_90d.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _915=dojo.number._numberPatternRE;var _916=_912.match(_915);if(!_916){throw new Error("unable to find a number expression in pattern: "+_90d);}return _90d.replace(_915,dojo.number._formatAbsolute(_90c,_916[0],{decimal:_910,group:_90f,places:_90e.places}));};dojo.number.round=function(_917,_918,_919){var _91a=String(_917).split(".");var _91b=(_91a[1]&&_91a[1].length)||0;if(_91b>_918){var _91c=Math.pow(10,_918);if(_919>0){_91c*=10/_919;_918++;}_917=Math.round(_917*_91c)/_91c;_91a=String(_917).split(".");_91b=(_91a[1]&&_91a[1].length)||0;if(_91b>_918){_91a[1]=_91a[1].substr(0,_918);_917=Number(_91a.join("."));}}return _917;};dojo.number._formatAbsolute=function(_91d,_91e,_91f){_91f=_91f||{};if(_91f.places===true){_91f.places=0;}if(_91f.places===Infinity){_91f.places=6;}var _920=_91e.split(".");var _921=(_91f.places>=0)?_91f.places:(_920[1]&&_920[1].length)||0;if(!(_91f.round<0)){_91d=dojo.number.round(_91d,_921,_91f.round);}var _922=String(Math.abs(_91d)).split(".");var _923=_922[1]||"";if(_91f.places){_922[1]=dojo.string.pad(_923.substr(0,_91f.places),_91f.places,"0",true);}else{if(_920[1]&&_91f.places!==0){var pad=_920[1].lastIndexOf("0")+1;if(pad>_923.length){_922[1]=dojo.string.pad(_923,pad,"0",true);}var _925=_920[1].length;if(_925<_923.length){_922[1]=_923.substr(0,_925);}}else{if(_922[1]){_922.pop();}}}var _926=_920[0].replace(",","");pad=_926.indexOf("0");if(pad!=-1){pad=_926.length-pad;if(pad>_922[0].length){_922[0]=dojo.string.pad(_922[0],pad);}if(_926.indexOf("#")==-1){_922[0]=_922[0].substr(_922[0].length-pad);}}var _927=_920[0].lastIndexOf(",");var _928,_929;if(_927!=-1){_928=_920[0].length-_927-1;var _92a=_920[0].substr(0,_927);_927=_92a.lastIndexOf(",");if(_927!=-1){_929=_92a.length-_927-1;}}var _92b=[];for(var _92c=_922[0];_92c;){var off=_92c.length-_928;_92b.push((off>0)?_92c.substr(off):_92c);_92c=(off>0)?_92c.slice(0,off):"";if(_929){_928=_929;delete _929;}}_922[0]=_92b.reverse().join(_91f.group||",");return _922.join(_91f.decimal||".");};dojo.number.regexp=function(_92e){return dojo.number._parseInfo(_92e).regexp;};dojo.number._parseInfo=function(_92f){_92f=_92f||{};var _930=dojo.i18n.normalizeLocale(_92f.locale);var _931=dojo.i18n.getLocalization("dojo.cldr","number",_930);var _932=_92f.pattern||_931[(_92f.type||"decimal")+"Format"];var _933=_931.group;var _934=_931.decimal;var _935=1;if(_932.indexOf("%")!=-1){_935/=100;}else{if(_932.indexOf("‰")!=-1){_935/=1000;}else{var _936=_932.indexOf("¤")!=-1;if(_936){_933=_931.currencyGroup||_933;_934=_931.currencyDecimal||_934;}}}var _937=_932.split(";");if(_937.length==1){_937.push("-"+_937[0]);}var re=dojo.regexp.buildGroupRE(_937,function(_939){_939="(?:"+dojo.regexp.escapeString(_939,".")+")";return _939.replace(dojo.number._numberPatternRE,function(_93a){var _93b={signed:false,separator:_92f.strict?_933:[_933,""],fractional:_92f.fractional,decimal:_934,exponent:false};var _93c=_93a.split(".");var _93d=_92f.places;if(_93c.length==1||_93d===0){_93b.fractional=false;}else{if(_93d===undefined){_93d=_93c[1].lastIndexOf("0")+1;}if(_93d&&_92f.fractional==undefined){_93b.fractional=true;}if(!_92f.places&&(_93d<_93c[1].length)){_93d+=","+_93c[1].length;}_93b.places=_93d;}var _93e=_93c[0].split(",");if(_93e.length>1){_93b.groupSize=_93e.pop().length;if(_93e.length>1){_93b.groupSize2=_93e.pop().length;}}return "("+dojo.number._realNumberRegexp(_93b)+")";});},true);if(_936){re=re.replace(/(\s*)(\u00a4{1,3})(\s*)/g,function(_93f,_940,_941,_942){var prop=["symbol","currency","displayName"][_941.length-1];var _944=dojo.regexp.escapeString(_92f[prop]||_92f.currency||"");_940=_940?"\\s":"";_942=_942?"\\s":"";if(!_92f.strict){if(_940){_940+="*";}if(_942){_942+="*";}return "(?:"+_940+_944+_942+")?";}return _940+_944+_942;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_933,decimal:_934,factor:_935};};dojo.number.parse=function(_945,_946){var info=dojo.number._parseInfo(_946);var _948=(new RegExp("^"+info.regexp+"$")).exec(_945);if(!_948){return NaN;}var _949=_948[1];if(!_948[1]){if(!_948[2]){return NaN;}_949=_948[2];info.factor*=-1;}_949=_949.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return Number(_949)*info.factor;};dojo.number._realNumberRegexp=function(_94a){_94a=_94a||{};if(!("places" in _94a)){_94a.places=Infinity;}if(typeof _94a.decimal!="string"){_94a.decimal=".";}if(!("fractional" in _94a)||/^0/.test(_94a.places)){_94a.fractional=[true,false];}if(!("exponent" in _94a)){_94a.exponent=[true,false];}if(!("eSigned" in _94a)){_94a.eSigned=[true,false];}var _94b=dojo.number._integerRegexp(_94a);var _94c=dojo.regexp.buildGroupRE(_94a.fractional,function(q){var re="";if(q&&(_94a.places!==0)){re="\\"+_94a.decimal;if(_94a.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_94a.places+"}";}}return re;},true);var _94f=dojo.regexp.buildGroupRE(_94a.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_94a.eSigned})+")";}return "";});var _951=_94b+_94c;if(_94c){_951="(?:(?:"+_951+")|(?:"+_94c+"))";}return _951+_94f;};dojo.number._integerRegexp=function(_952){_952=_952||{};if(!("signed" in _952)){_952.signed=[true,false];}if(!("separator" in _952)){_952.separator="";}else{if(!("groupSize" in _952)){_952.groupSize=3;}}var _953=dojo.regexp.buildGroupRE(_952.signed,function(q){return q?"[-+]":"";},true);var _955=dojo.regexp.buildGroupRE(_952.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=_952.groupSize,grp2=_952.groupSize2;if(grp2){var _959="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_959+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_959;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _953+_955;};}if(!dojo._hasResource["dijit.ProgressBar"]){dojo._hasResource["dijit.ProgressBar"]=true;dojo.provide("dijit.ProgressBar");dojo.declare("dijit.ProgressBar",[dijit._Widget,dijit._Templated],{progress:"0",maximum:100,places:0,indeterminate:false,templateString:"<div class=\"dijitProgressBar dijitProgressBarEmpty\"\n\t><div waiRole=\"progressbar\" tabindex=\"0\" dojoAttachPoint=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\"></div\n\t\t><span style=\"visibility:hidden\">&nbsp;</span\n\t></div\n\t><div dojoAttachPoint=\"label\" class=\"dijitProgressBarLabel\" id=\"${id}_label\">&nbsp;</div\n\t><img dojoAttachPoint=\"inteterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\"\n\t></img\n></div>\n",_indeterminateHighContrastImagePath:dojo.moduleUrl("dijit","themes/a11y/indeterminate_progress.gif"),postCreate:function(){this.inherited("postCreate",arguments);this.inteterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath);this.update();},update:function(_95a){dojo.mixin(this,_95a||{});var _95b=1,_95c;if(this.indeterminate){_95c="addClass";dijit.removeWaiState(this.internalProgress,"valuenow");dijit.removeWaiState(this.internalProgress,"valuemin");dijit.removeWaiState(this.internalProgress,"valuemax");}else{_95c="removeClass";if(String(this.progress).indexOf("%")!=-1){_95b=Math.min(parseFloat(this.progress)/100,1);this.progress=_95b*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_95b=this.progress/this.maximum;}var text=this.report(_95b);this.label.firstChild.nodeValue=text;dijit.setWaiState(this.internalProgress,"describedby",this.label.id);dijit.setWaiState(this.internalProgress,"valuenow",this.progress);dijit.setWaiState(this.internalProgress,"valuemin",0);dijit.setWaiState(this.internalProgress,"valuemax",this.maximum);}dojo[_95c](this.domNode,"dijitProgressBarIndeterminate");this.internalProgress.style.width=(_95b*100)+"%";this.onChange();},report:function(_95e){return dojo.number.format(_95e,{type:"percent",places:this.places,locale:this.lang});},onChange:function(){}});}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:"<div class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"onclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"\n\twaiRole=\"presentation\"\n\t><button class=\"dijitReset dijitStretch dijitButtonNode dijitButtonContents\" dojoAttachPoint=\"focusNode,titleNode\"\n\t\ttype=\"${type}\" waiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t><span class=\"dijitReset dijitInline ${iconClass}\" dojoAttachPoint=\"iconNode\" \n \t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#10003;</span \n\t\t></span\n\t\t><div class=\"dijitReset dijitInline\"><center class=\"dijitReset dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\">${label}</center></div\n\t></button\n></div>\n",_onChangeMonitor:"",_onClick:function(e){if(this.disabled||this.readOnly){dojo.stopEvent(e);return false;}this._clicked();return this.onClick(e);},_onButtonClick:function(e){if(this._onClick(e)===false){dojo.stopEvent(e);}else{if(this.type=="submit"&&!this.focusNode.form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _962=dijit.byNode(node);if(_962&&typeof _962._onSubmit=="function"){_962._onSubmit(e);break;}}}}},postCreate:function(){if(this.showLabel==false){var _963="";this.label=this.containerNode.innerHTML;_963=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");this.titleNode.title=_963;dojo.addClass(this.containerNode,"dijitDisplayNone");}dojo.setSelectable(this.focusNode,false);this.inherited(arguments);},onClick:function(e){return true;},_clicked:function(e){},setLabel:function(_966){this.containerNode.innerHTML=this.label=_966;this._layoutHack();if(this.showLabel==false){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container],{baseClass:"dijitDropDownButton",templateString:"<div class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse,onclick:_onDropDownClick,onkeydown:_onDropDownKeydown,onblur:_onDropDownBlur,onkeypress:_onKey\"\n\twaiRole=\"presentation\"\n\t><div class='dijitReset dijitRight' waiRole=\"presentation\"\n\t><button class=\"dijitReset dijitStretch dijitButtonNode dijitButtonContents\" type=\"${type}\"\n\t\tdojoAttachPoint=\"focusNode,titleNode\" waiRole=\"button\" waiState=\"haspopup-true,labelledby-${id}_label\"\n\t\t><div class=\"dijitReset dijitInline ${iconClass}\" dojoAttachPoint=\"iconNode\" waiRole=\"presentation\"></div\n\t\t><div class=\"dijitReset dijitInline dijitButtonText\"  dojoAttachPoint=\"containerNode,popupStateNode\" waiRole=\"presentation\"\n\t\t\tid=\"${id}_label\">${label}</div\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" waiRole=\"presentation\">&thinsp;</div\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonChar\" waiRole=\"presentation\">&#9660;</div\n\t></button\n></div></div>\n",_fillContent:function(){if(this.srcNodeRef){var _967=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_967[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown){var _968=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_968);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 _96b=dojo.isFF&&dojo.isFF<3&&navigator.appVersion.indexOf("Macintosh")!=-1;if(!_96b||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.keyCode==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 _96f=this.dropDown;if(!_96f){return;}if(!this._opened){if(_96f.href&&!_96f.isLoaded){var self=this;var _971=dojo.connect(_96f,"onLoad",function(){dojo.disconnect(_971);self._openDropDown();});_96f._loadCheck(true);return;}else{this._openDropDown();}}else{this._closeDropDown();}},_openDropDown:function(){var _972=this.dropDown;var _973=_972.domNode.style.width;var self=this;dijit.popup.open({parent:this,popup:_972,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(){_972.domNode.style.width=_973;self.popupStateNode.removeAttribute("popupActive");this._opened=false;}});if(this.domNode.offsetWidth>_972.domNode.offsetWidth){var _975=null;if(!this.isLeftToRight()){_975=_972.domNode.parentNode;var _976=_975.offsetLeft+_975.offsetWidth;}dojo.marginBox(_972.domNode,{w:this.domNode.offsetWidth});if(_975){_975.style.left=_976-this.domNode.offsetWidth+"px";}}this.popupStateNode.setAttribute("popupActive","true");this._opened=true;if(_972.focus){_972.focus();}},_closeDropDown:function(_977){if(this._opened){dijit.popup.close(this.dropDown);if(_977){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\tclass=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\"\n\t\t\ttabIndex=\"${tabIndex}\"\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 ${iconClass}\" dojoAttachPoint=\"iconNode\" waiRole=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\" waiRole=\"presentation\">${label}</div\n\t\t></td\n\t\t><td class='dijitReset dijitStretch 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._FormWidget.prototype.attributeMap),{id:"",name:""}),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,_onChangeMonitor:"checked",attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{checked:"focusNode"}),_clicked:function(evt){this.setAttribute("checked",!this.checked);},setAttribute:function(attr,_980){this.inherited(arguments);switch(attr){case "checked":dijit.setWaiState(this.focusNode||this.domNode,"pressed",this.checked);this._setStateClass();this._handleOnChange(this.checked,true);}},setChecked:function(_981){dojo.deprecated("setChecked("+_981+") is deprecated. Use setAttribute('checked',"+_981+") instead.","","2.0");this.setAttribute("checked",_981);},postCreate:function(){this.inherited(arguments);this.setAttribute("checked",this.checked);}});}if(!dojo._hasResource["dijit.InlineEditBox"]){dojo._hasResource["dijit.InlineEditBox"]=true;dojo.provide("dijit.InlineEditBox");dojo.declare("dijit.InlineEditBox",dijit._Widget,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:"dijit.form.TextBox",editorParams:{},onChange:function(_982){},width:"100%",value:"",noValueIndicator:"<span style='font-family: wingdings; text-decoration: underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&#x270d;&nbsp;&nbsp;&nbsp;&nbsp;</span>",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.displayNode=this.srcNodeRef;var _983={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _983){this.connect(this.displayNode,name,_983[name]);}dijit.setWaiRole(this.displayNode,"button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}this.setValue(this.value||this.displayNode.innerHTML);},setDisabled:function(_985){this.disabled=_985;dijit.setWaiState(this.focusNode||this.domNode,"disabled",_985);},_onMouseOver:function(){dojo.addClass(this.displayNode,this.disabled?"dijitDisabledClickableRegion":"dijitClickableRegion");},_onMouseOut:function(){dojo.removeClass(this.displayNode,this.disabled?"dijitDisabledClickableRegion":"dijitClickableRegion");},_onClick:function(e){if(this.disabled){return;}if(e){dojo.stopEvent(e);}this._onMouseOut();setTimeout(dojo.hitch(this,"_edit"),0);},_edit:function(){this.editing=true;var _987=(this.renderAsHtml?this.value:this.value.replace(/\s*\r?\n\s*/g,"").replace(/<br\/?>/gi,"\n").replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&amp;/g,"&"));var _988=dojo.doc.createElement("span");dojo.place(_988,this.domNode,"before");var ew=this.editWidget=new dijit._InlineEditor({value:dojo.trim(_987),autoSave:this.autoSave,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,renderAsHtml:this.renderAsHtml,editor:this.editor,editorParams:this.editorParams,style:dojo.getComputedStyle(this.displayNode),save:dojo.hitch(this,"save"),cancel:dojo.hitch(this,"cancel"),width:this.width},_988);var ews=ew.domNode.style;this.displayNode.style.display="none";ews.position="static";ews.visibility="visible";this.domNode=ew.domNode;setTimeout(function(){ew.focus();},100);},_showText:function(_98b){this.displayNode.style.display="";var ew=this.editWidget;var ews=ew.domNode.style;ews.position="absolute";ews.visibility="hidden";this.domNode=this.displayNode;if(_98b){dijit.focus(this.displayNode);}ews.display="none";setTimeout(function(){ew.destroy();delete ew;if(dojo.isIE){dijit.focus(dijit.getFocus());}},1000);},save:function(_98e){this.editing=false;var _98f=this.editWidget.getValue()+"";if(!this.renderAsHtml){_98f=_98f.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");}this.setValue(_98f);this.onChange(_98f);this._showText(_98e);},setValue:function(val){this.value=val;this.displayNode.innerHTML=dojo.trim(val)||this.noValueIndicator;},getValue:function(){return this.value;},cancel:function(_991){this.editing=false;this._showText(_991);}});dojo.declare("dijit._InlineEditor",[dijit._Widget,dijit._Templated],{templateString:"<fieldset dojoAttachPoint=\"editNode\" waiRole=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdojoAttachEvent=\"onkeypress: _onKeyPress\" \n\t><input dojoAttachPoint=\"editorPlaceholder\"\n\t/><span dojoAttachPoint=\"buttonContainer\"\n\t\t><button class='saveButton' dojoAttachPoint=\"saveButton\" dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick:save\" disabled=\"true\">${buttonSave}</button\n\t\t><button class='cancelButton' dojoAttachPoint=\"cancelButton\" dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick:cancel\">${buttonCancel}</button\n\t></span\n></fieldset>\n",widgetsInTemplate:true,postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.messages=dojo.i18n.getLocalization("dijit","common",this.lang);dojo.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},postCreate:function(){var cls=dojo.getObject(this.editor);var ew=this.editWidget=new cls(this.editorParams,this.editorPlaceholder);var _995=this.style;dojo.forEach(["fontWeight","fontFamily","fontSize","fontStyle"],function(prop){ew.focusNode.style[prop]=_995[prop];},this);dojo.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_995[prop];},this);if(this.width=="100%"){ew.domNode.style.width="100%";this.domNode.style.display="block";}else{ew.domNode.style.width=this.width+(Number(this.width)==this.width?"px":"");}this.connect(ew,"onChange","_onChange");this.connect(ew.focusNode||ew.domNode,"onkeypress","_onKeyPress");(this.editWidget.setDisplayedValue||this.editWidget.setValue).call(this.editWidget,this.value,false);this._initialText=this.getValue();if(this.autoSave){this.buttonContainer.style.display="none";}},destroy:function(){this.editWidget.destroy();this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return ew.getDisplayedValue?ew.getDisplayedValue():ew.getValue();},_onKeyPress:function(e){if(this._exitInProgress){return;}if(this.autoSave){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==dojo.keys.ESCAPE){dojo.stopEvent(e);this._exitInProgress=true;this.cancel(true);}else{if(e.keyCode==dojo.keys.ENTER){dojo.stopEvent(e);this._exitInProgress=true;this.save(true);}else{if(e.keyCode==dojo.keys.TAB){this._exitInProgress=true;setTimeout(dojo.hitch(this,"save",false),0);}}}}else{var _99a=this;setTimeout(function(){_99a.saveButton.setAttribute("disabled",_99a.getValue()==_99a._initialText);},100);}},_onBlur:function(){this.inherited(arguments);if(this._exitInProgress){return;}if(this.autoSave){this._exitInProgress=true;if(this.getValue()==this._initialText){this.cancel(false);}else{this.save(false);}}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},_onChange:function(){if(this._exitInProgress){return;}if(this.autoSave){this._exitInProgress=true;this.save(true);}else{this.saveButton.setAttribute("disabled",(this.getValue()==this._initialText)||!this.enableSave());}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();dijit.selectInputText(this.editWidget.focusNode);}});}if(!dojo._hasResource["dojox.fx.easing"]){dojo._hasResource["dojox.fx.easing"]=true;dojo.provide("dojox.fx.easing");dojox.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){return 0;}if(n==1){return 1;}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){return 0;}if(n==1){return 1;}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-dojox.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 dojox.fx.easing.bounceIn(n*2)/2;}return (dojox.fx.easing.bounceOut(n*2-1)/2)+0.5;}};}if(!dojo._hasResource["dijit.form.CheckBox"]){dojo._hasResource["dijit.form.CheckBox"]=true;dojo.provide("dijit.form.CheckBox");dojo.declare("dijit.form.CheckBox",dijit.form.ToggleButton,{templateString:"<div class=\"dijitReset dijitInline\" waiRole=\"presentation\"\n\t><input\n\t \ttype=\"${type}\" name=\"${name}\"\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdojoAttachPoint=\"focusNode\"\n\t \tdojoAttachEvent=\"onmouseover:_onMouse,onmouseout:_onMouse,onclick:_onClick\"\n/></div>\n",baseClass:"dijitCheckBox",type:"checkbox",value:"on",setValue:function(_9c6){if(typeof _9c6=="string"){this.setAttribute("value",_9c6);_9c6=true;}this.setAttribute("checked",_9c6);},_getValueDeprecated:false,getValue:function(){return (this.checked?this.value:false);},reset:function(){this.inherited(arguments);this.setAttribute("value",this._resetValueAttr);},postCreate:function(){this.inherited(arguments);this._resetValueAttr=this.value;}});dojo.declare("dijit.form.RadioButton",dijit.form.CheckBox,{type:"radio",baseClass:"dijitRadio",_groups:{},postCreate:function(){(this._groups[this.name]=this._groups[this.name]||[]).push(this);this.inherited(arguments);},uninitialize:function(){dojo.forEach(this._groups[this.name],function(_9c7,i,arr){if(_9c7===this){arr.splice(i,1);return;}},this);},setAttribute:function(attr,_9cb){this.inherited(arguments);switch(attr){case "checked":if(this.checked){dojo.forEach(this._groups[this.name],function(_9cc){if(_9cc!=this&&_9cc.checked){_9cc.setAttribute("checked",false);}},this);}}},_clicked:function(e){if(!this.checked){this.setAttribute("checked",true);}}});}if(!dojo._hasResource["dojo.cldr.monetary"]){dojo._hasResource["dojo.cldr.monetary"]=true;dojo.provide("dojo.cldr.monetary");dojo.cldr.monetary.getData=function(code){var _9cf={ADP:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,DJF:0,ESP:0,GNF:0,IQD:3,ITL:0,JOD:3,JPY:0,KMF:0,KRW:0,KWD:3,LUF:0,LYD:3,MGA:0,MGF:0,OMR:3,PYG:0,RWF:0,TND:3,TRL:0,VUV:0,XAF:0,XOF:0,XPF:0};var _9d0={CHF:5};var _9d1=_9cf[code],_9d2=_9d0[code];if(typeof _9d1=="undefined"){_9d1=2;}if(typeof _9d2=="undefined"){_9d2=0;}return {places:_9d1,round:_9d2};};}if(!dojo._hasResource["dojo.currency"]){dojo._hasResource["dojo.currency"]=true;dojo.provide("dojo.currency");dojo.currency._mixInDefaults=function(_9d3){_9d3=_9d3||{};_9d3.type="currency";var _9d4=dojo.i18n.getLocalization("dojo.cldr","currency",_9d3.locale)||{};var iso=_9d3.currency;var data=dojo.cldr.monetary.getData(iso);dojo.forEach(["displayName","symbol","group","decimal"],function(prop){data[prop]=_9d4[iso+"_"+prop];});data.fractional=[true,false];return dojo.mixin(data,_9d3);};dojo.currency.format=function(_9d8,_9d9){return dojo.number.format(_9d8,dojo.currency._mixInDefaults(_9d9));};dojo.currency.regexp=function(_9da){return dojo.number.regexp(dojo.currency._mixInDefaults(_9da));};dojo.currency.parse=function(_9db,_9dc){return dojo.number.parse(_9db,dojo.currency._mixInDefaults(_9dc));};}if(!dojo._hasResource["dijit.form.NumberTextBox"]){dojo._hasResource["dijit.form.NumberTextBox"]=true;dojo.provide("dijit.form.NumberTextBox");dojo.declare("dijit.form.NumberTextBoxMixin",null,{regExpGen:dojo.number.regexp,editOptions:{pattern:"#.######"},_onFocus:function(){this.setValue(this.getValue(),false);this.inherited(arguments);},_formatter:dojo.number.format,format:function(_9dd,_9de){if(typeof _9dd=="string"){return _9dd;}if(isNaN(_9dd)){return "";}if(this.editOptions&&this._focused){_9de=dojo.mixin(dojo.mixin({},this.editOptions),this.constraints);}return this._formatter(_9dd,_9de);},parse:dojo.number.parse,filter:function(_9df){if(typeof _9df=="string"){return this.inherited("filter",arguments);}return isNaN(_9df)?"":_9df;},value:NaN});dojo.declare("dijit.form.NumberTextBox",[dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin],{});}if(!dojo._hasResource["dijit.form.CurrencyTextBox"]){dojo._hasResource["dijit.form.CurrencyTextBox"]=true;dojo.provide("dijit.form.CurrencyTextBox");dojo.declare("dijit.form.CurrencyTextBox",dijit.form.NumberTextBox,{currency:"",regExpGen:dojo.currency.regexp,_formatter:dojo.currency.format,parse:dojo.currency.parse,postMixInProperties:function(){if(this.constraints===dijit.form.ValidationTextBox.prototype.constraints){this.constraints={};}this.constraints.currency=this.currency;dijit.form.CurrencyTextBox.superclass.postMixInProperties.apply(this,arguments);}});}if(!dojo._hasResource["dojo.io.iframe"]){dojo._hasResource["dojo.io.iframe"]=true;dojo.provide("dojo.io.iframe");dojo.io.iframe={create:function(_9e0,_9e1,uri){if(window[_9e0]){return window[_9e0];}if(window.frames[_9e0]){return window.frames[_9e0];}var _9e3=null;var turi=uri;if(!turi){if(dojo.config["useXDomain"]&&!dojo.config["dojoBlankHtmlUrl"]){console.debug("dojo.io.iframe.create: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");}turi=(dojo.config["dojoBlankHtmlUrl"]||dojo.moduleUrl("dojo","resources/blank.html"));}var _9e5=dojo.isIE?"<iframe name=\""+_9e0+"\" src=\""+turi+"\" onload=\""+_9e1+"\">":"iframe";_9e3=dojo.doc.createElement(_9e5);with(_9e3){name=_9e0;setAttribute("name",_9e0);id=_9e0;}dojo.body().appendChild(_9e3);window[_9e0]=_9e3;with(_9e3.style){if(dojo.isSafari<3){position="absolute";}left=top="1px";height=width="1px";visibility="hidden";}if(!dojo.isIE){this.setSrc(_9e3,turi,true);_9e3.onload=new Function(_9e1);}return _9e3;},setSrc:function(_9e6,src,_9e8){try{if(!_9e8){if(dojo.isSafari){_9e6.location=src;}else{frames[_9e6.name].location=src;}}else{var idoc;if(dojo.isIE||dojo.isSafari>2){idoc=_9e6.contentWindow.document;}else{if(dojo.isSafari){idoc=_9e6.document;}else{idoc=_9e6.contentWindow;}}if(!idoc){_9e6.location=src;return;}else{idoc.location.replace(src);}}}catch(e){console.debug("dojo.io.iframe.setSrc: ",e);}},doc:function(_9ea){var doc=_9ea.contentDocument||(((_9ea.name)&&(_9ea.document)&&(document.getElementsByTagName("iframe")[_9ea.name].contentWindow)&&(document.getElementsByTagName("iframe")[_9ea.name].contentWindow.document)))||((_9ea.name)&&(document.frames[_9ea.name])&&(document.frames[_9ea.name].document))||null;return doc;},send:function(args){if(!this["_frame"]){this._frame=this.create(this._iframeName,dojo._scopeName+".io.iframe._iframeOnload();");}var dfd=dojo._ioSetArgs(args,function(dfd){dfd.canceled=true;dfd.ioArgs._callNext();},function(dfd){var _9f0=null;try{var _9f1=dfd.ioArgs;var dii=dojo.io.iframe;var ifd=dii.doc(dii._frame);var _9f4=_9f1.handleAs;_9f0=ifd;if(_9f4!="html"){_9f0=ifd.getElementsByTagName("textarea")[0].value;if(_9f4=="json"){_9f0=dojo.fromJson(_9f0);}else{if(_9f4=="javascript"){_9f0=dojo.eval(_9f0);}}}}catch(e){_9f0=e;}finally{_9f1._callNext();}return _9f0;},function(_9f5,dfd){dfd.ioArgs._hasError=true;dfd.ioArgs._callNext();return _9f5;});dfd.ioArgs._callNext=function(){if(!this["_calledNext"]){this._calledNext=true;dojo.io.iframe._currentDfd=null;dojo.io.iframe._fireNextRequest();}};this._dfdQueue.push(dfd);this._fireNextRequest();dojo._ioWatch(dfd,function(dfd){return !dfd.ioArgs["_hasError"];},function(dfd){return (!!dfd.ioArgs["_finished"]);},function(dfd){if(dfd.ioArgs._finished){dfd.callback(dfd);}else{dfd.errback(new Error("Invalid dojo.io.iframe request state"));}});return dfd;},_currentDfd:null,_dfdQueue:[],_iframeName:dojo._scopeName+"IoIframe",_fireNextRequest:function(){try{if((this._currentDfd)||(this._dfdQueue.length==0)){return;}var dfd=this._currentDfd=this._dfdQueue.shift();var _9fb=dfd.ioArgs;var args=_9fb.args;_9fb._contentToClean=[];var fn=dojo.byId(args["form"]);var _9fe=args["content"]||{};if(fn){if(_9fe){for(var x in _9fe){if(!fn[x]){var tn;if(dojo.isIE){tn=dojo.doc.createElement("<input type='hidden' name='"+x+"'>");}else{tn=dojo.doc.createElement("input");tn.type="hidden";tn.name=x;}tn.value=_9fe[x];fn.appendChild(tn);_9fb._contentToClean.push(x);}else{fn[x].value=_9fe[x];}}}var _a01=fn.getAttributeNode("action");var _a02=fn.getAttributeNode("method");var _a03=fn.getAttributeNode("target");if(args["url"]){_9fb._originalAction=_a01?_a01.value:null;if(_a01){_a01.value=args.url;}else{fn.setAttribute("action",args.url);}}if(!_a02||!_a02.value){if(_a02){_a02.value=(args["method"])?args["method"]:"post";}else{fn.setAttribute("method",(args["method"])?args["method"]:"post");}}_9fb._originalTarget=_a03?_a03.value:null;if(_a03){_a03.value=this._iframeName;}else{fn.setAttribute("target",this._iframeName);}fn.target=this._iframeName;fn.submit();}else{var _a04=args.url+(args.url.indexOf("?")>-1?"&":"?")+_9fb.query;this.setSrc(this._frame,_a04,true);}}catch(e){dfd.errback(e);}},_iframeOnload:function(){var dfd=this._currentDfd;if(!dfd){this._fireNextRequest();return;}var _a06=dfd.ioArgs;var args=_a06.args;var _a08=dojo.byId(args.form);if(_a08){var _a09=_a06._contentToClean;for(var i=0;i<_a09.length;i++){var key=_a09[i];if(dojo.isSafari<3){for(var j=0;j<_a08.childNodes.length;j++){var _a0d=_a08.childNodes[j];if(_a0d.name==key){dojo._destroyElement(_a0d);break;}}}else{dojo._destroyElement(_a08[key]);_a08[key]=null;}}if(_a06["_originalAction"]){_a08.setAttribute("action",_a06._originalAction);}if(_a06["_originalTarget"]){_a08.setAttribute("target",_a06._originalTarget);_a08.target=_a06._originalTarget;}}_a06._finished=true;}};}if(!dojo._hasResource["dojox.widget.FileInput"]){dojo._hasResource["dojox.widget.FileInput"]=true;dojo.provide("dojox.widget.FileInput");dojo.experimental("dojox.widget.FileInput");dojo.declare("dojox.widget.FileInput",dijit.form._FormWidget,{label:"Browse ...",cancelText:"Cancel",name:"uploadFile",templateString:"<div class=\"dijitFileInput\">\n\t<input id=\"${id}\" class=\"dijitFileInputReal\" type=\"file\" dojoAttachPoint=\"fileInput\" name=\"${name}\" />\n\t<div class=\"dijitFakeInput\">\n\t\t<input class=\"dijitFileInputVisible\" type=\"text\" dojoAttachPoint=\"focusNode, inputNode\" />\n\t\t<div class=\"dijitInline dijitFileInputText\" dojoAttachPoint=\"titleNode\">${label}</div>\n\t\t<div class=\"dijitInline dijitFileInputButton\" dojoAttachPoint=\"cancelNode\" \n\t\t\tdojoAttachEvent=\"onclick:_onClick\">${cancelText}</div>\n\t</div>\n</div>\n",startup:function(){this._listener=dojo.connect(this.fileInput,"onchange",this,"_matchValue");this._keyListener=dojo.connect(this.fileInput,"onkeyup",this,"_matchValue");},_matchValue:function(){this.inputNode.value=this.fileInput.value;if(this.inputNode.value){this.cancelNode.style.visibility="visible";dojo.fadeIn({node:this.cancelNode,duration:275}).play();}},setLabel:function(_a0e,_a0f){this.titleNode.innerHTML=_a0e;},_onClick:function(e){dojo.disconnect(this._listener);dojo.disconnect(this._keyListener);this.domNode.removeChild(this.fileInput);dojo.fadeOut({node:this.cancelNode,duration:275}).play();this.fileInput=document.createElement("input");this.fileInput.setAttribute("type","file");this.fileInput.setAttribute("id",this.id);this.fileInput.setAttribute("name",this.name);dojo.addClass(this.fileInput,"dijitFileInputReal");this.domNode.appendChild(this.fileInput);this._keyListener=dojo.connect(this.fileInput,"onkeyup",this,"_matchValue");this._listener=dojo.connect(this.fileInput,"onchange",this,"_matchValue");this.inputNode.value="";}});}if(!dojo._hasResource["dojox.widget.FileInputAuto"]){dojo._hasResource["dojox.widget.FileInputAuto"]=true;dojo.provide("dojox.widget.FileInputAuto");dojo.declare("dojox.widget.FileInputAuto",dojox.widget.FileInput,{url:"",blurDelay:2000,duration:500,uploadMessage:"Uploading ...",_sent:false,templateString:"<div class=\"dijitFileInput\">\n\t<input id=\"${id}\" name=\"${name}\" class=\"dijitFileInputReal\" type=\"file\" dojoAttachPoint=\"fileInput\" />\n\t<div class=\"dijitFakeInput\" dojoAttachPoint=\"fakeNodeHolder\">\n\t\t<input class=\"dijitFileInputVisible\" type=\"text\" dojoAttachPoint=\"focusNode, inputNode\" />\n\t\t<div class=\"dijitInline dijitFileInputText\" dojoAttachPoint=\"titleNode\">${label}</div>\n\t\t<div class=\"dijitInline dijitFileInputButton\" dojoAttachPoint=\"cancelNode\" dojoAttachEvent=\"onclick:_onClick\">${cancelText}</div>\n\t</div>\n\t<div class=\"dijitProgressOverlay\" dojoAttachPoint=\"overlay\">&nbsp;</div>\n</div>\n",startup:function(){this._blurListener=dojo.connect(this.fileInput,"onblur",this,"_onBlur");this._focusListener=dojo.connect(this.fileInput,"onfocus",this,"_onFocus");this.inherited("startup",arguments);},_onFocus:function(){if(this._blurTimer){clearTimeout(this._blurTimer);}},_onBlur:function(){if(this._blurTimer){clearTimeout(this._blurTimer);}if(!this._sent){this._blurTimer=setTimeout(dojo.hitch(this,"_sendFile"),this.blurDelay);}},setMessage:function(_a11){if(!dojo.isIE){this.overlay.innerHTML=_a11;}},_sendFile:function(e){if(!this.fileInput.value||this._sent){return;}dojo.style(this.fakeNodeHolder,"display","none");dojo.style(this.overlay,"opacity","0");dojo.style(this.overlay,"display","block");this.setMessage(this.uploadMessage);dojo.fadeIn({node:this.overlay,duration:this.duration}).play();var _a13;if(dojo.isIE){_a13=document.createElement("<form enctype=\"multipart/form-data\" method=\"post\">");_a13.encoding="multipart/form-data";}else{_a13=document.createElement("form");_a13.setAttribute("enctype","multipart/form-data");}_a13.appendChild(this.fileInput);dojo.body().appendChild(_a13);dojo.io.iframe.send({url:this.url+"?name="+this.name,form:_a13,handleAs:"json",handle:dojo.hitch(this,"_handleSend")});},_handleSend:function(data,_a15){if(!dojo.isIE){this.overlay.innerHTML="";}this._sent=true;dojo.style(this.overlay,"opacity","0");dojo.style(this.overlay,"border","none");dojo.style(this.overlay,"background","none");this.overlay.style.backgroundImage="none";this.fileInput.style.display="none";this.fakeNodeHolder.style.display="none";dojo.fadeIn({node:this.overlay,duration:this.duration}).play(250);dojo.disconnect(this._blurListener);dojo.disconnect(this._focusListener);this.onComplete(data,_a15,this);},_onClick:function(e){if(this._blurTimer){clearTimeout(this._blurTimer);}dojo.disconnect(this._blurListener);dojo.disconnect(this._focusListener);this.inherited("_onClick",arguments);this._blurListener=dojo.connect(this.fileInput,"onblur",this,"_onBlur");this._focusListener=dojo.connect(this.fileInput,"onfocus",this,"_onFocus");},onComplete:function(data,_a18,_a19){}});dojo.declare("dojox.widget.FileInputBlind",dojox.widget.FileInputAuto,{startup:function(){this.inherited("startup",arguments);this._off=dojo.style(this.inputNode,"width");this.inputNode.style.display="none";this._fixPosition();},_fixPosition:function(){if(dojo.isIE){dojo.style(this.fileInput,"width","1px");}else{dojo.style(this.fileInput,"left","-"+(this._off)+"px");}},_onClick:function(e){this.inherited("_onClick",arguments);this._fixPosition();}});}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(_a1b){_a1b.startup();});this.startupKeyNavChildren();this.inherited(arguments);},onExecute:function(){},onCancel:function(_a1c){},_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.keyCode){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(_a25){var win=dijit.getDocumentWindow(dijit.Menu._iframeContentDocument(_a25))||dijit.Menu._iframeContentDocument(_a25)["__parent__"]||(_a25.name&&dojo.doc.frames[_a25.name])||null;return win;},_iframeContentDocument:function(_a27){var doc=_a27.contentDocument||(_a27.contentWindow&&_a27.contentWindow.document)||(_a27.name&&dojo.doc.frames[_a27.name]&&dojo.doc.frames[_a27.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(_a2c){var node=dojo.byId(_a2c);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 _a36=dojo.coords(e.target,true);x=_a36.x+10;y=_a36.y+10;}var self=this;var _a38=dijit.getFocus(this);function closeAndRestoreFocus(){dijit.focus(_a38);dijit.popup.close(self);};dijit.popup.open({popup:this,x:x,y:y,onExecute:closeAndRestoreFocus,onCancel:closeAndRestoreFocus,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 _a3a=this.focusedChild;var _a3b=_a3a.popup;if(_a3b.isShowingNow){return;}_a3b.parentMenu=this;var self=this;dijit.popup.open({parent:this,popup:_a3b,around:_a3a.arrowCell,orient:this.isLeftToRight()?{"TR":"TL","TL":"TR"}:{"TL":"TR","TR":"TL"},onCancel:function(){dijit.popup.close(_a3b);_a3a.focus();self.currentPopup=null;}});this.currentPopup=_a3b;if(_a3b.focus){_a3b.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\" "+"dojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">"+"<td class=\"dijitReset\"><div class=\"dijitMenuItemIcon ${iconClass}\" dojoAttachPoint=\"iconNode\"></div></td>"+"<td tabIndex=\"-1\" class=\"dijitReset dijitMenuItemLabel\" dojoAttachPoint=\"containerNode,focusNode\" waiRole=\"menuitem\"></td>"+"<td class=\"dijitReset\" dojoAttachPoint=\"arrowCell\">"+"<div class=\"dijitMenuExpand\" dojoAttachPoint=\"expand\" style=\"display:none\">"+"<span class=\"dijitInline dijitArrowNode dijitMenuExpandInner\">+</span>"+"</div>"+"</td>"+"</tr>",label:"",iconClass:"",disabled:false,postCreate:function(){dojo.setSelectable(this.domNode,false);this.setDisabled(this.disabled);if(this.label){this.setLabel(this.label);}},_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.containerNode);}catch(e){}},_blur:function(){dojo.removeClass(this.domNode,"dijitMenuItemHover");},setLabel:function(_a3f){this.containerNode.innerHTML=this.label=_a3f;},setDisabled:function(_a40){this.disabled=_a40;dojo[_a40?"addClass":"removeClass"](this.domNode,"dijitMenuItemDisabled");dijit.setWaiState(this.containerNode,"disabled",_a40?"true":"false");}});dojo.declare("dijit.PopupMenuItem",dijit.MenuItem,{_fillContent:function(){if(this.srcNodeRef){var _a41=dojo.query("*",this.srcNodeRef);dijit.PopupMenuItem.superclass._fillContent.call(this,_a41[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.addClass(this.expand,"dijitMenuExpandEnabled");dojo.style(this.expand,"display","");dijit.setWaiState(this.containerNode,"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.i18n._preloadLocalizations("dojo.nls.vicodojo",["es-es","es","hu","it-it","de","pt-br","pl","fr-fr","zh-cn","pt","en-us","zh","ru","xx","fr","zh-tw","it","cs","en-gb","de-de","ja-jp","ko-kr","ko","en","ROOT","ja"]);
