

//require dojo.dnd.common

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


if(!dojo._hasResource["dojo.dnd.common"]){
dojo._hasResource["dojo.dnd.common"]=true;
dojo.provide("dojo.dnd.common");
dojo.dnd._isMac=navigator.appVersion.indexOf("Macintosh")>=0;
dojo.dnd._copyKey=dojo.dnd._isMac?"metaKey":"ctrlKey";
dojo.dnd.getCopyKeyState=function(e){
return e[dojo.dnd._copyKey];
};
dojo.dnd._uniqueId=0;
dojo.dnd.getUniqueId=function(){
var id;
do{
id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);
}while(dojo.byId(id));
return id;
};
dojo.dnd._empty={};
dojo.dnd.isFormElement=function(e){
var t=e.target;
if(t.nodeType==3){
t=t.parentNode;
}
return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;
};
dojo.dnd._lmb=dojo.isIE?1:0;
dojo.dnd._isLmbPressed=dojo.isIE?function(e){
return e.button&1;
}:function(e){
return e.button===0;
};
}


//require dojo.dnd.autoscroll

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


if(!dojo._hasResource["dojo.dnd.autoscroll"]){
dojo._hasResource["dojo.dnd.autoscroll"]=true;
dojo.provide("dojo.dnd.autoscroll");
dojo.dnd.getViewport=function(){
var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();
if(dojo.isMozilla){
return {w:dd.clientWidth,h:w.innerHeight};
}else{
if(!dojo.isOpera&&w.innerWidth){
return {w:w.innerWidth,h:w.innerHeight};
}else{
if(!dojo.isOpera&&dd&&dd.clientWidth){
return {w:dd.clientWidth,h:dd.clientHeight};
}else{
if(b.clientWidth){
return {w:b.clientWidth,h:b.clientHeight};
}
}
}
}
return null;
};
dojo.dnd.V_TRIGGER_AUTOSCROLL=32;
dojo.dnd.H_TRIGGER_AUTOSCROLL=32;
dojo.dnd.V_AUTOSCROLL_VALUE=16;
dojo.dnd.H_AUTOSCROLL_VALUE=16;
dojo.dnd.autoScroll=function(e){
var v=dojo.dnd.getViewport(),dx=0,dy=0;
if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){
dx=-dojo.dnd.H_AUTOSCROLL_VALUE;
}else{
if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){
dx=dojo.dnd.H_AUTOSCROLL_VALUE;
}
}
if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){
dy=-dojo.dnd.V_AUTOSCROLL_VALUE;
}else{
if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){
dy=dojo.dnd.V_AUTOSCROLL_VALUE;
}
}
window.scrollBy(dx,dy);
};
dojo.dnd._validNodes={"div":1,"p":1,"td":1};
dojo.dnd._validOverflow={"auto":1,"scroll":1};
dojo.dnd.autoScrollNodes=function(e){
for(var n=e.target;n;){
if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){
var s=dojo.getComputedStyle(n);
if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){
var b=dojo._getContentBox(n,s),t=dojo._abs(n,true);
var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-t.x,ry=e.pageY-t.y,dx=0,dy=0;
if(dojo.isWebKit||dojo.isOpera){
rx+=dojo.body().scrollLeft,ry+=dojo.body().scrollTop;
}
if(rx>0&&rx<b.w){
if(rx<w){
dx=-w;
}else{
if(rx>b.w-w){
dx=w;
}
}
}
if(ry>0&&ry<b.h){
if(ry<h){
dy=-h;
}else{
if(ry>b.h-h){
dy=h;
}
}
}
var _14=n.scrollLeft,_15=n.scrollTop;
n.scrollLeft=n.scrollLeft+dx;
n.scrollTop=n.scrollTop+dy;
if(_14!=n.scrollLeft||_15!=n.scrollTop){
return;
}
}
}
try{
n=n.parentNode;
}
catch(x){
n=null;
}
}
dojo.dnd.autoScroll(e);
};
}


//require dojo.dnd.Mover

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


if(!dojo._hasResource["dojo.dnd.Mover"]){
dojo._hasResource["dojo.dnd.Mover"]=true;
dojo.provide("dojo.dnd.Mover");
dojo.require("dojo.dnd.common");
dojo.require("dojo.dnd.autoscroll");
dojo.declare("dojo.dnd.Mover",null,{constructor:function(_1,e,_3){
this.node=dojo.byId(_1);
this.marginBox={l:e.pageX,t:e.pageY};
this.mouseButton=e.button;
var h=this.host=_3,d=_1.ownerDocument,_6=dojo.connect(d,"onmousemove",this,"onFirstMove");
this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo.stopEvent),dojo.connect(d.body,"onselectstart",dojo.stopEvent),_6];
if(h&&h.onMoveStart){
h.onMoveStart(this);
}
},onMouseMove:function(e){
dojo.dnd.autoScroll(e);
var m=this.marginBox;
this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});
dojo.stopEvent(e);
},onMouseUp:function(e){
if(dojo.isWebKit&&dojo.dnd._isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){
this.destroy();
}
dojo.stopEvent(e);
},onFirstMove:function(){
var s=this.node.style,l,t,h=this.host;
switch(s.position){
case "relative":
case "absolute":
l=Math.round(parseFloat(s.left));
t=Math.round(parseFloat(s.top));
break;
default:
s.position="absolute";
var m=dojo.marginBox(this.node);
var b=dojo.doc.body;
var bs=dojo.getComputedStyle(b);
var bm=dojo._getMarginBox(b,bs);
var bc=dojo._getContentBox(b,bs);
l=m.l-(bc.l-bm.l);
t=m.t-(bc.t-bm.t);
break;
}
this.marginBox.l=l-this.marginBox.l;
this.marginBox.t=t-this.marginBox.t;
if(h&&h.onFirstMove){
h.onFirstMove(this);
}
dojo.disconnect(this.events.pop());
},destroy:function(){
dojo.forEach(this.events,dojo.disconnect);
var h=this.host;
if(h&&h.onMoveStop){
h.onMoveStop(this);
}
this.events=this.node=this.host=null;
}});
}


//require dojo.dnd.Moveable

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


if(!dojo._hasResource["dojo.dnd.Moveable"]){
dojo._hasResource["dojo.dnd.Moveable"]=true;
dojo.provide("dojo.dnd.Moveable");
dojo.require("dojo.dnd.Mover");
dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(_1,_2){
this.node=dojo.byId(_1);
if(!_2){
_2={};
}
this.handle=_2.handle?dojo.byId(_2.handle):null;
if(!this.handle){
this.handle=this.node;
}
this.delay=_2.delay>0?_2.delay:0;
this.skip=_2.skip;
this.mover=_2.mover?_2.mover:dojo.dnd.Mover;
this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];
},markupFactory:function(_3,_4){
return new dojo.dnd.Moveable(_4,_3);
},destroy:function(){
dojo.forEach(this.events,dojo.disconnect);
this.events=this.node=this.handle=null;
},onMouseDown:function(e){
if(this.skip&&dojo.dnd.isFormElement(e)){
return;
}
if(this.delay){
this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"),dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));
this._lastX=e.pageX;
this._lastY=e.pageY;
}else{
this.onDragDetected(e);
}
dojo.stopEvent(e);
},onMouseMove:function(e){
if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){
this.onMouseUp(e);
this.onDragDetected(e);
}
dojo.stopEvent(e);
},onMouseUp:function(e){
for(var i=0;i<2;++i){
dojo.disconnect(this.events.pop());
}
dojo.stopEvent(e);
},onSelectStart:function(e){
if(!this.skip||!dojo.dnd.isFormElement(e)){
dojo.stopEvent(e);
}
},onDragDetected:function(e){
new this.mover(this.node,e,this);
},onMoveStart:function(_b){
dojo.publish("/dnd/move/start",[_b]);
dojo.addClass(dojo.body(),"dojoMove");
dojo.addClass(this.node,"dojoMoveItem");
},onMoveStop:function(_c){
dojo.publish("/dnd/move/stop",[_c]);
dojo.removeClass(dojo.body(),"dojoMove");
dojo.removeClass(this.node,"dojoMoveItem");
},onFirstMove:function(_d){
},onMove:function(_e,_f){
this.onMoving(_e,_f);
var s=_e.node.style;
s.left=_f.l+"px";
s.top=_f.t+"px";
this.onMoved(_e,_f);
},onMoving:function(_11,_12){
},onMoved:function(_13,_14){
}});
}


//require dojo.dnd.move

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


if(!dojo._hasResource["dojo.dnd.move"]){
dojo._hasResource["dojo.dnd.move"]=true;
dojo.provide("dojo.dnd.move");
dojo.require("dojo.dnd.Mover");
dojo.require("dojo.dnd.Moveable");
dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){
},within:false,markupFactory:function(_1,_2){
return new dojo.dnd.move.constrainedMoveable(_2,_1);
},constructor:function(_3,_4){
if(!_4){
_4={};
}
this.constraints=_4.constraints;
this.within=_4.within;
},onFirstMove:function(_5){
var c=this.constraintBox=this.constraints.call(this,_5);
c.r=c.l+c.w;
c.b=c.t+c.h;
if(this.within){
var mb=dojo.marginBox(_5.node);
c.r-=mb.w;
c.b-=mb.h;
}
},onMove:function(_8,_9){
var c=this.constraintBox,s=_8.node.style;
s.left=(_9.l<c.l?c.l:c.r<_9.l?c.r:_9.l)+"px";
s.top=(_9.t<c.t?c.t:c.b<_9.t?c.b:_9.t)+"px";
}});
dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_c,_d){
return new dojo.dnd.move.boxConstrainedMoveable(_d,_c);
},constructor:function(_e,_f){
var box=_f&&_f.box;
this.constraints=function(){
return box;
};
}});
dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_11,_12){
return new dojo.dnd.move.parentConstrainedMoveable(_12,_11);
},constructor:function(_13,_14){
var _15=_14&&_14.area;
this.constraints=function(){
var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);
if(_15=="margin"){
return mb;
}
var t=dojo._getMarginExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
if(_15=="border"){
return mb;
}
t=dojo._getBorderExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
if(_15=="padding"){
return mb;
}
t=dojo._getPadExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
return mb;
};
}});
dojo.dnd.move.constrainedMover=function(fun,_1b){
dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead");
var _1c=function(_1d,e,_1f){
dojo.dnd.Mover.call(this,_1d,e,_1f);
};
dojo.extend(_1c,dojo.dnd.Mover.prototype);
dojo.extend(_1c,{onMouseMove:function(e){
dojo.dnd.autoScroll(e);
var m=this.marginBox,c=this.constraintBox,l=m.l+e.pageX,t=m.t+e.pageY;
l=l<c.l?c.l:c.r<l?c.r:l;
t=t<c.t?c.t:c.b<t?c.b:t;
this.host.onMove(this,{l:l,t:t});
},onFirstMove:function(){
dojo.dnd.Mover.prototype.onFirstMove.call(this);
var c=this.constraintBox=fun.call(this);
c.r=c.l+c.w;
c.b=c.t+c.h;
if(_1b){
var mb=dojo.marginBox(this.node);
c.r-=mb.w;
c.b-=mb.h;
}
}});
return _1c;
};
dojo.dnd.move.boxConstrainedMover=function(box,_28){
dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead");
return dojo.dnd.move.constrainedMover(function(){
return box;
},_28);
};
dojo.dnd.move.parentConstrainedMover=function(_29,_2a){
dojo.deprecated("dojo.dnd.move.parentConstrainedMover, use dojo.dnd.move.parentConstrainedMoveable instead");
var fun=function(){
var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);
if(_29=="margin"){
return mb;
}
var t=dojo._getMarginExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
if(_29=="border"){
return mb;
}
t=dojo._getBorderExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
if(_29=="padding"){
return mb;
}
t=dojo._getPadExtents(n,s);
mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;
return mb;
};
return dojo.dnd.move.constrainedMover(fun,_2a);
};
dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;
dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;
dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;
}


//require dojo.dnd.TimedMoveable

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


if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){
dojo._hasResource["dojo.dnd.TimedMoveable"]=true;
dojo.provide("dojo.dnd.TimedMoveable");
dojo.require("dojo.dnd.Moveable");
(function(){
var _1=dojo.dnd.Moveable.prototype.onMove;
dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(_2,_3){
if(!_3){
_3={};
}
if(_3.timeout&&typeof _3.timeout=="number"&&_3.timeout>=0){
this.timeout=_3.timeout;
}
},markupFactory:function(_4,_5){
return new dojo.dnd.TimedMoveable(_5,_4);
},onMoveStop:function(_6){
if(_6._timer){
clearTimeout(_6._timer);
_1.call(this,_6,_6._leftTop);
}
dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);
},onMove:function(_7,_8){
_7._leftTop=_8;
if(!_7._timer){
var _t=this;
_7._timer=setTimeout(function(){
_7._timer=null;
_1.call(_t,_7,_7._leftTop);
},this.timeout);
}
}});
})();
}


//require dojo.fx.Toggler

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


if(!dojo._hasResource["dojo.fx.Toggler"]){
dojo._hasResource["dojo.fx.Toggler"]=true;
dojo.provide("dojo.fx.Toggler");
dojo.declare("dojo.fx.Toggler",null,{constructor:function(_1){
var _t=this;
dojo.mixin(_t,_1);
_t.node=_1.node;
_t._showArgs=dojo.mixin({},_1);
_t._showArgs.node=_t.node;
_t._showArgs.duration=_t.showDuration;
_t.showAnim=_t.showFunc(_t._showArgs);
_t._hideArgs=dojo.mixin({},_1);
_t._hideArgs.node=_t.node;
_t._hideArgs.duration=_t.hideDuration;
_t.hideAnim=_t.hideFunc(_t._hideArgs);
dojo.connect(_t.showAnim,"beforeBegin",dojo.hitch(_t.hideAnim,"stop",true));
dojo.connect(_t.hideAnim,"beforeBegin",dojo.hitch(_t.showAnim,"stop",true));
},node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,show:function(_3){
return this.showAnim.play(_3||0);
},hide:function(_4){
return this.hideAnim.play(_4||0);
}});
}


//require dojo.fx

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


if(!dojo._hasResource["dojo.fx"]){
dojo._hasResource["dojo.fx"]=true;
dojo.provide("dojo.fx");
dojo.require("dojo.fx.Toggler");
(function(){
var d=dojo,_2={_fire:function(_3,_4){
if(this[_3]){
this[_3].apply(this,_4||[]);
}
return this;
}};
var _5=function(_6){
this._index=-1;
this._animations=_6||[];
this._current=this._onAnimateCtx=this._onEndCtx=null;
this.duration=0;
d.forEach(this._animations,function(a){
this.duration+=a.duration;
if(a.delay){
this.duration+=a.delay;
}
},this);
};
d.extend(_5,{_onAnimate:function(){
this._fire("onAnimate",arguments);
},_onEnd:function(){
d.disconnect(this._onAnimateCtx);
d.disconnect(this._onEndCtx);
this._onAnimateCtx=this._onEndCtx=null;
if(this._index+1==this._animations.length){
this._fire("onEnd");
}else{
this._current=this._animations[++this._index];
this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");
this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");
this._current.play(0,true);
}
},play:function(_8,_9){
if(!this._current){
this._current=this._animations[this._index=0];
}
if(!_9&&this._current.status()=="playing"){
return this;
}
var _a=d.connect(this._current,"beforeBegin",this,function(){
this._fire("beforeBegin");
}),_b=d.connect(this._current,"onBegin",this,function(_c){
this._fire("onBegin",arguments);
}),_d=d.connect(this._current,"onPlay",this,function(_e){
this._fire("onPlay",arguments);
d.disconnect(_a);
d.disconnect(_b);
d.disconnect(_d);
});
if(this._onAnimateCtx){
d.disconnect(this._onAnimateCtx);
}
this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");
if(this._onEndCtx){
d.disconnect(this._onEndCtx);
}
this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");
this._current.play.apply(this._current,arguments);
return this;
},pause:function(){
if(this._current){
var e=d.connect(this._current,"onPause",this,function(arg){
this._fire("onPause",arguments);
d.disconnect(e);
});
this._current.pause();
}
return this;
},gotoPercent:function(_11,_12){
this.pause();
var _13=this.duration*_11;
this._current=null;
d.some(this._animations,function(a){
if(a.duration<=_13){
this._current=a;
return true;
}
_13-=a.duration;
return false;
});
if(this._current){
this._current.gotoPercent(_13/this._current.duration,_12);
}
return this;
},stop:function(_15){
if(this._current){
if(_15){
for(;this._index+1<this._animations.length;++this._index){
this._animations[this._index].stop(true);
}
this._current=this._animations[this._index];
}
var e=d.connect(this._current,"onStop",this,function(arg){
this._fire("onStop",arguments);
d.disconnect(e);
});
this._current.stop();
}
return this;
},status:function(){
return this._current?this._current.status():"stopped";
},destroy:function(){
if(this._onAnimateCtx){
d.disconnect(this._onAnimateCtx);
}
if(this._onEndCtx){
d.disconnect(this._onEndCtx);
}
}});
d.extend(_5,_2);
dojo.fx.chain=function(_18){
return new _5(_18);
};
var _19=function(_1a){
this._animations=_1a||[];
this._connects=[];
this._finished=0;
this.duration=0;
d.forEach(_1a,function(a){
var _1c=a.duration;
if(a.delay){
_1c+=a.delay;
}
if(this.duration<_1c){
this.duration=_1c;
}
this._connects.push(d.connect(a,"onEnd",this,"_onEnd"));
},this);
this._pseudoAnimation=new d._Animation({curve:[0,1],duration:this.duration});
var _1d=this;
d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop"],function(evt){
_1d._connects.push(d.connect(_1d._pseudoAnimation,evt,function(){
_1d._fire(evt,arguments);
}));
});
};
d.extend(_19,{_doAction:function(_1f,_20){
d.forEach(this._animations,function(a){
a[_1f].apply(a,_20);
});
return this;
},_onEnd:function(){
if(++this._finished==this._animations.length){
this._fire("onEnd");
}
},_call:function(_22,_23){
var t=this._pseudoAnimation;
t[_22].apply(t,_23);
},play:function(_25,_26){
this._finished=0;
this._doAction("play",arguments);
this._call("play",arguments);
return this;
},pause:function(){
this._doAction("pause",arguments);
this._call("pause",arguments);
return this;
},gotoPercent:function(_27,_28){
var ms=this.duration*_27;
d.forEach(this._animations,function(a){
a.gotoPercent(a.duration<ms?1:(ms/a.duration),_28);
});
this._call("gotoPercent",arguments);
return this;
},stop:function(_2b){
this._doAction("stop",arguments);
this._call("stop",arguments);
return this;
},status:function(){
return this._pseudoAnimation.status();
},destroy:function(){
d.forEach(this._connects,dojo.disconnect);
}});
d.extend(_19,_2);
dojo.fx.combine=function(_2c){
return new _19(_2c);
};
dojo.fx.wipeIn=function(_2d){
_2d.node=d.byId(_2d.node);
var _2e=_2d.node,s=_2e.style,o;
var _31=d.animateProperty(d.mixin({properties:{height:{start:function(){
o=s.overflow;
s.overflow="hidden";
if(s.visibility=="hidden"||s.display=="none"){
s.height="1px";
s.display="";
s.visibility="";
return 1;
}else{
var _32=d.style(_2e,"height");
return Math.max(_32,1);
}
},end:function(){
return _2e.scrollHeight;
}}}},_2d));
d.connect(_31,"onEnd",function(){
s.height="auto";
s.overflow=o;
});
return _31;
};
dojo.fx.wipeOut=function(_33){
var _34=_33.node=d.byId(_33.node),s=_34.style,o;
var _37=d.animateProperty(d.mixin({properties:{height:{end:1}}},_33));
d.connect(_37,"beforeBegin",function(){
o=s.overflow;
s.overflow="hidden";
s.display="";
});
d.connect(_37,"onEnd",function(){
s.overflow=o;
s.height="auto";
s.display="none";
});
return _37;
};
dojo.fx.slideTo=function(_38){
var _39=_38.node=d.byId(_38.node),top=null,_3b=null;
var _3c=(function(n){
return function(){
var cs=d.getComputedStyle(n);
var pos=cs.position;
top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);
_3b=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);
if(pos!="absolute"&&pos!="relative"){
var ret=d.coords(n,true);
top=ret.y;
_3b=ret.x;
n.style.position="absolute";
n.style.top=top+"px";
n.style.left=_3b+"px";
}
};
})(_39);
_3c();
var _41=d.animateProperty(d.mixin({properties:{top:_38.top||0,left:_38.left||0}},_38));
d.connect(_41,"beforeBegin",_41,_3c);
return _41;
};
})();
}


//require dijit._base.focus

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


if(!dojo._hasResource["dijit._base.focus"]){
dojo._hasResource["dijit._base.focus"]=true;
dojo.provide("dijit._base.focus");
dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){
var _1=dojo.doc;
if(_1.selection){
var s=_1.selection;
if(s.type=="Text"){
return !s.createRange().htmlText.length;
}else{
return !s.createRange().length;
}
}else{
var _3=dojo.global;
var _4=_3.getSelection();
if(dojo.isString(_4)){
return !_4;
}else{
return _4.isCollapsed||!_4.toString();
}
}
},getBookmark:function(){
var _5,_6=dojo.doc.selection;
if(_6){
var _7=_6.createRange();
if(_6.type.toUpperCase()=="CONTROL"){
if(_7.length){
_5=[];
var i=0,_9=_7.length;
while(i<_9){
_5.push(_7.item(i++));
}
}else{
_5=null;
}
}else{
_5=_7.getBookmark();
}
}else{
if(window.getSelection){
_6=dojo.global.getSelection();
if(_6){
_7=_6.getRangeAt(0);
_5=_7.cloneRange();
}
}else{
console.warn("No idea how to store the current selection for this browser!");
}
}
return _5;
},moveToBookmark:function(_a){
var _b=dojo.doc;
if(_b.selection){
var _c;
if(dojo.isArray(_a)){
_c=_b.body.createControlRange();
dojo.forEach(_a,function(n){
_c.addElement(n);
});
}else{
_c=_b.selection.createRange();
_c.moveToBookmark(_a);
}
_c.select();
}else{
var _e=dojo.global.getSelection&&dojo.global.getSelection();
if(_e&&_e.removeAllRanges){
_e.removeAllRanges();
_e.addRange(_a);
}else{
console.warn("No idea how to restore selection for this browser!");
}
}
},getFocus:function(_f,_10){
return {node:_f&&dojo.isDescendant(dijit._curFocus,_f.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_10||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_10||dojo.global,dijit.getBookmark):null,openedForWindow:_10};
},focus:function(_11){
if(!_11){
return;
}
var _12="node" in _11?_11.node:_11,_13=_11.bookmark,_14=_11.openedForWindow;
if(_12){
var _15=(_12.tagName.toLowerCase()=="iframe")?_12.contentWindow:_12;
if(_15&&_15.focus){
try{
_15.focus();
}
catch(e){
}
}
dijit._onFocusNode(_12);
}
if(_13&&dojo.withGlobal(_14||dojo.global,dijit.isCollapsed)){
if(_14){
_14.focus();
}
try{
dojo.withGlobal(_14||dojo.global,dijit.moveToBookmark,null,[_13]);
}
catch(e){
}
}
},_activeStack:[],registerIframe:function(_16){
dijit.registerWin(_16.contentWindow,_16);
},registerWin:function(_17,_18){
dojo.connect(_17.document,"onmousedown",function(evt){
dijit._justMouseDowned=true;
setTimeout(function(){
dijit._justMouseDowned=false;
},0);
dijit._onTouchNode(_18||evt.target||evt.srcElement);
});
var doc=_17.document;
if(doc){
if(dojo.isIE){
doc.attachEvent("onactivate",function(evt){
if(evt.srcElement.tagName.toLowerCase()!="#document"){
dijit._onFocusNode(_18||evt.srcElement);
}
});
doc.attachEvent("ondeactivate",function(evt){
dijit._onBlurNode(_18||evt.srcElement);
});
}else{
doc.addEventListener("focus",function(evt){
dijit._onFocusNode(_18||evt.target);
},true);
doc.addEventListener("blur",function(evt){
dijit._onBlurNode(_18||evt.target);
},true);
}
}
doc=null;
},_onBlurNode:function(_1f){
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(_20){
if(dijit._clearActiveWidgetsTimer){
clearTimeout(dijit._clearActiveWidgetsTimer);
delete dijit._clearActiveWidgetsTimer;
}
var _21=[];
try{
while(_20){
if(_20.dijitPopupParent){
_20=dijit.byId(_20.dijitPopupParent).domNode;
}else{
if(_20.tagName&&_20.tagName.toLowerCase()=="body"){
if(_20===dojo.body()){
break;
}
_20=dijit.getDocumentWindow(_20.ownerDocument).frameElement;
}else{
var id=_20.getAttribute&&_20.getAttribute("widgetId");
if(id){
_21.unshift(id);
}
_20=_20.parentNode;
}
}
}
}
catch(e){
}
dijit._setStack(_21);
},_onFocusNode:function(_23){
if(!_23){
return;
}
if(_23.nodeType==9){
return;
}
dijit._onTouchNode(_23);
if(_23==dijit._curFocus){
return;
}
if(dijit._curFocus){
dijit._prevFocus=dijit._curFocus;
}
dijit._curFocus=_23;
dojo.publish("focusNode",[_23]);
},_setStack:function(_24){
var _25=dijit._activeStack;
dijit._activeStack=_24;
for(var _26=0;_26<Math.min(_25.length,_24.length);_26++){
if(_25[_26]!=_24[_26]){
break;
}
}
for(var i=_25.length-1;i>=_26;i--){
var _28=dijit.byId(_25[i]);
if(_28){
_28._focused=false;
_28._hasBeenBlurred=true;
if(_28._onBlur){
_28._onBlur();
}
if(_28._setStateClass){
_28._setStateClass();
}
dojo.publish("widgetBlur",[_28]);
}
}
for(i=_26;i<_24.length;i++){
_28=dijit.byId(_24[i]);
if(_28){
_28._focused=true;
if(_28._onFocus){
_28._onFocus();
}
if(_28._setStateClass){
_28._setStateClass();
}
dojo.publish("widgetFocus",[_28]);
}
}
}});
dojo.addOnLoad(function(){
dijit.registerWin(window);
});
}


