/*
	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

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

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

window[(typeof (djConfig)!="undefined"&&djConfig.scopeMap&&djConfig.scopeMap[0][1])||"dojo"]._xdResourceLoaded(function(_1,_2,_3){return {depends:[["provide","dijit._base.manager"],["provide","dijit._base.focus"],["provide","dojo.AdapterRegistry"],["provide","dijit._base.place"],["provide","dijit._base.window"],["provide","dijit._base.popup"],["provide","dijit._base.scroll"],["provide","dijit._base.sniff"],["provide","dijit._base.typematic"],["provide","dijit._base.wai"],["provide","dijit._base"],["provide","dojo.date.stamp"],["provide","dojo.parser"],["provide","dijit._Widget"],["require","dijit._base"],["provide","dojo.string"],["provide","dojo.cache"],["provide","dijit._Templated"],["provide","dijit._Container"],["provide","dijit._Contained"],["provide","dijit.layout._LayoutWidget"],["provide","dijit.form._FormWidget"],["provide","dijit.dijit"]],defineResource:function(_4,_5,_6){if(!_4._hasResource["dijit._base.manager"]){_4._hasResource["dijit._base.manager"]=true;_4.provide("dijit._base.manager");_4.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_7){if(this._hash[_7.id]){throw new Error("Tried to register widget with id=="+_7.id+" but that id is already registered");}this._hash[_7.id]=_7;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_8,_9){_9=_9||_4.global;var i=0,id;for(id in this._hash){_8.call(_9,this._hash[id],i++,this._hash);}return this;},filter:function(_a,_b){_b=_b||_4.global;var _c=new _5.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_a.call(_b,w,i++,this._hash)){_c.add(w);}}return _c;},byId:function(id){return this._hash[id];},byClass:function(_d){var _e=new _5.WidgetSet(),id,_f;for(id in this._hash){_f=this._hash[id];if(_f.declaredClass==_d){_e.add(_f);}}return _e;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_10,_11){return _4.map(this.toArray(),_10,_11);},every:function(_12,_13){_13=_13||_4.global;var x=0,i;for(i in this._hash){if(!_12.call(_13,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_14,_15){_15=_15||_4.global;var x=0,i;for(i in this._hash){if(_14.call(_15,this._hash[i],x++,this._hash)){return true;}}return false;}});_5.registry=new _5.WidgetSet();_5._widgetTypeCtr={};_5.getUniqueId=function(_16){var id;do{id=_16+"_"+(_16 in _5._widgetTypeCtr?++_5._widgetTypeCtr[_16]:_5._widgetTypeCtr[_16]=0);}while(_5.byId(id));return _5._scopeName=="dijit"?id:_5._scopeName+"_"+id;};_5.findWidgets=function(_17){var _18=[];function _19(_1a){for(var _1b=_1a.firstChild;_1b;_1b=_1b.nextSibling){if(_1b.nodeType==1){var _1c=_1b.getAttribute("widgetId");if(_1c){var _1d=_5.byId(_1c);_18.push(_1d);}else{_19(_1b);}}}};_19(_17);return _18;};_5._destroyAll=function(){_5._curFocus=null;_5._prevFocus=null;_5._activeStack=[];_4.forEach(_5.findWidgets(_4.body()),function(_1e){if(!_1e._destroyed){if(_1e.destroyRecursive){_1e.destroyRecursive();}else{if(_1e.destroy){_1e.destroy();}}}});};if(_4.isIE){_4.addOnWindowUnload(function(){_5._destroyAll();});}_5.byId=function(id){return typeof id=="string"?_5.registry._hash[id]:id;};_5.byNode=function(_1f){return _5.registry.byId(_1f.getAttribute("widgetId"));};_5.getEnclosingWidget=function(_20){while(_20){var id=_20.getAttribute&&_20.getAttribute("widgetId");if(id){return _5.byId(id);}_20=_20.parentNode;}return null;};_5._isElementShown=function(_21){var _22=_4.style(_21);return (_22.visibility!="hidden")&&(_22.visibility!="collapsed")&&(_22.display!="none")&&(_4.attr(_21,"type")!="hidden");};_5.isTabNavigable=function(_23){if(_4.attr(_23,"disabled")){return false;}else{if(_4.hasAttr(_23,"tabIndex")){return _4.attr(_23,"tabIndex")>=0;}else{switch(_23.nodeName.toLowerCase()){case "a":return _4.hasAttr(_23,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":if(_4.isMoz){return _23.contentDocument.designMode=="on";}else{if(_4.isWebKit){var doc=_23.contentDocument,_24=doc&&doc.body;return _24&&_24.contentEditable=="true";}else{try{doc=_23.contentWindow.document;_24=doc&&doc.body;return _24&&_24.firstChild&&_24.firstChild.contentEditable=="true";}catch(e){return false;}}}default:return _23.contentEditable=="true";}}}};_5._getTabNavigable=function(_25){var _26,_27,_28,_29,_2a,_2b;var _2c=function(_2d){_4.query("> *",_2d).forEach(function(_2e){var _2f=_5._isElementShown(_2e);if(_2f&&_5.isTabNavigable(_2e)){var _30=_4.attr(_2e,"tabIndex");if(!_4.hasAttr(_2e,"tabIndex")||_30==0){if(!_26){_26=_2e;}_27=_2e;}else{if(_30>0){if(!_28||_30<_29){_29=_30;_28=_2e;}if(!_2a||_30>=_2b){_2b=_30;_2a=_2e;}}}}if(_2f&&_2e.nodeName.toUpperCase()!="SELECT"){_2c(_2e);}});};if(_5._isElementShown(_25)){_2c(_25);}return {first:_26,last:_27,lowest:_28,highest:_2a};};_5.getFirstInTabbingOrder=function(_31){var _32=_5._getTabNavigable(_4.byId(_31));return _32.lowest?_32.lowest:_32.first;};_5.getLastInTabbingOrder=function(_33){var _34=_5._getTabNavigable(_4.byId(_33));return _34.last?_34.last:_34.highest;};_5.defaultDuration=_4.config["defaultDuration"]||200;}if(!_4._hasResource["dijit._base.focus"]){_4._hasResource["dijit._base.focus"]=true;_4.provide("dijit._base.focus");_4.mixin(_5,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return _5.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=_4.doc.selection,cf=_5._curFocus;if(_4.global.getSelection){sel=_4.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_35){var _36=_4.doc,_37=_35.mark;if(_37){if(_4.global.getSelection){var sel=_4.global.getSelection();if(sel&&sel.removeAllRanges){if(_37.pRange){var r=_37;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(_37);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_36.selection&&_37){var rg;if(_37.pRange){rg=_37.range;}else{if(_4.isArray(_37)){rg=_36.body.createControlRange();_4.forEach(_37,function(n){rg.addElement(n);});}else{rg=_36.body.createTextRange();rg.moveToBookmark(_37);}}rg.select();}}}},getFocus:function(_38,_39){var _3a=!_5._curFocus||(_38&&_4.isDescendant(_5._curFocus,_38.domNode))?_5._prevFocus:_5._curFocus;return {node:_3a,bookmark:(_3a==_5._curFocus)&&_4.withGlobal(_39||_4.global,_5.getBookmark),openedForWindow:_39};},focus:function(_3b){if(!_3b){return;}var _3c="node" in _3b?_3b.node:_3b,_3d=_3b.bookmark,_3e=_3b.openedForWindow,_3f=_3d?_3d.isCollapsed:false;if(_3c){var _40=(_3c.tagName.toLowerCase()=="iframe")?_3c.contentWindow:_3c;if(_40&&_40.focus){try{_40.focus();}catch(e){}}_5._onFocusNode(_3c);}if(_3d&&_4.withGlobal(_3e||_4.global,_5.isCollapsed)&&!_3f){if(_3e){_3e.focus();}try{_4.withGlobal(_3e||_4.global,_5.moveToBookmark,null,[_3d]);}catch(e2){}}},_activeStack:[],registerIframe:function(_41){return _5.registerWin(_41.contentWindow,_41);},unregisterIframe:function(_42){_5.unregisterWin(_42);},registerWin:function(_43,_44){var _45=function(evt){_5._justMouseDowned=true;setTimeout(function(){_5._justMouseDowned=false;},0);_5._onTouchNode(_44||evt.target||evt.srcElement,"mouse");};var doc=_4.isIE?_43.document.documentElement:_43.document;if(doc){if(_4.isIE){doc.attachEvent("onmousedown",_45);var _46=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&_5.isTabNavigable(evt.srcElement)){_5._onFocusNode(_44||evt.srcElement);}else{_5._onTouchNode(_44||evt.srcElement);}};doc.attachEvent("onactivate",_46);var _47=function(evt){_5._onBlurNode(_44||evt.srcElement);};doc.attachEvent("ondeactivate",_47);return function(){doc.detachEvent("onmousedown",_45);doc.detachEvent("onactivate",_46);doc.detachEvent("ondeactivate",_47);doc=null;};}else{doc.addEventListener("mousedown",_45,true);var _48=function(evt){_5._onFocusNode(_44||evt.target);};doc.addEventListener("focus",_48,true);var _49=function(evt){_5._onBlurNode(_44||evt.target);};doc.addEventListener("blur",_49,true);return function(){doc.removeEventListener("mousedown",_45,true);doc.removeEventListener("focus",_48,true);doc.removeEventListener("blur",_49,true);doc=null;};}}},unregisterWin:function(_4a){_4a&&_4a();},_onBlurNode:function(_4b){_5._prevFocus=_5._curFocus;_5._curFocus=null;if(_5._justMouseDowned){return;}if(_5._clearActiveWidgetsTimer){clearTimeout(_5._clearActiveWidgetsTimer);}_5._clearActiveWidgetsTimer=setTimeout(function(){delete _5._clearActiveWidgetsTimer;_5._setStack([]);_5._prevFocus=null;},100);},_onTouchNode:function(_4c,by){if(_5._clearActiveWidgetsTimer){clearTimeout(_5._clearActiveWidgetsTimer);delete _5._clearActiveWidgetsTimer;}var _4d=[];try{while(_4c){var _4e=_4.attr(_4c,"dijitPopupParent");if(_4e){_4c=_5.byId(_4e).domNode;}else{if(_4c.tagName&&_4c.tagName.toLowerCase()=="body"){if(_4c===_4.body()){break;}_4c=_5.getDocumentWindow(_4c.ownerDocument).frameElement;}else{var id=_4c.getAttribute&&_4c.getAttribute("widgetId");if(id){_4d.unshift(id);}_4c=_4c.parentNode;}}}}catch(e){}_5._setStack(_4d,by);},_onFocusNode:function(_4f){if(!_4f){return;}if(_4f.nodeType==9){return;}_5._onTouchNode(_4f);if(_4f==_5._curFocus){return;}if(_5._curFocus){_5._prevFocus=_5._curFocus;}_5._curFocus=_4f;_4.publish("focusNode",[_4f]);},_setStack:function(_50,by){var _51=_5._activeStack;_5._activeStack=_50;for(var _52=0;_52<Math.min(_51.length,_50.length);_52++){if(_51[_52]!=_50[_52]){break;}}var _53;for(var i=_51.length-1;i>=_52;i--){_53=_5.byId(_51[i]);if(_53){_53._focused=false;_53._hasBeenBlurred=true;if(_53._onBlur){_53._onBlur(by);}if(_53._setStateClass){_53._setStateClass();}_4.publish("widgetBlur",[_53,by]);}}for(i=_52;i<_50.length;i++){_53=_5.byId(_50[i]);if(_53){_53._focused=true;if(_53._onFocus){_53._onFocus(by);}if(_53._setStateClass){_53._setStateClass();}_4.publish("widgetFocus",[_53,by]);}}}});_4.addOnLoad(function(){var _54=_5.registerWin(window);if(_4.isIE){_4.addOnWindowUnload(function(){_5.unregisterWin(_54);_54=null;});}});}if(!_4._hasResource["dojo.AdapterRegistry"]){_4._hasResource["dojo.AdapterRegistry"]=true;_4.provide("dojo.AdapterRegistry");_4.AdapterRegistry=function(_55){this.pairs=[];this.returnWrappers=_55||false;};_4.extend(_4.AdapterRegistry,{register:function(_56,_57,_58,_59,_5a){this.pairs[((_5a)?"unshift":"push")]([_56,_57,_58,_59]);},match:function(){for(var i=0;i<this.pairs.length;i++){var _5b=this.pairs[i];if(_5b[1].apply(this,arguments)){if((_5b[3])||(this.returnWrappers)){return _5b[2];}else{return _5b[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(_5c){for(var i=0;i<this.pairs.length;i++){var _5d=this.pairs[i];if(_5d[0]==_5c){this.pairs.splice(i,1);return true;}}return false;}});}if(!_4._hasResource["dijit._base.place"]){_4._hasResource["dijit._base.place"]=true;_4.provide("dijit._base.place");_5.getViewport=function(){var _5e=(_4.doc.compatMode=="BackCompat")?_4.body():_4.doc.documentElement;var _5f=_4._docScroll();return {w:_5e.clientWidth,h:_5e.clientHeight,l:_5f.x,t:_5f.y};};_5.placeOnScreen=function(_60,pos,_61,_62){var _63=_4.map(_61,function(_64){var c={corner:_64,pos:{x:pos.x,y:pos.y}};if(_62){c.pos.x+=_64.charAt(1)=="L"?_62.x:-_62.x;c.pos.y+=_64.charAt(0)=="T"?_62.y:-_62.y;}return c;});return _5._place(_60,_63);};_5._place=function(_65,_66,_67){var _68=_5.getViewport();if(!_65.parentNode||String(_65.parentNode.tagName).toLowerCase()!="body"){_4.body().appendChild(_65);}var _69=null;_4.some(_66,function(_6a){var _6b=_6a.corner;var pos=_6a.pos;if(_67){_67(_65,_6a.aroundCorner,_6b);}var _6c=_65.style;var _6d=_6c.display;var _6e=_6c.visibility;_6c.visibility="hidden";_6c.display="";var mb=_4.marginBox(_65);_6c.display=_6d;_6c.visibility=_6e;var _6f=Math.max(_68.l,_6b.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_70=Math.max(_68.t,_6b.charAt(0)=="T"?pos.y:(pos.y-mb.h)),_71=Math.min(_68.l+_68.w,_6b.charAt(1)=="L"?(_6f+mb.w):pos.x),_72=Math.min(_68.t+_68.h,_6b.charAt(0)=="T"?(_70+mb.h):pos.y),_73=_71-_6f,_74=_72-_70,_75=(mb.w-_73)+(mb.h-_74);if(_69==null||_75<_69.overflow){_69={corner:_6b,aroundCorner:_6a.aroundCorner,x:_6f,y:_70,w:_73,h:_74,overflow:_75};}return !_75;});_65.style.left=_69.x+"px";_65.style.top=_69.y+"px";if(_69.overflow&&_67){_67(_65,_69.aroundCorner,_69.corner);}return _69;};_5.placeOnScreenAroundNode=function(_76,_77,_78,_79){_77=_4.byId(_77);var _7a=_77.style.display;_77.style.display="";var _7b=_4.position(_77,true);_77.style.display=_7a;return _5._placeOnScreenAroundRect(_76,_7b.x,_7b.y,_7b.w,_7b.h,_78,_79);};_5.placeOnScreenAroundRectangle=function(_7c,_7d,_7e,_7f){return _5._placeOnScreenAroundRect(_7c,_7d.x,_7d.y,_7d.width,_7d.height,_7e,_7f);};_5._placeOnScreenAroundRect=function(_80,x,y,_81,_82,_83,_84){var _85=[];for(var _86 in _83){_85.push({aroundCorner:_86,corner:_83[_86],pos:{x:x+(_86.charAt(1)=="L"?0:_81),y:y+(_86.charAt(0)=="T"?0:_82)}});}return _5._place(_80,_85,_84);};_5.placementRegistry=new _4.AdapterRegistry();_5.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},_5.placeOnScreenAroundNode);_5.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},_5.placeOnScreenAroundRectangle);_5.placeOnScreenAroundElement=function(_87,_88,_89,_8a){return _5.placementRegistry.match.apply(_5.placementRegistry,arguments);};_5.getPopupAlignment=function(_8b,_8c){var _8d={};_4.forEach(_8b,function(pos){switch(pos){case "after":_8d[_8c?"BR":"BL"]=_8c?"BL":"BR";break;case "before":_8d[_8c?"BL":"BR"]=_8c?"BR":"BL";break;case "below":_8d[_8c?"BL":"BR"]=_8c?"TL":"TR";_8d[_8c?"BR":"BL"]=_8c?"TR":"TL";break;case "above":default:_8d[_8c?"TL":"TR"]=_8c?"BL":"BR";_8d[_8c?"TR":"TL"]=_8c?"BR":"BL";break;}});return _8d;};_5.getPopupAroundAlignment=function(_8e,_8f){var _90={};_4.forEach(_8e,function(pos){switch(pos){case "after":_90[_8f?"BR":"BL"]=_8f?"BL":"BR";break;case "before":_90[_8f?"BL":"BR"]=_8f?"BR":"BL";break;case "below":_90[_8f?"BL":"BR"]=_8f?"TL":"TR";_90[_8f?"BR":"BL"]=_8f?"TR":"TL";break;case "above":default:_90[_8f?"TL":"TR"]=_8f?"BL":"BR";_90[_8f?"TR":"TL"]=_8f?"BR":"BL";break;}});return _90;};}if(!_4._hasResource["dijit._base.window"]){_4._hasResource["dijit._base.window"]=true;_4.provide("dijit._base.window");_5.getDocumentWindow=function(doc){if(_4.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(!_4._hasResource["dijit._base.popup"]){_4._hasResource["dijit._base.popup"]=true;_4.provide("dijit._base.popup");_5.popup=new function(){var _91=[],_92=1000,_93=1;this.moveOffScreen=function(_94){var s=_94.style;s.visibility="hidden";s.position="absolute";s.top="-9999px";if(s.display=="none"){s.display="";}_4.body().appendChild(_94);};var _95=function(){for(var pi=_91.length-1;pi>0&&_91[pi].parent===_91[pi-1].widget;pi--){}return _91[pi];};var _96=[];this.open=function(_97){var _98=_97.popup,_99=_97.orient||(_4._isBodyLtr()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),_9a=_97.around,id=(_97.around&&_97.around.id)?(_97.around.id+"_dropdown"):("popup_"+_93++);var _9b=_96.pop(),_9c,_9d;if(!_9b){_9c=_4.create("div",{"class":"dijitPopup"},_4.body());_5.setWaiRole(_9c,"presentation");}else{_9c=_9b[0];_9d=_9b[1];}_4.attr(_9c,{id:id,style:{zIndex:_92+_91.length,visibility:"hidden",top:"-9999px"},dijitPopupParent:_97.parent?_97.parent.id:""});var s=_98.domNode.style;s.display="";s.visibility="";s.position="";s.top="0px";_9c.appendChild(_98.domNode);if(!_9d){_9d=new _5.BackgroundIframe(_9c);}else{_9d.resize(_9c);}var _9e=_9a?_5.placeOnScreenAroundElement(_9c,_9a,_99,_98.orient?_4.hitch(_98,"orient"):null):_5.placeOnScreen(_9c,_97,_99=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_97.padding);_9c.style.visibility="visible";var _9f=[];_9f.push(_4.connect(_9c,"onkeypress",this,function(evt){if(evt.charOrCode==_4.keys.ESCAPE&&_97.onCancel){_4.stopEvent(evt);_97.onCancel();}else{if(evt.charOrCode===_4.keys.TAB){_4.stopEvent(evt);var _a0=_95();if(_a0&&_a0.onCancel){_a0.onCancel();}}}}));if(_98.onCancel){_9f.push(_4.connect(_98,"onCancel",_97.onCancel));}_9f.push(_4.connect(_98,_98.onExecute?"onExecute":"onChange",function(){var _a1=_95();if(_a1&&_a1.onExecute){_a1.onExecute();}}));_91.push({wrapper:_9c,iframe:_9d,widget:_98,parent:_97.parent,onExecute:_97.onExecute,onCancel:_97.onCancel,onClose:_97.onClose,handlers:_9f});if(_98.onOpen){_98.onOpen(_9e);}return _9e;};this.close=function(_a2){while(_4.some(_91,function(_a3){return _a3.widget==_a2;})){var top=_91.pop(),_a4=top.wrapper,_a5=top.iframe,_a6=top.widget,_a7=top.onClose;if(_a6.onClose){_a6.onClose();}_4.forEach(top.handlers,_4.disconnect);if(_a6&&_a6.domNode){this.moveOffScreen(_a6.domNode);}_a4.style.top="-9999px";_a4.style.visibility="hidden";_96.push([_a4,_a5]);if(_a7){_a7();}}};}();_5._frames=new function(){var _a8=[];this.pop=function(){var _a9;if(_a8.length){_a9=_a8.pop();_a9.style.display="";}else{if(_4.isIE){var _aa=_4.config["dojoBlankHtmlUrl"]||(_4.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var _ab="<iframe src='"+_aa+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_a9=_4.doc.createElement(_ab);}else{_a9=_4.create("iframe");_a9.src="javascript:\"\"";_a9.className="dijitBackgroundIframe";_4.style(_a9,"opacity",0.1);}_a9.tabIndex=-1;}return _a9;};this.push=function(_ac){_ac.style.display="none";_a8.push(_ac);};}();_5.BackgroundIframe=function(_ad){if(!_ad.id){throw new Error("no id");}if(_4.isIE||_4.isMoz){var _ae=_5._frames.pop();_ad.appendChild(_ae);if(_4.isIE<7){this.resize(_ad);this._conn=_4.connect(_ad,"onresize",this,function(){this.resize(_ad);});}else{_4.style(_ae,{width:"100%",height:"100%"});}this.iframe=_ae;}};_4.extend(_5.BackgroundIframe,{resize:function(_af){if(this.iframe&&_4.isIE<7){_4.style(this.iframe,{width:_af.offsetWidth+"px",height:_af.offsetHeight+"px"});}},destroy:function(){if(this._conn){_4.disconnect(this._conn);this._conn=null;}if(this.iframe){_5._frames.push(this.iframe);delete this.iframe;}}});}if(!_4._hasResource["dijit._base.scroll"]){_4._hasResource["dijit._base.scroll"]=true;_4.provide("dijit._base.scroll");_5.scrollIntoView=function(_b0,pos){try{_b0=_4.byId(_b0);var doc=_b0.ownerDocument||_4.doc,_b1=doc.body||_4.body(),_b2=doc.documentElement||_b1.parentNode,_b3=_4.isIE,_b4=_4.isWebKit;if((!(_4.isMoz||_b3||_b4)||_b0==_b1||_b0==_b2)&&(typeof _b0.scrollIntoView!="undefined")){_b0.scrollIntoView(false);return;}var _b5=doc.compatMode=="BackCompat",_b6=_b5?_b1:_b2,_b7=_b4?_b1:_b6,_b8=_b6.clientWidth,_b9=_b6.clientHeight,rtl=!_4._isBodyLtr(),_ba=pos||_4.position(_b0),el=_b0.parentNode,_bb=function(el){return ((_b3<=6||(_b3&&_b5))?false:(_4.style(el,"position").toLowerCase()=="fixed"));};if(_bb(_b0)){return;}while(el){if(el==_b1){el=_b7;}var _bc=_4.position(el),_bd=_bb(el);with(_bc){if(el==_b7){w=_b8,h=_b9;if(_b7==_b2&&_b3&&rtl){x+=_b7.offsetWidth-w;}if(x<0||!_b3){x=0;}if(y<0||!_b3){y=0;}}else{var pb=_4._getPadBorderExtents(el);w-=pb.w;h-=pb.h;x+=pb.l;y+=pb.t;}with(el){if(el!=_b7){var _be=clientWidth,_bf=w-_be;if(_be>0&&_bf>0){w=_be;if(_b3&&rtl){x+=_bf;}}_be=clientHeight;_bf=h-_be;if(_be>0&&_bf>0){h=_be;}}if(_bd){if(y<0){h+=y,y=0;}if(x<0){w+=x,x=0;}if(y+h>_b9){h=_b9-y;}if(x+w>_b8){w=_b8-x;}}var l=_ba.x-x,t=_ba.y-Math.max(y,0),r=l+_ba.w-w,bot=t+_ba.h-h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);_ba.x+=scrollLeft;scrollLeft+=(_b3>=8&&!_b5&&rtl)?-s:s;_ba.x-=scrollLeft;}if(bot*t>0){_ba.y+=scrollTop;scrollTop+=Math[t<0?"max":"min"](t,bot);_ba.y-=scrollTop;}}}el=(el!=_b7)&&!_bd&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_b0.scrollIntoView(false);}};}if(!_4._hasResource["dijit._base.sniff"]){_4._hasResource["dijit._base.sniff"]=true;_4.provide("dijit._base.sniff");(function(){var d=_4,_c0=d.doc.documentElement,ie=d.isIE,_c1=d.isOpera,maj=Math.floor,ff=d.isFF,_c2=d.boxModel.replace(/-/,""),_c3={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_ie8:maj(ie)==8,dj_iequirks:ie&&d.isQuirks,dj_opera:_c1,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla,dj_ff3:maj(ff)==3};_c3["dj_"+_c2]=true;for(var p in _c3){if(_c3[p]){if(_c0.className){_c0.className+=" "+p;}else{_c0.className=p;}}}_4._loaders.unshift(function(){if(!_4._isBodyLtr()){_c0.className+=" dijitRtl";for(var p in _c3){if(_c3[p]){_c0.className+=" "+p+"-rtl";}}}});})();}if(!_4._hasResource["dijit._base.typematic"]){_4._hasResource["dijit._base.typematic"]=true;_4.provide("dijit._base.typematic");_5.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),10);this._timer=setTimeout(_4.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_c4,_c5,_c6,obj,_c7,_c8){if(obj!=this._obj){this.stop();this._initialDelay=_c8||500;this._subsequentDelay=_c7||0.9;this._obj=obj;this._evt=evt;this._node=_c5;this._currentTimeout=-1;this._count=-1;this._callback=_4.hitch(_c4,_c6);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(_c9,_ca,_cb,_cc,_cd,_ce){if(_ca.keyCode){_ca.charOrCode=_ca.keyCode;_4.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_ca.charCode){_ca.charOrCode=String.fromCharCode(_ca.charCode);_4.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [_4.connect(_c9,"onkeypress",this,function(evt){if(evt.charOrCode==_ca.charOrCode&&(_ca.ctrlKey===undefined||_ca.ctrlKey==evt.ctrlKey)&&(_ca.altKey===undefined||_ca.altKey==evt.altKey)&&(_ca.metaKey===undefined||_ca.metaKey==(evt.metaKey||false))&&(_ca.shiftKey===undefined||_ca.shiftKey==evt.shiftKey)){_4.stopEvent(evt);_5.typematic.trigger(_ca,_cb,_c9,_cc,_ca,_cd,_ce);}else{if(_5.typematic._obj==_ca){_5.typematic.stop();}}}),_4.connect(_c9,"onkeyup",this,function(evt){if(_5.typematic._obj==_ca){_5.typematic.stop();}})];},addMouseListener:function(_cf,_d0,_d1,_d2,_d3){var dc=_4.connect;return [dc(_cf,"mousedown",this,function(evt){_4.stopEvent(evt);_5.typematic.trigger(evt,_d0,_cf,_d1,_cf,_d2,_d3);}),dc(_cf,"mouseup",this,function(evt){_4.stopEvent(evt);_5.typematic.stop();}),dc(_cf,"mouseout",this,function(evt){_4.stopEvent(evt);_5.typematic.stop();}),dc(_cf,"mousemove",this,function(evt){_4.stopEvent(evt);}),dc(_cf,"dblclick",this,function(evt){_4.stopEvent(evt);if(_4.isIE){_5.typematic.trigger(evt,_d0,_cf,_d1,_cf,_d2,_d3);setTimeout(_4.hitch(this,_5.typematic.stop),50);}})];},addListener:function(_d4,_d5,_d6,_d7,_d8,_d9,_da){return this.addKeyListener(_d5,_d6,_d7,_d8,_d9,_da).concat(this.addMouseListener(_d4,_d7,_d8,_d9,_da));}};}if(!_4._hasResource["dijit._base.wai"]){_4._hasResource["dijit._base.wai"]=true;_4.provide("dijit._base.wai");_5.wai={onload:function(){var div=_4.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_4.config.blankGif||_4.moduleUrl("dojo","resources/blank.gif"))+"\");"}},_4.body());var cs=_4.getComputedStyle(div);if(cs){var _db=cs.backgroundImage;var _dc=(cs.borderTopColor==cs.borderRightColor)||(_db!=null&&(_db=="none"||_db=="url(invalid-url:)"));_4[_dc?"addClass":"removeClass"](_4.body(),"dijit_a11y");if(_4.isIE){div.outerHTML="";}else{_4.body().removeChild(div);}}}};if(_4.isIE||_4.isMoz){_4._loaders.unshift(_5.wai.onload);}_4.mixin(_5,{_XhtmlRoles:/banner|contentinfo|definition|main|navigation|search|note|secondary|seealso/,hasWaiRole:function(_dd,_de){var _df=this.getWaiRole(_dd);return _de?(_df.indexOf(_de)>-1):(_df.length>0);},getWaiRole:function(_e0){return _4.trim((_4.attr(_e0,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));},setWaiRole:function(_e1,_e2){var _e3=_4.attr(_e1,"role")||"";if(!this._XhtmlRoles.test(_e3)){_4.attr(_e1,"role",_e2);}else{if((" "+_e3+" ").indexOf(" "+_e2+" ")<0){var _e4=_4.trim(_e3.replace(this._XhtmlRoles,""));var _e5=_4.trim(_e3.replace(_e4,""));_4.attr(_e1,"role",_e5+(_e5?" ":"")+_e2);}}},removeWaiRole:function(_e6,_e7){var _e8=_4.attr(_e6,"role");if(!_e8){return;}if(_e7){var t=_4.trim((" "+_e8+" ").replace(" "+_e7+" "," "));_4.attr(_e6,"role",t);}else{_e6.removeAttribute("role");}},hasWaiState:function(_e9,_ea){return _e9.hasAttribute?_e9.hasAttribute("aria-"+_ea):!!_e9.getAttribute("aria-"+_ea);},getWaiState:function(_eb,_ec){return _eb.getAttribute("aria-"+_ec)||"";},setWaiState:function(_ed,_ee,_ef){_ed.setAttribute("aria-"+_ee,_ef);},removeWaiState:function(_f0,_f1){_f0.removeAttribute("aria-"+_f1);}});}if(!_4._hasResource["dijit._base"]){_4._hasResource["dijit._base"]=true;_4.provide("dijit._base");}if(!_4._hasResource["dojo.date.stamp"]){_4._hasResource["dojo.date.stamp"]=true;_4.provide("dojo.date.stamp");_4.date.stamp.fromISOString=function(_f2,_f3){if(!_4.date.stamp._isoRegExp){_4.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _f4=_4.date.stamp._isoRegExp.exec(_f2),_f5=null;if(_f4){_f4.shift();if(_f4[1]){_f4[1]--;}if(_f4[6]){_f4[6]*=1000;}if(_f3){_f3=new Date(_f3);_4.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_f6){return _f3["get"+_f6]();}).forEach(function(_f7,_f8){if(_f4[_f8]===undefined){_f4[_f8]=_f7;}});}_f5=new Date(_f4[0]||1970,_f4[1]||0,_f4[2]||1,_f4[3]||0,_f4[4]||0,_f4[5]||0,_f4[6]||0);if(_f4[0]<100){_f5.setFullYear(_f4[0]||1970);}var _f9=0,_fa=_f4[7]&&_f4[7].charAt(0);if(_fa!="Z"){_f9=((_f4[8]||0)*60)+(Number(_f4[9])||0);if(_fa!="-"){_f9*=-1;}}if(_fa){_f9-=_f5.getTimezoneOffset();}if(_f9){_f5.setTime(_f5.getTime()+_f9*60000);}}return _f5;};_4.date.stamp.toISOString=function(_fb,_fc){var _fd=function(n){return (n<10)?"0"+n:n;};_fc=_fc||{};var _fe=[],_ff=_fc.zulu?"getUTC":"get",date="";if(_fc.selector!="time"){var year=_fb[_ff+"FullYear"]();date=["0000".substr((year+"").length)+year,_fd(_fb[_ff+"Month"]()+1),_fd(_fb[_ff+"Date"]())].join("-");}_fe.push(date);if(_fc.selector!="date"){var time=[_fd(_fb[_ff+"Hours"]()),_fd(_fb[_ff+"Minutes"]()),_fd(_fb[_ff+"Seconds"]())].join(":");var _100=_fb[_ff+"Milliseconds"]();if(_fc.milliseconds){time+="."+(_100<100?"0":"")+_fd(_100);}if(_fc.zulu){time+="Z";}else{if(_fc.selector!="time"){var _101=_fb.getTimezoneOffset();var _102=Math.abs(_101);time+=(_101>0?"-":"+")+_fd(Math.floor(_102/60))+":"+_fd(_102%60);}}_fe.push(time);}return _fe.join("T");};}if(!_4._hasResource["dojo.parser"]){_4._hasResource["dojo.parser"]=true;_4.provide("dojo.parser");_4.parser=new function(){var d=_4;this._attrName=d._scopeName+"Type";this._query="["+this._attrName+"]";function _103(_104){if(d.isString(_104)){return "string";}if(typeof _104=="number"){return "number";}if(typeof _104=="boolean"){return "boolean";}if(d.isFunction(_104)){return "function";}if(d.isArray(_104)){return "array";}if(_104 instanceof Date){return "date";}if(_104 instanceof d._Url){return "url";}return "object";};function _105(_106,type){switch(type){case "string":return _106;case "number":return _106.length?Number(_106):NaN;case "boolean":return typeof _106=="boolean"?_106:!(_106.toLowerCase()=="false");case "function":if(d.isFunction(_106)){_106=_106.toString();_106=d.trim(_106.substring(_106.indexOf("{")+1,_106.length-1));}try{if(_106.search(/[^\w\.]+/i)!=-1){return new Function(_106);}else{return d.getObject(_106,false);}}catch(e){return new Function();}case "array":return _106?_106.split(/\s*,\s*/):[];case "date":switch(_106){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_106);}case "url":return d.baseUrl+_106;default:return d.fromJson(_106);}};var _107={};_4.connect(_4,"extend",function(){_107={};});function _108(_109){if(!_107[_109]){var cls=d.getObject(_109);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_109+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _10a=cls.prototype;var _10b={},_10c={};for(var name in _10a){if(name.charAt(0)=="_"){continue;}if(name in _10c){continue;}var _10d=_10a[name];_10b[name]=_103(_10d);}_107[_109]={cls:cls,params:_10b};}return _107[_109];};this._functionFromScript=function(_10e){var _10f="";var _110="";var _111=_10e.getAttribute("args");if(_111){d.forEach(_111.split(/\s*,\s*/),function(part,idx){_10f+="var "+part+" = arguments["+idx+"]; ";});}var _112=_10e.getAttribute("with");if(_112&&_112.length){d.forEach(_112.split(/\s*,\s*/),function(part){_10f+="with("+part+"){";_110+="}";});}return new Function(_10f+_10e.innerHTML+_110);};this.instantiate=function(_113,_114,args){var _115=[],dp=_4.parser;_114=_114||{};args=args||{};d.forEach(_113,function(node){if(!node){return;}var type=dp._attrName in _114?_114[dp._attrName]:node.getAttribute(dp._attrName);if(!type||!type.length){return;}var _116=_108(type),_117=_116.cls,ps=_117._noScript||_117.prototype._noScript;var _118={},_119=node.attributes;for(var name in _116.params){var item=name in _114?{value:_114[name],specified:true}:_119.getNamedItem(name);if(!item||(!item.specified&&(!_4.isIE||name.toLowerCase()!="value"))){continue;}var _11a=item.value;switch(name){case "class":_11a="className" in _114?_114.className:node.className;break;case "style":_11a="style" in _114?_114.style:(node.style&&node.style.cssText);}var _11b=_116.params[name];if(typeof _11a=="string"){_118[name]=_105(_11a,_11b);}else{_118[name]=_11a;}}if(!ps){var _11c=[],_11d=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_11e){var _11f=_11e.getAttribute("event"),type=_11e.getAttribute("type"),nf=d.parser._functionFromScript(_11e);if(_11f){if(type=="dojo/connect"){_11c.push({event:_11f,func:nf});}else{_118[_11f]=nf;}}else{_11d.push(nf);}});}var _120=_117.markupFactory||_117.prototype&&_117.prototype.markupFactory;var _121=_120?_120(_118,node,_117):new _117(_118,node);_115.push(_121);var _122=node.getAttribute("jsId");if(_122){d.setObject(_122,_121);}if(!ps){d.forEach(_11c,function(_123){d.connect(_121,_123.event,null,_123.func);});d.forEach(_11d,function(func){func.call(_121);});}});if(!_114._started){d.forEach(_115,function(_124){if(!args.noStart&&_124&&_124.startup&&!_124._started&&(!_124.getParent||!_124.getParent())){_124.startup();}});}return _115;};this.parse=function(_125,args){var root;if(!args&&_125&&_125.rootNode){args=_125;root=args.rootNode;}else{root=_125;}var list=d.query(this._query,root);return this.instantiate(list,null,args);};}();(function(){var _126=function(){if(_4.config.parseOnLoad){_4.parser.parse();}};if(_4.exists("dijit.wai.onload")&&(_5.wai.onload===_4._loaders[0])){_4._loaders.splice(1,0,_126);}else{_4._loaders.unshift(_126);}})();}if(!_4._hasResource["dijit._Widget"]){_4._hasResource["dijit._Widget"]=true;_4.provide("dijit._Widget");_4.require("dijit._base");_4.connect(_4,"_connect",function(_127,_128){if(_127&&_4.isFunction(_127._onConnect)){_127._onConnect(_128);}});_5._connectOnUseEventHandler=function(_129){};_5._lastKeyDownNode=null;if(_4.isIE){(function(){var _12a=function(evt){_5._lastKeyDownNode=evt.srcElement;};_4.doc.attachEvent("onkeydown",_12a);_4.addOnWindowUnload(function(){_4.doc.detachEvent("onkeydown",_12a);});})();}else{_4.doc.addEventListener("keydown",function(evt){_5._lastKeyDownNode=evt.target;},true);}(function(){var _12b={},_12c=function(_12d){var dc=_12d.declaredClass;if(!_12b[dc]){var r=[],_12e,_12f=_12d.constructor.prototype;for(var _130 in _12f){if(_4.isFunction(_12f[_130])&&(_12e=_130.match(/^_set([a-zA-Z]*)Attr$/))&&_12e[1]){r.push(_12e[1].charAt(0).toLowerCase()+_12e[1].substr(1));}}_12b[dc]=r;}return _12b[dc]||[];};_4.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:_5._connectOnUseEventHandler,onDblClick:_5._connectOnUseEventHandler,onKeyDown:_5._connectOnUseEventHandler,onKeyPress:_5._connectOnUseEventHandler,onKeyUp:_5._connectOnUseEventHandler,onMouseDown:_5._connectOnUseEventHandler,onMouseMove:_5._connectOnUseEventHandler,onMouseOut:_5._connectOnUseEventHandler,onMouseOver:_5._connectOnUseEventHandler,onMouseLeave:_5._connectOnUseEventHandler,onMouseEnter:_5._connectOnUseEventHandler,onMouseUp:_5._connectOnUseEventHandler,_blankGif:(_4.config.blankGif||_4.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_131,_132){this.create(_131,_132);},create:function(_133,_134){this.srcNodeRef=_4.byId(_134);this._connects=[];this._subscribes=[];this._deferredConnects=_4.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==_5._connectOnUseEventHandler){delete this._deferredConnects[attr];}}if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_133){this.params=_133;_4.mixin(this,_133);}this.postMixInProperties();if(!this.id){this.id=_5.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_5.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _135=this.srcNodeRef;if(_135&&_135.parentNode){_135.parentNode.replaceChild(this.domNode,_135);}for(attr in this.params){this._onConnect(attr);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _136=function(attr,_137){if((_137.params&&attr in _137.params)||_137[attr]){_137.attr(attr,_137[attr]);}};for(var attr in this.attributeMap){_136(attr,this);}_4.forEach(_12c(this),function(a){if(!(a in this.attributeMap)){_136(a,this);}},this);},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||_4.create("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_138){this._beingDestroyed=true;this.destroyDescendants(_138);this.destroy(_138);},destroy:function(_139){this._beingDestroyed=true;this.uninitialize();var d=_4,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_13a){dfe(_13a,d.disconnect);});dfe(this._subscribes,function(_13b){dun(_13b);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_139);_5.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_13c){if(this.bgIframe){this.bgIframe.destroy(_13c);delete this.bgIframe;}if(this.domNode){if(_13c){_4.removeAttr(this.domNode,"widgetId");}else{_4.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_13c){_4.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_13d){_4.forEach(this.getChildren(),function(_13e){if(_13e.destroyRecursive){_13e.destroyRecursive(_13d);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},_onConnect:function(_13f){if(_13f in this._deferredConnects){var _140=this[this._deferredConnects[_13f]||"domNode"];this.connect(_140,_13f.toLowerCase(),_13f);delete this._deferredConnects[_13f];}},_setClassAttr:function(_141){var _142=this[this.attributeMap["class"]||"domNode"];_4.removeClass(_142,this["class"]);this["class"]=_141;_4.addClass(_142,_141);},_setStyleAttr:function(_143){var _144=this[this.attributeMap.style||"domNode"];if(_4.isObject(_143)){_4.style(_144,_143);}else{if(_144.style.cssText){_144.style.cssText+="; "+_143;}else{_144.style.cssText=_143;}}this.style=_143;},setAttribute:function(attr,_145){_4.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");this.attr(attr,_145);},_attrToDom:function(attr,_146){var _147=this.attributeMap[attr];_4.forEach(_4.isArray(_147)?_147:[_147],function(_148){var _149=this[_148.node||_148||"domNode"];var type=_148.type||"attribute";switch(type){case "attribute":if(_4.isFunction(_146)){_146=_4.hitch(this,_146);}var _14a=_148.attribute?_148.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);_4.attr(_149,_14a,_146);break;case "innerText":_149.innerHTML="";_149.appendChild(_4.doc.createTextNode(_146));break;case "innerHTML":_149.innerHTML=_146;break;case "class":_4.removeClass(_149,this[attr]);_4.addClass(_149,_146);break;}},this);this[attr]=_146;},attr:function(name,_14b){var args=arguments.length;if(args==1&&!_4.isString(name)){for(var x in name){this.attr(x,name[x]);}return this;}var _14c=this._getAttrNames(name);if(args>=2){if(this[_14c.s]){args=_4._toArray(arguments,1);return this[_14c.s].apply(this,args)||this;}else{if(name in this.attributeMap){this._attrToDom(name,_14b);}this[name]=_14b;}return this;}else{return this[_14c.g]?this[_14c.g]():this[name];}},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){return this.containerNode?_4.query("[widgetId]",this.containerNode).map(_5.byNode):[];},getChildren:function(){return this.containerNode?_5.findWidgets(this.containerNode):[];},nodesWithKeyClick:["input","button"],connect:function(obj,_14d,_14e){var d=_4,dc=d._connect,_14f=[];if(_14d=="ondijitclick"){if(!this.nodesWithKeyClick[obj.tagName.toLowerCase()]){var m=d.hitch(this,_14e);_14f.push(dc(obj,"onkeydown",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){_5._lastKeyDownNode=e.target;d.stopEvent(e);}}),dc(obj,"onkeyup",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&e.target===_5._lastKeyDownNode&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){_5._lastKeyDownNode=null;return m(e);}}));}_14d="onclick";}_14f.push(dc(obj,_14d,this,_14e));this._connects.push(_14f);return _14f;},disconnect:function(_150){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_150){_4.forEach(_150,_4.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_151,_152){var d=_4,_153=d.subscribe(_151,this,_152);this._subscribes.push(_153);return _153;},unsubscribe:function(_154){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_154){_4.unsubscribe(_154);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return _4._isBodyLtr();},isFocusable:function(){return this.focus&&(_4.style(this.domNode,"display")!="none");},placeAt:function(_155,_156){if(_155.declaredClass&&_155.addChild){_155.addChild(this,_156);}else{_4.place(this.domNode,_155,_156);}return this;},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){}});})();}if(!_4._hasResource["dojo.string"]){_4._hasResource["dojo.string"]=true;_4.provide("dojo.string");_4.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_4.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_4.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_4.string.substitute=function(_157,map,_158,_159){_159=_159||_4.global;_158=_158?_4.hitch(_159,_158):function(v){return v;};return _157.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_15a,key,_15b){var _15c=_4.getObject(key,false,map);if(_15b){_15c=_4.getObject(_15b,false,_159).call(_159,_15c,key);}return _158(_15c,key).toString();});};_4.string.trim=String.prototype.trim?_4.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(!_4._hasResource["dojo.cache"]){_4._hasResource["dojo.cache"]=true;_4.provide("dojo.cache");(function(){var _15d={};_4.cache=function(_15e,url,_15f){if(typeof _15e=="string"){var _160=_4.moduleUrl(_15e,url);}else{_160=_15e;_15f=url;}var key=_160.toString();var val=_15f;if(_15f!==undefined&&!_4.isString(_15f)){val=("value" in _15f?_15f.value:undefined);}var _161=_15f&&_15f.sanitize?true:false;if(val||val===null){if(val==null){delete _15d[key];}else{val=_15d[key]=_161?_4.cache._sanitize(val):val;}}else{if(!(key in _15d)){val=_4._getText(key);_15d[key]=_161?_4.cache._sanitize(val):val;}val=_15d[key];}return val;};_4.cache._sanitize=function(val){if(val){val=val.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _162=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_162){val=_162[1];}}else{val="";}return val;};})();}if(!_4._hasResource["dijit._Templated"]){_4._hasResource["dijit._Templated"]=true;_4.provide("dijit._Templated");_4.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];},_stringRepl:function(tmpl){var _163=this.declaredClass,_164=this;return _4.string.substitute(tmpl,this,function(_165,key){if(key.charAt(0)=="!"){_165=_4.getObject(key.substr(1),false,_164);}if(typeof _165=="undefined"){throw new Error(_163+" template:"+key);}if(_165==null){return "";}return key.charAt(0)=="!"?_165:_165.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _166=_5._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(_4.isString(_166)){node=_4._toDom(this._stringRepl(_166));if(node.nodeType!=1){throw new Error("Invalid template: "+_166);}}else{node=_166.cloneNode(true);}this.domNode=node;this._attachTemplateNodes(node);if(this.widgetsInTemplate){var _167=_4.parser,qry,attr;if(_167._query!="[dojoType]"){qry=_167._query;attr=_167._attrName;_167._query="[dojoType]";_167._attrName="dojoType";}var cw=(this._startupWidgets=_4.parser.parse(node,{noStart:!this._earlyTemplatedStartup}));if(qry){_167._query=qry;_167._attrName=attr;}this._supportingWidgets=_5.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(this.srcNodeRef);},_fillContent:function(_168){var dest=this.containerNode;if(_168&&dest){while(_168.hasChildNodes()){dest.appendChild(_168.firstChild);}}},_attachTemplateNodes:function(_169,_16a){_16a=_16a||function(n,p){return n.getAttribute(p);};var _16b=_4.isArray(_169)?_169:(_169.all||_169.getElementsByTagName("*"));var x=_4.isArray(_169)?0:-1;for(;x<_16b.length;x++){var _16c=(x==-1)?_169:_16b[x];if(this.widgetsInTemplate&&_16a(_16c,"dojoType")){continue;}var _16d=_16a(_16c,"dojoAttachPoint");if(_16d){var _16e,_16f=_16d.split(/\s*,\s*/);while((_16e=_16f.shift())){if(_4.isArray(this[_16e])){this[_16e].push(_16c);}else{this[_16e]=_16c;}this._attachPoints.push(_16e);}}var _170=_16a(_16c,"dojoAttachEvent");if(_170){var _171,_172=_170.split(/\s*,\s*/);var trim=_4.trim;while((_171=_172.shift())){if(_171){var _173=null;if(_171.indexOf(":")!=-1){var _174=_171.split(":");_171=trim(_174[0]);_173=trim(_174[1]);}else{_171=trim(_171);}if(!_173){_173=_171;}this.connect(_16c,_171,_173);}}}var role=_16a(_16c,"waiRole");if(role){_5.setWaiRole(_16c,role);}var _175=_16a(_16c,"waiState");if(_175){_4.forEach(_175.split(/\s*,\s*/),function(_176){if(_176.indexOf("-")!=-1){var pair=_176.split("-");_5.setWaiState(_16c,pair[0],pair[1]);}});}}},startup:function(){_4.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);},destroyRendering:function(){_4.forEach(this._attachPoints,function(_177){delete this[_177];},this);this._attachPoints=[];this.inherited(arguments);}});_5._Templated._templateCache={};_5._Templated.getCachedTemplate=function(_178,_179,_17a){var _17b=_5._Templated._templateCache;var key=_179||_178;var _17c=_17b[key];if(_17c){try{if(!_17c.ownerDocument||_17c.ownerDocument==_4.doc){return _17c;}}catch(e){}_4.destroy(_17c);}if(!_179){_179=_4.cache(_178,{sanitize:true});}_179=_4.string.trim(_179);if(_17a||_179.match(/\$\{([^\}]+)\}/g)){return (_17b[key]=_179);}else{var node=_4._toDom(_179);if(node.nodeType!=1){throw new Error("Invalid template: "+_179);}return (_17b[key]=node);}};if(_4.isIE){_4.addOnWindowUnload(function(){var _17d=_5._Templated._templateCache;for(var key in _17d){var _17e=_17d[key];if(typeof _17e=="object"){_4.destroy(_17e);}delete _17d[key];}});}_4.extend(_5._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!_4._hasResource["dijit._Container"]){_4._hasResource["dijit._Container"]=true;_4.provide("dijit._Container");_4.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_17f,_180){var _181=this.containerNode;if(_180&&typeof _180=="number"){var _182=this.getChildren();if(_182&&_182.length>=_180){_181=_182[_180-1].domNode;_180="after";}}_4.place(_17f.domNode,_181,_180);if(this._started&&!_17f._started){_17f.startup();}},removeChild:function(_183){if(typeof _183=="number"&&_183>0){_183=this.getChildren()[_183];}if(_183&&_183.domNode){var node=_183.domNode;node.parentNode.removeChild(node);}},getChildren:function(){return _4.query("> [widgetId]",this.containerNode).map(_5.byNode);},hasChildren:function(){return _4.query("> [widgetId]",this.containerNode).length>0;},destroyDescendants:function(_184){_4.forEach(this.getChildren(),function(_185){_185.destroyRecursive(_184);});},_getSiblingOfChild:function(_186,dir){var node=_186.domNode,_187=(dir>0?"nextSibling":"previousSibling");do{node=node[_187];}while(node&&(node.nodeType!=1||!_5.byNode(node)));return node&&_5.byNode(node);},getIndexOfChild:function(_188){return _4.indexOf(this.getChildren(),_188);},startup:function(){if(this._started){return;}_4.forEach(this.getChildren(),function(_189){_189.startup();});this.inherited(arguments);}});}if(!_4._hasResource["dijit._Contained"]){_4._hasResource["dijit._Contained"]=true;_4.provide("dijit._Contained");_4.declare("dijit._Contained",null,{getParent:function(){var _18a=_5.getEnclosingWidget(this.domNode.parentNode);return _18a&&_18a.isContainer?_18a:null;},_getSibling:function(_18b){var node=this.domNode;do{node=node[_18b+"Sibling"];}while(node&&node.nodeType!=1);return node&&_5.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});}if(!_4._hasResource["dijit.layout._LayoutWidget"]){_4._hasResource["dijit.layout._LayoutWidget"]=true;_4.provide("dijit.layout._LayoutWidget");_4.declare("dijit.layout._LayoutWidget",[_5._Widget,_5._Container,_5._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){_4.addClass(this.domNode,"dijitContainer");_4.addClass(this.domNode,this.baseClass);this.inherited(arguments);},startup:function(){if(this._started){return;}this.inherited(arguments);var _18c=this.getParent&&this.getParent();if(!(_18c&&_18c.isLayoutContainer)){this.resize();this.connect(_4.isIE?this.domNode:_4.global,"onresize",function(){this.resize();});}},resize:function(_18d,_18e){var node=this.domNode;if(_18d){_4.marginBox(node,_18d);if(_18d.t){node.style.top=_18d.t+"px";}if(_18d.l){node.style.left=_18d.l+"px";}}var mb=_18e||{};_4.mixin(mb,_18d||{});if(!("h" in mb)||!("w" in mb)){mb=_4.mixin(_4.marginBox(node),mb);}var cs=_4.getComputedStyle(node);var me=_4._getMarginExtents(node,cs);var be=_4._getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_4._getPadExtents(node,cs);this._contentBox={l:_4._toPixelValue(node,cs.paddingLeft),t:_4._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_18f){_4.addClass(_18f.domNode,this.baseClass+"-child");if(_18f.baseClass){_4.addClass(_18f.domNode,this.baseClass+"-"+_18f.baseClass);}},addChild:function(_190,_191){this.inherited(arguments);if(this._started){this._setupChild(_190);}},removeChild:function(_192){_4.removeClass(_192.domNode,this.baseClass+"-child");if(_192.baseClass){_4.removeClass(_192.domNode,this.baseClass+"-"+_192.baseClass);}this.inherited(arguments);}});_5.layout.marginBox2contentBox=function(node,mb){var cs=_4.getComputedStyle(node);var me=_4._getMarginExtents(node,cs);var pb=_4._getPadBorderExtents(node,cs);return {l:_4._toPixelValue(node,cs.paddingLeft),t:_4._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _193=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_194,dim){_194.resize?_194.resize(dim):_4.marginBox(_194.domNode,dim);_4.mixin(_194,_4.marginBox(_194.domNode));_4.mixin(_194,dim);};_5.layout.layoutChildren=function(_195,dim,_196){dim=_4.mixin({},dim);_4.addClass(_195,"dijitLayoutContainer");_196=_4.filter(_196,function(item){return item.layoutAlign!="client";}).concat(_4.filter(_196,function(item){return item.layoutAlign=="client";}));_4.forEach(_196,function(_197){var elm=_197.domNode,pos=_197.layoutAlign;var _198=elm.style;_198.left=dim.l+"px";_198.top=dim.t+"px";_198.bottom=_198.right="auto";_4.addClass(elm,"dijitAlign"+_193(pos));if(pos=="top"||pos=="bottom"){size(_197,{w:dim.w});dim.h-=_197.h;if(pos=="top"){dim.t+=_197.h;}else{_198.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_197,{h:dim.h});dim.w-=_197.w;if(pos=="left"){dim.l+=_197.w;}else{_198.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_197,dim);}}}});};})();}if(!_4._hasResource["dijit.form._FormWidget"]){_4._hasResource["dijit.form._FormWidget"]=true;_4.provide("dijit.form._FormWidget");_4.declare("dijit.form._FormWidget",[_5._Widget,_5._Templated],{baseClass:"",name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,intermediateChanges:false,scrollOnFocus:true,attributeMap:_4.delegate(_5._Widget.prototype.attributeMap,{value:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode",title:"focusNode"}),postMixInProperties:function(){this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";this.inherited(arguments);},_setDisabledAttr:function(_199){this.disabled=_199;_4.attr(this.focusNode,"disabled",_199);if(this.valueNode){_4.attr(this.valueNode,"disabled",_199);}_5.setWaiState(this.focusNode,"disabled",_199);if(_199){this._hovering=false;this._active=false;this.focusNode.setAttribute("tabIndex","-1");}else{this.focusNode.setAttribute("tabIndex",this.tabIndex);}this._setStateClass();},setDisabled:function(_19a){_4.deprecated("setDisabled("+_19a+") is deprecated. Use attr('disabled',"+_19a+") instead.","","2.0");this.attr("disabled",_19a);},_onFocus:function(e){if(this.scrollOnFocus){_5.scrollIntoView(this.domNode);}this.inherited(arguments);},_onMouse:function(_19b){var _19c=_19b.currentTarget;if(_19c&&_19c.getAttribute){this.stateModifier=_19c.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_19b.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 _19d=this.connect(_4.body(),"onmouseup",function(){if(this._mouseDown&&this.isFocusable()){this.focus();}this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_19d);});break;}this._setStateClass();}},isFocusable:function(){return !this.disabled&&!this.readOnly&&this.focusNode&&(_4.style(this.domNode,"display")!="none");},focus:function(){_5.focus(this.focusNode);},_setStateClass:function(){var _19e=this.baseClass.split(" ");function _19f(_1a0){_19e=_19e.concat(_4.map(_19e,function(c){return c+_1a0;}),"dijit"+_1a0);};if(this.checked){_19f("Checked");}if(this.state){_19f(this.state);}if(this.selected){_19f("Selected");}if(this.disabled){_19f("Disabled");}else{if(this.readOnly){_19f("ReadOnly");}else{if(this._active){_19f(this.stateModifier+"Active");}else{if(this._focused){_19f("Focused");}if(this._hovering){_19f(this.stateModifier+"Hover");}}}}var tn=this.stateNode||this.domNode,_1a1={};_4.forEach(tn.className.split(" "),function(c){_1a1[c]=true;});if("_stateClasses" in this){_4.forEach(this._stateClasses,function(c){delete _1a1[c];});}_4.forEach(_19e,function(c){_1a1[c]=true;});var _1a2=[];for(var c in _1a1){_1a2.push(c);}tn.className=_1a2.join(" ");this._stateClasses=_19e;},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(_1a3){},_onChangeActive:false,_handleOnChange:function(_1a4,_1a5){this._lastValue=_1a4;if(this._lastValueReported==undefined&&(_1a5===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1a4;}if((this.intermediateChanges||_1a5||_1a5===undefined)&&((typeof _1a4!=typeof this._lastValueReported)||this.compare(_1a4,this._lastValueReported)!=0)){this._lastValueReported=_1a4;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(_4.hitch(this,function(){this._onChangeHandle=null;this.onChange(_1a4);}),0);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;this._setStateClass();},destroy:function(){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);this.onChange(this._lastValueReported);}this.inherited(arguments);},setValue:function(_1a6){_4.deprecated("dijit.form._FormWidget:setValue("+_1a6+") is deprecated.  Use attr('value',"+_1a6+") instead.","","2.0");this.attr("value",_1a6);},getValue:function(){_4.deprecated(this.declaredClass+"::getValue() is deprecated. Use attr('value') instead.","","2.0");return this.attr("value");}});_4.declare("dijit.form._FormValueWidget",_5.form._FormWidget,{readOnly:false,attributeMap:_4.delegate(_5.form._FormWidget.prototype.attributeMap,{value:"",readOnly:"focusNode"}),_setReadOnlyAttr:function(_1a7){this.readOnly=_1a7;_4.attr(this.focusNode,"readOnly",_1a7);_5.setWaiState(this.focusNode,"readonly",_1a7);this._setStateClass();},postCreate:function(){if(_4.isIE){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._resetValue=this.value;}},_setValueAttr:function(_1a8,_1a9){this.value=_1a8;this._handleOnChange(_1a8,_1a9);},_getValueAttr:function(){return this._lastValue;},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==_4.keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){var te;if(_4.isIE){e.preventDefault();te=document.createEventObject();te.keyCode=_4.keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}},_layoutHackIE7:function(){if(_4.isIE==7){var _1aa=this.domNode;var _1ab=_1aa.parentNode;var _1ac=_1aa.firstChild||_1aa;var _1ad=_1ac.style.filter;while(_1ab&&_1ab.clientHeight==0){_1ab._disconnectHandle=this.connect(_1ab,"onscroll",_4.hitch(this,function(e){this.disconnect(_1ab._disconnectHandle);_1ab.removeAttribute("_disconnectHandle");_1ac.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_1ac.style.filter=_1ad;},0);}));_1ab=_1ab.parentNode;}}}});}if(!_4._hasResource["dijit.dijit"]){_4._hasResource["dijit.dijit"]=true;_4.provide("dijit.dijit");}}};});

