/*
	Copyright (c) 2004-2007, The Dojo Foundation
	All Rights Reserved.

	Licensed under the Academic Free License version 2.1 or above OR the
	modified BSD license. For more information on Dojo licensing, see:

		http://dojotoolkit.org/community/licensing.shtml
*/

/*
	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.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_1,_2){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 _3=dojo.date.stamp._isoRegExp.exec(_1);var _4=null;if(_3){_3.shift();_3[1]&&_3[1]--;_3[6]&&(_3[6]*=1000);if(_2){_2=new Date(_2);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_5){return _2["get"+_5]();}).forEach(function(_6,_7){if(_3[_7]===undefined){_3[_7]=_6;}});}_4=new Date(_3[0]||1970,_3[1]||0,_3[2]||0,_3[3]||0,_3[4]||0,_3[5]||0,_3[6]||0);var _8=0;var _9=_3[7]&&_3[7].charAt(0);if(_9!="Z"){_8=((_3[8]||0)*60)+(Number(_3[9])||0);if(_9!="-"){_8*=-1;}}if(_9){_8-=_4.getTimezoneOffset();}if(_8){_4.setTime(_4.getTime()+_8*60000);}}return _4;};dojo.date.stamp.toISOString=function(_a,_b){var _=function(n){return (n<10)?"0"+n:n;};_b=_b||{};var _e=[];var _f=_b.zulu?"getUTC":"get";var _10="";if(_b.selector!="time"){_10=[_a[_f+"FullYear"](),_(_a[_f+"Month"]()+1),_(_a[_f+"Date"]())].join("-");}_e.push(_10);if(_b.selector!="date"){var _11=[_(_a[_f+"Hours"]()),_(_a[_f+"Minutes"]()),_(_a[_f+"Seconds"]())].join(":");var _12=_a[_f+"Milliseconds"]();if(_b.milliseconds){_11+="."+(_12<100?"0":"")+_(_12);}if(_b.zulu){_11+="Z";}else{var _13=_a.getTimezoneOffset();var _14=Math.abs(_13);_11+=(_13>0?"-":"+")+_(Math.floor(_14/60))+":"+_(_14%60);}_e.push(_11);}return _e.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;function val2type(_16){if(d.isString(_16)){return "string";}if(typeof _16=="number"){return "number";}if(typeof _16=="boolean"){return "boolean";}if(d.isFunction(_16)){return "function";}if(d.isArray(_16)){return "array";}if(_16 instanceof Date){return "date";}if(_16 instanceof d._Url){return "url";}return "object";};function str2obj(_17,_18){switch(_18){case "string":return _17;case "number":return _17.length?Number(_17):NaN;case "boolean":return typeof _17=="boolean"?_17:!(_17.toLowerCase()=="false");case "function":if(d.isFunction(_17)){_17=_17.toString();_17=d.trim(_17.substring(_17.indexOf("{")+1,_17.length-1));}try{if(_17.search(/[^\w\.]+/i)!=-1){_17=d.parser._nameAnonFunc(new Function(_17),this);}return d.getObject(_17,false);}catch(e){return new Function();}case "array":return _17.split(/\s*,\s*/);case "date":switch(_17){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_17);}case "url":return d.baseUrl+_17;default:return d.fromJson(_17);}};var _19={};function getClassInfo(_1a){if(!_19[_1a]){var cls=d.getObject(_1a);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_1a+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _1c=cls.prototype;var _1d={};for(var _1e in _1c){if(_1e.charAt(0)=="_"){continue;}var _1f=_1c[_1e];_1d[_1e]=val2type(_1f);}_19[_1a]={cls:cls,params:_1d};}return _19[_1a];};this._functionFromScript=function(_20){var _21="";var _22="";var _23=_20.getAttribute("args");if(_23){d.forEach(_23.split(/\s*,\s*/),function(_24,idx){_21+="var "+_24+" = arguments["+idx+"]; ";});}var _26=_20.getAttribute("with");if(_26&&_26.length){d.forEach(_26.split(/\s*,\s*/),function(_27){_21+="with("+_27+"){";_22+="}";});}return new Function(_21+_20.innerHTML+_22);};this._wireUpMethod=function(_28,_29){var nf=this._functionFromScript(_29);var _2b=_29.getAttribute("event");if(_2b){var _2c=_29.getAttribute("type");if(_2c&&(_2c=="dojo/connect")){d.connect(_28,_2b,null,nf);}else{_28[_2b]=nf;}}else{nf.call(_28);}};this.instantiate=function(_2d){var _2e=[];d.forEach(_2d,function(_2f){if(!_2f){return;}var _30=_2f.getAttribute("dojoType");if((!_30)||(!_30.length)){return;}var _31=getClassInfo(_30);var _32=_31.cls;var ps=_32._noScript||_32.prototype._noScript;var _34={};var _35=_2f.attributes;for(var _36 in _31.params){var _37=_35.getNamedItem(_36);if(!_37||(!_37.specified&&(!dojo.isIE||_36.toLowerCase()!="value"))){continue;}var _38=_31.params[_36];_34[_36]=str2obj(_37.value,_38);}if(!ps){var _39=d.query("> script[type='dojo/method'][event='preamble']",_2f).orphan();if(_39.length){_34.preamble=d.parser._functionFromScript(_39[0]);}var _3a=d.query("> script[type^='dojo/']",_2f).orphan();}var _3b=_32["markupFactory"];if(!_3b&&_32["prototype"]){_3b=_32.prototype["markupFactory"];}var _3c=_3b?_3b(_34,_2f,_32):new _32(_34,_2f);_2e.push(_3c);var _3d=_2f.getAttribute("jsId");if(_3d){d.setObject(_3d,_3c);}if(!ps){_3a.forEach(function(_3e){d.parser._wireUpMethod(_3c,_3e);});}});d.forEach(_2e,function(_3f){if(_3f&&(_3f.startup)&&((!_3f.getParent)||(!_3f.getParent()))){_3f.startup();}});return _2e;};this.parse=function(_40){var _41=d.query("[dojoType]",_40);var _42=this.instantiate(_41);return _42;};}();(function(){var _43=function(){if(djConfig["parseOnLoad"]==true){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_43);}else{dojo._loaders.unshift(_43);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_44,_45){var jpn="$joinpoint";var nso=(_45||dojo.parser._anon);if(dojo.isIE){var cn=_44["__dojoNameCache"];if(cn&&nso[cn]===_44){return _44["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_44;return ret;};}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(_4a,_4b,_4c){var c=document.cookie;if(arguments.length==1){var idx=c.lastIndexOf(_4a+"=");if(idx==-1){return null;}var _4f=idx+_4a.length+1;var end=c.indexOf(";",idx+_4a.length+1);if(end==-1){end=c.length;}return decodeURIComponent(c.substring(_4f,end));}else{_4c=_4c||{};_4b=encodeURIComponent(_4b);if(typeof (_4c.expires)=="number"){var d=new Date();d.setTime(d.getTime()+(_4c.expires*24*60*60*1000));_4c.expires=d;}document.cookie=_4a+"="+_4b+(_4c.expires?"; expires="+_4c.expires.toUTCString():"")+(_4c.path?"; path="+_4c.path:"")+(_4c.domain?"; domain="+_4c.domain:"")+(_4c.secure?"; secure":"");return null;}};}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 _52=dojo.global;var _53=dojo.doc;if(_53.selection){return !_53.selection.createRange().text;}else{if(_52.getSelection){var _54=_52.getSelection();if(dojo.isString(_54)){return !_54;}else{return _54.isCollapsed||!_54.toString();}}}},getBookmark:function(){var _55,_56=dojo.doc.selection;if(_56){var _57=_56.createRange();if(_56.type.toUpperCase()=="CONTROL"){_55=_57.length?dojo._toArray(_57):null;}else{_55=_57.getBookmark();}}else{if(dojo.global.getSelection){_56=dojo.global.getSelection();if(_56){var _57=_56.getRangeAt(0);_55=_57.cloneRange();}}else{console.debug("No idea how to store the current selection for this browser!");}}return _55;},moveToBookmark:function(_58){var _59=dojo.doc;if(_59.selection){var _5a;if(dojo.isArray(_58)){_5a=_59.body.createControlRange();dojo.forEach(_58,_5a.addElement);}else{_5a=_59.selection.createRange();_5a.moveToBookmark(_58);}_5a.select();}else{var _5b=dojo.global.getSelection&&dojo.global.getSelection();if(_5b&&_5b.removeAllRanges){_5b.removeAllRanges();_5b.addRange(_58);}else{console.debug("No idea how to restore selection for this browser!");}}},getFocus:function(_5c,_5d){return {node:_5c&&dojo.isDescendant(dijit._curFocus,_5c.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_5d||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_5d||dojo.global,dijit.getBookmark):null,openedForWindow:_5d};},focus:function(_5e){if(!_5e){return;}var _5f="node" in _5e?_5e.node:_5e,_60=_5e.bookmark,_61=_5e.openedForWindow;if(_5f){var _62=(_5f.tagName.toLowerCase()=="iframe")?_5f.contentWindow:_5f;if(_62&&_62.focus){try{_62.focus();}catch(e){}}dijit._onFocusNode(_5f);}if(_60&&dojo.withGlobal(_61||dojo.global,dijit.isCollapsed)){if(_61){_61.focus();}try{dojo.withGlobal(_61||dojo.global,moveToBookmark,null,[_60]);}catch(e){}}},_activeStack:[],registerWin:function(_63){if(!_63){_63=window;}dojo.connect(_63.document,"onmousedown",null,function(evt){dijit._ignoreNextBlurEvent=true;setTimeout(function(){dijit._ignoreNextBlurEvent=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var _65=_63.document.body||_63.document.getElementsByTagName("body")[0];if(_65){if(dojo.isIE){_65.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="body"){dijit._onFocusNode(evt.srcElement);}});_65.attachEvent("ondeactivate",function(evt){dijit._onBlurNode();});}else{_65.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);_65.addEventListener("blur",function(evt){dijit._onBlurNode();},true);}}},_onBlurNode:function(){if(dijit._ignoreNextBlurEvent){dijit._ignoreNextBlurEvent=false;return;}dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._blurAllTimer){clearTimeout(dijit._blurAllTimer);}dijit._blurAllTimer=setTimeout(function(){delete dijit._blurAllTimer;dijit._setStack([]);},100);},_onTouchNode:function(_6a){if(dijit._blurAllTimer){clearTimeout(dijit._blurAllTimer);delete dijit._blurAllTimer;}var _6b=[];try{while(_6a){if(_6a.dijitPopupParent){_6a=dijit.byId(_6a.dijitPopupParent).domNode;}else{if(_6a.tagName&&_6a.tagName.toLowerCase()=="body"){if(_6a===dojo.body()){break;}_6a=dojo.query("iframe").filter(function(_6c){return _6c.contentDocument.body===_6a;})[0];}else{var id=_6a.getAttribute&&_6a.getAttribute("widgetId");if(id){_6b.unshift(id);}_6a=_6a.parentNode;}}}}catch(e){}dijit._setStack(_6b);},_onFocusNode:function(_6e){if(_6e&&_6e.tagName&&_6e.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(_6e);if(_6e==dijit._curFocus){return;}dijit._prevFocus=dijit._curFocus;dijit._curFocus=_6e;dojo.publish("focusNode",[_6e]);var w=dijit.byId(_6e.id);if(w&&w._setStateClass){w._focused=true;w._setStateClass();var _70=dojo.connect(_6e,"onblur",function(){w._focused=false;w._setStateClass();dojo.disconnect(_70);});}},_setStack:function(_71){var _72=dijit._activeStack;dijit._activeStack=_71;for(var _73=0;_73<Math.min(_72.length,_71.length);_73++){if(_72[_73]!=_71[_73]){break;}}for(var i=_72.length-1;i>=_73;i--){var _75=dijit.byId(_72[i]);if(_75){dojo.publish("widgetBlur",[_75]);if(_75._onBlur){_75._onBlur();}}}for(var i=_73;i<_71.length;i++){var _75=dijit.byId(_71[i]);if(_75){dojo.publish("widgetFocus",[_75]);if(_75._onFocus){_75._onFocus();}}}}});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(_76){this._hash[_76.id]=_76;},remove:function(id){delete this._hash[id];},forEach:function(_78){for(var id in this._hash){_78(this._hash[id]);}},filter:function(_7a){var res=new dijit.WidgetSet();this.forEach(function(_7c){if(_7a(_7c)){res.add(_7c);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_7f){return _7f.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_80){var id;do{id=_80+"_"+(dijit._widgetTypeCtr[_80]!==undefined?++dijit._widgetTypeCtr[_80]:dijit._widgetTypeCtr[_80]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnUnload(function(){dijit.registry.forEach(function(_82){_82.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_84){return dijit.registry.byId(_84.getAttribute("widgetId"));};}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _85=dojo.global;var _86=dojo.doc;var w=0,h=0;if(dojo.isMozilla){w=_86.documentElement.clientWidth;h=_85.innerHeight;}else{if(!dojo.isOpera&&_85.innerWidth){w=_85.innerWidth;h=_85.innerHeight;}else{if(dojo.isIE&&_86.documentElement&&_86.documentElement.clientHeight){w=_86.documentElement.clientWidth;h=_86.documentElement.clientHeight;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _89=dojo._docScroll();return {w:w,h:h,l:_89.x,t:_89.y};};dijit.placeOnScreen=function(_8a,pos,_8c,_8d){var _8e=dojo.map(_8c,function(_8f){return {corner:_8f,pos:pos};});return dijit._place(_8a,_8e);};dijit._place=function(_90,_91,_92){var _93=dijit.getViewport();if(!_90.parentNode||String(_90.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_90);}var _94=null;for(var i=0;i<_91.length;i++){var _96=_91[i].corner;var pos=_91[i].pos;if(_92){_92(_96);}var _98=_90.style.display;var _99=_90.style.visibility;_90.style.visibility="hidden";_90.style.display="";var mb=dojo.marginBox(_90);_90.style.display=_98;_90.style.visibility=_99;var _9b=(_96.charAt(1)=="L"?pos.x:Math.max(_93.l,pos.x-mb.w)),_9c=(_96.charAt(0)=="T"?pos.y:Math.max(_93.t,pos.y-mb.h)),_9d=(_96.charAt(1)=="L"?Math.min(_93.l+_93.w,_9b+mb.w):pos.x),_9e=(_96.charAt(0)=="T"?Math.min(_93.t+_93.h,_9c+mb.h):pos.y),_9f=_9d-_9b,_a0=_9e-_9c,_a1=(mb.w-_9f)+(mb.h-_a0);if(_94==null||_a1<_94.overflow){_94={corner:_96,aroundCorner:_91[i].aroundCorner,x:_9b,y:_9c,w:_9f,h:_a0,overflow:_a1};}if(_a1==0){break;}}_90.style.left=_94.x+"px";_90.style.top=_94.y+"px";return _94;};dijit.placeOnScreenAroundElement=function(_a2,_a3,_a4,_a5){_a3=dojo.byId(_a3);var _a6=_a3.style.display;_a3.style.display="";var _a7=_a3.offsetWidth;var _a8=_a3.offsetHeight;var _a9=dojo.coords(_a3,true);_a3.style.display=_a6;var _aa=[];for(var _ab in _a4){_aa.push({aroundCorner:_ab,corner:_a4[_ab],pos:{x:_a9.x+(_ab.charAt(1)=="L"?0:_a7),y:_a9.y+(_ab.charAt(0)=="T"?0:_a8)}});}return dijit._place(_a2,_aa,_a5);};}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 _b1=[],_b2=1000,_b3=1;this.open=function(_b4){var _b5=_b4.popup,_b6=_b4.orient||{"BL":"TL","TL":"BL"},_b7=_b4.around,id=(_b4.around&&_b4.around.id)?(_b4.around.id+"_dropdown"):("popup_"+_b3++);if(!_b4.submenu){this.closeAll();}var _b9=dojo.doc.createElement("div");_b9.id=id;_b9.className="dijitPopup";_b9.style.zIndex=_b2+_b1.length;if(_b4.parent){_b9.dijitPopupParent=_b4.parent.id;}dojo.body().appendChild(_b9);_b5.domNode.style.display="";_b9.appendChild(_b5.domNode);var _ba=new dijit.BackgroundIframe(_b9);var _bb=_b7?dijit.placeOnScreenAroundElement(_b9,_b7,_b6,_b5.orient?dojo.hitch(_b5,"orient"):null):dijit.placeOnScreen(_b9,_b4,_b6=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);var _bc=[];_bc.push(dojo.connect(_b9,"onkeypress",this,function(evt){if(evt.keyCode==dojo.keys.ESCAPE){_b4.onCancel();}}));if(_b5.onCancel){_bc.push(dojo.connect(_b5,"onCancel",null,_b4.onCancel));}_bc.push(dojo.connect(_b5,_b5.onExecute?"onExecute":"onChange",null,function(){if(_b1[0]&&_b1[0].onExecute){_b1[0].onExecute();}}));_b1.push({wrapper:_b9,iframe:_ba,widget:_b5,onExecute:_b4.onExecute,onCancel:_b4.onCancel,onClose:_b4.onClose,handlers:_bc});if(_b5.onOpen){_b5.onOpen(_bb);}return _bb;};this.close=function(){var _be=_b1[_b1.length-1].widget;if(_be.onClose){_be.onClose();}if(!_b1.length){return;}var top=_b1.pop();var _c0=top.wrapper,_c1=top.iframe,_be=top.widget,_c2=top.onClose;dojo.forEach(top.handlers,dojo.disconnect);if(!_be||!_be.domNode){return;}dojo.style(_be.domNode,"display","none");dojo.body().appendChild(_be.domNode);_c1.destroy();dojo._destroyElement(_c0);if(_c2){_c2();}};this.closeAll=function(){while(_b1.length){this.close();}};this.closeTo=function(_c3){while(_b1.length&&_b1[_b1.length-1].widget.id!=_c3.id){this.close();}};}();dijit._frames=new function(){var _c4=[];this.pop=function(){var _c5;if(_c4.length){_c5=_c4.pop();_c5.style.display="";}else{if(dojo.isIE){var _c6="<iframe src='javascript:\"\"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_c5=dojo.doc.createElement(_c6);}else{var _c5=dojo.doc.createElement("iframe");_c5.src="javascript:\"\"";_c5.className="dijitBackgroundIframe";}_c5.tabIndex=-1;dojo.body().appendChild(_c5);}return _c5;};this.push=function(_c7){_c7.style.display="";if(dojo.isIE){_c7.style.removeExpression("width");_c7.style.removeExpression("height");}_c4.push(_c7);};}();if(dojo.isIE&&dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(_c9){if(!_c9.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _ca=dijit._frames.pop();_c9.appendChild(_ca);if(dojo.isIE){_ca.style.setExpression("width","document.getElementById('"+_c9.id+"').offsetWidth");_ca.style.setExpression("height","document.getElementById('"+_c9.id+"').offsetHeight");}this.iframe=_ca;}};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(_cb){if(dojo.isIE){if(dojo.marginBox(_cb.parentNode).h<=_cb.parentNode.scrollHeight){_cb.scrollIntoView(false);}}else{if(dojo.isMozilla){_cb.scrollIntoView(false);}else{var _cc=_cb.parentNode;var _cd=_cc.scrollTop+dojo.marginBox(_cc).h;var _ce=_cb.offsetTop+dojo.marginBox(_cb).h;if(_cd<_ce){_cc.scrollTop+=(_ce-_cd);}else{if(_cc.scrollTop>_cb.offsetTop){_cc.scrollTop-=(_cc.scrollTop-_cb.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 _d1=d.isOpera;var maj=Math.floor;var _d3={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_d1,dj_opera8:maj(_d1)==8,dj_opera9:maj(_d1)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla};for(var p in _d3){if(_d3[p]){var _d5=dojo.doc.documentElement;if(_d5.className){_d5.className+=" "+p;}else{_d5.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,_d7,_d8,_d9,obj,_db,_dc){if(obj!=this._obj){this.stop();this._initialDelay=_dc?_dc:500;this._subsequentDelay=_db?_db:0.9;this._obj=obj;this._evt=evt;this._node=_d8;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_d7,_d9);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(_dd,_de,_df,_e0,_e1,_e2){var ary=[];ary.push(dojo.connect(_dd,"onkeypress",this,function(evt){if(evt.keyCode==_de.keyCode&&(!_de.charCode||_de.charCode==evt.charCode)&&((typeof _de.ctrlKey=="undefined")||_de.ctrlKey==evt.ctrlKey)&&((typeof _de.altKey=="undefined")||_de.altKey==evt.ctrlKey)&&((typeof _de.shiftKey=="undefined")||_de.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_de,_df,_dd,_e0,_de,_e1,_e2);}else{if(dijit.typematic._obj==_de){dijit.typematic.stop();}}}));ary.push(dojo.connect(_dd,"onkeyup",this,function(evt){if(dijit.typematic._obj==_de){dijit.typematic.stop();}}));return ary;},addMouseListener:function(_e6,_e7,_e8,_e9,_ea){var ary=[];ary.push(dojo.connect(_e6,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_e7,_e6,_e8,_e6,_e9,_ea);}));ary.push(dojo.connect(_e6,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}));ary.push(dojo.connect(_e6,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}));ary.push(dojo.connect(_e6,"mousemove",this,function(evt){dojo.stopEvent(evt);}));ary.push(dojo.connect(_e6,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_e7,_e6,_e8,_e6,_e9,_ea);setTimeout("dijit.typematic.stop()",50);}}));return ary;},addListener:function(_f1,_f2,_f3,_f4,_f5,_f6,_f7){return this.addKeyListener(_f2,_f3,_f4,_f5,_f6,_f7).concat(this.addMouseListener(_f1,_f4,_f5,_f6,_f7));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.waiNames=["waiRole","waiState"];dijit.wai={waiRole:{name:"waiRole","namespace":"http://www.w3.org/TR/xhtml2",alias:"x2",prefix:"wairole:"},waiState:{name:"waiState","namespace":"http://www.w3.org/2005/07/aaa",alias:"aaa",prefix:""},setAttr:function(_f8,ns,_fa,_fb){if(dojo.isIE){_f8.setAttribute(this[ns].alias+":"+_fa,this[ns].prefix+_fb);}else{_f8.setAttributeNS(this[ns]["namespace"],_fa,this[ns].prefix+_fb);}},getAttr:function(_fc,ns,_fe){if(dojo.isIE){return _fc.getAttribute(this[ns].alias+":"+_fe);}else{return _fc.getAttributeNS(this[ns]["namespace"],_fe);}},removeAttr:function(_ff,ns,attr){var _102=true;if(dojo.isIE){_102=_ff.removeAttribute(this[ns].alias+":"+attr);}else{_ff.removeAttributeNS(this[ns]["namespace"],attr);}return _102;},onload:function(){var div=document.createElement("div");div.id="a11yTestNode";div.style.cssText="border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"left: -999px;"+"top: -999px;"+"background-image: url(\""+dojo.moduleUrl("dijit","form/templates/blank.gif")+"\");";dojo.body().appendChild(div);function check(){var cs=dojo.getComputedStyle(div);if(cs){var _105=cs.backgroundImage;var _106=(cs.borderTopColor==cs.borderRightColor)||(_105!=null&&(_105=="none"||_105=="url(invalid-url:)"));dojo[_106?"addClass":"removeClass"](dojo.body(),"dijit_a11y");}};check();if(dojo.isIE){setInterval(check,4000);}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.declare("dijit._Widget",null,{constructor:function(_107,_108){this.create(_107,_108);},id:"",lang:"",dir:"",srcNodeRef:null,domNode:null,create:function(_109,_10a){this.srcNodeRef=dojo.byId(_10a);this._connects=[];this._attaches=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_109){dojo.mixin(this,_109);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this.domNode.setAttribute("widgetId",this.id);if(this.srcNodeRef&&this.srcNodeRef.dir){this.domNode.dir=this.srcNodeRef.dir;}}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef;},postCreate:function(){},startup:function(){},destroyRecursive:function(_10b){this.destroyDescendants();this.destroy();},destroy:function(_10c){this.uninitialize();dojo.forEach(this._connects,function(_10d){dojo.forEach(_10d,dojo.disconnect);});this.destroyRendering(_10c);dijit.registry.remove(this.id);},destroyRendering:function(_10e){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(_10f){_10f.destroy();});},uninitialize:function(){return false;},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){var list=dojo.query("[widgetId]",this.domNode);return list.map(dijit.byNode);},nodesWithKeyClick:["input","button"],connect:function(obj,_112,_113){var _114=[];if(_112=="ondijitclick"){var w=this;if(!this.nodesWithKeyClick[obj.nodeName]){_114.push(dojo.connect(obj,"onkeydown",this,function(e){if(e.keyCode==dojo.keys.ENTER){return (dojo.isString(_113))?w[_113](e):_113.call(w,e);}else{if(e.keyCode==dojo.keys.SPACE){dojo.stopEvent(e);}}}));_114.push(dojo.connect(obj,"onkeyup",this,function(e){if(e.keyCode==dojo.keys.SPACE){return dojo.isString(_113)?w[_113](e):_113.call(w,e);}}));}_112="onclick";}_114.push(dojo.connect(obj,_112,this,_113));this._connects.push(_114);return _114;},disconnect:function(_118){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_118){dojo.forEach(_118,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){if(typeof this._ltr=="undefined"){this._ltr=(this.dir||dojo.getComputedStyle(this.domNode).direction)!="rtl";}return this._ltr;}});}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 _11c=dijit.byId(id);return _11c.isContainer?_11c:null;}}return null;},_getSibling:function(_11d){var node=this.domNode;do{node=node[_11d+"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(_120,_121){if(typeof _121=="undefined"){_121="last";}dojo.place(_120.domNode,this.containerNode||this.domNode,_121);if(this._started&&!_120._started){_120.startup();}},removeChild:function(_122){var node=_122.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);}});}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;}this._started=true;if(this.getChildren){dojo.forEach(this.getChildren(),function(_127){_127.startup();});}if(!this.getParent||!this.getParent()){this.resize();this.connect(window,"onresize",function(){this.resize();});}},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 _130=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_133,dim){_133.resize?_133.resize(dim):dojo.marginBox(_133.domNode,dim);dojo.mixin(_133,dojo.marginBox(_133.domNode));dojo.mixin(_133,dim);};dijit.layout.layoutChildren=function(_135,dim,_137){dim=dojo.mixin({},dim);dojo.addClass(_135,"dijitLayoutContainer");dojo.forEach(_137,function(_138){var elm=_138.domNode,pos=_138.layoutAlign;var _13b=elm.style;_13b.left=dim.l+"px";_13b.top=dim.t+"px";_13b.bottom=_13b.right="auto";dojo.addClass(elm,"dijitAlign"+_130(pos));if(pos=="top"||pos=="bottom"){size(_138,{w:dim.w});dim.h-=_138.h;if(pos=="top"){dim.t+=_138.h;}else{_13b.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_138,{h:dim.h});dim.w-=_138.w;if(pos=="left"){dim.l+=_138.w;}else{_13b.left=dim.l+dim.w+"px";}}else{if(pos=="flood"||pos=="client"){size(_138,dim);}}}});};})();}if(!dojo._hasResource["dijit.layout.LayoutContainer"]){dojo._hasResource["dijit.layout.LayoutContainer"]=true;dojo.provide("dijit.layout.LayoutContainer");dojo.declare("dijit.layout.LayoutContainer",dijit.layout._LayoutWidget,{layout:function(){dijit.layout.layoutChildren(this.domNode,this._contentBox,this.getChildren());},addChild:function(_13c,_13d){dijit._Container.prototype.addChild.apply(this,arguments);if(this._started){dijit.layout.layoutChildren(this.domNode,this._contentBox,this.getChildren());}},removeChild:function(_13e){dijit._Container.prototype.removeChild.apply(this,arguments);if(this._started){dijit.layout.layoutChildren(this.domNode,this._contentBox,this.getChildren());}}});dojo.extend(dijit._Widget,{layoutAlign:"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.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_14e,_14f,_150){_150=dojo.i18n.normalizeLocale(_150);var _151=_150.split("-");var _152=[_14e,"nls",_14f].join(".");var _153=dojo._loadedModules[_152];if(_153){var _154;for(var i=_151.length;i>0;i--){var loc=_151.slice(0,i).join("_");if(_153[loc]){_154=_153[loc];break;}}if(!_154){_154=_153.ROOT;}if(_154){var _157=function(){};_157.prototype=_154;return new _157();}}throw new Error("Bundle not found: "+_14f+" in "+_14e+" , locale="+_150);};dojo.i18n.normalizeLocale=function(_158){var _159=_158?_158.toLowerCase():dojo.locale;if(_159=="root"){_159="ROOT";}return _159;};dojo.i18n._requireLocalization=function(_15a,_15b,_15c,_15d){var _15e=dojo.i18n.normalizeLocale(_15c);var _15f=[_15a,"nls",_15b].join(".");var _160="";if(_15d){var _161=_15d.split(",");for(var i=0;i<_161.length;i++){if(_15e.indexOf(_161[i])==0){if(_161[i].length>_160.length){_160=_161[i];}}}if(!_160){_160="ROOT";}}var _163=_15d?_160:_15e;var _164=dojo._loadedModules[_15f];var _165=null;if(_164){if(djConfig.localizationComplete&&_164._built){return;}var _166=_163.replace(/-/g,"_");var _167=_15f+"."+_166;_165=dojo._loadedModules[_167];}if(!_165){_164=dojo["provide"](_15f);var syms=dojo._getModuleSymbols(_15a);var _169=syms.concat("nls").join("/");var _16a;dojo.i18n._searchLocalePath(_163,_15d,function(loc){var _16c=loc.replace(/-/g,"_");var _16d=_15f+"."+_16c;var _16e=false;if(!dojo._loadedModules[_16d]){dojo["provide"](_16d);var _16f=[_169];if(loc!="ROOT"){_16f.push(loc);}_16f.push(_15b);var _170=_16f.join("/")+".js";_16e=dojo._loadPath(_170,null,function(hash){var _172=function(){};_172.prototype=_16a;_164[_16c]=new _172();for(var j in hash){_164[_16c][j]=hash[j];}});}else{_16e=true;}if(_16e&&_164[_16c]){_16a=_164[_16c];}else{_164[_16c]=_16a;}if(_15d){return true;}});}if(_15d&&_15e!=_160){_164[_15e.replace(/-/g,"_")]=_164[_160.replace(/-/g,"_")];}};(function(){var _174=djConfig.extraLocale;if(_174){if(!_174 instanceof Array){_174=[_174];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_178,_179){req(m,b,_178,_179);if(_178){return;}for(var i=0;i<_174.length;i++){req(m,b,_174[i],_179);}};}})();dojo.i18n._searchLocalePath=function(_17b,down,_17d){_17b=dojo.i18n.normalizeLocale(_17b);var _17e=_17b.split("-");var _17f=[];for(var i=_17e.length;i>0;i--){_17f.push(_17e.slice(0,i).join("-"));}_17f.push(false);if(down){_17f.reverse();}for(var j=_17f.length-1;j>=0;j--){var loc=_17f[j]||"ROOT";var stop=_17d(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_184,_185){function preload(_186){_186=dojo.i18n.normalizeLocale(_186);dojo.i18n._searchLocalePath(_186,true,function(loc){for(var i=0;i<_185.length;i++){if(_185[i]==loc){dojo["require"](_184+"_"+loc);return true;}}return false;});};preload();var _189=djConfig.extraLocale||[];for(var i=0;i<_189.length;i++){preload(_189[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",postCreate:function(){this.domNode.title="";if(this.preload){this._loadCheck();}var _18b=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_18b);this.errorMessage=dojo.string.substitute(this.errorMessage,_18b);dojo.addClass(this.domNode,this["class"]);},startup:function(){if(!this._started){this._loadCheck();this._started=true;}},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();}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;dijit.layout.ContentPane.superclass.destroy.call(this);},resize:function(size){dojo.marginBox(this.domNode,size);},_prepareLoad:function(_18f){this.cancel();this.isLoaded=false;this._loadCheck(_18f);},_loadCheck:function(_190){var _191=((this.open!==false)&&(this.domNode.style.display!="none"));if(this.href&&(_190||(this.preload&&!this._xhrDfd)||(this.refreshOnShow&&_191&&!this._xhrDfd)||(!this.isLoaded&&_191&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._onUnloadHandler();this._setContent(this.onDownloadStart.call(this));var self=this;var _193={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_193,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_193);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 _19a=this.onContentError(e);try{node.innerHTML=_19a;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}}},_onError:function(type,err,_19d){var _19e=this["on"+type+"Error"].call(this,err);if(_19d){console.error(_19d,err);}else{if(_19e){this._setContent.call(this,_19e);}}},_createSubWidgets:function(){var _19f=this.containerNode||this.domNode;try{dojo.parser.parse(_19f,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(_1a2){},onDownloadError:function(_1a3){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dojox.collections._base"]){dojo._hasResource["dojox.collections._base"]=true;dojo.provide("dojox.collections._base");dojox.collections.DictionaryEntry=function(k,v){this.key=k;this.value=v;this.valueOf=function(){return this.value;};this.toString=function(){return String(this.value);};};dojox.collections.Iterator=function(arr){var a=arr;var _1a8=0;this.element=a[_1a8]||null;this.atEnd=function(){return (_1a8>=a.length);};this.get=function(){if(this.atEnd()){return null;}this.element=a[_1a8++];return this.element;};this.map=function(fn,_1aa){var s=_1aa||dojo.global;if(Array.map){return Array.map(a,fn,s);}else{var arr=[];for(var i=0;i<a.length;i++){arr.push(fn.call(s,a[i]));}return arr;}};this.reset=function(){_1a8=0;this.element=a[_1a8];};};dojox.collections.DictionaryIterator=function(obj){var a=[];var _1b0={};for(var p in obj){if(!_1b0[p]){a.push(obj[p]);}}var _1b2=0;this.element=a[_1b2]||null;this.atEnd=function(){return (_1b2>=a.length);};this.get=function(){if(this.atEnd()){return null;}this.element=a[_1b2++];return this.element;};this.map=function(fn,_1b4){var s=_1b4||dojo.global;if(Array.map){return Array.map(a,fn,s);}else{var arr=[];for(var i=0;i<a.length;i++){arr.push(fn.call(s,a[i]));}return arr;}};this.reset=function(){_1b2=0;this.element=a[_1b2];};};}if(!dojo._hasResource["dojox.collections"]){dojo._hasResource["dojox.collections"]=true;dojo.provide("dojox.collections");}if(!dojo._hasResource["dojox.collections.Dictionary"]){dojo._hasResource["dojox.collections.Dictionary"]=true;dojo.provide("dojox.collections.Dictionary");dojox.collections.Dictionary=function(_1b8){var _1b9={};this.count=0;var _1ba={};this.add=function(k,v){var b=(k in _1b9);_1b9[k]=new dojox.collections.DictionaryEntry(k,v);if(!b){this.count++;}};this.clear=function(){_1b9={};this.count=0;};this.clone=function(){return new dojox.collections.Dictionary(this);};this.contains=this.containsKey=function(k){if(_1ba[k]){return false;}return (_1b9[k]!=null);};this.containsValue=function(v){var e=this.getIterator();while(e.get()){if(e.element.value==v){return true;}}return false;};this.entry=function(k){return _1b9[k];};this.forEach=function(fn,_1c3){var a=[];for(var p in _1b9){if(!_1ba[p]){a.push(_1b9[p]);}}var s=_1c3||dj_global;if(Array.forEach){Array.forEach(a,fn,s);}else{for(var i=0;i<a.length;i++){fn.call(s,a[i],i,a);}}};this.getKeyList=function(){return (this.getIterator()).map(function(_1c8){return _1c8.key;});};this.getValueList=function(){return (this.getIterator()).map(function(_1c9){return _1c9.value;});};this.item=function(k){if(k in _1b9){return _1b9[k].valueOf();}return undefined;};this.getIterator=function(){return new dojox.collections.DictionaryIterator(_1b9);};this.remove=function(k){if(k in _1b9&&!_1ba[k]){delete _1b9[k];this.count--;return true;}return false;};if(_1b8){var e=_1b8.getIterator();while(e.get()){this.add(e.element.key,e.element.value);}}};}dojo.i18n._preloadLocalizations("dojo.nls.basicLoadDojo",["zh-tw","xx","zh","ROOT","zh-cn","en","en-us"]);