//require dijit._base.manager

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


if(!dojo._hasResource["dijit._base.manager"]){
dojo._hasResource["dijit._base.manager"]=true;
dojo.provide("dijit._base.manager");
dojo.declare("dijit.WidgetSet",null,{constructor:function(){
this._hash={};
},add:function(_1){
if(this._hash[_1.id]){
throw new Error("Tried to register widget with id=="+_1.id+" but that id is already registered");
}
this._hash[_1.id]=_1;
},remove:function(id){
delete this._hash[id];
},forEach:function(_3){
for(var id in this._hash){
_3(this._hash[id]);
}
},filter:function(_5){
var _6=new dijit.WidgetSet();
this.forEach(function(_7){
if(_5(_7)){
_6.add(_7);
}
});
return _6;
},byId:function(id){
return this._hash[id];
},byClass:function(_9){
return this.filter(function(_a){
return _a.declaredClass==_9;
});
}});
dijit.registry=new dijit.WidgetSet();
dijit._widgetTypeCtr={};
dijit.getUniqueId=function(_b){
var id;
do{
id=_b+"_"+(_b in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_b]:dijit._widgetTypeCtr[_b]=0);
}while(dijit.byId(id));
return id;
};
dijit.findWidgets=function(_d){
var _e=[];
function _f(_10){
var _11=dojo.isIE?_10.children:_10.childNodes,i=0,_13;
while(_13=_11[i++]){
if(_13.nodeType!=1){
continue;
}
var _14=_13.getAttribute("widgetId");
if(_14){
var _15=dijit.byId(_14);
_e.push(_15);
}else{
_f(_13);
}
}
};
_f(_d);
return _e;
};
if(dojo.isIE){
dojo.addOnWindowUnload(function(){
dojo.forEach(dijit.findWidgets(dojo.body()),function(_16){
if(_16.destroyRecursive){
_16.destroyRecursive();
}else{
if(_16.destroy){
_16.destroy();
}
}
});
});
}
dijit.byId=function(id){
return (dojo.isString(id))?dijit.registry.byId(id):id;
};
dijit.byNode=function(_18){
return dijit.registry.byId(_18.getAttribute("widgetId"));
};
dijit.getEnclosingWidget=function(_19){
while(_19){
if(_19.getAttribute&&_19.getAttribute("widgetId")){
return dijit.registry.byId(_19.getAttribute("widgetId"));
}
_19=_19.parentNode;
}
return null;
};
dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};
dijit._isElementShown=function(_1a){
var _1b=dojo.style(_1a);
return (_1b.visibility!="hidden")&&(_1b.visibility!="collapsed")&&(_1b.display!="none")&&(dojo.attr(_1a,"type")!="hidden");
};
dijit.isTabNavigable=function(_1c){
if(dojo.hasAttr(_1c,"disabled")){
return false;
}
var _1d=dojo.hasAttr(_1c,"tabindex");
var _1e=dojo.attr(_1c,"tabindex");
if(_1d&&_1e>=0){
return true;
}
var _1f=_1c.nodeName.toLowerCase();
if(((_1f=="a"&&dojo.hasAttr(_1c,"href"))||dijit._tabElements[_1f])&&(!_1d||_1e>=0)){
return true;
}
return false;
};
dijit._getTabNavigable=function(_20){
var _21,_22,_23,_24,_25,_26;
var _27=function(_28){
dojo.query("> *",_28).forEach(function(_29){
var _2a=dijit._isElementShown(_29);
if(_2a&&dijit.isTabNavigable(_29)){
var _2b=dojo.attr(_29,"tabindex");
if(!dojo.hasAttr(_29,"tabindex")||_2b==0){
if(!_21){
_21=_29;
}
_22=_29;
}else{
if(_2b>0){
if(!_23||_2b<_24){
_24=_2b;
_23=_29;
}
if(!_25||_2b>=_26){
_26=_2b;
_25=_29;
}
}
}
}
if(_2a&&_29.nodeName.toUpperCase()!="SELECT"){
_27(_29);
}
});
};
if(dijit._isElementShown(_20)){
_27(_20);
}
return {first:_21,last:_22,lowest:_23,highest:_25};
};
dijit.getFirstInTabbingOrder=function(_2c){
var _2d=dijit._getTabNavigable(dojo.byId(_2c));
return _2d.lowest?_2d.lowest:_2d.first;
};
dijit.getLastInTabbingOrder=function(_2e){
var _2f=dijit._getTabNavigable(dojo.byId(_2e));
return _2f.last?_2f.last:_2f.highest;
};
dijit.defaultDuration=dojo.config["defaultDuration"]||200;
}


//require dojo.AdapterRegistry

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


if(!dojo._hasResource["dojo.AdapterRegistry"]){
dojo._hasResource["dojo.AdapterRegistry"]=true;
dojo.provide("dojo.AdapterRegistry");
dojo.AdapterRegistry=function(_1){
this.pairs=[];
this.returnWrappers=_1||false;
};
dojo.extend(dojo.AdapterRegistry,{register:function(_2,_3,_4,_5,_6){
this.pairs[((_6)?"unshift":"push")]([_2,_3,_4,_5]);
},match:function(){
for(var i=0;i<this.pairs.length;i++){
var _8=this.pairs[i];
if(_8[1].apply(this,arguments)){
if((_8[3])||(this.returnWrappers)){
return _8[2];
}else{
return _8[2].apply(this,arguments);
}
}
}
throw new Error("No match found");
},unregister:function(_9){
for(var i=0;i<this.pairs.length;i++){
var _b=this.pairs[i];
if(_b[0]==_9){
this.pairs.splice(i,1);
return true;
}
}
return false;
}});
}


//require dijit._base.place

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


if(!dojo._hasResource["dijit._base.place"]){
dojo._hasResource["dijit._base.place"]=true;
dojo.provide("dijit._base.place");
dojo.require("dojo.AdapterRegistry");
dijit.getViewport=function(){
var _1=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;
var _2=dojo._docScroll();
return {w:_1.clientWidth,h:_1.clientHeight,l:_2.x,t:_2.y};
};
dijit.placeOnScreen=function(_3,_4,_5,_6){
var _7=dojo.map(_5,function(_8){
var c={corner:_8,pos:{x:_4.x,y:_4.y}};
if(_6){
c.pos.x+=_8.charAt(1)=="L"?_6.x:-_6.x;
c.pos.y+=_8.charAt(0)=="T"?_6.y:-_6.y;
}
return c;
});
return dijit._place(_3,_7);
};
dijit._place=function(_a,_b,_c){
var _d=dijit.getViewport();
if(!_a.parentNode||String(_a.parentNode.tagName).toLowerCase()!="body"){
dojo.body().appendChild(_a);
}
var _e=null;
dojo.some(_b,function(_f){
var _10=_f.corner;
var pos=_f.pos;
if(_c){
_c(_a,_f.aroundCorner,_10);
}
var _12=_a.style;
var _13=_12.display;
var _14=_12.visibility;
_12.visibility="hidden";
_12.display="";
var mb=dojo.marginBox(_a);
_12.display=_13;
_12.visibility=_14;
var _16=(_10.charAt(1)=="L"?pos.x:Math.max(_d.l,pos.x-mb.w)),_17=(_10.charAt(0)=="T"?pos.y:Math.max(_d.t,pos.y-mb.h)),_18=(_10.charAt(1)=="L"?Math.min(_d.l+_d.w,_16+mb.w):pos.x),_19=(_10.charAt(0)=="T"?Math.min(_d.t+_d.h,_17+mb.h):pos.y),_1a=_18-_16,_1b=_19-_17,_1c=(mb.w-_1a)+(mb.h-_1b);
if(_e==null||_1c<_e.overflow){
_e={corner:_10,aroundCorner:_f.aroundCorner,x:_16,y:_17,w:_1a,h:_1b,overflow:_1c};
}
return !_1c;
});
_a.style.left=_e.x+"px";
_a.style.top=_e.y+"px";
if(_e.overflow&&_c){
_c(_a,_e.aroundCorner,_e.corner);
}
return _e;
};
dijit.placeOnScreenAroundNode=function(_1d,_1e,_1f,_20){
_1e=dojo.byId(_1e);
var _21=_1e.style.display;
_1e.style.display="";
var _22=_1e.offsetWidth;
var _23=_1e.offsetHeight;
var _24=dojo.coords(_1e,true);
_1e.style.display=_21;
return dijit._placeOnScreenAroundRect(_1d,_24.x,_24.y,_22,_23,_1f,_20);
};
dijit.placeOnScreenAroundRectangle=function(_25,_26,_27,_28){
return dijit._placeOnScreenAroundRect(_25,_26.x,_26.y,_26.width,_26.height,_27,_28);
};
dijit._placeOnScreenAroundRect=function(_29,x,y,_2c,_2d,_2e,_2f){
var _30=[];
for(var _31 in _2e){
_30.push({aroundCorner:_31,corner:_2e[_31],pos:{x:x+(_31.charAt(1)=="L"?0:_2c),y:y+(_31.charAt(0)=="T"?0:_2d)}});
}
return dijit._place(_29,_30,_2f);
};
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(_36,_37,_38,_39){
return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);
};
}


//require dijit._base.window

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


if(!dojo._hasResource["dijit._base.window"]){
dojo._hasResource["dijit._base.window"]=true;
dojo.provide("dijit._base.window");
dijit.getDocumentWindow=function(_1){
if(dojo.isIE&&window!==document.parentWindow&&!_1._parentWindow){
_1.parentWindow.execScript("document._parentWindow = window;","Javascript");
var _2=_1._parentWindow;
_1._parentWindow=null;
return _2;
}
return _1._parentWindow||_1.parentWindow||_1.defaultView;
};
}


//require dijit._base.popup

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


if(!dojo._hasResource["dijit._base.popup"]){
dojo._hasResource["dijit._base.popup"]=true;
dojo.provide("dijit._base.popup");
dojo.require("dijit._base.focus");
dojo.require("dijit._base.place");
dojo.require("dijit._base.window");
dijit.popup=new function(){
var _1=[],_2=1000,_3=1;
this.prepare=function(_4){
var s=_4.style;
s.visibility="hidden";
s.position="absolute";
s.top="-9999px";
if(s.display=="none"){
s.display="";
}
dojo.body().appendChild(_4);
};
this.open=function(_6){
var _7=_6.popup,_8=_6.orient||{"BL":"TL","TL":"BL"},_9=_6.around,id=(_6.around&&_6.around.id)?(_6.around.id+"_dropdown"):("popup_"+_3++);
var _b=dojo.create("div",{id:id,"class":"dijitPopup",style:{zIndex:_2+_1.length,visibility:"hidden"}},dojo.body());
dijit.setWaiRole(_b,"presentation");
_b.style.left=_b.style.top="0px";
if(_6.parent){
_b.dijitPopupParent=_6.parent.id;
}
var s=_7.domNode.style;
s.display="";
s.visibility="";
s.position="";
s.top="0px";
_b.appendChild(_7.domNode);
var _d=new dijit.BackgroundIframe(_b);
var _e=_9?dijit.placeOnScreenAroundElement(_b,_9,_8,_7.orient?dojo.hitch(_7,"orient"):null):dijit.placeOnScreen(_b,_6,_8=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_6.padding);
_b.style.visibility="visible";
var _f=[];
var _10=function(){
for(var pi=_1.length-1;pi>0&&_1[pi].parent===_1[pi-1].widget;pi--){
}
return _1[pi];
};
_f.push(dojo.connect(_b,"onkeypress",this,function(evt){
if(evt.charOrCode==dojo.keys.ESCAPE&&_6.onCancel){
dojo.stopEvent(evt);
_6.onCancel();
}else{
if(evt.charOrCode===dojo.keys.TAB){
dojo.stopEvent(evt);
var _13=_10();
if(_13&&_13.onCancel){
_13.onCancel();
}
}
}
}));
if(_7.onCancel){
_f.push(dojo.connect(_7,"onCancel",null,_6.onCancel));
}
_f.push(dojo.connect(_7,_7.onExecute?"onExecute":"onChange",null,function(){
var _14=_10();
if(_14&&_14.onExecute){
_14.onExecute();
}
}));
_1.push({wrapper:_b,iframe:_d,widget:_7,parent:_6.parent,onExecute:_6.onExecute,onCancel:_6.onCancel,onClose:_6.onClose,handlers:_f});
if(_7.onOpen){
_7.onOpen(_e);
}
return _e;
};
this.close=function(_15){
while(dojo.some(_1,function(_16){
return _16.widget==_15;
})){
var top=_1.pop(),_18=top.wrapper,_19=top.iframe,_1a=top.widget,_1b=top.onClose;
if(_1a.onClose){
_1a.onClose();
}
dojo.forEach(top.handlers,dojo.disconnect);
if(!_1a||!_1a.domNode){
return;
}
this.prepare(_1a.domNode);
_19.destroy();
dojo.destroy(_18);
if(_1b){
_1b();
}
}
};
}();
dijit._frames=new function(){
var _1c=[];
this.pop=function(){
var _1d;
if(_1c.length){
_1d=_1c.pop();
_1d.style.display="";
}else{
if(dojo.isIE){
var _1e=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";
var _1f="<iframe src='"+_1e+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";
_1d=dojo.doc.createElement(_1f);
}else{
_1d=dojo.create("iframe");
_1d.src="javascript:\"\"";
_1d.className="dijitBackgroundIframe";
}
_1d.tabIndex=-1;
dojo.body().appendChild(_1d);
}
return _1d;
};
this.push=function(_20){
_20.style.display="none";
if(dojo.isIE){
_20.style.removeExpression("width");
_20.style.removeExpression("height");
}
_1c.push(_20);
};
}();
dijit.BackgroundIframe=function(_21){
if(!_21.id){
throw new Error("no id");
}
if(dojo.isIE<7||(dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){
var _22=dijit._frames.pop();
_21.appendChild(_22);
if(dojo.isIE){
_22.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+_21.id+"').offsetWidth");
_22.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+_21.id+"').offsetHeight");
}
this.iframe=_22;
}
};
dojo.extend(dijit.BackgroundIframe,{destroy:function(){
if(this.iframe){
dijit._frames.push(this.iframe);
delete this.iframe;
}
}});
}


//require dijit._base.scroll

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


if(!dojo._hasResource["dijit._base.scroll"]){
dojo._hasResource["dijit._base.scroll"]=true;
dojo.provide("dijit._base.scroll");
dijit.scrollIntoView=function(_1){
try{
_1=dojo.byId(_1);
var _2=dojo.doc;
var _3=dojo.body();
var _4=_3.parentNode;
if((!(dojo.isFF>=3||dojo.isIE||dojo.isWebKit)||_1==_3||_1==_4)&&(typeof _1.scrollIntoView=="function")){
_1.scrollIntoView(false);
return;
}
var _5=dojo._isBodyLtr();
var _6=dojo.isIE>=8&&!_7;
var _8=!_5&&!_6;
var _9=_3;
var _7=_2.compatMode=="BackCompat";
if(_7){
_4._offsetWidth=_4._clientWidth=_3._offsetWidth=_3.clientWidth;
_4._offsetHeight=_4._clientHeight=_3._offsetHeight=_3.clientHeight;
}else{
if(dojo.isWebKit){
_3._offsetWidth=_3._clientWidth=_4.clientWidth;
_3._offsetHeight=_3._clientHeight=_4.clientHeight;
}else{
_9=_4;
}
_4._offsetHeight=_4.clientHeight;
_4._offsetWidth=_4.clientWidth;
}
function _a(_b){
var ie=dojo.isIE;
return ((ie<=6||(ie>=7&&_7))?false:(dojo.style(_b,"position").toLowerCase()=="fixed"));
};
function _d(_e){
var _f=_e.parentNode;
var _10=_e.offsetParent;
if(_10==null||_a(_e)){
_10=_4;
_f=(_e==_3)?_4:null;
}
_e._offsetParent=_10;
_e._parent=_f;
var bp=dojo._getBorderExtents(_e);
_e._borderStart={H:(_6&&!_5)?(bp.w-bp.l):bp.l,V:bp.t};
_e._borderSize={H:bp.w,V:bp.h};
_e._scrolledAmount={H:_e.scrollLeft,V:_e.scrollTop};
_e._offsetSize={H:_e._offsetWidth||_e.offsetWidth,V:_e._offsetHeight||_e.offsetHeight};
_e._offsetStart={H:(_6&&!_5)?_10.clientWidth-_e.offsetLeft-_e._offsetSize.H:_e.offsetLeft,V:_e.offsetTop};
_e._clientSize={H:_e._clientWidth||_e.clientWidth,V:_e._clientHeight||_e.clientHeight};
if(_e!=_3&&_e!=_4&&_e!=_1){
for(var dir in _e._offsetSize){
var _13=_e._offsetSize[dir]-_e._clientSize[dir]-_e._borderSize[dir];
var _14=_e._clientSize[dir]>0&&_13>0;
if(_14){
_e._offsetSize[dir]-=_13;
if(dojo.isIE&&_8&&dir=="H"){
_e._offsetStart[dir]+=_13;
}
}
}
}
};
var _15=_1;
while(_15!=null){
if(_a(_15)){
_1.scrollIntoView(false);
return;
}
_d(_15);
_15=_15._parent;
}
if(dojo.isIE&&_1._parent){
var _16=_1._offsetParent;
_1._offsetStart.H+=_16._borderStart.H;
_1._offsetStart.V+=_16._borderStart.V;
}
if(dojo.isIE>=7&&_9==_4&&_8&&_3._offsetStart&&_3._offsetStart.H==0){
var _17=_4.scrollWidth-_4._offsetSize.H;
if(_17>0){
_3._offsetStart.H=-_17;
}
}
if(dojo.isIE<=6&&!_7){
_4._offsetSize.H+=_4._borderSize.H;
_4._offsetSize.V+=_4._borderSize.V;
}
if(_8&&_3._offsetStart&&_9==_4&&_4._scrolledAmount){
var ofs=_3._offsetStart.H;
if(ofs<0){
_4._scrolledAmount.H+=ofs;
_3._offsetStart.H=0;
}
}
_15=_1;
while(_15){
var _19=_15._parent;
if(!_19){
break;
}
if(_19.tagName=="TD"){
var _1a=_19._parent._parent._parent;
if(_19!=_15._offsetParent&&_19._offsetParent!=_15._offsetParent){
_19=_1a;
}
}
var _1b=_15._offsetParent==_19;
for(var dir in _15._offsetStart){
var _1d=dir=="H"?"V":"H";
if(_8&&dir=="H"&&(_19!=_4)&&(_19!=_3)&&(dojo.isIE||dojo.isWebKit)&&_19._clientSize.H>0&&_19.scrollWidth>_19._clientSize.H){
var _1e=_19.scrollWidth-_19._clientSize.H;
if(_1e>0){
_19._scrolledAmount.H-=_1e;
}
}
if(_19._offsetParent.tagName=="TABLE"){
if(dojo.isIE){
_19._offsetStart[dir]-=_19._offsetParent._borderStart[dir];
_19._borderStart[dir]=_19._borderSize[dir]=0;
}else{
_19._offsetStart[dir]+=_19._offsetParent._borderStart[dir];
}
}
if(dojo.isIE){
_19._offsetStart[dir]+=_19._offsetParent._borderStart[dir];
}
var _1f=_15._offsetStart[dir]-_19._scrolledAmount[dir]-(_1b?0:_19._offsetStart[dir])-_19._borderStart[dir];
var _20=_1f+_15._offsetSize[dir]-_19._offsetSize[dir]+_19._borderSize[dir];
var _21=(dir=="H")?"scrollLeft":"scrollTop";
var _22=dir=="H"&&_8;
var _23=_22?-_20:_1f;
var _24=_22?-_1f:_20;
var _25=(_23*_24<=0)?0:Math[(_23<0)?"max":"min"](_23,_24);
if(_25!=0){
var _26=_19[_21];
_19[_21]+=(_22)?-_25:_25;
var _27=_19[_21]-_26;
}
if(_1b){
_15._offsetStart[dir]+=_19._offsetStart[dir];
}
_15._offsetStart[dir]-=_19[_21];
}
_15._parent=_19._parent;
_15._offsetParent=_19._offsetParent;
}
_19=_1;
var _28;
while(_19&&_19.removeAttribute){
_28=_19.parentNode;
_19.removeAttribute("_offsetParent");
_19.removeAttribute("_parent");
_19=_28;
}
}
catch(error){
console.error("scrollIntoView: "+error);
_1.scrollIntoView(false);
}
};
}


//require dijit._base.sniff

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


if(!dojo._hasResource["dijit._base.sniff"]){
dojo._hasResource["dijit._base.sniff"]=true;
dojo.provide("dijit._base.sniff");
(function(){
var d=dojo,_2=d.doc.documentElement,ie=d.isIE,_4=d.isOpera,_5=Math.floor,ff=d.isFF,_7=d.boxModel.replace(/-/,""),_8={dj_ie:ie,dj_ie6:_5(ie)==6,dj_ie7:_5(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_4,dj_opera8:_5(_4)==8,dj_opera9:_5(_4)==9,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:_5(ff)==2,dj_ff3:_5(ff)==3};
_8["dj_"+_7]=true;
for(var p in _8){
if(_8[p]){
if(_2.className){
_2.className+=" "+p;
}else{
_2.className=p;
}
}
}
dojo._loaders.unshift(function(){
if(!dojo._isBodyLtr()){
_2.className+=" dijitRtl";
for(var p in _8){
if(_8[p]){
_2.className+=" "+p+"-rtl";
}
}
}
});
})();
}


//require dijit._base.typematic

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


if(!dojo._hasResource["dijit._base.typematic"]){
dojo._hasResource["dijit._base.typematic"]=true;
dojo.provide("dijit._base.typematic");
dijit.typematic={_fireEventAndReload:function(){
this._timer=null;
this._callback(++this._count,this._node,this._evt);
this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));
this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);
},trigger:function(_1,_2,_3,_4,_5,_6,_7){
if(_5!=this._obj){
this.stop();
this._initialDelay=_7||500;
this._subsequentDelay=_6||0.9;
this._obj=_5;
this._evt=_1;
this._node=_3;
this._currentTimeout=-1;
this._count=-1;
this._callback=dojo.hitch(_2,_4);
this._fireEventAndReload();
}
},stop:function(){
if(this._timer){
clearTimeout(this._timer);
this._timer=null;
}
if(this._obj){
this._callback(-1,this._node,this._evt);
this._obj=null;
}
},addKeyListener:function(_8,_9,_a,_b,_c,_d){
if(_9.keyCode){
_9.charOrCode=_9.keyCode;
dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");
}else{
if(_9.charCode){
_9.charOrCode=String.fromCharCode(_9.charCode);
dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");
}
}
return [dojo.connect(_8,"onkeypress",this,function(_e){
if(_e.charOrCode==_9.charOrCode&&(_9.ctrlKey===undefined||_9.ctrlKey==_e.ctrlKey)&&(_9.altKey===undefined||_9.altKey==_e.ctrlKey)&&(_9.shiftKey===undefined||_9.shiftKey==_e.ctrlKey)){
dojo.stopEvent(_e);
dijit.typematic.trigger(_9,_a,_8,_b,_9,_c,_d);
}else{
if(dijit.typematic._obj==_9){
dijit.typematic.stop();
}
}
}),dojo.connect(_8,"onkeyup",this,function(_f){
if(dijit.typematic._obj==_9){
dijit.typematic.stop();
}
})];
},addMouseListener:function(_10,_11,_12,_13,_14){
var dc=dojo.connect;
return [dc(_10,"mousedown",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);
}),dc(_10,"mouseup",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.stop();
}),dc(_10,"mouseout",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.stop();
}),dc(_10,"mousemove",this,function(evt){
dojo.stopEvent(evt);
}),dc(_10,"dblclick",this,function(evt){
dojo.stopEvent(evt);
if(dojo.isIE){
dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);
setTimeout(dojo.hitch(this,dijit.typematic.stop),50);
}
})];
},addListener:function(_1b,_1c,_1d,_1e,_1f,_20,_21){
return this.addKeyListener(_1c,_1d,_1e,_1f,_20,_21).concat(this.addMouseListener(_1b,_1e,_1f,_20,_21));
}};
}


//require dijit._base.wai

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


