/*
	Copyright (c) 2004-2011, 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 an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_1,_2){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _3=dojo.date.stamp._isoRegExp.exec(_1),_4=null;if(_3){_3.shift();if(_3[1]){_3[1]--;}if(_3[6]){_3[6]*=1000;}if(_2){_2=new Date(_2);dojo.forEach(dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_5){return _2["get"+_5]();}),function(_6,_7){_3[_7]=_3[_7]||_6;});}_4=new Date(_3[0]||1970,_3[1]||0,_3[2]||1,_3[3]||0,_3[4]||0,_3[5]||0,_3[6]||0);if(_3[0]<100){_4.setFullYear(_3[0]||1970);}var _8=0,_9=_3[7]&&_3[7].charAt(0);if(_9!="Z"){_8=((_3[8]||0)*60)+(Number(_3[9])||0);if(_9!="-"){_8*=-1;}}if(_9){_8-=_4.getTimezoneOffset();}if(_8){_4.setTime(_4.getTime()+_8*60000);}}return _4;};dojo.date.stamp.toISOString=function(_a,_b){var _c=function(n){return (n<10)?"0"+n:n;};_b=_b||{};var _d=[],_e=_b.zulu?"getUTC":"get",_f="";if(_b.selector!="time"){var _10=_a[_e+"FullYear"]();_f=["0000".substr((_10+"").length)+_10,_c(_a[_e+"Month"]()+1),_c(_a[_e+"Date"]())].join("-");}_d.push(_f);if(_b.selector!="date"){var _11=[_c(_a[_e+"Hours"]()),_c(_a[_e+"Minutes"]()),_c(_a[_e+"Seconds"]())].join(":");var _12=_a[_e+"Milliseconds"]();if(_b.milliseconds){_11+="."+(_12<100?"0":"")+_c(_12);}if(_b.zulu){_11+="Z";}else{if(_b.selector!="time"){var _13=_a.getTimezoneOffset();var _14=Math.abs(_13);_11+=(_13>0?"-":"+")+_c(Math.floor(_14/60))+":"+_c(_14%60);}}_d.push(_11);}return _d.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");new Date("X");dojo.parser=new function(){var d=dojo;function _15(_16){if(d.isString(_16)){return "string";}if(typeof _16=="number"){return "number";}if(typeof _16=="boolean"){return "boolean";}if(d.isFunction(_16)){return "function";}if(d.isArray(_16)){return "array";}if(_16 instanceof Date){return "date";}if(_16 instanceof d._Url){return "url";}return "object";};function _17(_18,_19){switch(_19){case "string":return _18;case "number":return _18.length?Number(_18):NaN;case "boolean":return typeof _18=="boolean"?_18:!(_18.toLowerCase()=="false");case "function":if(d.isFunction(_18)){_18=_18.toString();_18=d.trim(_18.substring(_18.indexOf("{")+1,_18.length-1));}try{if(_18===""||_18.search(/[^\w\.]+/i)!=-1){return new Function(_18);}else{return d.getObject(_18,false)||new Function(_18);}}catch(e){return new Function();}case "array":return _18?_18.split(/\s*,\s*/):[];case "date":switch(_18){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_18);}case "url":return d.baseUrl+_18;default:return d.fromJson(_18);}};var _1a={},_1b={};d.connect(d,"extend",function(){_1b={};});function _1c(cls,_1d){for(var _1e in cls){if(_1e.charAt(0)=="_"){continue;}if(_1e in _1a){continue;}_1d[_1e]=_15(cls[_1e]);}return _1d;};function _1f(_20,_21){var c=_1b[_20];if(!c){var cls=d.getObject(_20),_22=null;if(!cls){return null;}if(!_21){_22=_1c(cls.prototype,{});}c={cls:cls,params:_22};}else{if(!_21&&!c.params){c.params=_1c(c.cls.prototype,{});}}return c;};this._functionFromScript=function(_23,_24){var _25="";var _26="";var _27=(_23.getAttribute(_24+"args")||_23.getAttribute("args"));if(_27){d.forEach(_27.split(/\s*,\s*/),function(_28,idx){_25+="var "+_28+" = arguments["+idx+"]; ";});}var _29=_23.getAttribute("with");if(_29&&_29.length){d.forEach(_29.split(/\s*,\s*/),function(_2a){_25+="with("+_2a+"){";_26+="}";});}return new Function(_25+_23.innerHTML+_26);};this.instantiate=function(_2b,_2c,_2d){var _2e=[],_2c=_2c||{};_2d=_2d||{};var _2f=(_2d.scope||d._scopeName)+"Type",_30="data-"+(_2d.scope||d._scopeName)+"-";d.forEach(_2b,function(obj){if(!obj){return;}var _31,_32,_33,_34,_35,_36;if(obj.node){_31=obj.node;_32=obj.type;_36=obj.fastpath;_33=obj.clsInfo||(_32&&_1f(_32,_36));_34=_33&&_33.cls;_35=obj.scripts;}else{_31=obj;_32=_2f in _2c?_2c[_2f]:_31.getAttribute(_2f);_33=_32&&_1f(_32);_34=_33&&_33.cls;_35=(_34&&(_34._noScript||_34.prototype._noScript)?[]:d.query("> script[type^='dojo/']",_31));}if(!_33){throw new Error("Could not load class '"+_32);}var _37={};if(_2d.defaults){d._mixin(_37,_2d.defaults);}if(obj.inherited){d._mixin(_37,obj.inherited);}if(_36){var _38=_31.getAttribute(_30+"props");if(_38&&_38.length){try{_38=d.fromJson.call(_2d.propsThis,"{"+_38+"}");d._mixin(_37,_38);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_38+"'");}}var _39=_31.getAttribute(_30+"attach-point");if(_39){_37.dojoAttachPoint=_39;}var _3a=_31.getAttribute(_30+"attach-event");if(_3a){_37.dojoAttachEvent=_3a;}dojo.mixin(_37,_2c);}else{var _3b=_31.attributes;for(var _3c in _33.params){var _3d=_3c in _2c?{value:_2c[_3c],specified:true}:_3b.getNamedItem(_3c);if(!_3d||(!_3d.specified&&(!dojo.isIE||_3c.toLowerCase()!="value"))){continue;}var _3e=_3d.value;switch(_3c){case "class":_3e="className" in _2c?_2c.className:_31.className;break;case "style":_3e="style" in _2c?_2c.style:(_31.style&&_31.style.cssText);}var _3f=_33.params[_3c];if(typeof _3e=="string"){_37[_3c]=_17(_3e,_3f);}else{_37[_3c]=_3e;}}}var _40=[],_41=[];d.forEach(_35,function(_42){_31.removeChild(_42);var _43=(_42.getAttribute(_30+"event")||_42.getAttribute("event")),_32=_42.getAttribute("type"),nf=d.parser._functionFromScript(_42,_30);if(_43){if(_32=="dojo/connect"){_40.push({event:_43,func:nf});}else{_37[_43]=nf;}}else{_41.push(nf);}});var _44=_34.markupFactory||_34.prototype&&_34.prototype.markupFactory;var _45=_44?_44(_37,_31,_34):new _34(_37,_31);_2e.push(_45);var _46=(_31.getAttribute(_30+"id")||_31.getAttribute("jsId"));if(_46){d.setObject(_46,_45);}d.forEach(_40,function(_47){d.connect(_45,_47.event,null,_47.func);});d.forEach(_41,function(_48){_48.call(_45);});});if(!_2c._started){d.forEach(_2e,function(_49){if(!_2d.noStart&&_49&&dojo.isFunction(_49.startup)&&!_49._started&&(!_49.getParent||!_49.getParent())){_49.startup();}});}return _2e;};this.parse=function(_4a,_4b){var _4c;if(!_4b&&_4a&&_4a.rootNode){_4b=_4a;_4c=_4b.rootNode;}else{_4c=_4a;}_4b=_4b||{};var _4d=(_4b.scope||d._scopeName)+"Type",_4e="data-"+(_4b.scope||d._scopeName)+"-";function _4f(_50,_51){var _52=dojo.clone(_50.inherited);dojo.forEach(["dir","lang"],function(_53){var val=_50.node.getAttribute(_53);if(val){_52[_53]=val;}});var _54=_50.clsInfo&&!_50.clsInfo.cls.prototype._noScript?_50.scripts:null;var _55=(!_50.clsInfo||!_50.clsInfo.cls.prototype.stopParser)||(_4b&&_4b.template);for(var _56=_50.node.firstChild;_56;_56=_56.nextSibling){if(_56.nodeType==1){var _57,_58=_55&&_56.getAttribute(_4e+"type");if(_58){_57=_58;}else{_57=_55&&_56.getAttribute(_4d);}var _59=_58==_57;if(_57){var _5a={"type":_57,fastpath:_59,clsInfo:_1f(_57,_59),node:_56,scripts:[],inherited:_52};_51.push(_5a);_4f(_5a,_51);}else{if(_54&&_56.nodeName.toLowerCase()=="script"){_57=_56.getAttribute("type");if(_57&&/^dojo\/\w/i.test(_57)){_54.push(_56);}}else{if(_55){_4f({node:_56,inherited:_52},_51);}}}}}};var _5b=[];_4f({node:_4c?dojo.byId(_4c):dojo.body(),inherited:(_4b&&_4b.inherited)||{dir:dojo._isBodyLtr()?"ltr":"rtl"}},_5b);var _5c=_4b&&_4b.template?{template:true}:null;return this.instantiate(_5b,_5c,_4b);};}();(function(){var _5d=function(){if(dojo.config.parseOnLoad){dojo.parser.parse();}};if(dojo.getObject("dijit.wai.onload")===dojo._loaders[0]){dojo._loaders.splice(1,0,_5d);}else{dojo._loaders.unshift(_5d);}})();}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_5e){if(this._hash[_5e.id]){throw new Error("Tried to register widget with id=="+_5e.id+" but that id is already registered");}this._hash[_5e.id]=_5e;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_5f,_60){_60=_60||dojo.global;var i=0,id;for(id in this._hash){_5f.call(_60,this._hash[id],i++,this._hash);}return this;},filter:function(_61,_62){_62=_62||dojo.global;var res=new dijit.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_61.call(_62,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new dijit.WidgetSet(),id,_63;for(id in this._hash){_63=this._hash[id];if(_63.declaredClass==cls){res.add(_63);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_64,_65){return dojo.map(this.toArray(),_64,_65);},every:function(_66,_67){_67=_67||dojo.global;var x=0,i;for(i in this._hash){if(!_66.call(_67,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_68,_69){_69=_69||dojo.global;var x=0,i;for(i in this._hash){if(_68.call(_69,this._hash[i],x++,this._hash)){return true;}}return false;}});(function(){dijit.registry=new dijit.WidgetSet();var _6a=dijit.registry._hash,_6b=dojo.attr,_6c=dojo.hasAttr,_6d=dojo.style;dijit.byId=function(id){return typeof id=="string"?_6a[id]:id;};var _6e={};dijit.getUniqueId=function(_6f){var id;do{id=_6f+"_"+(_6f in _6e?++_6e[_6f]:_6e[_6f]=0);}while(_6a[id]);return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;};dijit.findWidgets=function(_70){var _71=[];function _72(_73){for(var _74=_73.firstChild;_74;_74=_74.nextSibling){if(_74.nodeType==1){var _75=_74.getAttribute("widgetId");if(_75){var _76=_6a[_75];if(_76){_71.push(_76);}}else{_72(_74);}}}};_72(_70);return _71;};dijit._destroyAll=function(){dijit._curFocus=null;dijit._prevFocus=null;dijit._activeStack=[];dojo.forEach(dijit.findWidgets(dojo.body()),function(_77){if(!_77._destroyed){if(_77.destroyRecursive){_77.destroyRecursive();}else{if(_77.destroy){_77.destroy();}}}});};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit._destroyAll();});}dijit.byNode=function(_78){return _6a[_78.getAttribute("widgetId")];};dijit.getEnclosingWidget=function(_79){while(_79){var id=_79.getAttribute&&_79.getAttribute("widgetId");if(id){return _6a[id];}_79=_79.parentNode;}return null;};var _7a=(dijit._isElementShown=function(_7b){var s=_6d(_7b);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_6b(_7b,"type")!="hidden");});dijit.hasDefaultTabStop=function(_7c){switch(_7c.nodeName.toLowerCase()){case "a":return _6c(_7c,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _7d;try{var _7e=_7c.contentDocument;if("designMode" in _7e&&_7e.designMode=="on"){return true;}_7d=_7e.body;}catch(e1){try{_7d=_7c.contentWindow.document.body;}catch(e2){return false;}}return _7d.contentEditable=="true"||(_7d.firstChild&&_7d.firstChild.contentEditable=="true");default:return _7c.contentEditable=="true";}};var _7f=(dijit.isTabNavigable=function(_80){if(_6b(_80,"disabled")){return false;}else{if(_6c(_80,"tabIndex")){return _6b(_80,"tabIndex")>=0;}else{return dijit.hasDefaultTabStop(_80);}}});dijit._getTabNavigable=function(_81){var _82,_83,_84,_85,_86,_87,_88={};function _89(_8a){return _8a&&_8a.tagName.toLowerCase()=="input"&&_8a.type&&_8a.type.toLowerCase()=="radio"&&_8a.name&&_8a.name.toLowerCase();};var _8b=function(_8c){dojo.query("> *",_8c).forEach(function(_8d){if((dojo.isIE&&_8d.scopeName!=="HTML")||!_7a(_8d)){return;}if(_7f(_8d)){var _8e=_6b(_8d,"tabIndex");if(!_6c(_8d,"tabIndex")||_8e==0){if(!_82){_82=_8d;}_83=_8d;}else{if(_8e>0){if(!_84||_8e<_85){_85=_8e;_84=_8d;}if(!_86||_8e>=_87){_87=_8e;_86=_8d;}}}var rn=_89(_8d);if(dojo.attr(_8d,"checked")&&rn){_88[rn]=_8d;}}if(_8d.nodeName.toUpperCase()!="SELECT"){_8b(_8d);}});};if(_7a(_81)){_8b(_81);}function rs(_8f){return _88[_89(_8f)]||_8f;};return {first:rs(_82),last:rs(_83),lowest:rs(_84),highest:rs(_86)};};dijit.getFirstInTabbingOrder=function(_90){var _91=dijit._getTabNavigable(dojo.byId(_90));return _91.lowest?_91.lowest:_91.first;};dijit.getLastInTabbingOrder=function(_92){var _93=dijit._getTabNavigable(dojo.byId(_92));return _93.last?_93.last:_93.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;})();}if(!dojo._hasResource["dojo.Stateful"]){dojo._hasResource["dojo.Stateful"]=true;dojo.provide("dojo.Stateful");dojo.declare("dojo.Stateful",null,{postscript:function(_94){if(_94){dojo.mixin(this,_94);}},get:function(_95){return this[_95];},set:function(_96,_97){if(typeof _96==="object"){for(var x in _96){this.set(x,_96[x]);}return this;}var _98=this[_96];this[_96]=_97;if(this._watchCallbacks){this._watchCallbacks(_96,_98,_97);}return this;},watch:function(_99,_9a){var _9b=this._watchCallbacks;if(!_9b){var _9c=this;_9b=this._watchCallbacks=function(_9d,_9e,_9f,_a0){var _a1=function(_a2){if(_a2){_a2=_a2.slice();for(var i=0,l=_a2.length;i<l;i++){try{_a2[i].call(_9c,_9d,_9e,_9f);}catch(e){console.error(e);}}}};_a1(_9b["_"+_9d]);if(!_a0){_a1(_9b["*"]);}};}if(!_9a&&typeof _99==="function"){_9a=_99;_99="*";}else{_99="_"+_99;}var _a3=_9b[_99];if(typeof _a3!=="object"){_a3=_9b[_99]=[];}_a3.push(_9a);return {unwatch:function(){_a3.splice(dojo.indexOf(_a3,_9a),1);}};}});}if(!dojo._hasResource["dijit._WidgetBase"]){dojo._hasResource["dijit._WidgetBase"]=true;dojo.provide("dijit._WidgetBase");(function(){dojo.declare("dijit._WidgetBase",dojo.Stateful,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_a4,_a5){this.create(_a4,_a5);},create:function(_a6,_a7){this.srcNodeRef=dojo.byId(_a7);this._connects=[];this._subscribes=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_a6){this.params=_a6;dojo._mixin(this,_a6);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _a8=this.srcNodeRef;if(_a8&&_a8.parentNode&&this.domNode!==_a8){_a8.parentNode.replaceChild(this.domNode,_a8);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _a9=function(_aa,_ab){if((_ab.params&&_aa in _ab.params)||_ab[_aa]){_ab.set(_aa,_ab[_aa]);}};for(var _ac in this.attributeMap){_a9(_ac,this);}dojo.forEach(this._getSetterAttributes(),function(a){if(!(a in this.attributeMap)){_a9(a,this);}},this);},_getSetterAttributes:function(){var _ad=this.constructor;if(!_ad._setterAttrs){var r=(_ad._setterAttrs=[]),_ae,_af=_ad.prototype;for(var _b0 in _af){if(dojo.isFunction(_af[_b0])&&(_ae=_b0.match(/^_set([a-zA-Z]*)Attr$/))&&_ae[1]){r.push(_ae[1].charAt(0).toLowerCase()+_ae[1].substr(1));}}}return _ad._setterAttrs;},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||dojo.create("div");}if(this.baseClass){var _b1=this.baseClass.split(" ");if(!this.isLeftToRight()){_b1=_b1.concat(dojo.map(_b1,function(_b2){return _b2+"Rtl";}));}dojo.addClass(this.domNode,_b1);}},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_b3){this._beingDestroyed=true;this.destroyDescendants(_b3);this.destroy(_b3);},destroy:function(_b4){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_b5){dfe(_b5,d.disconnect);});dfe(this._subscribes,function(_b6){dun(_b6);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_b4);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_b7){if(this.bgIframe){this.bgIframe.destroy(_b7);delete this.bgIframe;}if(this.domNode){if(_b7){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_b7){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_b8){dojo.forEach(this.getChildren(),function(_b9){if(_b9.destroyRecursive){_b9.destroyRecursive(_b8);}});},uninitialize:function(){return false;},_setClassAttr:function(_ba){var _bb=this[this.attributeMap["class"]||"domNode"];dojo.replaceClass(_bb,_ba,this["class"]);this._set("class",_ba);},_setStyleAttr:function(_bc){var _bd=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_bc)){dojo.style(_bd,_bc);}else{if(_bd.style.cssText){_bd.style.cssText+="; "+_bc;}else{_bd.style.cssText=_bc;}}this._set("style",_bc);},_attrToDom:function(_be,_bf){var _c0=this.attributeMap[_be];dojo.forEach(dojo.isArray(_c0)?_c0:[_c0],function(_c1){var _c2=this[_c1.node||_c1||"domNode"];var _c3=_c1.type||"attribute";switch(_c3){case "attribute":if(dojo.isFunction(_bf)){_bf=dojo.hitch(this,_bf);}var _c4=_c1.attribute?_c1.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_be)?_be.toLowerCase():_be);dojo.attr(_c2,_c4,_bf);break;case "innerText":_c2.innerHTML="";_c2.appendChild(dojo.doc.createTextNode(_bf));break;case "innerHTML":_c2.innerHTML=_bf;break;case "class":dojo.replaceClass(_c2,_bf,this[_be]);break;}},this);},get:function(_c5){var _c6=this._getAttrNames(_c5);return this[_c6.g]?this[_c6.g]():this[_c5];},set:function(_c7,_c8){if(typeof _c7==="object"){for(var x in _c7){this.set(x,_c7[x]);}return this;}var _c9=this._getAttrNames(_c7);if(this[_c9.s]){var _ca=this[_c9.s].apply(this,Array.prototype.slice.call(arguments,1));}else{if(_c7 in this.attributeMap){this._attrToDom(_c7,_c8);}this._set(_c7,_c8);}return _ca||this;},_attrPairNames:{},_getAttrNames:function(_cb){var apn=this._attrPairNames;if(apn[_cb]){return apn[_cb];}var uc=_cb.charAt(0).toUpperCase()+_cb.substr(1);return (apn[_cb]={n:_cb+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(_cc,_cd){var _ce=this[_cc];this[_cc]=_cd;if(this._watchCallbacks&&this._created&&_cd!==_ce){this._watchCallbacks(_cc,_ce,_cd);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){return this.containerNode?dojo.query("[widgetId]",this.containerNode).map(dijit.byNode):[];},getChildren:function(){return this.containerNode?dijit.findWidgets(this.containerNode):[];},connect:function(obj,_cf,_d0){var _d1=[dojo._connect(obj,_cf,this,_d0)];this._connects.push(_d1);return _d1;},disconnect:function(_d2){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_d2){dojo.forEach(_d2,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_d3,_d4){var _d5=dojo.subscribe(_d3,this,_d4);this._subscribes.push(_d5);return _d5;},unsubscribe:function(_d6){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_d6){dojo.unsubscribe(_d6);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):dojo._isBodyLtr();},placeAt:function(_d7,_d8){if(_d7.declaredClass&&_d7.addChild){_d7.addChild(this,_d8);}else{dojo.place(this.domNode,_d7,_d8);}return this;}});})();}if(!dojo._hasResource["dojo.window"]){dojo._hasResource["dojo.window"]=true;dojo.provide("dojo.window");dojo.getObject("window",true,dojo);dojo.window.getBox=function(){var _d9=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _da=dojo._docScroll();return {w:_d9.clientWidth,h:_d9.clientHeight,l:_da.x,t:_da.y};};dojo.window.get=function(doc){if(dojo.isIE&&window!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};dojo.window.scrollIntoView=function(_db,pos){try{_db=dojo.byId(_db);var doc=_db.ownerDocument||dojo.doc,_dc=doc.body||dojo.body(),_dd=doc.documentElement||_dc.parentNode,_de=dojo.isIE,_df=dojo.isWebKit;if((!(dojo.isMoz||_de||_df||dojo.isOpera)||_db==_dc||_db==_dd)&&(typeof _db.scrollIntoView!="undefined")){_db.scrollIntoView(false);return;}var _e0=doc.compatMode=="BackCompat",_e1=_e0?_dc:_dd,_e2=_df?_dc:_e1,_e3=_e1.clientWidth,_e4=_e1.clientHeight,rtl=!dojo._isBodyLtr(),_e5=pos||dojo.position(_db),el=_db.parentNode,_e6=function(el){return ((_de<=6||(_de&&_e0))?false:(dojo.style(el,"position").toLowerCase()=="fixed"));};if(_e6(_db)){return;}while(el){if(el==_dc){el=_e2;}var _e7=dojo.position(el),_e8=_e6(el);if(el==_e2){_e7.w=_e3;_e7.h=_e4;if(_e2==_dd&&_de&&rtl){_e7.x+=_e2.offsetWidth-_e7.w;}if(_e7.x<0||!_de){_e7.x=0;}if(_e7.y<0||!_de){_e7.y=0;}}else{var pb=dojo._getPadBorderExtents(el);_e7.w-=pb.w;_e7.h-=pb.h;_e7.x+=pb.l;_e7.y+=pb.t;}if(el!=_e2){var _e9=el.clientWidth,_ea=_e7.w-_e9;if(_e9>0&&_ea>0){_e7.w=_e9;if(_de&&rtl){_e7.x+=_ea;}}_e9=el.clientHeight;_ea=_e7.h-_e9;if(_e9>0&&_ea>0){_e7.h=_e9;}}if(_e8){if(_e7.y<0){_e7.h+=_e7.y;_e7.y=0;}if(_e7.x<0){_e7.w+=_e7.x;_e7.x=0;}if(_e7.y+_e7.h>_e4){_e7.h=_e4-_e7.y;}if(_e7.x+_e7.w>_e3){_e7.w=_e3-_e7.x;}}var l=_e5.x-_e7.x,t=_e5.y-Math.max(_e7.y,0),r=l+_e5.w-_e7.w,bot=t+_e5.h-_e7.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);_e5.x+=el.scrollLeft;el.scrollLeft+=(_de>=8&&!_e0&&rtl)?-s:s;_e5.x-=el.scrollLeft;}if(bot*t>0){_e5.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_e5.y-=el.scrollTop;}el=(el!=_e2)&&!_e8&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_db.scrollIntoView(false);}};}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return dijit.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=dojo.doc.selection,cf=dijit._curFocus;if(dojo.global.getSelection){sel=dojo.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{}}return bm;},moveToBookmark:function(_eb){var _ec=dojo.doc,_ed=_eb.mark;if(_ed){if(dojo.global.getSelection){var sel=dojo.global.getSelection();if(sel&&sel.removeAllRanges){if(_ed.pRange){var r=_ed;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(_ed);}}else{}}else{if(_ec.selection&&_ed){var rg;if(_ed.pRange){rg=_ed.range;}else{if(dojo.isArray(_ed)){rg=_ec.body.createControlRange();dojo.forEach(_ed,function(n){rg.addElement(n);});}else{rg=_ec.body.createTextRange();rg.moveToBookmark(_ed);}}rg.select();}}}},getFocus:function(_ee,_ef){var _f0=!dijit._curFocus||(_ee&&dojo.isDescendant(dijit._curFocus,_ee.domNode))?dijit._prevFocus:dijit._curFocus;return {node:_f0,bookmark:(_f0==dijit._curFocus)&&dojo.withGlobal(_ef||dojo.global,dijit.getBookmark),openedForWindow:_ef};},focus:function(_f1){if(!_f1){return;}var _f2="node" in _f1?_f1.node:_f1,_f3=_f1.bookmark,_f4=_f1.openedForWindow,_f5=_f3?_f3.isCollapsed:false;if(_f2){var _f6=(_f2.tagName.toLowerCase()=="iframe")?_f2.contentWindow:_f2;if(_f6&&_f6.focus){try{_f6.focus();}catch(e){}}dijit._onFocusNode(_f2);}if(_f3&&dojo.withGlobal(_f4||dojo.global,dijit.isCollapsed)&&!_f5){if(_f4){_f4.focus();}try{dojo.withGlobal(_f4||dojo.global,dijit.moveToBookmark,null,[_f3]);}catch(e2){}}},_activeStack:[],registerIframe:function(_f7){return dijit.registerWin(_f7.contentWindow,_f7);},unregisterIframe:function(_f8){dijit.unregisterWin(_f8);},registerWin:function(_f9,_fa){var _fb=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);if(dojo.isIE&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}dijit._onTouchNode(_fa||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_f9.document.documentElement:_f9.document;if(doc){if(dojo.isIE){_f9.document.body.attachEvent("onmousedown",_fb);var _fc=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_fa||evt.srcElement);}else{dijit._onTouchNode(_fa||evt.srcElement);}};doc.attachEvent("onactivate",_fc);var _fd=function(evt){dijit._onBlurNode(_fa||evt.srcElement);};doc.attachEvent("ondeactivate",_fd);return function(){_f9.document.detachEvent("onmousedown",_fb);doc.detachEvent("onactivate",_fc);doc.detachEvent("ondeactivate",_fd);doc=null;};}else{doc.body.addEventListener("mousedown",_fb,true);var _fe=function(evt){dijit._onFocusNode(_fa||evt.target);};doc.addEventListener("focus",_fe,true);var _ff=function(evt){dijit._onBlurNode(_fa||evt.target);};doc.addEventListener("blur",_ff,true);return function(){doc.body.removeEventListener("mousedown",_fb,true);doc.removeEventListener("focus",_fe,true);doc.removeEventListener("blur",_ff,true);doc=null;};}}},unregisterWin:function(_100){_100&&_100();},_onBlurNode:function(node){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(node,by){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _101=[];try{while(node){var _102=dojo.attr(node,"dijitPopupParent");if(_102){node=dijit.byId(_102).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===dojo.body()){break;}node=dojo.window.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_103=id&&dijit.byId(id);if(_103&&!(by=="mouse"&&_103.get("disabled"))){_101.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_101,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}dijit._onTouchNode(node);if(node==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=node;dojo.publish("focusNode",[node]);},_setStack:function(_104,by){var _105=dijit._activeStack;dijit._activeStack=_104;for(var _106=0;_106<Math.min(_105.length,_104.length);_106++){if(_105[_106]!=_104[_106]){break;}}var _107;for(var i=_105.length-1;i>=_106;i--){_107=dijit.byId(_105[i]);if(_107){_107._focused=false;_107.set("focused",false);_107._hasBeenBlurred=true;if(_107._onBlur){_107._onBlur(by);}dojo.publish("widgetBlur",[_107,by]);}}for(i=_106;i<_104.length;i++){_107=dijit.byId(_104[i]);if(_107){_107._focused=true;_107.set("focused",true);if(_107._onFocus){_107._onFocus(by);}dojo.publish("widgetFocus",[_107,by]);}}}});dojo.addOnLoad(function(){var _108=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_108);_108=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_109){this.pairs=[];this.returnWrappers=_109||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_10a,wrap,_10b,_10c){this.pairs[((_10c)?"unshift":"push")]([name,_10a,wrap,_10b]);},match:function(){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[1].apply(this,arguments)){if((pair[3])||(this.returnWrappers)){return pair[2];}else{return pair[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(name){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[0]==name){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){return dojo.window.getBox();};dijit.placeOnScreen=function(node,pos,_10d,_10e){var _10f=dojo.map(_10d,function(_110){var c={corner:_110,pos:{x:pos.x,y:pos.y}};if(_10e){c.pos.x+=_110.charAt(1)=="L"?_10e.x:-_10e.x;c.pos.y+=_110.charAt(0)=="T"?_10e.y:-_10e.y;}return c;});return dijit._place(node,_10f);};dijit._place=function(node,_111,_112,_113){var view=dojo.window.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_111,function(_114){var _115=_114.corner;var pos=_114.pos;var _116=0;var _117={w:_115.charAt(1)=="L"?(view.l+view.w)-pos.x:pos.x-view.l,h:_115.charAt(1)=="T"?(view.t+view.h)-pos.y:pos.y-view.t};if(_112){var res=_112(node,_114.aroundCorner,_115,_117,_113);_116=typeof res=="undefined"?0:res;}var _118=node.style;var _119=_118.display;var _11a=_118.visibility;_118.visibility="hidden";_118.display="";var mb=dojo.marginBox(node);_118.display=_119;_118.visibility=_11a;var _11b=Math.max(view.l,_115.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_11c=Math.max(view.t,_115.charAt(0)=="T"?pos.y:(pos.y-mb.h)),endX=Math.min(view.l+view.w,_115.charAt(1)=="L"?(_11b+mb.w):pos.x),endY=Math.min(view.t+view.h,_115.charAt(0)=="T"?(_11c+mb.h):pos.y),_11d=endX-_11b,_11e=endY-_11c;_116+=(mb.w-_11d)+(mb.h-_11e);if(best==null||_116<best.overflow){best={corner:_115,aroundCorner:_114.aroundCorner,x:_11b,y:_11c,w:_11d,h:_11e,overflow:_116,spaceAvailable:_117};}return !_116;});if(best.overflow&&_112){_112(node,best.aroundCorner,best.corner,best.spaceAvailable,_113);}var l=dojo._isBodyLtr(),s=node.style;s.top=best.y+"px";s[l?"left":"right"]=(l?best.x:view.w-best.x-best.w)+"px";return best;};dijit.placeOnScreenAroundNode=function(node,_11f,_120,_121){_11f=dojo.byId(_11f);var _122=dojo.position(_11f,true);return dijit._placeOnScreenAroundRect(node,_122.x,_122.y,_122.w,_122.h,_120,_121);};dijit.placeOnScreenAroundRectangle=function(node,_123,_124,_125){return dijit._placeOnScreenAroundRect(node,_123.x,_123.y,_123.width,_123.height,_124,_125);};dijit._placeOnScreenAroundRect=function(node,x,y,_126,_127,_128,_129){var _12a=[];for(var _12b in _128){_12a.push({aroundCorner:_12b,corner:_128[_12b],pos:{x:x+(_12b.charAt(1)=="L"?0:_126),y:y+(_12b.charAt(0)=="T"?0:_127)}});}return dijit._place(node,_12a,_129,{w:_126,h:_127});};dijit.placementRegistry=new dojo.AdapterRegistry();dijit.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},dijit.placeOnScreenAroundNode);dijit.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},dijit.placeOnScreenAroundRectangle);dijit.placeOnScreenAroundElement=function(node,_12c,_12d,_12e){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAroundAlignment=function(_12f,_130){var _131={};dojo.forEach(_12f,function(pos){switch(pos){case "after":_131[_130?"BR":"BL"]=_130?"BL":"BR";break;case "before":_131[_130?"BL":"BR"]=_130?"BR":"BL";break;case "below-alt":_130=!_130;case "below":_131[_130?"BL":"BR"]=_130?"TL":"TR";_131[_130?"BR":"BL"]=_130?"TR":"TL";break;case "above-alt":_130=!_130;case "above":default:_131[_130?"TL":"TR"]=_130?"BL":"BR";_131[_130?"TR":"TL"]=_130?"BR":"BL";break;}});return _131;};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){return dojo.window.get(doc);};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup={_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_132){var _133=_132.declaredClass?_132._popupWrapper:(dojo.hasClass(_132.parentNode,"dijitPopup")&&_132.parentNode),node=_132.domNode||_132;if(!_133){_133=dojo.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},dojo.body());_133.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";if(_132.declaredClass){_132._popupWrapper=_133;dojo.connect(_132,"destroy",function(){dojo.destroy(_133);delete _132._popupWrapper;});}}return _133;},moveOffScreen:function(_134){var _135=this._createWrapper(_134);dojo.style(_135,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_136){var _137=this._createWrapper(_136);dojo.style(_137,"display","none");},getTopPopup:function(){var _138=this._stack;for(var pi=_138.length-1;pi>0&&_138[pi].parent===_138[pi-1].widget;pi--){}return _138[pi];},open:function(args){var _139=this._stack,_13a=args.popup,_13b=args.orient||((args.parent?args.parent.isLeftToRight():dojo._isBodyLtr())?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),_13c=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_139.length&&(!args.parent||!dojo.isDescendant(args.parent.domNode,_139[_139.length-1].widget.domNode))){dijit.popup.close(_139[_139.length-1].widget);}var _13d=this._createWrapper(_13a);dojo.attr(_13d,{id:id,style:{zIndex:this._beginZIndex+_139.length},"class":"dijitPopup "+(_13a.baseClass||_13a["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(dojo.isIE||dojo.isMoz){if(!_13a.bgIframe){_13a.bgIframe=new dijit.BackgroundIframe(_13d);}}var best=_13c?dijit.placeOnScreenAroundElement(_13d,_13c,_13b,_13a.orient?dojo.hitch(_13a,"orient"):null):dijit.placeOnScreen(_13d,args,_13b=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_13d.style.display="";_13d.style.visibility="visible";_13a.domNode.style.visibility="visible";var _13e=[];_13e.push(dojo.connect(_13d,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&args.onCancel){dojo.stopEvent(evt);args.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _13f=this.getTopPopup();if(_13f&&_13f.onCancel){_13f.onCancel();}}}}));if(_13a.onCancel){_13e.push(dojo.connect(_13a,"onCancel",args.onCancel));}_13e.push(dojo.connect(_13a,_13a.onExecute?"onExecute":"onChange",this,function(){var _140=this.getTopPopup();if(_140&&_140.onExecute){_140.onExecute();}}));_139.push({widget:_13a,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_13e});if(_13a.onOpen){_13a.onOpen(best);}return best;},close:function(_141){var _142=this._stack;while((_141&&dojo.some(_142,function(elem){return elem.widget==_141;}))||(!_141&&_142.length)){var top=_142.pop(),_143=top.widget,_144=top.onClose;if(_143.onClose){_143.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_143&&_143.domNode){this.hide(_143);}if(_144){_144();}}}};dijit._frames=new function(){var _145=[];this.pop=function(){var _146;if(_145.length){_146=_145.pop();_146.style.display="";}else{if(dojo.isIE<9){var burl=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var html="<iframe src='"+burl+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_146=dojo.doc.createElement(html);}else{_146=dojo.create("iframe");_146.src="javascript:\"\"";_146.className="dijitBackgroundIframe";dojo.style(_146,"opacity",0.1);}_146.tabIndex=-1;dijit.setWaiRole(_146,"presentation");}return _146;};this.push=function(_147){_147.style.display="none";_145.push(_147);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _148=(this.iframe=dijit._frames.pop());node.appendChild(_148);if(dojo.isIE<7||dojo.isQuirks){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_148,{width:"100%",height:"100%"});}}};dojo.extend(dijit.BackgroundIframe,{resize:function(node){if(this.iframe){dojo.style(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){dojo.disconnect(this._conn);this._conn=null;}if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node,pos){dojo.window.scrollIntoView(node,pos);};}if(!dojo._hasResource["dojo.uacss"]){dojo._hasResource["dojo.uacss"]=true;dojo.provide("dojo.uacss");(function(){var d=dojo,html=d.doc.documentElement,ie=d.isIE,_149=d.isOpera,maj=Math.floor,ff=d.isFF,_14a=d.boxModel.replace(/-/,""),_14b={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_ie8:maj(ie)==8,dj_ie9:maj(ie)==9,dj_quirks:d.isQuirks,dj_iequirks:ie&&d.isQuirks,dj_opera:_149,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla,dj_ff3:maj(ff)==3};_14b["dj_"+_14a]=true;var _14c="";for(var clz in _14b){if(_14b[clz]){_14c+=clz+" ";}}html.className=d.trim(html.className+" "+_14c);dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){var _14d="dj_rtl dijitRtl "+_14c.replace(/ /g,"-rtl ");html.className=d.trim(html.className+" "+_14d);}});})();}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_14e,node,_14f,obj,_150,_151,_152){if(obj!=this._obj){this.stop();this._initialDelay=_151||500;this._subsequentDelay=_150||0.9;this._minDelay=_152||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_14e,_14f);this._fireEventAndReload();this._evt=dojo.mixin({faux:true},evt);}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_153,_154,_155,_156,_157,_158){if(_153.keyCode){_153.charOrCode=_153.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_153.charCode){_153.charOrCode=String.fromCharCode(_153.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.charOrCode==_153.charOrCode&&(_153.ctrlKey===undefined||_153.ctrlKey==evt.ctrlKey)&&(_153.altKey===undefined||_153.altKey==evt.altKey)&&(_153.metaKey===undefined||_153.metaKey==(evt.metaKey||false))&&(_153.shiftKey===undefined||_153.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_154,node,_155,_153,_156,_157,_158);}else{if(dijit.typematic._obj==_153){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_153){dijit.typematic.stop();}})];},addMouseListener:function(node,_159,_15a,_15b,_15c,_15d){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_159,node,_15a,node,_15b,_15c,_15d);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){evt.preventDefault();}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_159,node,_15a,node,_15b,_15c,_15d);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_15e,_15f,_160,_161,_162,_163,_164,_165){return this.addKeyListener(_15f,_160,_161,_162,_163,_164,_165).concat(this.addMouseListener(_15e,_161,_162,_163,_164,_165));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");"}},dojo.body());var cs=dojo.getComputedStyle(div);if(cs){var _166=cs.backgroundImage;var _167=(cs.borderTopColor==cs.borderRightColor)||(_166!=null&&(_166=="none"||_166=="url(invalid-url:)"));dojo[_167?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(elem,role){var _168=this.getWaiRole(elem);return role?(_168.indexOf(role)>-1):(_168.length>0);},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){dojo.attr(elem,"role",role);},removeWaiRole:function(elem,role){var _169=dojo.attr(elem,"role");if(!_169){return;}if(role){var t=dojo.trim((" "+_169+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_16a){return elem.hasAttribute?elem.hasAttribute("aria-"+_16a):!!elem.getAttribute("aria-"+_16a);},getWaiState:function(elem,_16b){return elem.getAttribute("aria-"+_16b)||"";},setWaiState:function(elem,_16c,_16d){elem.setAttribute("aria-"+_16c,_16d);},removeWaiState:function(elem,_16e){elem.removeAttribute("aria-"+_16e);}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.connect(dojo,"_connect",function(_16f,_170){if(_16f&&dojo.isFunction(_16f._onConnect)){_16f._onConnect(_170);}});dijit._connectOnUseEventHandler=function(_171){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _172=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_172);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_172);});})();}else{dojo.doc.addEventListener("keydown",function(evt){dijit._lastKeyDownNode=evt.target;},true);}(function(){dojo.declare("dijit._Widget",dijit._WidgetBase,{_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,create:function(_173,_174){this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}this.inherited(arguments);if(this.domNode){for(attr in this.params){this._onConnect(attr);}}},_onConnect:function(_175){if(_175 in this._deferredConnects){var _176=this[this._deferredConnects[_175]||"domNode"];this.connect(_176,_175.toLowerCase(),_175);delete this._deferredConnects[_175];}},focused:false,isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(attr,_177){dojo.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_177);},attr:function(name,_178){if(dojo.config.isDebug){var _179=arguments.callee._ach||(arguments.callee._ach={}),_17a=(arguments.callee.caller||"unknown caller").toString();if(!_179[_17a]){dojo.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_17a,"","2.0");_179[_17a]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},nodesWithKeyClick:["input","button"],connect:function(obj,_17b,_17c){var d=dojo,dc=d._connect,_17d=this.inherited(arguments,[obj,_17b=="ondijitclick"?"onclick":_17b,_17c]);if(_17b=="ondijitclick"){if(d.indexOf(this.nodesWithKeyClick,obj.nodeName.toLowerCase())==-1){var m=d.hitch(this,_17c);_17d.push(dc(obj,"onkeydown",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=e.target;if(!("openDropDown" in this&&obj==this._buttonNode)){e.preventDefault();}}}),dc(obj,"onkeyup",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&e.target==dijit._lastKeyDownNode&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=null;return m(e);}}));}}return _17d;},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});})();}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_17e,_17f){var _180=this.containerNode;if(_17f&&typeof _17f=="number"){var _181=this.getChildren();if(_181&&_181.length>=_17f){_180=_181[_17f-1].domNode;_17f="after";}}dojo.place(_17e.domNode,_180,_17f);if(this._started&&!_17e._started){_17e.startup();}},removeChild:function(_182){if(typeof _182=="number"){_182=this.getChildren()[_182];}if(_182){var node=_182.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},destroyDescendants:function(_183){dojo.forEach(this.getChildren(),function(_184){_184.destroyRecursive(_183);});},_getSiblingOfChild:function(_185,dir){var node=_185.domNode,_186=(dir>0?"nextSibling":"previousSibling");do{node=node[_186];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node&&dijit.byNode(node);},getIndexOfChild:function(_187){return dojo.indexOf(this.getChildren(),_187);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_188){_188.startup();});this.inherited(arguments);}});}if(!dojo._hasResource["dijit._Contained"]){dojo._hasResource["dijit._Contained"]=true;dojo.provide("dijit._Contained");dojo.declare("dijit._Contained",null,{getParent:function(){var _189=dijit.getEnclosingWidget(this.domNode.parentNode);return _189&&_189.isContainer?_189:null;},_getSibling:function(_18a){var node=this.domNode;do{node=node[_18a+"Sibling"];}while(node&&node.nodeType!=1);return node&&dijit.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});}if(!dojo._hasResource["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);dojo.addClass(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _18b=this.getParent&&this.getParent();if(!(_18b&&_18b.isLayoutContainer)){this.resize();this.connect(dojo.isIE?this.domNode:dojo.global,"onresize",function(){this.resize();});}},resize:function(_18c,_18d){var node=this.domNode;if(_18c){dojo.marginBox(node,_18c);if(_18c.t){node.style.top=_18c.t+"px";}if(_18c.l){node.style.left=_18c.l+"px";}}var mb=_18d||{};dojo.mixin(mb,_18c||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(node),mb);}var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var be=dojo._getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=dojo._getPadExtents(node,cs);this._contentBox={l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_18e){var cls=this.baseClass+"-child "+(_18e.baseClass?this.baseClass+"-"+_18e.baseClass:"");dojo.addClass(_18e.domNode,cls);},addChild:function(_18f,_190){this.inherited(arguments);if(this._started){this._setupChild(_18f);}},removeChild:function(_191){var cls=this.baseClass+"-child"+(_191.baseClass?" "+this.baseClass+"-"+_191.baseClass:"");dojo.removeClass(_191.domNode,cls);this.inherited(arguments);}});dijit.layout.marginBox2contentBox=function(node,mb){var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var pb=dojo._getPadBorderExtents(node,cs);return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _192=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_193,dim){_193.resize?_193.resize(dim):dojo.marginBox(_193.domNode,dim);dojo.mixin(_193,dojo.marginBox(_193.domNode));dojo.mixin(_193,dim);};dijit.layout.layoutChildren=function(_194,dim,_195,_196,_197){dim=dojo.mixin({},dim);dojo.addClass(_194,"dijitLayoutContainer");_195=dojo.filter(_195,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(dojo.filter(_195,function(item){return item.region=="center"||item.layoutAlign=="client";}));dojo.forEach(_195,function(_198){var elm=_198.domNode,pos=(_198.region||_198.layoutAlign);var _199=elm.style;_199.left=dim.l+"px";_199.top=dim.t+"px";_199.bottom=_199.right="auto";dojo.addClass(elm,"dijitAlign"+_192(pos));var _19a={};if(_196&&_196==_198.id){_19a[_198.region=="top"||_198.region=="bottom"?"h":"w"]=_197;}if(pos=="top"||pos=="bottom"){_19a.w=dim.w;size(_198,_19a);dim.h-=_198.h;if(pos=="top"){dim.t+=_198.h;}else{_199.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_19a.h=dim.h;size(_198,_19a);dim.w-=_198.w;if(pos=="left"){dim.l+=_198.w;}else{_199.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_198,dim);}}}});};})();}if(!dojo._hasResource["dijit.layout._ContentPaneResizeMixin"]){dojo._hasResource["dijit.layout._ContentPaneResizeMixin"]=true;dojo.provide("dijit.layout._ContentPaneResizeMixin");dojo.declare("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isContainer:true,isLayoutContainer:true,_startChildren:function(){dojo.forEach(this.getChildren(),function(_19b){_19b.startup();_19b._started=true;});},startup:function(){if(this._started){return;}var _19c=dijit._Contained.prototype.getParent.call(this);this._childOfLayoutWidget=_19c&&_19c.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);this._startChildren();},_checkIfSingleChild:function(){var _19d=dojo.query("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_19e=_19d.filter(function(node){return dojo.hasAttr(node,"data-dojo-type")||dojo.hasAttr(node,"dojoType")||dojo.hasAttr(node,"widgetId");}),_19f=dojo.filter(_19e.map(dijit.byNode),function(_1a0){return _1a0&&_1a0.domNode&&_1a0.resize;});if(_19d.length==_19e.length&&_19f.length==1){this._singleChild=_19f[0];}else{delete this._singleChild;}dojo.toggleClass(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_1a1,_1a2){this._layout(_1a1,_1a2);},_layout:function(_1a3,_1a4){if(_1a3){dojo.marginBox(this.domNode,_1a3);}var cn=this.containerNode;if(cn===this.domNode){var mb=_1a4||{};dojo.mixin(mb,_1a3||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(cn),mb);}this._contentBox=dijit.layout.marginBox2contentBox(cn,mb);}else{this._contentBox=dojo.contentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||dojo.contentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{dojo.forEach(this.getChildren(),function(_1a5){if(_1a5.resize){_1a5.resize();}});}}});}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.getObject("string",true,dojo);dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_1a6,map,_1a7,_1a8){_1a8=_1a8||dojo.global;_1a7=_1a7?dojo.hitch(_1a8,_1a7):function(v){return v;};return _1a6.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1a9,key,_1aa){var _1ab=dojo.getObject(key,false,map);if(_1aa){_1ab=dojo.getObject(_1aa,false,_1a8).call(_1a8,_1ab,key);}return _1a7(_1ab,key).toString();});};dojo.string.trim=String.prototype.trim?dojo.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dojo.html"]){dojo._hasResource["dojo.html"]=true;dojo.provide("dojo.html");dojo.getObject("html",true,dojo);(function(){var _1ac=0,d=dojo;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=dojo.empty;dojo.html._setNodeContent=function(node,cont){d.empty(node);if(cont){if(typeof cont=="string"){cont=d._toDom(cont,node.ownerDocument);}if(!cont.nodeType&&d.isArrayLike(cont)){for(var _1ad=cont.length,i=0;i<cont.length;i=_1ad==cont.length?i+1:0){d.place(cont[i],node,"last");}}else{d.place(cont,node,"last");}}return node;};dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_1ae,node){dojo.mixin(this,_1ae||{});node=this.node=dojo.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_1ac++].join("_");}},set:function(cont,_1af){if(undefined!==cont){this.content=cont;}if(_1af){this._mixin(_1af);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _1b0=this.onContentError(e);try{node.innerHTML=_1b0;}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 _1b1=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1b1){cont=_1b1[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(_1b2){var _1b3={},key;for(key in _1b2){if(key in _1b3){continue;}this[key]=_1b2[key];}},_parse:function(){var _1b4=this.node;try{this.parseResults=dojo.parser.parse({rootNode:_1b4,noStart:!this.startup,inherited:{dir:this.dir,lang:this.lang},scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_1b5){var _1b6=this["on"+type+"Error"].call(this,err);if(_1b5){console.error(_1b5,err);}else{if(_1b6){dojo.html._setNodeContent(this.node,_1b6,true);}}}});dojo.html.set=function(node,cont,_1b7){if(undefined==cont){cont="";}if(!_1b7){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(dojo.mixin(_1b7,{content:cont,node:node}));return op.set();}};})();}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.getObject("i18n",true,dojo);dojo.i18n.getLocalization=dojo.i18n.getLocalization||function(_1b8,_1b9,_1ba){_1ba=dojo.i18n.normalizeLocale(_1ba);var _1bb=_1ba.split("-");var _1bc=[_1b8,"nls",_1b9].join(".");var _1bd=dojo._loadedModules[_1bc];if(_1bd){var _1be;for(var i=_1bb.length;i>0;i--){var loc=_1bb.slice(0,i).join("_");if(_1bd[loc]){_1be=_1bd[loc];break;}}if(!_1be){_1be=_1bd.ROOT;}if(_1be){var _1bf=function(){};_1bf.prototype=_1be;return new _1bf();}}throw new Error("Bundle not found: "+_1b9+" in "+_1b8+" , locale="+_1ba);};dojo.i18n.normalizeLocale=function(_1c0){var _1c1=_1c0?_1c0.toLowerCase():dojo.locale;if(_1c1=="root"){_1c1="ROOT";}return _1c1;};dojo.i18n._requireLocalization=function(_1c2,_1c3,_1c4,_1c5){var _1c6=dojo.i18n.normalizeLocale(_1c4);var _1c7=[_1c2,"nls",_1c3].join(".");var _1c8="";if(_1c5){var _1c9=_1c5.split(",");for(var i=0;i<_1c9.length;i++){if(_1c6["indexOf"](_1c9[i])==0){if(_1c9[i].length>_1c8.length){_1c8=_1c9[i];}}}if(!_1c8){_1c8="ROOT";}}var _1ca=_1c5?_1c8:_1c6;var _1cb=dojo._loadedModules[_1c7];var _1cc=null;if(_1cb){if(dojo.config.localizationComplete&&_1cb._built){return;}var _1cd=_1ca.replace(/-/g,"_");var _1ce=_1c7+"."+_1cd;_1cc=dojo._loadedModules[_1ce];}if(!_1cc){_1cb=dojo["provide"](_1c7);var syms=dojo._getModuleSymbols(_1c2);var _1cf=syms.concat("nls").join("/");var _1d0;dojo.i18n._searchLocalePath(_1ca,_1c5,function(loc){var _1d1=loc.replace(/-/g,"_");var _1d2=_1c7+"."+_1d1;var _1d3=false;if(!dojo._loadedModules[_1d2]){dojo["provide"](_1d2);var _1d4=[_1cf];if(loc!="ROOT"){_1d4.push(loc);}_1d4.push(_1c3);var _1d5=_1d4.join("/")+".js";_1d3=dojo._loadPath(_1d5,null,function(hash){hash=hash.root||hash;var _1d6=function(){};_1d6.prototype=_1d0;_1cb[_1d1]=new _1d6();for(var j in hash){_1cb[_1d1][j]=hash[j];}});}else{_1d3=true;}if(_1d3&&_1cb[_1d1]){_1d0=_1cb[_1d1];}else{_1cb[_1d1]=_1d0;}if(_1c5){return true;}});}if(_1c5&&_1c6!=_1c8){_1cb[_1c6.replace(/-/g,"_")]=_1cb[_1c8.replace(/-/g,"_")];}};(function(){var _1d7=dojo.config.extraLocale;if(_1d7){if(!_1d7 instanceof Array){_1d7=[_1d7];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_1d8,_1d9){req(m,b,_1d8,_1d9);if(_1d8){return;}for(var i=0;i<_1d7.length;i++){req(m,b,_1d7[i],_1d9);}};}})();dojo.i18n._searchLocalePath=function(_1da,down,_1db){_1da=dojo.i18n.normalizeLocale(_1da);var _1dc=_1da.split("-");var _1dd=[];for(var i=_1dc.length;i>0;i--){_1dd.push(_1dc.slice(0,i).join("-"));}_1dd.push(false);if(down){_1dd.reverse();}for(var j=_1dd.length-1;j>=0;j--){var loc=_1dd[j]||"ROOT";var stop=_1db(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_1de,_1df){function _1e0(_1e1){_1e1=dojo.i18n.normalizeLocale(_1e1);dojo.i18n._searchLocalePath(_1e1,true,function(loc){for(var i=0;i<_1df.length;i++){if(_1df[i]==loc){dojo["require"](_1de+"_"+loc);return true;}}return false;});};_1e0();var _1e2=dojo.config.extraLocale||[];for(var i=0;i<_1e2.length;i++){_1e0(_1e2[i]);}};}if(!dojo._hasResource["dijit.layout.ContentPane"]){dojo._hasResource["dijit.layout.ContentPane"]=true;dojo.provide("dijit.layout.ContentPane");dojo.declare("dijit.layout.ContentPane",[dijit._Widget,dijit.layout._ContentPaneResizeMixin],{href:"",extractContent:false,parseOnLoad:true,parserScope:dojo._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[]}),stopParser:true,template:false,create:function(_1e3,_1e4){if((!_1e3||!_1e3.template)&&_1e4&&!("href" in _1e3)&&!("content" in _1e3)){var df=dojo.doc.createDocumentFragment();_1e4=dojo.byId(_1e4);while(_1e4.firstChild){df.appendChild(_1e4.firstChild);}_1e3=dojo.delegate(_1e3,{content:df});}this.inherited(arguments,[_1e3,_1e4]);},postMixInProperties:function(){this.inherited(arguments);var _1e5=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_1e5);this.errorMessage=dojo.string.substitute(this.errorMessage,_1e5);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!dojo.attr(this.domNode,"role")){dijit.setWaiRole(this.domNode,"group");}},_startChildren:function(){this.inherited(arguments);if(this._contentSetter){dojo.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&dojo.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},startup:function(){if(this._started){return;}this.inherited(arguments);if(this._isShown()){this._onShow();}},setHref:function(href){dojo.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this.onLoadDeferred.addCallback(dojo.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){dojo.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.addCallback(dojo.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},uninitialize:function(){if(this._beingDestroyed){this.cancel();}this.inherited(arguments);},destroyRecursive:function(_1e6){if(this._beingDestroyed){return;}this.inherited(arguments);},resize:function(_1e7,_1e8){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_1e7,_1e8);},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_1e9=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!dojo.hasClass(node,"dijitHidden")&&_1e9&&_1e9.style&&(_1e9.style.display!="none");}}},_onShow:function(){if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){var d=this.refresh();}}else{if(this._needLayout){this._layout(this._changeSize,this._resultSize);}}this.inherited(arguments);this._wasShown=true;return d;},refresh:function(){this.cancel();this.onLoadDeferred=new dojo.Deferred(dojo.hitch(this,"cancel"));this.onLoadDeferred.addCallback(dojo.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _1ea={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_1ea,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_1ea));hand.addCallback(function(html){try{self._isDownloaded=true;self._setContent(html,false);self.onDownloadEnd();}catch(err){self._onError("Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.callback(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(){if(this.isLoaded){this._onUnloadHandler();}var _1eb=this._contentSetter;dojo.forEach(this.getChildren(),function(_1ec){if(_1ec.destroyRecursive){_1ec.destroyRecursive();}});if(_1eb){dojo.forEach(_1eb.parseResults,function(_1ed){if(_1ed.destroyRecursive&&_1ed.domNode&&_1ed.domNode.parentNode==dojo.body()){_1ed.destroyRecursive();}});delete _1eb.parseResults;}dojo.html._emptyNode(this.containerNode);delete this._singleChild;},_setContent:function(cont,_1ee){this.destroyDescendants();var _1ef=this._contentSetter;if(!(_1ef&&_1ef instanceof dojo.html._ContentSetter)){_1ef=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){var _1f0=this.onContentError(e);try{this.containerNode.innerHTML=_1f0;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _1f1=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang},this._contentSetterParams||{});_1ef.set((dojo.isObject(cont)&&cont.domNode)?cont.domNode:cont,_1f1);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_1ee){if(this._started){this._startChildren();this._scheduleLayout();}this._onLoadHandler(cont);}},_onError:function(type,err,_1f2){this.onLoadDeferred.errback(err);var _1f3=this["on"+type+"Error"].call(this,err);if(_1f2){console.error(_1f2,err);}else{if(_1f3){this._setContent(_1f3,true);}}},_scheduleLayout:function(_1f4,_1f5){if(this._isShown()){this._layout(_1f4,_1f5);}else{this._needLayout=true;this._changeSize=_1f4;this._resultSize=_1f5;}},onLoad:function(data){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_1f6){},onDownloadError:function(_1f7){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dojo.cache"]){dojo._hasResource["dojo.cache"]=true;dojo.provide("dojo.cache");var cache={};dojo.cache=function(_1f8,url,_1f9){if(typeof _1f8=="string"){var _1fa=dojo.moduleUrl(_1f8,url);}else{_1fa=_1f8;_1f9=url;}var key=_1fa.toString();var val=_1f9;if(_1f9!=undefined&&!dojo.isString(_1f9)){val=("value" in _1f9?_1f9.value:undefined);}var _1fb=_1f9&&_1f9.sanitize?true:false;if(typeof val=="string"){val=cache[key]=_1fb?dojo.cache._sanitize(val):val;}else{if(val===null){delete cache[key];}else{if(!(key in cache)){val=dojo._getText(key);cache[key]=_1fb?dojo.cache._sanitize(val):val;}val=cache[key];}}return val;};dojo.cache._sanitize=function(val){if(val){val=val.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _1fc=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1fc){val=_1fc[1];}}else{val="";}return val;};}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _1fd=this.declaredClass,_1fe=this;return dojo.string.substitute(tmpl,this,function(_1ff,key){if(key.charAt(0)=="!"){_1ff=dojo.getObject(key.substr(1),false,_1fe);}if(typeof _1ff=="undefined"){throw new Error(_1fd+" template:"+key);}if(_1ff==null){return "";}return key.charAt(0)=="!"?_1ff:_1ff.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _200=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_200)){node=dojo._toDom(this._stringRepl(_200));if(node.nodeType!=1){throw new Error("Invalid template: "+_200);}}else{node=_200.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node);if(this.widgetsInTemplate){var cw=(this._startupWidgets=dojo.parser.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang},propsThis:this,scope:"dojo"}));this._supportingWidgets=dijit.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(this.srcNodeRef);},_fillContent:function(_201){var dest=this.containerNode;if(_201&&dest){while(_201.hasChildNodes()){dest.appendChild(_201.firstChild);}}},_attachTemplateNodes:function(_202,_203){_203=_203||function(n,p){return n.getAttribute(p);};var _204=dojo.isArray(_202)?_202:(_202.all||_202.getElementsByTagName("*"));var x=dojo.isArray(_202)?0:-1;for(;x<_204.length;x++){var _205=(x==-1)?_202:_204[x];if(this.widgetsInTemplate&&(_203(_205,"dojoType")||_203(_205,"data-dojo-type"))){continue;}var _206=_203(_205,"dojoAttachPoint")||_203(_205,"data-dojo-attach-point");if(_206){var _207,_208=_206.split(/\s*,\s*/);while((_207=_208.shift())){if(dojo.isArray(this[_207])){this[_207].push(_205);}else{this[_207]=_205;}this._attachPoints.push(_207);}}var _209=_203(_205,"dojoAttachEvent")||_203(_205,"data-dojo-attach-event");if(_209){var _20a,_20b=_209.split(/\s*,\s*/);var trim=dojo.trim;while((_20a=_20b.shift())){if(_20a){var _20c=null;if(_20a.indexOf(":")!=-1){var _20d=_20a.split(":");_20a=trim(_20d[0]);_20c=trim(_20d[1]);}else{_20a=trim(_20a);}if(!_20c){_20c=_20a;}this._attachEvents.push(this.connect(_205,_20a,_20c));}}}var role=_203(_205,"waiRole");if(role){dijit.setWaiRole(_205,role);}var _20e=_203(_205,"waiState");if(_20e){dojo.forEach(_20e.split(/\s*,\s*/),function(_20f){if(_20f.indexOf("-")!=-1){var pair=_20f.split("-");dijit.setWaiState(_205,pair[0],pair[1]);}});}}},startup:function(){dojo.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);},destroyRendering:function(){dojo.forEach(this._attachPoints,function(_210){delete this[_210];},this);this._attachPoints=[];dojo.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_211,_212,_213){var _214=dijit._Templated._templateCache;var key=_212||_211;var _215=_214[key];if(_215){try{if(!_215.ownerDocument||_215.ownerDocument==dojo.doc){return _215;}}catch(e){}dojo.destroy(_215);}if(!_212){_212=dojo.cache(_211,{sanitize:true});}_212=dojo.string.trim(_212);if(_213||_212.match(/\$\{([^\}]+)\}/g)){return (_214[key]=_212);}else{var node=dojo._toDom(_212);if(node.nodeType!=1){throw new Error("Invalid template: "+_212);}return (_214[key]=node);}};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _216=dijit._Templated._templateCache;for(var key in _216){var _217=_216[key];if(typeof _217=="object"){dojo.destroy(_217);}delete _216[key];}});}dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._CssStateMixin"]){dojo._hasResource["dijit._CssStateMixin"]=true;dojo.provide("dijit._CssStateMixin");dojo.declare("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);dojo.forEach(["onmouseenter","onmouseleave","onmousedown"],function(e){this.connect(this.domNode,e,"_cssMouseEvent");},this);dojo.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active"],function(attr){this.watch(attr,dojo.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._setStateClass();},_cssMouseEvent:function(_218){if(!this.disabled){switch(_218.type){case "mouseenter":case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseleave":case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":this._set("active",true);this._mouseDown=true;var _219=this.connect(dojo.body(),"onmouseup",function(){this._mouseDown=false;this._set("active",false);this.disconnect(_219);});break;}}},_setStateClass:function(){var _21a=this.baseClass.split(" ");function _21b(_21c){_21a=_21a.concat(dojo.map(_21a,function(c){return c+_21c;}),"dijit"+_21c);};if(!this.isLeftToRight()){_21b("Rtl");}if(this.checked){_21b("Checked");}if(this.state){_21b(this.state);}if(this.selected){_21b("Selected");}if(this.disabled){_21b("Disabled");}else{if(this.readOnly){_21b("ReadOnly");}else{if(this.active){_21b("Active");}else{if(this.hovering){_21b("Hover");}}}}if(this._focused){_21b("Focused");}var tn=this.stateNode||this.domNode,_21d={};dojo.forEach(tn.className.split(" "),function(c){_21d[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _21d[c];});}dojo.forEach(_21a,function(c){_21d[c]=true;});var _21e=[];for(var c in _21d){_21e.push(c);}tn.className=_21e.join(" ");this._stateClasses=_21a;},_trackMouseState:function(node,_21f){var _220=false,_221=false,_222=false;var self=this,cn=dojo.hitch(this,"connect",node);function _223(){var _224=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);dojo.toggleClass(node,_21f+"Hover",_220&&!_221&&!_224);dojo.toggleClass(node,_21f+"Active",_221&&!_224);dojo.toggleClass(node,_21f+"Focused",_222&&!_224);};cn("onmouseenter",function(){_220=true;_223();});cn("onmouseleave",function(){_220=false;_221=false;_223();});cn("onmousedown",function(){_221=true;_223();});cn("onmouseup",function(){_221=false;_223();});cn("onfocus",function(){_222=true;_223();});cn("onblur",function(){_222=false;_223();});this.watch("disabled",_223);this.watch("readOnly",_223);}});}if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated,dijit._CssStateMixin],{name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,intermediateChanges:false,scrollOnFocus:true,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{value:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode",title:"focusNode"}),postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/'/g,"&quot;")+"\""):"";this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousedown","_onMouseDown");},_setDisabledAttr:function(_225){this._set("disabled",_225);dojo.attr(this.focusNode,"disabled",_225);if(this.valueNode){dojo.attr(this.valueNode,"disabled",_225);}dijit.setWaiState(this.focusNode,"disabled",_225);if(_225){this._set("hovering",false);this._set("active",false);var _226="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:"focusNode";dojo.forEach(dojo.isArray(_226)?_226:[_226],function(_227){var node=this[_227];if(dojo.isWebKit||dijit.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.focusNode.setAttribute("tabIndex",this.tabIndex);}}},setDisabled:function(_228){dojo.deprecated("setDisabled("+_228+") is deprecated. Use set('disabled',"+_228+") instead.","","2.0");this.set("disabled",_228);},_onFocus:function(e){if(this.scrollOnFocus){dojo.window.scrollIntoView(this.domNode);}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){if(!this.disabled){dijit.focus(this.focusNode);}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(_229){},_onChangeActive:false,_handleOnChange:function(_22a,_22b){if(this._lastValueReported==undefined&&(_22b===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_22a;}this._pendingOnChange=this._pendingOnChange||(typeof _22a!=typeof this._lastValueReported)||(this.compare(_22a,this._lastValueReported)!=0);if((this.intermediateChanges||_22b||_22b===undefined)&&this._pendingOnChange){this._lastValueReported=_22a;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(dojo.hitch(this,function(){this._onChangeHandle=null;this.onChange(_22a);}),0);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);this.onChange(this._lastValueReported);}this.inherited(arguments);},setValue:function(_22c){dojo.deprecated("dijit.form._FormWidget:setValue("+_22c+") is deprecated.  Use set('value',"+_22c+") instead.","","2.0");this.set("value",_22c);},getValue:function(){dojo.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_onMouseDown:function(e){if(!e.ctrlKey&&dojo.mouseButtons.isLeft(e)&&this.isFocusable()){var _22d=this.connect(dojo.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_22d);});}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{readOnly:false,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"",readOnly:"focusNode"}),_setReadOnlyAttr:function(_22e){dojo.attr(this.focusNode,"readOnly",_22e);dijit.setWaiState(this.focusNode,"readonly",_22e);this._set("readOnly",_22e);},postCreate:function(){this.inherited(arguments);if(dojo.isIE){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_22f,_230){this._handleOnChange(_22f,_230);},_handleOnChange:function(_231,_232){this._set("value",_231);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){var te;if(dojo.isIE){e.preventDefault();te=document.createEventObject();te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}},_layoutHackIE7:function(){if(dojo.isIE==7){var _233=this.domNode;var _234=_233.parentNode;var _235=_233.firstChild||_233;var _236=_235.style.filter;var _237=this;while(_234&&_234.clientHeight==0){(function ping(){var _238=_237.connect(_234,"onscroll",function(e){_237.disconnect(_238);_235.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_235.style.filter=_236;},0);});})();_234=_234.parentNode;}}}});}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:"",selectOnClick:false,placeHolder:"",templateString:dojo.cache("dijit.form","templates/TextBox.html","<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" dojoAttachPoint='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"),_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" dojoAttachPoint=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:dojo.isIE?"disabled":"",baseClass:"dijitTextBox",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{maxLength:"focusNode"}),postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==dijit.form.TextBox.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=dojo.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this._focused&&!this.textbox.value)?"":"none";}},_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_239,_23a,_23b){var _23c;if(_239!==undefined){_23c=this.filter(_239);if(typeof _23b!="string"){if(_23c!==null&&((typeof _23c!="number")||!isNaN(_23c))){_23b=this.filter(this.format(_23c,this.constraints));}else{_23b="";}}}if(_23b!=null&&_23b!=undefined&&((typeof _23b)!="number"||!isNaN(_23b))&&this.textbox.value!=_23b){this.textbox.value=_23b;this._set("displayedValue",this.get("displayedValue"));}this._updatePlaceHolder();this.inherited(arguments,[_23c,_23a]);},displayedValue:"",getDisplayedValue:function(){dojo.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},setDisplayedValue:function(_23d){dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_23d);},_setDisplayedValueAttr:function(_23e){if(_23e===null||_23e===undefined){_23e="";}else{if(typeof _23e!="string"){_23e=String(_23e);}}this.textbox.value=_23e;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_23f,_240){return ((_23f==null||_23f==undefined)?"":(_23f.toString?_23f.toString():_23f));},parse:function(_241,_242){return _241;},_refreshState:function(){},_onInput:function(e){if(e&&e.type&&/key/i.test(e.type)&&e.keyCode){switch(e.keyCode){case dojo.keys.SHIFT:case dojo.keys.ALT:case dojo.keys.CTRL:case dojo.keys.TAB:return;}}if(this.intermediateChanges){var _243=this;setTimeout(function(){_243._handleOnChange(_243.get("value"),false);},0);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){if(dojo.isIE){setTimeout(dojo.hitch(this,function(){var s=dojo.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _244=this.domNode.getElementsByTagName("INPUT");if(_244){for(var i=0;i<_244.length;i++){_244[i].style.fontFamily=ff;}}}}}),0);}this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);if(dojo.isMoz||dojo.isOpera){this.connect(this.textbox,"oninput","_onInput");}else{this.connect(this.textbox,"onkeydown","_onInput");this.connect(this.textbox,"onkeyup","_onInput");this.connect(this.textbox,"onpaste","_onInput");this.connect(this.textbox,"oncut","_onInput");}},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}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.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}if(this.selectOnClick&&dojo.isMoz){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);var _245;if(dojo.isIE){var _246=dojo.doc.selection.createRange();var _247=_246.parentElement();_245=_247==this.textbox&&_246.text.length==0;}else{_245=this.textbox.selectionStart==this.textbox.selectionEnd;}if(_245){dijit.selectInputText(this.textbox);}});}this._updatePlaceHolder();this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});dijit.selectInputText=function(_248,_249,stop){var _24a=dojo.global;var _24b=dojo.doc;_248=dojo.byId(_248);if(isNaN(_249)){_249=0;}if(isNaN(stop)){stop=_248.value?_248.value.length:0;}dijit.focus(_248);if(_24b["selection"]&&dojo.body()["createTextRange"]){if(_248.createTextRange){var r=_248.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_249);r.moveEnd("character",stop-_249);r.select();}}else{if(_24a["getSelection"]){if(_248.setSelectionRange){_248.setSelectionRange(_249,stop);}}}};}if(!dojo._hasResource["dijit.form.SimpleTextarea"]){dojo._hasResource["dijit.form.SimpleTextarea"]=true;dojo.provide("dijit.form.SimpleTextarea");dojo.declare("dijit.form.SimpleTextarea",dijit.form.TextBox,{baseClass:"dijitTextBox dijitTextArea",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{rows:"textbox",cols:"textbox"}),rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} dojoAttachPoint='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(dojo.isIE&&this.cols){dojo.addClass(this.textbox,"dijitTextAreaCols");}},filter:function(_24c){if(_24c){_24c=_24c.replace(/\r/g,"");}return this.inherited(arguments);},_previousValue:"",_onInput:function(e){if(this.maxLength){var _24d=parseInt(this.maxLength);var _24e=this.textbox.value.replace(/\r/g,"");var _24f=_24e.length-_24d;if(_24f>0){if(e){dojo.stopEvent(e);}var _250=this.textbox;if(_250.selectionStart){var pos=_250.selectionStart;var cr=0;if(dojo.isOpera){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_24e.substring(0,pos-_24f-cr)+_24e.substring(pos-cr);_250.setSelectionRange(pos-_24f,pos-_24f);}else{if(dojo.doc.selection){_250.focus();var _251=dojo.doc.selection.createRange();_251.moveStart("character",-_24f);_251.text="";_251.select();}}}this._previousValue=this.textbox.value;}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form.Textarea"]){dojo._hasResource["dijit.form.Textarea"]=true;dojo.provide("dijit.form.Textarea");dojo.declare("dijit.form.Textarea",dijit.form.SimpleTextarea,{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",_previousNewlines:0,_strictMode:(dojo.doc.compatMode!="BackCompat"),_getHeight:function(_252){var newH=_252.scrollHeight;if(dojo.isIE){newH+=_252.offsetHeight-_252.clientHeight-((dojo.isIE<8&&this._strictMode)?dojo._getPadBorderExtents(_252).h:0);}else{if(dojo.isMoz){newH+=_252.offsetHeight-_252.clientHeight;}else{if(dojo.isWebKit){newH+=dojo._getBorderExtents(_252).h;}else{newH+=dojo._getPadBorderExtents(_252).h;}}}return newH;},_estimateHeight:function(_253){_253.style.maxHeight="";_253.style.height="auto";_253.rows=(_253.value.match(/\n/g)||[]).length+1;},_needsHelpShrinking:dojo.isMoz||dojo.isWebKit,_onInput:function(){this.inherited(arguments);if(this._busyResizing){return;}this._busyResizing=true;var _254=this.textbox;if(_254.scrollHeight&&_254.offsetHeight&&_254.clientHeight){var newH=this._getHeight(_254)+"px";if(_254.style.height!=newH){_254.style.maxHeight=_254.style.height=newH;}if(this._needsHelpShrinking){if(this._setTimeoutHandle){clearTimeout(this._setTimeoutHandle);}this._setTimeoutHandle=setTimeout(dojo.hitch(this,"_shrink"),0);}}else{this._estimateHeight(_254);}this._busyResizing=false;},_busyResizing:false,_shrink:function(){this._setTimeoutHandle=null;if(this._needsHelpShrinking&&!this._busyResizing){this._busyResizing=true;var _255=this.textbox;var _256=false;if(_255.value==""){_255.value=" ";_256=true;}var _257=_255.scrollHeight;if(!_257){this._estimateHeight(_255);}else{var _258=_255.style.paddingBottom;var _259=dojo._getPadExtents(_255);_259=_259.h-_259.t;_255.style.paddingBottom=_259+1+"px";var newH=this._getHeight(_255)-1+"px";if(_255.style.maxHeight!=newH){_255.style.paddingBottom=_259+_257+"px";_255.scrollTop=0;_255.style.maxHeight=this._getHeight(_255)-_257+"px";}_255.style.paddingBottom=_258;}if(_256){_255.value="";}this._busyResizing=false;}},resize:function(){this._onInput();},_setValueAttr:function(){this.inherited(arguments);this.resize();},buildRendering:function(){this.inherited(arguments);dojo.style(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});},postCreate:function(){this.inherited(arguments);this.connect(this.textbox,"onscroll","_onInput");this.connect(this.textbox,"onresize","_onInput");this.connect(this.textbox,"onfocus","_onInput");this._setTimeoutHandle=setTimeout(dojo.hitch(this,"resize"),0);},uninitialize:function(){if(this._setTimeoutHandle){clearTimeout(this._setTimeoutHandle);}this.inherited(arguments);}});}if(!dojo._hasResource["thirtyseven.layout.ProjectsLarge"]){dojo._hasResource["thirtyseven.layout.ProjectsLarge"]=true;dojo.provide("thirtyseven.layout.ProjectsLarge");dojo.require("dijit._Widget");dojo.declare("thirtyseven.layout.ProjectsLarge",[dijit._Widget],{projectWindowWidth:884,baseclass:"projectContainerLarge",cssNav:".section.what h3",cssProject:".project",currentProjectId:0,buildRendering:function(){this.inherited(arguments);this._handles=[];this._projects=[];var _25a=0;dojo.forEach(dojo.query(this.cssProject,this.domNode),dojo.hitch(this,function(_25b){this.addNavElement(_25a,_25b);dojo.attr(_25b,{"order":_25a});dojo.style(_25b,{left:(_25a*this.projectWindowWidth)+"px"});this._projects.push(_25b);_25a++;}));if(_25a>0&&this.previewNav){var _25c=dojo.create("a",{href:"#next",innerHTML:"next &#187;"},this.previewNav);this._handles.push(this.connect(_25c,"onclick",dojo.hitch(this,function(_25d){dojo.stopEvent(_25d);_25c.blur();this.selectNextProject();})));}dojo.addClass(this.domNode,this.baseclass);},startup:function(){this.inherited(arguments);if(this._projects&&this._projects.length>0){this.selectProject(this._projects[0]);}},uninitialize:function(){this.inherited(arguments);dojo.forEach(this._handles,this.disconnect,this);},addNavElement:function(_25e,_25f){if(!this.previewNav){var _260=1;dojo.forEach(dojo.query(this.cssNav),dojo.hitch(this,function(_261){if(_260){this.previewNav=dojo.create("span",{id:"previewNav"},_261);}_260=0;}));}if(this.previewNav){var _262=dojo.create("a",{href:"/projects/view/id/"+dojo.attr(_25f,"id"),innerHTML:(_25e+1)},this.previewNav);dojo.attr(_262,{"order":_25e});this._handles.push(this.connect(_262,"onclick",dojo.hitch(this,function(_263){dojo.stopEvent(_263);_262.blur();this.selectProject(_25f);})));}},selectProject:function(_264){var _265=[];var _266=dojo.attr(_264,"order");if(_266!=this.currentProjectId){var _267=(this.currentProjectId>_266)?this.projectWindowWidth:(this.projectWindowWidth*-1);_265.push(dojo.animateProperty({node:this._projects[this.currentProjectId],properties:{left:{end:_267}}}));_265.push(dojo.animateProperty({node:_264,properties:{left:{start:(_267*-1),end:0}}}));}if(dojo.marginBox(this.domNode).h!=dojo.marginBox(_264).h){_265.push(dojo.animateProperty({node:this.domNode,properties:{height:{end:dojo.marginBox(_264).h}}}));}dojo.forEach(_265,function(_268){_268.play();});dojo.addClass(_264,"current");this.currentProjectId=_266;var _269=0;dojo.forEach(dojo.query("a",this.previewNav),dojo.hitch(this,function(_26a){if(_269==this.currentProjectId){dojo.addClass(_26a,"current");}else{dojo.removeClass(_26a,"current");}_269++;}));},selectNextProject:function(){var _26b=(this.currentProjectId>=this._projects.length-1)?0:parseInt(this.currentProjectId)+1;this.selectProject(this._projects[_26b]);}});}if(!dojo._hasResource["thirtyseven.layout.ProjectsMini"]){dojo._hasResource["thirtyseven.layout.ProjectsMini"]=true;dojo.provide("thirtyseven.layout.ProjectsMini");dojo.require("dijit._Widget");dojo.declare("thirtyseven.layout.ProjectsMini",[dijit._Widget],{baseclass:"projectContainerMini",cellWidth:158,containerWidth:790,totalWidth:0,cssElement:".project",projectUrl:"/projects/view/id/",buildRendering:function(){this.inherited(arguments);this._handles=[];this.navigation=dojo.create("div",null,this.domNode,"first");dojo.addClass(this.navigation,"miniNav");var _26c=0;dojo.forEach(dojo.query(this.cssElement,this.domNode),dojo.hitch(this,function(_26d){var _26e=dojo.create("a",{href:this.projectUrl+dojo.attr(_26d,"id")},this.navigation);this._handles.push(this.connect(_26e,"onclick",dojo.hitch(this,function(_26f){dojo.stopEvent(_26f);_26e.blur();if(!dojo.hasClass(_26e,"current")){this.selectProject(_26e,_26d);}})));var _270=dojo.create("span",null,_26e);this.copyBackgroundImage(_26d,_270);if(_26c==0){dojo.addClass(_26e,"current");dojo.addClass(_26d,"current");}_26c++;}));this.totalWidth=_26c*this.cellWidth;if(this.totalWidth>this.containerWidth){var _271=dojo.create("a",{innerHTML:"&#171;"},this.navigation,"before");dojo.addClass(_271,"navLeft");this._handles.push(this.connect(_271,"onclick",dojo.hitch(this,function(_272){this.moveProjectsToRight(_272);})));var _273=dojo.create("a",{innerHTML:"&#187;"},this.navigation,"before");dojo.addClass(_273,"navRight");this._handles.push(this.connect(_273,"onclick",dojo.hitch(this,function(_274){this.moveProjectsToLeft(_274);})));}else{dojo.style(this.navigation,{marginLeft:"48px"});}dojo.addClass(this.domNode,this.baseclass);},startup:function(){this.inherited(arguments);var _275=0;dojo.forEach(dojo.query("a",this.navigation),dojo.hitch(this,function(_276){dojo.style(_276,{left:(this.cellWidth*_275)+"px"});_275++;}));dojo.forEach(dojo.query(".project.mini.current",this.domNode),dojo.hitch(this,function(_277){dojo.animateProperty({node:this.domNode,properties:{height:{end:(125+dojo.marginBox(_277).h)}}}).play();}));},uninitialize:function(){this.inherited(arguments);dojo.forEach(this._handles,this.disconnect,this);},copyBackgroundImage:function(_278,_279){bgPosition=dojo.style(_278,"backgroundPosition");bgX=dojo.style(_278,"backgroundPositionX");bgY=dojo.style(_278,"backgroundPositionY");if(bgX&&bgY){dojo.style(_279,{backgroundImage:(dojo.style(_278,"backgroundImage")),backgroundPositionX:bgX,backgroundPositionY:bgY});}else{if(bgPosition){dojo.style(_279,{backgroundImage:(dojo.style(_278,"backgroundImage")),backgroundPosition:bgPosition});}}},moveProjectsToLeft:function(_27a){dojo.stopEvent(_27a);var _27b=dojo.query("a",this.navigation);var _27c=0;for(var i=5;i<10;i++){if(_27b[i]&&(dojo.marginBox(_27b[i]).l>=this.containerWidth)){_27c++;}}if(_27c!=0){var _27d=[];dojo.forEach(dojo.query("a",this.navigation),dojo.hitch(this,function(_27e){var _27f=dojo.marginBox(_27e).l-(_27c*this.cellWidth);_27d.push(dojo.animateProperty({node:_27e,duration:450,properties:{left:{end:_27f}},onEnd:dojo.hitch(this,function(){if(_27f<=(this.cellWidth*-1)){dojo.place(_27e,this.navigation,"last");dojo.style(_27e,{left:(this.totalWidth+_27f)+"px"});}})}));}));this.hideCurrentDescription();dojo.forEach(_27d,function(_280){_280.play();});}},moveProjectsToRight:function(_281){dojo.stopEvent(_281);var _282=dojo.query("a",this.navigation).reverse();var _283=0;for(var i=0;i<5;i++){if(dojo.marginBox(_282[i]).l>=this.containerWidth){dojo.place(_282[i],this.navigation,"first");dojo.style(_282[i],{left:"-"+((_283*this.cellWidth)+this.cellWidth)+"px"});_283++;}}if(_283!=0){var _284=[];dojo.forEach(dojo.query("a",this.navigation),dojo.hitch(this,function(_285){var _286=dojo.marginBox(_285).l+(_283*this.cellWidth);_284.push(dojo.animateProperty({node:_285,duration:450,properties:{left:{end:_286}}}));}));this.hideCurrentDescription();dojo.forEach(_284,function(_287){_287.play();});}},hideCurrentDescription:function(){dojo.forEach(dojo.query("a.current",this.navigation),function(_288){dojo.removeClass(_288,"current");});dojo.forEach(dojo.query(".project.mini.current",this.domNode),dojo.hitch(this,function(_289){var _28a=dojo.animateProperty({node:_289,properties:{opacity:{end:0}},beforeBegin:dojo.hitch(this,function(){dojo.animateProperty({node:this.domNode,properties:{height:{end:180}}}).play();}),onEnd:function(){dojo.removeClass(_289,"current");}});_28a.play();}));},selectProject:function(_28b,_28c){var _28d=[];dojo.forEach(dojo.query("a.current",this.navigation),function(_28e){dojo.removeClass(_28e,"current");});dojo.forEach(dojo.query(".project.mini.current",this.domNode),function(_28f){dojo.removeClass(_28f,"current");});_28d.push(dojo.animateProperty({node:_28c,properties:{opacity:{start:0,end:1}},beforeBegin:function(){dojo.addClass(_28c,"current");},onEnd:dojo.hitch(this,function(){dojo.animateProperty({node:this.domNode,properties:{height:{end:(125+dojo.marginBox(_28c).h)}}}).play();})}));dojo.forEach(_28d,function(_290){_290.play();});dojo.addClass(_28b,"current");}});}if(!dojo._hasResource["thirtyseven.layout.EmailAddress"]){dojo._hasResource["thirtyseven.layout.EmailAddress"]=true;dojo.provide("thirtyseven.layout.EmailAddress");dojo.require("dijit._Widget");dojo.declare("thirtyseven.layout.EmailAddress",[dijit._Widget],{buildRendering:function(){this.inherited(arguments);var _291=this.domNode.innerHTML;this.domNode.innerHTML="";_291=_291.replace(" at ","@");_291=_291.replace(" dot ",".");var link=dojo.create("a",{href:"mailto:"+_291,innerHTML:_291},this.domNode);}});}if(!dojo._hasResource["thirtyseven.form.SubmitButton"]){dojo._hasResource["thirtyseven.form.SubmitButton"]=true;dojo.provide("thirtyseven.form.SubmitButton");dojo.require("dijit._Widget");dojo.declare("thirtyseven.form.SubmitButton",[dijit._Widget],{targetDiv:"",successMessage:"Thank you, your message has been sent!",errorMessage:"Sorry, there was an error encountered while sending your message. Please try again, or send me a quick note at FALLBACK",fallbackAddress:"hello at thirtyseven dot ca",flashColourStart:"#7f7f7f",flashColourEnd:"#ffffff",startup:function(){this.inherited(arguments);this._handles=[];if(this.targetDiv!=""){this._target=dijit.byId(this.targetDiv);this._handles.push(this.connect(this.domNode,"onclick",dojo.hitch(this,function(_292){dojo.stopEvent(_292);this.updateTarget();})));}if(this.fallbackAddress){this.errorMessage=this.errorMessage.replace("FALLBACK","<span dojoType=\"thirtyseven.layout.EmailAddress\">"+this.fallbackAddress+"</a>");}else{this.errorMessage=this.errorMessage;}},updateTarget:function(){dojo.forEach(dojo.query("form",this.targetDiv.domNode),dojo.hitch(this,function(form){dojo.addClass(this._target.domNode,"sending");if(this.errorMessageContainer){dojo.forEach(dijit.findWidgets(this.errorMessageContainer),function(_293){_293.destroyRecursive();});dojo.destroy(this.errorMessageContainer);}var _294=dojo.hitch(this,function(_295){this._target.set("content",_295);dojo.removeClass(this._target.domNode,"sending");dojo.forEach(dojo.query(".message",this._target.domNode),dojo.hitch(this,function(_296){this.flashBackground(_296);}));return _295;});dojo.xhrPost({form:form,load:_294,error:dojo.hitch(this,function(_297){this.errorMessageContainer=dojo.create("p",{innerHTML:this.errorMessage},this._target.domNode,"first");dojo.addClass(this.errorMessageContainer,"errorMessage");dojo.parser.parse(this.errorMessageContainer);dojo.removeClass(this._target.domNode,"sending");this.flashBackground(this.errorMessageContainer);return _297;})});}));},flashBackground:function(_298){dojo.animateProperty({node:_298,duration:1370,properties:{backgroundColor:{start:this.flashColourStart,end:this.flashColourEnd}}}).play();},uninitialize:function(){this.inherited(arguments);dojo.forEach(this._handles,this.disconnect,this);}});}dojo.i18n._preloadLocalizations("dojo.nls.thirtyseven",["ROOT","ar","ca","cs","da","de","de-de","el","en","en-gb","en-us","es","es-es","fi","fi-fi","fr","fr-fr","he","he-il","hu","it","it-it","ja","ja-jp","ko","ko-kr","nb","nl","nl-nl","pl","pt","pt-br","pt-pt","ru","sk","sl","sv","th","tr","xx","zh","zh-cn","zh-tw"]);

