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

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

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

if(!dojo._hasResource["dojo.colors"]){dojo._hasResource["dojo.colors"]=true;dojo.provide("dojo.colors");(function(){var _1=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=function(_6,_7){var m=_6.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1];if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){var a=dojo.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,_7);}return dojo.colorFromArray(c,_7);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2,a=[_1(m1,m2,H+1/3)*256,_1(m1,m2,H)*256,_1(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,_7);}}return null;};var _14=function(c,low,_17){c=Number(c);return isNaN(c)?_17:c<low?low:c>_17?_17:c;};dojo.Color.prototype.sanitize=function(){var t=this;t.r=Math.round(_14(t.r,0,255));t.g=Math.round(_14(t.g,0,255));t.b=Math.round(_14(t.b,0,255));t.a=_14(t.a,0,1);return this;};})();dojo.colors.makeGrey=function(g,a){return dojo.colorFromArray([g,g,g,a]);};dojo.Color.named=dojo.mixin({aliceblue:[240,248,255],antiquewhite:[250,235,215],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],blanchedalmond:[255,235,205],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],oldlace:[253,245,230],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]},dojo.Color.named);}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_1b,_1c,_1d){_1d=dojo.i18n.normalizeLocale(_1d);var _1e=_1d.split("-");var _1f=[_1b,"nls",_1c].join(".");var _20=dojo._loadedModules[_1f];if(_20){var _21;for(var i=_1e.length;i>0;i--){var loc=_1e.slice(0,i).join("_");if(_20[loc]){_21=_20[loc];break;}}if(!_21){_21=_20.ROOT;}if(_21){var _24=function(){};_24.prototype=_21;return new _24();}}throw new Error("Bundle not found: "+_1c+" in "+_1b+" , locale="+_1d);};dojo.i18n.normalizeLocale=function(_25){var _26=_25?_25.toLowerCase():dojo.locale;if(_26=="root"){_26="ROOT";}return _26;};dojo.i18n._requireLocalization=function(_27,_28,_29,_2a){var _2b=dojo.i18n.normalizeLocale(_29);var _2c=[_27,"nls",_28].join(".");var _2d="";if(_2a){var _2e=_2a.split(",");for(var i=0;i<_2e.length;i++){if(_2b["indexOf"](_2e[i])==0){if(_2e[i].length>_2d.length){_2d=_2e[i];}}}if(!_2d){_2d="ROOT";}}var _30=_2a?_2d:_2b;var _31=dojo._loadedModules[_2c];var _32=null;if(_31){if(dojo.config.localizationComplete&&_31._built){return;}var _33=_30.replace(/-/g,"_");var _34=_2c+"."+_33;_32=dojo._loadedModules[_34];}if(!_32){_31=dojo["provide"](_2c);var _35=dojo._getModuleSymbols(_27);var _36=_35.concat("nls").join("/");var _37;dojo.i18n._searchLocalePath(_30,_2a,function(loc){var _39=loc.replace(/-/g,"_");var _3a=_2c+"."+_39;var _3b=false;if(!dojo._loadedModules[_3a]){dojo["provide"](_3a);var _3c=[_36];if(loc!="ROOT"){_3c.push(loc);}_3c.push(_28);var _3d=_3c.join("/")+".js";_3b=dojo._loadPath(_3d,null,function(_3e){var _3f=function(){};_3f.prototype=_37;_31[_39]=new _3f();for(var j in _3e){_31[_39][j]=_3e[j];}});}else{_3b=true;}if(_3b&&_31[_39]){_37=_31[_39];}else{_31[_39]=_37;}if(_2a){return true;}});}if(_2a&&_2b!=_2d){_31[_2b.replace(/-/g,"_")]=_31[_2d.replace(/-/g,"_")];}};(function(){var _41=dojo.config.extraLocale;if(_41){if(!_41 instanceof Array){_41=[_41];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_45,_46){req(m,b,_45,_46);if(_45){return;}for(var i=0;i<_41.length;i++){req(m,b,_41[i],_46);}};}})();dojo.i18n._searchLocalePath=function(_48,_49,_4a){_48=dojo.i18n.normalizeLocale(_48);var _4b=_48.split("-");var _4c=[];for(var i=_4b.length;i>0;i--){_4c.push(_4b.slice(0,i).join("-"));}_4c.push(false);if(_49){_4c.reverse();}for(var j=_4c.length-1;j>=0;j--){var loc=_4c[j]||"ROOT";var _50=_4a(loc);if(_50){break;}}};dojo.i18n._preloadLocalizations=function(_51,_52){function preload(_53){_53=dojo.i18n.normalizeLocale(_53);dojo.i18n._searchLocalePath(_53,true,function(loc){for(var i=0;i<_52.length;i++){if(_52[i]==loc){dojo["require"](_51+"_"+loc);return true;}}return false;});};preload();var _56=dojo.config.extraLocale||[];for(var i=0;i<_56.length;i++){preload(_56[i]);}};}if(!dojo._hasResource["dijit.ColorPalette"]){dojo._hasResource["dijit.ColorPalette"]=true;dojo.provide("dijit.ColorPalette");dojo.declare("dijit.ColorPalette",[dijit._Widget,dijit._Templated],{defaultTimeout:500,timeoutChangeRate:0.9,palette:"7x10",value:null,_currentFocus:0,_xDim:null,_yDim:null,_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},_imagePaths:{"7x10":dojo.moduleUrl("dijit.themes","a11y/colors7x10.png"),"3x4":dojo.moduleUrl("dijit.themes","a11y/colors3x4.png")},_paletteCoords:{"leftOffset":3,"topOffset":3,"cWidth":20,"cHeight":20},templateString:"<div class=\"dijitInline dijitColorPalette\">\n\t<div class=\"dijitColorPaletteInner\" dojoAttachPoint=\"divNode\" waiRole=\"grid\" tabIndex=\"${tabIndex}\">\n\t\t<img class=\"dijitColorPaletteUnder\" dojoAttachPoint=\"imageNode\" waiRole=\"presentation\">\n\t</div>\t\n</div>\n",_paletteDims:{"7x10":{"width":"206px","height":"145px"},"3x4":{"width":"86px","height":"64px"}},tabIndex:"0",postCreate:function(){dojo.mixin(this.divNode.style,this._paletteDims[this.palette]);this.imageNode.setAttribute("src",this._imagePaths[this.palette]);var _58=this._palettes[this.palette];this.domNode.style.position="relative";this._cellNodes=[];this.colorNames=dojo.i18n.getLocalization("dojo","colors",this.lang);var url=this._blankGif,_5a=new dojo.Color(),_5b=this._paletteCoords;for(var row=0;row<_58.length;row++){for(var col=0;col<_58[row].length;col++){var _5e=dojo.doc.createElement("img");_5e.src=url;dojo.addClass(_5e,"dijitPaletteImg");var _5f=_58[row][col],_60=_5a.setColor(dojo.Color.named[_5f]);_5e.alt=this.colorNames[_5f];_5e.color=_60.toHex();var _61=_5e.style;_61.color=_61.backgroundColor=_5e.color;var _62=dojo.doc.createElement("span");_62.appendChild(_5e);dojo.forEach(["Dijitclick","MouseEnter","Focus","Blur"],function(_63){this.connect(_62,"on"+_63.toLowerCase(),"_onCell"+_63);},this);this.divNode.appendChild(_62);var _64=_62.style;_64.top=_5b.topOffset+(row*_5b.cHeight)+"px";_64.left=_5b.leftOffset+(col*_5b.cWidth)+"px";dojo.attr(_62,"tabindex","-1");_62.title=this.colorNames[_5f];dojo.addClass(_62,"dijitPaletteCell");dijit.setWaiRole(_62,"gridcell");_62.index=this._cellNodes.length;this._cellNodes.push(_62);}}this._xDim=_58[0].length;this._yDim=_58.length;this.connect(this.divNode,"onfocus","_onDivNodeFocus");var _65={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:1,LEFT_ARROW:-1};for(var key in _65){this._connects.push(dijit.typematic.addKeyListener(this.domNode,{charOrCode:dojo.keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _67=_65[key];return function(_68){this._navigateByKey(_67,_68);};}(),this.timeoutChangeRate,this.defaultTimeout));}},focus:function(){this._focusFirst();},onChange:function(_69){},_focusFirst:function(){this._currentFocus=0;var _6a=this._cellNodes[this._currentFocus];window.setTimeout(function(){dijit.focus(_6a);},0);},_onDivNodeFocus:function(evt){if(evt.target===this.divNode){this._focusFirst();}},_onFocus:function(){dojo.attr(this.divNode,"tabindex","-1");},_onBlur:function(){this._removeCellHighlight(this._currentFocus);dojo.attr(this.divNode,"tabindex",this.tabIndex);},_onCellDijitclick:function(evt){var _6d=evt.currentTarget;if(this._currentFocus!=_6d.index){this._currentFocus=_6d.index;window.setTimeout(function(){dijit.focus(_6d);},0);}this._selectColor(_6d);dojo.stopEvent(evt);},_onCellMouseEnter:function(evt){var _6f=evt.currentTarget;this._setCurrent(_6f);window.setTimeout(function(){dijit.focus(_6f);},0);},_onCellFocus:function(evt){this._setCurrent(evt.currentTarget);},_setCurrent:function(_71){this._removeCellHighlight(this._currentFocus);this._currentFocus=_71.index;dojo.addClass(_71,"dijitPaletteCellHighlight");},_onCellBlur:function(evt){this._removeCellHighlight(this._currentFocus);},_removeCellHighlight:function(_73){dojo.removeClass(this._cellNodes[_73],"dijitPaletteCellHighlight");},_selectColor:function(_74){var img=_74.getElementsByTagName("img")[0];this.onChange(this.value=img.color);},_navigateByKey:function(_76,_77){if(_77==-1){return;}var _78=this._currentFocus+_76;if(_78<this._cellNodes.length&&_78>-1){var _79=this._cellNodes[_78];_79.focus();}}});}if(!dojo._hasResource["dijit.Declaration"]){dojo._hasResource["dijit.Declaration"]=true;dojo.provide("dijit.Declaration");dojo.declare("dijit.Declaration",dijit._Widget,{_noScript:true,widgetClass:"",replaceVars:true,defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),_7b=dojo.query("> script[type='dojo/method'][event='preamble']",src).orphan(),_7c=dojo.query("> script[type^='dojo/method'][event]",src).orphan(),_7d=dojo.query("> script[type^='dojo/method']",src).orphan(),_7e=dojo.query("> script[type^='dojo/connect']",src).orphan(),_7f=src.nodeName;var _80=this.defaults||{};dojo.forEach(_7c,function(s){var evt=s.getAttribute("event"),_83=dojo.parser._functionFromScript(s);_80[evt]=_83;});this.mixins=this.mixins.length?dojo.map(this.mixins,function(_84){return dojo.getObject(_84);}):[dijit._Widget,dijit._Templated];_80.widgetsInTemplate=true;_80._skipNodeCache=true;_80.templateString="<"+_7f+" class='"+src.className+"' dojoAttachPoint='"+(src.getAttribute("dojoAttachPoint")||"")+"' dojoAttachEvent='"+(src.getAttribute("dojoAttachEvent")||"")+"' >"+src.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+"</"+_7f+">";dojo.query("[dojoType]",src).forEach(function(_85){_85.removeAttribute("dojoType");});var wc=dojo.declare(this.widgetClass,this.mixins,_80);var _87=_7e.concat(_7d);dojo.forEach(_87,function(s){var evt=s.getAttribute("event")||"postscript",_8a=dojo.parser._functionFromScript(s);dojo.connect(wc.prototype,evt,_8a);});}});}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._isMac=navigator.appVersion.indexOf("Macintosh")>=0;dojo.dnd._copyKey=dojo.dnd._isMac?"metaKey":"ctrlKey";dojo.dnd.getCopyKeyState=function(e){return e[dojo.dnd._copyKey];};dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.dnd.getViewport=function(){var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();if(dojo.isMozilla){return {w:dd.clientWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&w.innerWidth){return {w:w.innerWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&dd&&dd.clientWidth){return {w:dd.clientWidth,h:dd.clientHeight};}else{if(b.clientWidth){return {w:b.clientWidth,h:b.clientHeight};}}}}return null;};dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.dnd.getViewport(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo._abs(n,true);var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-t.x,ry=e.pageY-t.y,dx=0,dy=0;if(dojo.isSafari||dojo.isOpera){rx+=dojo.body().scrollLeft,ry+=dojo.body().scrollTop;}if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}}var _a2=n.scrollLeft,_a3=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_a2!=n.scrollLeft||_a3!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(_a4,e,_a6){this.node=dojo.byId(_a4);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=this.host=_a6,d=_a4.ownerDocument,_a9=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo,"stopEvent"),dojo.connect(d,"onselectstart",dojo,"stopEvent"),_a9];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});dojo.stopEvent(e);},onMouseUp:function(e){if(dojo.isSafari&&dojo.dnd._isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}dojo.stopEvent(e);},onFirstMove:function(){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left));t=Math.round(parseFloat(s.top));break;default:s.position="absolute";var m=dojo.marginBox(this.node);var b=dojo.doc.body;var bs=dojo.getComputedStyle(b);var bm=dojo._getMarginBox(b,bs);var bc=dojo._getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this);}dojo.disconnect(this.events.pop());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(_b7,_b8){this.node=dojo.byId(_b7);if(!_b8){_b8={};}this.handle=_b8.handle?dojo.byId(_b8.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_b8.delay>0?_b8.delay:0;this.skip=_b8.skip;this.mover=_b8.mover?_b8.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_b9,_ba){return new dojo.dnd.Moveable(_ba,_b9);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"));this.events.push(dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}dojo.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}dojo.stopEvent(e);},onMouseUp:function(e){dojo.disconnect(this.events.pop());dojo.disconnect(this.events.pop());dojo.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_c0){dojo.publish("/dnd/move/start",[_c0]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_c1){dojo.publish("/dnd/move/stop",[_c1]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_c2){},onMove:function(_c3,_c4){this.onMoving(_c3,_c4);var s=_c3.node.style;s.left=_c4.l+"px";s.top=_c4.t+"px";this.onMoved(_c3,_c4);},onMoving:function(_c6,_c7){},onMoved:function(_c8,_c9){}});}if(!dojo._hasResource["dojo.dnd.move"]){dojo._hasResource["dojo.dnd.move"]=true;dojo.provide("dojo.dnd.move");dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,markupFactory:function(_ca,_cb){return new dojo.dnd.move.constrainedMoveable(_cb,_ca);},constructor:function(_cc,_cd){if(!_cd){_cd={};}this.constraints=_cd.constraints;this.within=_cd.within;},onFirstMove:function(_ce){var c=this.constraintBox=this.constraints.call(this,_ce);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo.marginBox(_ce.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_d1,_d2){var c=this.constraintBox,s=_d1.node.style;s.left=(_d2.l<c.l?c.l:c.r<_d2.l?c.r:_d2.l)+"px";s.top=(_d2.t<c.t?c.t:c.b<_d2.t?c.b:_d2.t)+"px";}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_d5,_d6){return new dojo.dnd.move.boxConstrainedMoveable(_d6,_d5);},constructor:function(_d7,_d8){var box=_d8&&_d8.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_da,_db){return new dojo.dnd.move.parentConstrainedMoveable(_db,_da);},constructor:function(_dc,_dd){var _de=_dd&&_dd.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(_de=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_de=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_de=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.move.constrainedMover=function(fun,_e4){dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead");var _e5=function(_e6,e,_e8){dojo.dnd.Mover.call(this,_e6,e,_e8);};dojo.extend(_e5,dojo.dnd.Mover.prototype);dojo.extend(_e5,{onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox,c=this.constraintBox,l=m.l+e.pageX,t=m.t+e.pageY;l=l<c.l?c.l:c.r<l?c.r:l;t=t<c.t?c.t:c.b<t?c.b:t;this.host.onMove(this,{l:l,t:t});},onFirstMove:function(){dojo.dnd.Mover.prototype.onFirstMove.call(this);var c=this.constraintBox=fun.call(this);c.r=c.l+c.w;c.b=c.t+c.h;if(_e4){var mb=dojo.marginBox(this.node);c.r-=mb.w;c.b-=mb.h;}}});return _e5;};dojo.dnd.move.boxConstrainedMover=function(box,_f1){dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead");return dojo.dnd.move.constrainedMover(function(){return box;},_f1);};dojo.dnd.move.parentConstrainedMover=function(_f2,_f3){dojo.deprecated("dojo.dnd.move.parentConstrainedMover, use dojo.dnd.move.parentConstrainedMoveable instead");var fun=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(_f2=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_f2=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_f2=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};return dojo.dnd.move.constrainedMover(fun,_f3);};dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;}if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _f9=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(_fa,_fb){if(!_fb){_fb={};}if(_fb.timeout&&typeof _fb.timeout=="number"&&_fb.timeout>=0){this.timeout=_fb.timeout;}},markupFactory:function(_fc,_fd){return new dojo.dnd.TimedMoveable(_fd,_fc);},onMoveStop:function(_fe){if(_fe._timer){clearTimeout(_fe._timer);_f9.call(this,_fe,_fe._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_ff,_100){_ff._leftTop=_100;if(!_ff._timer){var _t=this;_ff._timer=setTimeout(function(){_ff._timer=null;_f9.call(_t,_ff,_ff._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");dojo.provide("dojo.fx.Toggler");(function(){var _102={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _105=function(_106){this._index=-1;this._animations=_106||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;dojo.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};dojo.extend(_105,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){dojo.disconnect(this._onAnimateCtx);dojo.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_108,_109){if(!this._current){this._current=this._animations[this._index=0];}if(!_109&&this._current.status()=="playing"){return this;}var _10a=dojo.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_10b=dojo.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_10d=dojo.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);dojo.disconnect(_10a);dojo.disconnect(_10b);dojo.disconnect(_10d);});if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=dojo.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);dojo.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_111,_112){this.pause();var _113=this.duration*_111;this._current=null;dojo.some(this._animations,function(a){if(a.duration<=_113){this._current=a;return true;}_113-=a.duration;return false;});if(this._current){this._current.gotoPercent(_113/this._current.duration,_112);}return this;},stop:function(_115){if(this._current){if(_115){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=dojo.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);dojo.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}}});dojo.extend(_105,_102);dojo.fx.chain=function(_118){return new _105(_118);};var _119=function(_11a){this._animations=_11a||[];this._connects=[];this._finished=0;this.duration=0;dojo.forEach(_11a,function(a){var _11c=a.duration;if(a.delay){_11c+=a.delay;}if(this.duration<_11c){this.duration=_11c;}this._connects.push(dojo.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new dojo._Animation({curve:[0,1],duration:this.duration});dojo.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop"],function(evt){this._connects.push(dojo.connect(this._pseudoAnimation,evt,dojo.hitch(this,"_fire",evt)));},this);};dojo.extend(_119,{_doAction:function(_11e,args){dojo.forEach(this._animations,function(a){a[_11e].apply(a,args);});return this;},_onEnd:function(){if(++this._finished==this._animations.length){this._fire("onEnd");}},_call:function(_121,args){var t=this._pseudoAnimation;t[_121].apply(t,args);},play:function(_124,_125){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_126,_127){var ms=this.duration*_126;dojo.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_127);});this._call("gotoPercent",arguments);return this;},stop:function(_12a){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){dojo.forEach(this._connects,dojo.disconnect);}});dojo.extend(_119,_102);dojo.fx.combine=function(_12b){return new _119(_12b);};})();dojo.declare("dojo.fx.Toggler",null,{constructor:function(args){var _t=this;dojo.mixin(_t,args);_t.node=args.node;_t._showArgs=dojo.mixin({},args);_t._showArgs.node=_t.node;_t._showArgs.duration=_t.showDuration;_t.showAnim=_t.showFunc(_t._showArgs);_t._hideArgs=dojo.mixin({},args);_t._hideArgs.node=_t.node;_t._hideArgs.duration=_t.hideDuration;_t.hideAnim=_t.hideFunc(_t._hideArgs);dojo.connect(_t.showAnim,"beforeBegin",dojo.hitch(_t.hideAnim,"stop",true));dojo.connect(_t.hideAnim,"beforeBegin",dojo.hitch(_t.showAnim,"stop",true));},node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,show:function(_12e){return this.showAnim.play(_12e||0);},hide:function(_12f){return this.hideAnim.play(_12f||0);}});dojo.fx.wipeIn=function(args){args.node=dojo.byId(args.node);var node=args.node,s=node.style,o;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _135=dojo.style(node,"height");return Math.max(_135,1);}},end:function(){return node.scrollHeight;}}}},args));dojo.connect(anim,"onEnd",function(){s.height="auto";s.overflow=o;});return anim;};dojo.fx.wipeOut=function(args){var node=args.node=dojo.byId(args.node);var s=node.style;var o;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{end:1}}},args));dojo.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});dojo.connect(anim,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return anim;};dojo.fx.slideTo=function(args){var node=(args.node=dojo.byId(args.node));var top=null;var left=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=dojo.animateProperty(dojo.mixin({properties:{top:{end:args.top||0},left:{end:args.left||0}}},args));dojo.connect(anim,"beforeBegin",anim,init);return anim;};}if(!dojo._hasResource["dojo.html"]){dojo._hasResource["dojo.html"]=true;dojo.provide("dojo.html");(function(){var _145=0;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=function(node){while(node.firstChild){dojo._destroyElement(node.firstChild);}};dojo.html._setNodeContent=function(node,cont,_14a){if(_14a){dojo.html._emptyNode(node);}if(typeof cont=="string"){var pre="",post="",walk=0,name=node.nodeName.toLowerCase();switch(name){case "tr":pre="<tr>";post="</tr>";walk+=1;case "tbody":case "thead":pre="<tbody>"+pre;post+="</tbody>";walk+=1;case "table":pre="<table>"+pre;post+="</table>";walk+=1;break;}if(walk){var n=node.ownerDocument.createElement("div");n.innerHTML=pre+cont+post;do{n=n.firstChild;}while(--walk);dojo.forEach(n.childNodes,function(n){node.appendChild(n.cloneNode(true));});}else{node.innerHTML=cont;}}else{if(cont.nodeType){node.appendChild(cont);}else{dojo.forEach(cont,function(n){node.appendChild(n.cloneNode(true));});}}return node;};dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,constructor:function(_152,node){dojo.mixin(this,_152||{});node=this.node=dojo.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_145++].join("_");}if(!(this.node||node)){new Error(this.declaredClass+": no node provided to "+this.id);}},set:function(cont,_155){if(undefined!==cont){this.content=cont;}if(_155){this._mixin(_155);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){console.error("setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _157=this.onContentError(e);try{node.innerHTML=_157;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){dojo.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(dojo.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _15a=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_15a){cont=_15a[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_15c){var _15d={},key;for(key in _15c){if(key in _15d){continue;}this[key]=_15c[key];}},_parse:function(){var _15f=this.node;try{this.parseResults=dojo.parser.parse(_15f,true);}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_162){var _163=this["on"+type+"Error"].call(this,err);if(_162){console.error(_162,err);}else{if(_163){dojo.html._setNodeContent(this.node,_163,true);}}}});dojo.html.set=function(node,cont,_166){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_166){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(dojo.mixin(_166,{content:cont,node:node}));return op.set();}};})();}if(!dojo._hasResource["dijit.layout.ContentPane"]){dojo._hasResource["dijit.layout.ContentPane"]=true;dojo.provide("dijit.layout.ContentPane");dojo.declare("dijit.layout.ContentPane",dijit._Widget,{href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",doLayout:true,postMixInProperties:function(){this.inherited(arguments);var _168=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_168);this.errorMessage=dojo.string.substitute(this.errorMessage,_168);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},postCreate:function(){this.domNode.title="";if(!dijit.hasWaiRole(this.domNode)){dijit.setWaiRole(this.domNode,"group");}dojo.addClass(this.domNode,this.baseClass);},startup:function(){if(this._started){return;}if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild){this._singleChild.startup();}}this._loadCheck();this.inherited(arguments);},_checkIfSingleChild:function(){var _169=dojo.query(">",this.containerNode),_16a=_169.filter(function(node){return dojo.hasAttr(node,"dojoType")||dojo.hasAttr(node,"widgetId");}),_16c=dojo.filter(_16a.map(dijit.byNode),function(_16d){return _16d&&_16d.domNode&&_16d.resize;});if(_169.length==_16a.length&&_16c.length==1){this.isContainer=true;this._singleChild=_16c[0];}else{delete this.isContainer;delete this._singleChild;}},refresh:function(){return this._prepareLoad(true);},setHref:function(href){dojo.deprecated("dijit.layout.ContentPane.setHref() is deprecated.\tUse attr('href', ...) instead.","","2.0");return this.attr("href",href);},_setHrefAttr:function(href){this.href=href;if(this._created){return this._prepareLoad();}},setContent:function(data){dojo.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use attr('content', ...) instead.","","2.0");this.attr("content",data);},_setContentAttr:function(data){if(!this._isDownloaded){this.href="";}this._setContent(data||"");this._isDownloaded=false;if(this.doLayout!="false"&&this.doLayout!==false){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){this._singleChild.startup();var cb=this._contentBox||dojo.contentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}}this._onLoadHandler();},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;},destroyRecursive:function(_173){if(this._beingDestroyed){return;}this._beingDestroyed=true;this.inherited(arguments);},resize:function(size){dojo.marginBox(this.domNode,size);var node=this.containerNode,mb=dojo.mixin(dojo.marginBox(node),size||{});var cb=this._contentBox=dijit.layout.marginBox2contentBox(node,mb);if(this._singleChild&&this._singleChild.resize){this._singleChild.resize({w:cb.w,h:cb.h});}},_prepareLoad:function(_178){this.cancel();this.isLoaded=false;this._loadCheck(_178);},_isShown:function(){if("open" in this){return this.open;}else{var node=this.domNode;return (node.style.display!="none")&&(node.style.visibility!="hidden");}},_loadCheck:function(_17a){var _17b=this._isShown();if(this.href&&(_17a||(this.preload&&!this.isLoaded&&!this._xhrDfd)||(this.refreshOnShow&&_17b&&!this._xhrDfd)||(!this.isLoaded&&_17b&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._setContent(this.onDownloadStart.call(this));var self=this;var _17d={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_17d,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_17d);hand.addCallback(function(html){try{self._isDownloaded=true;self.attr.call(self,"content",html);self.onDownloadEnd.call(self);}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");}},destroyDescendants:function(){this._onUnloadHandler();var _181=this._contentSetter;if(_181){_181.empty();}else{this.inherited(arguments);dojo.html._emptyNode(this.containerNode);}},_setContent:function(cont){this.destroyDescendants();var _183=this._contentSetter;if(!(_183&&_183 instanceof dojo.html._ContentSetter)){_183=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){var _185=this.onContentError(e);try{this.containerNode.innerHTML=_185;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _186=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad},this._contentSetterParams||{});dojo.mixin(_183,_186);_183.set((dojo.isObject(cont)&&cont.domNode)?cont.domNode:cont);delete this._contentSetterParams;},_onError:function(type,err,_189){var _18a=this["on"+type+"Error"].call(this,err);if(_189){console.error(_189,err);}else{if(_18a){this._setContent.call(this,_18a);}}},_createSubWidgets:function(){try{dojo.parser.parse(this.containerNode,true);}catch(e){this._onError("Content",e,"Couldn't create widgets in "+this.id+(this.href?" from "+this.href:""));}},onLoad:function(e){},onUnload:function(e){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_18d){},onDownloadError:function(_18e){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.form.Form"]){dojo._hasResource["dijit.form.Form"]=true;dojo.provide("dijit.form.Form");dojo.declare("dijit.form._FormMixin",null,{reset:function(){dojo.forEach(this.getDescendants(),function(_18f){if(_18f.reset){_18f.reset();}});},validate:function(){var _190=false;return dojo.every(dojo.map(this.getDescendants(),function(_191){_191._hasBeenBlurred=true;var _192=_191.disabled||!_191.validate||_191.validate();if(!_192&&!_190){dijit.scrollIntoView(_191.containerNode||_191.domNode);_191.focus();_190=true;}return _192;}),function(item){return item;});},setValues:function(val){dojo.deprecated(this.declaredClass+"::setValues() is deprecated. Use attr('value', val) instead.","","2.0");return this.attr("value",val);},_setValueAttr:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_197){if(!_197.name){return;}var _198=map[_197.name]||(map[_197.name]=[]);_198.push(_197);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _19a=map[name],_19b=dojo.getObject(name,false,obj);if(_19b===undefined){continue;}if(!dojo.isArray(_19b)){_19b=[_19b];}if(typeof _19a[0].checked=="boolean"){dojo.forEach(_19a,function(w,i){w.attr("value",dojo.indexOf(_19b,w.value)!=-1);});}else{if(_19a[0]._multiValue){_19a[0].attr("value",_19b);}else{dojo.forEach(_19a,function(w,i){w.attr("value",_19b[i]);});}}}},getValues:function(){dojo.deprecated(this.declaredClass+"::getValues() is deprecated. Use attr('value') instead.","","2.0");return this.attr("value");},_getValueAttr:function(){var obj={};dojo.forEach(this.getDescendants(),function(_1a1){var name=_1a1.name;if(!name||_1a1.disabled){return;}var _1a3=_1a1.attr("value");if(typeof _1a1.checked=="boolean"){if(/Radio/.test(_1a1.declaredClass)){if(_1a3!==false){dojo.setObject(name,_1a3,obj);}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_1a3!==false){ary.push(_1a3);}}}else{dojo.setObject(name,_1a3,obj);}});return obj;},isValid:function(){return dojo.every(this.getDescendants(),function(_1a5){return _1a5.disabled||!_1a5.isValid||_1a5.isValid();});},onValidStateChange:function(_1a6){},_widgetChange:function(){var _1a7=this.isValid();if(_1a7!==this._lastValidState){this._lastValidState=_1a7;this.onValidStateChange(_1a7);}},connectChildren:function(){dojo.forEach(this._changeConnections,dojo.hitch(this,"disconnect"));var _1a8=this;this._changeConnections=dojo.map(dojo.filter(this.getDescendants(),function(item){return item.validate;}),function(_1aa){return _1a8.connect(_1aa,"validate","_widgetChange");});this._widgetChange();},startup:function(){this.inherited(arguments);this._changeConnections=[];this.connectChildren();this._lastValidState=this.isValid();}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onreset:_onReset,onsubmit:_onSubmit' name='${name}'></form>",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",encType:"","accept-charset":"",accept:"",target:""}),execute:function(_1ab){},onExecute:function(){},_setEncTypeAttr:function(_1ac){this.encType=_1ac;dojo.attr(this.domNode,"encType",_1ac);if(dojo.isIE){this.domNode.encoding=_1ac;}},postCreate:function(){if(dojo.isIE&&this.srcNodeRef&&this.srcNodeRef.attributes){var item=this.srcNodeRef.attributes.getNamedItem("encType");if(item&&!item.specified&&(typeof item.value=="string")){this.attr("encType",item.value);}}this.inherited(arguments);},onReset:function(e){return true;},_onReset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e.currentTarget,target:e.target};if(!(this.onReset(faux)===false)&&faux.returnValue){this.reset();}dojo.stopEvent(e);return false;},_onSubmit:function(e){var fp=dijit.form.Form.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){dojo.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){dojo.stopEvent(e);}},onSubmit:function(e){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper' id='${id}_wrapper'><div class='dijitDialogUnderlay ${class}' id='${id}' dojoAttachPoint='node'></div></div>",attributeMap:{},postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);},layout:function(){var _1b4=dijit.getViewport();var is=this.node.style,os=this.domNode.style;os.top=_1b4.t+"px";os.left=_1b4.l+"px";is.width=_1b4.w+"px";is.height=_1b4.h+"px";var _1b7=dijit.getViewport();if(_1b4.w!=_1b7.w){is.width=_1b7.w+"px";}if(_1b4.h!=_1b7.h){is.height=_1b7.h+"px";}},show:function(){this.domNode.style.display="block";this.layout();if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="block";}},hide:function(){this.domNode.style.display="none";if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="none";}},uninitialize:function(){if(this.bgIframe){this.bgIframe.destroy();}}});dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_1b8){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.attr("value"));},_getFocusItems:function(_1b9){var _1ba=dijit._getTabNavigable(dojo.byId(_1b9));this._firstFocusItem=_1ba.lowest||_1ba.first||_1b9;this._lastFocusItem=_1ba.last||_1ba.highest||this._firstFocusItem;if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.attr(this._firstFocusItem,"type").toLowerCase()=="file"){dojo.attr(_1b9,"tabindex","0");this._firstFocusItem=_1b9;}}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{templateString:null,templateString:"<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel\" title=\"${buttonCancel}\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{title:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}]}),open:false,duration:dijit.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,postMixInProperties:function(){var _1bb=dojo.i18n.getLocalization("dijit","common");dojo.mixin(this,_1bb);this.inherited(arguments);},postCreate:function(){var s=this.domNode.style;s.visibility="hidden";s.position="absolute";s.display="";s.top="-9999px";dojo.body().appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();this.inherited(arguments);},_endDrag:function(e){if(e&&e.node&&e.node===this.domNode){var vp=dijit.getViewport();var p=e._leftTop||dojo.coords(e.node,true);this._relativePosition={t:p.t-vp.t,l:p.l-vp.l};}},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=(dojo.isIE==6)?new dojo.dnd.TimedMoveable(node,{handle:this.titleBar}):new dojo.dnd.Moveable(node,{handle:this.titleBar,timeout:0});dojo.subscribe("/dnd/move/stop",this,"_endDrag");}else{dojo.addClass(node,"dijitDialogFixed");}this._underlay=new dijit.DialogUnderlay({id:this.id+"_underlay","class":dojo.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")});var _1c2=this._underlay;this._fadeIn=dojo.fadeIn({node:node,duration:this.duration,onBegin:dojo.hitch(_1c2,"show")});this._fadeOut=dojo.fadeOut({node:node,duration:this.duration,onEnd:function(){node.style.visibility="hidden";node.style.top="-9999px";_1c2.hide();}});},uninitialize:function(){if(this._fadeIn&&this._fadeIn.status()=="playing"){this._fadeIn.stop();}if(this._fadeOut&&this._fadeOut.status()=="playing"){this._fadeOut.stop();}if(this._underlay){this._underlay.destroy();}if(this._moveable){this._moveable.destroy();}},_size:function(){var mb=dojo.marginBox(this.domNode);var _1c4=dijit.getViewport();if(mb.w>=_1c4.w||mb.h>=_1c4.h){dojo.style(this.containerNode,{width:Math.min(mb.w,Math.floor(_1c4.w*0.75))+"px",height:Math.min(mb.h,Math.floor(_1c4.h*0.75))+"px",overflow:"auto",position:"relative"});}},_position:function(){if(!dojo.hasClass(dojo.body(),"dojoMove")){var node=this.domNode;var _1c6=dijit.getViewport();var p=this._relativePosition;var mb=p?null:dojo.marginBox(node);dojo.style(node,{left:Math.floor(_1c6.l+(p?p.l:(_1c6.w-mb.w)/2))+"px",top:Math.floor(_1c6.t+(p?p.t:(_1c6.h-mb.h)/2))+"px"});}},_onKey:function(evt){if(evt.charOrCode){var dk=dojo.keys;var node=evt.target;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.domNode);}var _1cc=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_1cc){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_1cc){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode){if(evt.charOrCode==dk.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==dk.TAB){dojo.stopEvent(evt);}else{if(!dojo.isOpera){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOut.status()=="playing"){this._fadeOut.stop();}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(window,"onresize",this,"layout"));this._modalconnects.push(dojo.connect(dojo.doc.documentElement,"onkeypress",this,"_onKey"));dojo.style(this.domNode,{opacity:0,visibility:""});this.open=true;this._loadCheck();this._size();this._position();this._fadeIn.play();this._savedFocus=dijit.getFocus(this);if(this.autofocus){this._getFocusItems(this.domNode);setTimeout(dojo.hitch(dijit,"focus",this._firstFocusItem),50);}},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeIn.status()=="playing"){this._fadeIn.stop();}this._fadeOut.play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];if(this.refocus){this.connect(this._fadeOut,"onEnd",dojo.hitch(dijit,"focus",this._savedFocus));}if(this._relativePosition){delete this._relativePosition;}this.open=false;},layout:function(){if(this.domNode.style.visibility!="hidden"){this._underlay.layout();this._position();}},destroy:function(){dojo.forEach(this._modalconnects,dojo.disconnect);if(this.refocus&&this.open){setTimeout(dojo.hitch(dijit,"focus",this._savedFocus),25);}this.inherited(arguments);}});dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,autofocus:true,"class":"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:null,templateString:"<div waiRole=\"presentation\">\n\t<div class=\"dijitTooltipContainer\" waiRole=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"-1\" waiRole=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" waiRole=\"presentation\"></div>\n</div>\n",postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");this.containerNode.title=this.title;},orient:function(node,_1ce,_1cf){this.domNode.className=this["class"]+" dijitTooltipAB"+(_1cf.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_1cf.charAt(0)=="T"?"Below":"Above");},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);this._loadCheck();if(this.autofocus){this._getFocusItems(this.containerNode);dijit.focus(this._firstFocusItem);}},_onKey:function(evt){var node=evt.target;var dk=dojo.keys;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.containerNode);}var _1d4=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==dk.ESCAPE){this.onCancel();dojo.stopEvent(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_1d4){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_1d4){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.charOrCode===dk.TAB){evt.stopPropagation();}}}}}});}if(!dojo._hasResource["dijit._editor.selection"]){dojo._hasResource["dijit._editor.selection"]=true;dojo.provide("dijit._editor.selection");dojo.mixin(dijit._editor.selection,{getType:function(){if(dojo.doc.selection){return dojo.doc.selection.type.toLowerCase();}else{var _1d5="text";var oSel;try{oSel=dojo.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _1d7=oSel.getRangeAt(0);if((_1d7.startContainer==_1d7.endContainer)&&((_1d7.endOffset-_1d7.startOffset)==1)&&(_1d7.startContainer.nodeType!=3)){_1d5="control";}}return _1d5;}},getSelectedText:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().text;}else{var _1d8=dojo.global.getSelection();if(_1d8){return _1d8.toString();}}return "";},getSelectedHtml:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().htmlText;}else{var _1d9=dojo.global.getSelection();if(_1d9&&_1d9.rangeCount){var frag=_1d9.getRangeAt(0).cloneContents();var div=dojo.doc.createElement("div");div.appendChild(frag);return div.innerHTML;}return null;}},getSelectedElement:function(){if(dijit._editor.selection.getType()=="control"){if(dojo.doc.selection){var _1dc=dojo.doc.selection.createRange();if(_1dc&&_1dc.item){return dojo.doc.selection.createRange().item(0);}}else{var _1dd=dojo.global.getSelection();return _1dd.anchorNode.childNodes[_1dd.anchorOffset];}}return null;},getParentElement:function(){if(dijit._editor.selection.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(dojo.doc.selection){var r=dojo.doc.selection.createRange();r.collapse(true);return r.parentElement();}else{var _1e0=dojo.global.getSelection();if(_1e0){var node=_1e0.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}}return null;},hasAncestorElement:function(_1e2){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_1e3){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _nlc=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _tlc=String(tags[i]).toLowerCase();if(_nlc==_tlc){return _tlc;}}}return "";},getParentOfType:function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;},collapse:function(_1ec){if(window["getSelection"]){var _1ed=dojo.global.getSelection();if(_1ed.removeAllRanges){if(_1ec){_1ed.collapseToStart();}else{_1ed.collapseToEnd();}}else{_1ed.collapse(_1ec);}}else{if(dojo.doc.selection){var _1ee=dojo.doc.selection.createRange();_1ee.collapse(_1ec);_1ee.select();}}},remove:function(){var _s=dojo.doc.selection;if(_s){if(_s.type.toLowerCase()!="none"){_s.clear();}return _s;}else{_s=dojo.global.getSelection();_s.deleteFromDocument();return _s;}},selectElementChildren:function(_1f0,_1f1){var _1f2=dojo.global;var _1f3=dojo.doc;_1f0=dojo.byId(_1f0);if(_1f3.selection&&dojo.body().createTextRange){var _1f4=_1f0.ownerDocument.body.createTextRange();_1f4.moveToElementText(_1f0);if(!_1f1){try{_1f4.select();}catch(e){}}}else{if(_1f2.getSelection){var _1f5=_1f2.getSelection();if(_1f5.setBaseAndExtent){_1f5.setBaseAndExtent(_1f0,0,_1f0,_1f0.innerText.length-1);}else{if(_1f5.selectAllChildren){_1f5.selectAllChildren(_1f0);}}}}},selectElement:function(_1f6,_1f7){var _1f8,_1f9=dojo.doc;_1f6=dojo.byId(_1f6);if(_1f9.selection&&dojo.body().createTextRange){try{_1f8=dojo.body().createControlRange();_1f8.addElement(_1f6);if(!_1f7){_1f8.select();}}catch(e){this.selectElementChildren(_1f6,_1f7);}}else{if(dojo.global.getSelection){var _1fa=dojo.global.getSelection();if(_1fa.removeAllRanges){_1f8=_1f9.createRange();_1f8.selectNode(_1f6);_1fa.removeAllRanges();_1fa.addRange(_1f8);}}}}});}if(!dojo._hasResource["dijit._editor.range"]){dojo._hasResource["dijit._editor.range"]=true;dojo.provide("dijit._editor.range");dijit.range={};dijit.range.getIndex=function(node,_1fc){var ret=[],retR=[];var stop=_1fc;var _200=node;var _201,n;while(node!=stop){var i=0;_201=node.parentNode;while((n=_201.childNodes[i++])){if(n===node){--i;break;}}if(i>=_201.childNodes.length){dojo.debug("Error finding index of a node in dijit.range.getIndex");}ret.unshift(i);retR.unshift(i-_201.childNodes.length);node=_201;}if(ret.length>0&&_200.nodeType==3){n=_200.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_200.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};};dijit.range.getNode=function(_204,_205){if(!dojo.isArray(_204)||_204.length==0){return _205;}var node=_205;dojo.every(_204,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;return false;}return true;});return node;};dijit.range.getCommonAncestor=function(n1,n2){var _20a=function(n){var as=[];while(n){as.unshift(n);if(n.nodeName!="BODY"){n=n.parentNode;}else{break;}}return as;};var n1as=_20a(n1);var n2as=_20a(n2);var m=Math.min(n1as.length,n2as.length);var com=n1as[0];for(var i=1;i<m;i++){if(n1as[i]===n2as[i]){com=n1as[i];}else{break;}}return com;};dijit.range.getAncestor=function(node,_213,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_213.test(name)){return node;}node=node.parentNode;}return null;};dijit.range.BlockTagNames=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/;dijit.range.getBlockAncestor=function(node,_217,root){root=root||node.ownerDocument.body;_217=_217||dijit.range.BlockTagNames;var _219=null,_21a;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_219&&_217.test(name)){_219=node;}if(!_21a&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_21a=node;}node=node.parentNode;}return {blockNode:_219,blockContainer:_21a||node.ownerDocument.body};};dijit.range.atBeginningOfContainer=function(_21c,node,_21e){var _21f=false;var _220=(_21e==0);if(!_220&&node.nodeType==3){if(dojo.trim(node.nodeValue.substr(0,_21e))==0){_220=true;}}if(_220){var _221=node;_21f=true;while(_221&&_221!==_21c){if(_221.previousSibling){_21f=false;break;}_221=_221.parentNode;}}return _21f;};dijit.range.atEndOfContainer=function(_222,node,_224){var _225=false;var _226=(_224==(node.length||node.childNodes.length));if(!_226&&node.nodeType==3){if(dojo.trim(node.nodeValue.substr(_224))==0){_226=true;}}if(_226){var _227=node;_225=true;while(_227&&_227!==_222){if(_227.nextSibling){_225=false;break;}_227=_227.parentNode;}}return _225;};dijit.range.adjacentNoneTextNode=function(_228,next){var node=_228;var len=(0-_228.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];};dijit.range._w3c=Boolean(window["getSelection"]);dijit.range.create=function(){if(dijit.range._w3c){return dojo.doc.createRange();}else{return new dijit.range.W3CRange;}};dijit.range.getSelection=function(win,_22e){if(dijit.range._w3c){return win.getSelection();}else{var s=new dijit.range.ie.selection(win);if(!_22e){s._getCurrentSelection();}return s;}};if(!dijit.range._w3c){dijit.range.ie={cachedSelection:{},selection:function(win){this._ranges=[];this.addRange=function(r,_232){this._ranges.push(r);if(!_232){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _233=function(){var r=win.document.selection.createRange();var type=win.document.selection.type.toUpperCase();if(type=="CONTROL"){return new dijit.range.W3CRange(dijit.range.ie.decomposeControlRange(r));}else{return new dijit.range.W3CRange(dijit.range.ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_233();if(r){this.addRange(r,true);}};},decomposeControlRange:function(_238){var _239=_238.item(0),_23a=_238.item(_238.length-1);var _23b=_239.parentNode,_23c=_23a.parentNode;var _23d=dijit.range.getIndex(_239,_23b).o;var _23e=dijit.range.getIndex(_23a,_23c).o+1;return [[_23b,_23d],[_23c,_23e]];},getEndPoint:function(_23f,end){var _241=_23f.duplicate();_241.collapse(!end);var _242="EndTo"+(end?"End":"Start");var _243=_241.parentElement();var _244,_245,_246;if(_243.childNodes.length>0){dojo.every(_243.childNodes,function(node,i){var _249;if(node.nodeType!=3){_241.moveToElementText(node);if(_241.compareEndPoints(_242,_23f)>0){_244=node.previousSibling;if(_246&&_246.nodeType==3){_244=_246;_249=true;}else{_244=_243;_245=i;return false;}}else{if(i==_243.childNodes.length-1){_244=_243;_245=_243.childNodes.length;return false;}}}else{if(i==_243.childNodes.length-1){_244=node;_249=true;}}if(_249&&_244){var _24a=dijit.range.adjacentNoneTextNode(_244)[0];if(_24a){_244=_24a.nextSibling;}else{_244=_243.firstChild;}var _24b=dijit.range.adjacentNoneTextNode(_244);_24a=_24b[0];var _24c=_24b[1];if(_24a){_241.moveToElementText(_24a);_241.collapse(false);}else{_241.moveToElementText(_243);}_241.setEndPoint(_242,_23f);_245=_241.text.length-_24c;return false;}_246=node;return true;});}else{_244=_243;_245=0;}if(!end&&_244.nodeType!=3&&_245==_244.childNodes.length){if(_244.nextSibling&&_244.nextSibling.nodeType==3){_244=_244.nextSibling;_245=0;}}return [_244,_245];},setEndPoint:function(_24d,_24e,_24f){var _250=_24d.duplicate(),node,len;if(_24e.nodeType!=3){_250.moveToElementText(_24e);_250.collapse(true);if(_24f==_24e.childNodes.length){if(_24f>0){node=_24e.lastChild;len=0;while(node&&node.nodeType==3){len+=node.length;_24e=node;node=node.previousSibling;}if(node){_250.moveToElementText(node);}_250.collapse(false);_24f=len;}else{_250.moveToElementText(_24e);_250.collapse(true);}}else{if(_24f>0){node=_24e.childNodes[_24f-1];if(node.nodeType==3){_24e=node;_24f=node.length;}else{_250.moveToElementText(node);_250.collapse(false);}}}}if(_24e.nodeType==3){var _253=dijit.range.adjacentNoneTextNode(_24e);var _254=_253[0];len=_253[1];if(_254){_250.moveToElementText(_254);_250.collapse(false);if(_254.contentEditable!="inherit"){len++;}}else{_250.moveToElementText(_24e.parentNode);_250.collapse(true);}_24f+=len;if(_24f>0){if(_250.move("character",_24f)!=_24f){console.error("Error when moving!");}}}return _250;},decomposeTextRange:function(_255){var _256=dijit.range.ie.getEndPoint(_255);var _257=_256[0],_258=_256[1];var _259=_256[0],_25a=_256[1];if(_255.htmlText.length){if(_255.htmlText==_255.text){_25a=_258+_255.text.length;}else{_256=dijit.range.ie.getEndPoint(_255,true);_259=_256[0],_25a=_256[1];}}return [[_257,_258],[_259,_25a]];},setRange:function(_25b,_25c,_25d,_25e,_25f,_260){var _261=dijit.range.ie.setEndPoint(_25b,_25c,_25d);_25b.setEndPoint("StartToStart",_261);var _262=_261;if(!_260){_262=dijit.range.ie.setEndPoint(_25b,_25e,_25f);}_25b.setEndPoint("EndToEnd",_262);return _25b;}};dojo.declare("dijit.range.W3CRange",null,{constructor:function(){if(arguments.length>0){this.setStart(arguments[0][0][0],arguments[0][0][1]);this.setEnd(arguments[0][1][0],arguments[0][1][1]);}else{this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}},_simpleSetEndPoint:function(node,_264,end){var r=(this._body||node.ownerDocument.body).createTextRange();if(node.nodeType!=1){r.moveToElementText(node.parentNode);}else{r.moveToElementText(node);}r.collapse(true);_264.setEndPoint(end?"EndToEnd":"StartToStart",r);},_updateInternal:function(){if(this.startContainer!==this.endContainer){this.commonAncestorContainer=dijit.range.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_268){_268=parseInt(_268);if(this.startContainer===node&&this.startOffset==_268){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_268;if(!this.endContainer){this.setEnd(node,_268);}else{this._updateInternal();}},setEnd:function(node,_26a){_26a=parseInt(_26a);if(this.endContainer===node&&this.endOffset==_26a){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_26a;if(!this.startContainer){this.setStart(node,_26a);}else{this._updateInternal();}},setStartAfter:function(node,_26c){this._setPoint("setStart",node,_26c,1);},setStartBefore:function(node,_26e){this._setPoint("setStart",node,_26e,0);},setEndAfter:function(node,_270){this._setPoint("setEnd",node,_270,1);},setEndBefore:function(node,_272){this._setPoint("setEnd",node,_272,0);},_setPoint:function(what,node,_275,ext){var _277=dijit.range.getIndex(node,node.parentNode).o;this[what](node.parentNode,_277.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();dijit.range.ie.setRange(r,this.startContainer,this.startOffset,this.endContainer,this.endOffset,this.collapsed);return r;},getBookmark:function(body){this._getIERange();return this._cachedBookmark;},_select:function(){var r=this._getIERange();r.select();},deleteContents:function(){var r=this._getIERange();r.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=true;},cloneRange:function(){var r=new dijit.range.W3CRange([[this.startContainer,this.startOffset],[this.endContainer,this.endOffset]]);r._body=this._body;return r;},detach:function(){this._body=null;this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}});}}if(!dojo._hasResource["dijit._editor.html"]){dojo._hasResource["dijit._editor.html"]=true;dojo.provide("dijit._editor.html");dijit._editor.escapeXml=function(str,_27e){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_27e){str=str.replace(/'/gm,"&#39;");}return str;};dijit._editor.getNodeHtml=function(node){var _280;switch(node.nodeType){case 1:_280="<"+node.nodeName.toLowerCase();var _281=[];if(dojo.isIE&&node.outerHTML){var s=node.outerHTML;s=s.substr(0,s.indexOf(">")).replace(/(['"])[^"']*\1/g,"");var reg=/([^\s=]+)=/g;var m,key;while((m=reg.exec(s))){key=m[1];if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(node.getAttribute("_djrealurl")){_281.push([key,node.getAttribute("_djrealurl")]);continue;}}var val;switch(key){case "style":val=node.style.cssText.toLowerCase();break;case "class":val=node.className;break;default:val=node.getAttribute(key);}_281.push([key,val.toString()]);}}}else{var attr,i=0;while((attr=node.attributes[i++])){var n=attr.name;if(n.substr(0,3)!="_dj"){var v=attr.value;if(n=="src"||n=="href"){if(node.getAttribute("_djrealurl")){v=node.getAttribute("_djrealurl");}}_281.push([n,v]);}}}_281.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((attr=_281[j++])){_280+=" "+attr[0]+"=\""+(dojo.isString(attr[1])?dijit._editor.escapeXml(attr[1],true):attr[1])+"\"";}if(node.childNodes.length){_280+=">"+dijit._editor.getChildrenHtml(node)+"</"+node.nodeName.toLowerCase()+">";}else{_280+=" />";}break;case 3:_280=dijit._editor.escapeXml(node.nodeValue,true);break;case 8:_280="<!--"+dijit._editor.escapeXml(node.nodeValue,true)+"-->";break;default:_280="<!-- Element not recognized - Type: "+node.nodeType+" Name: "+node.nodeName+"-->";}return _280;};dijit._editor.getChildrenHtml=function(dom){var out="";if(!dom){return out;}var _290=dom["childNodes"]||dom;var node,i=0;while((node=_290[i++])){out+=dijit._editor.getNodeHtml(node);}return out;};}if(!dojo._hasResource["dijit._editor.RichText"]){dojo._hasResource["dijit._editor.RichText"]=true;dojo.provide("dijit._editor.RichText");if(!dojo.config["useXDomain"]||dojo.config["allowXdRichTextSave"]){if(dojo._postLoad){(function(){var _293=dojo.doc.createElement("textarea");_293.id=dijit._scopeName+"._editor.RichText.savedContent";var s=_293.style;s.display="none";s.position="absolute";s.top="-100px";s.left="-100px";s.height="3px";s.width="3px";dojo.body().appendChild(_293);})();}else{try{dojo.doc.write("<textarea id=\""+dijit._scopeName+"._editor.RichText.savedContent\" "+"style=\"display:none;position:absolute;top:-100px;left:-100px;height:3px;width:3px;overflow:hidden;\"></textarea>");}catch(e){}}}dojo.declare("dijit._editor.RichText",dijit._Widget,{constructor:function(_295){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this._keyHandlers={};this.contentPreFilters.push(dojo.hitch(this,"_preFixUrlAttributes"));if(dojo.isMoz){this.contentPreFilters.push(this._fixContentForMoz);this.contentPostFilters.push(this._removeMozBogus);}if(dojo.isSafari){this.contentPostFilters.push(this._removeSafariBogus);}this.onLoadDeferred=new dojo.Deferred();},inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",_content:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",onLoadDeferred:null,isTabIndent:false,postCreate:function(){if("textarea"==this.domNode.tagName.toLowerCase()){console.warn("RichText should not be used with the TEXTAREA tag.  See dijit._editor.RichText docs.");}dojo.publish(dijit._scopeName+"._editor.RichText::init",[this]);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var exec=dojo.hitch(this,function(cmd,arg){return function(){return !this.execCommand(cmd,arg);};});var _299={b:exec("bold"),i:exec("italic"),u:exec("underline"),a:exec("selectall"),s:function(){this.save(true);},m:function(){this.isTabIndent=!this.isTabIndent;},"1":exec("formatblock","h1"),"2":exec("formatblock","h2"),"3":exec("formatblock","h3"),"4":exec("formatblock","h4"),"\\":exec("insertunorderedlist")};if(!dojo.isIE){_299.Z=exec("redo");}for(var key in _299){this.addKeyHandler(key,true,false,_299[key]);}},events:["onKeyPress","onKeyDown","onKeyUp","onClick"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(this._editorCommandsLocalized){return;}this._editorCommandsLocalized=true;var _29b=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _29c="",_29d,i=0;while((_29d=_29b[i++])){if(_29d.charAt(1)!="l"){_29c+="<"+_29d+"><span>content</span></"+_29d+"><br/>";}else{_29c+="<"+_29d+"><li>content</li></"+_29d+"><br/>";}}var div=dojo.doc.createElement("div");dojo.style(div,{position:"absolute",left:"-2000px",top:"-2000px"});dojo.doc.body.appendChild(div);div.innerHTML=_29c;var node=div.firstChild;while(node){dijit._editor.selection.selectElement(node.firstChild);dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[node.firstChild]);var _2a1=node.tagName.toLowerCase();this._local2NativeFormatNames[_2a1]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_2a1]]=_2a1;node=node.nextSibling.nextSibling;}dojo.body().removeChild(div);},open:function(_2a2){if((!this.onLoadDeferred)||(this.onLoadDeferred.fired>=0)){this.onLoadDeferred=new dojo.Deferred();}if(!this.isClosed){this.close();}dojo.publish(dijit._scopeName+"._editor.RichText::open",[this]);this._content="";if((arguments.length==1)&&(_2a2["nodeName"])){this.domNode=_2a2;}var dn=this.domNode;var html;if((dn["nodeName"])&&(dn.nodeName.toLowerCase()=="textarea")){var ta=this.textarea=dn;this.name=ta.name;html=this._preFilterContent(ta.value);dn=this.domNode=dojo.doc.createElement("div");dn.setAttribute("widgetId",this.id);ta.removeAttribute("widgetId");dn.cssText=ta.cssText;dn.className+=" "+ta.className;dojo.place(dn,ta,"before");var _2a6=dojo.hitch(this,function(){with(ta.style){display="block";position="absolute";left=top="-1000px";if(dojo.isIE){this.__overflow=overflow;overflow="hidden";}}});if(dojo.isIE){setTimeout(_2a6,10);}else{_2a6();}if(ta.form){dojo.connect(ta.form,"onsubmit",this,function(){ta.value=this.getValue();});}}else{html=this._preFilterContent(dijit._editor.getChildrenHtml(dn));dn.innerHTML="";}if(html==""){html="&nbsp;";}var _2a7=dojo.contentBox(dn);this._oldHeight=_2a7.h;this._oldWidth=_2a7.w;this.savedContent=html;if((dn["nodeName"])&&(dn.nodeName=="LI")){dn.innerHTML=" <br>";}this.editingArea=dn.ownerDocument.createElement("div");dn.appendChild(this.editingArea);if(this.name!=""&&(!dojo.config["useXDomain"]||dojo.config["allowXdRichTextSave"])){var _2a8=dojo.byId(dijit._scopeName+"._editor.RichText.savedContent");if(_2a8.value!=""){var _2a9=_2a8.value.split(this._SEPARATOR),i=0,dat;while((dat=_2a9[i++])){var data=dat.split(":");if(data[0]==this.name){html=data[1];_2a9.splice(i,1);break;}}}this.connect(window,"onbeforeunload","_saveContent");}this.isClosed=false;if(dojo.isIE||dojo.isSafari||dojo.isOpera){var burl=dojo.moduleUrl("dojo","resources/blank.html")+"";var ifr=this.editorObject=this.iframe=dojo.doc.createElement("iframe");ifr.id=this.id+"_iframe";ifr.src=burl;ifr.style.border="none";ifr.style.width="100%";ifr.frameBorder=0;this.editingArea.appendChild(ifr);var h=null;var _2b0=dojo.hitch(this,function(){if(h){dojo.disconnect(h);h=null;}this.window=ifr.contentWindow;var d=this.document=this.window.document;d.open();d.write(this._getIframeDocTxt(html));d.close();if(this._layoutMode){ifr.style.height="100%";}else{if(dojo.isIE>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}}if(dojo.isIE){this._localizeEditorCommands();}this.onLoad();this.savedContent=this.getValue(true);});if(dojo.isIE&&dojo.isIE<=7){var t=setInterval(function(){if(ifr.contentWindow.isLoaded){clearInterval(t);_2b0();}},100);}else{h=dojo.connect(((dojo.isIE)?ifr.contentWindow:ifr),"onload",_2b0);}}else{this._drawIframe(html);this.savedContent=this.getValue(true);}if(dn.nodeName=="LI"){dn.lastChild.style.marginTop="-1.2em";}if(this.domNode.nodeName=="LI"){this.domNode.lastChild.style.marginTop="-1.2em";}dojo.addClass(this.domNode,"RichTextEditable");},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_localizedIframeTitles:null,_getIframeDocTxt:function(html){var _cs=dojo.getComputedStyle(this.domNode);if(dojo.isIE||(!this.height&&!dojo.isMoz)){html="<div>"+html+"</div>";}var font=[_cs.fontWeight,_cs.fontSize,_cs.fontFamily].join(" ");var _2b6=_cs.lineHeight;if(_2b6.indexOf("px")>=0){_2b6=parseFloat(_2b6)/parseFloat(_cs.fontSize);}else{if(_2b6.indexOf("em")>=0){_2b6=parseFloat(_2b6);}else{_2b6="1.0";}}var _2b7="";this.style.replace(/(^|;)(line-|font-?)[^;]+/g,function(_2b8){_2b7+=_2b8.replace(/^;/g,"")+";";});return [this.isLeftToRight()?"<html><head>":"<html dir='rtl'><head>",(dojo.isMoz?"<title>"+this._localizedIframeTitles.iframeEditTitle+"</title>":""),"<style>","body,html {","\tbackground:transparent;","\tpadding: 1em 0 0 0;","\tmargin: -1em 0 0 0;","\theight: 100%;","}","body{","\ttop:0px; left:0px; right:0px;","\tfont:",font,";",((this.height||dojo.isOpera)?"":"position: fixed;"),"\tmin-height:",this.minHeight,";","\tline-height:",_2b6,"}","p{ margin: 1em 0 !important; }",(this.height?"":"body,html{height:auto;overflow-y:hidden;/*for IE*/} body > div {overflow-x:auto;/*for FF to show vertical scrollbar*/}"),"li > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; } ","li{ min-height:1.2em; }","</style>",this._applyEditingAreaStyleSheets(),"</head><body style='"+_2b7+"'>"+html+"</body></html>"].join("");},_drawIframe:function(html){if(!this.iframe){var ifr=this.iframe=dojo.doc.createElement("iframe");ifr.id=this.id+"_iframe";var ifrs=ifr.style;ifrs.border="none";ifrs.lineHeight="0";ifrs.verticalAlign="bottom";this.editorObject=this.iframe;this._localizedIframeTitles=dojo.i18n.getLocalization("dijit.form","Textarea");var _2bc=dojo.query("label[for=\""+this.id+"\"]");if(_2bc.length){this._localizedIframeTitles.iframeEditTitle=_2bc[0].innerHTML+" "+this._localizedIframeTitles.iframeEditTitle;}}this.iframe.style.width=this.inheritWidth?this._oldWidth:"100%";if(this._layoutMode){this.iframe.style.height="100%";}else{if(this.height){this.iframe.style.height=this.height;}else{this.iframe.height=this._oldHeight;}}var _2bd;if(this.textarea){_2bd=this.srcNodeRef;}else{_2bd=dojo.doc.createElement("div");_2bd.style.display="none";_2bd.innerHTML=html;this.editingArea.appendChild(_2bd);}this.editingArea.appendChild(this.iframe);var _2be=dojo.hitch(this,function(){if(!this.editNode){if(!this.document){try{if(this.iframe.contentWindow){this.window=this.iframe.contentWindow;this.document=this.iframe.contentWindow.document;}else{if(this.iframe.contentDocument){this.window=this.iframe.contentDocument.window;this.document=this.iframe.contentDocument;}}}catch(e){}if(!this.document){setTimeout(_2be,50);return;}var _2bf=this.document;_2bf.open();if(dojo.isAIR){_2bf.body.innerHTML=html;}else{_2bf.write(this._getIframeDocTxt(html));}_2bf.close();dojo._destroyElement(_2bd);}if(!this.document.body){setTimeout(_2be,50);return;}this.onLoad();}else{dojo._destroyElement(_2bd);this.editNode.innerHTML=html;this.onDisplayChanged();}this._preDomFilterContent(this.editNode);});_2be();},_applyEditingAreaStyleSheets:function(){var _2c0=[];if(this.styleSheets){_2c0=this.styleSheets.split(";");this.styleSheets="";}_2c0=_2c0.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_2c0[i++])){var _2c4=(new dojo._Url(dojo.global.location,url)).toString();this.editingAreaStyleSheets.push(_2c4);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_2c4+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)=="."||(url.charAt(0)!="/"&&!uri.host)){url=(new dojo._Url(dojo.global.location,url)).toString();}if(dojo.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _2c8=this.document.createElement("link");with(_2c8){rel="stylesheet";type="text/css";href=url;}head.appendChild(_2c8);}},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)=="."||(url.charAt(0)!="/"&&!uri.host)){url=(new dojo._Url(dojo.global.location,url)).toString();}var _2cb=dojo.indexOf(this.editingAreaStyleSheets,url);if(_2cb==-1){return;}delete this.editingAreaStyleSheets[_2cb];dojo.withGlobal(this.window,"query",dojo,["link:[href=\""+url+"\"]"]).orphan();},disabled:true,_mozSettingProps:["styleWithCSS","insertBrOnReturn"],_setDisabledAttr:function(_2cc){if(!this.editNode||"_delayedDisabled" in this){this._delayedDisabled=_2cc;return;}_2cc=Boolean(_2cc);if(dojo.isIE||dojo.isSafari||dojo.isOpera){var _2cd=dojo.isIE&&(this.isLoaded||!this.focusOnLoad);if(_2cd){this.editNode.unselectable="on";}this.editNode.contentEditable=!_2cc;if(_2cd){var _2ce=this;setTimeout(function(){_2ce.editNode.unselectable="off";},0);}}else{if(_2cc){this._mozSettings=[false,this.blockNodeForEnter==="BR"];}this.document.designMode=(_2cc?"off":"on");if(!_2cc&&this._mozSettingProps){var ps=this._mozSettingProps;for(var n in ps){if(ps.hasOwnProperty(n)){try{this.document.execCommand(n,false,ps[n]);}catch(e){}}}}}this.disabled=_2cc;},_isResized:function(){return false;},onLoad:function(e){if(!this.window.__registeredWindow){this.window.__registeredWindow=true;dijit.registerWin(this.window);}if(!dojo.isIE&&(this.height||dojo.isMoz)){this.editNode=this.document.body;}else{this.editNode=this.document.body.firstChild;var _2d2=this;if(dojo.isIE){var _2d3=this.tabStop=dojo.doc.createElement("<div tabIndex=-1>");this.editingArea.appendChild(_2d3);this.iframe.onfocus=function(){_2d2.editNode.setActive();};}}this.focusNode=this.editNode;try{this.attr("disabled",false);}catch(e){var _2d4=dojo.connect(this,"onClick",this,function(){this.attr("disabled",false);dojo.disconnect(_2d4);});}this._preDomFilterContent(this.editNode);var _2d5=this.events.concat(this.captureEvents);var ap=(this.iframe)?this.document:this.editNode;dojo.forEach(_2d5,function(item){this.connect(ap,item.toLowerCase(),item);},this);if(dojo.isIE){this.connect(this.document,"onmousedown","_onIEMouseDown");this.editNode.style.zoom=1;}if(this.focusOnLoad){dojo.addOnLoad(dojo.hitch(this,"focus"));}this.onDisplayChanged(e);if("_delayedDisabled" in this){var d=this._delayedDisabled;delete this._delayedDisabled;this.attr("disabled",d);}this.isLoaded=true;if(this.onLoadDeferred){this.onLoadDeferred.callback(true);}},onKeyDown:function(e){if(e.keyCode===dojo.keys.TAB&&this.isTabIndent){dojo.stopEvent(e);if(this.queryCommandEnabled((e.shiftKey?"outdent":"indent"))){this.execCommand((e.shiftKey?"outdent":"indent"));}}if(dojo.isIE){if(e.keyCode==dojo.keys.TAB&&!this.isTabIndent){if(e.shiftKey&&!e.ctrlKey&&!e.altKey){this.iframe.focus();}else{if(!e.shiftKey&&!e.ctrlKey&&!e.altKey){this.tabStop.focus();}}}else{if(e.keyCode===dojo.keys.BACKSPACE&&this.document.selection.type==="Control"){dojo.stopEvent(e);this.execCommand("delete");}else{if((65<=e.keyCode&&e.keyCode<=90)||(e.keyCode>=37&&e.keyCode<=40)){e.charCode=e.keyCode;this.onKeyPress(e);}}}}else{if(dojo.isMoz&&!this.isTabIndent){if(e.keyCode==dojo.keys.TAB&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&this.iframe){var _2da=dojo.isFF<3?this.iframe.contentDocument:this.iframe;_2da.title=this._localizedIframeTitles.iframeFocusTitle;this.iframe.focus();dojo.stopEvent(e);}else{if(e.keyCode==dojo.keys.TAB&&e.shiftKey){if(this.toolbar){this.toolbar.focus();}dojo.stopEvent(e);}}}}return true;},onKeyUp:function(e){return;},setDisabled:function(_2dc){dojo.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.attr("disabled",_2dc);},_setValueAttr:function(_2dd){this.setValue(_2dd);},onKeyPress:function(e){var c=(e.keyChar&&e.keyChar.toLowerCase())||e.keyCode;var _2e0=this._keyHandlers[c];var args=arguments;if(_2e0){dojo.forEach(_2e0,function(h){if((!!h.shift==!!e.shiftKey)&&(!!h.ctrl==!!e.ctrlKey)){if(!h.handler.apply(this,args)){e.preventDefault();}}},this);}if(!this._onKeyHitch){this._onKeyHitch=dojo.hitch(this,"onKeyPressed");}setTimeout(this._onKeyHitch,1);return true;},addKeyHandler:function(key,ctrl,_2e5,_2e6){if(!dojo.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_2e5||false,ctrl:ctrl||false,handler:_2e6});},onKeyPressed:function(){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onIEMouseDown:function(e){if(!this._focused&&!this.disabled){this.focus();}},_onBlur:function(e){this.inherited(arguments);var _c=this.getValue(true);if(_c!=this.savedContent){this.onChange(_c);this.savedContent=_c;}if(dojo.isMoz&&this.iframe){var _2eb=dojo.isFF<3?this.iframe.contentDocument:this.iframe;_2eb.title=this._localizedIframeTitles.iframeEditTitle;}},_initialFocus:true,_onFocus:function(e){if(dojo.isMoz&&this._initialFocus){this._initialFocus=false;if(this.editNode.innerHTML.replace(/^\s+|\s+$/g,"")=="&nbsp;"){this.placeCursorAtStart();}}this.inherited(arguments);},blur:function(){if(!dojo.isIE&&this.window.document.documentElement&&this.window.document.documentElement.focus){this.window.document.documentElement.focus();}else{if(dojo.doc.body.focus){dojo.doc.body.focus();}}},focus:function(){if(!dojo.isIE){dijit.focus(this.iframe);}else{if(this.editNode&&this.editNode.focus){this.iframe.fireEvent("onfocus",document.createEventObject());}}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(e){if(this._updateTimer){clearTimeout(this._updateTimer);}if(!this._updateHandler){this._updateHandler=dojo.hitch(this,"onNormalizedDisplayChanged");}this._updateTimer=setTimeout(this._updateHandler,this.updateInterval);},onNormalizedDisplayChanged:function(){delete this._updateTimer;},onChange:function(_2ee){},_normalizeCommand:function(cmd){var _2f0=cmd.toLowerCase();if(_2f0=="formatblock"){if(dojo.isSafari){_2f0="heading";}}else{if(_2f0=="hilitecolor"&&!dojo.isMoz){_2f0="backcolor";}}return _2f0;},_qcaCache:{},queryCommandAvailable:function(_2f1){var ca=this._qcaCache[_2f1];if(ca!=undefined){return ca;}return this._qcaCache[_2f1]=this._queryCommandAvailable(_2f1);},_queryCommandAvailable:function(_2f3){var ie=1;var _2f5=1<<1;var _2f6=1<<2;var _2f7=1<<3;var _2f8=1<<4;var _2f9=dojo.isSafari;function isSupportedBy(_2fa){return {ie:Boolean(_2fa&ie),mozilla:Boolean(_2fa&_2f5),safari:Boolean(_2fa&_2f6),safari420:Boolean(_2fa&_2f8),opera:Boolean(_2fa&_2f7)};};var _2fb=null;switch(_2f3.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":case "toggledir":_2fb=isSupportedBy(_2f5|ie|_2f6|_2f7);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":case "tabindent":_2fb=isSupportedBy(_2f5|ie|_2f7|_2f8);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_2fb=isSupportedBy(ie);break;case "cut":case "copy":case "paste":_2fb=isSupportedBy(ie|_2f5|_2f8);break;case "inserttable":_2fb=isSupportedBy(_2f5|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_2fb=isSupportedBy(ie|_2f5);break;default:return false;}return (dojo.isIE&&_2fb.ie)||(dojo.isMoz&&_2fb.mozilla)||(dojo.isSafari&&_2fb.safari)||(_2f9&&_2fb.safari420)||(dojo.isOpera&&_2fb.opera);},execCommand:function(_2fc,_2fd){var _2fe;this.focus();_2fc=this._normalizeCommand(_2fc);if(_2fd!=undefined){if(_2fc=="heading"){throw new Error("unimplemented");}else{if((_2fc=="formatblock")&&dojo.isIE){_2fd="<"+_2fd+">";}}}if(_2fc=="inserthtml"){_2fd=this._preFilterContent(_2fd);_2fe=true;if(dojo.isIE){var _2ff=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()=="CONTROL"){var n=_2ff.item(0);while(_2ff.length){_2ff.remove(_2ff.item(0));}n.outerHTML=_2fd;}else{_2ff.pasteHTML(_2fd);}_2ff.select();}else{if(dojo.isMoz&&!_2fd.length){this._sCall("remove");}else{_2fe=this.document.execCommand(_2fc,false,_2fd);}}}else{if((_2fc=="unlink")&&(this.queryCommandEnabled("unlink"))&&(dojo.isMoz||dojo.isSafari)){var a=this._sCall("getAncestorElement",["a"]);this._sCall("selectElement",[a]);_2fe=this.document.execCommand("unlink",false,null);}else{if((_2fc=="hilitecolor")&&(dojo.isMoz)){this.document.execCommand("styleWithCSS",false,true);_2fe=this.document.execCommand(_2fc,false,_2fd);this.document.execCommand("styleWithCSS",false,false);}else{if((dojo.isIE)&&((_2fc=="backcolor")||(_2fc=="forecolor"))){_2fd=arguments.length>1?_2fd:null;_2fe=this.document.execCommand(_2fc,false,_2fd);}else{_2fd=arguments.length>1?_2fd:null;if(_2fd||_2fc!="createlink"){_2fe=this.document.execCommand(_2fc,false,_2fd);}}}}}this.onDisplayChanged();return _2fe;},queryCommandEnabled:function(_302){if(this.disabled){return false;}_302=this._normalizeCommand(_302);if(dojo.isMoz||dojo.isSafari){if(_302=="unlink"){this._sCall("hasAncestorElement",["a"]);}else{if(_302=="inserttable"){return true;}}}if(dojo.isSafari){if(_302=="copy"){_302="cut";}else{if(_302=="paste"){return true;}}}if(_302=="indent"){var li=this._sCall("getAncestorElement",["li"]);var n=li&&li.previousSibling;while(n){if(n.nodeType==1){return true;}n=n.previousSibling;}return false;}else{if(_302=="outdent"){return this._sCall("hasAncestorElement",["li"]);}}var elem=dojo.isIE?this.document.selection.createRange():this.document;return elem.queryCommandEnabled(_302);},queryCommandState:function(_306){if(this.disabled){return false;}_306=this._normalizeCommand(_306);return this.document.queryCommandState(_306);},queryCommandValue:function(_307){if(this.disabled){return false;}var r;_307=this._normalizeCommand(_307);if(dojo.isIE&&_307=="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_307)];}else{r=this.document.queryCommandValue(_307);}return r;},_sCall:function(name,args){return dojo.withGlobal(this.window,name,dijit._editor.selection,args);},placeCursorAtStart:function(){this.focus();var _30b=false;if(dojo.isMoz){var _30c=this.editNode.firstChild;while(_30c){if(_30c.nodeType==3){if(_30c.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_30b=true;this._sCall("selectElement",[_30c]);break;}}else{if(_30c.nodeType==1){_30b=true;this._sCall("selectElementChildren",[_30c]);break;}}_30c=_30c.nextSibling;}}else{_30b=true;this._sCall("selectElementChildren",[this.editNode]);}if(_30b){this._sCall("collapse",[true]);}},placeCursorAtEnd:function(){this.focus();var _30d=false;if(dojo.isMoz){var last=this.editNode.lastChild;while(last){if(last.nodeType==3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_30d=true;this._sCall("selectElement",[last]);break;}}else{if(last.nodeType==1){_30d=true;if(last.lastChild){this._sCall("selectElement",[last.lastChild]);}else{this._sCall("selectElement",[last]);}break;}}last=last.previousSibling;}}else{_30d=true;this._sCall("selectElementChildren",[this.editNode]);}if(_30d){this._sCall("collapse",[false]);}},getValue:function(_30f){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this._postFilterContent(null,_30f);},_getValueAttr:function(){return this.getValue();},setValue:function(html){if(!this.isLoaded){this.onLoadDeferred.addCallback(dojo.hitch(this,function(){this.setValue(html);}));return;}if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);var node=this.isClosed?this.domNode:this.editNode;node.innerHTML=html;this._preDomFilterContent(node);}this.onDisplayChanged();},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!dojo.isMoz){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");if(dojo.isMoz&&!html){html="&nbsp;";}this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}},_preFilterContent:function(html){var ec=html;dojo.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;dojo.forEach(this.contentDomPreFilters,function(ef){if(ef&&dojo.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_319){var ec;if(!dojo.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_319){dom=dojo.clone(dom);}dojo.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=dijit._editor.getChildrenHtml(dom);}else{ec=dom;}if(!dojo.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}dojo.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(e){var _31e=dojo.byId(dijit._scopeName+"._editor.RichText.savedContent");_31e.value+=this._SEPARATOR+this.name+":"+this.getValue();},escapeXml:function(str,_320){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_320){str=str.replace(/'/gm,"&#39;");}return str;},getNodeHtml:function(node){dojo.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit._editor.getNodeHtml instead",2);return dijit._editor.getNodeHtml(node);},getNodeChildrenHtml:function(dom){dojo.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit._editor.getChildrenHtml instead",2);return dijit._editor.getChildrenHtml(dom);},close:function(save,_324){if(this.isClosed){return false;}if(!arguments.length){save=true;}this._content=this.getValue();var _325=(this.savedContent!=this._content);if(this.interval){clearInterval(this.interval);}if(this.textarea){with(this.textarea.style){position="";left=top="";if(dojo.isIE){overflow=this.__overflow;this.__overflow=null;}}this.textarea.value=save?this._content:this.savedContent;dojo._destroyElement(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=save?this._content:this.savedContent;}dojo.removeClass(this.domNode,"RichTextEditable");this.isClosed=true;this.isLoaded=false;delete this.editNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;return _325;},destroyRendering:function(){},destroy:function(){this.destroyRendering();if(!this.isClosed){this.close(false);}this.inherited("destroy",arguments);},_removeMozBogus:function(html){return html.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"");},_removeSafariBogus:function(html){return html.replace(/\sclass="webkit-block-placeholder"/gi,"");},_fixContentForMoz:function(html){return html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2").replace(/<(\/)?em([ \>])/gi,"<$1i$2");},_preFixUrlAttributes:function(html){return html.replace(/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2").replace(/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");}});}if(!dojo._hasResource["dijit.Toolbar"]){dojo._hasResource["dijit.Toolbar"]=true;dojo.provide("dijit.Toolbar");dojo.declare("dijit.Toolbar",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{templateString:"<div class=\"dijit dijitToolbar\" waiRole=\"toolbar\" tabIndex=\"${tabIndex}\" dojoAttachPoint=\"containerNode\">"+"</div>",tabIndex:"0",postCreate:function(){this.connectKeyNavHandlers(this.isLeftToRight()?[dojo.keys.LEFT_ARROW]:[dojo.keys.RIGHT_ARROW],this.isLeftToRight()?[dojo.keys.RIGHT_ARROW]:[dojo.keys.LEFT_ARROW]);},startup:function(){if(this._started){return;}this.startupKeyNavChildren();this.inherited(arguments);}});dojo.declare("dijit.ToolbarSeparator",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\"></div>",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}if(!dojo._hasResource["dijit.form.Button"]){dojo._hasResource["dijit.form.Button"]=true;dojo.provide("dijit.form.Button");dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:"<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"\n\t><span class=\"dijitReset dijitRight dijitInline\"\n\t\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\t\tdojoAttachPoint=\"titleNode,focusNode\" \n\t\t\t\tname=\"${name}\" type=\"${type}\" waiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\" \n\t\t\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#10003;</span \n\t\t\t\t></span \n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\" \n\t\t\t\t\tid=\"${id}_label\"  \n\t\t\t\t\tdojoAttachPoint=\"containerNode\"\n\t\t\t\t></span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),_onClick:function(e){if(this.disabled||this.readOnly){return false;}this._clicked();return this.onClick(e);},_onButtonClick:function(e){if(e.type!="click"){dojo.stopEvent(e);}if(this._onClick(e)===false){e.preventDefault();}else{if(this.type=="submit"&&!this.focusNode.form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _32d=dijit.byNode(node);if(_32d&&typeof _32d._onSubmit=="function"){_32d._onSubmit(e);break;}}}}},_fillContent:function(_32e){if(_32e&&!("label" in this.params)){this.attr("label",_32e.innerHTML);}},postCreate:function(){if(this.showLabel==false){dojo.addClass(this.containerNode,"dijitDisplayNone");}dojo.setSelectable(this.focusNode,false);this.inherited(arguments);},onClick:function(e){return true;},_clicked:function(e){},setLabel:function(_331){dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use attr('label', ...) instead.","","2.0");this.attr("label",_331);},_setLabelAttr:function(_332){this.containerNode.innerHTML=this.label=_332;this._layoutHack();if(this.showLabel==false&&!this.params.title){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container],{baseClass:"dijitDropDownButton",templateString:"<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse,onclick:_onDropDownClick,onkeydown:_onDropDownKeydown,onblur:_onDropDownBlur,onkeypress:_onKey\"\n\t><span class='dijitReset dijitRight dijitInline'\n\t\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\" \n\t\t\t\ttype=\"${type}\" name=\"${name}\"\n\t\t\t\tdojoAttachPoint=\"focusNode,titleNode\" \n\t\t\t\twaiRole=\"button\" waiState=\"haspopup-true,labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\" \n\t\t\t\t\tdojoAttachPoint=\"iconNode\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  \n\t\t\t\t\tdojoAttachPoint=\"containerNode,popupStateNode\" \n\t\t\t\t\tid=\"${id}_label\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\">&thinsp;</span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n",_fillContent:function(){if(this.srcNodeRef){var _333=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_333[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown){var _334=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_334);delete this.dropDownContainer;}dijit.popup.prepare(this.dropDown.domNode);this.inherited(arguments);},destroyDescendants:function(){if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}this.inherited(arguments);},_onArrowClick:function(e){if(this.disabled||this.readOnly){return;}this._toggleDropDown();},_onDropDownClick:function(e){var _337=dojo.isFF&&dojo.isFF<3&&navigator.appVersion.indexOf("Macintosh")!=-1;if(!_337||e.detail!=0||this._seenKeydown){this._onArrowClick(e);}this._seenKeydown=false;},_onDropDownKeydown:function(e){this._seenKeydown=true;},_onDropDownBlur:function(e){this._seenKeydown=false;},_onKey:function(e){if(this.disabled||this.readOnly){return;}if(e.charOrCode==dojo.keys.DOWN_ARROW){if(!this.dropDown||this.dropDown.domNode.style.visibility=="hidden"){dojo.stopEvent(e);this._toggleDropDown();}}},_onBlur:function(){this._closeDropDown();this.inherited(arguments);},_toggleDropDown:function(){if(this.disabled||this.readOnly){return;}dijit.focus(this.popupStateNode);var _33b=this.dropDown;if(!_33b){return;}if(!this._opened){if(_33b.href&&!_33b.isLoaded){var self=this;var _33d=dojo.connect(_33b,"onLoad",function(){dojo.disconnect(_33d);self._openDropDown();});_33b._loadCheck(true);return;}else{this._openDropDown();}}else{this._closeDropDown();}},_openDropDown:function(){var _33e=this.dropDown;var _33f=_33e.domNode.style.width;var self=this;dijit.popup.open({parent:this,popup:_33e,around:this.domNode,orient:this.isLeftToRight()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"},onExecute:function(){self._closeDropDown(true);},onCancel:function(){self._closeDropDown(true);},onClose:function(){_33e.domNode.style.width=_33f;self.popupStateNode.removeAttribute("popupActive");self._opened=false;}});if(this.domNode.offsetWidth>_33e.domNode.offsetWidth){var _341=null;if(!this.isLeftToRight()){_341=_33e.domNode.parentNode;var _342=_341.offsetLeft+_341.offsetWidth;}dojo.marginBox(_33e.domNode,{w:this.domNode.offsetWidth});if(_341){_341.style.left=_342-this.domNode.offsetWidth+"px";}}this.popupStateNode.setAttribute("popupActive","true");this._opened=true;if(_33e.focus){_33e.focus();}},_closeDropDown:function(_343){if(this._opened){dijit.popup.close(this.dropDown);if(_343){this.focus();}this._opened=false;}}});dojo.declare("dijit.form.ComboButton",dijit.form.DropDownButton,{templateString:"<table class='dijit dijitReset dijitInline dijitLeft'\n\tcellspacing='0' cellpadding='0' waiRole=\"presentation\"\n\t><tbody waiRole=\"presentation\"><tr waiRole=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\"\n\t\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"  dojoAttachPoint=\"titleNode\"\n\t\t\twaiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\" waiRole=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\" waiRole=\"presentation\"></div\n\t\t></td\n\t\t><td class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"popupStateNode,focusNode\"\n\t\t\tdojoAttachEvent=\"ondijitclick:_onArrowClick, onkeypress:_onKey,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\tstateModifier=\"DownArrow\"\n\t\t\ttitle=\"${optionsTitle}\" name=\"${name}\"\n\t\t\twaiRole=\"button\" waiState=\"haspopup-true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" waiRole=\"presentation\">&thinsp;</div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" waiRole=\"presentation\">&#9660;</div\n\t\t></td\n\t></tr></tbody\n></table>\n",attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{id:"",name:"",tabIndex:["focusNode","titleNode"]}),optionsTitle:"",baseClass:"dijitComboButton",_focusedNode:null,postCreate:function(){this.inherited(arguments);this._focalNodes=[this.titleNode,this.popupStateNode];dojo.forEach(this._focalNodes,dojo.hitch(this,function(node){if(dojo.isIE){this.connect(node,"onactivate",this._onNodeFocus);this.connect(node,"ondeactivate",this._onNodeBlur);}else{this.connect(node,"onfocus",this._onNodeFocus);this.connect(node,"onblur",this._onNodeBlur);}}));},focusFocalNode:function(node){this._focusedNode=node;dijit.focus(node);},hasNextFocalNode:function(){return this._focusedNode!==this.getFocalNodes()[1];},focusNext:function(){this._focusedNode=this.getFocalNodes()[this._focusedNode?1:0];dijit.focus(this._focusedNode);},hasPrevFocalNode:function(){return this._focusedNode!==this.getFocalNodes()[0];},focusPrev:function(){this._focusedNode=this.getFocalNodes()[this._focusedNode?0:1];dijit.focus(this._focusedNode);},getFocalNodes:function(){return this._focalNodes;},_onNodeFocus:function(evt){this._focusedNode=evt.currentTarget;var fnc=this._focusedNode==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";dojo.addClass(this._focusedNode,fnc);},_onNodeBlur:function(evt){var fnc=evt.currentTarget==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";dojo.removeClass(evt.currentTarget,fnc);},_onBlur:function(){this.inherited(arguments);this._focusedNode=null;}});dojo.declare("dijit.form.ToggleButton",dijit.form.Button,{baseClass:"dijitToggleButton",checked:false,attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{checked:"focusNode"}),_clicked:function(evt){this.attr("checked",!this.checked);},_setCheckedAttr:function(_34b){this.checked=_34b;dojo.attr(this.focusNode||this.domNode,"checked",_34b);dijit.setWaiState(this.focusNode||this.domNode,"pressed",_34b);this._setStateClass();this._handleOnChange(_34b,true);},setChecked:function(_34c){dojo.deprecated("setChecked("+_34c+") is deprecated. Use attr('checked',"+_34c+") instead.","","2.0");this.attr("checked",_34c);},reset:function(){this._hasBeenBlurred=false;this.attr("checked",this.params.checked||false);}});}if(!dojo._hasResource["dijit._editor._Plugin"]){dojo._hasResource["dijit._editor._Plugin"]=true;dojo.provide("dijit._editor._Plugin");dojo.declare("dijit._editor._Plugin",null,{constructor:function(args,node){if(args){dojo.mixin(this,args);}this._connects=[];},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,queryCommand:null,command:"",commandArg:null,useDefaultCommand:true,buttonClass:dijit.form.Button,getLabel:function(key){return this.editor.commands[key];},_initButton:function(_350){if(this.command.length){var _351=this.getLabel(this.command);var _352=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){_350=dojo.mixin({label:_351,showLabel:false,iconClass:_352,dropDown:this.dropDown,tabIndex:"-1"},_350||{});this.button=new this.buttonClass(_350);}}},destroy:function(f){dojo.forEach(this._connects,dojo.disconnect);},connect:function(o,f,tf){this._connects.push(dojo.connect(o,f,this,tf));},updateState:function(){var _e=this.editor;var _c=this.command;if(!_e){return;}if(!_e.isLoaded){return;}if(!_c.length){return;}if(this.button){try{var _359=_e.queryCommandEnabled(_c);if(this.enabled!==_359){this.enabled=_359;this.button.attr("disabled",!_359);}if(typeof this.button.checked=="boolean"){var _35a=_e.queryCommandState(_c);if(this.checked!==_35a){this.checked=_35a;this.button.attr("checked",_e.queryCommandState(_c));}}}catch(e){}}},setEditor:function(_35b){this.editor=_35b;this._initButton();if(this.command.length&&!this.editor.queryCommandAvailable(this.command)){if(this.button){this.button.domNode.style.display="none";}}if(this.button&&this.useDefaultCommand){this.connect(this.button,"onClick",dojo.hitch(this.editor,"execCommand",this.command,this.commandArg));}this.connect(this.editor,"onNormalizedDisplayChanged","updateState");},setToolbar:function(_35c){if(this.button){_35c.addChild(this.button);}}});}if(!dojo._hasResource["dijit._editor.plugins.EnterKeyHandling"]){dojo._hasResource["dijit._editor.plugins.EnterKeyHandling"]=true;dojo.provide("dijit._editor.plugins.EnterKeyHandling");dojo.declare("dijit._editor.plugins.EnterKeyHandling",dijit._editor._Plugin,{blockNodeForEnter:"BR",constructor:function(args){if(args){dojo.mixin(this,args);}},setEditor:function(_35e){this.editor=_35e;if(this.blockNodeForEnter=="BR"){if(dojo.isIE){_35e.contentDomPreFilters.push(dojo.hitch(this,"regularPsToSingleLinePs"));_35e.contentDomPostFilters.push(dojo.hitch(this,"singleLinePsToRegularPs"));_35e.onLoadDeferred.addCallback(dojo.hitch(this,"_fixNewLineBehaviorForIE"));}else{_35e.onLoadDeferred.addCallback(dojo.hitch(this,function(d){try{this.editor.document.execCommand("insertBrOnReturn",false,true);}catch(e){}return d;}));}}else{if(this.blockNodeForEnter){dojo["require"]("dijit._editor.range");var h=dojo.hitch(this,this.handleEnterKey);_35e.addKeyHandler(13,0,0,h);_35e.addKeyHandler(13,0,1,h);this.connect(this.editor,"onKeyPressed","onKeyPressed");}}},connect:function(o,f,tf){if(!this._connects){this._connects=[];}this._connects.push(dojo.connect(o,f,this,tf));},destroy:function(){dojo.forEach(this._connects,dojo.disconnect);this._connects=[];},onKeyPressed:function(e){if(this._checkListLater){if(dojo.withGlobal(this.editor.window,"isCollapsed",dijit)){var _365=dojo.withGlobal(this.editor.window,"getAncestorElement",dijit._editor.selection,["LI"]);if(!_365){dijit._editor.RichText.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _366=dojo.withGlobal(this.editor.window,"getAncestorElement",dijit._editor.selection,[this.blockNodeForEnter]);if(_366){_366.innerHTML=this.bogusHtmlContent;if(dojo.isIE){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();}}else{alert("onKeyPressed: Can not find the new block node");}}else{if(dojo.isMoz){if(_365.parentNode.parentNode.nodeName=="LI"){_365=_365.parentNode.parentNode;}}var fc=_365.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_365.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _369=dijit.range.create();_369.setStart(_365.firstChild,0);var _36a=dijit.range.getSelection(this.editor.window,true);_36a.removeAllRanges();_36a.addRange(_369);}}}this._checkListLater=false;}if(this._pressedEnterInBlock){if(this._pressedEnterInBlock.previousSibling){this.removeTrailingBr(this._pressedEnterInBlock.previousSibling);}delete this._pressedEnterInBlock;}},bogusHtmlContent:"&nbsp;",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(e){if(!this.blockNodeForEnter){return true;}var _36c,_36d,_36e,doc=this.editor.document,br;if(e.shiftKey||this.blockNodeForEnter=="BR"){var _371=dojo.withGlobal(this.editor.window,"getParentElement",dijit._editor.selection);var _372=dijit.range.getAncestor(_371,this.blockNodes);if(_372){if(!e.shiftKey&&_372.tagName=="LI"){return true;}_36c=dijit.range.getSelection(this.editor.window);_36d=_36c.getRangeAt(0);if(!_36d.collapsed){_36d.deleteContents();}if(dijit.range.atBeginningOfContainer(_372,_36d.startContainer,_36d.startOffset)){if(e.shiftKey){br=doc.createElement("br");_36e=dijit.range.create();_372.insertBefore(br,_372.firstChild);_36e.setStartBefore(br.nextSibling);_36c.removeAllRanges();_36c.addRange(_36e);}else{dojo.place(br,_372,"before");}}else{if(dijit.range.atEndOfContainer(_372,_36d.startContainer,_36d.startOffset)){_36e=dijit.range.create();br=doc.createElement("br");if(e.shiftKey){_372.appendChild(br);_372.appendChild(doc.createTextNode(" "));_36e.setStart(_372.lastChild,0);}else{dojo.place(br,_372,"after");_36e.setStartAfter(_372);}_36c.removeAllRanges();_36c.addRange(_36e);}else{return true;}}}else{dijit._editor.RichText.prototype.execCommand.call(this.editor,"inserthtml","<br>");}return false;}var _373=true;_36c=dijit.range.getSelection(this.editor.window);_36d=_36c.getRangeAt(0);if(!_36d.collapsed){_36d.deleteContents();}var _374=dijit.range.getBlockAncestor(_36d.endContainer,null,this.editor.editNode);var _375=_374.blockNode;if((this._checkListLater=(_375&&(_375.nodeName=="LI"||_375.parentNode.nodeName=="LI")))){if(dojo.isMoz){this._pressedEnterInBlock=_375;}if(/^(?:\s|&nbsp;)$/.test(_375.innerHTML)){_375.innerHTML="";}return true;}if(!_374.blockNode||_374.blockNode===this.editor.editNode){dijit._editor.RichText.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);_374={blockNode:dojo.withGlobal(this.editor.window,"getAncestorElement",dijit._editor.selection,[this.blockNodeForEnter]),blockContainer:this.editor.editNode};if(_374.blockNode){if(!(_374.blockNode.textContent||_374.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length){this.removeTrailingBr(_374.blockNode);return false;}}else{_374.blockNode=this.editor.editNode;}_36c=dijit.range.getSelection(this.editor.window);_36d=_36c.getRangeAt(0);}var _376=doc.createElement(this.blockNodeForEnter);_376.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_374.blockNode);if(dijit.range.atEndOfContainer(_374.blockNode,_36d.endContainer,_36d.endOffset)){if(_374.blockNode===_374.blockContainer){_374.blockNode.appendChild(_376);}else{dojo.place(_376,_374.blockNode,"after");}_373=false;_36e=dijit.range.create();_36e.setStart(_376,0);_36c.removeAllRanges();_36c.addRange(_36e);if(this.editor.height){_376.scrollIntoView(false);}}else{if(dijit.range.atBeginningOfContainer(_374.blockNode,_36d.startContainer,_36d.startOffset)){dojo.place(_376,_374.blockNode,_374.blockNode===_374.blockContainer?"first":"before");if(_376.nextSibling&&this.editor.height){_376.nextSibling.scrollIntoView(false);}_373=false;}else{if(dojo.isMoz){this._pressedEnterInBlock=_374.blockNode;}}}return _373;},removeTrailingBr:function(_377){var para=/P|DIV|LI/i.test(_377.tagName)?_377:dijit._editor.selection.getParentOfType(_377,["P","DIV","LI"]);if(!para){return;}if(para.lastChild){if((para.childNodes.length>1&&para.lastChild.nodeType==3&&/^[\s\xAD]*$/.test(para.lastChild.nodeValue))||(para.lastChild&&para.lastChild.tagName=="BR")){dojo._destroyElement(para.lastChild);}}if(!para.childNodes.length){para.innerHTML=this.bogusHtmlContent;}},_fixNewLineBehaviorForIE:function(d){if(this.editor.document.__INSERTED_EDITIOR_NEWLINE_CSS===undefined){var _37a="p{margin:0 !important;}";var _37b=function(_37c,doc,URI){if(!_37c){return null;}if(!doc){doc=document;}var _37f=doc.createElement("style");_37f.setAttribute("type","text/css");var head=doc.getElementsByTagName("head")[0];if(!head){return null;}else{head.appendChild(_37f);}if(_37f.styleSheet){var _381=function(){try{_37f.styleSheet.cssText=_37c;}catch(e){}};if(_37f.styleSheet.disabled){setTimeout(_381,10);}else{_381();}}else{var _382=doc.createTextNode(_37c);_37f.appendChild(_382);}return _37f;};_37b(_37a,this.editor.document);this.editor.document.__INSERTED_EDITIOR_NEWLINE_CSS=true;return d;}return null;},regularPsToSingleLinePs:function(_383,_384){function wrapLinesInPs(el){function wrapNodes(_386){var newP=_386[0].ownerDocument.createElement("p");_386[0].parentNode.insertBefore(newP,_386[0]);dojo.forEach(_386,function(node){newP.appendChild(node);});};var _389=0;var _38a=[];var _38b;while(_389<el.childNodes.length){_38b=el.childNodes[_389];if(_38b.nodeType==3||(_38b.nodeType==1&&_38b.nodeName!="BR"&&dojo.style(_38b,"display")!="block")){_38a.push(_38b);}else{var _38c=_38b.nextSibling;if(_38a.length){wrapNodes(_38a);_389=(_389+1)-_38a.length;if(_38b.nodeName=="BR"){dojo._destroyElement(_38b);}}_38a=[];}_389++;}if(_38a.length){wrapNodes(_38a);}};function splitP(el){var _38e=null;var _38f=[];var _390=el.childNodes.length-1;for(var i=_390;i>=0;i--){_38e=el.childNodes[i];if(_38e.nodeName=="BR"){var newP=_38e.ownerDocument.createElement("p");dojo.place(newP,el,"after");if(_38f.length==0&&i!=_390){newP.innerHTML="&nbsp;";}dojo.forEach(_38f,function(node){newP.appendChild(node);});dojo._destroyElement(_38e);_38f=[];}else{_38f.unshift(_38e);}}};var _394=[];var ps=_383.getElementsByTagName("p");dojo.forEach(ps,function(p){_394.push(p);});dojo.forEach(_394,function(p){if((p.previousSibling)&&(p.previousSibling.nodeName=="P"||dojo.style(p.previousSibling,"display")!="block")){var newP=p.parentNode.insertBefore(this.document.createElement("p"),p);newP.innerHTML=_384?"":"&nbsp;";}splitP(p);},this.editor);wrapLinesInPs(_383);return _383;},singleLinePsToRegularPs:function(_399){function getParagraphParents(node){var ps=node.getElementsByTagName("p");var _39c=[];for(var i=0;i<ps.length;i++){var p=ps[i];var _39f=false;for(var k=0;k<_39c.length;k++){if(_39c[k]===p.parentNode){_39f=true;break;}}if(!_39f){_39c.push(p.parentNode);}}return _39c;};function isParagraphDelimiter(node){if(node.nodeType!=1||node.tagName!="P"){return dojo.style(node,"display")=="block";}else{if(!node.childNodes.length||node.innerHTML=="&nbsp;"){return true;}}return false;};var _3a2=getParagraphParents(_399);for(var i=0;i<_3a2.length;i++){var _3a4=_3a2[i];var _3a5=null;var node=_3a4.firstChild;var _3a7=null;while(node){if(node.nodeType!="1"||node.tagName!="P"){_3a5=null;}else{if(isParagraphDelimiter(node)){_3a7=node;_3a5=null;}else{if(_3a5==null){_3a5=node;}else{if((!_3a5.lastChild||_3a5.lastChild.nodeName!="BR")&&(node.firstChild)&&(node.firstChild.nodeName!="BR")){_3a5.appendChild(this.editor.document.createElement("br"));}while(node.firstChild){_3a5.appendChild(node.firstChild);}_3a7=node;}}}node=node.nextSibling;if(_3a7){dojo._destroyElement(_3a7);_3a7=null;}}}return _399;}});}if(!dojo._hasResource["dijit.Editor"]){dojo._hasResource["dijit.Editor"]=true;dojo.provide("dijit.Editor");dojo.declare("dijit.Editor",dijit._editor.RichText,{plugins:null,extraPlugins:null,constructor:function(){if(!dojo.isArray(this.plugins)){this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull","dijit._editor.plugins.EnterKeyHandling"];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(dojo.isIE){this.events.push("onBeforeDeactivate");}},postCreate:function(){if(this.customUndo){dojo["require"]("dijit._editor.range");this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);}if(dojo.isArray(this.extraPlugins)){this.plugins=this.plugins.concat(this.extraPlugins);}this.inherited(arguments);this.commands=dojo.i18n.getLocalization("dijit._editor","commands",this.lang);if(!this.toolbar){this.toolbar=new dijit.Toolbar({});dojo.place(this.toolbar.domNode,this.editingArea,"before");}dojo.forEach(this.plugins,this.addPlugin,this);this.onNormalizedDisplayChanged();this.toolbar.startup();},destroy:function(){dojo.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroy();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_3a9,_3aa){var args=dojo.isString(_3a9)?{name:_3a9}:_3a9;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};dojo.publish(dijit._scopeName+".Editor.getPlugin",[o]);if(!o.plugin){var pc=dojo.getObject(args.name);if(pc){o.plugin=new pc(args);}}if(!o.plugin){console.warn("Cannot find plugin",_3a9);return;}_3a9=o.plugin;}if(arguments.length>1){this._plugins[_3aa]=_3a9;}else{this._plugins.push(_3a9);}_3a9.setEditor(this);if(dojo.isFunction(_3a9.setToolbar)){_3a9.setToolbar(this.toolbar);}},startup:function(){},resize:function(){dijit.layout._LayoutWidget.prototype.resize.apply(this,arguments);},layout:function(){this.editingArea.style.height=(this._contentBox.h-dojo.marginBox(this.toolbar.domNode).h)+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},onBeforeDeactivate:function(e){if(this.customUndo){this.endEditing(true);}this._saveSelection();},customUndo:dojo.isIE,editActionInterval:3,beginEditing:function(cmd){if(!this._inEditing){this._inEditing=true;this._beginEditing(cmd);}if(this.editActionInterval>0){if(this._editTimer){clearTimeout(this._editTimer);}this._editTimer=setTimeout(dojo.hitch(this,this.endEditing),this._editInterval);}},_steps:[],_undoedSteps:[],execCommand:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return this[cmd]();}else{if(this.customUndo){this.endEditing();this._beginEditing();}try{var r=this.inherited("execCommand",arguments);if(dojo.isSafari&&cmd=="paste"&&!r){var su=dojo.string.substitute,_isM=navigator.userAgent.indexOf("Macintosh")!=-1;alert(su(this.commands.pasteShortcutSafari,[su(this.commands[_isM?"appleKey":"ctrlKey"],["V"])]));}}catch(e){if(dojo.isMoz&&/copy|cut|paste/.test(cmd)){var sub=dojo.string.substitute,_3b5={cut:"X",copy:"C",paste:"V"},_3b6=navigator.userAgent.indexOf("Macintosh")!=-1;alert(sub(this.commands.systemShortcutFF,[this.commands[cmd],sub(this.commands[_3b6?"appleKey":"ctrlKey"],[_3b5[cmd]])]));}r=false;}if(this.customUndo){this._endEditing();}return r;}},queryCommandEnabled:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return cmd=="undo"?(this._steps.length>1):(this._undoedSteps.length>0);}else{return this.inherited("queryCommandEnabled",arguments);}},focus:function(){var _3b8=0;if(this._savedSelection&&dojo.isIE){_3b8=dijit._curFocus!=this.editNode;}this.inherited(arguments);if(_3b8){this._restoreSelection();}},_moveToBookmark:function(b){var _3ba=b;if(dojo.isIE){if(dojo.isArray(b)){_3ba=[];dojo.forEach(b,function(n){_3ba.push(dijit.range.getNode(n,this.editNode));},this);}}else{var r=dijit.range.create();r.setStart(dijit.range.getNode(b.startContainer,this.editNode),b.startOffset);r.setEnd(dijit.range.getNode(b.endContainer,this.editNode),b.endOffset);_3ba=r;}dojo.withGlobal(this.window,"moveToBookmark",dijit,[_3ba]);},_changeToStep:function(from,to){this.setValue(to.text);var b=to.bookmark;if(!b){return;}this._moveToBookmark(b);},undo:function(){this.endEditing(true);var s=this._steps.pop();if(this._steps.length>0){this.focus();this._changeToStep(s,this._steps[this._steps.length-1]);this._undoedSteps.push(s);this.onDisplayChanged();return true;}return false;},redo:function(){this.endEditing(true);var s=this._undoedSteps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(this._steps[this._steps.length-1],s);this._steps.push(s);this.onDisplayChanged();return true;}return false;},endEditing:function(_3c2){if(this._editTimer){clearTimeout(this._editTimer);}if(this._inEditing){this._endEditing(_3c2);this._inEditing=false;}},_getBookmark:function(){var b=dojo.withGlobal(this.window,dijit.getBookmark);var tmp=[];if(dojo.isIE){if(dojo.isArray(b)){dojo.forEach(b,function(n){tmp.push(dijit.range.getIndex(n,this.editNode).o);},this);b=tmp;}}else{tmp=dijit.range.getIndex(b.startContainer,this.editNode).o;b={startContainer:tmp,startOffset:b.startOffset,endContainer:b.endContainer===b.startContainer?tmp:dijit.range.getIndex(b.endContainer,this.editNode).o,endOffset:b.endOffset};}return b;},_beginEditing:function(cmd){if(this._steps.length===0){this._steps.push({"text":this.savedContent,"bookmark":this._getBookmark()});}},_endEditing:function(_3c7){var v=this.getValue(true);this._undoedSteps=[];this._steps.push({text:v,bookmark:this._getBookmark()});},onKeyDown:function(e){if(!dojo.isIE&&!this.iframe&&e.keyCode==dojo.keys.TAB&&!this.tabIndent){this._saveSelection();}if(!this.customUndo){this.inherited("onKeyDown",arguments);return;}var k=e.keyCode,ks=dojo.keys;if(e.ctrlKey&&!e.altKey){if(k==90||k==122){dojo.stopEvent(e);this.undo();return;}else{if(k==89||k==121){dojo.stopEvent(e);this.redo();return;}}}this.inherited("onKeyDown",arguments);switch(k){case ks.ENTER:case ks.BACKSPACE:case ks.DELETE:this.beginEditing();break;case 88:case 86:if(e.ctrlKey&&!e.altKey&&!e.metaKey){this.endEditing();if(e.keyCode==88){this.beginEditing("cut");setTimeout(dojo.hitch(this,this.endEditing),1);}else{this.beginEditing("paste");setTimeout(dojo.hitch(this,this.endEditing),1);}break;}default:if(!e.ctrlKey&&!e.altKey&&!e.metaKey&&(e.keyCode<dojo.keys.F1||e.keyCode>dojo.keys.F15)){this.beginEditing();break;}case ks.ALT:this.endEditing();break;case ks.UP_ARROW:case ks.DOWN_ARROW:case ks.LEFT_ARROW:case ks.RIGHT_ARROW:case ks.HOME:case ks.END:case ks.PAGE_UP:case ks.PAGE_DOWN:this.endEditing(true);break;case ks.CTRL:case ks.SHIFT:case ks.TAB:break;}},_onBlur:function(){this.inherited("_onBlur",arguments);this.endEditing(true);},_saveSelection:function(){this._savedSelection=this._getBookmark();},_restoreSelection:function(){if(this._savedSelection){this._moveToBookmark(this._savedSelection);delete this._savedSelection;}},_onFocus:function(){this._restoreSelection();this.inherited(arguments);},onClick:function(){this.endEditing(true);this.inherited("onClick",arguments);}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}var args=o.args,p;var _p=dijit._editor._Plugin;var name=args.name;switch(name){case "undo":case "redo":case "cut":case "copy":case "paste":case "insertOrderedList":case "insertUnorderedList":case "indent":case "outdent":case "justifyCenter":case "justifyFull":case "justifyLeft":case "justifyRight":case "delete":case "selectAll":case "removeFormat":case "unlink":case "insertHorizontalRule":p=new _p({command:name});break;case "bold":case "italic":case "underline":case "strikethrough":case "subscript":case "superscript":p=new _p({buttonClass:dijit.form.ToggleButton,command:name});break;case "|":p=new _p({button:new dijit.ToolbarSeparator()});}o.plugin=p;});}if(!dojo._hasResource["dijit.Menu"]){dojo._hasResource["dijit.Menu"]=true;dojo.provide("dijit.Menu");dojo.declare("dijit.Menu",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{constructor:function(){this._bindings=[];},templateString:"<table class=\"dijit dijitMenu dijitReset dijitMenuTable\" waiRole=\"menu\" dojoAttachEvent=\"onkeypress:_onKeyPress\">"+"<tbody class=\"dijitReset\" dojoAttachPoint=\"containerNode\"></tbody>"+"</table>",targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,parentMenu:null,popupDelay:500,_contextMenuWithMouse:false,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(dojo.body());}else{dojo.forEach(this.targetNodeIds,this.bindDomNode,this);}this.connectKeyNavHandlers([dojo.keys.UP_ARROW],[dojo.keys.DOWN_ARROW]);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_3d1){_3d1.startup();});this.startupKeyNavChildren();this.inherited(arguments);},onExecute:function(){},onCancel:function(_3d2){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case dojo.keys.RIGHT_ARROW:this._moveToPopup(evt);dojo.stopEvent(evt);break;case dojo.keys.LEFT_ARROW:if(this.parentMenu){this.onCancel(false);}else{dojo.stopEvent(evt);}break;}},onItemHover:function(item){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=setTimeout(dojo.hitch(this,"_openPopup"),this.popupDelay);}},_onChildBlur:function(item){dijit.popup.close(item.popup);item._blur();this._stopPopupTimer();},onItemUnhover:function(item){},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(item.disabled){return false;}if(item.popup){if(!this.is_open){this._openPopup();}}else{this.onExecute();item.onClick(evt);}},_iframeContentWindow:function(_3db){var win=dijit.getDocumentWindow(dijit.Menu._iframeContentDocument(_3db))||dijit.Menu._iframeContentDocument(_3db)["__parent__"]||(_3db.name&&dojo.doc.frames[_3db.name])||null;return win;},_iframeContentDocument:function(_3dd){var doc=_3dd.contentDocument||(_3dd.contentWindow&&_3dd.contentWindow.document)||(_3dd.name&&dojo.doc.frames[_3dd.name]&&dojo.doc.frames[_3dd.name].document)||null;return doc;},bindDomNode:function(node){node=dojo.byId(node);var win=dijit.getDocumentWindow(node.ownerDocument);if(node.tagName.toLowerCase()=="iframe"){win=this._iframeContentWindow(node);node=dojo.withGlobal(win,dojo.body);}var cn=(node==dojo.body()?dojo.doc:node);node[this.id]=this._bindings.push([dojo.connect(cn,(this.leftClickToOpen)?"onclick":"oncontextmenu",this,"_openMyself"),dojo.connect(cn,"onkeydown",this,"_contextKey"),dojo.connect(cn,"onmousedown",this,"_contextMouse")]);},unBindDomNode:function(_3e2){var node=dojo.byId(_3e2);if(node){var bid=node[this.id]-1,b=this._bindings[bid];dojo.forEach(b,dojo.disconnect);delete this._bindings[bid];}},_contextKey:function(e){this._contextMenuWithMouse=false;if(e.keyCode==dojo.keys.F10){dojo.stopEvent(e);if(e.shiftKey&&e.type=="keydown"){var _e={target:e.target,pageX:e.pageX,pageY:e.pageY};_e.preventDefault=_e.stopPropagation=function(){};window.setTimeout(dojo.hitch(this,function(){this._openMyself(_e);}),1);}}},_contextMouse:function(e){this._contextMenuWithMouse=true;},_openMyself:function(e){if(this.leftClickToOpen&&e.button>0){return;}dojo.stopEvent(e);var x,y;if(dojo.isSafari||this._contextMenuWithMouse){x=e.pageX;y=e.pageY;}else{var _3ec=dojo.coords(e.target,true);x=_3ec.x+10;y=_3ec.y+10;}var self=this;var _3ee=dijit.getFocus(this);function closeAndRestoreFocus(){dijit.focus(_3ee);dijit.popup.close(self);};dijit.popup.open({popup:this,x:x,y:y,onExecute:closeAndRestoreFocus,onCancel:closeAndRestoreFocus,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);dijit.popup.close(this);};},onOpen:function(e){this.isShowingNow=true;},onClose:function(){this._stopPopupTimer();this.parentMenu=null;this.isShowingNow=false;this.currentPopup=null;if(this.focusedChild){this._onChildBlur(this.focusedChild);this.focusedChild=null;}},_openPopup:function(){this._stopPopupTimer();var _3f0=this.focusedChild;var _3f1=_3f0.popup;if(_3f1.isShowingNow){return;}_3f1.parentMenu=this;var self=this;dijit.popup.open({parent:this,popup:_3f1,around:_3f0.domNode,orient:this.isLeftToRight()?{"TR":"TL","TL":"TR"}:{"TL":"TR","TR":"TL"},onCancel:function(){dijit.popup.close(_3f1);_3f0.focus();self.currentPopup=null;}});this.currentPopup=_3f1;if(_3f1.focus){_3f1.focus();}},uninitialize:function(){dojo.forEach(this.targetNodeIds,this.unBindDomNode,this);this.inherited(arguments);}});dojo.declare("dijit.MenuItem",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:"<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" waiRole=\"menuitem\" tabIndex=\"-1\""+"dojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">"+"<td class=\"dijitReset\" waiRole=\"presentation\"><div class=\"dijitMenuItemIcon\" dojoAttachPoint=\"iconNode\"></div></td>"+"<td class=\"dijitReset dijitMenuItemLabel\" dojoAttachPoint=\"containerNode\"></td>"+"<td class=\"dijitReset dijitMenuArrowCell\" waiRole=\"presentation\">"+"<div dojoAttachPoint=\"arrowWrapper\" style=\"display: none\">"+"<div class=\"dijitMenuExpand\"></div>"+"<span class=\"dijitMenuExpandA11y\">+</span>"+"</div>"+"</td>"+"</tr>",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),label:"",iconClass:"",disabled:false,_fillContent:function(_3f3){if(_3f3&&!("label" in this.params)){this.attr("label",_3f3.innerHTML);}},postCreate:function(){dojo.setSelectable(this.domNode,false);dojo.attr(this.containerNode,"id",this.id+"_text");dijit.setWaiState(this.domNode,"labelledby",this.id+"_text");},_onHover:function(){this.getParent().onItemHover(this);},_onUnhover:function(){this.getParent().onItemUnhover(this);},_onClick:function(evt){this.getParent().onItemClick(this,evt);dojo.stopEvent(evt);},onClick:function(evt){},focus:function(){dojo.addClass(this.domNode,"dijitMenuItemHover");try{dijit.focus(this.focusNode);}catch(e){}},_blur:function(){dojo.removeClass(this.domNode,"dijitMenuItemHover");},setLabel:function(_3f6){dojo.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use attr('label', ...) instead.","","2.0");this.attr("label",_3f6);},setDisabled:function(_3f7){dojo.deprecated("dijit.Menu.setDisabled() is deprecated.  Use attr('disabled', bool) instead.","","2.0");this.attr("disabled",_3f7);},_setDisabledAttr:function(_3f8){this.disabled=_3f8;dojo[_3f8?"addClass":"removeClass"](this.domNode,"dijitMenuItemDisabled");dijit.setWaiState(this.focusNode,"disabled",_3f8?"true":"false");}});dojo.declare("dijit.PopupMenuItem",dijit.MenuItem,{_fillContent:function(){if(this.srcNodeRef){var _3f9=dojo.query("*",this.srcNodeRef);dijit.PopupMenuItem.superclass._fillContent.call(this,_3f9[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=dojo.query("[widgetId]",this.dropDownContainer)[0];this.popup=dijit.byNode(node);}dojo.body().appendChild(this.popup.domNode);this.popup.domNode.style.display="none";dojo.style(this.arrowWrapper,"display","");dijit.setWaiState(this.focusNode,"haspopup","true");},destroyDescendants:function(){if(this.popup){this.popup.destroyRecursive();delete this.popup;}this.inherited(arguments);}});dojo.declare("dijit.MenuSeparator",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:"<tr class=\"dijitMenuSeparator\"><td colspan=3>"+"<div class=\"dijitMenuSeparatorTop\"></div>"+"<div class=\"dijitMenuSeparatorBottom\"></div>"+"</td></tr>",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});dojo.declare("dijit.CheckedMenuItem",dijit.MenuItem,{templateString:"<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" waiRole=\"menuitemcheckbox\" tabIndex=\"-1\""+"dojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">"+"<td class=\"dijitReset\" waiRole=\"presentation\"><div class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" dojoAttachPoint=\"iconNode\">"+"<div class=\"dijitCheckedMenuItemIconChar\">&#10003;</div>"+"</div></td>"+"<td class=\"dijitReset dijitMenuItemLabel\" dojoAttachPoint=\"containerNode,labelNode\"></td>"+"<td class=\"dijitReset dijitMenuArrowCell\" waiRole=\"presentation\">"+"<div dojoAttachPoint=\"arrowWrapper\" style=\"display: none\">"+"<div class=\"dijitMenuExpand\"></div>"+"<span class=\"dijitMenuExpandA11y\">+</span>"+"</div>"+"</td>"+"</tr>",checked:false,_setCheckedAttr:function(_3fb){dojo.toggleClass(this.iconNode,"dijitCheckedMenuItemIconChecked",_3fb);dijit.setWaiState(this.domNode,"checked",_3fb);this.checked=_3fb;},onChange:function(_3fc){},_onClick:function(e){if(!this.disabled){this.attr("checked",!this.checked);this.onChange(this.checked);}this.inherited(arguments);}});}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_3ff){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_3ff&&_3ff.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_403){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_403);};dojo.regexp.group=function(_406,_407){return "("+(_407?"?:":"")+_406+")";};}if(!dojo._hasResource["dojo.number"]){dojo._hasResource["dojo.number"]=true;dojo.provide("dojo.number");dojo.number.format=function(_408,_409){_409=dojo.mixin({},_409||{});var _40a=dojo.i18n.normalizeLocale(_409.locale);var _40b=dojo.i18n.getLocalization("dojo.cldr","number",_40a);_409.customs=_40b;var _40c=_409.pattern||_40b[(_409.type||"decimal")+"Format"];if(isNaN(_408)){return null;}return dojo.number._applyPattern(_408,_40c,_409);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_40d,_40e,_40f){_40f=_40f||{};var _410=_40f.customs.group;var _411=_40f.customs.decimal;var _412=_40e.split(";");var _413=_412[0];_40e=_412[(_40d<0)?1:0]||("-"+_413);if(_40e.indexOf("%")!=-1){_40d*=100;}else{if(_40e.indexOf("‰")!=-1){_40d*=1000;}else{if(_40e.indexOf("¤")!=-1){_410=_40f.customs.currencyGroup||_410;_411=_40f.customs.currencyDecimal||_411;_40e=_40e.replace(/\u00a4{1,3}/,function(_414){var prop=["symbol","currency","displayName"][_414.length-1];return _40f[prop]||_40f.currency||"";});}else{if(_40e.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _416=dojo.number._numberPatternRE;var _417=_413.match(_416);if(!_417){throw new Error("unable to find a number expression in pattern: "+_40e);}if(_40f.fractional===false){_40f.places=0;}return _40e.replace(_416,dojo.number._formatAbsolute(_40d,_417[0],{decimal:_411,group:_410,places:_40f.places,round:_40f.round}));};dojo.number.round=function(_418,_419,_41a){var _41b=String(_418).split(".");var _41c=(_41b[1]&&_41b[1].length)||0;if(_41c>_419){var _41d=Math.pow(10,_419);if(_41a>0){_41d*=10/_41a;_419++;}_418=Math.round(_418*_41d)/_41d;_41b=String(_418).split(".");_41c=(_41b[1]&&_41b[1].length)||0;if(_41c>_419){_41b[1]=_41b[1].substr(0,_419);_418=Number(_41b.join("."));}}return _418;};dojo.number._formatAbsolute=function(_41e,_41f,_420){_420=_420||{};if(_420.places===true){_420.places=0;}if(_420.places===Infinity){_420.places=6;}var _421=_41f.split(".");var _422=(_420.places>=0)?_420.places:(_421[1]&&_421[1].length)||0;if(!(_420.round<0)){_41e=dojo.number.round(_41e,_422,_420.round);}var _423=String(Math.abs(_41e)).split(".");var _424=_423[1]||"";if(_420.places){var _425=dojo.isString(_420.places)&&_420.places.indexOf(",");if(_425){_420.places=_420.places.substring(_425+1);}_423[1]=dojo.string.pad(_424.substr(0,_420.places),_420.places,"0",true);}else{if(_421[1]&&_420.places!==0){var pad=_421[1].lastIndexOf("0")+1;if(pad>_424.length){_423[1]=dojo.string.pad(_424,pad,"0",true);}var _427=_421[1].length;if(_427<_424.length){_423[1]=_424.substr(0,_427);}}else{if(_423[1]){_423.pop();}}}var _428=_421[0].replace(",","");pad=_428.indexOf("0");if(pad!=-1){pad=_428.length-pad;if(pad>_423[0].length){_423[0]=dojo.string.pad(_423[0],pad);}if(_428.indexOf("#")==-1){_423[0]=_423[0].substr(_423[0].length-pad);}}var _429=_421[0].lastIndexOf(",");var _42a,_42b;if(_429!=-1){_42a=_421[0].length-_429-1;var _42c=_421[0].substr(0,_429);_429=_42c.lastIndexOf(",");if(_429!=-1){_42b=_42c.length-_429-1;}}var _42d=[];for(var _42e=_423[0];_42e;){var off=_42e.length-_42a;_42d.push((off>0)?_42e.substr(off):_42e);_42e=(off>0)?_42e.slice(0,off):"";if(_42b){_42a=_42b;delete _42b;}}_423[0]=_42d.reverse().join(_420.group||",");return _423.join(_420.decimal||".");};dojo.number.regexp=function(_430){return dojo.number._parseInfo(_430).regexp;};dojo.number._parseInfo=function(_431){_431=_431||{};var _432=dojo.i18n.normalizeLocale(_431.locale);var _433=dojo.i18n.getLocalization("dojo.cldr","number",_432);var _434=_431.pattern||_433[(_431.type||"decimal")+"Format"];var _435=_433.group;var _436=_433.decimal;var _437=1;if(_434.indexOf("%")!=-1){_437/=100;}else{if(_434.indexOf("‰")!=-1){_437/=1000;}else{var _438=_434.indexOf("¤")!=-1;if(_438){_435=_433.currencyGroup||_435;_436=_433.currencyDecimal||_436;}}}var _439=_434.split(";");if(_439.length==1){_439.push("-"+_439[0]);}var re=dojo.regexp.buildGroupRE(_439,function(_43b){_43b="(?:"+dojo.regexp.escapeString(_43b,".")+")";return _43b.replace(dojo.number._numberPatternRE,function(_43c){var _43d={signed:false,separator:_431.strict?_435:[_435,""],fractional:_431.fractional,decimal:_436,exponent:false};var _43e=_43c.split(".");var _43f=_431.places;if(_43e.length==1||_43f===0){_43d.fractional=false;}else{if(_43f===undefined){_43f=_431.pattern?_43e[1].lastIndexOf("0")+1:Infinity;}if(_43f&&_431.fractional==undefined){_43d.fractional=true;}if(!_431.places&&(_43f<_43e[1].length)){_43f+=","+_43e[1].length;}_43d.places=_43f;}var _440=_43e[0].split(",");if(_440.length>1){_43d.groupSize=_440.pop().length;if(_440.length>1){_43d.groupSize2=_440.pop().length;}}return "("+dojo.number._realNumberRegexp(_43d)+")";});},true);if(_438){re=re.replace(/(\s*)(\u00a4{1,3})(\s*)/g,function(_441,_442,_443,_444){var prop=["symbol","currency","displayName"][_443.length-1];var _446=dojo.regexp.escapeString(_431[prop]||_431.currency||"");_442=_442?"\\s":"";_444=_444?"\\s":"";if(!_431.strict){if(_442){_442+="*";}if(_444){_444+="*";}return "(?:"+_442+_446+_444+")?";}return _442+_446+_444;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_435,decimal:_436,factor:_437};};dojo.number.parse=function(_447,_448){var info=dojo.number._parseInfo(_448);var _44a=(new RegExp("^"+info.regexp+"$")).exec(_447);if(!_44a){return NaN;}var _44b=_44a[1];if(!_44a[1]){if(!_44a[2]){return NaN;}_44b=_44a[2];info.factor*=-1;}_44b=_44b.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return Number(_44b)*info.factor;};dojo.number._realNumberRegexp=function(_44c){_44c=_44c||{};if(!("places" in _44c)){_44c.places=Infinity;}if(typeof _44c.decimal!="string"){_44c.decimal=".";}if(!("fractional" in _44c)||/^0/.test(_44c.places)){_44c.fractional=[true,false];}if(!("exponent" in _44c)){_44c.exponent=[true,false];}if(!("eSigned" in _44c)){_44c.eSigned=[true,false];}var _44d=dojo.number._integerRegexp(_44c);var _44e=dojo.regexp.buildGroupRE(_44c.fractional,function(q){var re="";if(q&&(_44c.places!==0)){re="\\"+_44c.decimal;if(_44c.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_44c.places+"}";}}return re;},true);var _451=dojo.regexp.buildGroupRE(_44c.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_44c.eSigned})+")";}return "";});var _453=_44d+_44e;if(_44e){_453="(?:(?:"+_453+")|(?:"+_44e+"))";}return _453+_451;};dojo.number._integerRegexp=function(_454){_454=_454||{};if(!("signed" in _454)){_454.signed=[true,false];}if(!("separator" in _454)){_454.separator="";}else{if(!("groupSize" in _454)){_454.groupSize=3;}}var _455=dojo.regexp.buildGroupRE(_454.signed,function(q){return q?"[-+]":"";},true);var _457=dojo.regexp.buildGroupRE(_454.separator,function(sep){if(!sep){return "(?:0|[1-9]\\d*)";}sep=dojo.regexp.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_454.groupSize,grp2=_454.groupSize2;if(grp2){var _45b="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_45b+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_45b;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _455+_457;};}if(!dojo._hasResource["dijit.ProgressBar"]){dojo._hasResource["dijit.ProgressBar"]=true;dojo.provide("dijit.ProgressBar");dojo.declare("dijit.ProgressBar",[dijit._Widget,dijit._Templated],{progress:"0",maximum:100,places:0,indeterminate:false,templateString:"<div class=\"dijitProgressBar dijitProgressBarEmpty\"\n\t><div waiRole=\"progressbar\" tabindex=\"0\" dojoAttachPoint=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\"></div\n\t\t><span style=\"visibility:hidden\">&nbsp;</span\n\t></div\n\t><div dojoAttachPoint=\"label\" class=\"dijitProgressBarLabel\" id=\"${id}_label\">&nbsp;</div\n\t><img dojoAttachPoint=\"inteterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\"\n\t></img\n></div>\n",_indeterminateHighContrastImagePath:dojo.moduleUrl("dijit","themes/a11y/indeterminate_progress.gif"),postCreate:function(){this.inherited(arguments);this.inteterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath);this.update();},update:function(_45c){dojo.mixin(this,_45c||{});var tip=this.internalProgress;var _45e=1,_45f;if(this.indeterminate){_45f="addClass";dijit.removeWaiState(tip,"valuenow");dijit.removeWaiState(tip,"valuemin");dijit.removeWaiState(tip,"valuemax");}else{_45f="removeClass";if(String(this.progress).indexOf("%")!=-1){_45e=Math.min(parseFloat(this.progress)/100,1);this.progress=_45e*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_45e=this.progress/this.maximum;}var text=this.report(_45e);this.label.firstChild.nodeValue=text;dijit.setWaiState(tip,"describedby",this.label.id);dijit.setWaiState(tip,"valuenow",this.progress);dijit.setWaiState(tip,"valuemin",0);dijit.setWaiState(tip,"valuemax",this.maximum);}dojo[_45f](this.domNode,"dijitProgressBarIndeterminate");tip.style.width=(_45e*100)+"%";this.onChange();},report:function(_461){return dojo.number.format(_461,{type:"percent",places:this.places,locale:this.lang});},onChange:function(){}});}if(!dojo._hasResource["dijit.TitlePane"]){dojo._hasResource["dijit.TitlePane"]=true;dojo.provide("dijit.TitlePane");dojo.declare("dijit.TitlePane",[dijit.layout.ContentPane,dijit._Templated],{title:"",open:true,duration:dijit.defaultDuration,baseClass:"dijitTitlePane",templateString:"<div class=\"${baseClass}\">\n\t<div dojoAttachEvent=\"onclick:toggle,onkeypress: _onTitleKey,onfocus:_handleFocus,onblur:_handleFocus\" tabindex=\"0\"\n\t\t\twaiRole=\"button\" class=\"dijitTitlePaneTitle\" dojoAttachPoint=\"titleBarNode,focusNode\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" dojoAttachPoint=\"arrowNode\" class=\"dijitArrowNode\" waiRole=\"presentation\"\n\t\t><span dojoAttachPoint=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t><span dojoAttachPoint=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" dojoAttachPoint=\"hideNode\">\n\t\t<div class=\"dijitReset\" dojoAttachPoint=\"wipeNode\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" dojoAttachPoint=\"containerNode\" waiRole=\"region\" tabindex=\"-1\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",attributeMap:dojo.mixin(dojo.clone(dijit.layout.ContentPane.prototype.attributeMap),{title:{node:"titleNode",type:"innerHTML"}}),postCreate:function(){if(!this.open){this.hideNode.style.display=this.wipeNode.style.display="none";}this._setCss();dojo.setSelectable(this.titleNode,false);dijit.setWaiState(this.containerNode,"labelledby",this.titleNode.id);dijit.setWaiState(this.focusNode,"haspopup","true");var _462=this.hideNode,_463=this.wipeNode;this._wipeIn=dojo.fx.wipeIn({node:this.wipeNode,duration:this.duration,beforeBegin:function(){_462.style.display="";}});this._wipeOut=dojo.fx.wipeOut({node:this.wipeNode,duration:this.duration,onEnd:function(){_462.style.display="none";}});this.inherited(arguments);},_setOpenAttr:function(open){if(this.open!==open){this.toggle();}},_setContentAttr:function(_465){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}dojo.marginBox(this.wipeNode,{h:dojo.marginBox(this.wipeNode).h});this.inherited(arguments);if(this._wipeIn){this._wipeIn.play();}else{this.hideNode.style.display="";}}},toggle:function(){dojo.forEach([this._wipeIn,this._wipeOut],function(_466){if(_466&&_466.status()=="playing"){_466.stop();}});var anim=this[this.open?"_wipeOut":"_wipeIn"];if(anim){anim.play();}else{this._hideNode.style.display=this.open?"":"none";}this.open=!this.open;this._loadCheck();this._setCss();},_setCss:function(){var _468=["dijitClosed","dijitOpen"];var _469=this.open;var node=this.titleBarNode||this.focusNode;dojo.removeClass(node,_468[!_469+0]);node.className+=" "+_468[_469+0];this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.charOrCode==dojo.keys.ENTER||e.charOrCode==" "){this.toggle();}else{if(e.charOrCode==dojo.keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_handleFocus:function(e){dojo[(e.type=="focus"?"addClass":"removeClass")](this.focusNode,this.baseClass+"Focused");},setTitle:function(_46d){dojo.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use attr('title', ...) instead.","","2.0");this.titleNode.innerHTML=_46d;}});}if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:dijit.defaultDuration,templateString:"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\n\t<div class=\"dijitTooltipConnector\"></div>\n</div>\n",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});},show:function(_46e,_46f,_470){if(this.aroundNode&&this.aroundNode===_46f){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_46e;this.domNode.style.top=(this.domNode.offsetTop+1)+"px";var _471={};var ltr=this.isLeftToRight();dojo.forEach((_470&&_470.length)?_470:dijit.Tooltip.defaultPosition,function(pos){switch(pos){case "after":_471[ltr?"BR":"BL"]=ltr?"BL":"BR";break;case "before":_471[ltr?"BL":"BR"]=ltr?"BR":"BL";break;case "below":_471[ltr?"BL":"BR"]=ltr?"TL":"TR";_471[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above":default:_471[ltr?"TL":"TR"]=ltr?"BL":"BR";_471[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});var pos=dijit.placeOnScreenAroundElement(this.domNode,_46f,_471,dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_46f;},orient:function(node,_476,_477){node.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_476+"-"+_477];},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_478){if(this._onDeck&&this._onDeck[1]==_478){this._onDeck=null;}else{if(this.aroundNode===_478){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});dijit.showTooltip=function(_479,_47a,_47b){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_479,_47a,_47b);};dijit.hideTooltip=function(_47c){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_47c);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],postCreate:function(){dojo.addClass(this.domNode,"dijitTooltipData");this._connectNodes=[];dojo.forEach(this.connectId,function(id){var node=dojo.byId(id);if(node){this._connectNodes.push(node);dojo.forEach(["onMouseEnter","onMouseLeave","onFocus","onBlur"],function(_47f){this.connect(node,_47f.toLowerCase(),"_"+_47f);},this);if(dojo.isIE){node.style.zoom=1;}}},this);},_onMouseEnter:function(e){this._onHover(e);},_onMouseLeave:function(e){this._onUnHover(e);},_onFocus:function(e){this._focus=true;this._onHover(e);this.inherited(arguments);},_onBlur:function(e){this._focus=false;this._onUnHover(e);this.inherited(arguments);},_onHover:function(e){if(!this._showTimer){var _485=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_485);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_487){_487=_487||this._connectNodes[0];if(!_487){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_487,this.position);this._connectNode=_487;},close:function(){if(this._connectNode){dijit.hideTooltip(this._connectNode);delete this._connectNode;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},uninitialize:function(){this.close();}});dijit.Tooltip.defaultPosition=["after","before"];}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(name,_489,_48a){var c=document.cookie;if(arguments.length==1){var _48c=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(name)+"=([^;]*)"));return _48c?decodeURIComponent(_48c[1]):undefined;}else{_48a=_48a||{};var exp=_48a.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_48a.expires=d;}if(exp&&exp.toUTCString){_48a.expires=exp.toUTCString();}_489=encodeURIComponent(_489);var _48f=name+"="+_489,_490;for(_490 in _48a){_48f+="; "+_490;var _491=_48a[_490];if(_491!==true){_48f+="="+_491;}}document.cookie=_48f;}};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};}if(!dojo._hasResource["dijit.Tree"]){dojo._hasResource["dijit.Tree"]=true;dojo.provide("dijit.Tree");dojo.declare("dijit._TreeNode",[dijit._Widget,dijit._Templated,dijit._Container,dijit._Contained],{item:null,isTreeNode:true,label:"",isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:"<div class=\"dijitTreeNode\" waiRole=\"presentation\"\n\t><div dojoAttachPoint=\"rowNode\" class=\"dijitTreeRow\" waiRole=\"presentation\"\n\t\t><img src=\"${_blankGif}\" alt=\"\" dojoAttachPoint=\"expandoNode\" class=\"dijitTreeExpando\" waiRole=\"presentation\"\n\t\t><span dojoAttachPoint=\"expandoNodeText\" class=\"dijitExpandoText\" waiRole=\"presentation\"\n\t\t></span\n\t\t><span dojoAttachPoint=\"contentNode\" dojoAttachEvent=\"onmouseenter:_onMouseEnter, onmouseleave:_onMouseLeave\"\n\t\t\tclass=\"dijitTreeContent\" waiRole=\"presentation\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" dojoAttachPoint=\"iconNode\" class=\"dijitTreeIcon\" waiRole=\"presentation\"\n\t\t\t><span dojoAttachPoint=\"labelNode\" class=\"dijitTreeLabel\" wairole=\"treeitem\" tabindex=\"-1\" waiState=\"selected-false\" dojoAttachEvent=\"onfocus:_onNodeFocus\"></span>\n\t\t</span\n\t></div>\n\t<div dojoAttachPoint=\"containerNode\" class=\"dijitTreeContainer\" waiRole=\"presentation\" style=\"display: none;\"></div>\n</div>\n",postCreate:function(){this.setLabelNode(this.label);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){dijit.setWaiState(this.labelNode,"expanded",this.isExpanded);}},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_494=tree.model;if(tree._v10Compat&&item===_494.root){item=null;}this.iconNode.className="dijitTreeIcon "+tree.getIconClass(item,this.isExpanded);this.labelNode.className="dijitTreeLabel "+tree.getLabelClass(item,this.isExpanded);},_updateLayout:function(){var _495=this.getParent();if(!_495||_495.rowNode.style.display=="none"){dojo.addClass(this.domNode,"dijitTreeIsRoot");}else{dojo.toggleClass(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_496){var _497=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"];var _498=["*","-","+","*"];var idx=_496?0:(this.isExpandable?(this.isExpanded?1:2):3);dojo.forEach(_497,function(s){dojo.removeClass(this.expandoNode,s);},this);dojo.addClass(this.expandoNode,_497[idx]);this.expandoNodeText.innerHTML=_498[idx];},expand:function(){if(this.isExpanded){return;}this._wipeOut&&this._wipeOut.stop();this.isExpanded=true;dijit.setWaiState(this.labelNode,"expanded","true");dijit.setWaiRole(this.containerNode,"group");this.contentNode.className="dijitTreeContent dijitTreeContentExpanded";this._setExpando();this._updateItemClasses(this.item);if(!this._wipeIn){this._wipeIn=dojo.fx.wipeIn({node:this.containerNode,duration:dijit.defaultDuration});}this._wipeIn.play();},collapse:function(){if(!this.isExpanded){return;}this._wipeIn&&this._wipeIn.stop();this.isExpanded=false;dijit.setWaiState(this.labelNode,"expanded","false");this.contentNode.className="dijitTreeContent";this._setExpando();this._updateItemClasses(this.item);if(!this._wipeOut){this._wipeOut=dojo.fx.wipeOut({node:this.containerNode,duration:dijit.defaultDuration});}this._wipeOut.play();},setLabelNode:function(_49b){this.labelNode.innerHTML="";this.labelNode.appendChild(dojo.doc.createTextNode(_49b));},setChildItems:function(_49c){var tree=this.tree,_49e=tree.model;this.getChildren().forEach(function(_49f){dijit._Container.prototype.removeChild.call(this,_49f);},this);this.state="LOADED";if(_49c&&_49c.length>0){this.isExpandable=true;dojo.forEach(_49c,function(item){var id=_49e.getIdentity(item),_4a2=tree._itemNodeMap[id],node=(_4a2&&!_4a2.getParent())?_4a2:this.tree._createTreeNode({item:item,tree:tree,isExpandable:_49e.mayHaveChildren(item),label:tree.getLabel(item)});this.addChild(node);tree._itemNodeMap[id]=node;if(this.tree.persist){if(tree._openedItemIds[id]){tree._expandNode(node);}}},this);dojo.forEach(this.getChildren(),function(_4a4,idx){_4a4._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}if(this==tree.rootNode){var fc=this.tree.showRoot?this:this.getChildren()[0],_4a7=fc?fc.labelNode:this.domNode;_4a7.setAttribute("tabIndex","0");tree.lastFocused=fc;}},removeChild:function(node){this.inherited(arguments);var _4a9=this.getChildren();if(_4a9.length==0){this.isExpandable=false;this.collapse();}dojo.forEach(_4a9,function(_4aa){_4aa._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},_onNodeFocus:function(evt){var node=dijit.getEnclosingWidget(evt.target);this.tree._onTreeFocus(node);},_onMouseEnter:function(evt){dojo.addClass(this.contentNode,"dijitTreeNodeHover");},_onMouseLeave:function(evt){dojo.removeClass(this.contentNode,"dijitTreeNodeHover");}});dojo.declare("dijit.Tree",[dijit._Widget,dijit._Templated],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],openOnClick:false,templateString:"<div class=\"dijitTreeContainer\" waiRole=\"tree\"\n\tdojoAttachEvent=\"onclick:_onClick,onkeypress:_onKeyPress\">\n</div>\n",isExpandable:true,isTree:true,persist:true,dndController:null,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:0,_publish:function(_4af,_4b0){dojo.publish(this.id,[dojo.mixin({tree:this,event:_4af},_4b0||{})]);},postMixInProperties:function(){this.tree=this;this._itemNodeMap={};if(!this.cookieName){this.cookieName=this.id+"SaveStateCookie";}},postCreate:function(){if(this.persist){var _4b1=dojo.cookie(this.cookieName);this._openedItemIds={};if(_4b1){dojo.forEach(_4b1.split(","),function(item){this._openedItemIds[item]=true;},this);}}if(!this.model){this._store2model();}this.connect(this.model,"onChange","_onItemChange");this.connect(this.model,"onChildrenChange","_onItemChildrenChange");this.connect(this.model,"onDelete","_onItemDelete");this._load();this.inherited(arguments);if(this.dndController){if(dojo.isString(this.dndController)){this.dndController=dojo.getObject(this.dndController);}var _4b3={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_4b3[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_4b3);}},_store2model:function(){this._v10Compat=true;dojo.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _4b5={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_4b5.mayHaveChildren=dojo.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_4b5.getChildren=dojo.hitch(this,function(item,_4b7,_4b8){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_4b7,_4b8);});}this.model=new dijit.tree.ForestStoreModel(_4b5);this.showRoot=Boolean(this.label);},_load:function(){this.model.getRoot(dojo.hitch(this,function(item){var rn=this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item)});if(!this.showRoot){rn.rowNode.style.display="none";}this.domNode.appendChild(rn.domNode);this._itemNodeMap[this.model.getIdentity(item)]=rn;rn._updateLayout();this._expandNode(rn);}),function(err){console.error(this,": error loading root: ",err);});},mayHaveChildren:function(item){},getItemChildren:function(_4bd,_4be){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_4c1){return (!item||this.model.mayHaveChildren(item))?(_4c1?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(item,_4c3){},_onKeyPress:function(e){if(e.altKey){return;}var dk=dojo.keys;var _4c6=dijit.getEnclosingWidget(e.target);if(!_4c6){return;}var key=e.charOrCode;if(typeof key=="string"){if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){this._onLetterKeyNav({node:_4c6,key:key.toLowerCase()});dojo.stopEvent(e);}}else{var map=this._keyHandlerMap;if(!map){map={};map[dk.ENTER]="_onEnterKey";map[this.isLeftToRight()?dk.LEFT_ARROW:dk.RIGHT_ARROW]="_onLeftArrow";map[this.isLeftToRight()?dk.RIGHT_ARROW:dk.LEFT_ARROW]="_onRightArrow";map[dk.UP_ARROW]="_onUpArrow";map[dk.DOWN_ARROW]="_onDownArrow";map[dk.HOME]="_onHomeKey";map[dk.END]="_onEndKey";this._keyHandlerMap=map;}if(this._keyHandlerMap[key]){this[this._keyHandlerMap[key]]({node:_4c6,item:_4c6.item});dojo.stopEvent(e);}}},_onEnterKey:function(_4c9){this._publish("execute",{item:_4c9.item,node:_4c9.node});this.onClick(_4c9.item,_4c9.node);},_onDownArrow:function(_4ca){var node=this._getNextNode(_4ca.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_4cc){var node=_4cc.node;var _4ce=node.getPreviousSibling();if(_4ce){node=_4ce;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _4cf=node.getChildren();node=_4cf[_4cf.length-1];}}else{var _4d0=node.getParent();if(!(!this.showRoot&&_4d0===this.rootNode)){node=_4d0;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_4d1){var node=_4d1.node;if(node.isExpandable&&!node.isExpanded){this._expandNode(node);}else{if(node.hasChildren()){node=node.getChildren()[0];if(node&&node.isTreeNode){this.focusNode(node);}}}},_onLeftArrow:function(_4d3){var node=_4d3.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _4d5=node.getParent();if(_4d5&&_4d5.isTreeNode&&!(!this.showRoot&&_4d5===this.rootNode)){this.focusNode(_4d5);}}},_onHomeKey:function(){var node=this._getRootOrFirstNode();if(node){this.focusNode(node);}},_onEndKey:function(_4d7){var node=this;while(node.isExpanded){var c=node.getChildren();node=c[c.length-1];}if(node&&node.isTreeNode){this.focusNode(node);}},_onLetterKeyNav:function(_4da){var node=_4da.node,_4dc=node,key=_4da.key;do{node=this._getNextNode(node);if(!node){node=this._getRootOrFirstNode();}}while(node!==_4dc&&(node.label.charAt(0).toLowerCase()!=key));if(node&&node.isTreeNode){if(node!==_4dc){this.focusNode(node);}}},_onClick:function(e){var _4df=e.target;var _4e0=dijit.getEnclosingWidget(_4df);if(!_4e0||!_4e0.isTreeNode){return;}if((this.openOnClick&&_4e0.isExpandable)||(_4df==_4e0.expandoNode||_4df==_4e0.expandoNodeText)){if(_4e0.isExpandable){this._onExpandoClick({node:_4e0});}}else{this._publish("execute",{item:_4e0.item,node:_4e0});this.onClick(_4e0.item,_4e0);this.focusNode(_4e0);}dojo.stopEvent(e);},_onExpandoClick:function(_4e1){var node=_4e1.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(item,node){},onOpen:function(item,node){},onClose:function(item,node){},_getNextNode:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _4ea=node.getNextSibling();if(_4ea){return _4ea;}node=node.getParent();}return null;}},_getRootOrFirstNode:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_collapseNode:function(node){if(node.isExpandable){if(node.state=="LOADING"){return;}node.collapse();this.onClose(node.item,node);if(this.persist&&node.item){delete this._openedItemIds[this.model.getIdentity(node.item)];this._saveState();}}},_expandNode:function(node){if(!node.isExpandable){return;}var _4ed=this.model,item=node.item;switch(node.state){case "LOADING":return;case "UNCHECKED":node.markProcessing();var _4ef=this;_4ed.getChildren(item,function(_4f0){node.unmarkProcessing();node.setChildItems(_4f0);_4ef._expandNode(node);},function(err){console.error(_4ef,": error loading root children: ",err);});break;default:node.expand();this.onOpen(node.item,node);if(this.persist&&item){this._openedItemIds[_4ed.getIdentity(item)]=true;this._saveState();}}},blurNode:function(){var node=this.lastFocused;if(!node){return;}var _4f3=node.labelNode;dojo.removeClass(_4f3,"dijitTreeLabelFocused");_4f3.setAttribute("tabIndex","-1");dijit.setWaiState(_4f3,"selected",false);this.lastFocused=null;},focusNode:function(node){node.labelNode.focus();},_onBlur:function(){this.inherited(arguments);if(this.lastFocused){var _4f5=this.lastFocused.labelNode;dojo.removeClass(_4f5,"dijitTreeLabelFocused");}},_onTreeFocus:function(node){if(node){if(node!=this.lastFocused){this.blurNode();}var _4f7=node.labelNode;_4f7.setAttribute("tabIndex","0");dijit.setWaiState(_4f7,"selected",true);dojo.addClass(_4f7,"dijitTreeLabelFocused");this.lastFocused=node;}},_onItemDelete:function(item){var _4f9=this.model.getIdentity(item);var node=this._itemNodeMap[_4f9];if(node){var _4fb=node.getParent();if(_4fb){_4fb.removeChild(node);}delete this._itemNodeMap[_4f9];node.destroyRecursive();}},_onItemChange:function(item){var _4fd=this.model,_4fe=_4fd.getIdentity(item),node=this._itemNodeMap[_4fe];if(node){node.setLabelNode(this.getLabel(item));node._updateItemClasses(item);}},_onItemChildrenChange:function(_500,_501){var _502=this.model,_503=_502.getIdentity(_500),_504=this._itemNodeMap[_503];if(_504){_504.setChildItems(_501);}},_onItemDelete:function(item){var _506=this.model,_507=_506.getIdentity(item),node=this._itemNodeMap[_507];if(node){node.destroyRecursive();delete this._itemNodeMap[_507];}},_saveState:function(){if(!this.persist){return;}var ary=[];for(var id in this._openedItemIds){ary.push(id);}dojo.cookie(this.cookieName,ary.join(","),{expires:365});},destroy:function(){if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!dojo.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},_createTreeNode:function(args){return new dijit._TreeNode(args);}});dojo.declare("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],labelAttr:"",root:null,query:null,constructor:function(args){dojo.mixin(this,args);this.connects=[];var _50d=this.store;if(!_50d.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.Tree: store must support dojo.data.Identity");}if(_50d.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([dojo.connect(_50d,"onNew",this,"_onNewItem"),dojo.connect(_50d,"onDelete",this,"_onDeleteItem"),dojo.connect(_50d,"onSet",this,"_onSetItem")]);}},destroy:function(){dojo.forEach(this.connects,dojo.disconnect);},getRoot:function(_50e,_50f){if(this.root){_50e(this.root);}else{this.store.fetch({query:this.query,onComplete:dojo.hitch(this,function(_510){if(_510.length!=1){throw new Error(this.declaredClass+": query "+dojo.toJson(this.query)+" returned "+_510.length+" items, but must return exactly one item");}this.root=_510[0];_50e(this.root);}),onError:_50f});}},mayHaveChildren:function(item){return dojo.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_513,_514,_515){var _516=this.store;var _517=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_516.getValues(_513,this.childrenAttrs[i]);_517=_517.concat(vals);}var _51a=0;dojo.forEach(_517,function(item){if(!_516.isItemLoaded(item)){_51a++;}});if(_51a==0){_514(_517);}else{var _51c=function _51c(item){if(--_51a==0){_514(_517);}};dojo.forEach(_517,function(item){if(!_516.isItemLoaded(item)){_516.loadItem({item:item,onItem:_51c,onError:_515});}});}},getIdentity:function(item){return this.store.getIdentity(item);},getLabel:function(item){if(this.labelAttr){return this.store.getValue(item,this.labelAttr);}else{return this.store.getLabel(item);}},newItem:function(args,_522){var _523={parent:_522,attribute:this.childrenAttrs[0]};return this.store.newItem(args,_523);},pasteItem:function(_524,_525,_526,_527){var _528=this.store,_529=this.childrenAttrs[0];if(_525){dojo.forEach(this.childrenAttrs,function(attr){if(_528.containsValue(_525,attr,_524)){if(!_527){var _52b=dojo.filter(_528.getValues(_525,attr),function(x){return x!=_524;});_528.setValues(_525,attr,_52b);}_529=attr;}});}if(_526){_528.setValues(_526,_529,_528.getValues(_526,_529).concat(_524));}},onChange:function(item){},onChildrenChange:function(_52e,_52f){},onDelete:function(_530,_531){},_onNewItem:function(item,_533){if(!_533){return;}this.getChildren(_533.item,dojo.hitch(this,function(_534){this.onChildrenChange(_533.item,_534);}));},_onDeleteItem:function(item){this.onDelete(item);},_onSetItem:function(item,_537,_538,_539){if(dojo.indexOf(this.childrenAttrs,_537)!=-1){this.getChildren(item,dojo.hitch(this,function(_53a){this.onChildrenChange(item,_53a);}));}else{this.onChange(item);}}});dojo.declare("dijit.tree.ForestStoreModel",dijit.tree.TreeStoreModel,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_53b){this.root={store:this,root:true,id:_53b.rootId,label:_53b.rootLabel,children:_53b.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_53d,_53e,_53f){if(_53d===this.root){if(this.root.children){_53e(this.root.children);}else{this.store.fetch({query:this.query,onComplete:dojo.hitch(this,function(_540){this.root.children=_540;_53e(_540);}),onError:_53f});}}else{this.inherited(arguments);}},getIdentity:function(item){return (item===this.root)?this.root.id:this.inherited(arguments);},getLabel:function(item){return (item===this.root)?this.root.label:this.inherited(arguments);},newItem:function(args,_544){if(_544===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(args){},pasteItem:function(_546,_547,_548,_549){if(_547===this.root){if(!_549){this.onLeaveRoot(_546);}}dijit.tree.TreeStoreModel.prototype.pasteItem.call(this,_546,_547===this.root?null:_547,_548===this.root?null:_548);if(_548===this.root){this.onAddToRoot(_546);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _54c=this.root.children||[];this.store.fetch({query:this.query,onComplete:dojo.hitch(this,function(_54d){this.root.children=_54d;if(_54c.length!=_54d.length||dojo.some(_54c,function(item,idx){return _54d[idx]!=item;})){this.onChildrenChange(this.root,_54d);}})});},_onNewItem:function(item,_551){this._requeryTop();this.inherited(arguments);},_onDeleteItem:function(item){if(dojo.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form.TextBox"]){dojo._hasResource["dijit.form.TextBox"]=true;dojo.provide("dijit.form.TextBox");dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",templateString:"<input class=\"dijit dijitReset dijitLeft\" dojoAttachPoint='textbox,focusNode' name=\"${name}\"\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse,onfocus:_onMouse,onblur:_onMouse,onkeypress:_onKeyPress'\n\tautocomplete=\"off\" type=\"${type}\"\n\t/>\n",baseClass:"dijitTextBox",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormValueWidget.prototype.attributeMap),{maxLength:"focusNode"}),_getValueAttr:function(){return this.parse(this.attr("displayedValue"),this.constraints);},_setValueAttr:function(_553,_554,_555){var _556;if(_553!==undefined){_556=this.filter(_553);if(_556!==null&&((typeof _556!="number")||!isNaN(_556))){if(typeof _555!="string"){_555=this.format(_556,this.constraints);}}else{_555="";}}if(_555!=null&&_555!=undefined){this.textbox.value=_555;}dijit.form.TextBox.superclass._setValueAttr.call(this,_556,_554);},displayedValue:"",getDisplayedValue:function(){dojo.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use attr('displayedValue') instead.","","2.0");return this.attr("displayedValue");},_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},setDisplayedValue:function(_557){dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use attr('displayedValue', ...) instead.","","2.0");this.attr("displayedValue",_557);},_setDisplayedValueAttr:function(_558){this.textbox.value=_558;this._setValueAttr(this.attr("value"));},format:function(_559,_55a){return ((_559==null||_559==undefined)?"":(_559.toString?_559.toString():_559));},parse:function(_55b,_55c){return _55b;},postCreate:function(){this.textbox.setAttribute("value",this.attr("displayedValue"));this.inherited(arguments);this._layoutHack();},filter:function(val){if(typeof val!="string"){return val;}if(this.trim){val=dojo.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.attr("value"),(this.isValid?this.isValid():true));},_onBlur:function(){this._setBlurValue();this.inherited(arguments);}});dijit.selectInputText=function(_55f,_560,stop){var _562=dojo.global;var _563=dojo.doc;_55f=dojo.byId(_55f);if(isNaN(_560)){_560=0;}if(isNaN(stop)){stop=_55f.value?_55f.value.length:0;}_55f.focus();if(_563["selection"]&&dojo.body()["createTextRange"]){if(_55f.createTextRange){var _564=_55f.createTextRange();with(_564){collapse(true);moveStart("character",_560);moveEnd("character",stop);select();}}}else{if(_562["getSelection"]){var _565=_562.getSelection();if(_55f.setSelectionRange){_55f.setSelectionRange(_560,stop);}}}};}if(!dojo._hasResource["dijit.InlineEditBox"]){dojo._hasResource["dijit.InlineEditBox"]=true;dojo.provide("dijit.InlineEditBox");dojo.declare("dijit.InlineEditBox",dijit._Widget,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:"dijit.form.TextBox",editorParams:{},onChange:function(_566){},onCancel:function(){},width:"100%",value:"",noValueIndicator:"<span style='font-family: wingdings; text-decoration: underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&#x270d;&nbsp;&nbsp;&nbsp;&nbsp;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;var _567={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _567){this.connect(this.displayNode,name,_567[name]);}dijit.setWaiRole(this.displayNode,"button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}this.attr("value",this.value||this.displayNode.innerHTML);},setDisabled:function(_569){dojo.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use attr('disabled', bool) instead.","","2.0");this.attr("disabled",_569);},_setDisabledAttr:function(_56a){this.disabled=_56a;dijit.setWaiState(this.domNode,"disabled",_56a);},_onMouseOver:function(){dojo.addClass(this.displayNode,this.disabled?"dijitDisabledClickableRegion":"dijitClickableRegion");},_onMouseOut:function(){dojo.removeClass(this.displayNode,this.disabled?"dijitDisabledClickableRegion":"dijitClickableRegion");},_onClick:function(e){if(this.disabled){return;}if(e){dojo.stopEvent(e);}this._onMouseOut();setTimeout(dojo.hitch(this,"edit"),0);},edit:function(){if(this.disabled||this.editing){return;}this.editing=true;var _56c=(this.renderAsHtml?this.value:this.value.replace(/\s*\r?\n\s*/g,"").replace(/<br\/?>/gi,"\n").replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&amp;/g,"&").replace(/&quot;/g,"\""));var _56d=dojo.doc.createElement("span");dojo.place(_56d,this.domNode,"before");var ew=this.editWidget=new dijit._InlineEditor({value:dojo.trim(_56c),autoSave:this.autoSave,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,renderAsHtml:this.renderAsHtml,editor:this.editor,editorParams:this.editorParams,style:dojo.getComputedStyle(this.displayNode),save:dojo.hitch(this,"save"),cancel:dojo.hitch(this,"cancel"),width:this.width},_56d);var ews=ew.domNode.style;this.displayNode.style.display="none";ews.position="static";ews.visibility="visible";this.domNode=ew.domNode;setTimeout(function(){if(ew.editWidget._resetValue===undefined){ew.editWidget._resetValue=ew.getValue();}ew.focus();},100);},_showText:function(_570){this.displayNode.style.display="";var ew=this.editWidget;var ews=ew.domNode.style;ews.position="absolute";ews.visibility="hidden";this.domNode=this.displayNode;if(_570){dijit.focus(this.displayNode);}ews.display="none";setTimeout(function(){ew.destroy();delete ew;if(dojo.isIE){dijit.focus(dijit.getFocus());}},1000);},save:function(_573){if(this.disabled||!this.editing){return;}this.editing=false;var _574=this.editWidget.getValue()+"";this.attr("value",this.renderAsHtml?_574:_574.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>"));this.onChange(_574);this._showText(_573);},setValue:function(val){dojo.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use attr('value', ...) instead.","","2.0");return this.attr("value",val);},_setValueAttr:function(val){this.value=val;this.displayNode.innerHTML=dojo.trim(val)||this.noValueIndicator;},getValue:function(){dojo.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use attr('value') instead.","","2.0");return this.attr("value");},cancel:function(_577){this.editing=false;this.onCancel();this._showText(_577);}});dojo.declare("dijit._InlineEditor",[dijit._Widget,dijit._Templated],{templateString:"<span dojoAttachPoint=\"editNode\" waiRole=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdojoAttachEvent=\"onkeypress: _onKeyPress\" \n\t><span dojoAttachPoint=\"editorPlaceholder\"></span\n\t><span dojoAttachPoint=\"buttonContainer\"\n\t\t><button class='saveButton' dojoAttachPoint=\"saveButton\" dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick:save\" disabled=\"true\" label=\"${buttonSave}\"></button\n\t\t><button class='cancelButton' dojoAttachPoint=\"cancelButton\" dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick:cancel\" label=\"${buttonCancel}\"></button\n\t></span\n></span>\n",widgetsInTemplate:true,postMixInProperties:function(){this.inherited(arguments);this.messages=dojo.i18n.getLocalization("dijit","common",this.lang);dojo.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},postCreate:function(){var cls=dojo.getObject(this.editor);var _57a=this.style;var _57b="line-height:"+_57a.lineHeight+";";dojo.forEach(["Weight","Family","Size","Style"],function(prop){_57b+="font-"+prop+":"+_57a["font"+prop]+";";},this);dojo.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_57a[prop];},this);if(this.width=="100%"){_57b+="width:100%;";this.domNode.style.display="block";}else{_57b+="width:"+(this.width+(Number(this.width)==this.width?"px":""))+";";}this.editorParams.style=_57b;this.editorParams["displayedValue" in cls.prototype?"displayedValue":"value"]=this.value;var ew=this.editWidget=new cls(this.editorParams,this.editorPlaceholder);this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");if(this.autoSave){this.buttonContainer.style.display="none";}},destroy:function(){this.editWidget.destroy();this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return ew.attr("displayedValue" in ew?"displayedValue":"value");},_onKeyPress:function(e){if(this._exitInProgress){return;}if(this.autoSave){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==dojo.keys.ESCAPE){dojo.stopEvent(e);this._exitInProgress=true;this.cancel(true);}else{if(e.charOrCode==dojo.keys.ENTER){dojo.stopEvent(e);this._exitInProgress=true;this.save(true);}else{if(e.charOrCode===dojo.keys.TAB){this._exitInProgress=true;setTimeout(dojo.hitch(this,"save",false),0);}}}}else{var _581=this;setTimeout(function(){_581.saveButton.attr("disabled",_581.getValue()==_581.editWidget._resetValue);},100);}},_onBlur:function(){this.inherited(arguments);if(this._exitInProgress){return;}if(this.autoSave){this._exitInProgress=true;if(this.getValue()==this.editWidget._resetValue){this.cancel(false);}else{this.save(false);}}},_onChange:function(){if(this._exitInProgress){return;}if(this.autoSave){this._exitInProgress=true;this.save(true);}else{this.saveButton.attr("disabled",(this.getValue()==this.editWidget._resetValue)||!this.enableSave());}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();dijit.selectInputText(this.editWidget.focusNode);}});}if(!dojo._hasResource["dijit.form.CheckBox"]){dojo._hasResource["dijit.form.CheckBox"]=true;dojo.provide("dijit.form.CheckBox");dojo.declare("dijit.form.CheckBox",dijit.form.ToggleButton,{templateString:"<div class=\"dijitReset dijitInline\" waiRole=\"presentation\"\n\t><input\n\t \ttype=\"${type}\" name=\"${name}\"\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdojoAttachPoint=\"focusNode\"\n\t \tdojoAttachEvent=\"onmouseover:_onMouse,onmouseout:_onMouse,onclick:_onClick\"\n/></div>\n",baseClass:"dijitCheckBox",type:"checkbox",value:"on",_setValueAttr:function(_582){if(typeof _582=="string"){this.value=_582;dojo.attr(this.focusNode,"value",_582);_582=true;}if(this._created){this.attr("checked",_582);}},_getValueAttr:function(){return (this.checked?this.value:false);},postMixInProperties:function(){if(this.value==""){this.value="on";}this.inherited(arguments);},_fillContent:function(_583){},reset:function(){this._hasBeenBlurred=false;this.attr("checked",this.params.checked||false);this.value=this.params.value||"on";dojo.attr(this.focusNode,"value",this.value);},_onFocus:function(){if(this.id){dojo.query("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}},_onBlur:function(){if(this.id){dojo.query("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}}});dojo.declare("dijit.form.RadioButton",dijit.form.CheckBox,{type:"radio",baseClass:"dijitRadio",_setCheckedAttr:function(_584){this.inherited(arguments);if(!this._created){return;}if(_584){var _585=this;dojo.query("INPUT[type=radio][name="+this.name+"]",this.focusNode.form||dojo.doc).forEach(function(_586){if(_586!=_585.focusNode&&_586.form==_585.focusNode.form){var _587=dijit.getEnclosingWidget(_586);if(_587&&_587.checked){_587.attr("checked",false);}}});}},_clicked:function(e){if(!this.checked){this.attr("checked",true);}}});}if(!dojo._hasResource["dijit.form.ValidationTextBox"]){dojo._hasResource["dijit.form.ValidationTextBox"]=true;dojo.provide("dijit.form.ValidationTextBox");dojo.declare("dijit.form.ValidationTextBox",dijit.form.TextBox,{templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" waiRole=\"presentation\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input class=\"dijitReset\" dojoAttachPoint='textbox,focusNode' dojoAttachEvent='onfocus:_update,onkeyup:_update,onblur:_onMouse,onkeypress:_onKeyPress' autocomplete=\"off\"\n\t\t\ttype='${type}' name='${name}'\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",constraints:{},regExp:".*",regExpGen:function(_589){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this._focused);},validator:function(_58a,_58b){return (new RegExp("^(?:"+this.regExpGen(_58b)+")"+(this.required?"":"?")+"$")).test(_58a)&&(!this.required||!this._isEmpty(_58a))&&(this._isEmpty(_58a)||this.parse(_58a,_58b)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(_58c){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_58d){return /^\s*$/.test(_58d);},getErrorMessage:function(_58e){return this.invalidMessage;},getPromptMessage:function(_58f){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_590){var _591="";var _592=this.disabled||this.isValid(_590);if(_592){this._maskValidSubsetError=true;}var _593=!_592&&_590&&this._isValidSubset();var _594=this._isEmpty(this.textbox.value);this.state=(_592||(!this._hasBeenBlurred&&_594)||_593)?"":"Error";if(this.state=="Error"){this._maskValidSubsetError=false;}this._setStateClass();dijit.setWaiState(this.focusNode,"invalid",_592?"false":"true");if(_590){if(_594){_591=this.getPromptMessage(true);}if(!_591&&(this.state=="Error"||(_593&&!this._maskValidSubsetError))){_591=this.getErrorMessage(true);}}this.displayMessage(_591);return _592;},_message:"",displayMessage:function(_595){if(this._message==_595){return;}this._message=_595;dijit.hideTooltip(this.domNode);if(_595){dijit.showTooltip(_595,this.domNode,this.tooltipPosition);}},_refreshState:function(){this.validate(this._focused);},_update:function(e){this._refreshState();this._onMouse(e);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this.constraints.locale=this.lang;this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}var p=this.regExpGen(this.constraints);this.regExp=p;var _598="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_598+=re;break;case ")":_598+="|$)";break;default:_598+="(?:"+re+"|$)";break;}});}try{"".search(_598);}catch(e){_598=this.regExp;}this._partialre="^(?:"+_598+")$";},_setDisabledAttr:function(_59a){this.inherited(arguments);if(this.valueNode){this.valueNode.disabled=_59a;}this._refreshState();},_setRequiredAttr:function(_59b){this.required=_59b;dijit.setWaiState(this.focusNode,"required",_59b);this._refreshState();},postCreate:function(){if(dojo.isIE){var s=dojo.getComputedStyle(this.focusNode);if(s){var ff=s.fontFamily;if(ff){this.focusNode.style.fontFamily=ff;}}}this.inherited(arguments);}});dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{serialize:function(val,_59f){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.attr("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);var _5a1=this.textbox;var _5a2=(this.valueNode=dojo.doc.createElement("input"));_5a2.setAttribute("type",_5a1.type);dojo.style(_5a2,"display","none");this.valueNode.name=this.textbox.name;dojo.place(_5a2,_5a1,"after");this.textbox.name=this.textbox.name+"_displayed_";this.textbox.removeAttribute("name");},_setDisabledAttr:function(_5a3){this.inherited(arguments);dojo.attr(this.valueNode,"disabled",_5a3);}});dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",rangeCheck:function(_5a4,_5a5){var _5a6="min" in _5a5;var _5a7="max" in _5a5;if(_5a6||_5a7){return (!_5a6||this.compare(_5a4,_5a5.min)>=0)&&(!_5a7||this.compare(_5a4,_5a5.max)<=0);}return true;},isInRange:function(_5a8){return this.rangeCheck(this.attr("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.attr("value");var _5aa=false;var _5ab=false;if("min" in this.constraints){var min=this.constraints.min;val=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_5aa=(typeof val=="number")&&val<0;}if("max" in this.constraints){var max=this.constraints.max;val=this.compare(val,((typeof max!="number")||max>0)?max:0);_5ab=(typeof val=="number")&&val>0;}return _5aa||_5ab;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_5ae){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_5ae));},getErrorMessage:function(_5af){if(dijit.form.RangeBoundTextBox.superclass.isValid.call(this,false)&&!this.isInRange(_5af)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},postCreate:function(){this.inherited(arguments);if(this.constraints.min!==undefined){dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);}if(this.constraints.max!==undefined){dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);}},_setValueAttr:function(_5b0,_5b1){dijit.setWaiState(this.focusNode,"valuenow",_5b0);this.inherited(arguments);}});}if(!dojo._hasResource["dojo.data.util.sorter"]){dojo._hasResource["dojo.data.util.sorter"]=true;dojo.provide("dojo.data.util.sorter");dojo.data.util.sorter.basicComparator=function(a,b){var ret=0;if(a>b||typeof a==="undefined"||a===null){ret=1;}else{if(a<b||typeof b==="undefined"||b===null){ret=-1;}}return ret;};dojo.data.util.sorter.createSortFunction=function(_5b5,_5b6){var _5b7=[];function createSortFunction(attr,dir){return function(_5ba,_5bb){var a=_5b6.getValue(_5ba,attr);var b=_5b6.getValue(_5bb,attr);var _5be=null;if(_5b6.comparatorMap){if(typeof attr!=="string"){attr=_5b6.getIdentity(attr);}_5be=_5b6.comparatorMap[attr]||dojo.data.util.sorter.basicComparator;}_5be=_5be||dojo.data.util.sorter.basicComparator;return dir*_5be(a,b);};};var _5bf;for(var i=0;i<_5b5.length;i++){_5bf=_5b5[i];if(_5bf.attribute){var _5c1=(_5bf.descending)?-1:1;_5b7.push(createSortFunction(_5bf.attribute,_5c1));}}return function(rowA,rowB){var i=0;while(i<_5b7.length){var ret=_5b7[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};}if(!dojo._hasResource["dojo.data.util.simpleFetch"]){dojo._hasResource["dojo.data.util.simpleFetch"]=true;dojo.provide("dojo.data.util.simpleFetch");dojo.data.util.simpleFetch.fetch=function(_5c6){_5c6=_5c6||{};if(!_5c6.store){_5c6.store=this;}var self=this;var _5c8=function(_5c9,_5ca){if(_5ca.onError){var _5cb=_5ca.scope||dojo.global;_5ca.onError.call(_5cb,_5c9,_5ca);}};var _5cc=function(_5cd,_5ce){var _5cf=_5ce.abort||null;var _5d0=false;var _5d1=_5ce.start?_5ce.start:0;var _5d2=(_5ce.count&&(_5ce.count!==Infinity))?(_5d1+_5ce.count):_5cd.length;_5ce.abort=function(){_5d0=true;if(_5cf){_5cf.call(_5ce);}};var _5d3=_5ce.scope||dojo.global;if(!_5ce.store){_5ce.store=self;}if(_5ce.onBegin){_5ce.onBegin.call(_5d3,_5cd.length,_5ce);}if(_5ce.sort){_5cd.sort(dojo.data.util.sorter.createSortFunction(_5ce.sort,self));}if(_5ce.onItem){for(var i=_5d1;(i<_5cd.length)&&(i<_5d2);++i){var item=_5cd[i];if(!_5d0){_5ce.onItem.call(_5d3,item,_5ce);}}}if(_5ce.onComplete&&!_5d0){var _5d6=null;if(!_5ce.onItem){_5d6=_5cd.slice(_5d1,_5d2);}_5ce.onComplete.call(_5d3,_5d6,_5ce);}};this._fetchItems(_5c6,_5cc,_5c8);return _5c6;};}if(!dojo._hasResource["dojo.data.util.filter"]){dojo._hasResource["dojo.data.util.filter"]=true;dojo.provide("dojo.data.util.filter");dojo.data.util.filter.patternToRegExp=function(_5d7,_5d8){var rxp="^";var c=null;for(var i=0;i<_5d7.length;i++){c=_5d7.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_5d7.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_5d8){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};}if(!dojo._hasResource["dijit.form.ComboBox"]){dojo._hasResource["dijit.form.ComboBox"]=true;dojo.provide("dijit.form.ComboBox");dojo.declare("dijit.form.ComboBoxMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,hasDownArrow:true,templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" dojoAttachPoint=\"comboNode\" waiRole=\"combobox\" tabIndex=\"-1\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"downArrowNode\" waiRole=\"presentation\"\n\t\t\tdojoAttachEvent=\"onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t><div class=\"dijitArrowButtonInner\">&thinsp;</div\n\t\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div\n\t\t></div\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input type=\"text\" autocomplete=\"off\" name=\"${name}\" class='dijitReset'\n\t\t\tdojoAttachEvent=\"onkeypress:_onKeyPress, onfocus:_update, compositionend\"\n\t\t\tdojoAttachPoint=\"textbox,focusNode\" waiRole=\"textbox\" waiState=\"haspopup-true,autocomplete-list\"\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitComboBox",_getCaretPos:function(_5dc){var pos=0;if(typeof (_5dc.selectionStart)=="number"){pos=_5dc.selectionStart;}else{if(dojo.isIE){var tr=dojo.doc.selection.createRange().duplicate();var ntr=_5dc.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_5e0,_5e1){_5e1=parseInt(_5e1);dijit.selectInputText(_5e0,_5e1,_5e1);},_setDisabledAttr:function(_5e2){dijit.setWaiState(this.comboNode,"disabled",_5e2);},_onKeyPress:function(evt){var key=evt.charOrCode;if(evt.altKey||(evt.ctrlKey&&(key!="x"&&key!="v"))||evt.key==dojo.keys.SHIFT){return;}var _5e5=false;var pw=this._popupWidget;var dk=dojo.keys;if(this._isShowingNow){pw.handleKey(key);}switch(key){case dk.PAGE_DOWN:case dk.DOWN_ARROW:if(!this._isShowingNow||this._prev_key_esc){this._arrowPressed();_5e5=true;}else{this._announceOption(pw.getHighlightedOption());}dojo.stopEvent(evt);this._prev_key_backspace=false;this._prev_key_esc=false;break;case dk.PAGE_UP:case dk.UP_ARROW:if(this._isShowingNow){this._announceOption(pw.getHighlightedOption());}dojo.stopEvent(evt);this._prev_key_backspace=false;this._prev_key_esc=false;break;case dk.ENTER:var _5e8;if(this._isShowingNow&&(_5e8=pw.getHighlightedOption())){if(_5e8==pw.nextButton){this._nextSearch(1);dojo.stopEvent(evt);break;}else{if(_5e8==pw.previousButton){this._nextSearch(-1);dojo.stopEvent(evt);break;}}}else{this._setDisplayedValueAttr(this.attr("displayedValue"),true);}evt.preventDefault();case dk.TAB:var _5e9=this.attr("displayedValue");if(pw&&(_5e9==pw._messages["previousMessage"]||_5e9==pw._messages["nextMessage"])){break;}if(this._isShowingNow){this._prev_key_backspace=false;this._prev_key_esc=false;if(pw.getHighlightedOption()){pw.attr("value",{target:pw.getHighlightedOption()});}this._lastQuery=null;this._hideResultList();}break;case " ":this._prev_key_backspace=false;this._prev_key_esc=false;if(this._isShowingNow&&pw.getHighlightedOption()){dojo.stopEvent(evt);this._selectOption();this._hideResultList();}else{_5e5=true;}break;case dk.ESCAPE:this._prev_key_backspace=false;this._prev_key_esc=true;if(this._isShowingNow){dojo.stopEvent(evt);this._hideResultList();}else{this.inherited(arguments);}break;case dk.DELETE:case dk.BACKSPACE:this._prev_key_esc=false;this._prev_key_backspace=true;_5e5=true;break;case dk.RIGHT_ARROW:case dk.LEFT_ARROW:this._prev_key_backspace=false;this._prev_key_esc=false;break;default:this._prev_key_backspace=false;this._prev_key_esc=false;_5e5=typeof key=="string";}if(this.searchTimer){clearTimeout(this.searchTimer);}if(_5e5){setTimeout(dojo.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(text){var fn=this.focusNode;dijit.selectInputText(fn,fn.value.length);var _5ec=this.ignoreCase?"toLowerCase":"substr";if(text[_5ec](0).indexOf(this.focusNode.value[_5ec](0))==0){var cpos=this._getCaretPos(fn);if((cpos+1)>fn.value.length){fn.value=text;dijit.selectInputText(fn,cpos);}}else{fn.value=text;dijit.selectInputText(fn);}},_openResultList:function(_5ee,_5ef){if(this.disabled||this.readOnly||(_5ef.query[this.searchAttr]!=this._lastQuery)){return;}this._popupWidget.clearResultList();if(!_5ee.length){this._hideResultList();return;}var _5f0=new String(this.store.getValue(_5ee[0],this.searchAttr));if(_5f0&&this.autoComplete&&!this._prev_key_backspace&&(_5ef.query[this.searchAttr]!="*")){this._autoCompleteText(_5f0);}_5ef._maxOptions=this._maxOptions;this._popupWidget.createOptions(_5ee,_5ef,dojo.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_5ef.direction){if(1==_5ef.direction){this._popupWidget.highlightFirstOption();}else{if(-1==_5ef.direction){this._popupWidget.highlightLastOption();}}this._announceOption(this._popupWidget.getHighlightedOption());}},_showResultList:function(){this._hideResultList();var _5f1=this._popupWidget.getItems(),_5f2=Math.min(_5f1.length,this.maxListLength);this._arrowPressed();this.displayMessage("");dojo.style(this._popupWidget.domNode,{width:"",height:""});var best=this.open();var _5f4=dojo.marginBox(this._popupWidget.domNode);this._popupWidget.domNode.style.overflow=((best.h==_5f4.h)&&(best.w==_5f4.w))?"hidden":"auto";var _5f5=best.w;if(best.h<this._popupWidget.domNode.scrollHeight){_5f5+=16;}dojo.marginBox(this._popupWidget.domNode,{h:best.h,w:Math.max(_5f5,this.domNode.offsetWidth)});dijit.setWaiState(this.comboNode,"expanded","true");},_hideResultList:function(){if(this._isShowingNow){dijit.popup.close(this._popupWidget);this._arrowIdle();this._isShowingNow=false;dijit.setWaiState(this.comboNode,"expanded","false");dijit.removeWaiState(this.focusNode,"activedescendant");}},_setBlurValue:function(){var _5f6=this.attr("displayedValue");var pw=this._popupWidget;if(pw&&(_5f6==pw._messages["previousMessage"]||_5f6==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{this.attr("displayedValue",_5f6);}},_onBlur:function(){this._hideResultList();this._arrowIdle();this.inherited(arguments);},_announceOption:function(node){if(node==null){return;}var _5f9;if(node==this._popupWidget.nextButton||node==this._popupWidget.previousButton){_5f9=node.innerHTML;}else{_5f9=this.store.getValue(node.item,this.searchAttr);}this.focusNode.value=this.focusNode.value.substring(0,this._getCaretPos(this.focusNode));dijit.setWaiState(this.focusNode,"activedescendant",dojo.attr(node,"id"));this._autoCompleteText(_5f9);},_selectOption:function(evt){var tgt=null;if(!evt){evt={target:this._popupWidget.getHighlightedOption()};}if(!evt.target){this.attr("displayedValue",this.attr("displayedValue"));return;}else{tgt=evt.target;}if(!evt.noHide){this._hideResultList();this._setCaretPos(this.focusNode,this.store.getValue(tgt.item,this.searchAttr).length);}this._doSelect(tgt);},_doSelect:function(tgt){this.item=tgt.item;this.attr("value",this.store.getValue(tgt.item,this.searchAttr));},_onArrowMouseDown:function(evt){if(this.disabled||this.readOnly){return;}dojo.stopEvent(evt);this.focus();if(this._isShowingNow){this._hideResultList();}else{this._startSearch("");}},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_getQueryString:function(text){return dojo.string.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this._popupWidget){var _600=this.id+"_popup";this._popupWidget=new dijit.form._ComboBoxMenu({onChange:dojo.hitch(this,this._selectOption),id:_600});dijit.removeWaiState(this.focusNode,"activedescendant");dijit.setWaiState(this.textbox,"owns",_600);}this.item=null;var _601=dojo.clone(this.query);this._lastInput=key;this._lastQuery=_601[this.searchAttr]=this._getQueryString(key);this.searchTimer=setTimeout(dojo.hitch(this,function(_602,_603){var _604={queryOptions:{ignoreCase:this.ignoreCase,deep:true},query:_602,onBegin:dojo.hitch(this,"_setMaxOptions"),onComplete:dojo.hitch(this,"_openResultList"),onError:function(_605){console.error("dijit.form.ComboBox: "+_605);dojo.hitch(_603,"_hideResultList")();},start:0,count:this.pageSize};dojo.mixin(_604,_603.fetchProperties);var _606=_603.store.fetch(_604);var _607=function(_608,_609){_608.start+=_608.count*_609;_608.direction=_609;this.store.fetch(_608);};this._nextSearch=this._popupWidget.onPage=dojo.hitch(this,_607,_606);},_601,this),this.searchDelay);},_setMaxOptions:function(size,_60b){this._maxOptions=size;},_getValueField:function(){return this.searchAttr;},_arrowPressed:function(){if(!this.disabled&&!this.readOnly&&this.hasDownArrow){dojo.addClass(this.downArrowNode,"dijitArrowButtonActive");}},_arrowIdle:function(){if(!this.disabled&&!this.readOnly&&this.hasDownArrow){dojo.removeClass(this.downArrowNode,"dojoArrowButtonPushed");}},compositionend:function(evt){this._onKeyPress({charCode:-1});},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.hasDownArrow){this.baseClass="dijitTextBox";}if(!this.store){var _60d=this.srcNodeRef;this.store=new dijit.form._ComboBoxDataStore(_60d);if(!this.value||((typeof _60d.selectedIndex=="number")&&_60d.selectedIndex.toString()===this.value)){var item=this.store.fetchSelectedItem();if(item){this.value=this.store.getValue(item,this._getValueField());}}}},_postCreate:function(){var _60f=dojo.query("label[for=\""+this.id+"\"]");if(_60f.length){_60f[0].id=(this.id+"_label");var cn=this.comboNode;dijit.setWaiState(cn,"labelledby",_60f[0].id);}},uninitialize:function(){if(this._popupWidget){this._hideResultList();this._popupWidget.destroy();}},_getMenuLabelFromItem:function(item){var _612=this.store.getValue(item,this.labelAttr||this.searchAttr);var _613=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_612=this.doHighlight(_612,this._escapeHtml(this._lastInput));_613="html";}return {html:_613=="html",label:_612};},doHighlight:function(_614,find){var _616="i"+(this.highlightMatch=="all"?"g":"");var _617=this._escapeHtml(_614);var ret=_617.replace(new RegExp("^("+find+")",_616),"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");if(_617==ret){ret=_617.replace(new RegExp(" ("+find+")",_616)," <span class=\"dijitComboBoxHighlightMatch\">$1</span>");}return ret;},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");return str;},open:function(){this._isShowingNow=true;return dijit.popup.open({popup:this._popupWidget,around:this.domNode,parent:this});},reset:function(){this.item=null;this.inherited(arguments);}});dojo.declare("dijit.form._ComboBoxMenu",[dijit._Widget,dijit._Templated],{templateString:"<ul class='dijitReset dijitMenu' dojoAttachEvent='onmousedown:_onMouseDown,onmouseup:_onMouseUp,onmouseover:_onMouseOver,onmouseout:_onMouseOut' tabIndex='-1' style='overflow: \"auto\"; overflow-x: \"hidden\";'>"+"<li class='dijitMenuItem dijitMenuPreviousButton' dojoAttachPoint='previousButton'></li>"+"<li class='dijitMenuItem dijitMenuNextButton' dojoAttachPoint='nextButton'></li>"+"</ul>",_messages:null,postMixInProperties:function(){this._messages=dojo.i18n.getLocalization("dijit.form","ComboBox",this.lang);this.inherited("postMixInProperties",arguments);},_setValueAttr:function(_61a){this.value=_61a;this.onChange(_61a);},onChange:function(_61b){},onPage:function(_61c){},postCreate:function(){this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];this.inherited(arguments);},onClose:function(){this._blurOptionNode();},_createOption:function(item,_61e){var _61f=_61e(item);var _620=dojo.doc.createElement("li");dijit.setWaiRole(_620,"option");if(_61f.html){_620.innerHTML=_61f.label;}else{_620.appendChild(dojo.doc.createTextNode(_61f.label));}if(_620.innerHTML==""){_620.innerHTML="&nbsp;";}_620.item=item;return _620;},createOptions:function(_621,_622,_623){this.previousButton.style.display=(_622.start==0)?"none":"";dojo.attr(this.previousButton,"id",this.id+"_prev");dojo.forEach(_621,function(item,i){var _626=this._createOption(item,_623);_626.className="dijitReset dijitMenuItem";dojo.attr(_626,"id",this.id+i);this.domNode.insertBefore(_626,this.nextButton);},this);var _627=false;if(_622._maxOptions&&_622._maxOptions!=-1){if((_622.start+_622.count)<_622._maxOptions){_627=true;}else{if((_622.start+_622.count)>(_622._maxOptions-1)){if(_622.count==_621.length){_627=true;}}}}else{if(_622.count==_621.length){_627=true;}}this.nextButton.style.display=_627?"":"none";dojo.attr(this.nextButton,"id",this.id+"_next");},clearResultList:function(){while(this.domNode.childNodes.length>2){this.domNode.removeChild(this.domNode.childNodes[this.domNode.childNodes.length-2]);}},getItems:function(){return this.domNode.childNodes;},getListLength:function(){return this.domNode.childNodes.length-2;},_onMouseDown:function(evt){dojo.stopEvent(evt);},_onMouseUp:function(evt){if(evt.target===this.domNode){return;}else{if(evt.target==this.previousButton){this.onPage(-1);}else{if(evt.target==this.nextButton){this.onPage(1);}else{var tgt=evt.target;while(!tgt.item){tgt=tgt.parentNode;}this._setValueAttr({target:tgt},true);}}}},_onMouseOver:function(evt){if(evt.target===this.domNode){return;}var tgt=evt.target;if(!(tgt==this.previousButton||tgt==this.nextButton)){while(!tgt.item){tgt=tgt.parentNode;}}this._focusOptionNode(tgt);},_onMouseOut:function(evt){if(evt.target===this.domNode){return;}this._blurOptionNode();},_focusOptionNode:function(node){if(this._highlighted_option!=node){this._blurOptionNode();this._highlighted_option=node;dojo.addClass(this._highlighted_option,"dijitMenuItemHover");}},_blurOptionNode:function(){if(this._highlighted_option){dojo.removeClass(this._highlighted_option,"dijitMenuItemHover");this._highlighted_option=null;}},_highlightNextOption:function(){var fc=this.domNode.firstChild;if(!this.getHighlightedOption()){this._focusOptionNode(fc.style.display=="none"?fc.nextSibling:fc);}else{var ns=this._highlighted_option.nextSibling;if(ns&&ns.style.display!="none"){this._focusOptionNode(ns);}}dijit.scrollIntoView(this._highlighted_option);},highlightFirstOption:function(){this._focusOptionNode(this.domNode.firstChild.nextSibling);dijit.scrollIntoView(this._highlighted_option);},highlightLastOption:function(){this._focusOptionNode(this.domNode.lastChild.previousSibling);dijit.scrollIntoView(this._highlighted_option);},_highlightPrevOption:function(){var lc=this.domNode.lastChild;if(!this.getHighlightedOption()){this._focusOptionNode(lc.style.display=="none"?lc.previousSibling:lc);}else{var ps=this._highlighted_option.previousSibling;if(ps&&ps.style.display!="none"){this._focusOptionNode(ps);}}dijit.scrollIntoView(this._highlighted_option);},_page:function(up){var _634=0;var _635=this.domNode.scrollTop;var _636=dojo.style(this.domNode,"height");if(!this.getHighlightedOption()){this._highlightNextOption();}while(_634<_636){if(up){if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){break;}this._highlightPrevOption();}else{if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){break;}this._highlightNextOption();}var _637=this.domNode.scrollTop;_634+=(_637-_635)*(up?-1:1);_635=_637;}},pageUp:function(){this._page(true);},pageDown:function(){this._page(false);},getHighlightedOption:function(){var ho=this._highlighted_option;return (ho&&ho.parentNode)?ho:null;},handleKey:function(key){switch(key){case dojo.keys.DOWN_ARROW:this._highlightNextOption();break;case dojo.keys.PAGE_DOWN:this.pageDown();break;case dojo.keys.UP_ARROW:this._highlightPrevOption();break;case dojo.keys.PAGE_UP:this.pageUp();break;}}});dojo.declare("dijit.form.ComboBox",[dijit.form.ValidationTextBox,dijit.form.ComboBoxMixin],{postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.ValidationTextBox.prototype.postMixInProperties.apply(this,arguments);},postCreate:function(){dijit.form.ComboBoxMixin.prototype._postCreate.apply(this,arguments);dijit.form.ValidationTextBox.prototype.postCreate.apply(this,arguments);},_setDisabledAttr:function(_63a){dijit.form.ValidationTextBox.prototype._setDisabledAttr.apply(this,arguments);dijit.form.ComboBoxMixin.prototype._setDisabledAttr.apply(this,arguments);},_setValueAttr:function(_63b,_63c){if(!_63b){_63b="";}dijit.form.ValidationTextBox.prototype._setValueAttr.call(this,_63b,_63c);}});dojo.declare("dijit.form._ComboBoxDataStore",null,{constructor:function(root){this.root=root;dojo.query("> option",root).forEach(function(node){node.innerHTML=dojo.trim(node.innerHTML);});},getValue:function(item,_640,_641){return (_640=="value")?item.value:(item.innerText||item.textContent||"");},isItemLoaded:function(_642){return true;},getFeatures:function(){return {"dojo.data.api.Read":true,"dojo.data.api.Identity":true};},_fetchItems:function(args,_644,_645){if(!args.query){args.query={};}if(!args.query.name){args.query.name="";}if(!args.queryOptions){args.queryOptions={};}var _646=dojo.data.util.filter.patternToRegExp(args.query.name,args.queryOptions.ignoreCase),_647=dojo.query("> option",this.root).filter(function(_648){return (_648.innerText||_648.textContent||"").match(_646);});if(args.sort){_647.sort(dojo.data.util.sorter.createSortFunction(args.sort,this));}_644(_647,args);},close:function(_649){return;},getLabel:function(item){return item.innerHTML;},getIdentity:function(item){return dojo.attr(item,"value");},fetchItemByIdentity:function(args){var item=dojo.query("option[value='"+args.identity+"']",this.root)[0];args.onItem(item);},fetchSelectedItem:function(){var root=this.root,si=root.selectedIndex;return dojo.query("> option:nth-child("+(si!=-1?si+1:1)+")",root)[0];}});dojo.extend(dijit.form._ComboBoxDataStore,dojo.data.util.simpleFetch);}if(!dojo._hasResource["dojo.cldr.monetary"]){dojo._hasResource["dojo.cldr.monetary"]=true;dojo.provide("dojo.cldr.monetary");dojo.cldr.monetary.getData=function(code){var _651={ADP:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,DJF:0,ESP:0,GNF:0,IQD:3,ITL:0,JOD:3,JPY:0,KMF:0,KRW:0,KWD:3,LUF:0,LYD:3,MGA:0,MGF:0,OMR:3,PYG:0,RWF:0,TND:3,TRL:0,VUV:0,XAF:0,XOF:0,XPF:0};var _652={CHF:5};var _653=_651[code],_654=_652[code];if(typeof _653=="undefined"){_653=2;}if(typeof _654=="undefined"){_654=0;}return {places:_653,round:_654};};}if(!dojo._hasResource["dojo.currency"]){dojo._hasResource["dojo.currency"]=true;dojo.provide("dojo.currency");dojo.currency._mixInDefaults=function(_655){_655=_655||{};_655.type="currency";var _656=dojo.i18n.getLocalization("dojo.cldr","currency",_655.locale)||{};var iso=_655.currency;var data=dojo.cldr.monetary.getData(iso);dojo.forEach(["displayName","symbol","group","decimal"],function(prop){data[prop]=_656[iso+"_"+prop];});data.fractional=[true,false];return dojo.mixin(data,_655);};dojo.currency.format=function(_65a,_65b){return dojo.number.format(_65a,dojo.currency._mixInDefaults(_65b));};dojo.currency.regexp=function(_65c){return dojo.number.regexp(dojo.currency._mixInDefaults(_65c));};dojo.currency.parse=function(_65d,_65e){return dojo.number.parse(_65d,dojo.currency._mixInDefaults(_65e));};}if(!dojo._hasResource["dijit.form.NumberTextBox"]){dojo._hasResource["dijit.form.NumberTextBox"]=true;dojo.provide("dijit.form.NumberTextBox");dojo.declare("dijit.form.NumberTextBoxMixin",null,{regExpGen:dojo.number.regexp,editOptions:{pattern:"#.######"},_onFocus:function(){this._setValueAttr(this.attr("value"),false);this.inherited(arguments);},_formatter:dojo.number.format,format:function(_65f,_660){if(typeof _65f=="string"){return _65f;}if(isNaN(_65f)){return "";}if(this.editOptions&&this._focused){_660=dojo.mixin(dojo.mixin({},this.editOptions),this.constraints);}return this._formatter(_65f,_660);},parse:dojo.number.parse,filter:function(_661){return (_661===null)?NaN:this.inherited(arguments);},_getValueAttr:function(){var v=this.inherited(arguments);if(isNaN(v)&&this.textbox.value!==""){return undefined;}return v;},value:NaN});dojo.declare("dijit.form.NumberTextBox",[dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin],{});}if(!dojo._hasResource["dijit.form.CurrencyTextBox"]){dojo._hasResource["dijit.form.CurrencyTextBox"]=true;dojo.provide("dijit.form.CurrencyTextBox");dojo.declare("dijit.form.CurrencyTextBox",dijit.form.NumberTextBox,{currency:"",regExpGen:dojo.currency.regexp,_formatter:dojo.currency.format,parse:dojo.currency.parse,postMixInProperties:function(){if(this.constraints===dijit.form.ValidationTextBox.prototype.constraints){this.constraints={};}this.constraints.currency=this.currency;dijit.form.CurrencyTextBox.superclass.postMixInProperties.apply(this,arguments);}});}if(!dojo._hasResource["dojo.cldr.supplemental"]){dojo._hasResource["dojo.cldr.supplemental"]=true;dojo.provide("dojo.cldr.supplemental");dojo.cldr.supplemental.getFirstDayOfWeek=function(_663){var _664={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,sy:4};var _665=dojo.cldr.supplemental._region(_663);var dow=_664[_665];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_667){_667=dojo.i18n.normalizeLocale(_667);var tags=_667.split("-");var _669=tags[1];if(!_669){_669={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",he:"il",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_669.length==4){_669=tags[2];}}return _669;};dojo.cldr.supplemental.getWeekend=function(_66a){var _66b={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};var _66c={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};var _66d=dojo.cldr.supplemental._region(_66a);var _66e=_66b[_66d];var end=_66c[_66d];if(_66e===undefined){_66e=6;}if(end===undefined){end=0;}return {start:_66e,end:end};};}if(!dojo._hasResource["dojo.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.date.getDaysInMonth=function(_670){var _671=_670.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_671==1&&dojo.date.isLeapYear(_670)){return 29;}return days[_671];};dojo.date.isLeapYear=function(_673){var year=_673.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_675){var str=_675.toString();var tz="";var _678;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_678=str.match(pat))){tz=_678[1];}else{str=_675.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_678=str.match(pat))){tz=_678[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_67b,_67c,_67d){_67b=new Date(Number(_67b));_67c=new Date(Number(_67c||new Date()));if(_67d!=="undefined"){if(_67d=="date"){_67b.setHours(0,0,0,0);_67c.setHours(0,0,0,0);}else{if(_67d=="time"){_67b.setFullYear(0,0,0);_67c.setFullYear(0,0,0);}}}if(_67b>_67c){return 1;}if(_67b<_67c){return -1;}return 0;};dojo.date.add=function(date,_67f,_680){var sum=new Date(Number(date));var _682=false;var _683="Date";switch(_67f){case "day":break;case "weekday":var days,_685;var mod=_680%5;if(!mod){days=(_680>0)?5:-5;_685=(_680>0)?((_680-5)/5):((_680+5)/5);}else{days=mod;_685=parseInt(_680/5);}var strt=date.getDay();var adj=0;if(strt==6&&_680>0){adj=1;}else{if(strt==0&&_680<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_680>0)?2:-2;}_680=(7*_685)+days+adj;break;case "year":_683="FullYear";_682=true;break;case "week":_680*=7;break;case "quarter":_680*=3;case "month":_682=true;_683="Month";break;case "hour":case "minute":case "second":case "millisecond":_683="UTC"+_67f.charAt(0).toUpperCase()+_67f.substring(1)+"s";}if(_683){sum["set"+_683](sum["get"+_683]()+_680);}if(_682&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_68a,_68b,_68c){_68b=_68b||new Date();_68c=_68c||"day";var _68d=_68b.getFullYear()-_68a.getFullYear();var _68e=1;switch(_68c){case "quarter":var m1=_68a.getMonth();var m2=_68b.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_68d*4);_68e=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_68a,_68b,"day"));var _694=parseInt(dojo.date.difference(_68a,_68b,"week"));var mod=days%7;if(mod==0){days=_694*5;}else{var adj=0;var aDay=_68a.getDay();var bDay=_68b.getDay();_694=parseInt(days/7);mod=days%7;var _699=new Date(_68a);_699.setDate(_699.getDate()+(_694*7));var _69a=_699.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_69a+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_69a+mod)<0:adj=2;}}}days+=adj;days-=(_694*2);}_68e=days;break;case "year":_68e=_68d;break;case "month":_68e=(_68b.getMonth()-_68a.getMonth())+(_68d*12);break;case "week":_68e=parseInt(dojo.date.difference(_68a,_68b,"day")/7);break;case "day":_68e/=24;case "hour":_68e/=60;case "minute":_68e/=60;case "second":_68e/=1000;case "millisecond":_68e*=_68b.getTime()-_68a.getTime();}return Math.round(_68e);};}if(!dojo._hasResource["dojo.date.locale"]){dojo._hasResource["dojo.date.locale"]=true;dojo.provide("dojo.date.locale");(function(){function formatPattern(_69b,_69c,_69d,_69e){return _69e.replace(/([a-z])\1*/ig,function(_69f){var s,pad;var c=_69f.charAt(0);var l=_69f.length;var _6a4=["abbr","wide","narrow"];switch(c){case "G":s=_69c[(l<4)?"eraAbbr":"eraNames"][_69b.getFullYear()<0?0:1];break;case "y":s=_69b.getFullYear();switch(l){case 1:break;case 2:if(!_69d){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_69b.getMonth()+1)/3);pad=true;break;case "M":var m=_69b.getMonth();if(l<3){s=m+1;pad=true;}else{var _6a6=["months","format",_6a4[l-3]].join("-");s=_69c[_6a6][m];}break;case "w":var _6a7=0;s=dojo.date.locale._getWeekOfYear(_69b,_6a7);pad=true;break;case "d":s=_69b.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_69b);pad=true;break;case "E":var d=_69b.getDay();if(l<3){s=d+1;pad=true;}else{var _6a9=["days","format",_6a4[l-3]].join("-");s=_69c[_6a9][d];}break;case "a":var _6aa=(_69b.getHours()<12)?"am":"pm";s=_69c[_6aa];break;case "h":case "H":case "K":case "k":var h=_69b.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_69b.getMinutes();pad=true;break;case "s":s=_69b.getSeconds();pad=true;break;case "S":s=Math.round(_69b.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.getTimezoneName(_69b);if(s){break;}l=4;case "Z":var _6ac=_69b.getTimezoneOffset();var tz=[(_6ac<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_6ac)/60),2),dojo.string.pad(Math.abs(_6ac)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_69e);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale.format=function(_6ae,_6af){_6af=_6af||{};var _6b0=dojo.i18n.normalizeLocale(_6af.locale);var _6b1=_6af.formatLength||"short";var _6b2=dojo.date.locale._getGregorianBundle(_6b0);var str=[];var _6b4=dojo.hitch(this,formatPattern,_6ae,_6b2,_6af.fullYear);if(_6af.selector=="year"){var year=_6ae.getFullYear();if(_6b0.match(/^zh|^ja/)){year+="年";}return year;}if(_6af.selector!="time"){var _6b6=_6af.datePattern||_6b2["dateFormat-"+_6b1];if(_6b6){str.push(_processPattern(_6b6,_6b4));}}if(_6af.selector!="date"){var _6b7=_6af.timePattern||_6b2["timeFormat-"+_6b1];if(_6b7){str.push(_processPattern(_6b7,_6b4));}}var _6b8=str.join(" ");return _6b8;};dojo.date.locale.regexp=function(_6b9){return dojo.date.locale._parseInfo(_6b9).regexp;};dojo.date.locale._parseInfo=function(_6ba){_6ba=_6ba||{};var _6bb=dojo.i18n.normalizeLocale(_6ba.locale);var _6bc=dojo.date.locale._getGregorianBundle(_6bb);var _6bd=_6ba.formatLength||"short";var _6be=_6ba.datePattern||_6bc["dateFormat-"+_6bd];var _6bf=_6ba.timePattern||_6bc["timeFormat-"+_6bd];var _6c0;if(_6ba.selector=="date"){_6c0=_6be;}else{if(_6ba.selector=="time"){_6c0=_6bf;}else{_6c0=_6be+" "+_6bf;}}var _6c1=[];var re=_processPattern(_6c0,dojo.hitch(this,_buildDateTimeRE,_6c1,_6bc,_6ba));return {regexp:re,tokens:_6c1,bundle:_6bc};};dojo.date.locale.parse=function(_6c3,_6c4){var info=dojo.date.locale._parseInfo(_6c4);var _6c6=info.tokens,_6c7=info.bundle;var re=new RegExp("^"+info.regexp+"$",info.strict?"":"i");var _6c9=re.exec(_6c3);if(!_6c9){return null;}var _6ca=["abbr","wide","narrow"];var _6cb=[1970,0,1,0,0,0,0];var amPm="";var _6cd=dojo.every(_6c9,function(v,i){if(!i){return true;}var _6d0=_6c6[i-1];var l=_6d0.length;switch(_6d0.charAt(0)){case "y":if(l!=2&&_6c4.strict){_6cb[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear();var _6d3=year.substring(0,2)*100;var _6d4=Math.min(Number(year.substring(2,4))+20,99);var num=(v<_6d4)?_6d3+v:_6d3-100+v;_6cb[0]=num;}else{if(_6c4.strict){return false;}_6cb[0]=v;}}break;case "M":if(l>2){var _6d6=_6c7["months-format-"+_6ca[l-3]].concat();if(!_6c4.strict){v=v.replace(".","").toLowerCase();_6d6=dojo.map(_6d6,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_6d6,v);if(v==-1){return false;}}else{v--;}_6cb[1]=v;break;case "E":case "e":var days=_6c7["days-format-"+_6ca[l-3]].concat();if(!_6c4.strict){v=v.toLowerCase();days=dojo.map(days,function(d){return d.toLowerCase();});}v=dojo.indexOf(days,v);if(v==-1){return false;}break;case "D":_6cb[1]=0;case "d":_6cb[2]=v;break;case "a":var am=_6c4.am||_6c7.am;var pm=_6c4.pm||_6c7.pm;if(!_6c4.strict){var _6dc=/\./g;v=v.replace(_6dc,"").toLowerCase();am=am.replace(_6dc,"").toLowerCase();pm=pm.replace(_6dc,"").toLowerCase();}if(_6c4.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_6cb[3]=v;break;case "m":_6cb[4]=v;break;case "s":_6cb[5]=v;break;case "S":_6cb[6]=v;}return true;});var _6dd=+_6cb[3];if(amPm==="p"&&_6dd<12){_6cb[3]=_6dd+12;}else{if(amPm==="a"&&_6dd==12){_6cb[3]=0;}}var _6de=new Date(_6cb[0],_6cb[1],_6cb[2],_6cb[3],_6cb[4],_6cb[5],_6cb[6]);if(_6c4.strict){_6de.setFullYear(_6cb[0]);}var _6df=_6c6.join("");if(!_6cd||(_6df.indexOf("M")!=-1&&_6de.getMonth()!=_6cb[1])||(_6df.indexOf("d")!=-1&&_6de.getDate()!=_6cb[2])){return null;}return _6de;};function _processPattern(_6e0,_6e1,_6e2,_6e3){var _6e4=function(x){return x;};_6e1=_6e1||_6e4;_6e2=_6e2||_6e4;_6e3=_6e3||_6e4;var _6e6=_6e0.match(/(''|[^'])+/g);var _6e7=_6e0.charAt(0)=="'";dojo.forEach(_6e6,function(_6e8,i){if(!_6e8){_6e6[i]="";}else{_6e6[i]=(_6e7?_6e2:_6e1)(_6e8);_6e7=!_6e7;}});return _6e3(_6e6.join(""));};function _buildDateTimeRE(_6ea,_6eb,_6ec,_6ed){_6ed=dojo.regexp.escapeString(_6ed);if(!_6ec.strict){_6ed=_6ed.replace(" a"," ?a");}return _6ed.replace(/([a-z])\1*/ig,function(_6ee){var s;var c=_6ee.charAt(0);var l=_6ee.length;var p2="",p3="";if(_6ec.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+?":p2+"[1-9]|1[0-2]";break;case "D":s=p2+"[1-9]|"+p3+"[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6]";break;case "d":s="[12]\\d|"+p2+"[1-9]|3[01]";break;case "w":s=p2+"[1-9]|[1-4][0-9]|5[0-3]";break;case "E":s="\\S+";break;case "h":s=p2+"[1-9]|1[0-2]";break;case "k":s=p2+"\\d|1[01]";break;case "H":s=p2+"\\d|1\\d|2[0-3]";break;case "K":s=p2+"[1-9]|1\\d|2[0-4]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_6ec.am||_6eb.am||"AM";var pm=_6ec.pm||_6eb.pm||"PM";if(_6ec.strict){s=am+"|"+pm;}else{s=am+"|"+pm;if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}if(s.indexOf(".")!=-1){s+="|"+s.replace(/\./g,"");}}s=s.replace(/\./g,"\\.");break;default:s=".*";}if(_6ea){_6ea.push(_6ee);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _6f6=[];dojo.date.locale.addCustomFormats=function(_6f7,_6f8){_6f6.push({pkg:_6f7,name:_6f8});};dojo.date.locale._getGregorianBundle=function(_6f9){var _6fa={};dojo.forEach(_6f6,function(desc){var _6fc=dojo.i18n.getLocalization(desc.pkg,desc.name,_6f9);_6fa=dojo.mixin(_6fa,_6fc);},this);return _6fa;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,use,_700){var _701;var _702=dojo.date.locale._getGregorianBundle(_700);var _703=[item,use,type];if(use=="standAlone"){var key=_703.join("-");_701=_702[key];if(_701[0]==1){_701=undefined;}}_703[1]="format";return (_701||_702[_703.join("-")]).concat();};dojo.date.locale.isWeekend=function(_705,_706){var _707=dojo.cldr.supplemental.getWeekend(_706);var day=(_705||new Date()).getDay();if(_707.end<_707.start){_707.end+=7;if(day<_707.start){day+=7;}}return day>=_707.start&&day<=_707.end;};dojo.date.locale._getDayOfYear=function(_709){return dojo.date.difference(new Date(_709.getFullYear(),0,1,_709.getHours()),_709)+1;};dojo.date.locale._getWeekOfYear=function(_70a,_70b){if(arguments.length==1){_70b=0;}var _70c=new Date(_70a.getFullYear(),0,1).getDay();var adj=(_70c-_70b+7)%7;var week=Math.floor((dojo.date.locale._getDayOfYear(_70a)+adj-1)/7);if(_70c==_70b){week++;}return week;};}if(!dojo._hasResource["dijit._Calendar"]){dojo._hasResource["dijit._Calendar"]=true;dojo.provide("dijit._Calendar");dojo.declare("dijit._Calendar",[dijit._Widget,dijit._Templated],{templateString:"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset' dojoAttachPoint=\"decrementMonth\">\n\t\t\t\t<div class=\"dijitInline dijitCalendarIncrementControl dijitCalendarDecrease\"><span dojoAttachPoint=\"decreaseArrowNode\" class=\"dijitA11ySideArrow dijitCalendarIncrementControl dijitCalendarDecreaseInner\">-</span></div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div dojoAttachPoint=\"monthLabelSpacer\" class=\"dijitCalendarMonthLabelSpacer\"></div>\n\t\t\t\t<div dojoAttachPoint=\"monthLabelNode\" class=\"dijitCalendarMonthLabel\"></div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' dojoAttachPoint=\"incrementMonth\">\n\t\t\t\t<div class=\"dijitInline dijitCalendarIncrementControl dijitCalendarIncrease\"><span dojoAttachPoint=\"increaseArrowNode\" class=\"dijitA11ySideArrow dijitCalendarIncrementControl dijitCalendarIncreaseInner\">+</span></div>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<th class=\"dijitReset dijitCalendarDayLabelTemplate\"><span class=\"dijitCalendarDayLabel\"></span></th>\n\t\t</tr>\n\t</thead>\n\t<tbody dojoAttachEvent=\"onclick: _onDayClick, onmouseover: _onDayMouseOver, onmouseout: _onDayMouseOut\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t<tr class=\"dijitReset dijitCalendarWeekTemplate\">\n\t\t\t<td class=\"dijitReset dijitCalendarDateTemplate\"><span class=\"dijitCalendarDateLabel\"></span></td>\n\t\t</tr>\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\">\n\t\t\t\t<h3 class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span dojoAttachPoint=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\"></span>\n\t\t\t\t</h3>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\t\n",value:new Date(),dayWidth:"narrow",setValue:function(_70f){dojo.deprecated("dijit.Calendar:setValue() is deprecated.  Use attr('value', ...) instead.","","2.0");this.attr("value",_70f);},_setValueAttr:function(_710){if(!this.value||dojo.date.compare(_710,this.value)){_710=new Date(_710);this.displayMonth=new Date(_710);if(!this.isDisabledDate(_710,this.lang)){this.value=_710;this.value.setHours(0,0,0,0);this.onChange(this.value);}this._populateGrid();}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(dojo.doc.createTextNode(text));},_populateGrid:function(){var _713=this.displayMonth;_713.setDate(1);var _714=_713.getDay();var _715=dojo.date.getDaysInMonth(_713);var _716=dojo.date.getDaysInMonth(dojo.date.add(_713,"month",-1));var _717=new Date();var _718=this.value;var _719=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);if(_719>_714){_719-=7;}dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_71a,i){i+=_719;var date=new Date(_713);var _71d,_71e="dijitCalendar",adj=0;if(i<_714){_71d=_716-_714+i+1;adj=-1;_71e+="Previous";}else{if(i>=(_714+_715)){_71d=i-_714-_715+1;adj=1;_71e+="Next";}else{_71d=i-_714+1;_71e+="Current";}}if(adj){date=dojo.date.add(date,"month",adj);}date.setDate(_71d);if(!dojo.date.compare(date,_717,"date")){_71e="dijitCalendarCurrentDate "+_71e;}if(!dojo.date.compare(date,_718,"date")){_71e="dijitCalendarSelectedDate "+_71e;}if(this.isDisabledDate(date,this.lang)){_71e="dijitCalendarDisabledDate "+_71e;}var _720=this.getClassForDate(date,this.lang);if(_720){_71e=_720+" "+_71e;}_71a.className=_71e+"Month dijitCalendarDateTemplate";_71a.dijitDateValue=date.valueOf();var _721=dojo.query(".dijitCalendarDateLabel",_71a)[0];this._setText(_721,date.getDate());},this);var _722=dojo.date.locale.getNames("months","wide","standAlone",this.lang);this._setText(this.monthLabelNode,_722[_713.getMonth()]);var y=_713.getFullYear()-1;var d=new Date();dojo.forEach(["previous","current","next"],function(name){d.setFullYear(y++);this._setText(this[name+"YearLabelNode"],dojo.date.locale.format(d,{selector:"year",locale:this.lang}));},this);var _726=this;var _727=function(_728,_729,adj){_726._connects.push(dijit.typematic.addMouseListener(_726[_728],_726,function(_72b){if(_72b>=0){_726._adjustDisplay(_729,adj);}},0.8,500));};_727("incrementMonth","month",1);_727("decrementMonth","month",-1);_727("nextYearLabelNode","year",1);_727("previousYearLabelNode","year",-1);},goToToday:function(){this.attr("value",new Date());},postCreate:function(){this.inherited(arguments);var _72c=dojo.hitch(this,function(_72d,n){var _72f=dojo.query(_72d,this.domNode)[0];for(var i=0;i<n;i++){_72f.parentNode.appendChild(_72f.cloneNode(true));}});_72c(".dijitCalendarDayLabelTemplate",6);_72c(".dijitCalendarDateTemplate",6);_72c(".dijitCalendarWeekTemplate",5);var _731=dojo.date.locale.getNames("days",this.dayWidth,"standAlone",this.lang);var _732=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);dojo.query(".dijitCalendarDayLabel",this.domNode).forEach(function(_733,i){this._setText(_733,_731[(i+_732)%7]);},this);var _735=dojo.date.locale.getNames("months","wide","standAlone",this.lang);dojo.forEach(_735,function(name){var _737=dojo.doc.createElement("div");this._setText(_737,name);this.monthLabelSpacer.appendChild(_737);},this);this.value=null;this.attr("value",new Date());},_adjustDisplay:function(part,_739){this.displayMonth=dojo.date.add(this.displayMonth,part,_739);this._populateGrid();},_onDayClick:function(evt){var node=evt.target;dojo.stopEvent(evt);while(!node.dijitDateValue){node=node.parentNode;}if(!dojo.hasClass(node,"dijitCalendarDisabledDate")){this.attr("value",node.dijitDateValue);this.onValueSelected(this.value);}},_onDayMouseOver:function(evt){var node=evt.target;if(node&&(node.dijitDateValue||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){dojo.addClass(node,"dijitCalendarHoveredDate");this._currentNode=node;}},_onDayMouseOut:function(evt){if(!this._currentNode){return;}for(var node=evt.relatedTarget;node;){if(node==this._currentNode){return;}try{node=node.parentNode;}catch(x){node=null;}}dojo.removeClass(this._currentNode,"dijitCalendarHoveredDate");this._currentNode=null;},onValueSelected:function(date){},onChange:function(date){},isDisabledDate:function(_742,_743){},getClassForDate:function(_744,_745){}});}if(!dojo._hasResource["dijit.form._DateTimeTextBox"]){dojo._hasResource["dijit.form._DateTimeTextBox"]=true;dojo.provide("dijit.form._DateTimeTextBox");dojo.declare("dijit.form._DateTimeTextBox",dijit.form.RangeBoundTextBox,{regExpGen:dojo.date.locale.regexp,compare:dojo.date.compare,format:function(_746,_747){if(!_746){return "";}return dojo.date.locale.format(_746,_747);},parse:function(_748,_749){return dojo.date.locale.parse(_748,_749)||(this._isEmpty(_748)?null:undefined);},serialize:dojo.date.stamp.toISOString,value:new Date(""),popupClass:"",_selector:"",postMixInProperties:function(){this.inherited(arguments);if(!this.value||this.value.toString()==dijit.form._DateTimeTextBox.prototype.value.toString()){this.value=null;}var _74a=this.constraints;_74a.selector=this._selector;_74a.fullYear=true;var _74b=dojo.date.stamp.fromISOString;if(typeof _74a.min=="string"){_74a.min=_74b(_74a.min);}if(typeof _74a.max=="string"){_74a.max=_74b(_74a.max);}},_onFocus:function(evt){this._open();},_setValueAttr:function(_74d,_74e,_74f){this.inherited(arguments);if(this._picker){if(!_74d){_74d=new Date();}this._picker.attr("value",_74d);}},_open:function(){if(this.disabled||this.readOnly||!this.popupClass){return;}var _750=this;if(!this._picker){var _751=dojo.getObject(this.popupClass,false);this._picker=new _751({onValueSelected:function(_752){if(_750._tabbingAway){delete _750._tabbingAway;}else{_750.focus();}setTimeout(dojo.hitch(_750,"_close"),1);dijit.form._DateTimeTextBox.superclass._setValueAttr.call(_750,_752,true);},lang:_750.lang,constraints:_750.constraints,isDisabledDate:function(date){var _754=dojo.date.compare;var _755=_750.constraints;return _755&&(_755.min&&(_754(_755.min,date,"date")>0)||(_755.max&&_754(_755.max,date,"date")<0));}});this._picker.attr("value",this.attr("value")||new Date());}if(!this._opened){dijit.popup.open({parent:this,popup:this._picker,around:this.domNode,onCancel:dojo.hitch(this,this._close),onClose:function(){_750._opened=false;}});this._opened=true;}dojo.marginBox(this._picker.domNode,{w:this.domNode.offsetWidth});},_close:function(){if(this._opened){dijit.popup.close(this._picker);this._opened=false;}},_onBlur:function(){this._close();if(this._picker){this._picker.destroy();delete this._picker;}this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_756,_757){this._setValueAttr(this.parse(_756,this.constraints),_757,_756);},destroy:function(){if(this._picker){this._picker.destroy();delete this._picker;}this.inherited(arguments);},_onKeyPress:function(e){var p=this._picker,dk=dojo.keys;if(p&&this._opened&&p.handleKey){if(p.handleKey(e)===false){return;}}if(this._opened&&e.charOrCode==dk.ESCAPE&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){this._close();dojo.stopEvent(e);}else{if(!this._opened&&e.charOrCode==dk.DOWN_ARROW){this._open();dojo.stopEvent(e);}else{if(dijit.form._DateTimeTextBox.superclass._onKeyPress.apply(this,arguments)){if(e.charOrCode===dk.TAB){this._tabbingAway=true;}else{if(this._opened&&(e.keyChar||e.charOrCode===dk.BACKSPACE||e.charOrCode==dk.DELETE)){setTimeout(dojo.hitch(this,function(){dijit.placeOnScreenAroundElement(p.domNode.parentNode,this.domNode,{"BL":"TL","TL":"BL"},p.orient?dojo.hitch(p,"orient"):null);}),1);}}}}}}});}if(!dojo._hasResource["dijit.form.DateTextBox"]){dojo._hasResource["dijit.form.DateTextBox"]=true;dojo.provide("dijit.form.DateTextBox");dojo.declare("dijit.form.DateTextBox",dijit.form._DateTimeTextBox,{baseClass:"dijitTextBox dijitDateTextBox",popupClass:"dijit._Calendar",_selector:"date"});}if(!dojo._hasResource["dijit.form.FilteringSelect"]){dojo._hasResource["dijit.form.FilteringSelect"]=true;dojo.provide("dijit.form.FilteringSelect");dojo.declare("dijit.form.FilteringSelect",[dijit.form.MappedTextBox,dijit.form.ComboBoxMixin],{_isvalid:true,required:true,_lastDisplayedValue:"",isValid:function(){return this._isvalid||(!this.required&&this.attr("displayedValue")=="");},_callbackSetLabel:function(_75b,_75c,_75d){if((_75c&&_75c.query[this.searchAttr]!=this._lastQuery)||(!_75c&&_75b.length&&this.store.getIdentity(_75b[0])!=this._lastQuery)){return;}if(!_75b.length){if(_75d||!this._focused){this.valueNode.value="";}dijit.form.TextBox.superclass._setValueAttr.call(this,"",_75d||!this._focused);this._isvalid=false;this.validate(this._focused);this.item=null;}else{this._setValueFromItem(_75b[0],_75d);}},_openResultList:function(_75e,_75f){if(_75f.query[this.searchAttr]!=this._lastQuery){return;}this._isvalid=_75e.length!=0;this.validate(true);dijit.form.ComboBoxMixin.prototype._openResultList.apply(this,arguments);},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValue:function(_760,_761,_762){this.valueNode.value=_760;dijit.form.FilteringSelect.superclass._setValueAttr.call(this,_760,_762,_761);this._lastDisplayedValue=_761;},_setValueAttr:function(_763,_764){if(!this._onChangeActive){_764=null;}this._lastQuery=_763;if(_763===null){this._setDisplayedValueAttr("",_764);return;}var self=this;var _766=function(item,_768){if(item){if(self.store.isItemLoaded(item)){self._callbackSetLabel([item],undefined,_768);}else{self.store.loadItem({item:item,onItem:function(_769,_76a){self._callbackSetLabel(_769,_76a,_768);}});}}else{self._isvalid=false;self.validate(false);}};this.store.fetchItemByIdentity({identity:_763,onItem:function(item){_766(item,_764);}});},_setValueFromItem:function(item,_76d){this._isvalid=true;this.item=item;this._setValue(this.store.getIdentity(item),this.labelFunc(item,this.store),_76d);},labelFunc:function(item,_76f){return _76f.getValue(item,this.searchAttr);},_doSelect:function(tgt){this._setValueFromItem(tgt.item,true);},_setDisplayedValueAttr:function(_771,_772){if(!this._created){_772=false;}if(this.store){var _773=dojo.clone(this.query);this._lastQuery=_773[this.searchAttr]=_771.replace(/([\\\*\?])/g,"\\$1");this.textbox.value=_771;this._lastDisplayedValue=_771;var _774=this;var _775={query:_773,queryOptions:{ignoreCase:this.ignoreCase,deep:true},onComplete:function(_776,_777){dojo.hitch(_774,"_callbackSetLabel")(_776,_777,_772);},onError:function(_778){console.error("dijit.form.FilteringSelect: "+_778);dojo.hitch(_774,"_setValue")("",_771,false);}};dojo.mixin(_775,this.fetchProperties);this.store.fetch(_775);}},postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.MappedTextBox.prototype.postMixInProperties.apply(this,arguments);},postCreate:function(){dijit.form.ComboBoxMixin.prototype._postCreate.apply(this,arguments);dijit.form.MappedTextBox.prototype.postCreate.apply(this,arguments);},_setDisabledAttr:function(attr,_77a){dijit.form.MappedTextBox.prototype._setDisabledAttr.apply(this,arguments);dijit.form.ComboBoxMixin.prototype._setDisabledAttr.apply(this,arguments);},undo:function(){this.attr("displayedValue",this._lastDisplayedValue);},_valueChanged:function(){return this.attr("displayedValue")!=this._lastDisplayedValue;}});}if(!dojo._hasResource["dijit.form._Spinner"]){dojo._hasResource["dijit.form._Spinner"]=true;dojo.provide("dijit.form._Spinner");dojo.declare("dijit.form._Spinner",dijit.form.RangeBoundTextBox,{defaultTimeout:500,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" waiRole=\"presentation\"\n\t><div class=\"dijitInputLayoutContainer\"\n\t\t><div class=\"dijitReset dijitSpinnerButtonContainer\"\n\t\t\t>&nbsp;<div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\t\tdojoAttachPoint=\"upArrowNode\"\n\t\t\t\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t\tstateModifier=\"UpArrow\"\n\t\t\t\t><div class=\"dijitArrowButtonInner\">&thinsp;</div\n\t\t\t\t><div class=\"dijitArrowButtonChar\">&#9650;</div\n\t\t\t></div\n\t\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\t\tdojoAttachPoint=\"downArrowNode\"\n\t\t\t\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t\tstateModifier=\"DownArrow\"\n\t\t\t\t><div class=\"dijitArrowButtonInner\">&thinsp;</div\n\t\t\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div\n\t\t\t></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input class='dijitReset' dojoAttachPoint=\"textbox,focusNode\" type=\"${type}\" dojoAttachEvent=\"onfocus:_update,onkeyup:_update,onkeypress:_onKeyPress\"\n\t\t\t\twaiRole=\"spinbutton\" autocomplete=\"off\" name=\"${name}\"\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitSpinner",adjust:function(val,_77c){return val;},_arrowState:function(node,_77e){this._active=_77e;this.stateModifier=node.getAttribute("stateModifier")||"";this._setStateClass();},_arrowPressed:function(_77f,_780,_781){if(this.disabled||this.readOnly){return;}this._arrowState(_77f,true);this._setValueAttr(this.adjust(this.attr("value"),_780*_781),false);dijit.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(node){this._wheelTimer=null;if(this.disabled||this.readOnly){return;}this._arrowState(node,false);},_typematicCallback:function(_783,node,evt){var inc=this.smallDelta;if(node==this.textbox){k=dojo.keys;var key=evt.charOrCode;inc=(key==k.PAGE_UP||key==k.PAGE_DOWN)?this.largeDelta:this.smallDelta;node=(key==k.UP_ARROW||key==k.PAGE_UP)?this.upArrowNode:this.downArrowNode;}if(_783==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){dojo.stopEvent(evt);var _789=evt.detail?(evt.detail*-1):(evt.wheelDelta/120);if(_789!==0){var node=this[(_789>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_789,this.smallDelta);if(!this._wheelTimer){clearTimeout(this._wheelTimer);}this._wheelTimer=setTimeout(dojo.hitch(this,"_arrowReleased",node),50);}},postCreate:function(){this.inherited("postCreate",arguments);this.connect(this.domNode,!dojo.isMozilla?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(dijit.typematic.addListener(this.upArrowNode,this.textbox,{charOrCode:dojo.keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout));this._connects.push(dijit.typematic.addListener(this.downArrowNode,this.textbox,{charOrCode:dojo.keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout));this._connects.push(dijit.typematic.addListener(this.upArrowNode,this.textbox,{charOrCode:dojo.keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout));this._connects.push(dijit.typematic.addListener(this.downArrowNode,this.textbox,{charOrCode:dojo.keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout));if(dojo.isIE){var _78b=this;this.connect(this.domNode,"onresize",function(){setTimeout(dojo.hitch(_78b,function(){var sz=this.upArrowNode.parentNode.offsetHeight;if(sz){this.upArrowNode.style.height=sz>>1;this.downArrowNode.style.height=sz-(sz>>1);this.focusNode.parentNode.style.height=sz;}this._setStateClass();}),0);});}}});}if(!dojo._hasResource["dijit.form.NumberSpinner"]){dojo._hasResource["dijit.form.NumberSpinner"]=true;dojo.provide("dijit.form.NumberSpinner");dojo.declare("dijit.form.NumberSpinner",[dijit.form._Spinner,dijit.form.NumberTextBoxMixin],{required:true,adjust:function(val,_78e){if(isNaN(val)&&_78e!=0){var _78f=(_78e>0),_790=(typeof this.constraints.max=="number"),_791=(typeof this.constraints.min=="number");val=_78f?(_791?this.constraints.min:(_790?this.constraints.max:0)):(_790?this.constraints.max:(_791?this.constraints.min:0));}var _792=val+_78e;if(isNaN(val)||isNaN(_792)){return val;}if((typeof this.constraints.max=="number")&&(_792>this.constraints.max)){_792=this.constraints.max;}if((typeof this.constraints.min=="number")&&(_792<this.constraints.min)){_792=this.constraints.min;}return _792;},_onKeyPress:function(e){if((e.charOrCode==dojo.keys.HOME||e.charOrCode==dojo.keys.END)&&!e.ctrlKey&&!e.altKey){var _794=e.charOrCode==dojo.keys.HOME?this.constraints["min"]:this.constraints["max"];if(_794){this._setValueAttr(_794,true);}dojo.stopEvent(e);return false;}else{return this.inherited(arguments);}}});}if(!dojo._hasResource["dijit.form.Slider"]){dojo._hasResource["dijit.form.Slider"]=true;dojo.provide("dijit.form.Slider");dojo.declare("dijit.form.HorizontalSlider",[dijit.form._FormValueWidget,dijit._Container],{templateString:"<table class=\"dijit dijitReset dijitSlider\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" dojoAttachEvent=\"onkeypress:_onKeyPress\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td dojoAttachPoint=\"containerNode,topDecoration\" class=\"dijitReset\" style=\"text-align:center;width:100%;\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper dijitSliderLeftBumper\" dojoAttachEvent=\"onclick:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input dojoAttachPoint=\"valueNode\" type=\"hidden\" name=\"${name}\"\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" waiRole=\"presentation\" dojoAttachPoint=\"sliderBarContainer\"\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" dojoAttachEvent=\"onclick:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\" \n\t\t\t\t\t\t><div dojoAttachPoint=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" dojoAttachEvent=\"onmousedown:_onHandleClick\" waiRole=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" dojoAttachEvent=\"onclick:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper dijitSliderRightBumper\" dojoAttachEvent=\"onclick:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\" style=\"right:0px;\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td dojoAttachPoint=\"containerNode,bottomDecoration\" class=\"dijitReset\" style=\"text-align:center;\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n",value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:dijit.defaultDuration,widgetsInTemplate:true,attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{id:"",name:"valueNode"}),baseClass:"dijitSlider",_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_startingPixelCount:"l",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyPress:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey){return;}switch(e.charOrCode){case dojo.keys.HOME:this._setValueAttr(this.minimum,true);break;case dojo.keys.END:this._setValueAttr(this.maximum,true);break;case ((this._descending||this.isLeftToRight())?dojo.keys.RIGHT_ARROW:dojo.keys.LEFT_ARROW):case (this._descending===false?dojo.keys.DOWN_ARROW:dojo.keys.UP_ARROW):case (this._descending===false?dojo.keys.PAGE_DOWN:dojo.keys.PAGE_UP):this.increment(e);break;case ((this._descending||this.isLeftToRight())?dojo.keys.LEFT_ARROW:dojo.keys.RIGHT_ARROW):case (this._descending===false?dojo.keys.UP_ARROW:dojo.keys.DOWN_ARROW):case (this._descending===false?dojo.keys.PAGE_UP:dojo.keys.PAGE_DOWN):this.decrement(e);break;default:this.inherited(arguments);return;}dojo.stopEvent(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!dojo.isIE){dijit.focus(this.sliderHandle);}dojo.stopEvent(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}dijit.focus(this.sliderHandle);dojo.stopEvent(e);var _798=dojo.coords(this.sliderBarContainer,true);var _799=e[this._mousePixelCoord]-_798[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_798[this._pixelCount]-_799):_799,_798[this._pixelCount],true);},_setPixelValue:function(_79a,_79b,_79c){if(this.disabled||this.readOnly){return;}_79a=_79a<0?0:_79b<_79a?_79b:_79a;var _79d=this.discreteValues;if(_79d<=1||_79d==Infinity){_79d=_79b;}_79d--;var _79e=_79b/_79d;var _79f=Math.round(_79a/_79e);this._setValueAttr((this.maximum-this.minimum)*_79f/_79d+this.minimum,_79c);},_setValueAttr:function(_7a0,_7a1){this.valueNode.value=this.value=_7a0;dijit.setWaiState(this.focusNode,"valuenow",_7a0);this.inherited(arguments);var _7a2=(_7a0-this.minimum)/(this.maximum-this.minimum);var _7a3=(this._descending===false)?this.remainingBar:this.progressBar;var _7a4=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_7a1&&this.slideDuration>0&&_7a3.style[this._progressPixelSize]){var _7a5=this;var _7a6={};var _7a7=parseFloat(_7a3.style[this._progressPixelSize]);var _7a8=this.slideDuration*(_7a2-_7a7/100);if(_7a8==0){return;}if(_7a8<0){_7a8=0-_7a8;}_7a6[this._progressPixelSize]={start:_7a7,end:_7a2*100,units:"%"};this._inProgressAnim=dojo.animateProperty({node:_7a3,duration:_7a8,onAnimate:function(v){_7a4.style[_7a5._progressPixelSize]=(100-parseFloat(v[_7a5._progressPixelSize]))+"%";},onEnd:function(){delete _7a5._inProgressAnim;},properties:_7a6});this._inProgressAnim.play();}else{_7a3.style[this._progressPixelSize]=(_7a2*100)+"%";_7a4.style[this._progressPixelSize]=((1-_7a2)*100)+"%";}},_bumpValue:function(_7aa){if(this.disabled||this.readOnly){return;}var s=dojo.getComputedStyle(this.sliderBarContainer);var c=dojo._getContentBox(this.sliderBarContainer,s);var _7ad=this.discreteValues;if(_7ad<=1||_7ad==Infinity){_7ad=c[this._pixelCount];}_7ad--;var _7ae=(this.value-this.minimum)*_7ad/(this.maximum-this.minimum)+_7aa;if(_7ae<0){_7ae=0;}if(_7ae>_7ad){_7ae=_7ad;}_7ae=_7ae*(this.maximum-this.minimum)/_7ad+this.minimum;this._setValueAttr(_7ae,true);},_onClkIncBumper:function(){this._setValueAttr(this._descending===false?this.minimum:this.maximum,true);},_onClkDecBumper:function(){this._setValueAttr(this._descending===false?this.maximum:this.minimum,true);},decrement:function(e){this._bumpValue(e.charOrCode==dojo.keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.charOrCode==dojo.keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){dojo.stopEvent(evt);var _7b2=!dojo.isMozilla;var _7b3=evt[(_7b2?"wheelDelta":"detail")]*(_7b2?1:-1);this[(_7b3<0?"decrement":"increment")](evt);},startup:function(){dojo.forEach(this.getChildren(),function(_7b4){if(this[_7b4.container]!=this.containerNode){this[_7b4.container].appendChild(_7b4.domNode);}},this);},_typematicCallback:function(_7b5,_7b6,e){if(_7b5==-1){return;}this[(_7b6==(this._descending?this.incrementButton:this.decrementButton))?"decrement":"increment"](e);},postCreate:function(){if(this.showButtons){this.incrementButton.style.display="";this.decrementButton.style.display="";this._connects.push(dijit.typematic.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500));this._connects.push(dijit.typematic.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.connect(this.domNode,!dojo.isMozilla?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _7b8=this;var _7b9=function(){dijit.form._SliderMover.apply(this,arguments);this.widget=_7b8;};dojo.extend(_7b9,dijit.form._SliderMover.prototype);this._movable=new dojo.dnd.Moveable(this.sliderHandle,{mover:_7b9});var _7ba=dojo.query("label[for=\""+this.id+"\"]");if(_7ba.length){_7ba[0].id=(this.id+"_label");dijit.setWaiState(this.focusNode,"labelledby",_7ba[0].id);}dijit.setWaiState(this.focusNode,"valuemin",this.minimum);dijit.setWaiState(this.focusNode,"valuemax",this.maximum);this.inherited(arguments);},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this.inherited(arguments);}});dojo.declare("dijit.form.VerticalSlider",dijit.form.HorizontalSlider,{templateString:"<table class=\"dijitReset dijitSlider\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" dojoAttachEvent=\"onkeypress:_onKeyPress\"\n><tbody class=\"dijitReset\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper dijitSliderTopBumper\" dojoAttachEvent=\"onclick:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td dojoAttachPoint=\"leftDecoration\" class=\"dijitReset\" style=\"text-align:center;height:100%;\"></td\n\t\t><td class=\"dijitReset\" style=\"height:100%;\"\n\t\t\t><input dojoAttachPoint=\"valueNode\" type=\"hidden\" name=\"${name}\"\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" waiRole=\"presentation\" dojoAttachPoint=\"sliderBarContainer\"\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" dojoAttachEvent=\"onclick:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" dojoAttachEvent=\"onclick:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable\" style=\"vertical-align:top;\" \n\t\t\t\t\t\t><div dojoAttachPoint=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" dojoAttachEvent=\"onmousedown:_onHandleClick\" waiRole=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td dojoAttachPoint=\"containerNode,rightDecoration\" class=\"dijitReset\" style=\"text-align:center;height:100%;\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper dijitSliderBottomBumper\" dojoAttachEvent=\"onclick:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></tbody></table>\n",_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_startingPixelCount:"t",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,startup:function(){if(this._started){return;}if(!this.isLeftToRight()&&dojo.isMoz){if(this.leftDecoration){this._rtlRectify(this.leftDecoration);}if(this.rightDecoration){this._rtlRectify(this.rightDecoration);}}this.inherited(arguments);},_isReversed:function(){return this._descending;},_rtlRectify:function(_7bb){var _7bc=[];while(_7bb.firstChild){_7bc.push(_7bb.firstChild);_7bb.removeChild(_7bb.firstChild);}for(var i=_7bc.length-1;i>=0;i--){if(_7bc[i]){_7bb.appendChild(_7bc[i]);}}}});dojo.declare("dijit.form._SliderMover",dojo.dnd.Mover,{onMouseMove:function(e){var _7bf=this.widget;var _7c0=_7bf._abspos;if(!_7c0){_7c0=_7bf._abspos=dojo.coords(_7bf.sliderBarContainer,true);_7bf._setPixelValue_=dojo.hitch(_7bf,"_setPixelValue");_7bf._isReversed_=_7bf._isReversed();}var _7c1=e[_7bf._mousePixelCoord]-_7c0[_7bf._startingPixelCoord];_7bf._setPixelValue_(_7bf._isReversed_?(_7c0[_7bf._pixelCount]-_7c1):_7c1,_7c0[_7bf._pixelCount],false);},destroy:function(e){dojo.dnd.Mover.prototype.destroy.apply(this,arguments);var _7c3=this.widget;_7c3._abspos=null;_7c3._setValueAttr(_7c3.value,true);}});dojo.declare("dijit.form.HorizontalRule",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkH\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(pos,ndx){return this._positionPrefix+pos+this._positionSuffix+this.ruleStyle+this._suffix;},_isHorizontal:true,postCreate:function(){var _7c6;if(this.count==1){_7c6=this._genHTML(50,0);}else{var i;var _7c8=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_7c6=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_7c6+=this._genHTML(_7c8*i,i);}_7c6+=this._genHTML(100,this.count-1);}else{_7c6=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_7c6+=this._genHTML(100-_7c8*i,i);}_7c6+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_7c6;}});dojo.declare("dijit.form.VerticalRule",dijit.form.HorizontalRule,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});dojo.declare("dijit.form.HorizontalRuleLabels",dijit.form.HorizontalRule,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</span></div>",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[ndx]+this._suffix;},getLabels:function(){var _7cc=this.labels;if(!_7cc.length){_7cc=dojo.query("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_7cc.length&&this.count>1){var _7ce=this.minimum;var inc=(this.maximum-_7ce)/(this.count-1);for(var i=0;i<this.count;i++){_7cc.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":dojo.number.format(_7ce,this.constraints));_7ce+=inc;}}return _7cc;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});dojo.declare("dijit.form.VerticalRuleLabels",dijit.form.HorizontalRuleLabels,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});}if(!dojo._hasResource["dijit.form.Textarea"]){dojo._hasResource["dijit.form.Textarea"]=true;dojo.provide("dijit.form.Textarea");dojo.declare("dijit.form.Textarea",dijit.form._FormValueWidget,{attributeMap:dojo.mixin(dojo.clone(dijit.form._FormValueWidget.prototype.attributeMap),{style:"styleNode","class":"styleNode"}),templateString:(dojo.isIE||dojo.isSafari||dojo.isFF)?((dojo.isIE||dojo.isSafari||dojo.isFF>=3)?"<fieldset id=\"${id}\" class=\"dijitInline\" dojoAttachPoint=\"styleNode\" waiRole=\"presentation\"><div dojoAttachPoint=\"editNode,focusNode,eventNode\" dojoAttachEvent=\"onpaste:_changing,oncut:_changing\" waiRole=\"textbox\" waiState=\"multiline-true\" contentEditable=\"true\"></div>":"<span id=\"${id}\" class=\"dijitReset\">"+"<iframe src=\"javascript:<html><head><title>${_iframeEditTitle}</title></head><body><script>var _postCreate=window.frameElement?window.frameElement.postCreate:null;if(_postCreate)_postCreate();</script></body></html>\""+" dojoAttachPoint=\"iframe,styleNode,stateNode\" dojoAttachEvent=\"onblur:_onIframeBlur\" class=\"dijitInline dijitInputField\"></iframe>")+"<textarea name=\"${name}\" value=\"${value}\" dojoAttachPoint=\"formValueNode\" style=\"display:none;\" autocomplete=\"off\"></textarea>"+((dojo.isIE||dojo.isSafari||dojo.isFF>=3)?"</fieldset>":"</span>"):"<textarea id=\"${id}\" name=\"${name}\" value=\"${value}\" dojoAttachPoint=\"formValueNode,editNode,focusNode,styleNode\">"+dojo.isFF+"</textarea>",baseClass:"dijitTextArea",_setDisabledAttr:function(_7d2){this.inherited(arguments);this.formValueNode.disabled=this.disabled;this._adjustWritable();},_setReadOnlyAttr:function(_7d3){this.readOnly=_7d3;this._adjustWritable();},_adjustWritable:function(){if(dojo.isIE||dojo.isSafari||dojo.isFF>=3){this.editNode.contentEditable=(!this.disabled&&!this.readOnly);}else{if(dojo.isFF){this.iframe.contentDocument.designMode=(this.disabled||this.readOnly)?"off":"on";}}},focus:function(){if(!this.disabled&&!this.readOnly){this._changing();}dijit.focus(this.iframe||this.focusNode);},_setValueAttr:function(_7d4,_7d5){var _7d6=this.editNode;if(typeof _7d4=="string"){_7d6.innerHTML="";if(_7d4.split){var _7d7=this;var _7d8=true;dojo.forEach(_7d4.split("\n"),function(line){if(_7d8){_7d8=false;}else{_7d6.appendChild(dojo.doc.createElement("BR"));}if(line){_7d6.appendChild(dojo.doc.createTextNode(line));}});}else{if(_7d4){_7d6.appendChild(dojo.doc.createTextNode(_7d4));}}if(!dojo.isIE){_7d6.appendChild(dojo.doc.createElement("BR"));}}else{_7d4=_7d6.innerHTML;if(this.iframe){_7d4=_7d4.replace(/<div><\/div>\r?\n?$/i,"");}_7d4=_7d4.replace(/\s*\r?\n|^\s+|\s+$|&nbsp;/g,"").replace(/>\s+</g,"><").replace(/<\/(p|div)>$|^<(p|div)[^>]*>/gi,"").replace(/([^>])<div>/g,"$1\n").replace(/<\/p>\s*<p[^>]*>|<br[^>]*>|<\/div>\s*<div[^>]*>/gi,"\n").replace(/<[^>]*>/g,"").replace(/&amp;/gi,"&").replace(/&lt;/gi,"<").replace(/&gt;/gi,">");if(!dojo.isIE){_7d4=_7d4.replace(/\n$/,"");}}this.value=this.formValueNode.value=_7d4;if(this.iframe){var _7da=dojo.doc.createElement("div");_7d6.appendChild(_7da);var _7db=_7da.offsetTop;if(_7d6.scrollWidth>_7d6.clientWidth){_7db+=16;}if(this.lastHeight!=_7db){if(_7db==0){_7db=16;}dojo.contentBox(this.iframe,{h:_7db});this.lastHeight=_7db;}_7d6.removeChild(_7da);}dijit.form.Textarea.superclass._setValueAttr.call(this,this.attr("value"),_7d5);},_getValueAttr:function(){return this.value.replace(/\r/g,"");},postMixInProperties:function(){this.inherited(arguments);if(this.srcNodeRef&&this.srcNodeRef.innerHTML!=""){this.value=this.srcNodeRef.innerHTML;this.srcNodeRef.innerHTML="";}if((!this.value||this.value=="")&&this.srcNodeRef&&this.srcNodeRef.value){this.value=this.srcNodeRef.value;}if(!this.value){this.value="";}this.value=this.value.replace(/\r\n/g,"\n").replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&amp;/g,"&");if(dojo.isFF==2){var _7dc=dojo.i18n.getLocalization("dijit.form","Textarea");this._iframeEditTitle=_7dc.iframeEditTitle;this._iframeFocusTitle=_7dc.iframeFocusTitle;var _7dd=dojo.query("label[for=\""+this.id+"\"]");if(_7dd.length){this._iframeEditTitle=_7dd[0].innerHTML+" "+this._iframeEditTitle;}this.focusNode=this.editNode=dojo.doc.createElement("BODY");}},postCreate:function(){var _7de="";if(dojo.isIE||dojo.isSafari||dojo.isFF>=3){this.domNode.style.overflowY="hidden";}else{if(dojo.isFF){var w=this.iframe.contentWindow;var _7e0="";try{_7e0=this.iframe.contentDocument.title;}catch(e){}if(!w||!_7e0){this.iframe.postCreate=dojo.hitch(this,this.postCreate);return;}var d=w.document;d.getElementsByTagName("HTML")[0].replaceChild(this.editNode,d.getElementsByTagName("BODY")[0]);if(!this.isLeftToRight()){d.getElementsByTagName("HTML")[0].dir="rtl";}this.iframe.style.overflowY="hidden";this.eventNode=d;w.addEventListener("resize",dojo.hitch(this,this._changed),false);dijit.registerWin(w);_7de="margin:0px;padding:0px;border:0px;";}else{this.focusNode=this.domNode;}}this.style.replace(/(^|;)(line-|font-?)[^;]+/g,function(_7e2){_7de+=_7e2.replace(/^;/g,"")+";";});dojo.attr(this.focusNode,"style",_7de);if(this.eventNode){this.connect(this.eventNode,"keypress",this._onKeyPress);this.connect(this.eventNode,"mousemove",this._changed);this.connect(this.eventNode,"focus",this._focusedEventNode);this.connect(this.eventNode,"blur",this._blurredEventNode);}if(this.editNode){this.connect(this.editNode,"change",this._changed);}this.inherited("postCreate",arguments);},_focusedEventNode:function(e){this._focused=true;this._setStateClass();this._changed(e);},_blurredEventNode:function(e){this._focused=false;this._setStateClass();this._changed(e,true);},_onIframeBlur:function(){this.iframe.contentDocument.title=this._iframeEditTitle;},_onKeyPress:function(e){if(e.charOrCode===dojo.keys.TAB&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&this.iframe){this.iframe.contentDocument.title=this._iframeFocusTitle;this.iframe.focus();dojo.stopEvent(e);}else{if(e.charOrCode==dojo.keys.ENTER){e.stopPropagation();}else{if(this.inherited("_onKeyPress",arguments)&&this.iframe){var te=dojo.doc.createEvent("KeyEvents");te.initKeyEvent("keypress",true,true,null,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.keyCode,e.charCode);this.iframe.dispatchEvent(te);}}}this._changing();},_changing:function(e){setTimeout(dojo.hitch(this,"_changed",e,false),1);},_changed:function(e,_7e9){if(this.iframe&&this.iframe.contentDocument.designMode!="on"&&!this.disabled&&!this.readOnly){this.iframe.contentDocument.designMode="on";}this._setValueAttr(null,_7e9||false);}});}if(!dojo._hasResource["dijit.layout.StackContainer"]){dojo._hasResource["dijit.layout.StackContainer"]=true;dojo.provide("dijit.layout.StackContainer");dojo.declare("dijit.layout.StackContainer",dijit.layout._LayoutWidget,{doLayout:true,baseClass:"dijitStackContainer",_started:false,postCreate:function(){this.inherited(arguments);dijit.setWaiRole(this.containerNode,"tabpanel");this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _7ea=this.getChildren();dojo.forEach(_7ea,this._setupChild,this);dojo.some(_7ea,function(_7eb){if(_7eb.selected){this.selectedChildWidget=_7eb;}return _7eb.selected;},this);var _7ec=this.selectedChildWidget;if(!_7ec&&_7ea[0]){_7ec=this.selectedChildWidget=_7ea[0];_7ec.selected=true;}if(_7ec){this._showChild(_7ec);}dojo.publish(this.id+"-startup",[{children:_7ea,selected:_7ec}]);this.inherited(arguments);},_setupChild:function(_7ed){this.inherited(arguments);_7ed.domNode.style.display="none";_7ed.domNode.style.position="relative";_7ed.domNode.title="";return _7ed;},addChild:function(_7ee,_7ef){this.inherited(arguments);if(this._started){dojo.publish(this.id+"-addChild",[_7ee,_7ef]);this.layout();if(!this.selectedChildWidget){this.selectChild(_7ee);}}},removeChild:function(page){this.inherited(arguments);if(this._beingDestroyed){return;}if(this._started){dojo.publish(this.id+"-removeChild",[page]);this.layout();}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _7f1=this.getChildren();if(_7f1.length){this.selectChild(_7f1[0]);}}}},selectChild:function(page){page=dijit.byId(page);if(this.selectedChildWidget!=page){this._transition(page,this.selectedChildWidget);this.selectedChildWidget=page;dojo.publish(this.id+"-selectChild",[page]);}},_transition:function(_7f3,_7f4){if(_7f4){this._hideChild(_7f4);}this._showChild(_7f3);if(this.doLayout&&_7f3.resize){_7f3.resize(this._containerContentBox||this._contentBox);}},_adjacent:function(_7f5){var _7f6=this.getChildren();var _7f7=dojo.indexOf(_7f6,this.selectedChildWidget);_7f7+=_7f5?1:_7f6.length-1;return _7f6[_7f7%_7f6.length];},forward:function(){this.selectChild(this._adjacent(true));},back:function(){this.selectChild(this._adjacent(false));},_onKeyPress:function(e){dojo.publish(this.id+"-containerKeyPress",[{e:e,page:this}]);},layout:function(){if(this.doLayout&&this.selectedChildWidget&&this.selectedChildWidget.resize){this.selectedChildWidget.resize(this._contentBox);}},_showChild:function(page){var _7fa=this.getChildren();page.isFirstChild=(page==_7fa[0]);page.isLastChild=(page==_7fa[_7fa.length-1]);page.selected=true;page.domNode.style.display="";if(page._loadCheck){page._loadCheck();}if(page.onShow){page.onShow();}},_hideChild:function(page){page.selected=false;page.domNode.style.display="none";if(page.onHide){page.onHide();}},closeChild:function(page){var _7fd=page.onClose(this,page);if(_7fd){this.removeChild(page);page.destroyRecursive();}},destroy:function(){this._beingDestroyed=true;this.inherited(arguments);}});dojo.declare("dijit.layout.StackController",[dijit._Widget,dijit._Templated,dijit._Container],{templateString:"<span wairole='tablist' dojoAttachEvent='onkeypress' class='dijitStackController'></span>",containerId:"",buttonWidget:"dijit.layout._StackButton",postCreate:function(){dijit.setWaiRole(this.domNode,"tablist");this.pane2button={};this.pane2handles={};this.pane2menu={};this._subscriptions=[dojo.subscribe(this.containerId+"-startup",this,"onStartup"),dojo.subscribe(this.containerId+"-addChild",this,"onAddChild"),dojo.subscribe(this.containerId+"-removeChild",this,"onRemoveChild"),dojo.subscribe(this.containerId+"-selectChild",this,"onSelectChild"),dojo.subscribe(this.containerId+"-containerKeyPress",this,"onContainerKeyPress")];},onStartup:function(info){dojo.forEach(info.children,this.onAddChild,this);this.onSelectChild(info.selected);},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(pane);}dojo.forEach(this._subscriptions,dojo.unsubscribe);this.inherited(arguments);},onAddChild:function(page,_801){var _802=dojo.doc.createElement("span");this.domNode.appendChild(_802);var cls=dojo.getObject(this.buttonWidget);var _804=new cls({label:page.title,closeButton:page.closable},_802);this.addChild(_804,_801);this.pane2button[page]=_804;page.controlButton=_804;var _805=[];_805.push(dojo.connect(_804,"onClick",dojo.hitch(this,"onButtonClick",page)));if(page.closable){_805.push(dojo.connect(_804,"onClickCloseButton",dojo.hitch(this,"onCloseButtonClick",page)));var _806=dojo.i18n.getLocalization("dijit","common");var _807=new dijit.Menu({targetNodeIds:[_804.id],id:_804.id+"_Menu"});var _808=new dijit.MenuItem({label:_806.itemClose});_805.push(dojo.connect(_808,"onClick",dojo.hitch(this,"onCloseButtonClick",page)));_807.addChild(_808);this.pane2menu[page]=_807;}this.pane2handles[page]=_805;if(!this._currentChild){_804.focusNode.setAttribute("tabIndex","0");this._currentChild=page;}if(!this.isLeftToRight()&&dojo.isIE&&this._rectifyRtlTabList){this._rectifyRtlTabList();}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}dojo.forEach(this.pane2handles[page],dojo.disconnect);delete this.pane2handles[page];var menu=this.pane2menu[page];if(menu){menu.destroyRecursive();delete this.pane2menu[page];}var _80b=this.pane2button[page];if(_80b){_80b.destroy();delete this.pane2button[page];}},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _80d=this.pane2button[this._currentChild];_80d.attr("checked",false);_80d.focusNode.setAttribute("tabIndex","-1");}var _80e=this.pane2button[page];_80e.attr("checked",true);this._currentChild=page;_80e.focusNode.setAttribute("tabIndex","0");var _80f=dijit.byId(this.containerId);dijit.setWaiState(_80f.containerNode,"labelledby",_80e.id);},onButtonClick:function(page){var _811=dijit.byId(this.containerId);_811.selectChild(page);},onCloseButtonClick:function(page){var _813=dijit.byId(this.containerId);_813.closeChild(page);var b=this.pane2button[this._currentChild];if(b){dijit.focus(b.focusNode||b.domNode);}},adjacent:function(_815){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_815=!_815;}var _816=this.getChildren();var _817=dojo.indexOf(_816,this.pane2button[this._currentChild]);var _818=_815?1:_816.length-1;return _816[(_817+_818)%_816.length];},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _81a=null;if(e.ctrlKey||!e._djpage){var k=dojo.keys;switch(e.charOrCode){case k.LEFT_ARROW:case k.UP_ARROW:if(!e._djpage){_81a=false;}break;case k.PAGE_UP:if(e.ctrlKey){_81a=false;}break;case k.RIGHT_ARROW:case k.DOWN_ARROW:if(!e._djpage){_81a=true;}break;case k.PAGE_DOWN:if(e.ctrlKey){_81a=true;}break;case k.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}dojo.stopEvent(e);break;default:if(e.ctrlKey){if(e.charOrCode===k.TAB){this.adjacent(!e.shiftKey).onClick();dojo.stopEvent(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}dojo.stopEvent(e);}}}}if(_81a!==null){this.adjacent(_81a).onClick();dojo.stopEvent(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});dojo.declare("dijit.layout._StackButton",dijit.form.ToggleButton,{tabIndex:"-1",postCreate:function(evt){dijit.setWaiRole((this.focusNode||this.domNode),"tab");this.inherited(arguments);},onClick:function(evt){dijit.focus(this.focusNode);},onClickCloseButton:function(evt){evt.stopPropagation();}});dojo.extend(dijit._Widget,{title:"",selected:false,closable:false,onClose:function(){return true;}});}if(!dojo._hasResource["dijit.layout.AccordionContainer"]){dojo._hasResource["dijit.layout.AccordionContainer"]=true;dojo.provide("dijit.layout.AccordionContainer");dojo.declare("dijit.layout.AccordionContainer",dijit.layout.StackContainer,{duration:dijit.defaultDuration,_verticalSpace:0,baseClass:"dijitAccordionContainer",postCreate:function(){this.domNode.style.overflow="hidden";this.inherited(arguments);dijit.setWaiRole(this.domNode,"tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){var _820=this.selectedChildWidget.containerNode.style;_820.display="";_820.overflow="auto";this.selectedChildWidget._setSelectedState(true);}},_getTargetHeight:function(node){var cs=dojo.getComputedStyle(node);return Math.max(this._verticalSpace-dojo._getPadBorderExtents(node,cs).h,0);},layout:function(){var _823=0;var _824=this.selectedChildWidget;dojo.forEach(this.getChildren(),function(_825){_823+=_825.getTitleHeight();});var _826=this._contentBox;this._verticalSpace=_826.h-_823;if(_824){_824.containerNode.style.height=this._getTargetHeight(_824.containerNode)+"px";}},_setupChild:function(page){return page;},_transition:function(_828,_829){if(this._inTransition){return;}this._inTransition=true;var _82a=[];var _82b=this._verticalSpace;if(_828){_828.setSelected(true);var _82c=_828.containerNode;_82c.style.display="";_82b=this._getTargetHeight(_828.containerNode);_82a.push(dojo.animateProperty({node:_82c,duration:this.duration,properties:{height:{start:1,end:_82b}},onEnd:function(){_82c.style.overflow="auto";}}));}if(_829){_829.setSelected(false);var _82d=_829.containerNode;_82d.style.overflow="hidden";_82b=this._getTargetHeight(_829.containerNode);_82a.push(dojo.animateProperty({node:_82d,duration:this.duration,properties:{height:{start:_82b,end:"1"}},onEnd:function(){_82d.style.display="none";}}));}this._inTransition=false;dojo.fx.combine(_82a).play();},_onKeyPress:function(e){if(this.disabled||e.altKey||!(e._dijitWidget||e.ctrlKey)){return;}var k=dojo.keys;var _830=e._dijitWidget;switch(e.charOrCode){case k.LEFT_ARROW:case k.UP_ARROW:if(_830){this._adjacent(false)._onTitleClick();dojo.stopEvent(e);}break;case k.PAGE_UP:if(e.ctrlKey){this._adjacent(false)._onTitleClick();dojo.stopEvent(e);}break;case k.RIGHT_ARROW:case k.DOWN_ARROW:if(_830){this._adjacent(true)._onTitleClick();dojo.stopEvent(e);}break;case k.PAGE_DOWN:if(e.ctrlKey){this._adjacent(true)._onTitleClick();dojo.stopEvent(e);}break;default:if(e.ctrlKey&&e.charOrCode===k.TAB){this._adjacent(e._dijitWidget,!e.shiftKey)._onTitleClick();dojo.stopEvent(e);}}}});dojo.declare("dijit.layout.AccordionPane",[dijit.layout.ContentPane,dijit._Templated,dijit._Contained],{templateString:"<div waiRole=\"presentation\"\n\t><div dojoAttachPoint='titleNode,focusNode' dojoAttachEvent='ondijitclick:_onTitleClick,onkeypress:_onTitleKeyPress,onfocus:_handleFocus,onblur:_handleFocus,onmouseenter:_onTitleEnter,onmouseleave:_onTitleLeave'\n\t\tclass='dijitAccordionTitle' wairole=\"tab\" waiState=\"expanded-false\"\n\t\t><span class='dijitInline dijitAccordionArrow' waiRole=\"presentation\"></span\n\t\t><span class='arrowTextUp' waiRole=\"presentation\">+</span\n\t\t><span class='arrowTextDown' waiRole=\"presentation\">-</span\n\t\t><span waiRole=\"presentation\" dojoAttachPoint='titleTextNode' class='dijitAccordionText'></span></div\n\t><div waiRole=\"presentation\"><div dojoAttachPoint='containerNode' style='overflow: hidden; height: 1px; display: none'\n\t\tclass='dijitAccordionBody' wairole=\"tabpanel\"\n\t></div></div>\n</div>\n",attributeMap:dojo.mixin(dojo.clone(dijit.layout.ContentPane.prototype.attributeMap),{title:{node:"titleTextNode",type:"innerHTML"}}),baseClass:"dijitAccordionPane",postCreate:function(){this.inherited(arguments);dojo.setSelectable(this.titleNode,false);this.setSelected(this.selected);dojo.attr(this.titleTextNode,"id",this.domNode.id+"_title");dijit.setWaiState(this.focusNode,"labelledby",dojo.attr(this.titleTextNode,"id"));},getTitleHeight:function(){return dojo.marginBox(this.titleNode).h;},_onTitleClick:function(){var _831=this.getParent();if(!_831._inTransition){_831.selectChild(this);dijit.focus(this.focusNode);}},_onTitleEnter:function(){dojo.addClass(this.focusNode,"dijitAccordionTitle-hover");},_onTitleLeave:function(){dojo.removeClass(this.focusNode,"dijitAccordionTitle-hover");},_onTitleKeyPress:function(evt){evt._dijitWidget=this;return this.getParent()._onKeyPress(evt);},_setSelectedState:function(_833){this.selected=_833;dojo[(_833?"addClass":"removeClass")](this.titleNode,"dijitAccordionTitle-selected");dijit.setWaiState(this.focusNode,"expanded",_833);this.focusNode.setAttribute("tabIndex",_833?"0":"-1");},_handleFocus:function(e){dojo[(e.type=="focus"?"addClass":"removeClass")](this.focusNode,"dijitAccordionFocused");},setSelected:function(_835){this._setSelectedState(_835);if(_835){this.onSelected();this._loadCheck();}},onSelected:function(){}});}if(!dojo._hasResource["dijit.layout.BorderContainer"]){dojo._hasResource["dijit.layout.BorderContainer"]=true;dojo.provide("dijit.layout.BorderContainer");dojo.declare("dijit.layout.BorderContainer",dijit.layout._LayoutWidget,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:"dijit.layout._Splitter",postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this._splitters={};this._splitterThickness={};},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_836){var _837=_836.region;if(_837){this.inherited(arguments);dojo.addClass(_836.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_837=="leading"){_837=ltr?"left":"right";}if(_837=="trailing"){_837=ltr?"right":"left";}this["_"+_837]=_836.domNode;this["_"+_837+"Widget"]=_836;if((_836.splitter||this.gutters)&&!this._splitters[_837]){var _839=dojo.getObject(_836.splitter?this._splitterClass:"dijit.layout._Gutter");var flip={left:"right",right:"left",top:"bottom",bottom:"top",leading:"trailing",trailing:"leading"};var _83b=new _839({container:this,child:_836,region:_837,oppNode:dojo.query("[region="+flip[_836.region]+"]",this.domNode)[0],live:this.liveSplitters});_83b.isSplitter=true;this._splitters[_837]=_83b.domNode;dojo.place(this._splitters[_837],_836.domNode,"after");_83b.startup();}_836.region=_837;}},_computeSplitterThickness:function(_83c){this._splitterThickness[_83c]=this._splitterThickness[_83c]||dojo.marginBox(this._splitters[_83c])[(/top|bottom/.test(_83c)?"h":"w")];},layout:function(){for(var _83d in this._splitters){this._computeSplitterThickness(_83d);}this._layoutChildren();},addChild:function(_83e,_83f){this.inherited(arguments);if(this._started){this._layoutChildren();}},removeChild:function(_840){var _841=_840.region;var _842=this._splitters[_841];if(_842){dijit.byNode(_842).destroy();delete this._splitters[_841];delete this._splitterThickness[_841];}this.inherited(arguments);delete this["_"+_841];delete this["_"+_841+"Widget"];if(this._started){this._layoutChildren(_840.region);}dojo.removeClass(_840.domNode,this.baseClass+"Pane");},getChildren:function(){return dojo.filter(this.inherited(arguments),function(_843){return !_843.isSplitter;});},getSplitter:function(_844){var _845=this._splitters[_844];return _845?dijit.byNode(_845):null;},resize:function(_846,_847){if(!this.cs||!this.pe){var node=this.domNode;this.cs=dojo.getComputedStyle(node);this.pe=dojo._getPadExtents(node,this.cs);this.pe.r=dojo._toPixelValue(node,this.cs.paddingRight);this.pe.b=dojo._toPixelValue(node,this.cs.paddingBottom);dojo.style(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_849){var _84a=(this.design=="sidebar");var _84b=0,_84c=0,_84d=0,_84e=0;var _84f={},_850={},_851={},_852={},_853=(this._center&&this._center.style)||{};var _854=/left|right/.test(_849);var _855=!_849||(!_854&&!_84a);var _856=!_849||(_854&&_84a);if(this._top){_84f=_856&&this._top.style;_84b=dojo.marginBox(this._top).h;}if(this._left){_850=_855&&this._left.style;_84d=dojo.marginBox(this._left).w;}if(this._right){_851=_855&&this._right.style;_84e=dojo.marginBox(this._right).w;}if(this._bottom){_852=_856&&this._bottom.style;_84c=dojo.marginBox(this._bottom).h;}var _857=this._splitters;var _858=_857.top,_859=_857.bottom,_85a=_857.left,_85b=_857.right;var _85c=this._splitterThickness;var _85d=_85c.top||0,_85e=_85c.left||0,_85f=_85c.right||0,_860=_85c.bottom||0;if(_85e>50||_85f>50){setTimeout(dojo.hitch(this,function(){this._splitterThickness={};for(var _861 in this._splitters){this._computeSplitterThickness(_861);}this._layoutChildren();}),50);return false;}var pe=this.pe;var _863={left:(_84a?_84d+_85e:0)+pe.l+"px",right:(_84a?_84e+_85f:0)+pe.r+"px"};if(_858){dojo.mixin(_858.style,_863);_858.style.top=_84b+pe.t+"px";}if(_859){dojo.mixin(_859.style,_863);_859.style.bottom=_84c+pe.b+"px";}_863={top:(_84a?0:_84b+_85d)+pe.t+"px",bottom:(_84a?0:_84c+_860)+pe.b+"px"};if(_85a){dojo.mixin(_85a.style,_863);_85a.style.left=_84d+pe.l+"px";}if(_85b){dojo.mixin(_85b.style,_863);_85b.style.right=_84e+pe.r+"px";}dojo.mixin(_853,{top:pe.t+_84b+_85d+"px",left:pe.l+_84d+_85e+"px",right:pe.r+_84e+_85f+"px",bottom:pe.b+_84c+_860+"px"});var _864={top:_84a?pe.t+"px":_853.top,bottom:_84a?pe.b+"px":_853.bottom};dojo.mixin(_850,_864);dojo.mixin(_851,_864);_850.left=pe.l+"px";_851.right=pe.r+"px";_84f.top=pe.t+"px";_852.bottom=pe.b+"px";if(_84a){_84f.left=_852.left=_84d+_85e+pe.l+"px";_84f.right=_852.right=_84e+_85f+pe.r+"px";}else{_84f.left=_852.left=pe.l+"px";_84f.right=_852.right=pe.r+"px";}var _865=this._borderBox.h-pe.t-pe.b,_866=_865-(_84b+_85d+_84c+_860),_867=_84a?_865:_866;var _868=this._borderBox.w-pe.l-pe.r,_869=_868-(_84d+_85e+_84e+_85f),_86a=_84a?_869:_868;var dim={top:{w:_86a,h:_84b},bottom:{w:_86a,h:_84c},left:{w:_84d,h:_867},right:{w:_84e,h:_867},center:{h:_866,w:_869}};var _86c=dojo.isIE||dojo.some(this.getChildren(),function(_86d){return _86d.domNode.tagName=="TEXTAREA"||_86d.domNode.tagName=="INPUT";});if(_86c){var _86e=function(_86f,_870,_871){if(_86f){(_86f.resize?_86f.resize(_870,_871):dojo.marginBox(_86f.domNode,_870));}};if(_85a){_85a.style.height=_867;}if(_85b){_85b.style.height=_867;}_86e(this._leftWidget,{h:_867},dim.left);_86e(this._rightWidget,{h:_867},dim.right);if(_858){_858.style.width=_86a;}if(_859){_859.style.width=_86a;}_86e(this._topWidget,{w:_86a},dim.top);_86e(this._bottomWidget,{w:_86a},dim.bottom);_86e(this._centerWidget,dim.center);}else{var _872={};if(_849){_872[_849]=_872.center=true;if(/top|bottom/.test(_849)&&this.design!="sidebar"){_872.left=_872.right=true;}else{if(/left|right/.test(_849)&&this.design=="sidebar"){_872.top=_872.bottom=true;}}}dojo.forEach(this.getChildren(),function(_873){if(_873.resize&&(!_849||_873.region in _872)){_873.resize(null,dim[_873.region]);}},this);}},destroy:function(){for(region in this._splitters){var _874=this._splitters[region];dijit.byNode(_874).destroy();dojo._destroyElement(_874);}delete this._splitters;delete this._splitterThickness;this.inherited(arguments);}});dojo.extend(dijit._Widget,{region:"",splitter:false,minSize:0,maxSize:Infinity});dojo.declare("dijit.layout._Splitter",[dijit._Widget,dijit._Templated],{live:true,templateString:"<div class=\"dijitSplitter\" dojoAttachEvent=\"onkeypress:_onKeyPress,onmousedown:_startDrag\" tabIndex=\"0\" waiRole=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",postCreate:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);dojo.addClass(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));this._factor=/top|left/.test(this.region)?1:-1;this._minSize=this.child.minSize;this.child.domNode._recalc=true;this.connect(this.container,"resize",function(){this.child.domNode._recalc=true;});this._cookieName=this.container.id+"_"+this.region;if(this.container.persist){var _875=dojo.cookie(this._cookieName);if(_875){this.child.domNode.style[this.horizontal?"height":"width"]=_875;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_877=this.container._splitterThickness[this.region];var _878=dojo.contentBox(this.container.domNode)[dim]-(this.oppNode?dojo.marginBox(this.oppNode)[dim]:0)-20-_877*2;this._maxSize=Math.min(this.child.maxSize,_878);},_startDrag:function(e){if(this.child.domNode._recalc){this._computeMaxSize();this.child.domNode._recalc=false;}if(!this.cover){this.cover=dojo.doc.createElement("div");dojo.addClass(this.cover,"dijitSplitterCover");dojo.place(this.cover,this.child.domNode,"after");}else{this.cover.style.zIndex=1;}if(this.fake){dojo._destroyElement(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");dojo.addClass(this.domNode,"dijitSplitterShadow");dojo.place(this.fake,this.domNode,"after");}dojo.addClass(this.domNode,"dijitSplitterActive");var _87a=this._factor,max=this._maxSize,min=this._minSize||20,_87d=this.horizontal,axis=_87d?"pageY":"pageX",_87f=e[axis],_880=this.domNode.style,dim=_87d?"h":"w",_882=dojo.marginBox(this.child.domNode)[dim],_883=this.region,_884=parseInt(this.domNode.style[_883],10),_885=this._resize,mb={},_887=this.child.domNode,_888=dojo.hitch(this.container,this.container._layoutChildren),de=dojo.doc.body;this._handlers=(this._handlers||[]).concat([dojo.connect(de,"onmousemove",this._drag=function(e,_88b){var _88c=e[axis]-_87f,_88d=_87a*_88c+_882,_88e=Math.max(Math.min(_88d,max),min);if(_885||_88b){mb[dim]=_88e;dojo.marginBox(_887,mb);_888(_883);}_880[_883]=_87a*_88c+_884+(_88e-_88d)+"px";}),dojo.connect(de,"onmouseup",this,"_stopDrag")]);dojo.stopEvent(e);},_stopDrag:function(e){try{if(this.cover){this.cover.style.zIndex=-1;}if(this.fake){dojo._destroyElement(this.fake);}dojo.removeClass(this.domNode,"dijitSplitterActive");dojo.removeClass(this.domNode,"dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();if(this.oppNode){this.oppNode._recalc=true;}delete this._drag;}if(this.container.persist){dojo.cookie(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){dojo.forEach(this._handlers,dojo.disconnect);delete this._handlers;},_onKeyPress:function(e){if(this.child.domNode._recalc){this._computeMaxSize();this.child.domNode._recalc=false;}this._resize=true;var _891=this.horizontal;var tick=1;var dk=dojo.keys;switch(e.charOrCode){case _891?dk.UP_ARROW:dk.LEFT_ARROW:tick*=-1;case _891?dk.DOWN_ARROW:dk.RIGHT_ARROW:break;default:return;}var _894=dojo.marginBox(this.child.domNode)[_891?"h":"w"]+this._factor*tick;var mb={};mb[this.horizontal?"h":"w"]=Math.max(Math.min(_894,this._maxSize),this._minSize);dojo.marginBox(this.child.domNode,mb);if(this.oppNode){this.oppNode._recalc=true;}this.container._layoutChildren(this.region);dojo.stopEvent(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.fake;this.inherited(arguments);}});dojo.declare("dijit.layout._Gutter",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitGutter\" waiRole=\"presentation\"></div>",postCreate:function(){this.horizontal=/top|bottom/.test(this.region);dojo.addClass(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});}if(!dojo._hasResource["dijit.layout.LayoutContainer"]){dojo._hasResource["dijit.layout.LayoutContainer"]=true;dojo.provide("dijit.layout.LayoutContainer");dojo.declare("dijit.layout.LayoutContainer",dijit.layout._LayoutWidget,{baseClass:"dijitLayoutContainer",constructor:function(){dojo.deprecated("dijit.layout.LayoutContainer is deprecated","use BorderContainer instead",2);},layout:function(){dijit.layout.layoutChildren(this.domNode,this._contentBox,this.getChildren());},addChild:function(_896,_897){this.inherited(arguments);if(this._started){dijit.layout.layoutChildren(this.domNode,this._contentBox,this.getChildren());}},removeChild:function(_898){this.inherited(arguments);if(this._started){dijit.layout.layoutChildren(this.domNode,this._contentBox,this.getChildren());}}});dojo.extend(dijit._Widget,{layoutAlign:"none"});}if(!dojo._hasResource["dijit.layout.LinkPane"]){dojo._hasResource["dijit.layout.LinkPane"]=true;dojo.provide("dijit.layout.LinkPane");dojo.declare("dijit.layout.LinkPane",[dijit.layout.ContentPane,dijit._Templated],{templateString:"<div class=\"dijitLinkPane\"></div>",buildRendering:function(){this.inherited(arguments);this.containerNode=this.domNode;},postCreate:function(){if(this.srcNodeRef){this.title+=this.srcNodeRef.innerHTML;}this.inherited("postCreate",arguments);}});}if(!dojo._hasResource["dijit.layout.SplitContainer"]){dojo._hasResource["dijit.layout.SplitContainer"]=true;dojo.provide("dijit.layout.SplitContainer");dojo.declare("dijit.layout.SplitContainer",dijit.layout._LayoutWidget,{constructor:function(){dojo.deprecated("dijit.layout.SplitContainer is deprecated","use BorderContainer with splitter instead",2);},activeSizing:false,sizerWidth:7,orientation:"horizontal",persist:true,baseClass:"dijitSplitContainer",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.isHorizontal=(this.orientation=="horizontal");},postCreate:function(){this.inherited(arguments);this.sizers=[];if(dojo.isMozilla){this.domNode.style.overflow="-moz-scrollbars-none";}if(typeof this.sizerWidth=="object"){try{this.sizerWidth=parseInt(this.sizerWidth.toString());}catch(e){this.sizerWidth=7;}}var _899=this.virtualSizer=dojo.doc.createElement("div");_899.style.position="relative";_899.style.zIndex=10;_899.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_899);dojo.setSelectable(_899,false);},destroy:function(){delete this.virtualSizer;dojo.forEach(this._ownconnects,dojo.disconnect);this.inherited(arguments);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_89a,i,_89c){this._setupChild(_89a);if(i<_89c.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_89d){this.inherited(arguments);_89d.domNode.style.position="absolute";dojo.addClass(_89d.domNode,"dijitSplitPane");},_addSizer:function(){var i=this.sizers.length;var _89f=this.sizers[i]=dojo.doc.createElement("div");this.domNode.appendChild(_89f);_89f.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _8a0=dojo.doc.createElement("div");_8a0.className="thumb";_89f.appendChild(_8a0);var self=this;var _8a2=(function(){var _8a3=i;return function(e){self.beginSizing(e,_8a3);};})();this.connect(_89f,"onmousedown",_8a2);dojo.setSelectable(_89f,false);},removeChild:function(_8a5){if(this.sizers.length){var i=dojo.indexOf(this.getChildren(),_8a5);if(i!=-1){if(i==this.sizers.length){i--;}dojo._destroyElement(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_8a7,_8a8){this.inherited(arguments);if(this._started){var _8a9=this.getChildren();if(_8a9.length>1){this._addSizer();}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _8aa=this.getChildren();if(!_8aa.length){return;}var _8ab=this.isHorizontal?this.paneWidth:this.paneHeight;if(_8aa.length>1){_8ab-=this.sizerWidth*(_8aa.length-1);}var _8ac=0;dojo.forEach(_8aa,function(_8ad){_8ac+=_8ad.sizeShare;});var _8ae=_8ab/_8ac;var _8af=0;dojo.forEach(_8aa.slice(0,_8aa.length-1),function(_8b0){var size=Math.round(_8ae*_8b0.sizeShare);_8b0.sizeActual=size;_8af+=size;});_8aa[_8aa.length-1].sizeActual=_8ab-_8af;this._checkSizes();var pos=0;var size=_8aa[0].sizeActual;this._movePanel(_8aa[0],pos,size);_8aa[0].position=pos;pos+=size;if(!this.sizers){return;}dojo.some(_8aa.slice(1),function(_8b4,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_8b4.sizeActual;this._movePanel(_8b4,pos,size);_8b4.position=pos;pos+=size;},this);},_movePanel:function(_8b6,pos,size){if(this.isHorizontal){_8b6.domNode.style.left=pos+"px";_8b6.domNode.style.top=0;var box={w:size,h:this.paneHeight};if(_8b6.resize){_8b6.resize(box);}else{dojo.marginBox(_8b6.domNode,box);}}else{_8b6.domNode.style.left=0;_8b6.domNode.style.top=pos+"px";var box={w:this.paneWidth,h:size};if(_8b6.resize){_8b6.resize(box);}else{dojo.marginBox(_8b6.domNode,box);}}},_moveSlider:function(_8ba,pos,size){if(this.isHorizontal){_8ba.style.left=pos+"px";_8ba.style.top=0;dojo.marginBox(_8ba,{w:size,h:this.paneHeight});}else{_8ba.style.left=0;_8ba.style.top=pos+"px";dojo.marginBox(_8ba,{w:this.paneWidth,h:size});}},_growPane:function(_8bd,pane){if(_8bd>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_8bd){pane.sizeActual=pane.sizeActual-_8bd;_8bd=0;}else{_8bd-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _8bd;},_checkSizes:function(){var _8bf=0;var _8c0=0;var _8c1=this.getChildren();dojo.forEach(_8c1,function(_8c2){_8c0+=_8c2.sizeActual;_8bf+=_8c2.sizeMin;});if(_8bf<=_8c0){var _8c3=0;dojo.forEach(_8c1,function(_8c4){if(_8c4.sizeActual<_8c4.sizeMin){_8c3+=_8c4.sizeMin-_8c4.sizeActual;_8c4.sizeActual=_8c4.sizeMin;}});if(_8c3>0){var list=this.isDraggingLeft?_8c1.reverse():_8c1;dojo.forEach(list,function(_8c6){_8c3=this._growPane(_8c3,_8c6);},this);}}else{dojo.forEach(_8c1,function(_8c7){_8c7.sizeActual=Math.round(_8c0*(_8c7.sizeMin/_8bf));});}},beginSizing:function(e,i){var _8ca=this.getChildren();this.paneBefore=_8ca[i];this.paneAfter=_8ca[i+1];this.isSizing=true;this.sizingSplitter=this.sizers[i];if(!this.cover){this.cover=dojo.doc.createElement("div");this.domNode.appendChild(this.cover);var s=this.cover.style;s.position="absolute";s.zIndex=1;s.top=0;s.left=0;s.width="100%";s.height="100%";}else{this.cover.style.zIndex=1;}this.sizingSplitter.style.zIndex=2;this.originPos=dojo.coords(_8ca[0].domNode,true);if(this.isHorizontal){var _8cc=e.layerX||e.offsetX||0;var _8cd=e.pageX;this.originPos=this.originPos.x;}else{var _8cc=e.layerY||e.offsetY||0;var _8cd=e.pageY;this.originPos=this.originPos.y;}this.startPoint=this.lastPoint=_8cd;this.screenToClientOffset=_8cd-_8cc;this.dragOffset=this.lastPoint-this.paneBefore.sizeActual-this.originPos-this.paneBefore.position;if(!this.activeSizing){this._showSizingLine();}this._ownconnects=[];this._ownconnects.push(dojo.connect(dojo.doc.documentElement,"onmousemove",this,"changeSizing"));this._ownconnects.push(dojo.connect(dojo.doc.documentElement,"onmouseup",this,"endSizing"));dojo.stopEvent(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;this.movePoint();if(this.activeSizing){this._updateSize();}else{this._moveSizingLine();}dojo.stopEvent(e);},endSizing:function(e){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}this._updateSize();this.isSizing=false;if(this.persist){this._saveState(this);}dojo.forEach(this._ownconnects,dojo.disconnect);},movePoint:function(){var p=this.lastPoint-this.screenToClientOffset;var a=p-this.dragOffset;a=this.legaliseSplitPoint(a);p=a+this.dragOffset;this.lastPoint=p+this.screenToClientOffset;},legaliseSplitPoint:function(a){a+=this.sizingSplitter.position;this.isDraggingLeft=!!(a>0);if(!this.activeSizing){var min=this.paneBefore.position+this.paneBefore.sizeMin;if(a<min){a=min;}var max=this.paneAfter.position+(this.paneAfter.sizeActual-(this.sizerWidth+this.paneAfter.sizeMin));if(a>max){a=max;}}a-=this.sizingSplitter.position;this._checkSizes();return a;},_updateSize:function(){var pos=this.lastPoint-this.dragOffset-this.originPos;var _8d6=this.paneBefore.position;var _8d7=this.paneAfter.position+this.paneAfter.sizeActual;this.paneBefore.sizeActual=pos-_8d6;this.paneAfter.position=pos+this.sizerWidth;this.paneAfter.sizeActual=_8d7-this.paneAfter.position;dojo.forEach(this.getChildren(),function(_8d8){_8d8.sizeShare=_8d8.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine();dojo.marginBox(this.virtualSizer,this.isHorizontal?{w:this.sizerWidth,h:this.paneHeight}:{w:this.paneWidth,h:this.sizerWidth});this.virtualSizer.style.display="block";},_hideSizingLine:function(){this.virtualSizer.style.display="none";},_moveSizingLine:function(){var pos=(this.lastPoint-this.startPoint)+this.sizingSplitter.position;dojo.style(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){dojo.forEach(this.getChildren(),function(_8db,i){var _8dd=this._getCookieName(i);var _8de=dojo.cookie(_8dd);if(_8de){var pos=parseInt(_8de);if(typeof pos=="number"){_8db.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}dojo.forEach(this.getChildren(),function(_8e0,i){dojo.cookie(this._getCookieName(i),_8e0.sizeShare,{expires:365});},this);}});dojo.extend(dijit._Widget,{sizeMin:10,sizeShare:10});}if(!dojo._hasResource["dijit.layout.TabContainer"]){dojo._hasResource["dijit.layout.TabContainer"]=true;dojo.provide("dijit.layout.TabContainer");dojo.declare("dijit.layout.TabContainer",[dijit.layout.StackContainer,dijit._Templated],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,templateString:null,templateString:"<div class=\"dijitTabContainer\">\n\t<div dojoAttachPoint=\"tablistNode\"></div>\n\t<div dojoAttachPoint=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" dojoAttachPoint=\"containerNode\"></div>\n</div>\n",_controllerWidget:"dijit.layout.TabController",postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.inherited(arguments);},postCreate:function(){this.inherited(arguments);var _8e2=dojo.getObject(this._controllerWidget);this.tablist=new _8e2({id:this.id+"_tablist",tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout")},this.tablistNode);if(this.tabStrip){dojo.addClass(this.tablist.domNode,this.baseClass+"Strip");}},_setupChild:function(tab){dojo.addClass(tab.domNode,"dijitTabPane");this.inherited(arguments);return tab;},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this.doLayout){return;}var _8e4=this.tabPosition.replace(/-h/,"");var _8e5=[{domNode:this.tablist.domNode,layoutAlign:_8e4},{domNode:this.tablistSpacer,layoutAlign:_8e4},{domNode:this.containerNode,layoutAlign:"client"}];dijit.layout.layoutChildren(this.domNode,this._contentBox,_8e5);this._containerContentBox=dijit.layout.marginBox2contentBox(this.containerNode,_8e5[2]);if(this.selectedChildWidget){this._showChild(this.selectedChildWidget);if(this.doLayout&&this.selectedChildWidget.resize){this.selectedChildWidget.resize(this._containerContentBox);}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});dojo.declare("dijit.layout.TabController",dijit.layout.StackController,{templateString:"<div wairole='tablist' dojoAttachEvent='onkeypress:onkeypress'></div>",tabPosition:"top",doLayout:true,buttonWidget:"dijit.layout._TabButton",_rectifyRtlTabList:function(){if(0>=this.tabPosition.indexOf("-h")){return;}if(!this.pane2button){return;}var _8e6=0;for(var pane in this.pane2button){var ow=this.pane2button[pane].innerDiv.scrollWidth;_8e6=Math.max(_8e6,ow);}for(pane in this.pane2button){this.pane2button[pane].innerDiv.style.width=_8e6+"px";}}});dojo.declare("dijit.layout._TabButton",dijit.layout._StackButton,{baseClass:"dijitTab",templateString:"<div waiRole=\"presentation\" dojoAttachEvent='onclick:onClick,onmouseenter:_onMouse,onmouseleave:_onMouse'>\n    <div waiRole=\"presentation\" class='dijitTabInnerDiv' dojoAttachPoint='innerDiv'>\n        <div waiRole=\"presentation\" class='dijitTabContent' dojoAttachPoint='tabContent'>\n\t        <span dojoAttachPoint='containerNode,focusNode' class='tabLabel'>${!label}</span><img class =\"dijitTabButtonSpacer\" src=\"${_blankGif}\" />\n\t        <div class=\"dijitInline closeNode\" dojoAttachPoint='closeNode' dojoAttachEvent='onclick:onClickCloseButton'>\n\t        \t<img src=\"${_blankGif}\" alt=\"\" dojoAttachPoint='closeButtonNode' class='closeImage' dojoAttachEvent='onmouseenter:_onMouse, onmouseleave:_onMouse' stateModifier='CloseButton' waiRole=\"presentation\"/>\n\t            <span dojoAttachPoint='closeText' class='closeText'>x</span>\n\t        </div>\n        </div>\n    </div>\n</div>\n",postCreate:function(){if(this.closeButton){dojo.addClass(this.innerDiv,"dijitClosable");var _8e9=dojo.i18n.getLocalization("dijit","common");if(this.closeNode){dojo.attr(this.closeNode,"title",_8e9.itemClose);dojo.attr(this.closeButtonNode,"title",_8e9.itemClose);}}else{this.closeNode.style.display="none";}this.inherited(arguments);dojo.setSelectable(this.containerNode,false);}});}if(!dojo._hasResource["dijit.dijit-all"]){dojo._hasResource["dijit.dijit-all"]=true;console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool");dojo.provide("dijit.dijit-all");}dojo.i18n._preloadLocalizations("dijit.nls.dijit-all",["he","nl","tr","no","ko","el","en","en-gb","ROOT","zh-cn","hu","es","fi-fi","pt-br","ca","fi","he-il","xx","ru","it","fr","cs","de-de","fr-fr","it-it","es-es","ja","sk","da","sl","pl","de","sv","pt","pt-pt","nl-nl","zh-tw","ko-kr","ar","en-us","zh","th","ja-jp"]);