if(!dojo._hasResource["dijit._base.wai"]){
dojo._hasResource["dijit._base.wai"]=true;
dojo.provide("dijit._base.wai");
dijit.wai={onload:function(){
var _1=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(_1);
if(cs){
var _3=cs.backgroundImage;
var _4=(cs.borderTopColor==cs.borderRightColor)||(_3!=null&&(_3=="none"||_3=="url(invalid-url:)"));
dojo[_4?"addClass":"removeClass"](dojo.body(),"dijit_a11y");
if(dojo.isIE){
_1.outerHTML="";
}else{
dojo.body().removeChild(_1);
}
}
}};
if(dojo.isIE||dojo.isMoz){
dojo._loaders.unshift(dijit.wai.onload);
}
dojo.mixin(dijit,{_XhtmlRoles:/banner|contentinfo|definition|main|navigation|search|note|secondary|seealso/,hasWaiRole:function(_5,_6){
var _7=this.getWaiRole(_5);
return _6?(_7.indexOf(_6)>-1):(_7.length>0);
},getWaiRole:function(_8){
return dojo.trim((dojo.attr(_8,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));
},setWaiRole:function(_9,_a){
var _b=dojo.attr(_9,"role")||"";
if(dojo.isFF<3||!this._XhtmlRoles.test(_b)){
dojo.attr(_9,"role",dojo.isFF<3?"wairole:"+_a:_a);
}else{
if((" "+_b+" ").indexOf(" "+_a+" ")<0){
var _c=dojo.trim(_b.replace(this._XhtmlRoles,""));
var _d=dojo.trim(_b.replace(_c,""));
dojo.attr(_9,"role",_d+(_d?" ":"")+_a);
}
}
},removeWaiRole:function(_e,_f){
var _10=dojo.attr(_e,"role");
if(!_10){
return;
}
if(_f){
var _11=dojo.isFF<3?"wairole:"+_f:_f;
var t=dojo.trim((" "+_10+" ").replace(" "+_11+" "," "));
dojo.attr(_e,"role",t);
}else{
_e.removeAttribute("role");
}
},hasWaiState:function(_13,_14){
if(dojo.isFF<3){
return _13.hasAttributeNS("http://www.w3.org/2005/07/aaa",_14);
}
return _13.hasAttribute?_13.hasAttribute("aria-"+_14):!!_13.getAttribute("aria-"+_14);
},getWaiState:function(_15,_16){
if(dojo.isFF<3){
return _15.getAttributeNS("http://www.w3.org/2005/07/aaa",_16);
}
return _15.getAttribute("aria-"+_16)||"";
},setWaiState:function(_17,_18,_19){
if(dojo.isFF<3){
_17.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_18,_19);
}else{
_17.setAttribute("aria-"+_18,_19);
}
},removeWaiState:function(_1a,_1b){
if(dojo.isFF<3){
_1a.removeAttributeNS("http://www.w3.org/2005/07/aaa",_1b);
}else{
_1a.removeAttribute("aria-"+_1b);
}
}});
}


//require dijit._base

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


if(!dojo._hasResource["dijit._base"]){
dojo._hasResource["dijit._base"]=true;
dojo.provide("dijit._base");
dojo.require("dijit._base.focus");
dojo.require("dijit._base.manager");
dojo.require("dijit._base.place");
dojo.require("dijit._base.popup");
dojo.require("dijit._base.scroll");
dojo.require("dijit._base.sniff");
dojo.require("dijit._base.typematic");
dojo.require("dijit._base.wai");
dojo.require("dijit._base.window");
}


//require dijit._Widget

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


if(!dojo._hasResource["dijit._Widget"]){
dojo._hasResource["dijit._Widget"]=true;
dojo.provide("dijit._Widget");
dojo.require("dijit._base");
dojo.connect(dojo,"connect",function(_1,_2){
if(_1&&dojo.isFunction(_1._onConnect)){
_1._onConnect(_2);
}
});
dijit._connectOnUseEventHandler=function(_3){
};
(function(){
var _4={};
var _5=function(dc){
if(!_4[dc]){
var r=[];
var _8;
var _9=dojo.getObject(dc).prototype;
for(var _a in _9){
if(dojo.isFunction(_9[_a])&&(_8=_a.match(/^_set([a-zA-Z]*)Attr$/))&&_8[1]){
r.push(_8[1].charAt(0).toLowerCase()+_8[1].substr(1));
}
}
_4[dc]=r;
}
return _4[dc]||[];
};
dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick: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,_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")),postscript:function(_b,_c){
this.create(_b,_c);
},create:function(_d,_e){
this.srcNodeRef=dojo.byId(_e);
this._connects=[];
this._deferredConnects=dojo.clone(this._deferredConnects);
for(var _f in this.attributeMap){
delete this._deferredConnects[_f];
}
for(_f in this._deferredConnects){
if(this[_f]!==dijit._connectOnUseEventHandler){
delete this._deferredConnects[_f];
}
}
if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){
this.id=this.srcNodeRef.id;
}
if(_d){
this.params=_d;
dojo.mixin(this,_d);
}
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 _10=this.srcNodeRef;
if(_10&&_10.parentNode){
_10.parentNode.replaceChild(this.domNode,_10);
}
for(_f in this.params){
this._onConnect(_f);
}
}
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 _11=function(_12,_13){
if((_13.params&&_12 in _13.params)||_13[_12]){
_13.attr(_12,_13[_12]);
}
};
for(var _14 in this.attributeMap){
_11(_14,this);
}
dojo.forEach(_5(this.declaredClass),function(a){
if(!(a in this.attributeMap)){
_11(a,this);
}
},this);
},postMixInProperties:function(){
},buildRendering:function(){
this.domNode=this.srcNodeRef||dojo.create("div");
},postCreate:function(){
},startup:function(){
this._started=true;
},destroyRecursive:function(_16){
this.destroyDescendants(_16);
this.destroy(_16);
},destroy:function(_17){
this.uninitialize();
dojo.forEach(this._connects,function(_18){
dojo.forEach(_18,dojo.disconnect);
});
dojo.forEach(this._supportingWidgets||[],function(w){
if(w.destroy){
w.destroy();
}
});
this.destroyRendering(_17);
dijit.registry.remove(this.id);
},destroyRendering:function(_1a){
if(this.bgIframe){
this.bgIframe.destroy(_1a);
delete this.bgIframe;
}
if(this.domNode){
if(_1a){
dojo.removeAttr(this.domNode,"widgetId");
}else{
dojo.destroy(this.domNode);
}
delete this.domNode;
}
if(this.srcNodeRef){
if(!_1a){
dojo.destroy(this.srcNodeRef);
}
delete this.srcNodeRef;
}
},destroyDescendants:function(_1b){
dojo.forEach(this.getChildren(),function(_1c){
if(_1c.destroyRecursive){
_1c.destroyRecursive(_1b);
}
});
},uninitialize:function(){
return false;
},onFocus:function(){
},onBlur:function(){
},_onFocus:function(e){
this.onFocus();
},_onBlur:function(){
this.onBlur();
},_onConnect:function(_1e){
if(_1e in this._deferredConnects){
var _1f=this[this._deferredConnects[_1e]||"domNode"];
this.connect(_1f,_1e.toLowerCase(),_1e);
delete this._deferredConnects[_1e];
}
},_setClassAttr:function(_20){
var _21=this[this.attributeMap["class"]||"domNode"];
dojo.removeClass(_21,this["class"]);
this["class"]=_20;
dojo.addClass(_21,_20);
},_setStyleAttr:function(_22){
var _23=this[this.attributeMap["style"]||"domNode"];
if(dojo.isObject(_22)){
dojo.style(_23,_22);
}else{
if(_23.style.cssText){
_23.style.cssText+="; "+_22;
}else{
_23.style.cssText=_22;
}
}
this["style"]=_22;
},setAttribute:function(_24,_25){
dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");
this.attr(_24,_25);
},_attrToDom:function(_26,_27){
var _28=this.attributeMap[_26];
dojo.forEach(dojo.isArray(_28)?_28:[_28],function(_29){
var _2a=this[_29.node||_29||"domNode"];
var _2b=_29.type||"attribute";
switch(_2b){
case "attribute":
if(dojo.isFunction(_27)){
_27=dojo.hitch(this,_27);
}
if(/^on[A-Z][a-zA-Z]*$/.test(_26)){
_26=_26.toLowerCase();
}
dojo.attr(_2a,_26,_27);
break;
case "innerHTML":
_2a.innerHTML=_27;
break;
case "class":
dojo.removeClass(_2a,this[_26]);
dojo.addClass(_2a,_27);
break;
}
},this);
this[_26]=_27;
},attr:function(_2c,_2d){
var _2e=arguments.length;
if(_2e==1&&!dojo.isString(_2c)){
for(var x in _2c){
this.attr(x,_2c[x]);
}
return this;
}
var _30=this._getAttrNames(_2c);
if(_2e==2){
if(this[_30.s]){
return this[_30.s](_2d)||this;
}else{
if(_2c in this.attributeMap){
this._attrToDom(_2c,_2d);
}
this[_2c]=_2d;
}
return this;
}else{
if(this[_30.g]){
return this[_30.g]();
}else{
return this[_2c];
}
}
},_attrPairNames:{},_getAttrNames:function(_31){
var apn=this._attrPairNames;
if(apn[_31]){
return apn[_31];
}
var uc=_31.charAt(0).toUpperCase()+_31.substr(1);
return apn[_31]={n:_31+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"};
},toString:function(){
return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";
},getDescendants:function(){
if(this.containerNode){
var _34=dojo.query("[widgetId]",this.containerNode);
return _34.map(dijit.byNode);
}else{
return [];
}
},getChildren:function(){
if(this.containerNode){
return dijit.findWidgets(this.containerNode);
}else{
return [];
}
},nodesWithKeyClick:["input","button"],connect:function(obj,_36,_37){
var d=dojo;
var dc=dojo.connect;
var _3a=[];
if(_36=="ondijitclick"){
if(!this.nodesWithKeyClick[obj.nodeName]){
var m=d.hitch(this,_37);
_3a.push(dc(obj,"onkeydown",this,function(e){
if(!d.isFF&&e.keyCode==d.keys.ENTER&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){
return m(e);
}else{
if(e.keyCode==d.keys.SPACE){
d.stopEvent(e);
}
}
}),dc(obj,"onkeyup",this,function(e){
if(e.keyCode==d.keys.SPACE&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){
return m(e);
}
}));
if(d.isFF){
_3a.push(dc(obj,"onkeypress",this,function(e){
if(e.keyCode==d.keys.ENTER&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){
return m(e);
}
}));
}
}
_36="onclick";
}
_3a.push(dc(obj,_36,this,_37));
this._connects.push(_3a);
return _3a;
},disconnect:function(_3f){
for(var i=0;i<this._connects.length;i++){
if(this._connects[i]==_3f){
dojo.forEach(_3f,dojo.disconnect);
this._connects.splice(i,1);
return;
}
}
},isLeftToRight:function(){
return dojo._isBodyLtr();
},isFocusable:function(){
return this.focus&&(dojo.style(this.domNode,"display")!="none");
},placeAt:function(_41,_42){
if(_41["declaredClass"]&&_41["addChild"]){
_41.addChild(this,_42);
}else{
dojo.place(this.domNode,_41,_42);
}
return this;
}});
})();
}


//require dojo.string

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


if(!dojo._hasResource["dojo.string"]){
dojo._hasResource["dojo.string"]=true;
dojo.provide("dojo.string");
dojo.string.rep=function(_1,_2){
if(_2<=0||!_1){
return "";
}
var _3=[];
for(;;){
if(_2&1){
_3.push(_1);
}
if(!(_2>>=1)){
break;
}
_1+=_1;
}
return _3.join("");
};
dojo.string.pad=function(_4,_5,ch,_7){
if(!ch){
ch="0";
}
var _8=String(_4),_9=dojo.string.rep(ch,Math.ceil((_5-_8.length)/ch.length));
return _7?_8+_9:_9+_8;
};
dojo.string.substitute=function(_a,_b,_c,_d){
_d=_d||dojo.global;
_c=(!_c)?function(v){
return v;
}:dojo.hitch(_d,_c);
return _a.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_f,key,_11){
var _12=dojo.getObject(key,false,_b);
if(_11){
_12=dojo.getObject(_11,false,_d).call(_d,_12,key);
}
return _c(_12,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;
};
}


//require dojo.date.stamp

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


if(!dojo._hasResource["dojo.date.stamp"]){
dojo._hasResource["dojo.date.stamp"]=true;
dojo.provide("dojo.date.stamp");
dojo.date.stamp.fromISOString=function(_1,_2){
if(!dojo.date.stamp._isoRegExp){
dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;
}
var _3=dojo.date.stamp._isoRegExp.exec(_1);
var _4=null;
if(_3){
_3.shift();
if(_3[1]){
_3[1]--;
}
if(_3[6]){
_3[6]*=1000;
}
if(_2){
_2=new Date(_2);
dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_5){
return _2["get"+_5]();
}).forEach(function(_6,_7){
if(_3[_7]===undefined){
_3[_7]=_6;
}
});
}
_4=new Date(_3[0]||1970,_3[1]||0,_3[2]||1,_3[3]||0,_3[4]||0,_3[5]||0,_3[6]||0);
var _8=0;
var _9=_3[7]&&_3[7].charAt(0);
if(_9!="Z"){
_8=((_3[8]||0)*60)+(Number(_3[9])||0);
if(_9!="-"){
_8*=-1;
}
}
if(_9){
_8-=_4.getTimezoneOffset();
}
if(_8){
_4.setTime(_4.getTime()+_8*60000);
}
}
return _4;
};
dojo.date.stamp.toISOString=function(_a,_b){
var _=function(n){
return (n<10)?"0"+n:n;
};
_b=_b||{};
var _e=[];
var _f=_b.zulu?"getUTC":"get";
var _10="";
if(_b.selector!="time"){
var _11=_a[_f+"FullYear"]();
_10=["0000".substr((_11+"").length)+_11,_(_a[_f+"Month"]()+1),_(_a[_f+"Date"]())].join("-");
}
_e.push(_10);
if(_b.selector!="date"){
var _12=[_(_a[_f+"Hours"]()),_(_a[_f+"Minutes"]()),_(_a[_f+"Seconds"]())].join(":");
var _13=_a[_f+"Milliseconds"]();
if(_b.milliseconds){
_12+="."+(_13<100?"0":"")+_(_13);
}
if(_b.zulu){
_12+="Z";
}else{
if(_b.selector!="time"){
var _14=_a.getTimezoneOffset();
var _15=Math.abs(_14);
_12+=(_14>0?"-":"+")+_(Math.floor(_15/60))+":"+_(_15%60);
}
}
_e.push(_12);
}
return _e.join("T");
};
}


//require dojo.parser

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


if(!dojo._hasResource["dojo.parser"]){
dojo._hasResource["dojo.parser"]=true;
dojo.provide("dojo.parser");
dojo.require("dojo.date.stamp");
dojo.parser=new function(){
var d=dojo;
var _2=d._scopeName+"Type";
var _3="["+_2+"]";
var _4=0,_5={};
var _6=function(_7,_8){
var _9=_8||_5;
if(dojo.isIE){
var cn=_7["__dojoNameCache"];
if(cn&&_9[cn]===_7){
return cn;
}
}
var _b;
do{
_b="__"+_4++;
}while(_b in _9);
_9[_b]=_7;
return _b;
};
function _c(_d){
if(d.isString(_d)){
return "string";
}
if(typeof _d=="number"){
return "number";
}
if(typeof _d=="boolean"){
return "boolean";
}
if(d.isFunction(_d)){
return "function";
}
if(d.isArray(_d)){
return "array";
}
if(_d instanceof Date){
return "date";
}
if(_d instanceof d._Url){
return "url";
}
return "object";
};
function _e(_f,_10){
switch(_10){
case "string":
return _f;
case "number":
return _f.length?Number(_f):NaN;
case "boolean":
return typeof _f=="boolean"?_f:!(_f.toLowerCase()=="false");
case "function":
if(d.isFunction(_f)){
_f=_f.toString();
_f=d.trim(_f.substring(_f.indexOf("{")+1,_f.length-1));
}
try{
if(_f.search(/[^\w\.]+/i)!=-1){
_f=_6(new Function(_f),this);
}
return d.getObject(_f,false);
}
catch(e){
return new Function();
}
case "array":
return _f?_f.split(/\s*,\s*/):[];
case "date":
switch(_f){
case "":
return new Date("");
case "now":
return new Date();
default:
return d.date.stamp.fromISOString(_f);
}
case "url":
return d.baseUrl+_f;
default:
return d.fromJson(_f);
}
};
var _11={};
function _12(_13){
if(!_11[_13]){
var cls=d.getObject(_13);
if(!d.isFunction(cls)){
throw new Error("Could not load class '"+_13+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");
}
var _15=cls.prototype;
var _16={},_17={};
for(var _18 in _15){
if(_18.charAt(0)=="_"){
continue;
}
if(_18 in _17){
continue;
}
var _19=_15[_18];
_16[_18]=_c(_19);
}
_11[_13]={cls:cls,params:_16};
}
return _11[_13];
};
this._functionFromScript=function(_1a){
var _1b="";
var _1c="";
var _1d=_1a.getAttribute("args");
if(_1d){
d.forEach(_1d.split(/\s*,\s*/),function(_1e,idx){
_1b+="var "+_1e+" = arguments["+idx+"]; ";
});
}
var _20=_1a.getAttribute("with");
if(_20&&_20.length){
d.forEach(_20.split(/\s*,\s*/),function(_21){
_1b+="with("+_21+"){";
_1c+="}";
});
}
return new Function(_1b+_1a.innerHTML+_1c);
};
this.instantiate=function(_22,_23){
var _24=[];
_23=_23||{};
d.forEach(_22,function(_25){
if(!_25){
return;
}
var _26=_2 in _23?_23[_2]:_25.getAttribute(_2);
if(!_26||!_26.length){
return;
}
var _27=_12(_26),_28=_27.cls,ps=_28._noScript||_28.prototype._noScript;
var _2a={},_2b=_25.attributes;
for(var _2c in _27.params){
var _2d=_2c in _23?{value:_23[_2c],specified:true}:_2b.getNamedItem(_2c);
if(!_2d||(!_2d.specified&&(!dojo.isIE||_2c.toLowerCase()!="value"))){
continue;
}
var _2e=_2d.value;
switch(_2c){
case "class":
_2e="className" in _23?_23.className:_25.className;
break;
case "style":
_2e="style" in _23?_23.style:(_25.style&&_25.style.cssText);
}
var _2f=_27.params[_2c];
if(typeof _2e=="string"){
_2a[_2c]=_e(_2e,_2f);
}else{
_2a[_2c]=_2e;
}
}
if(!ps){
var _30=[],_31=[];
d.query("> script[type^='dojo/']",_25).orphan().forEach(function(_32){
var _33=_32.getAttribute("event"),_26=_32.getAttribute("type"),nf=d.parser._functionFromScript(_32);
if(_33){
if(_26=="dojo/connect"){
_30.push({event:_33,func:nf});
}else{
_2a[_33]=nf;
}
}else{
_31.push(nf);
}
});
}
var _35=_28["markupFactory"];
if(!_35&&_28["prototype"]){
_35=_28.prototype["markupFactory"];
}
var _36=_35?_35(_2a,_25,_28):new _28(_2a,_25);
_24.push(_36);
var _37=_25.getAttribute("jsId");
if(_37){
d.setObject(_37,_36);
}
if(!ps){
d.forEach(_30,function(_38){
d.connect(_36,_38.event,null,_38.func);
});
d.forEach(_31,function(_39){
_39.call(_36);
});
}
});
d.forEach(_24,function(_3a){
if(_3a&&_3a.startup&&!_3a._started&&(!_3a.getParent||!_3a.getParent())){
_3a.startup();
}
});
return _24;
};
this.parse=function(_3b){
var _3c=d.query(_3,_3b);
var _3d=this.instantiate(_3c);
return _3d;
};
}();
(function(){
var _3e=function(){
if(dojo.config["parseOnLoad"]==true){
dojo.parser.parse();
}
};
if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){
dojo._loaders.splice(1,0,_3e);
}else{
dojo._loaders.unshift(_3e);
}
})();
}


//require dijit._Templated

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


if(!dojo._hasResource["dijit._Templated"]){
dojo._hasResource["dijit._Templated"]=true;
dojo.provide("dijit._Templated");
dojo.require("dijit._Widget");
dojo.require("dojo.string");
dojo.require("dojo.parser");
dojo.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_stringRepl:function(_1){
var _2=this.declaredClass,_3=this;
return dojo.string.substitute(_1,this,function(_4,_5){
if(_5.charAt(0)=="!"){
_4=dojo.getObject(_5.substr(1),_3);
}
if(typeof _4=="undefined"){
throw new Error(_2+" template:"+_5);
}
if(_4==null){
return "";
}
return _5.charAt(0)=="!"?_4:_4.toString().replace(/"/g,"&quot;");
},this);
},buildRendering:function(){
var _6=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);
var _7;
if(dojo.isString(_6)){
_7=dojo._toDom(this._stringRepl(_6));
}else{
_7=_6.cloneNode(true);
}
this.domNode=_7;
this._attachTemplateNodes(_7);
if(this.widgetsInTemplate){
var cw=(this._supportingWidgets=dojo.parser.parse(_7));
this._attachTemplateNodes(cw,function(n,p){
return n[p];
});
}
this._fillContent(this.srcNodeRef);
},_fillContent:function(_b){
var _c=this.containerNode;
if(_b&&_c){
while(_b.hasChildNodes()){
_c.appendChild(_b.firstChild);
}
}
},_attachTemplateNodes:function(_d,_e){
_e=_e||function(n,p){
return n.getAttribute(p);
};
var _11=dojo.isArray(_d)?_d:(_d.all||_d.getElementsByTagName("*"));
var x=dojo.isArray(_d)?0:-1;
for(;x<_11.length;x++){
var _13=(x==-1)?_d:_11[x];
if(this.widgetsInTemplate&&_e(_13,"dojoType")){
continue;
}
var _14=_e(_13,"dojoAttachPoint");
if(_14){
var _15,_16=_14.split(/\s*,\s*/);
while((_15=_16.shift())){
if(dojo.isArray(this[_15])){
this[_15].push(_13);
}else{
this[_15]=_13;
}
}
}
var _17=_e(_13,"dojoAttachEvent");
if(_17){
var _18,_19=_17.split(/\s*,\s*/);
var _1a=dojo.trim;
while((_18=_19.shift())){
if(_18){
var _1b=null;
if(_18.indexOf(":")!=-1){
var _1c=_18.split(":");
_18=_1a(_1c[0]);
_1b=_1a(_1c[1]);
}else{
_18=_1a(_18);
}
if(!_1b){
_1b=_18;
}
this.connect(_13,_18,_1b);
}
}
}
var _1d=_e(_13,"waiRole");
if(_1d){
dijit.setWaiRole(_13,_1d);
}
var _1e=_e(_13,"waiState");
if(_1e){
dojo.forEach(_1e.split(/\s*,\s*/),function(_1f){
if(_1f.indexOf("-")!=-1){
var _20=_1f.split("-");
dijit.setWaiState(_13,_20[0],_20[1]);
}
});
}
}
}});
dijit._Templated._templateCache={};
dijit._Templated.getCachedTemplate=function(_21,_22,_23){
var _24=dijit._Templated._templateCache;
var key=_22||_21;
var _26=_24[key];
if(_26){
if(!_26.ownerDocument||_26.ownerDocument==dojo.doc){
return _26;
}
dojo.destroy(_26);
}
if(!_22){
_22=dijit._Templated._sanitizeTemplateString(dojo.trim(dojo._getText(_21)));
}
_22=dojo.string.trim(_22);
if(_23||_22.match(/\$\{([^\}]+)\}/g)){
return (_24[key]=_22);
}else{
return (_24[key]=dojo._toDom(_22));
}
};
dijit._Templated._sanitizeTemplateString=function(_27){
if(_27){
_27=_27.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");
var _28=_27.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
if(_28){
_27=_28[1];
}
}else{
_27="";
}
return _27;
};
if(dojo.isIE){
dojo.addOnWindowUnload(function(){
var _29=dijit._Templated._templateCache;
for(var key in _29){
var _2b=_29[key];
if(!isNaN(_2b.nodeType)){
dojo.destroy(_2b);
}
delete _29[key];
}
});
}
dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});
}


//require dijit.form._FormMixin

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


if(!dojo._hasResource["dijit.form._FormMixin"]){
dojo._hasResource["dijit.form._FormMixin"]=true;
dojo.provide("dijit.form._FormMixin");
dojo.declare("dijit.form._FormMixin",null,{reset:function(){
dojo.forEach(this.getDescendants(),function(_1){
if(_1.reset){
_1.reset();
}
});
},validate:function(){
var _2=false;
return dojo.every(dojo.map(this.getDescendants(),function(_3){
_3._hasBeenBlurred=true;
var _4=_3.disabled||!_3.validate||_3.validate();
if(!_4&&!_2){
dijit.scrollIntoView(_3.containerNode||_3.domNode);
_3.focus();
_2=true;
}
return _4;
}),function(_5){
return _5;
});
},setValues:function(_6){
dojo.deprecated(this.declaredClass+"::setValues() is deprecated. Use attr('value', val) instead.","","2.0");
return this.attr("value",_6);
},_setValueAttr:function(_7){
var _8={};
dojo.forEach(this.getDescendants(),function(_9){
if(!_9.name){
return;
}
var _a=_8[_9.name]||(_8[_9.name]=[]);
_a.push(_9);
});
for(var _b in _8){
if(!_8.hasOwnProperty(_b)){
continue;
}
var _c=_8[_b],_d=dojo.getObject(_b,false,_7);
if(_d===undefined){
continue;
}
if(!dojo.isArray(_d)){
_d=[_d];
}
if(typeof _c[0].checked=="boolean"){
dojo.forEach(_c,function(w,i){
w.attr("value",dojo.indexOf(_d,w.value)!=-1);
});
}else{
if(_c[0]._multiValue){
_c[0].attr("value",_d);
}else{
dojo.forEach(_c,function(w,i){
w.attr("value",_d[i]);
});
}
}
}
},getValues:function(){
dojo.deprecated(this.declaredClass+"::getValues() is deprecated. Use attr('value') instead.","","2.0");
return this.attr("value");
},_getValueAttr:function(){
var obj={};
dojo.forEach(this.getDescendants(),function(_13){
var _14=_13.name;
if(!_14||_13.disabled){
return;
}
var _15=_13.attr("value");
if(typeof _13.checked=="boolean"){
if(/Radio/.test(_13.declaredClass)){
if(_15!==false){
dojo.setObject(_14,_15,obj);
}else{
_15=dojo.getObject(_14,false,obj);
if(_15===undefined){
dojo.setObject(_14,null,obj);
}
}
}else{
var ary=dojo.getObject(_14,false,obj);
if(!ary){
ary=[];
dojo.setObject(_14,ary,obj);
}
if(_15!==false){
ary.push(_15);
}
}
}else{
dojo.setObject(_14,_15,obj);
}
});
return obj;
},isValid:function(){
this._invalidWidgets=[];
return dojo.every(this.getDescendants(),function(_17){
var _18=_17.disabled||!_17.isValid||_17.isValid();
if(!_18){
this._invalidWidgets.push(_17);
}
return _18;
},this);
},onValidStateChange:function(_19){
},_widgetChange:function(_1a){
var _1b=this._lastValidState;
if(!_1a||this._lastValidState===undefined){
_1b=this.isValid();
if(this._lastValidState===undefined){
this._lastValidState=_1b;
}
}else{
if(_1a.isValid){
this._invalidWidgets=dojo.filter(this._invalidWidgets||[],function(w){
return (w!=_1a);
},this);
if(!_1a.isValid()&&!_1a.attr("disabled")){
this._invalidWidgets.push(_1a);
}
_1b=(this._invalidWidgets.length===0);
}
}
if(_1b!==this._lastValidState){
this._lastValidState=_1b;
this.onValidStateChange(_1b);
}
},connectChildren:function(){
dojo.forEach(this._changeConnections,dojo.hitch(this,"disconnect"));
var _1d=this;
var _1e=this._changeConnections=[];
dojo.forEach(dojo.filter(this.getDescendants(),function(_1f){
return _1f.validate;
}),function(_20){
_1e.push(_1d.connect(_20,"validate",dojo.hitch(_1d,"_widgetChange",_20)));
_1e.push(_1d.connect(_20,"_setDisabledAttr",dojo.hitch(_1d,"_widgetChange",_20)));
});
this._widgetChange(null);
},startup:function(){
this.inherited(arguments);
this._changeConnections=[];
this.connectChildren();
}});
}


//require dijit._DialogMixin

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


if(!dojo._hasResource["dijit._DialogMixin"]){
dojo._hasResource["dijit._DialogMixin"]=true;
dojo.provide("dijit._DialogMixin");
dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_1){
},onCancel:function(){
},onExecute:function(){
},_onSubmit:function(){
this.onExecute();
this.execute(this.attr("value"));
},_getFocusItems:function(_2){
var _3=dijit._getTabNavigable(dojo.byId(_2));
this._firstFocusItem=_3.lowest||_3.first||_2;
this._lastFocusItem=_3.last||_3.highest||this._firstFocusItem;
if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.attr(this._firstFocusItem,"type").toLowerCase()=="file"){
dojo.attr(_2,"tabindex","0");
this._firstFocusItem=_2;
}
}});
}


//require dijit.DialogUnderlay

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


if(!dojo._hasResource["dijit.DialogUnderlay"]){
dojo._hasResource["dijit.DialogUnderlay"]=true;
dojo.provide("dijit.DialogUnderlay");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' dojoAttachPoint='node'></div></div>",dialogId:"","class":"",attributeMap:{id:"domNode"},_setDialogIdAttr:function(id){
dojo.attr(this.node,"id",id+"_underlay");
},_setClassAttr:function(_2){
this.node.className="dijitDialogUnderlay "+_2;
},postCreate:function(){
dojo.body().appendChild(this.domNode);
this.bgIframe=new dijit.BackgroundIframe(this.domNode);
},layout:function(){
var is=this.node.style,os=this.domNode.style;
os.display="none";
var _5=dijit.getViewport();
os.top=_5.t+"px";
os.left=_5.l+"px";
is.width=_5.w+"px";
is.height=_5.h+"px";
os.display="block";
},show:function(){
this.domNode.style.display="block";
this.layout();
if(this.bgIframe.iframe){
this.bgIframe.iframe.style.display="block";
}
},hide:function(){
this.domNode.style.display="none";
if(this.bgIframe.iframe){
this.bgIframe.iframe.style.display="none";
}
},uninitialize:function(){
if(this.bgIframe){
this.bgIframe.destroy();
}
}});
}


//require dijit._Contained

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


if(!dojo._hasResource["dijit._Contained"]){
dojo._hasResource["dijit._Contained"]=true;
dojo.provide("dijit._Contained");
dojo.declare("dijit._Contained",null,{getParent:function(){
for(var p=this.domNode.parentNode;p;p=p.parentNode){
var id=p.getAttribute&&p.getAttribute("widgetId");
if(id){
var _3=dijit.byId(id);
return _3.isContainer?_3:null;
}
}
return null;
},_getSibling:function(_4){
var _5=this.domNode;
do{
_5=_5[_4+"Sibling"];
}while(_5&&_5.nodeType!=1);
if(!_5){
return null;
}
var id=_5.getAttribute("widgetId");
return dijit.byId(id);
},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);
}});
}


//require dijit._Container

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


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(_1,_2){
var _3=this.containerNode;
if(_2&&typeof _2=="number"){
var _4=this.getChildren();
if(_4&&_4.length>=_2){
_3=_4[_2-1].domNode;
_2="after";
}
}
dojo.place(_1.domNode,_3,_2);
if(this._started&&!_1._started){
_1.startup();
}
},removeChild:function(_5){
if(typeof _5=="number"&&_5>0){
_5=this.getChildren()[_5];
}
if(!_5||!_5.domNode){
return;
}
var _6=_5.domNode;
_6.parentNode.removeChild(_6);
},_nextElement:function(_7){
do{
_7=_7.nextSibling;
}while(_7&&_7.nodeType!=1);
return _7;
},_firstElement:function(_8){
_8=_8.firstChild;
if(_8&&_8.nodeType!=1){
_8=this._nextElement(_8);
}
return _8;
},getChildren:function(){
return dojo.query("> [widgetId]",this.containerNode).map(dijit.byNode);
},hasChildren:function(){
return !!this._firstElement(this.containerNode);
},destroyDescendants:function(_9){
dojo.forEach(this.getChildren(),function(_a){
_a.destroyRecursive(_9);
});
},_getSiblingOfChild:function(_b,_c){
var _d=_b.domNode;
var _e=(_c>0?"nextSibling":"previousSibling");
do{
_d=_d[_e];
}while(_d&&(_d.nodeType!=1||!dijit.byNode(_d)));
return _d?dijit.byNode(_d):null;
},getIndexOfChild:function(_f){
var _10=this.getChildren();
for(var i=0,c;c=_10[i];i++){
if(c==_f){
return i;
}
}
return -1;
}});
}


//require dijit.layout._LayoutWidget

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


if(!dojo._hasResource["dijit.layout._LayoutWidget"]){
dojo._hasResource["dijit.layout._LayoutWidget"]=true;
dojo.provide("dijit.layout._LayoutWidget");
dojo.require("dijit._Widget");
dojo.require("dijit._Container");
dojo.require("dijit._Contained");
dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){
dojo.addClass(this.domNode,"dijitContainer");
dojo.addClass(this.domNode,this.baseClass);
},startup:function(){
if(this._started){
return;
}
dojo.forEach(this.getChildren(),function(_1){
_1.startup();
});
if(!this.getParent||!this.getParent()){
this.resize();
this._viewport=dijit.getViewport();
this.connect(dojo.global,"onresize",function(){
var _2=dijit.getViewport();
if(_2.w!=this._viewport.w||_2.h!=this._viewport.h){
this._viewport=_2;
this.resize();
}
});
}
this.inherited(arguments);
},resize:function(_3,_4){
var _5=this.domNode;
if(_3){
dojo.marginBox(_5,_3);
if(_3.t){
_5.style.top=_3.t+"px";
}
if(_3.l){
_5.style.left=_3.l+"px";
}
}
var mb=_4||{};
dojo.mixin(mb,_3||{});
if(!("h" in mb)||!("w" in mb)){
mb=dojo.mixin(dojo.marginBox(_5),mb);
}
var cs=dojo.getComputedStyle(_5);
var me=dojo._getMarginExtents(_5,cs);
var be=dojo._getBorderExtents(_5,cs);
var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});
var pe=dojo._getPadExtents(_5,cs);
this._contentBox={l:dojo._toPixelValue(_5,cs.paddingLeft),t:dojo._toPixelValue(_5,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};
this.layout();
},layout:function(){
},_setupChild:function(_c){
dojo.addClass(_c.domNode,this.baseClass+"-child");
if(_c.baseClass){
dojo.addClass(_c.domNode,this.baseClass+"-"+_c.baseClass);
}
},addChild:function(_d,_e){
this.inherited(arguments);
if(this._started){
this._setupChild(_d);
}
},removeChild:function(_f){
dojo.removeClass(_f.domNode,this.baseClass+"-child");
if(_f.baseClass){
dojo.removeClass(_f.domNode,this.baseClass+"-"+_f.baseClass);
}
this.inherited(arguments);
}});
dijit.layout.marginBox2contentBox=function(_10,mb){
var cs=dojo.getComputedStyle(_10);
var me=dojo._getMarginExtents(_10,cs);
var pb=dojo._getPadBorderExtents(_10,cs);
return {l:dojo._toPixelValue(_10,cs.paddingLeft),t:dojo._toPixelValue(_10,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};
};
(function(){
var _15=function(_16){
return _16.substring(0,1).toUpperCase()+_16.substring(1);
};
var _17=function(_18,dim){
_18.resize?_18.resize(dim):dojo.marginBox(_18.domNode,dim);
dojo.mixin(_18,dojo.marginBox(_18.domNode));
dojo.mixin(_18,dim);
};
dijit.layout.layoutChildren=function(_1a,dim,_1c){
dim=dojo.mixin({},dim);
dojo.addClass(_1a,"dijitLayoutContainer");
_1c=dojo.filter(_1c,function(_1d){
return _1d.layoutAlign!="client";
}).concat(dojo.filter(_1c,function(_1e){
return _1e.layoutAlign=="client";
}));
dojo.forEach(_1c,function(_1f){
var elm=_1f.domNode,pos=_1f.layoutAlign;
var _22=elm.style;
_22.left=dim.l+"px";
_22.top=dim.t+"px";
_22.bottom=_22.right="auto";
dojo.addClass(elm,"dijitAlign"+_15(pos));
if(pos=="top"||pos=="bottom"){
_17(_1f,{w:dim.w});
dim.h-=_1f.h;
if(pos=="top"){
dim.t+=_1f.h;
}else{
_22.top=dim.t+dim.h+"px";
}
}else{
if(pos=="left"||pos=="right"){
_17(_1f,{h:dim.h});
dim.w-=_1f.w;
if(pos=="left"){
dim.l+=_1f.w;
}else{
_22.left=dim.l+dim.w+"px";
}
}else{
if(pos=="client"){
_17(_1f,dim);
}
}
}
});
};
})();
}


//require dojo.html

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


if(!dojo._hasResource["dojo.html"]){
dojo._hasResource["dojo.html"]=true;
dojo.provide("dojo.html");
dojo.require("dojo.parser");
(function(){
var _1=0;
dojo.html._secureForInnerHtml=function(_2){
return _2.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");
};
dojo.html._emptyNode=dojo.empty;
dojo.html._setNodeContent=function(_3,_4,_5){
if(_5){
dojo.html._emptyNode(_3);
}
if(typeof _4=="string"){
var _6="",_7="",_8=0,_9=_3.nodeName.toLowerCase();
switch(_9){
case "tr":
_6="<tr>";
_7="</tr>";
_8+=1;
case "tbody":
case "thead":
_6="<tbody>"+_6;
_7+="</tbody>";
_8+=1;
case "table":
_6="<table>"+_6;
_7+="</table>";
_8+=1;
break;
}
if(_8){
var n=_3.ownerDocument.createElement("div");
n.innerHTML=_6+_4+_7;
do{
n=n.firstChild;
}while(--_8);
dojo.forEach(n.childNodes,function(n){
_3.appendChild(n.cloneNode(true));
});
}else{
_3.innerHTML=_4;
}
}else{
if(_4.nodeType){
_3.appendChild(_4);
}else{
dojo.forEach(_4,function(n){
_3.appendChild(n.cloneNode(true));
});
}
}
return _3;
};
dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,constructor:function(_d,_e){
dojo.mixin(this,_d||{});
_e=this.node=dojo.byId(this.node||_e);
if(!this.id){
this.id=["Setter",(_e)?_e.id||_e.tagName:"",_1++].join("_");
}
if(!(this.node||_e)){
new Error(this.declaredClass+": no node provided to "+this.id);
}
},set:function(_f,_10){
if(undefined!==_f){
this.content=_f;
}
if(_10){
this._mixin(_10);
}
this.onBegin();
this.setContent();
this.onEnd();
return this.node;
},setContent:function(){
var _11=this.node;
if(!_11){
console.error("setContent given no node");
}
try{
_11=dojo.html._setNodeContent(_11,this.content);
}
catch(e){
var _12=this.onContentError(e);
try{
_11.innerHTML=_12;
}
catch(e){
console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);
}
}
this.node=_11;
},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 _14=this.content;
if(dojo.isString(_14)){
if(this.cleanContent){
_14=dojo.html._secureForInnerHtml(_14);
}
if(this.extractContent){
var _15=_14.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
if(_15){
_14=_15[1];
}
}
}
this.empty();
this.content=_14;
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(_17){
var _18={},key;
for(key in _17){
if(key in _18){
continue;
}
this[key]=_17[key];
}
},_parse:function(){
var _1a=this.node;
try{
this.parseResults=dojo.parser.parse(_1a,true);
}
catch(e){
this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);
}
},_onError:function(_1b,err,_1d){
var _1e=this["on"+_1b+"Error"].call(this,err);
if(_1d){
console.error(_1d,err);
}else{
if(_1e){
dojo.html._setNodeContent(this.node,_1e,true);
}
}
}});
dojo.html.set=function(_1f,_20,_21){
if(undefined==_20){
console.warn("dojo.html.set: no cont argument provided, using empty string");
_20="";
}
if(!_21){
return dojo.html._setNodeContent(_1f,_20,true);
}else{
var op=new dojo.html._ContentSetter(dojo.mixin(_21,{content:_20,node:_1f}));
return op.set();
}
};
})();
}


//require dijit.layout.ContentPane

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


if(!dojo._hasResource["dijit.layout.ContentPane"]){
dojo._hasResource["dijit.layout.ContentPane"]=true;
dojo.provide("dijit.layout.ContentPane");
dojo.require("dijit._Widget");
dojo.require("dijit._Contained");
dojo.require("dijit.layout._LayoutWidget");
dojo.require("dojo.parser");
dojo.require("dojo.string");
dojo.require("dojo.html");
dojo.requireLocalization("dijit","loading",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
dojo.declare("dijit.layout.ContentPane",dijit._Widget,{href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",doLayout:true,ioArgs:{},isContainer:true,postMixInProperties:function(){
this.inherited(arguments);
var _1=dojo.i18n.getLocalization("dijit","loading",this.lang);
this.loadingMessage=dojo.string.substitute(this.loadingMessage,_1);
this.errorMessage=dojo.string.substitute(this.errorMessage,_1);
if(!this.href&&this.srcNodeRef&&this.srcNodeRef.innerHTML){
this.isLoaded=true;
}
},buildRendering:function(){
this.inherited(arguments);
if(!this.containerNode){
this.containerNode=this.domNode;
}
},postCreate:function(){
this.domNode.title="";
if(!dijit.hasWaiRole(this.domNode)){
dijit.setWaiRole(this.domNode,"group");
}
dojo.addClass(this.domNode,this.baseClass);
},startup:function(){
if(this._started){
return;
}
if(this.isLoaded){
dojo.forEach(this.getChildren(),function(_2){
_2.startup();
});
if(this.doLayout){
this._checkIfSingleChild();
}
if(!this._singleChild||!dijit._Contained.prototype.getParent.call(this)){
this._scheduleLayout();
}
}
this._loadCheck();
this.inherited(arguments);
},_checkIfSingleChild:function(){
var _3=dojo.query(">",this.containerNode),_4=_3.filter(function(_5){
return dojo.hasAttr(_5,"dojoType")||dojo.hasAttr(_5,"widgetId");
}),_6=dojo.filter(_4.map(dijit.byNode),function(_7){
return _7&&_7.domNode&&_7.resize;
});
if(_3.length==_4.length&&_6.length==1){
this._singleChild=_6[0];
}else{
delete this._singleChild;
}
},setHref:function(_8){
dojo.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use attr('href', ...) instead.","","2.0");
return this.attr("href",_8);
},_setHrefAttr:function(_9){
this.cancel();
this.href=_9;
if(this._created&&(this.preload||this._isShown())){
return this.refresh();
}else{
this._hrefChanged=true;
}
},setContent:function(_a){
dojo.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use attr('content', ...) instead.","","2.0");
this.attr("content",_a);
},_setContentAttr:function(_b){
this.href="";
this.cancel();
this._setContent(_b||"");
this._isDownloaded=false;
},_getContentAttr:function(){
return this.containerNode.innerHTML;
},cancel:function(){
if(this._xhrDfd&&(this._xhrDfd.fired==-1)){
this._xhrDfd.cancel();
}
delete this._xhrDfd;
},uninitialize:function(){
if(this._beingDestroyed){
this.cancel();
}
},destroyRecursive:function(_c){
if(this._beingDestroyed){
return;
}
this._beingDestroyed=true;
this.inherited(arguments);
},resize:function(_d){
dojo.marginBox(this.domNode,_d);
var _e=this.containerNode,mb=dojo.mixin(dojo.marginBox(_e),_d||{});
var cb=(this._contentBox=dijit.layout.marginBox2contentBox(_e,mb));
if(this._singleChild&&this._singleChild.resize){
this._singleChild.resize({w:cb.w,h:cb.h});
}
},_isShown:function(){
if("open" in this){
return this.open;
}else{
var _11=this.domNode;
return (_11.style.display!="none")&&(_11.style.visibility!="hidden")&&!dojo.hasClass(_11,"dijitHidden");
}
},_onShow:function(){
if(this._needLayout){
this._layoutChildren();
}
this._loadCheck();
if(this.onShow){
this.onShow();
}
},_loadCheck:function(){
if((this.href&&!this._xhrDfd)&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)&&(this.preload||this._isShown())){
delete this._hrefChanged;
this.refresh();
}
},refresh:function(){
this.cancel();
this._setContent(this.onDownloadStart(),true);
var _12=this;
var _13={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};
if(dojo.isObject(this.ioArgs)){
dojo.mixin(_13,this.ioArgs);
}
var _14=(this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_13));
_14.addCallback(function(_15){
try{
_12._isDownloaded=true;
_12._setContent(_15,false);
_12.onDownloadEnd();
}
catch(err){
_12._onError("Content",err);
}
delete _12._xhrDfd;
return _15;
});
_14.addErrback(function(err){
if(!_14.canceled){
_12._onError("Download",err);
}
delete _12._xhrDfd;
return err;
});
},_onLoadHandler:function(_17){
this.isLoaded=true;
try{
this.onLoad(_17);
}
catch(e){
console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);
}
},_onUnloadHandler:function(){
this.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 _18=this._contentSetter;
dojo.forEach(this.getChildren(),function(_19){
if(_19.destroyRecursive){
_19.destroyRecursive();
}
});
if(_18){
dojo.forEach(_18.parseResults,function(_1a){
if(_1a.destroyRecursive&&_1a.domNode&&_1a.domNode.parentNode==dojo.body()){
_1a.destroyRecursive();
}
});
delete _18.parseResults;
}
dojo.html._emptyNode(this.containerNode);
},_setContent:function(_1b,_1c){
this.destroyDescendants();
delete this._singleChild;
var _1d=this._contentSetter;
if(!(_1d&&_1d instanceof dojo.html._ContentSetter)){
_1d=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){
var _1f=this.onContentError(e);
try{
this.containerNode.innerHTML=_1f;
}
catch(e){
console.error("Fatal "+this.id+" could not change content due to "+e.message,e);
}
})});
}
var _20=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad},this._contentSetterParams||{});
dojo.mixin(_1d,_20);
_1d.set((dojo.isObject(_1b)&&_1b.domNode)?_1b.domNode:_1b);
delete this._contentSetterParams;
if(!_1c){
dojo.forEach(this.getChildren(),function(_21){
_21.startup();
});
if(this.doLayout){
this._checkIfSingleChild();
}
this._scheduleLayout();
this._onLoadHandler(_1b);
}
},_onError:function(_22,err,_24){
var _25=this["on"+_22+"Error"].call(this,err);
if(_24){
console.error(_24,err);
}else{
if(_25){
this._setContent(_25,true);
}
}
},_scheduleLayout:function(){
if(this._isShown()){
this._layoutChildren();
}else{
this._needLayout=true;
}
},_layoutChildren:function(){
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(_27){
if(_27.resize){
_27.resize();
}
});
}
delete this._needLayout;
},onLoad:function(_28){
},onUnload:function(){
},onDownloadStart:function(){
return this.loadingMessage;
},onContentError:function(_29){
},onDownloadError:function(_2a){
return this.errorMessage;
},onDownloadEnd:function(){
}});
}


//require dijit.TooltipDialog

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


if(!dojo._hasResource["dijit.TooltipDialog"]){
dojo._hasResource["dijit.TooltipDialog"]=true;
dojo.provide("dijit.TooltipDialog");
dojo.require("dijit.layout.ContentPane");
dojo.require("dijit._Templated");
dojo.require("dijit.form._FormMixin");
dojo.require("dijit._DialogMixin");
dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:null,templateString:"<div waiRole=\"presentation\">\n\t<div class=\"dijitTooltipContainer\" waiRole=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"-1\" waiRole=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" waiRole=\"presentation\"></div>\n</div>\n",postCreate:function(){
this.inherited(arguments);
this.connect(this.containerNode,"onkeypress","_onKey");
this.containerNode.title=this.title;
},orient:function(_1,_2,_3){
var c=this._currentOrientClass;
if(c){
dojo.removeClass(this.domNode,c);
}
c="dijitTooltipAB"+(_3.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_3.charAt(0)=="T"?"Below":"Above");
dojo.addClass(this.domNode,c);
this._currentOrientClass=c;
},onOpen:function(_5){
this.orient(this.domNode,_5.aroundCorner,_5.corner);
this._onShow();
if(this.autofocus){
this._getFocusItems(this.containerNode);
dijit.focus(this._firstFocusItem);
}
},_onKey:function(_6){
var _7=_6.target;
var dk=dojo.keys;
if(_6.charOrCode===dk.TAB){
this._getFocusItems(this.containerNode);
}
var _9=(this._firstFocusItem==this._lastFocusItem);
if(_6.charOrCode==dk.ESCAPE){
this.onCancel();
dojo.stopEvent(_6);
}else{
if(_7==this._firstFocusItem&&_6.shiftKey&&_6.charOrCode===dk.TAB){
if(!_9){
dijit.focus(this._lastFocusItem);
}
dojo.stopEvent(_6);
}else{
if(_7==this._lastFocusItem&&_6.charOrCode===dk.TAB&&!_6.shiftKey){
if(!_9){
dijit.focus(this._firstFocusItem);
}
dojo.stopEvent(_6);
}else{
if(_6.charOrCode===dk.TAB){
_6.stopPropagation();
}
}
}
}
}});
}


//require dijit.Dialog

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


if(!dojo._hasResource["dijit.Dialog"]){
dojo._hasResource["dijit.Dialog"]=true;
dojo.provide("dijit.Dialog");
dojo.require("dojo.dnd.move");
dojo.require("dojo.dnd.TimedMoveable");
dojo.require("dojo.fx");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("dijit.form._FormMixin");
dojo.require("dijit._DialogMixin");
dojo.require("dijit.DialogUnderlay");
dojo.require("dijit.layout.ContentPane");
dojo.requireLocalization("dijit","common",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{templateString:null,templateString:"<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel, onmouseenter: _onCloseEnter, onmouseleave: _onCloseLeave\" title=\"${buttonCancel}\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n",attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}]}),open:false,duration:dijit.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,postMixInProperties:function(){
var _1=dojo.i18n.getLocalization("dijit","common");
dojo.mixin(this,_1);
this.inherited(arguments);
},postCreate:function(){
dojo.style(this.domNode,{visibility:"hidden",position:"absolute",display:"",top:"-9999px"});
dojo.body().appendChild(this.domNode);
this.inherited(arguments);
this.connect(this,"onExecute","hide");
this.connect(this,"onCancel","hide");
this._modalconnects=[];
},onLoad:function(){
this._position();
this.inherited(arguments);
},_endDrag:function(e){
if(e&&e.node&&e.node===this.domNode){
var vp=dijit.getViewport();
var p=e._leftTop||dojo.coords(e.node,true);
this._relativePosition={t:p.t-vp.t,l:p.l-vp.l};
}
},_setup:function(){
var _5=this.domNode;
if(this.titleBar&&this.draggable){
this._moveable=(dojo.isIE==6)?new dojo.dnd.TimedMoveable(_5,{handle:this.titleBar}):new dojo.dnd.Moveable(_5,{handle:this.titleBar,timeout:0});
dojo.subscribe("/dnd/move/stop",this,"_endDrag");
}else{
dojo.addClass(_5,"dijitDialogFixed");
}
var _6={dialogId:this.id,"class":dojo.map(this["class"].split(/\s/),function(s){
return s+"_underlay";
}).join(" ")};
var _8=dijit._underlay;
if(!_8){
_8=dijit._underlay=new dijit.DialogUnderlay(_6);
}
this._fadeIn=dojo.fadeIn({node:_5,duration:this.duration,beforeBegin:function(){
_8.attr(_6);
_8.show();
},onEnd:dojo.hitch(this,function(){
if(this.autofocus){
this._getFocusItems(this.domNode);
dijit.focus(this._firstFocusItem);
}
})});
this._fadeOut=dojo.fadeOut({node:_5,duration:this.duration,onEnd:function(){
_5.style.visibility="hidden";
_5.style.top="-9999px";
dijit._underlay.hide();
}});
},uninitialize:function(){
var _9=false;
if(this._fadeIn&&this._fadeIn.status()=="playing"){
_9=true;
this._fadeIn.stop();
}
if(this._fadeOut&&this._fadeOut.status()=="playing"){
_9=true;
this._fadeOut.stop();
}
if(this.open||_9){
dijit._underlay.hide();
}
if(this._moveable){
this._moveable.destroy();
}
},_size:function(){
var mb=dojo.marginBox(this.domNode);
var _b=dijit.getViewport();
if(mb.w>=_b.w||mb.h>=_b.h){
dojo.style(this.containerNode,{width:Math.min(mb.w,Math.floor(_b.w*0.75))+"px",height:Math.min(mb.h,Math.floor(_b.h*0.75))+"px",overflow:"auto",position:"relative"});
}
},_position:function(){
if(!dojo.hasClass(dojo.body(),"dojoMove")){
var _c=this.domNode;
var _d=dijit.getViewport();
var p=this._relativePosition;
var mb=p?null:dojo.marginBox(_c);
dojo.style(_c,{left:Math.floor(_d.l+(p?p.l:(_d.w-mb.w)/2))+"px",top:Math.floor(_d.t+(p?p.t:(_d.h-mb.h)/2))+"px"});
}
},_onKey:function(evt){
if(evt.charOrCode){
var dk=dojo.keys;
var _12=evt.target;
if(evt.charOrCode===dk.TAB){
this._getFocusItems(this.domNode);
}
var _13=(this._firstFocusItem==this._lastFocusItem);
if(_12==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){
if(!_13){
dijit.focus(this._lastFocusItem);
}
dojo.stopEvent(evt);
}else{
if(_12==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){
if(!_13){
dijit.focus(this._firstFocusItem);
}
dojo.stopEvent(evt);
}else{
while(_12){
if(_12==this.domNode){
if(evt.charOrCode==dk.ESCAPE){
this.onCancel();
}else{
return;
}
}
_12=_12.parentNode;
}
if(evt.charOrCode!==dk.TAB){
dojo.stopEvent(evt);
}else{
if(!dojo.isOpera){
try{
this._firstFocusItem.focus();
}
catch(e){
}
}
}
}
}
}
},show:function(){
if(this.open){
return;
}
if(!this._alreadyInitialized){
this._setup();
this._alreadyInitialized=true;
}
if(this._fadeOut.status()=="playing"){
this._fadeOut.stop();
}
this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));
this._modalconnects.push(dojo.connect(window,"onresize",this,function(){
var _14=dijit.getViewport();
if(!this._oldViewport||_14.h!=this._oldViewport.h||_14.w!=this._oldViewport.w){
this.layout();
this._oldViewport=_14;
}
}));
this._modalconnects.push(dojo.connect(dojo.doc.documentElement,"onkeypress",this,"_onKey"));
dojo.style(this.domNode,{opacity:0,visibility:""});
dojo.style(this.containerNode,{width:"auto",height:"auto"});
this.open=true;
this._onShow();
this._size();
this._position();
this._fadeIn.play();
this._savedFocus=dijit.getFocus(this);
},hide:function(){
if(!this._alreadyInitialized){
return;
}
if(this._fadeIn.status()=="playing"){
this._fadeIn.stop();
}
this._fadeOut.play();
if(this._scrollConnected){
this._scrollConnected=false;
}
dojo.forEach(this._modalconnects,dojo.disconnect);
this._modalconnects=[];
if(this.refocus){
this.connect(this._fadeOut,"onEnd",dojo.hitch(dijit,"focus",this._savedFocus));
}
if(this._relativePosition){
delete this._relativePosition;
}
this.open=false;
},layout:function(){
if(this.domNode.style.visibility!="hidden"){
dijit._underlay.layout();
this._position();
}
},destroy:function(){
dojo.forEach(this._modalconnects,dojo.disconnect);
if(this.refocus&&this.open){
setTimeout(dojo.hitch(dijit,"focus",this._savedFocus),25);
}
this.inherited(arguments);
},_onCloseEnter:function(){
dojo.addClass(this.closeButtonNode,"dijitDialogCloseIcon-hover");
},_onCloseLeave:function(){
dojo.removeClass(this.closeButtonNode,"dijitDialogCloseIcon-hover");
}});
dojo.require("dijit.TooltipDialog");
}


//require dojox.fx._base

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


if(!dojo._hasResource["dojox.fx._base"]){
dojo._hasResource["dojox.fx._base"]=true;
dojo.provide("dojox.fx._base");
dojo.require("dojo.fx");
dojo.mixin(dojox.fx,{anim:dojo.anim,animateProperty:dojo.animateProperty,fadeTo:dojo._fade,fadeIn:dojo.fadeIn,fadeOut:dojo.fadeOut,combine:dojo.fx.combine,chain:dojo.fx.chain,slideTo:dojo.fx.slideTo,wipeIn:dojo.fx.wipeIn,wipeOut:dojo.fx.wipeOut});
dojox.fx.sizeTo=function(_1){
var _2=_1.node=dojo.byId(_1.node);
var _3=_1.method||"chain";
if(!_1.duration){
_1.duration=500;
}
if(_3=="chain"){
_1.duration=Math.floor(_1.duration/2);
}
var _4,_5,_6,_7,_8,_9=null;
var _a=(function(n){
return function(){
var cs=dojo.getComputedStyle(n);
var _d=cs.position;
_4=(_d=="absolute"?n.offsetTop:parseInt(cs.top)||0);
_6=(_d=="absolute"?n.offsetLeft:parseInt(cs.left)||0);
_8=parseInt(cs.width);
_9=parseInt(cs.height);
_7=_6-Math.floor((_1.width-_8)/2);
_5=_4-Math.floor((_1.height-_9)/2);
if(_d!="absolute"&&_d!="relative"){
var _e=dojo.coords(n,true);
_4=_e.y;
_6=_e.x;
n.style.position="absolute";
n.style.top=_4+"px";
n.style.left=_6+"px";
}
};
})(_2);
_a();
var _f=dojo.animateProperty(dojo.mixin({properties:{height:{start:_9,end:_1.height||0,unit:"px"},top:{start:_4,end:_5}}},_1));
var _10=dojo.animateProperty(dojo.mixin({properties:{width:{start:_8,end:_1.width||0,unit:"px"},left:{start:_6,end:_7}}},_1));
var _11=dojo.fx[(_1.method=="combine"?"combine":"chain")]([_f,_10]);
dojo.connect(_11,"beforeBegin",_11,_a);
return _11;
};
dojox.fx.slideBy=function(_12){
var _13=_12.node=dojo.byId(_12.node);
var top=null;
var _15=null;
var _16=(function(n){
return function(){
var cs=dojo.getComputedStyle(n);
var pos=cs.position;
top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);
_15=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);
if(pos!="absolute"&&pos!="relative"){
var ret=dojo.coords(n,true);
top=ret.y;
_15=ret.x;
n.style.position="absolute";
n.style.top=top+"px";
n.style.left=_15+"px";
}
};
})(_13);
_16();
var _1b=dojo.animateProperty(dojo.mixin({properties:{top:top+(_12.top||0),left:_15+(_12.left||0)}},_12));
dojo.connect(_1b,"beforeBegin",_1b,_16);
return _1b;
};
dojox.fx.crossFade=function(_1c){
if(dojo.isArray(_1c.nodes)){
var _1d=_1c.nodes[0]=dojo.byId(_1c.nodes[0]);
var op1=dojo.style(_1d,"opacity");
var _1f=_1c.nodes[1]=dojo.byId(_1c.nodes[1]);
var op2=dojo.style(_1f,"opacity");
var _21=dojo.fx.combine([dojo[(op1==0?"fadeIn":"fadeOut")](dojo.mixin({node:_1d},_1c)),dojo[(op1==0?"fadeOut":"fadeIn")](dojo.mixin({node:_1f},_1c))]);
return _21;
}else{
return false;
}
};
dojox.fx.highlight=function(_22){
var _23=_22.node=dojo.byId(_22.node);
_22.duration=_22.duration||400;
var _24=_22.color||"#ffff99";
var _25=dojo.style(_23,"backgroundColor");
var _26=(_25=="transparent"||_25=="rgba(0, 0, 0, 0)")?_25:false;
var _27=dojo.animateProperty(dojo.mixin({properties:{backgroundColor:{start:_24,end:_25}}},_22));
if(_26){
dojo.connect(_27,"onEnd",_27,function(){
_23.style.backgroundColor=_26;
});
}
return _27;
};
dojox.fx.wipeTo=function(_28){
_28.node=dojo.byId(_28.node);
var _29=_28.node,s=_29.style;
var dir=(_28.width?"width":"height");
var _2c=_28[dir];
var _2d={};
_2d[dir]={start:function(){
s.overflow="hidden";
if(s.visibility=="hidden"||s.display=="none"){
s[dir]="1px";
s.display="";
s.visibility="";
return 1;
}else{
var now=dojo.style(_29,dir);
return Math.max(now,1);
}
},end:_2c,unit:"px"};
var _2f=dojo.animateProperty(dojo.mixin({properties:_2d},_28));
return _2f;
};
}


//require dojox.image.Lightbox

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


if(!dojo._hasResource["dojox.image.Lightbox"]){
dojo._hasResource["dojox.image.Lightbox"]=true;
dojo.provide("dojox.image.Lightbox");
dojo.experimental("dojox.image.Lightbox");
dojo.require("dijit.Dialog");
dojo.require("dojox.fx._base");
dojo.declare("dojox.image.Lightbox",dijit._Widget,{group:"",title:"",href:"",duration:500,_allowPassthru:false,_attachedDialog:null,startup:function(){
this.inherited(arguments);
var _1=dijit.byId("dojoxLightboxDialog");
if(_1){
this._attachedDialog=_1;
}else{
this._attachedDialog=new dojox.image.LightboxDialog({id:"dojoxLightboxDialog"});
this._attachedDialog.startup();
}
if(!this.store){
this._addSelf();
this.connect(this.domNode,"onclick","_handleClick");
}
},_addSelf:function(){
this._attachedDialog.addImage({href:this.href,title:this.title},this.group||null);
},_handleClick:function(e){
if(!this._allowPassthru){
e.preventDefault();
}else{
return;
}
this.show();
},show:function(){
this._attachedDialog.show(this);
},disable:function(){
this._allowPassthru=true;
},enable:function(){
this._allowPassthru=false;
}});
dojo.declare("dojox.image.LightboxDialog",dijit.Dialog,{title:"",inGroup:null,imgUrl:dijit._Widget.prototype._blankGif,errorMessage:"Image not found.",adjust:true,_groups:{XnoGroupX:[]},errorImg:dojo.moduleUrl("dojox.image","resources/images/warning.png"),templateString:"<div class=\"dojoxLightbox\" dojoAttachPoint=\"containerNode\">\n\t<div style=\"position:relative\">\n\t\t<div dojoAttachPoint=\"imageContainer\" class=\"dojoxLightboxContainer\">\n\t\t\t<img dojoAttachPoint=\"imgNode\" src=\"${imgUrl}\" class=\"dojoxLightboxImage\" alt=\"${title}\">\n\t\t\t<div class=\"dojoxLightboxFooter\" dojoAttachPoint=\"titleNode\">\n\t\t\t\t<div class=\"dijitInline LightboxClose\" dojoAttachPoint=\"closeNode\"></div>\n\t\t\t\t<div class=\"dijitInline LightboxNext\" dojoAttachPoint=\"nextNode\"></div>\t\n\t\t\t\t<div class=\"dijitInline LightboxPrev\" dojoAttachPoint=\"prevNode\"></div>\n\t\t\t\t<div class=\"dojoxLightboxText\"><span dojoAttachPoint=\"textNode\">${title}</span><span dojoAttachPoint=\"groupCount\" class=\"dojoxLightboxGroupText\"></span></div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",startup:function(){
this.inherited(arguments);
this._animConnects=[];
this._clone=dojo.clone(this.imgNode);
this.connect(this.nextNode,"onclick","_nextImage");
this.connect(this.prevNode,"onclick","_prevImage");
this.connect(this.closeNode,"onclick","hide");
this._makeAnims();
this._vp=dijit.getViewport();
return this;
},show:function(_3){
var _t=this;
if(!_t.open){
_t.inherited(arguments);
this._modalconnects.push(dojo.connect(dojo.global,"onscroll",this,"_position"),dojo.connect(dojo.global,"onresize",this,"_position"),dojo.connect(dojo.body(),"onkeypress",this,"_handleKey"));
}
if(this._wasStyled){
dojo.destroy(_t.imgNode);
_t.imgNode=dojo.clone(_t._clone);
dojo.place(_t.imgNode,_t.imageContainer,"first");
_t._makeAnims();
_t._wasStyled=false;
}
dojo.style(_t.imgNode,"opacity","0");
dojo.style(_t.titleNode,"opacity","0");
_t._imageReady=false;
_t.imgNode.src=_3.href;
if((_3.group&&_3!=="XnoGroupX")||_t.inGroup){
if(!_t.inGroup){
_t.inGroup=_t._groups[(_3.group)];
dojo.forEach(_t.inGroup,function(g,i){
if(g.href==_3.href){
_t._positionIndex=i;
}
},_t);
}
if(!_t._positionIndex){
_t._positionIndex=0;
_t.imgNode.src=_t.inGroup[_t._positionIndex].href;
}
_t.groupCount.innerHTML=" ("+(_t._positionIndex+1)+" of "+_t.inGroup.length+")";
_t.prevNode.style.visibility="visible";
_t.nextNode.style.visibility="visible";
}else{
_t.groupCount.innerHTML="";
_t.prevNode.style.visibility="hidden";
_t.nextNode.style.visibility="hidden";
}
_t.textNode.innerHTML=_3.title;
if(!_t._imageReady||_t.imgNode.complete===true){
_t._imgConnect=dojo.connect(_t.imgNode,"onload",_t,function(){
_t._imageReady=true;
_t.resizeTo({w:_t.imgNode.width,h:_t.imgNode.height,duration:_t.duration});
dojo.disconnect(_t._imgConnect);
if(_t._imgError){
dojo.disconnect(_t._imgError);
}
});
_t._imgError=dojo.connect(_t.imgNode,"onerror",_t,function(){
dojo.disconnect(_t._imgError);
_t.imgNode.src=_t.errorImg;
_t._imageReady=true;
_t.textNode.innerHTML=_t.errorMessage;
});
if(dojo.isIE){
_t.imgNode.src=_t.imgNode.src;
}
}else{
_t.resizeTo({w:_t.imgNode.width,h:_t.imgNode.height,duration:1});
}
},_nextImage:function(){
if(!this.inGroup){
return;
}
if(this._positionIndex+1<this.inGroup.length){
this._positionIndex++;
}else{
this._positionIndex=0;
}
this._loadImage();
},_prevImage:function(){
if(this.inGroup){
if(this._positionIndex==0){
this._positionIndex=this.inGroup.length-1;
}else{
this._positionIndex--;
}
this._loadImage();
}
},_loadImage:function(){
this._loadingAnim.play(1);
},_prepNodes:function(){
this._imageReady=false;
this.show({href:this.inGroup[this._positionIndex].href,title:this.inGroup[this._positionIndex].title});
},resizeTo:function(_7){
var _8=((dojo.boxModel=="border-box"))?22:0;
if(this.adjust&&(_7.h+_8+80>this._vp.h||_7.w+_8+50>this._vp.w)){
_7=this._scaleToFit(_7);
}
var _9=dojox.fx.sizeTo({node:this.containerNode,duration:_7.duration||this.duration,width:_7.w+_8,height:_7.h+30+_8});
this.connect(_9,"onEnd","_showImage");
_9.play(15);
},_showImage:function(){
this._showImageAnim.play(1);
},_showNav:function(){
this._showNavAnim.play(1);
},hide:function(){
dojo.fadeOut({node:this.titleNode,duration:200,onEnd:dojo.hitch(this,function(){
this.imgNode.src=this._blankGif;
})}).play(5);
this.inherited(arguments);
this.inGroup=null;
this._positionIndex=null;
},addImage:function(_a,_b){
var g=_b;
if(!_a.href){
return;
}
if(g){
if(!this._groups[g]){
this._groups[g]=[];
}
this._groups[g].push(_a);
}else{
this._groups["XnoGroupX"].push(_a);
}
},_handleKey:function(e){
if(!this.open){
return;
}
var dk=dojo.keys;
var _f=(e.charCode==dk.SPACE?dk.SPACE:e.keyCode);
switch(_f){
case dk.ESCAPE:
this.hide();
break;
case dk.DOWN_ARROW:
case dk.RIGHT_ARROW:
case 78:
this._nextImage();
break;
case dk.UP_ARROW:
case dk.LEFT_ARROW:
case 80:
this._prevImage();
break;
}
},_scaleToFit:function(_10){
var ns={};
if(this._vp.h>this._vp.w){
ns.w=this._vp.w-70;
ns.h=ns.w*(_10.h/_10.w);
}else{
ns.h=this._vp.h-80;
ns.w=ns.h*(_10.w/_10.h);
}
this._wasStyled=true;
var s=this.imgNode.style;
s.height=ns.h+"px";
s.width=ns.w+"px";
ns.duration=_10.duration;
return ns;
},_position:function(e){
this.inherited(arguments);
this._vp=dijit.getViewport();
},_makeAnims:function(){
dojo.forEach(this._animConnects,dojo.disconnect);
this._animConnects=[];
this._showImageAnim=dojo.fadeIn({node:this.imgNode,duration:this.duration});
this._animConnects.push(dojo.connect(this._showImageAnim,"onEnd",this,"_showNav"));
this._loadingAnim=dojo.fx.combine([dojo.fadeOut({node:this.imgNode,duration:175}),dojo.fadeOut({node:this.titleNode,duration:175})]);
this._animConnects.push(dojo.connect(this._loadingAnim,"onEnd",this,"_prepNodes"));
this._showNavAnim=dojo.fadeIn({node:this.titleNode,duration:225});
}});
}


//require dijit.Tooltip

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


if(!dojo._hasResource["dijit.Tooltip"]){
dojo._hasResource["dijit.Tooltip"]=true;
dojo.provide("dijit.Tooltip");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:dijit.defaultDuration,templateString:"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\n\t<div class=\"dijitTooltipConnector\"></div>\n</div>\n",postCreate:function(){
dojo.body().appendChild(this.domNode);
this.bgIframe=new dijit.BackgroundIframe(this.domNode);
this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});
this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});
},show:function(_1,_2,_3){
if(this.aroundNode&&this.aroundNode===_2){
return;
}
if(this.fadeOut.status()=="playing"){
this._onDeck=arguments;
return;
}
this.containerNode.innerHTML=_1;
this.domNode.style.top=(this.domNode.offsetTop+1)+"px";
var _4={};
var _5=this.isLeftToRight();
dojo.forEach((_3&&_3.length)?_3:dijit.Tooltip.defaultPosition,function(_6){
switch(_6){
case "after":
_4[_5?"BR":"BL"]=_5?"BL":"BR";
break;
case "before":
_4[_5?"BL":"BR"]=_5?"BR":"BL";
break;
case "below":
_4[_5?"BL":"BR"]=_5?"TL":"TR";
_4[_5?"BR":"BL"]=_5?"TR":"TL";
break;
case "above":
default:
_4[_5?"TL":"TR"]=_5?"BL":"BR";
_4[_5?"TR":"TL"]=_5?"BR":"BL";
break;
}
});
var _7=dijit.placeOnScreenAroundElement(this.domNode,_2,_4,dojo.hitch(this,"orient"));
dojo.style(this.domNode,"opacity",0);
this.fadeIn.play();
this.isShowingNow=true;
this.aroundNode=_2;
},orient:function(_8,_9,_a){
_8.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_9+"-"+_a];
},_onShow:function(){
if(dojo.isIE){
this.domNode.style.filter="";
}
},hide:function(_b){
if(this._onDeck&&this._onDeck[1]==_b){
this._onDeck=null;
}else{
if(this.aroundNode===_b){
this.fadeIn.stop();
this.isShowingNow=false;
this.aroundNode=null;
this.fadeOut.play();
}else{
}
}
},_onHide:function(){
this.domNode.style.cssText="";
if(this._onDeck){
this.show.apply(this,this._onDeck);
this._onDeck=null;
}
}});
dijit.showTooltip=function(_c,_d,_e){
if(!dijit._masterTT){
dijit._masterTT=new dijit._MasterTooltip();
}
return dijit._masterTT.show(_c,_d,_e);
};
dijit.hideTooltip=function(_f){
if(!dijit._masterTT){
dijit._masterTT=new dijit._MasterTooltip();
}
return dijit._masterTT.hide(_f);
};
dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(ids){
this._connectNodes=[];
this.connectId=dojo.isArrayLike(ids)?ids:[ids];
dojo.forEach(this.connectId,function(id){
var _12=dojo.byId(id);
if(_12){
this._connectNodes.push(_12);
dojo.forEach(["onMouseEnter","onMouseLeave","onFocus","onBlur"],function(_13){
this.connect(_12,_13.toLowerCase(),"_"+_13);
},this);
if(dojo.isIE){
_12.style.zoom=1;
}
}
},this);
},postCreate:function(){
dojo.addClass(this.domNode,"dijitTooltipData");
},_onMouseEnter:function(e){
this._onHover(e);
},_onMouseLeave:function(e){
this._onUnHover(e);
},_onFocus:function(e){
this._focus=true;
this._onHover(e);
this.inherited(arguments);
},_onBlur:function(e){
this._focus=false;
this._onUnHover(e);
this.inherited(arguments);
},_onHover:function(e){
if(!this._showTimer){
var _19=e.target;
this._showTimer=setTimeout(dojo.hitch(this,function(){
this.open(_19);
}),this.showDelay);
}
},_onUnHover:function(e){
if(this._focus){
return;
}
if(this._showTimer){
clearTimeout(this._showTimer);
delete this._showTimer;
}
this.close();
},open:function(_1b){
_1b=_1b||this._connectNodes[0];
if(!_1b){
return;
}
if(this._showTimer){
clearTimeout(this._showTimer);
delete this._showTimer;
}
dijit.showTooltip(this.label||this.domNode.innerHTML,_1b,this.position);
this._connectNode=_1b;
},close:function(){
if(this._connectNode){
dijit.hideTooltip(this._connectNode);
delete this._connectNode;
}
if(this._showTimer){
clearTimeout(this._showTimer);
delete this._showTimer;
}
},uninitialize:function(){
this.close();
}});
dijit.Tooltip.defaultPosition=["after","before"];
}


//require dojo.i18n

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


if(!dojo._hasResource["dojo.i18n"]){
dojo._hasResource["dojo.i18n"]=true;
dojo.provide("dojo.i18n");
dojo.i18n.getLocalization=function(_1,_2,_3){
_3=dojo.i18n.normalizeLocale(_3);
var _4=_3.split("-");
var _5=[_1,"nls",_2].join(".");
var _6=dojo._loadedModules[_5];
if(_6){
var _7;
for(var i=_4.length;i>0;i--){
var _9=_4.slice(0,i).join("_");
if(_6[_9]){
_7=_6[_9];
break;
}
}
if(!_7){
_7=_6.ROOT;
}
if(_7){
var _a=function(){
};
_a.prototype=_7;
return new _a();
}
}
throw new Error("Bundle not found: "+_2+" in "+_1+" , locale="+_3);
};
dojo.i18n.normalizeLocale=function(_b){
var _c=_b?_b.toLowerCase():dojo.locale;
if(_c=="root"){
_c="ROOT";
}
return _c;
};
dojo.i18n._requireLocalization=function(_d,_e,_f,_10){
var _11=dojo.i18n.normalizeLocale(_f);
var _12=[_d,"nls",_e].join(".");
var _13="";
if(_10){
var _14=_10.split(",");
for(var i=0;i<_14.length;i++){
if(_11["indexOf"](_14[i])==0){
if(_14[i].length>_13.length){
_13=_14[i];
}
}
}
if(!_13){
_13="ROOT";
}
}
var _16=_10?_13:_11;
var _17=dojo._loadedModules[_12];
var _18=null;
if(_17){
if(dojo.config.localizationComplete&&_17._built){
return;
}
var _19=_16.replace(/-/g,"_");
var _1a=_12+"."+_19;
_18=dojo._loadedModules[_1a];
}
if(!_18){
_17=dojo["provide"](_12);
var _1b=dojo._getModuleSymbols(_d);
var _1c=_1b.concat("nls").join("/");
var _1d;
dojo.i18n._searchLocalePath(_16,_10,function(loc){
var _1f=loc.replace(/-/g,"_");
var _20=_12+"."+_1f;
var _21=false;
if(!dojo._loadedModules[_20]){
dojo["provide"](_20);
var _22=[_1c];
if(loc!="ROOT"){
_22.push(loc);
}
_22.push(_e);
var _23=_22.join("/")+".js";
_21=dojo._loadPath(_23,null,function(_24){
var _25=function(){
};
_25.prototype=_1d;
_17[_1f]=new _25();
for(var j in _24){
_17[_1f][j]=_24[j];
}
});
}else{
_21=true;
}
if(_21&&_17[_1f]){
_1d=_17[_1f];
}else{
_17[_1f]=_1d;
}
if(_10){
return true;
}
});
}
if(_10&&_11!=_13){
_17[_11.replace(/-/g,"_")]=_17[_13.replace(/-/g,"_")];
}
};
(function(){
var _27=dojo.config.extraLocale;
if(_27){
if(!_27 instanceof Array){
_27=[_27];
}
var req=dojo.i18n._requireLocalization;
dojo.i18n._requireLocalization=function(m,b,_2b,_2c){
req(m,b,_2b,_2c);
if(_2b){
return;
}
for(var i=0;i<_27.length;i++){
req(m,b,_27[i],_2c);
}
};
}
})();
dojo.i18n._searchLocalePath=function(_2e,_2f,_30){
_2e=dojo.i18n.normalizeLocale(_2e);
var _31=_2e.split("-");
var _32=[];
for(var i=_31.length;i>0;i--){
_32.push(_31.slice(0,i).join("-"));
}
_32.push(false);
if(_2f){
_32.reverse();
}
for(var j=_32.length-1;j>=0;j--){
var loc=_32[j]||"ROOT";
var _36=_30(loc);
if(_36){
break;
}
}
};
dojo.i18n._preloadLocalizations=function(_37,_38){
function _39(_3a){
_3a=dojo.i18n.normalizeLocale(_3a);
dojo.i18n._searchLocalePath(_3a,true,function(loc){
for(var i=0;i<_38.length;i++){
if(_38[i]==loc){
dojo["require"](_37+"_"+loc);
return true;
}
}
return false;
});
};
_39();
var _3d=dojo.config.extraLocale||[];
for(var i=0;i<_3d.length;i++){
_39(_3d[i]);
}
};
}


//require dojo.regexp

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


if(!dojo._hasResource["dojo.regexp"]){
dojo._hasResource["dojo.regexp"]=true;
dojo.provide("dojo.regexp");
dojo.regexp.escapeString=function(_1,_2){
return _1.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){
if(_2&&_2.indexOf(ch)!=-1){
return ch;
}
return "\\"+ch;
});
};
dojo.regexp.buildGroupRE=function(_4,re,_6){
if(!(_4 instanceof Array)){
return re(_4);
}
var b=[];
for(var i=0;i<_4.length;i++){
b.push(re(_4[i]));
}
return dojo.regexp.group(b.join("|"),_6);
};
dojo.regexp.group=function(_9,_a){
return "("+(_a?"?:":"")+_9+")";
};
}


//require dojo.number

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


if(!dojo._hasResource["dojo.number"]){
dojo._hasResource["dojo.number"]=true;
dojo.provide("dojo.number");
dojo.require("dojo.i18n");
dojo.requireLocalization("dojo.cldr","number",null,"ROOT,ar,ca,cs,da,de,de-de,el,en,en-au,en-gb,en-us,es,es-es,fi,fr,he,hu,it,ja,ja-jp,ko,ko-kr,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-cn,zh-tw");
dojo.require("dojo.string");
dojo.require("dojo.regexp");
dojo.number.format=function(_1,_2){
_2=dojo.mixin({},_2||{});
var _3=dojo.i18n.normalizeLocale(_2.locale);
var _4=dojo.i18n.getLocalization("dojo.cldr","number",_3);
_2.customs=_4;
var _5=_2.pattern||_4[(_2.type||"decimal")+"Format"];
if(isNaN(_1)||Math.abs(_1)==Infinity){
return null;
}
return dojo.number._applyPattern(_1,_5,_2);
};
dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;
dojo.number._applyPattern=function(_6,_7,_8){
_8=_8||{};
var _9=_8.customs.group;
var _a=_8.customs.decimal;
var _b=_7.split(";");
var _c=_b[0];
_7=_b[(_6<0)?1:0]||("-"+_c);
if(_7.indexOf("%")!=-1){
_6*=100;
}else{
if(_7.indexOf("‰")!=-1){
_6*=1000;
}else{
if(_7.indexOf("¤")!=-1){
_9=_8.customs.currencyGroup||_9;
_a=_8.customs.currencyDecimal||_a;
_7=_7.replace(/\u00a4{1,3}/,function(_d){
var _e=["symbol","currency","displayName"][_d.length-1];
return _8[_e]||_8.currency||"";
});
}else{
if(_7.indexOf("E")!=-1){
throw new Error("exponential notation not supported");
}
}
}
}
var _f=dojo.number._numberPatternRE;
var _10=_c.match(_f);
if(!_10){
throw new Error("unable to find a number expression in pattern: "+_7);
}
if(_8.fractional===false){
_8.places=0;
}
return _7.replace(_f,dojo.number._formatAbsolute(_6,_10[0],{decimal:_a,group:_9,places:_8.places,round:_8.round}));
};
dojo.number.round=function(_11,_12,_13){
var _14=10/(_13||10);
return (_14*+_11).toFixed(_12)/_14;
};
if((0.9).toFixed()==0){
(function(){
var _15=dojo.number.round;
dojo.number.round=function(v,p,m){
var d=Math.pow(10,-p||0),a=Math.abs(v);
if(!v||a>=d||a*Math.pow(10,p+1)<5){
d=0;
}
return _15(v,p,m)+(v>0?d:-d);
};
})();
}
dojo.number._formatAbsolute=function(_1b,_1c,_1d){
_1d=_1d||{};
if(_1d.places===true){
_1d.places=0;
}
if(_1d.places===Infinity){
_1d.places=6;
}
var _1e=_1c.split(".");
var _1f=(_1d.places>=0)?_1d.places:(_1e[1]&&_1e[1].length)||0;
if(!(_1d.round<0)){
_1b=dojo.number.round(_1b,_1f,_1d.round);
}
var _20=String(Math.abs(_1b)).split(".");
var _21=_20[1]||"";
if(_1d.places){
var _22=dojo.isString(_1d.places)&&_1d.places.indexOf(",");
if(_22){
_1d.places=_1d.places.substring(_22+1);
}
_20[1]=dojo.string.pad(_21.substr(0,_1d.places),_1d.places,"0",true);
}else{
if(_1e[1]&&_1d.places!==0){
var pad=_1e[1].lastIndexOf("0")+1;
if(pad>_21.length){
_20[1]=dojo.string.pad(_21,pad,"0",true);
}
var _24=_1e[1].length;
if(_24<_21.length){
_20[1]=_21.substr(0,_24);
}
}else{
if(_20[1]){
_20.pop();
}
}
}
var _25=_1e[0].replace(",","");
pad=_25.indexOf("0");
if(pad!=-1){
pad=_25.length-pad;
if(pad>_20[0].length){
_20[0]=dojo.string.pad(_20[0],pad);
}
if(_25.indexOf("#")==-1){
_20[0]=_20[0].substr(_20[0].length-pad);
}
}
var _26=_1e[0].lastIndexOf(",");
var _27,_28;
if(_26!=-1){
_27=_1e[0].length-_26-1;
var _29=_1e[0].substr(0,_26);
_26=_29.lastIndexOf(",");
if(_26!=-1){
_28=_29.length-_26-1;
}
}
var _2a=[];
for(var _2b=_20[0];_2b;){
var off=_2b.length-_27;
_2a.push((off>0)?_2b.substr(off):_2b);
_2b=(off>0)?_2b.slice(0,off):"";
if(_28){
_27=_28;
delete _28;
}
}
_20[0]=_2a.reverse().join(_1d.group||",");
return _20.join(_1d.decimal||".");
};
dojo.number.regexp=function(_2d){
return dojo.number._parseInfo(_2d).regexp;
};
dojo.number._parseInfo=function(_2e){
_2e=_2e||{};
var _2f=dojo.i18n.normalizeLocale(_2e.locale);
var _30=dojo.i18n.getLocalization("dojo.cldr","number",_2f);
var _31=_2e.pattern||_30[(_2e.type||"decimal")+"Format"];
var _32=_30.group;
var _33=_30.decimal;
var _34=1;
if(_31.indexOf("%")!=-1){
_34/=100;
}else{
if(_31.indexOf("‰")!=-1){
_34/=1000;
}else{
var _35=_31.indexOf("¤")!=-1;
if(_35){
_32=_30.currencyGroup||_32;
_33=_30.currencyDecimal||_33;
}
}
}
var _36=_31.split(";");
if(_36.length==1){
_36.push("-"+_36[0]);
}
var re=dojo.regexp.buildGroupRE(_36,function(_38){
_38="(?:"+dojo.regexp.escapeString(_38,".")+")";
return _38.replace(dojo.number._numberPatternRE,function(_39){
var _3a={signed:false,separator:_2e.strict?_32:[_32,""],fractional:_2e.fractional,decimal:_33,exponent:false};
var _3b=_39.split(".");
var _3c=_2e.places;
if(_3b.length==1||_3c===0){
_3a.fractional=false;
}else{
if(_3c===undefined){
_3c=_2e.pattern?_3b[1].lastIndexOf("0")+1:Infinity;
}
if(_3c&&_2e.fractional==undefined){
_3a.fractional=true;
}
if(!_2e.places&&(_3c<_3b[1].length)){
_3c+=","+_3b[1].length;
}
_3a.places=_3c;
}
var _3d=_3b[0].split(",");
if(_3d.length>1){
_3a.groupSize=_3d.pop().length;
if(_3d.length>1){
_3a.groupSize2=_3d.pop().length;
}
}
return "("+dojo.number._realNumberRegexp(_3a)+")";
});
},true);
if(_35){
re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_3e,_3f,_40,_41){
var _42=["symbol","currency","displayName"][_40.length-1];
var _43=dojo.regexp.escapeString(_2e[_42]||_2e.currency||"");
_3f=_3f?"[\\s\\xa0]":"";
_41=_41?"[\\s\\xa0]":"";
if(!_2e.strict){
if(_3f){
_3f+="*";
}
if(_41){
_41+="*";
}
return "(?:"+_3f+_43+_41+")?";
}
return _3f+_43+_41;
});
}
return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_32,decimal:_33,factor:_34};
};
dojo.number.parse=function(_44,_45){
var _46=dojo.number._parseInfo(_45);
var _47=(new RegExp("^"+_46.regexp+"$")).exec(_44);
if(!_47){
return NaN;
}
var _48=_47[1];
if(!_47[1]){
if(!_47[2]){
return NaN;
}
_48=_47[2];
_46.factor*=-1;
}
_48=_48.replace(new RegExp("["+_46.group+"\\s\\xa0"+"]","g"),"").replace(_46.decimal,".");
return _48*_46.factor;
};
dojo.number._realNumberRegexp=function(_49){
_49=_49||{};
if(!("places" in _49)){
_49.places=Infinity;
}
if(typeof _49.decimal!="string"){
_49.decimal=".";
}
if(!("fractional" in _49)||/^0/.test(_49.places)){
_49.fractional=[true,false];
}
if(!("exponent" in _49)){
_49.exponent=[true,false];
}
if(!("eSigned" in _49)){
_49.eSigned=[true,false];
}
var _4a=dojo.number._integerRegexp(_49);
var _4b=dojo.regexp.buildGroupRE(_49.fractional,function(q){
var re="";
if(q&&(_49.places!==0)){
re="\\"+_49.decimal;
if(_49.places==Infinity){
re="(?:"+re+"\\d+)?";
}else{
re+="\\d{"+_49.places+"}";
}
}
return re;
},true);
var _4e=dojo.regexp.buildGroupRE(_49.exponent,function(q){
if(q){
return "([eE]"+dojo.number._integerRegexp({signed:_49.eSigned})+")";
}
return "";
});
var _50=_4a+_4b;
if(_4b){
_50="(?:(?:"+_50+")|(?:"+_4b+"))";
}
return _50+_4e;
};
dojo.number._integerRegexp=function(_51){
_51=_51||{};
if(!("signed" in _51)){
_51.signed=[true,false];
}
if(!("separator" in _51)){
_51.separator="";
}else{
if(!("groupSize" in _51)){
_51.groupSize=3;
}
}
var _52=dojo.regexp.buildGroupRE(_51.signed,function(q){
return q?"[-+]":"";
},true);
var _54=dojo.regexp.buildGroupRE(_51.separator,function(sep){
if(!sep){
return "(?:\\d+)";
}
sep=dojo.regexp.escapeString(sep);
if(sep==" "){
sep="\\s";
}else{
if(sep==" "){
sep="\\s\\xa0";
}
}
var grp=_51.groupSize,_57=_51.groupSize2;
if(_57){
var _58="(?:0|[1-9]\\d{0,"+(_57-1)+"}(?:["+sep+"]\\d{"+_57+"})*["+sep+"]\\d{"+grp+"})";
return ((grp-_57)>0)?"(?:"+_58+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_58;
}
return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";
},true);
return _52+_54;
};
}


//require dojo.cldr.monetary

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


if(!dojo._hasResource["dojo.cldr.monetary"]){
dojo._hasResource["dojo.cldr.monetary"]=true;
dojo.provide("dojo.cldr.monetary");
dojo.cldr.monetary.getData=function(_1){
var _2={ADP:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,DJF:0,ESP:0,GNF:0,IQD:3,ITL:0,JOD:3,JPY:0,KMF:0,KRW:0,KWD:3,LUF:0,LYD:3,MGA:0,MGF:0,OMR:3,PYG:0,RWF:0,TND:3,TRL:0,VUV:0,XAF:0,XOF:0,XPF:0};
var _3={CHF:5};
var _4=_2[_1],_5=_3[_1];
if(typeof _4=="undefined"){
_4=2;
}
if(typeof _5=="undefined"){
_5=0;
}
return {places:_4,round:_5};
};
}


//require dojo.currency

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


if(!dojo._hasResource["dojo.currency"]){
dojo._hasResource["dojo.currency"]=true;
dojo.provide("dojo.currency");
dojo.require("dojo.number");
dojo.require("dojo.i18n");
dojo.requireLocalization("dojo.cldr","currency",null,"ROOT,ar,ca,cs,da,de,el,en,en-au,en-ca,en-us,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
dojo.require("dojo.cldr.monetary");
dojo.currency._mixInDefaults=function(_1){
_1=_1||{};
_1.type="currency";
var _2=dojo.i18n.getLocalization("dojo.cldr","currency",_1.locale)||{};
var _3=_1.currency;
var _4=dojo.cldr.monetary.getData(_3);
dojo.forEach(["displayName","symbol","group","decimal"],function(_5){
_4[_5]=_2[_3+"_"+_5];
});
_4.fractional=[true,false];
return dojo.mixin(_4,_1);
};
dojo.currency.format=function(_6,_7){
return dojo.number.format(_6,dojo.currency._mixInDefaults(_7));
};
dojo.currency.regexp=function(_8){
return dojo.number.regexp(dojo.currency._mixInDefaults(_8));
};
dojo.currency.parse=function(_9,_a){
return dojo.number.parse(_9,dojo.currency._mixInDefaults(_a));
};
}


//require dijit.form._FormWidget

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


if(!dojo._hasResource["dijit.form._FormWidget"]){
dojo._hasResource["dijit.form._FormWidget"]=true;
dojo.provide("dijit.form._FormWidget");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,readOnly:false,intermediateChanges:false,scrollOnFocus:true,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{value:"focusNode",disabled:"focusNode",readOnly:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),postMixInProperties:function(){
this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";
this.inherited(arguments);
},_setDisabledAttr:function(_1){
this.disabled=_1;
dojo.attr(this.focusNode,"disabled",_1);
dijit.setWaiState(this.focusNode,"disabled",_1);
if(_1){
this._hovering=false;
this._active=false;
this.focusNode.removeAttribute("tabIndex");
}else{
this.focusNode.setAttribute("tabIndex",this.tabIndex);
}
this._setStateClass();
},setDisabled:function(_2){
dojo.deprecated("setDisabled("+_2+") is deprecated. Use attr('disabled',"+_2+") instead.","","2.0");
this.attr("disabled",_2);
},_onFocus:function(e){
if(this.scrollOnFocus){
dijit.scrollIntoView(this.domNode);
}
this.inherited(arguments);
},_onMouse:function(_4){
var _5=_4.currentTarget;
if(_5&&_5.getAttribute){
this.stateModifier=_5.getAttribute("stateModifier")||"";
}
if(!this.disabled){
switch(_4.type){
case "mouseenter":
case "mouseover":
this._hovering=true;
this._active=this._mouseDown;
break;
case "mouseout":
case "mouseleave":
this._hovering=false;
this._active=false;
break;
case "mousedown":
this._active=true;
this._mouseDown=true;
var _6=this.connect(dojo.body(),"onmouseup",function(){
if(this._mouseDown&&this.isFocusable()){
this.focus();
}
this._active=false;
this._mouseDown=false;
this._setStateClass();
this.disconnect(_6);
});
break;
}
this._setStateClass();
}
},isFocusable:function(){
return !this.disabled&&!this.readOnly&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");
},focus:function(){
dijit.focus(this.focusNode);
},_setStateClass:function(){
var _7=this.baseClass.split(" ");
function _8(_9){
_7=_7.concat(dojo.map(_7,function(c){
return c+_9;
}),"dijit"+_9);
};
if(this.checked){
_8("Checked");
}
if(this.state){
_8(this.state);
}
if(this.selected){
_8("Selected");
}
if(this.disabled){
_8("Disabled");
}else{
if(this.readOnly){
_8("ReadOnly");
}else{
if(this._active){
_8(this.stateModifier+"Active");
}else{
if(this._focused){
_8("Focused");
}
if(this._hovering){
_8(this.stateModifier+"Hover");
}
}
}
}
var tn=this.stateNode||this.domNode,_c={};
dojo.forEach(tn.className.split(" "),function(c){
_c[c]=true;
});
if("_stateClasses" in this){
dojo.forEach(this._stateClasses,function(c){
delete _c[c];
});
}
dojo.forEach(_7,function(c){
_c[c]=true;
});
var _10=[];
for(var c in _c){
_10.push(c);
}
tn.className=_10.join(" ");
this._stateClasses=_7;
},compare:function(_12,_13){
if((typeof _12=="number")&&(typeof _13=="number")){
return (isNaN(_12)&&isNaN(_13))?0:(_12-_13);
}else{
if(_12>_13){
return 1;
}else{
if(_12<_13){
return -1;
}else{
return 0;
}
}
}
},onChange:function(_14){
},_onChangeActive:false,_handleOnChange:function(_15,_16){
this._lastValue=_15;
if(this._lastValueReported==undefined&&(_16===null||!this._onChangeActive)){
this._resetValue=this._lastValueReported=_15;
}
if((this.intermediateChanges||_16||_16===undefined)&&((typeof _15!=typeof this._lastValueReported)||this.compare(_15,this._lastValueReported)!=0)){
this._lastValueReported=_15;
if(this._onChangeActive){
this.onChange(_15);
}
}
},create:function(){
this.inherited(arguments);
this._onChangeActive=true;
this._setStateClass();
},destroy:function(){
if(this._layoutHackHandle){
clearTimeout(this._layoutHackHandle);
}
this.inherited(arguments);
},setValue:function(_17){
dojo.deprecated("dijit.form._FormWidget:setValue("+_17+") is deprecated.  Use attr('value',"+_17+") instead.","","2.0");
this.attr("value",_17);
},getValue:function(){
dojo.deprecated(this.declaredClass+"::getValue() is deprecated. Use attr('value') instead.","","2.0");
return this.attr("value");
},_layoutHack:function(){
if(dojo.isFF==2&&!this._layoutHackHandle){
var _18=this.domNode;
var old=_18.style.opacity;
_18.style.opacity="0.999";
this._layoutHackHandle=setTimeout(dojo.hitch(this,function(){
this._layoutHackHandle=null;
_18.style.opacity=old;
}),0);
}
}});
dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:""}),postCreate:function(){
if(dojo.isIE||dojo.isWebKit){
this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);
}
if(this._resetValue===undefined){
this._resetValue=this.value;
}
},_setValueAttr:function(_1a,_1b){
this.value=_1a;
this._handleOnChange(_1a,_1b);
},_getValueAttr:function(_1c){
return this._lastValue;
},undo:function(){
this._setValueAttr(this._lastValueReported,false);
},reset:function(){
this._hasBeenBlurred=false;
this._setValueAttr(this._resetValue,true);
},_onKeyDown:function(e){
if(e.keyCode==dojo.keys.ESCAPE&&!e.ctrlKey&&!e.altKey){
var te;
if(dojo.isIE){
e.preventDefault();
te=document.createEventObject();
te.keyCode=dojo.keys.ESCAPE;
te.shiftKey=e.shiftKey;
e.srcElement.fireEvent("onkeypress",te);
}else{
if(dojo.isWebKit){
te=document.createEvent("Events");
te.initEvent("keypress",true,true);
te.keyCode=dojo.keys.ESCAPE;
te.shiftKey=e.shiftKey;
e.target.dispatchEvent(te);
}
}
}
}});
}


//require dijit.form.TextBox

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


if(!dojo._hasResource["dijit.form.TextBox"]){
dojo._hasResource["dijit.form.TextBox"]=true;
dojo.provide("dijit.form.TextBox");
dojo.require("dijit.form._FormWidget");
dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",templateString:"<input class=\"dijit dijitReset dijitLeft\" dojoAttachPoint='textbox,focusNode'\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse'\n\tautocomplete=\"off\" type=\"${type}\" ${nameAttrSetting}\n\t/>\n",baseClass:"dijitTextBox",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{maxLength:"focusNode"}),_getValueAttr:function(){
return this.parse(this.attr("displayedValue"),this.constraints);
},_setValueAttr:function(_1,_2,_3){
var _4;
if(_1!==undefined){
_4=this.filter(_1);
if(typeof _3!="string"){
if(_4!==null&&((typeof _4!="number")||!isNaN(_4))){
_3=this.filter(this.format(_4,this.constraints));
}else{
_3="";
}
}
}
if(_3!=null&&_3!=undefined&&((typeof _3)!="number"||!isNaN(_3))&&this.textbox.value!=_3){
this.textbox.value=_3;
}
this.inherited(arguments,[_4,_2]);
},displayedValue:"",getDisplayedValue:function(){
dojo.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use attr('displayedValue') instead.","","2.0");
return this.attr("displayedValue");
},_getDisplayedValueAttr:function(){
return this.filter(this.textbox.value);
},setDisplayedValue:function(_5){
dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use attr('displayedValue', ...) instead.","","2.0");
this.attr("displayedValue",_5);
},_setDisplayedValueAttr:function(_6){
if(_6===null||_6===undefined){
_6="";
}else{
if(typeof _6!="string"){
_6=String(_6);
}
}
this.textbox.value=_6;
this._setValueAttr(this.attr("value"),undefined,_6);
},format:function(_7,_8){
return ((_7==null||_7==undefined)?"":(_7.toString?_7.toString():_7));
},parse:function(_9,_a){
return _9;
},_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 _c=this;
setTimeout(function(){
_c._handleOnChange(_c.attr("value"),false);
},0);
}
this._refreshState();
},postCreate:function(){
this.textbox.setAttribute("value",this.textbox.value);
this.inherited(arguments);
if(dojo.isMoz||dojo.isOpera){
this.connect(this.textbox,"oninput",this._onInput);
}else{
this.connect(this.textbox,"onkeydown",this._onInput);
this.connect(this.textbox,"onkeyup",this._onInput);
this.connect(this.textbox,"onpaste",this._onInput);
this.connect(this.textbox,"oncut",this._onInput);
}
this._layoutHack();
},filter:function(_d){
if(_d===null){
return "";
}
if(typeof _d!="string"){
return _d;
}
if(this.trim){
_d=dojo.trim(_d);
}
if(this.uppercase){
_d=_d.toUpperCase();
}
if(this.lowercase){
_d=_d.toLowerCase();
}
if(this.propercase){
_d=_d.replace(/[^\s]+/g,function(_e){
return _e.substring(0,1).toUpperCase()+_e.substring(1);
});
}
return _d;
},_setBlurValue:function(){
this._setValueAttr(this.attr("value"),true);
},_onBlur:function(e){
if(this.disabled){
return;
}
this._setBlurValue();
this.inherited(arguments);
},_onFocus:function(e){
if(this.disabled){
return;
}
this._refreshState();
this.inherited(arguments);
},reset:function(){
this.textbox.value="";
this.inherited(arguments);
}});
dijit.selectInputText=function(_11,_12,_13){
var _14=dojo.global;
var _15=dojo.doc;
_11=dojo.byId(_11);
if(isNaN(_12)){
_12=0;
}
if(isNaN(_13)){
_13=_11.value?_11.value.length:0;
}
_11.focus();
if(_15["selection"]&&dojo.body()["createTextRange"]){
if(_11.createTextRange){
var _16=_11.createTextRange();
with(_16){
collapse(true);
moveStart("character",_12);
moveEnd("character",_13);
select();
}
}
}else{
if(_14["getSelection"]){
var _17=_14.getSelection();
if(_11.setSelectionRange){
_11.setSelectionRange(_12,_13);
}
}
}
};
}


//require dijit.form.ValidationTextBox

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


if(!dojo._hasResource["dijit.form.ValidationTextBox"]){
dojo._hasResource["dijit.form.ValidationTextBox"]=true;
dojo.provide("dijit.form.ValidationTextBox");
dojo.require("dojo.i18n");
dojo.require("dijit.form.TextBox");
dojo.require("dijit.Tooltip");
dojo.requireLocalization("dijit.form","validate",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
dojo.declare("dijit.form.ValidationTextBox",dijit.form.TextBox,{templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" waiRole=\"presentation\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input class=\"dijitReset\" dojoAttachPoint='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${nameAttrSetting} type='${type}'\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",constraints:{},regExp:".*",regExpGen:function(_1){
return this.regExp;
},state:"",tooltipPosition:[],_setValueAttr:function(){
this.inherited(arguments);
this.validate(this._focused);
},validator:function(_2,_3){
return (new RegExp("^(?:"+this.regExpGen(_3)+")"+(this.required?"":"?")+"$")).test(_2)&&(!this.required||!this._isEmpty(_2))&&(this._isEmpty(_2)||this.parse(_2,_3)!==undefined);
},_isValidSubset:function(){
return this.textbox.value.search(this._partialre)==0;
},isValid:function(_4){
return this.validator(this.textbox.value,this.constraints);
},_isEmpty:function(_5){
return /^\s*$/.test(_5);
},getErrorMessage:function(_6){
return this.invalidMessage;
},getPromptMessage:function(_7){
return this.promptMessage;
},_maskValidSubsetError:true,validate:function(_8){
var _9="";
var _a=this.disabled||this.isValid(_8);
if(_a){
this._maskValidSubsetError=true;
}
var _b=!_a&&_8&&this._isValidSubset();
var _c=this._isEmpty(this.textbox.value);
this.state=(_a||(!this._hasBeenBlurred&&_c)||_b)?"":"Error";
if(this.state=="Error"){
this._maskValidSubsetError=false;
}
this._setStateClass();
dijit.setWaiState(this.focusNode,"invalid",_a?"false":"true");
if(_8){
if(_c){
_9=this.getPromptMessage(true);
}
if(!_9&&(this.state=="Error"||(_b&&!this._maskValidSubsetError))){
_9=this.getErrorMessage(true);
}
}
this.displayMessage(_9);
return _a;
},_message:"",displayMessage:function(_d){
if(this._message==_d){
return;
}
this._message=_d;
dijit.hideTooltip(this.domNode);
if(_d){
dijit.showTooltip(_d,this.domNode,this.tooltipPosition);
}
},_refreshState:function(){
this.validate(this._focused);
this.inherited(arguments);
},constructor:function(){
this.constraints={};
},postMixInProperties:function(){
this.inherited(arguments);
this.constraints.locale=this.lang;
this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);
if(this.invalidMessage=="$_unset_$"){
this.invalidMessage=this.messages.invalidMessage;
}
var p=this.regExpGen(this.constraints);
this.regExp=p;
var _f="";
if(p!=".*"){
this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){
switch(re.charAt(0)){
case "{":
case "+":
case "?":
case "*":
case "^":
case "$":
case "|":
case "(":
_f+=re;
break;
case ")":
_f+="|$)";
break;
default:
_f+="(?:"+re+"|$)";
break;
}
});
}
try{
"".search(_f);
}
catch(e){
_f=this.regExp;
console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);
}
this._partialre="^(?:"+_f+")$";
},_setDisabledAttr:function(_11){
this.inherited(arguments);
if(this.valueNode){
this.valueNode.disabled=_11;
}
this._refreshState();
},_setRequiredAttr:function(_12){
this.required=_12;
dijit.setWaiState(this.focusNode,"required",_12);
this._refreshState();
},postCreate:function(){
if(dojo.isIE){
var s=dojo.getComputedStyle(this.focusNode);
if(s){
var ff=s.fontFamily;
if(ff){
this.focusNode.style.fontFamily=ff;
}
}
}
this.inherited(arguments);
},reset:function(){
this._maskValidSubsetError=true;
this.inherited(arguments);
}});
dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{postMixInProperties:function(){
this.inherited(arguments);
this.nameAttrSetting="";
},serialize:function(val,_16){
return val.toString?val.toString():"";
},toString:function(){
var val=this.filter(this.attr("value"));
return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";
},validate:function(){
this.valueNode.value=this.toString();
return this.inherited(arguments);
},buildRendering:function(){
this.inherited(arguments);
this.valueNode=dojo.create("input",{style:{display:"none"},type:this.type,name:this.name},this.textbox,"after");
},_setDisabledAttr:function(_18){
this.inherited(arguments);
dojo.attr(this.valueNode,"disabled",_18);
},reset:function(){
this.valueNode.value="";
this.inherited(arguments);
}});
dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",rangeCheck:function(_19,_1a){
var _1b="min" in _1a;
var _1c="max" in _1a;
if(_1b||_1c){
return (!_1b||this.compare(_19,_1a.min)>=0)&&(!_1c||this.compare(_19,_1a.max)<=0);
}
return true;
},isInRange:function(_1d){
return this.rangeCheck(this.attr("value"),this.constraints);
},_isDefinitelyOutOfRange:function(){
var val=this.attr("value");
var _1f=false;
var _20=false;
if("min" in this.constraints){
var min=this.constraints.min;
val=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);
_1f=(typeof val=="number")&&val<0;
}
if("max" in this.constraints){
var max=this.constraints.max;
val=this.compare(val,((typeof max!="number")||max>0)?max:0);
_20=(typeof val=="number")&&val>0;
}
return _1f||_20;
},_isValidSubset:function(){
return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();
},isValid:function(_23){
return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_23));
},getErrorMessage:function(_24){
if(dijit.form.RangeBoundTextBox.superclass.isValid.call(this,false)&&!this.isInRange(_24)){
return this.rangeMessage;
}
return this.inherited(arguments);
},postMixInProperties:function(){
this.inherited(arguments);
if(!this.rangeMessage){
this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);
this.rangeMessage=this.messages.rangeMessage;
}
},postCreate:function(){
this.inherited(arguments);
if(this.constraints.min!==undefined){
dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);
}
if(this.constraints.max!==undefined){
dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);
}
},_setValueAttr:function(_25,_26){
dijit.setWaiState(this.focusNode,"valuenow",_25);
this.inherited(arguments);
}});
}


//require dijit.form.NumberTextBox

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


if(!dojo._hasResource["dijit.form.NumberTextBox"]){
dojo._hasResource["dijit.form.NumberTextBox"]=true;
dojo.provide("dijit.form.NumberTextBox");
dojo.require("dijit.form.ValidationTextBox");
dojo.require("dojo.number");
dojo.declare("dijit.form.NumberTextBoxMixin",null,{regExpGen:dojo.number.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:dojo.number.format,postMixInProperties:function(){
if(typeof this.constraints.max!="number"){
this.constraints.max=9000000000000000;
}
this.inherited(arguments);
},_onFocus:function(){
if(this.disabled){
return;
}
var _1=this.attr("value");
if(typeof _1=="number"&&!isNaN(_1)){
var _2=this.format(_1,this.constraints);
if(_2!==undefined){
this.textbox.value=_2;
}
}
this.inherited(arguments);
},format:function(_3,_4){
if(typeof _3!="number"){
return String(_3);
}
if(isNaN(_3)){
return "";
}
if(("rangeCheck" in this)&&!this.rangeCheck(_3,_4)){
return String(_3);
}
if(this.editOptions&&this._focused){
_4=dojo.mixin(dojo.mixin({},this.editOptions),_4);
}
return this._formatter(_3,_4);
},parse:dojo.number.parse,_getDisplayedValueAttr:function(){
var v=this.inherited(arguments);
return isNaN(v)?this.textbox.value:v;
},filter:function(_6){
return (_6===null||_6===""||_6===undefined)?NaN:this.inherited(arguments);
},serialize:function(_7,_8){
return (typeof _7!="number"||isNaN(_7))?"":this.inherited(arguments);
},_setValueAttr:function(_9,_a,_b){
if(_9!==undefined&&_b===undefined){
if(typeof _9=="number"){
if(isNaN(_9)){
_b="";
}else{
if(("rangeCheck" in this)&&!this.rangeCheck(_9,this.constraints)){
_b=String(_9);
}
}
}else{
if(!_9){
_b="";
_9=NaN;
}else{
_b=String(_9);
_9=undefined;
}
}
}
this.inherited(arguments,[_9,_a,_b]);
},_getValueAttr:function(){
var v=this.inherited(arguments);
if(isNaN(v)&&this.textbox.value!==""){
var n=Number(this.textbox.value);
return (String(n)===this.textbox.value)?n:undefined;
}else{
return v;
}
}});
dojo.declare("dijit.form.NumberTextBox",[dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin],{});
}


//require dijit.form.CurrencyTextBox

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


if(!dojo._hasResource["dijit.form.CurrencyTextBox"]){
dojo._hasResource["dijit.form.CurrencyTextBox"]=true;
dojo.provide("dijit.form.CurrencyTextBox");
dojo.require("dojo.currency");
dojo.require("dijit.form.NumberTextBox");
dojo.declare("dijit.form.CurrencyTextBox",dijit.form.NumberTextBox,{currency:"",regExpGen:dojo.currency.regexp,_formatter:dojo.currency.format,parse:dojo.currency.parse,postMixInProperties:function(){
this.constraints.currency=this.currency;
this.inherited(arguments);
}});
}


//require dojo.cldr.supplemental

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


if(!dojo._hasResource["dojo.cldr.supplemental"]){
dojo._hasResource["dojo.cldr.supplemental"]=true;
dojo.provide("dojo.cldr.supplemental");
dojo.require("dojo.i18n");
dojo.cldr.supplemental.getFirstDayOfWeek=function(_1){
var _2={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,sy:4};
var _3=dojo.cldr.supplemental._region(_1);
var _4=_2[_3];
return (_4===undefined)?1:_4;
};
dojo.cldr.supplemental._region=function(_5){
_5=dojo.i18n.normalizeLocale(_5);
var _6=_5.split("-");
var _7=_6[1];
if(!_7){
_7={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",he:"il",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[_6[0]];
}else{
if(_7.length==4){
_7=_6[2];
}
}
return _7;
};
dojo.cldr.supplemental.getWeekend=function(_8){
var _9={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};
var _a={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};
var _b=dojo.cldr.supplemental._region(_8);
var _c=_9[_b];
var _d=_a[_b];
if(_c===undefined){
_c=6;
}
if(_d===undefined){
_d=0;
}
return {start:_c,end:_d};
};
}


//require dojo.date

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


if(!dojo._hasResource["dojo.date"]){
dojo._hasResource["dojo.date"]=true;
dojo.provide("dojo.date");
dojo.date.getDaysInMonth=function(_1){
var _2=_1.getMonth();
var _3=[31,28,31,30,31,30,31,31,30,31,30,31];
if(_2==1&&dojo.date.isLeapYear(_1)){
return 29;
}
return _3[_2];
};
dojo.date.isLeapYear=function(_4){
var _5=_4.getFullYear();
return !(_5%400)||(!(_5%4)&&!!(_5%100));
};
dojo.date.getTimezoneName=function(_6){
var _7=_6.toString();
var tz="";
var _9;
var _a=_7.indexOf("(");
if(_a>-1){
tz=_7.substring(++_a,_7.indexOf(")"));
}else{
var _b=/([A-Z\/]+) \d{4}$/;
if((_9=_7.match(_b))){
tz=_9[1];
}else{
_7=_6.toLocaleString();
_b=/ ([A-Z\/]+)$/;
if((_9=_7.match(_b))){
tz=_9[1];
}
}
}
return (tz=="AM"||tz=="PM")?"":tz;
};
dojo.date.compare=function(_c,_d,_e){
_c=new Date(Number(_c));
_d=new Date(Number(_d||new Date()));
if(_e!=="undefined"){
if(_e=="date"){
_c.setHours(0,0,0,0);
_d.setHours(0,0,0,0);
}else{
if(_e=="time"){
_c.setFullYear(0,0,0);
_d.setFullYear(0,0,0);
}
}
}
if(_c>_d){
return 1;
}
if(_c<_d){
return -1;
}
return 0;
};
dojo.date.add=function(_f,_10,_11){
var sum=new Date(Number(_f));
var _13=false;
var _14="Date";
switch(_10){
case "day":
break;
case "weekday":
var _15,_16;
var mod=_11%5;
if(!mod){
_15=(_11>0)?5:-5;
_16=(_11>0)?((_11-5)/5):((_11+5)/5);
}else{
_15=mod;
_16=parseInt(_11/5);
}
var _18=_f.getDay();
var adj=0;
if(_18==6&&_11>0){
adj=1;
}else{
if(_18==0&&_11<0){
adj=-1;
}
}
var _1a=_18+_15;
if(_1a==0||_1a==6){
adj=(_11>0)?2:-2;
}
_11=(7*_16)+_15+adj;
break;
case "year":
_14="FullYear";
_13=true;
break;
case "week":
_11*=7;
break;
case "quarter":
_11*=3;
case "month":
_13=true;
_14="Month";
break;
case "hour":
case "minute":
case "second":
case "millisecond":
_14="UTC"+_10.charAt(0).toUpperCase()+_10.substring(1)+"s";
}
if(_14){
sum["set"+_14](sum["get"+_14]()+_11);
}
if(_13&&(sum.getDate()<_f.getDate())){
sum.setDate(0);
}
return sum;
};
dojo.date.difference=function(_1b,_1c,_1d){
_1c=_1c||new Date();
_1d=_1d||"day";
var _1e=_1c.getFullYear()-_1b.getFullYear();
var _1f=1;
switch(_1d){
case "quarter":
var m1=_1b.getMonth();
var m2=_1c.getMonth();
var q1=Math.floor(m1/3)+1;
var q2=Math.floor(m2/3)+1;
q2+=(_1e*4);
_1f=q2-q1;
break;
case "weekday":
var _24=Math.round(dojo.date.difference(_1b,_1c,"day"));
var _25=parseInt(dojo.date.difference(_1b,_1c,"week"));
var mod=_24%7;
if(mod==0){
_24=_25*5;
}else{
var adj=0;
var _28=_1b.getDay();
var _29=_1c.getDay();
_25=parseInt(_24/7);
mod=_24%7;
var _2a=new Date(_1b);
_2a.setDate(_2a.getDate()+(_25*7));
var _2b=_2a.getDay();
if(_24>0){
switch(true){
case _28==6:
adj=-1;
break;
case _28==0:
adj=0;
break;
case _29==6:
adj=-1;
break;
case _29==0:
adj=-2;
break;
case (_2b+mod)>5:
adj=-2;
}
}else{
if(_24<0){
switch(true){
case _28==6:
adj=0;
break;
case _28==0:
adj=1;
break;
case _29==6:
adj=2;
break;
case _29==0:
adj=1;
break;
case (_2b+mod)<0:
adj=2;
}
}
}
_24+=adj;
_24-=(_25*2);
}
_1f=_24;
break;
case "year":
_1f=_1e;
break;
case "month":
_1f=(_1c.getMonth()-_1b.getMonth())+(_1e*12);
break;
case "week":
_1f=parseInt(dojo.date.difference(_1b,_1c,"day")/7);
break;
case "day":
_1f/=24;
case "hour":
_1f/=60;
case "minute":
_1f/=60;
case "second":
_1f/=1000;
case "millisecond":
_1f*=_1c.getTime()-_1b.getTime();
}
return Math.round(_1f);
};
}


//require dojo.date.locale

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


if(!dojo._hasResource["dojo.date.locale"]){
dojo._hasResource["dojo.date.locale"]=true;
dojo.provide("dojo.date.locale");
dojo.require("dojo.date");
dojo.require("dojo.cldr.supplemental");
dojo.require("dojo.regexp");
dojo.require("dojo.string");
dojo.require("dojo.i18n");
dojo.requireLocalization("dojo.cldr","gregorian",null,"ROOT,ar,ca,cs,da,de,el,en,en-au,en-ca,en-gb,es,es-es,fi,fr,he,hu,it,it-it,ja,ko,ko-kr,nb,nl,pl,pt,pt-br,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-cn,zh-tw");
(function(){
function _1(_2,_3,_4,_5){
return _5.replace(/([a-z])\1*/ig,function(_6){
var s,_8;
var c=_6.charAt(0);
var l=_6.length;
var _b=["abbr","wide","narrow"];
switch(c){
case "G":
s=_3[(l<4)?"eraAbbr":"eraNames"][_2.getFullYear()<0?0:1];
break;
case "y":
s=_2.getFullYear();
switch(l){
case 1:
break;
case 2:
if(!_4){
s=String(s);
s=s.substr(s.length-2);
break;
}
default:
_8=true;
}
break;
case "Q":
case "q":
s=Math.ceil((_2.getMonth()+1)/3);
_8=true;
break;
case "M":
var m=_2.getMonth();
if(l<3){
s=m+1;
_8=true;
}else{
var _d=["months","format",_b[l-3]].join("-");
s=_3[_d][m];
}
break;
case "w":
var _e=0;
s=dojo.date.locale._getWeekOfYear(_2,_e);
_8=true;
break;
case "d":
s=_2.getDate();
_8=true;
break;
case "D":
s=dojo.date.locale._getDayOfYear(_2);
_8=true;
break;
case "E":
var d=_2.getDay();
if(l<3){
s=d+1;
_8=true;
}else{
var _10=["days","format",_b[l-3]].join("-");
s=_3[_10][d];
}
break;
case "a":
var _11=(_2.getHours()<12)?"am":"pm";
s=_3[_11];
break;
case "h":
case "H":
case "K":
case "k":
var h=_2.getHours();
switch(c){
case "h":
s=(h%12)||12;
break;
case "H":
s=h;
break;
case "K":
s=(h%12);
break;
case "k":
s=h||24;
break;
}
_8=true;
break;
case "m":
s=_2.getMinutes();
_8=true;
break;
case "s":
s=_2.getSeconds();
_8=true;
break;
case "S":
s=Math.round(_2.getMilliseconds()*Math.pow(10,l-3));
_8=true;
break;
case "v":
case "z":
s=dojo.date.getTimezoneName(_2);
if(s){
break;
}
l=4;
case "Z":
var _13=_2.getTimezoneOffset();
var tz=[(_13<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_13)/60),2),dojo.string.pad(Math.abs(_13)%60,2)];
if(l==4){
tz.splice(0,0,"GMT");
tz.splice(3,0,":");
}
s=tz.join("");
break;
default:
throw new Error("dojo.date.locale.format: invalid pattern char: "+_5);
}
if(_8){
s=dojo.string.pad(s,l);
}
return s;
});
};
dojo.date.locale.format=function(_15,_16){
_16=_16||{};
var _17=dojo.i18n.normalizeLocale(_16.locale);
var _18=_16.formatLength||"short";
var _19=dojo.date.locale._getGregorianBundle(_17);
var str=[];
var _1b=dojo.hitch(this,_1,_15,_19,_16.fullYear);
if(_16.selector=="year"){
var _1c=_15.getFullYear();
if(_17.match(/^zh|^ja/)){
_1c+="年";
}
return _1c;
}
if(_16.selector!="time"){
var _1d=_16.datePattern||_19["dateFormat-"+_18];
if(_1d){
str.push(_1e(_1d,_1b));
}
}
if(_16.selector!="date"){
var _1f=_16.timePattern||_19["timeFormat-"+_18];
if(_1f){
str.push(_1e(_1f,_1b));
}
}
var _20=str.join(" ");
return _20;
};
dojo.date.locale.regexp=function(_21){
return dojo.date.locale._parseInfo(_21).regexp;
};
dojo.date.locale._parseInfo=function(_22){
_22=_22||{};
var _23=dojo.i18n.normalizeLocale(_22.locale);
var _24=dojo.date.locale._getGregorianBundle(_23);
var _25=_22.formatLength||"short";
var _26=_22.datePattern||_24["dateFormat-"+_25];
var _27=_22.timePattern||_24["timeFormat-"+_25];
var _28;
if(_22.selector=="date"){
_28=_26;
}else{
if(_22.selector=="time"){
_28=_27;
}else{
_28=_26+" "+_27;
}
}
var _29=[];
var re=_1e(_28,dojo.hitch(this,_2b,_29,_24,_22));
return {regexp:re,tokens:_29,bundle:_24};
};
dojo.date.locale.parse=function(_2c,_2d){
var _2e=dojo.date.locale._parseInfo(_2d);
var _2f=_2e.tokens,_30=_2e.bundle;
var re=new RegExp("^"+_2e.regexp+"$",_2e.strict?"":"i");
var _32=re.exec(_2c);
if(!_32){
return null;
}
var _33=["abbr","wide","narrow"];
var _34=[1970,0,1,0,0,0,0];
var _35="";
var _36=dojo.every(_32,function(v,i){
if(!i){
return true;
}
var _39=_2f[i-1];
var l=_39.length;
switch(_39.charAt(0)){
case "y":
if(l!=2&&_2d.strict){
_34[0]=v;
}else{
if(v<100){
v=Number(v);
var _3b=""+new Date().getFullYear();
var _3c=_3b.substring(0,2)*100;
var _3d=Math.min(Number(_3b.substring(2,4))+20,99);
var num=(v<_3d)?_3c+v:_3c-100+v;
_34[0]=num;
}else{
if(_2d.strict){
return false;
}
_34[0]=v;
}
}
break;
case "M":
if(l>2){
var _3f=_30["months-format-"+_33[l-3]].concat();
if(!_2d.strict){
v=v.replace(".","").toLowerCase();
_3f=dojo.map(_3f,function(s){
return s.replace(".","").toLowerCase();
});
}
v=dojo.indexOf(_3f,v);
if(v==-1){
return false;
}
}else{
v--;
}
_34[1]=v;
break;
case "E":
case "e":
var _41=_30["days-format-"+_33[l-3]].concat();
if(!_2d.strict){
v=v.toLowerCase();
_41=dojo.map(_41,function(d){
return d.toLowerCase();
});
}
v=dojo.indexOf(_41,v);
if(v==-1){
return false;
}
break;
case "D":
_34[1]=0;
case "d":
_34[2]=v;
break;
case "a":
var am=_2d.am||_30.am;
var pm=_2d.pm||_30.pm;
if(!_2d.strict){
var _45=/\./g;
v=v.replace(_45,"").toLowerCase();
am=am.replace(_45,"").toLowerCase();
pm=pm.replace(_45,"").toLowerCase();
}
if(_2d.strict&&v!=am&&v!=pm){
return false;
}
_35=(v==pm)?"p":(v==am)?"a":"";
break;
case "K":
if(v==24){
v=0;
}
case "h":
case "H":
case "k":
if(v>23){
return false;
}
_34[3]=v;
break;
case "m":
_34[4]=v;
break;
case "s":
_34[5]=v;
break;
case "S":
_34[6]=v;
}
return true;
});
var _46=+_34[3];
if(_35==="p"&&_46<12){
_34[3]=_46+12;
}else{
if(_35==="a"&&_46==12){
_34[3]=0;
}
}
var _47=new Date(_34[0],_34[1],_34[2],_34[3],_34[4],_34[5],_34[6]);
if(_2d.strict){
_47.setFullYear(_34[0]);
}
var _48=_2f.join("");
if(!_36||(_48.indexOf("M")!=-1&&_47.getMonth()!=_34[1])||(_48.indexOf("d")!=-1&&_47.getDate()!=_34[2])){
return null;
}
return _47;
};
function _1e(_49,_4a,_4b,_4c){
var _4d=function(x){
return x;
};
_4a=_4a||_4d;
_4b=_4b||_4d;
_4c=_4c||_4d;
var _4f=_49.match(/(''|[^'])+/g);
var _50=_49.charAt(0)=="'";
dojo.forEach(_4f,function(_51,i){
if(!_51){
_4f[i]="";
}else{
_4f[i]=(_50?_4b:_4a)(_51);
_50=!_50;
}
});
return _4c(_4f.join(""));
};
function _2b(_53,_54,_55,_56){
_56=dojo.regexp.escapeString(_56);
if(!_55.strict){
_56=_56.replace(" a"," ?a");
}
return _56.replace(/([a-z])\1*/ig,function(_57){
var s;
var c=_57.charAt(0);
var l=_57.length;
var p2="",p3="";
if(_55.strict){
if(l>1){
p2="0"+"{"+(l-1)+"}";
}
if(l>2){
p3="0"+"{"+(l-2)+"}";
}
}else{
p2="0?";
p3="0{0,2}";
}
switch(c){
case "y":
s="\\d{2,4}";
break;
case "M":
s=(l>2)?"\\S+?":p2+"[1-9]|1[0-2]";
break;
case "D":
s=p2+"[1-9]|"+p3+"[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6]";
break;
case "d":
s="[12]\\d|"+p2+"[1-9]|3[01]";
break;
case "w":
s=p2+"[1-9]|[1-4][0-9]|5[0-3]";
break;
case "E":
s="\\S+";
break;
case "h":
s=p2+"[1-9]|1[0-2]";
break;
case "k":
s=p2+"\\d|1[01]";
break;
case "H":
s=p2+"\\d|1\\d|2[0-3]";
break;
case "K":
s=p2+"[1-9]|1\\d|2[0-4]";
break;
case "m":
case "s":
s="[0-5]\\d";
break;
case "S":
s="\\d{"+l+"}";
break;
case "a":
var am=_55.am||_54.am||"AM";
var pm=_55.pm||_54.pm||"PM";
if(_55.strict){
s=am+"|"+pm;
}else{
s=am+"|"+pm;
if(am!=am.toLowerCase()){
s+="|"+am.toLowerCase();
}
if(pm!=pm.toLowerCase()){
s+="|"+pm.toLowerCase();
}
if(s.indexOf(".")!=-1){
s+="|"+s.replace(/\./g,"");
}
}
s=s.replace(/\./g,"\\.");
break;
default:
s=".*";
}
if(_53){
_53.push(_57);
}
return "("+s+")";
}).replace(/[\xa0 ]/g,"[\\s\\xa0]");
};
})();
(function(){
var _5f=[];
dojo.date.locale.addCustomFormats=function(_60,_61){
_5f.push({pkg:_60,name:_61});
};
dojo.date.locale._getGregorianBundle=function(_62){
var _63={};
dojo.forEach(_5f,function(_64){
var _65=dojo.i18n.getLocalization(_64.pkg,_64.name,_62);
_63=dojo.mixin(_63,_65);
},this);
return _63;
};
})();
dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");
dojo.date.locale.getNames=function(_66,_67,_68,_69){
var _6a;
var _6b=dojo.date.locale._getGregorianBundle(_69);
var _6c=[_66,_68,_67];
if(_68=="standAlone"){
var key=_6c.join("-");
_6a=_6b[key];
if(_6a[0]==1){
_6a=undefined;
}
}
_6c[1]="format";
return (_6a||_6b[_6c.join("-")]).concat();
};
dojo.date.locale.displayPattern=function(_6e,_6f){
var _70="GyMdkHmsSEDFwWahKzYeugAZvcL",_71=dojo.date.locale._getGregorianBundle(_6f).patternChars;
return dojo.map(_6e,function(c){
var i=_70.indexOf(c);
return i<0?c:_71.charAt(i);
}).join("");
};
dojo.date.locale.isWeekend=function(_74,_75){
var _76=dojo.cldr.supplemental.getWeekend(_75);
var day=(_74||new Date()).getDay();
if(_76.end<_76.start){
_76.end+=7;
if(day<_76.start){
day+=7;
}
}
return day>=_76.start&&day<=_76.end;
};
dojo.date.locale._getDayOfYear=function(_78){
return dojo.date.difference(new Date(_78.getFullYear(),0,1,_78.getHours()),_78)+1;
};
dojo.date.locale._getWeekOfYear=function(_79,_7a){
if(arguments.length==1){
_7a=0;
}
var _7b=new Date(_79.getFullYear(),0,1).getDay();
var adj=(_7b-_7a+7)%7;
var _7d=Math.floor((dojo.date.locale._getDayOfYear(_79)+adj-1)/7);
if(_7b==_7a){
_7d++;
}
return _7d;
};
}


//require dijit._Calendar

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


if(!dojo._hasResource["dijit._Calendar"]){
dojo._hasResource["dijit._Calendar"]=true;
dojo.provide("dijit._Calendar");
dojo.require("dojo.cldr.supplemental");
dojo.require("dojo.date");
dojo.require("dojo.date.locale");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.declare("dijit._Calendar",[dijit._Widget,dijit._Templated],{templateString:"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset' dojoAttachPoint=\"decrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarDecrease\" waiRole=\"presentation\">\n\t\t\t\t<span dojoAttachPoint=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div dojoAttachPoint=\"monthLabelSpacer\" class=\"dijitCalendarMonthLabelSpacer\"></div>\n\t\t\t\t<div dojoAttachPoint=\"monthLabelNode\" class=\"dijitCalendarMonthLabel\"></div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' dojoAttachPoint=\"incrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarIncrease\" waiRole=\"presentation\">\n\t\t\t\t<span dojoAttachPoint=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<th class=\"dijitReset dijitCalendarDayLabelTemplate\"><span class=\"dijitCalendarDayLabel\"></span></th>\n\t\t</tr>\n\t</thead>\n\t<tbody dojoAttachEvent=\"onclick: _onDayClick, onmouseover: _onDayMouseOver, onmouseout: _onDayMouseOut\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t<tr class=\"dijitReset dijitCalendarWeekTemplate\">\n\t\t\t<td class=\"dijitReset dijitCalendarDateTemplate\"><span class=\"dijitCalendarDateLabel\"></span></td>\n\t\t</tr>\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\">\n\t\t\t\t<h3 class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span dojoAttachPoint=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\"></span>\n\t\t\t\t</h3>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\t\n",value:new Date(),dayWidth:"narrow",setValue:function(_1){
dojo.deprecated("dijit.Calendar:setValue() is deprecated.  Use attr('value', ...) instead.","","2.0");
this.attr("value",_1);
},_setValueAttr:function(_2){
if(!this.value||dojo.date.compare(_2,this.value)){
_2=new Date(_2);
_2.setHours(1);
this.displayMonth=new Date(_2);
if(!this.isDisabledDate(_2,this.lang)){
this.onChange(this.value=_2);
}
this._populateGrid();
}
},_setText:function(_3,_4){
while(_3.firstChild){
_3.removeChild(_3.firstChild);
}
_3.appendChild(dojo.doc.createTextNode(_4));
},_populateGrid:function(){
var _5=this.displayMonth;
_5.setDate(1);
var _6=_5.getDay();
var _7=dojo.date.getDaysInMonth(_5);
var _8=dojo.date.getDaysInMonth(dojo.date.add(_5,"month",-1));
var _9=new Date();
var _a=this.value;
var _b=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);
if(_b>_6){
_b-=7;
}
dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_c,i){
i+=_b;
var _e=new Date(_5);
var _f,_10="dijitCalendar",adj=0;
if(i<_6){
_f=_8-_6+i+1;
adj=-1;
_10+="Previous";
}else{
if(i>=(_6+_7)){
_f=i-_6-_7+1;
adj=1;
_10+="Next";
}else{
_f=i-_6+1;
_10+="Current";
}
}
if(adj){
_e=dojo.date.add(_e,"month",adj);
}
_e.setDate(_f);
if(!dojo.date.compare(_e,_9,"date")){
_10="dijitCalendarCurrentDate "+_10;
}
if(!dojo.date.compare(_e,_a,"date")){
_10="dijitCalendarSelectedDate "+_10;
}
if(this.isDisabledDate(_e,this.lang)){
_10="dijitCalendarDisabledDate "+_10;
}
var _12=this.getClassForDate(_e,this.lang);
if(_12){
_10=_12+" "+_10;
}
_c.className=_10+"Month dijitCalendarDateTemplate";
_c.dijitDateValue=_e.valueOf();
var _13=dojo.query(".dijitCalendarDateLabel",_c)[0];
this._setText(_13,_e.getDate());
},this);
var _14=dojo.date.locale.getNames("months","wide","standAlone",this.lang);
this._setText(this.monthLabelNode,_14[_5.getMonth()]);
var y=_5.getFullYear()-1;
var d=new Date();
dojo.forEach(["previous","current","next"],function(_17){
d.setFullYear(y++);
this._setText(this[_17+"YearLabelNode"],dojo.date.locale.format(d,{selector:"year",locale:this.lang}));
},this);
var _18=this;
var _19=function(_1a,_1b,adj){
_18._connects.push(dijit.typematic.addMouseListener(_18[_1a],_18,function(_1d){
if(_1d>=0){
_18._adjustDisplay(_1b,adj);
}
},0.8,500));
};
_19("incrementMonth","month",1);
_19("decrementMonth","month",-1);
_19("nextYearLabelNode","year",1);
_19("previousYearLabelNode","year",-1);
},goToToday:function(){
this.attr("value",new Date());
},postCreate:function(){
this.inherited(arguments);
dojo.setSelectable(this.domNode,false);
var _1e=dojo.hitch(this,function(_1f,n){
var _21=dojo.query(_1f,this.domNode)[0];
for(var i=0;i<n;i++){
_21.parentNode.appendChild(_21.cloneNode(true));
}
});
_1e(".dijitCalendarDayLabelTemplate",6);
_1e(".dijitCalendarDateTemplate",6);
_1e(".dijitCalendarWeekTemplate",5);
var _23=dojo.date.locale.getNames("days",this.dayWidth,"standAlone",this.lang);
var _24=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);
dojo.query(".dijitCalendarDayLabel",this.domNode).forEach(function(_25,i){
this._setText(_25,_23[(i+_24)%7]);
},this);
var _27=dojo.date.locale.getNames("months","wide","standAlone",this.lang);
dojo.forEach(_27,function(_28){
var _29=dojo.create("div",null,this.monthLabelSpacer);
this._setText(_29,_28);
},this);
this.value=null;
this.attr("value",new Date());
},_adjustDisplay:function(_2a,_2b){
this.displayMonth=dojo.date.add(this.displayMonth,_2a,_2b);
this._populateGrid();
},_onDayClick:function(evt){
dojo.stopEvent(evt);
for(var _2d=evt.target;_2d&&!_2d.dijitDateValue;_2d=_2d.parentNode){
}
if(_2d&&!dojo.hasClass(_2d,"dijitCalendarDisabledDate")){
this.attr("value",_2d.dijitDateValue);
this.onValueSelected(this.value);
}
},_onDayMouseOver:function(evt){
var _2f=evt.target;
if(_2f&&(_2f.dijitDateValue||_2f==this.previousYearLabelNode||_2f==this.nextYearLabelNode)){
dojo.addClass(_2f,"dijitCalendarHoveredDate");
this._currentNode=_2f;
}
},_onDayMouseOut:function(evt){
if(!this._currentNode){
return;
}
for(var _31=evt.relatedTarget;_31;){
if(_31==this._currentNode){
return;
}
try{
_31=_31.parentNode;
}
catch(x){
_31=null;
}
}
dojo.removeClass(this._currentNode,"dijitCalendarHoveredDate");
this._currentNode=null;
},onValueSelected:function(_32){
},onChange:function(_33){
},isDisabledDate:function(_34,_35){
},getClassForDate:function(_36,_37){
}});
}


//require dijit.form._DateTimeTextBox

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


if(!dojo._hasResource["dijit.form._DateTimeTextBox"]){
dojo._hasResource["dijit.form._DateTimeTextBox"]=true;
dojo.provide("dijit.form._DateTimeTextBox");
dojo.require("dojo.date");
dojo.require("dojo.date.locale");
dojo.require("dojo.date.stamp");
dojo.require("dijit.form.ValidationTextBox");
dojo.declare("dijit.form._DateTimeTextBox",dijit.form.RangeBoundTextBox,{regExpGen:dojo.date.locale.regexp,compare:dojo.date.compare,format:function(_1,_2){
if(!_1){
return "";
}
return dojo.date.locale.format(_1,_2);
},parse:function(_3,_4){
return dojo.date.locale.parse(_3,_4)||(this._isEmpty(_3)?null:undefined);
},serialize:dojo.date.stamp.toISOString,value:new Date(""),popupClass:"",_selector:"",postMixInProperties:function(){
this.inherited(arguments);
if(!this.value||this.value.toString()==dijit.form._DateTimeTextBox.prototype.value.toString()){
this.value=null;
}
var _5=this.constraints;
_5.selector=this._selector;
_5.fullYear=true;
var _6=dojo.date.stamp.fromISOString;
if(typeof _5.min=="string"){
_5.min=_6(_5.min);
}
if(typeof _5.max=="string"){
_5.max=_6(_5.max);
}
},_onFocus:function(_7){
this._open();
},_setValueAttr:function(_8,_9,_a){
this.inherited(arguments);
if(this._picker){
if(!_8){
_8=new Date();
}
this._picker.attr("value",_8);
}
},_open:function(){
if(this.disabled||this.readOnly||!this.popupClass){
return;
}
var _b=this;
if(!this._picker){
var _c=dojo.getObject(this.popupClass,false);
this._picker=new _c({onValueSelected:function(_d){
if(_b._tabbingAway){
delete _b._tabbingAway;
}else{
_b.focus();
}
setTimeout(dojo.hitch(_b,"_close"),1);
dijit.form._DateTimeTextBox.superclass._setValueAttr.call(_b,_d,true);
},lang:_b.lang,constraints:_b.constraints,isDisabledDate:function(_e){
var _f=dojo.date.compare;
var _10=_b.constraints;
return _10&&(_10.min&&(_f(_10.min,_e,"date")>0)||(_10.max&&_f(_10.max,_e,"date")<0));
}});
this._picker.attr("value",this.attr("value")||new Date());
}
if(!this._opened){
dijit.popup.open({parent:this,popup:this._picker,around:this.domNode,onCancel:dojo.hitch(this,this._close),onClose:function(){
_b._opened=false;
}});
this._opened=true;
}
dojo.marginBox(this._picker.domNode,{w:this.domNode.offsetWidth});
},_close:function(){
if(this._opened){
dijit.popup.close(this._picker);
this._opened=false;
}
},_onBlur:function(){
this._close();
if(this._picker){
this._picker.destroy();
delete this._picker;
}
this.inherited(arguments);
},_getDisplayedValueAttr:function(){
return this.textbox.value;
},_setDisplayedValueAttr:function(_11,_12){
this._setValueAttr(this.parse(_11,this.constraints),_12,_11);
},destroy:function(){
if(this._picker){
this._picker.destroy();
delete this._picker;
}
this.inherited(arguments);
},postCreate:function(){
this.inherited(arguments);
this.connect(this.focusNode,"onkeypress",this._onKeyPress);
},_onKeyPress:function(e){
var p=this._picker,dk=dojo.keys;
if(p&&this._opened&&p.handleKey){
if(p.handleKey(e)===false){
return;
}
}
if(this._opened&&e.charOrCode==dk.ESCAPE&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){
this._close();
dojo.stopEvent(e);
}else{
if(!this._opened&&e.charOrCode==dk.DOWN_ARROW){
this._open();
dojo.stopEvent(e);
}else{
if(e.charOrCode===dk.TAB){
this._tabbingAway=true;
}else{
if(this._opened&&(e.keyChar||e.charOrCode===dk.BACKSPACE||e.charOrCode==dk.DELETE)){
setTimeout(dojo.hitch(this,function(){
dijit.placeOnScreenAroundElement(p.domNode.parentNode,this.domNode,{"BL":"TL","TL":"BL"},p.orient?dojo.hitch(p,"orient"):null);
}),1);
}
}
}
}
}});
}


//require dijit.form.DateTextBox

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


if(!dojo._hasResource["dijit.form.DateTextBox"]){
dojo._hasResource["dijit.form.DateTextBox"]=true;
dojo.provide("dijit.form.DateTextBox");
dojo.require("dijit._Calendar");
dojo.require("dijit.form._DateTimeTextBox");
dojo.declare("dijit.form.DateTextBox",dijit.form._DateTimeTextBox,{baseClass:"dijitTextBox dijitDateTextBox",popupClass:"dijit._Calendar",_selector:"date",value:new Date("")});
}


//require dijit.form.Button

/*
	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/


if(!dojo._hasResource["dijit.form.Button"]){
dojo._hasResource["dijit.form.Button"]=true;
dojo.provide("dijit.form.Button");
dojo.require("dijit.form._FormWidget");
dojo.require("dijit._Container");
dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:"<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"\n\t><span class=\"dijitReset dijitRight dijitInline\"\n\t\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\t\tdojoAttachPoint=\"titleNode,focusNode\" \n\t\t\t\t${nameAttrSetting} type=\"${type}\" value=\"${value}\" waiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\" \n\t\t\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#10003;</span \n\t\t\t\t></span \n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\" \n\t\t\t\t\tid=\"${id}_label\"  \n\t\t\t\t\tdojoAttachPoint=\"containerNode\"\n\t\t\t\t></span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n",attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),_onClick:function(e){
if(this.disabled||this.readOnly){
return false;
}
this._clicked();
return this.onClick(e);
},_onButtonClick:function(e){
if(e.type!="click"&&!(this.type=="submit"||this.type=="reset")){
dojo.stopEvent(e);
}
if(this._onClick(e)===false){
e.preventDefault();
}else{
if(this.type=="submit"&&!this.focusNode.form){
for(var _3=this.domNode;_3.parentNode;_3=_3.parentNode){
var _4=dijit.byNode(_3);
if(_4&&typeof _4._onSubmit=="function"){
_4._onSubmit(e);
break;
}
}
}
}
},_setValueAttr:function(_5){
var _6=this.attributeMap.value||"";
if(this[_6.node||_6||"domNode"].tagName=="BUTTON"){
if(_5!=this.value){

}
}
},_fillContent:function(_7){
if(_7&&!("label" in this.params)){
this.attr("label",_7.innerHTML);
}
},postCreate:function(){
if(this.showLabel==false){
dojo.addClass(this.containerNode,"dijitDisplayNone");
}
dojo.setSelectable(this.focusNode,false);
this.inherited(arguments);
},onClick:function(e){
return true;
},_clicked:function(e){
},setLabel:function(_a){
dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use attr('label', ...) instead.","","2.0");
this.attr("label",_a);
},_setLabelAttr:function(_b){
this.containerNode.innerHTML=this.label=_b;
this._layoutHack();
if(this.showLabel==false&&!this.params.title){
this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");
}
}});
dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container],{baseClass:"dijitDropDownButton",templateString:"<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse,onclick:_onDropDownClick,onkeydown:_onDropDownKeydown,onblur:_onDropDownBlur,onkeypress:_onKey\"\n\t><span class='dijitReset dijitRight dijitInline'\n\t\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\" \n\t\t\t\t${nameAttrSetting} type=\"${type}\" value=\"${value}\"\n\t\t\t\tdojoAttachPoint=\"focusNode,titleNode\" \n\t\t\t\twaiRole=\"button\" waiState=\"haspopup-true,labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\" \n\t\t\t\t\tdojoAttachPoint=\"iconNode\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  \n\t\t\t\t\tdojoAttachPoint=\"containerNode,popupStateNode\" \n\t\t\t\t\tid=\"${id}_label\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\">&thinsp;</span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n",_fillContent:function(){
if(this.srcNodeRef){
var _c=dojo.query("*",this.srcNodeRef);
dijit.form.DropDownButton.superclass._fillContent.call(this,_c[0]);
this.dropDownContainer=this.srcNodeRef;
}
},startup:function(){
if(this._started){
return;
}
if(!this.dropDown){
var _d=dojo.query("[widgetId]",this.dropDownContainer)[0];
this.dropDown=dijit.byNode(_d);
delete this.dropDownContainer;
}
dijit.popup.prepare(this.dropDown.domNode);
this.inherited(arguments);
},destroyDescendants:function(){
if(this.dropDown){
this.dropDown.destroyRecursive();
delete this.dropDown;
}
this.inherited(arguments);
},_onArrowClick:function(e){
if(this.disabled||this.readOnly){
return;
}
this._toggleDropDown();
},_onDropDownClick:function(e){
var _10=dojo.isFF&&dojo.isFF<3&&navigator.appVersion.indexOf("Macintosh")!=-1;
if(!_10||e.detail!=0||this._seenKeydown){
this._onArrowClick(e);
}
this._seenKeydown=false;
},_onDropDownKeydown:function(e){
this._seenKeydown=true;
},_onDropDownBlur:function(e){
this._seenKeydown=false;
},_onKey:function(e){
if(this.disabled||this.readOnly){
return;
}
if(e.charOrCode==dojo.keys.DOWN_ARROW){
if(!this.dropDown||this.dropDown.domNode.style.visibility=="hidden"){
dojo.stopEvent(e);
this._toggleDropDown();
}
}
},_onBlur:function(){
this._closeDropDown();
this.inherited(arguments);
},_toggleDropDown:function(){
if(this.disabled||this.readOnly){
return;
}
dijit.focus(this.popupStateNode);
var _14=this.dropDown;
if(!_14){
return;
}
if(!this._opened){
if(_14.href&&!_14.isLoaded){
var _15=this;
var _16=dojo.connect(_14,"onLoad",function(){
dojo.disconnect(_16);
_15._openDropDown();
});
_14.refresh();
return;
}else{
this._openDropDown();
}
}else{
this._closeDropDown();
}
},_openDropDown:function(){
var _17=this.dropDown;
var _18=_17.domNode.style.width;
var _19=this;
dijit.popup.open({parent:this,popup:_17,around:this.domNode,orient:this.isLeftToRight()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"},onExecute:function(){
_19._closeDropDown(true);
},onCancel:function(){
_19._closeDropDown(true);
},onClose:function(){
_17.domNode.style.width=_18;
_19.popupStateNode.removeAttribute("popupActive");
_19._opened=false;
}});
if(this.domNode.offsetWidth>_17.domNode.offsetWidth){
var _1a=null;
if(!this.isLeftToRight()){
_1a=_17.domNode.parentNode;
var _1b=_1a.offsetLeft+_1a.offsetWidth;
}
dojo.marginBox(_17.domNode,{w:this.domNode.offsetWidth});
if(_1a){
_1a.style.left=_1b-this.domNode.offsetWidth+"px";
}
}
this.popupStateNode.setAttribute("popupActive","true");
this._opened=true;
if(_17.focus){
_17.focus();
}
},_closeDropDown:function(_1c){
if(this._opened){
dijit.popup.close(this.dropDown);
if(_1c){
this.focus();
}
this._opened=false;
}
}});
dojo.declare("dijit.form.ComboButton",dijit.form.DropDownButton,{templateString:"<table class='dijit dijitReset dijitInline dijitLeft'\n\tcellspacing='0' cellpadding='0' waiRole=\"presentation\"\n\t><tbody waiRole=\"presentation\"><tr waiRole=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\"\n\t\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"  dojoAttachPoint=\"titleNode\"\n\t\t\twaiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\" waiRole=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\" waiRole=\"presentation\"></div\n\t\t></td\n\t\t><td class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"popupStateNode,focusNode\"\n\t\t\tdojoAttachEvent=\"ondijitclick:_onArrowClick, onkeypress:_onKey,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\tstateModifier=\"DownArrow\"\n\t\t\ttitle=\"${optionsTitle}\" ${nameAttrSetting}\n\t\t\twaiRole=\"button\" waiState=\"haspopup-true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" waiRole=\"presentation\">&thinsp;</div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" waiRole=\"presentation\">&#9660;</div\n\t\t></td\n\t></tr></tbody\n></table>\n",attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{id:"",tabIndex:["focusNode","titleNode"]}),optionsTitle:"",baseClass:"dijitComboButton",_focusedNode:null,postCreate:function(){
this.inherited(arguments);
this._focalNodes=[this.titleNode,this.popupStateNode];
dojo.forEach(this._focalNodes,dojo.hitch(this,function(_1d){
if(dojo.isIE){
this.connect(_1d,"onactivate",this._onNodeFocus);
this.connect(_1d,"ondeactivate",this._onNodeBlur);
}else{
this.connect(_1d,"onfocus",this._onNodeFocus);
this.connect(_1d,"onblur",this._onNodeBlur);
}
}));
},focusFocalNode:function(_1e){
this._focusedNode=_1e;
dijit.focus(_1e);
},hasNextFocalNode:function(){
return this._focusedNode!==this.getFocalNodes()[1];
},focusNext:function(){
this._focusedNode=this.getFocalNodes()[this._focusedNode?1:0];
dijit.focus(this._focusedNode);
},hasPrevFocalNode:function(){
return this._focusedNode!==this.getFocalNodes()[0];
},focusPrev:function(){
this._focusedNode=this.getFocalNodes()[this._focusedNode?0:1];
dijit.focus(this._focusedNode);
},getFocalNodes:function(){
return this._focalNodes;
},_onNodeFocus:function(evt){
this._focusedNode=evt.currentTarget;
var fnc=this._focusedNode==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";
dojo.addClass(this._focusedNode,fnc);
},_onNodeBlur:function(evt){
var fnc=evt.currentTarget==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";
dojo.removeClass(evt.currentTarget,fnc);
},_onBlur:function(){
this.inherited(arguments);
this._focusedNode=null;
}});
dojo.declare("dijit.form.ToggleButton",dijit.form.Button,{baseClass:"dijitToggleButton",checked:false,attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{checked:"focusNode"}),_clicked:function(evt){
this.attr("checked",!this.checked);
},_setCheckedAttr:function(_24){
this.checked=_24;
dojo.attr(this.focusNode||this.domNode,"checked",_24);
dijit.setWaiState(this.focusNode||this.domNode,"pressed",_24);
this._setStateClass();
this._handleOnChange(_24,true);
},setChecked:function(_25){
dojo.deprecated("setChecked("+_25+") is deprecated. Use attr('checked',"+_25+") instead.","","2.0");
this.attr("checked",_25);
},reset:function(){
this._hasBeenBlurred=false;
this.attr("checked",this.params.checked||false);
}});
}


//require dojox.form.BusyButton

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


if(!dojo._hasResource["dojox.form.BusyButton"]){
dojo._hasResource["dojox.form.BusyButton"]=true;
dojo.provide("dojox.form.BusyButton");
dojo.require("dijit.form.Button");
dojo.requireLocalization("dijit","loading",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
dojo.declare("dojox.form._BusyButtonMixin",null,{isBusy:false,busyLabel:"",timeout:null,useIcon:true,postMixInProperties:function(){
this.inherited(arguments);
if(!this.busyLabel){
this.busyLabel=dojo.i18n.getLocalization("dijit","loading",this.lang).loadingState;
}
},postCreate:function(){
this._label=this.containerNode.innerHTML;
this._initTimeout=this.timeout;
if(this.isBusy){
this.makeBusy();
}
},makeBusy:function(){
this.isBusy=true;
this.attr("disabled",true);
this.setLabel(this.busyLabel,this.timeout);
},cancel:function(){
this.attr("disabled",false);
this.isBusy=false;
this.setLabel(this._label);
if(this._timeout){
clearTimeout(this._timeout);
}
this.timeout=this._initTimeout;
},resetTimeout:function(_1){
if(this._timeout){
clearTimeout(this._timeout);
}
if(_1){
this._timeout=setTimeout(dojo.hitch(this,function(){
this.cancel();
}),_1);
}else{
if(_1==undefined||_1===0){
this.cancel();
}
}
},setLabel:function(_2,_3){
this.label=_2;
while(this.containerNode.firstChild){
this.containerNode.removeChild(this.containerNode.firstChild);
}
this.containerNode.innerHTML=this.label;
this._layoutHack();
if(this.showLabel==false&&!(dojo.attr(this.domNode,"title"))){
this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");
}
if(_3){
this.resetTimeout(_3);
}else{
this.timeout=null;
}
if(this.useIcon&&this.isBusy){
var _4=new Image();
_4.src=this._blankGif;
dojo.attr(_4,"id",this.id+"_icon");
dojo.addClass(_4,"dojoxBusyButtonIcon");
this.containerNode.appendChild(_4);
}
},_clicked:function(e){
if(!this.isBusy){
this.makeBusy();
}
}});
dojo.declare("dojox.form.BusyButton",[dijit.form.Button,dojox.form._BusyButtonMixin],{});
dojo.declare("dojox.form.BusyComboButton",[dijit.form.ComboButton,dojox.form._BusyButtonMixin],{});
dojo.declare("dojox.form.BusyDropDownButton",[dijit.form.DropDownButton,dojox.form._BusyButtonMixin],{});
}
