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:[],registerWin:function(_16){
if(!_16){
_16=window;
}
dojo.connect(_16.document,"onmousedown",function(evt){
dijit._justMouseDowned=true;
setTimeout(function(){
dijit._justMouseDowned=false;
},0);
dijit._onTouchNode(evt.target||evt.srcElement);
});
var _18=_16.document.body||_16.document.getElementsByTagName("body")[0];
if(_18){
if(dojo.isIE){
_18.attachEvent("onactivate",function(evt){
if(evt.srcElement.tagName.toLowerCase()!="body"){
dijit._onFocusNode(evt.srcElement);
}
});
_18.attachEvent("ondeactivate",function(evt){
dijit._onBlurNode(evt.srcElement);
});
}else{
_18.addEventListener("focus",function(evt){
dijit._onFocusNode(evt.target);
},true);
_18.addEventListener("blur",function(evt){
dijit._onBlurNode(evt.target);
},true);
}
}
_18=null;
},_onBlurNode:function(_1d){
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(_1e){
if(dijit._clearActiveWidgetsTimer){
clearTimeout(dijit._clearActiveWidgetsTimer);
delete dijit._clearActiveWidgetsTimer;
}
var _1f=[];
try{
while(_1e){
if(_1e.dijitPopupParent){
_1e=dijit.byId(_1e.dijitPopupParent).domNode;
}else{
if(_1e.tagName&&_1e.tagName.toLowerCase()=="body"){
if(_1e===dojo.body()){
break;
}
_1e=dijit.getDocumentWindow(_1e.ownerDocument).frameElement;
}else{
var id=_1e.getAttribute&&_1e.getAttribute("widgetId");
if(id){
_1f.unshift(id);
}
_1e=_1e.parentNode;
}
}
}
}
catch(e){
}
dijit._setStack(_1f);
},_onFocusNode:function(_21){
if(_21&&_21.tagName&&_21.tagName.toLowerCase()=="body"){
return;
}
dijit._onTouchNode(_21);
if(_21==dijit._curFocus){
return;
}
if(dijit._curFocus){
dijit._prevFocus=dijit._curFocus;
}
dijit._curFocus=_21;
dojo.publish("focusNode",[_21]);
},_setStack:function(_22){
var _23=dijit._activeStack;
dijit._activeStack=_22;
for(var _24=0;_24<Math.min(_23.length,_22.length);_24++){
if(_23[_24]!=_22[_24]){
break;
}
}
for(var i=_23.length-1;i>=_24;i--){
var _26=dijit.byId(_23[i]);
if(_26){
_26._focused=false;
_26._hasBeenBlurred=true;
if(_26._onBlur){
_26._onBlur();
}
if(_26._setStateClass){
_26._setStateClass();
}
dojo.publish("widgetBlur",[_26]);
}
}
for(i=_24;i<_22.length;i++){
_26=dijit.byId(_22[i]);
if(_26){
_26._focused=true;
if(_26._onFocus){
_26._onFocus();
}
if(_26._setStateClass){
_26._setStateClass();
}
dojo.publish("widgetFocus",[_26]);
}
}
}});
dojo.addOnLoad(dijit.registerWin);
}
if(!dojo._hasResource["dijit._base.manager"]){
dojo._hasResource["dijit._base.manager"]=true;
dojo.provide("dijit._base.manager");
dojo.declare("dijit.WidgetSet",null,{constructor:function(){
this._hash={};
},add:function(_27){
if(this._hash[_27.id]){
throw new Error("Tried to register widget with id=="+_27.id+" but that id is already registered");
}
this._hash[_27.id]=_27;
},remove:function(id){
delete this._hash[id];
},forEach:function(_29){
for(var id in this._hash){
_29(this._hash[id]);
}
},filter:function(_2b){
var res=new dijit.WidgetSet();
this.forEach(function(_2d){
if(_2b(_2d)){
res.add(_2d);
}
});
return res;
},byId:function(id){
return this._hash[id];
},byClass:function(cls){
return this.filter(function(_30){
return _30.declaredClass==cls;
});
}});
dijit.registry=new dijit.WidgetSet();
dijit._widgetTypeCtr={};
dijit.getUniqueId=function(_31){
var id;
do{
id=_31+"_"+(_31 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_31]:dijit._widgetTypeCtr[_31]=0);
}while(dijit.byId(id));
return id;
};
if(dojo.isIE){
dojo.addOnWindowUnload(function(){
dijit.registry.forEach(function(_33){
_33.destroy();
});
});
}
dijit.byId=function(id){
return (dojo.isString(id))?dijit.registry.byId(id):id;
};
dijit.byNode=function(_35){
return dijit.registry.byId(_35.getAttribute("widgetId"));
};
dijit.getEnclosingWidget=function(_36){
while(_36){
if(_36.getAttribute&&_36.getAttribute("widgetId")){
return dijit.registry.byId(_36.getAttribute("widgetId"));
}
_36=_36.parentNode;
}
return null;
};
dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};
dijit._isElementShown=function(_37){
var _38=dojo.style(_37);
return (_38.visibility!="hidden")&&(_38.visibility!="collapsed")&&(_38.display!="none")&&(dojo.attr(_37,"type")!="hidden");
};
dijit.isTabNavigable=function(_39){
if(dojo.hasAttr(_39,"disabled")){
return false;
}
var _3a=dojo.hasAttr(_39,"tabindex");
var _3b=dojo.attr(_39,"tabindex");
if(_3a&&_3b>=0){
return true;
}
var _3c=_39.nodeName.toLowerCase();
if(((_3c=="a"&&dojo.hasAttr(_39,"href"))||dijit._tabElements[_3c])&&(!_3a||_3b>=0)){
return true;
}
return false;
};
dijit._getTabNavigable=function(_3d){
var _3e,_3f,_40,_41,_42,_43;
var _44=function(_45){
dojo.query("> *",_45).forEach(function(_46){
var _47=dijit._isElementShown(_46);
if(_47&&dijit.isTabNavigable(_46)){
var _48=dojo.attr(_46,"tabindex");
if(!dojo.hasAttr(_46,"tabindex")||_48==0){
if(!_3e){
_3e=_46;
}
_3f=_46;
}else{
if(_48>0){
if(!_40||_48<_41){
_41=_48;
_40=_46;
}
if(!_42||_48>=_43){
_43=_48;
_42=_46;
}
}
}
}
if(_47&&_46.nodeName.toUpperCase()!="SELECT"){
_44(_46);
}
});
};
if(dijit._isElementShown(_3d)){
_44(_3d);
}
return {first:_3e,last:_3f,lowest:_40,highest:_42};
};
dijit.getFirstInTabbingOrder=function(_49){
var _4a=dijit._getTabNavigable(dojo.byId(_49));
return _4a.lowest?_4a.lowest:_4a.first;
};
dijit.getLastInTabbingOrder=function(_4b){
var _4c=dijit._getTabNavigable(dojo.byId(_4b));
return _4c.last?_4c.last:_4c.highest;
};
dijit.defaultDuration=dojo.config["defaultDuration"]||200;
}
if(!dojo._hasResource["dojo.AdapterRegistry"]){
dojo._hasResource["dojo.AdapterRegistry"]=true;
dojo.provide("dojo.AdapterRegistry");
dojo.AdapterRegistry=function(_4d){
this.pairs=[];
this.returnWrappers=_4d||false;
};
dojo.extend(dojo.AdapterRegistry,{register:function(_4e,_4f,_50,_51,_52){
this.pairs[((_52)?"unshift":"push")]([_4e,_4f,_50,_51]);
},match:function(){
for(var i=0;i<this.pairs.length;i++){
var _54=this.pairs[i];
if(_54[1].apply(this,arguments)){
if((_54[3])||(this.returnWrappers)){
return _54[2];
}else{
return _54[2].apply(this,arguments);
}
}
}
throw new Error("No match found");
},unregister:function(_55){
for(var i=0;i<this.pairs.length;i++){
var _57=this.pairs[i];
if(_57[0]==_55){
this.pairs.splice(i,1);
return true;
}
}
return false;
}});
}
if(!dojo._hasResource["dijit._base.place"]){
dojo._hasResource["dijit._base.place"]=true;
dojo.provide("dijit._base.place");
dijit.getViewport=function(){
var _58=dojo.global;
var _59=dojo.doc;
var w=0,h=0;
var de=_59.documentElement;
var dew=de.clientWidth,deh=de.clientHeight;
if(dojo.isMozilla){
var _5f,_60,_61,_62;
var dbw=_59.body.clientWidth;
if(dbw>dew){
_5f=dew;
_61=dbw;
}else{
_61=dew;
_5f=dbw;
}
var dbh=_59.body.clientHeight;
if(dbh>deh){
_60=deh;
_62=dbh;
}else{
_62=deh;
_60=dbh;
}
w=(_61>_58.innerWidth)?_5f:_61;
h=(_62>_58.innerHeight)?_60:_62;
}else{
if(!dojo.isOpera&&_58.innerWidth){
w=_58.innerWidth;
h=_58.innerHeight;
}else{
if(dojo.isIE&&de&&deh){
w=dew;
h=deh;
}else{
if(dojo.body().clientWidth){
w=dojo.body().clientWidth;
h=dojo.body().clientHeight;
}
}
}
}
var _65=dojo._docScroll();
return {w:w,h:h,l:_65.x,t:_65.y};
};
dijit.placeOnScreen=function(_66,pos,_68,_69){
var _6a=dojo.map(_68,function(_6b){
return {corner:_6b,pos:pos};
});
return dijit._place(_66,_6a);
};
dijit._place=function(_6c,_6d,_6e){
var _6f=dijit.getViewport();
if(!_6c.parentNode||String(_6c.parentNode.tagName).toLowerCase()!="body"){
dojo.body().appendChild(_6c);
}
var _70=null;
dojo.some(_6d,function(_71){
var _72=_71.corner;
var pos=_71.pos;
if(_6e){
_6e(_6c,_71.aroundCorner,_72);
}
var _74=_6c.style;
var _75=_74.display;
var _76=_74.visibility;
_74.visibility="hidden";
_74.display="";
var mb=dojo.marginBox(_6c);
_74.display=_75;
_74.visibility=_76;
var _78=(_72.charAt(1)=="L"?pos.x:Math.max(_6f.l,pos.x-mb.w)),_79=(_72.charAt(0)=="T"?pos.y:Math.max(_6f.t,pos.y-mb.h)),_7a=(_72.charAt(1)=="L"?Math.min(_6f.l+_6f.w,_78+mb.w):pos.x),_7b=(_72.charAt(0)=="T"?Math.min(_6f.t+_6f.h,_79+mb.h):pos.y),_7c=_7a-_78,_7d=_7b-_79,_7e=(mb.w-_7c)+(mb.h-_7d);
if(_70==null||_7e<_70.overflow){
_70={corner:_72,aroundCorner:_71.aroundCorner,x:_78,y:_79,w:_7c,h:_7d,overflow:_7e};
}
return !_7e;
});
_6c.style.left=_70.x+"px";
_6c.style.top=_70.y+"px";
if(_70.overflow&&_6e){
_6e(_6c,_70.aroundCorner,_70.corner);
}
return _70;
};
dijit.placeOnScreenAroundNode=function(_7f,_80,_81,_82){
_80=dojo.byId(_80);
var _83=_80.style.display;
_80.style.display="";
var _84=_80.offsetWidth;
var _85=_80.offsetHeight;
var _86=dojo.coords(_80,true);
_80.style.display=_83;
return dijit._placeOnScreenAroundRect(_7f,_86.x,_86.y,_84,_85,_81,_82);
};
dijit.placeOnScreenAroundRectangle=function(_87,_88,_89,_8a){
return dijit._placeOnScreenAroundRect(_87,_88.x,_88.y,_88.width,_88.height,_89,_8a);
};
dijit._placeOnScreenAroundRect=function(_8b,x,y,_8e,_8f,_90,_91){
var _92=[];
for(var _93 in _90){
_92.push({aroundCorner:_93,corner:_90[_93],pos:{x:x+(_93.charAt(1)=="L"?0:_8e),y:y+(_93.charAt(0)=="T"?0:_8f)}});
}
return dijit._place(_8b,_92,_91);
};
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(_98,_99,_9a,_9b){
return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);
};
}
if(!dojo._hasResource["dijit._base.window"]){
dojo._hasResource["dijit._base.window"]=true;
dojo.provide("dijit._base.window");
dijit.getDocumentWindow=function(doc){
if(dojo.isIE&&window!==document.parentWindow&&!doc._parentWindow){
doc.parentWindow.execScript("document._parentWindow = window;","Javascript");
var win=doc._parentWindow;
doc._parentWindow=null;
return win;
}
return doc._parentWindow||doc.parentWindow||doc.defaultView;
};
}
if(!dojo._hasResource["dijit._base.popup"]){
dojo._hasResource["dijit._base.popup"]=true;
dojo.provide("dijit._base.popup");
dijit.popup=new function(){
var _9e=[],_9f=1000,_a0=1;
this.prepare=function(_a1){
dojo.body().appendChild(_a1);
var s=_a1.style;
if(s.display=="none"){
s.display="";
}
s.visibility="hidden";
s.position="absolute";
s.top="-9999px";
};
this.open=function(_a3){
var _a4=_a3.popup,_a5=_a3.orient||{"BL":"TL","TL":"BL"},_a6=_a3.around,id=(_a3.around&&_a3.around.id)?(_a3.around.id+"_dropdown"):("popup_"+_a0++);
var _a8=dojo.doc.createElement("div");
dijit.setWaiRole(_a8,"presentation");
_a8.id=id;
_a8.className="dijitPopup";
_a8.style.zIndex=_9f+_9e.length;
_a8.style.left=_a8.style.top="0px";
_a8.style.visibility="hidden";
if(_a3.parent){
_a8.dijitPopupParent=_a3.parent.id;
}
dojo.body().appendChild(_a8);
var s=_a4.domNode.style;
s.display="";
s.visibility="";
s.position="";
_a8.appendChild(_a4.domNode);
var _aa=new dijit.BackgroundIframe(_a8);
var _ab=_a6?dijit.placeOnScreenAroundElement(_a8,_a6,_a5,_a4.orient?dojo.hitch(_a4,"orient"):null):dijit.placeOnScreen(_a8,_a3,_a5=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);
_a8.style.visibility="visible";
var _ac=[];
var _ad=function(){
for(var pi=_9e.length-1;pi>0&&_9e[pi].parent===_9e[pi-1].widget;pi--){
}
return _9e[pi];
};
_ac.push(dojo.connect(_a8,"onkeypress",this,function(evt){
if(evt.charOrCode==dojo.keys.ESCAPE&&_a3.onCancel){
dojo.stopEvent(evt);
_a3.onCancel();
}else{
if(evt.charOrCode==dojo.keys.TAB){
dojo.stopEvent(evt);
var _b0=_ad();
if(_b0&&_b0.onCancel){
_b0.onCancel();
}
}
}
}));
if(_a4.onCancel){
_ac.push(dojo.connect(_a4,"onCancel",null,_a3.onCancel));
}
_ac.push(dojo.connect(_a4,_a4.onExecute?"onExecute":"onChange",null,function(){
var _b1=_ad();
if(_b1&&_b1.onExecute){
_b1.onExecute();
}
}));
_9e.push({wrapper:_a8,iframe:_aa,widget:_a4,parent:_a3.parent,onExecute:_a3.onExecute,onCancel:_a3.onCancel,onClose:_a3.onClose,handlers:_ac});
if(_a4.onOpen){
_a4.onOpen(_ab);
}
return _ab;
};
this.close=function(_b2){
while(dojo.some(_9e,function(_b3){
return _b3.widget==_b2;
})){
var top=_9e.pop(),_b5=top.wrapper,_b6=top.iframe,_b7=top.widget,_b8=top.onClose;
if(_b7.onClose){
_b7.onClose();
}
dojo.forEach(top.handlers,dojo.disconnect);
if(!_b7||!_b7.domNode){
return;
}
this.prepare(_b7.domNode);
_b6.destroy();
dojo._destroyElement(_b5);
if(_b8){
_b8();
}
}
};
}();
dijit._frames=new function(){
var _b9=[];
this.pop=function(){
var _ba;
if(_b9.length){
_ba=_b9.pop();
_ba.style.display="";
}else{
if(dojo.isIE){
var _bb=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";
var _bc="<iframe src='"+_bb+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";
_ba=dojo.doc.createElement(_bc);
}else{
_ba=dojo.doc.createElement("iframe");
_ba.src="javascript:\"\"";
_ba.className="dijitBackgroundIframe";
}
_ba.tabIndex=-1;
dojo.body().appendChild(_ba);
}
return _ba;
};
this.push=function(_bd){
_bd.style.display="";
if(dojo.isIE){
_bd.style.removeExpression("width");
_bd.style.removeExpression("height");
}
_b9.push(_bd);
};
}();
if(dojo.isIE<7){
dojo.addOnLoad(function(){
var f=dijit._frames;
dojo.forEach([f.pop()],f.push);
});
}
dijit.BackgroundIframe=function(_bf){
if(!_bf.id){
throw new Error("no id");
}
if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){
var _c0=dijit._frames.pop();
_bf.appendChild(_c0);
if(dojo.isIE){
_c0.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+_bf.id+"').offsetWidth");
_c0.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+_bf.id+"').offsetHeight");
}
this.iframe=_c0;
}
};
dojo.extend(dijit.BackgroundIframe,{destroy:function(){
if(this.iframe){
dijit._frames.push(this.iframe);
delete this.iframe;
}
}});
}
if(!dojo._hasResource["dijit._base.scroll"]){
dojo._hasResource["dijit._base.scroll"]=true;
dojo.provide("dijit._base.scroll");
dijit.scrollIntoView=function(_c1){
_c1=dojo.byId(_c1);
var _c2=_c1.ownerDocument.body;
var _c3=_c2.parentNode;
if(dojo.isFF==2||_c1==_c2||_c1==_c3){
_c1.scrollIntoView(false);
return;
}
var rtl=!dojo._isBodyLtr();
var _c5=dojo.doc.compatMode!="BackCompat";
var _c6=(_c5&&!dojo.isSafari)?_c3:_c2;
function addPseudoAttrs(_c7){
var _c8=_c7.parentNode;
var _c9=_c7.offsetParent;
if(_c9==null){
_c7=_c6;
_c9=_c3;
_c8=null;
}
_c7._offsetParent=(_c9==_c2)?_c6:_c9;
_c7._parent=(_c8==_c2)?_c6:_c8;
_c7._start={H:_c7.offsetLeft,V:_c7.offsetTop};
_c7._scroll={H:_c7.scrollLeft,V:_c7.scrollTop};
_c7._renderedSize={H:_c7.offsetWidth,V:_c7.offsetHeight};
var bp=dojo._getBorderExtents(_c7);
_c7._borderStart={H:bp.l,V:bp.t};
_c7._borderSize={H:bp.w,V:bp.h};
_c7._clientSize=(_c7._offsetParent==_c3&&dojo.isSafari&&_c5)?{H:_c3.clientWidth,V:_c3.clientHeight}:{H:_c7.clientWidth,V:_c7.clientHeight};
_c7._scrollBarSize={V:null,H:null};
for(var dir in _c7._scrollBarSize){
var _cc=_c7._renderedSize[dir]-_c7._clientSize[dir]-_c7._borderSize[dir];
_c7._scrollBarSize[dir]=(_c7._clientSize[dir]>0&&_cc>=15&&_cc<=17)?_cc:0;
}
_c7._isScrollable={V:null,H:null};
for(dir in _c7._isScrollable){
var _cd=dir=="H"?"V":"H";
_c7._isScrollable[dir]=_c7==_c6||_c7._scroll[dir]||_c7._scrollBarSize[_cd];
}
};
var _ce=_c1;
while(_ce!=null){
addPseudoAttrs(_ce);
var _cf=_ce._parent;
if(_cf){
_cf._child=_ce;
}
_ce=_cf;
}
for(var dir in _c6._renderedSize){
_c6._renderedSize[dir]=Math.min(_c6._clientSize[dir],_c6._renderedSize[dir]);
}
var _d1=_c1;
while(_d1!=_c6){
_ce=_d1._parent;
if(_ce.tagName=="TD"){
var _d2=_ce._parent._parent._parent;
if(_d2._offsetParent==_d1._offsetParent&&_ce._offsetParent!=_d1._offsetParent){
_ce=_d2;
}
}
var _d3=_d1==_c6||(_ce._offsetParent!=_d1._offsetParent);
for(dir in _d1._start){
var _d4=dir=="H"?"V":"H";
if(rtl&&dir=="H"&&(dojo.isSafari||dojo.isIE)&&_ce._clientSize.H>0){
var _d5=_ce.scrollWidth-_ce._clientSize.H;
if(_d5>0){
_ce._scroll.H-=_d5;
}
}
if(dojo.isIE&&_ce._offsetParent.tagName=="TABLE"){
_ce._start[dir]-=_ce._offsetParent._borderStart[dir];
_ce._borderStart[dir]=_ce._borderSize[dir]=0;
}
if(_ce._clientSize[dir]==0){
_ce._renderedSize[dir]=_ce._clientSize[dir]=_ce._child._clientSize[dir];
if(rtl&&dir=="H"){
_ce._start[dir]-=_ce._renderedSize[dir];
}
}else{
_ce._renderedSize[dir]-=_ce._borderSize[dir]+_ce._scrollBarSize[dir];
}
_ce._start[dir]+=_ce._borderStart[dir];
var _d6=_d1._start[dir]-(_d3?0:_ce._start[dir])-_ce._scroll[dir];
var _d7=_d6+_d1._renderedSize[dir]-_ce._renderedSize[dir];
var _d8,_d9=(dir=="H")?"scrollLeft":"scrollTop";
var _da=(dir=="H"&&rtl);
var _db=_da?-_d7:_d6;
var _dc=_da?-_d6:_d7;
if(_db<=0){
_d8=_db;
}else{
if(_dc<=0){
_d8=0;
}else{
if(_db<_dc){
_d8=_db;
}else{
_d8=_dc;
}
}
}
var _dd=0;
if(_d8!=0){
var _de=_ce[_d9];
_ce[_d9]+=_da?-_d8:_d8;
_dd=_ce[_d9]-_de;
_d6-=_dd;
_dc-=_da?-_dd:_dd;
}
_ce._renderedSize[dir]=_d1._renderedSize[dir]+_ce._scrollBarSize[dir]-((_ce._isScrollable[dir]&&_dc>0)?_dc:0);
_ce._start[dir]+=(_d6>=0||!_ce._isScrollable[dir])?_d6:0;
}
_d1=_ce;
}
};
}
if(!dojo._hasResource["dijit._base.sniff"]){
dojo._hasResource["dijit._base.sniff"]=true;
dojo.provide("dijit._base.sniff");
(function(){
var d=dojo;
var ie=d.isIE;
var _e1=d.isOpera;
var maj=Math.floor;
var ff=d.isFF;
var _e4=d.boxModel.replace(/-/,"");
var _e5={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_e1,dj_opera8:maj(_e1)==8,dj_opera9:maj(_e1)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2,dj_ff3:maj(ff)==3};
_e5["dj_"+_e4]=true;
var _e6=dojo.doc.documentElement;
for(var p in _e5){
if(_e5[p]){
if(_e6.className){
_e6.className+=" "+p;
}else{
_e6.className=p;
}
}
}
dojo._loaders.unshift(function(){
if(!dojo._isBodyLtr()){
_e6.className+=" dijitRtl";
for(var p in _e5){
if(_e5[p]){
_e6.className+=" "+p+"-rtl";
}
}
}
});
})();
}
if(!dojo._hasResource["dijit._base.typematic"]){
dojo._hasResource["dijit._base.typematic"]=true;
dojo.provide("dijit._base.typematic");
dijit.typematic={_fireEventAndReload:function(){
this._timer=null;
this._callback(++this._count,this._node,this._evt);
this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));
this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);
},trigger:function(evt,_ea,_eb,_ec,obj,_ee,_ef){
if(obj!=this._obj){
this.stop();
this._initialDelay=_ef||500;
this._subsequentDelay=_ee||0.9;
this._obj=obj;
this._evt=evt;
this._node=_eb;
this._currentTimeout=-1;
this._count=-1;
this._callback=dojo.hitch(_ea,_ec);
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(_f0,_f1,_f2,_f3,_f4,_f5){
if(_f1.keyCode){
_f1.charOrCode=_f1.keyCode;
dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");
}else{
if(_f1.charCode){
_f1.charOrCode=String.fromCharCode(_f1.charCode);
dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");
}
}
return [dojo.connect(_f0,"onkeypress",this,function(evt){
if(evt.charOrCode==_f1.charOrCode&&(_f1.ctrlKey===undefined||_f1.ctrlKey==evt.ctrlKey)&&(_f1.altKey===undefined||_f1.altKey==evt.ctrlKey)&&(_f1.shiftKey===undefined||_f1.shiftKey==evt.ctrlKey)){
dojo.stopEvent(evt);
dijit.typematic.trigger(_f1,_f2,_f0,_f3,_f1,_f4,_f5);
}else{
if(dijit.typematic._obj==_f1){
dijit.typematic.stop();
}
}
}),dojo.connect(_f0,"onkeyup",this,function(evt){
if(dijit.typematic._obj==_f1){
dijit.typematic.stop();
}
})];
},addMouseListener:function(_f8,_f9,_fa,_fb,_fc){
var dc=dojo.connect;
return [dc(_f8,"mousedown",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.trigger(evt,_f9,_f8,_fa,_f8,_fb,_fc);
}),dc(_f8,"mouseup",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.stop();
}),dc(_f8,"mouseout",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.stop();
}),dc(_f8,"mousemove",this,function(evt){
dojo.stopEvent(evt);
}),dc(_f8,"dblclick",this,function(evt){
dojo.stopEvent(evt);
if(dojo.isIE){
dijit.typematic.trigger(evt,_f9,_f8,_fa,_f8,_fb,_fc);
setTimeout(dojo.hitch(this,dijit.typematic.stop),50);
}
})];
},addListener:function(_103,_104,_105,_106,_107,_108,_109){
return this.addKeyListener(_104,_105,_106,_107,_108,_109).concat(this.addMouseListener(_103,_106,_107,_108,_109));
}};
}
if(!dojo._hasResource["dijit._base.wai"]){
dojo._hasResource["dijit._base.wai"]=true;
dojo.provide("dijit._base.wai");
dijit.wai={onload:function(){
var div=dojo.doc.createElement("div");
div.id="a11yTestNode";
div.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().appendChild(div);
var cs=dojo.getComputedStyle(div);
if(cs){
var _10c=cs.backgroundImage;
var _10d=(cs.borderTopColor==cs.borderRightColor)||(_10c!=null&&(_10c=="none"||_10c=="url(invalid-url:)"));
dojo[_10d?"addClass":"removeClass"](dojo.body(),"dijit_a11y");
if(dojo.isIE){
div.outerHTML="";
}else{
dojo.body().removeChild(div);
}
}
}};
if(dojo.isIE||dojo.isMoz){
dojo._loaders.unshift(dijit.wai.onload);
}
dojo.mixin(dijit,{_XhtmlRoles:/banner|contentinfo|definition|main|navigation|search|note|secondary|seealso/,hasWaiRole:function(elem,role){
var _110=this.getWaiRole(elem);
if(role){
return (_110.indexOf(role)>-1);
}else{
return (_110.length>0);
}
},getWaiRole:function(elem){
return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));
},setWaiRole:function(elem,role){
var _114=(theRole=dojo.attr(elem,"role"))?theRole:"";
if(dojo.isFF<3||!this._XhtmlRoles.test(_114)){
dojo.attr(elem,"role",dojo.isFF<3?"wairole:"+role:role);
}else{
if((" "+_114+" ").indexOf(" "+role+" ")<0){
var _115=dojo.trim(_114.replace(this._XhtmlRoles,""));
var _116=dojo.trim(_114.replace(_115,""));
dojo.attr(elem,"role",_116+(_116?" ":"")+role);
}
}
},removeWaiRole:function(elem,role){
var _119=dojo.attr(elem,"role");
if(!_119){
return;
}
if(role){
var _11a=dojo.isFF<3?"wairole:"+role:role;
var t=dojo.trim((" "+_119+" ").replace(" "+_11a+" "," "));
dojo.attr(elem,"role",t);
}else{
elem.removeAttribute("role");
}
},hasWaiState:function(elem,_11d){
if(dojo.isFF<3){
return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_11d);
}else{
return elem.hasAttribute?elem.hasAttribute("aria-"+_11d):!!elem.getAttribute("aria-"+_11d);
}
},getWaiState:function(elem,_11f){
if(dojo.isFF<3){
return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_11f);
}else{
var _120=elem.getAttribute("aria-"+_11f);
return _120?_120:"";
}
},setWaiState:function(elem,_122,_123){
if(dojo.isFF<3){
elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_122,_123);
}else{
elem.setAttribute("aria-"+_122,_123);
}
},removeWaiState:function(elem,_125){
if(dojo.isFF<3){
elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_125);
}else{
elem.removeAttribute("aria-"+_125);
}
}});
}
if(!dojo._hasResource["dijit._base"]){
dojo._hasResource["dijit._base"]=true;
dojo.provide("dijit._base");
}
if(!dojo._hasResource["dijit._Widget"]){
dojo._hasResource["dijit._Widget"]=true;
dojo.provide("dijit._Widget");
dojo.require("dijit._base");
dojo.connect(dojo,"connect",function(_126,_127){
if(_126&&dojo.isFunction(_126._onConnect)){
_126._onConnect(_127);
}
});
dijit._connectOnUseEventHandler=function(_128){
};
(function(){
var _129={};
var _12a=function(dc){
if(!_129[dc]){
var r=[];
var _12d;
var _12e=dojo.getObject(dc).prototype;
for(var _12f in _12e){
if(dojo.isFunction(_12e[_12f])&&(_12d=_12f.match(/^_set([a-zA-Z]*)Attr$/))&&_12d[1]){
r.push(_12d[1].charAt(0).toLowerCase()+_12d[1].substr(1));
}
}
_129[dc]=r;
}
return _129[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(_130,_131){
this.create(_130,_131);
},create:function(_132,_133){
this.srcNodeRef=dojo.byId(_133);
this._connects=[];
this._deferredConnects=dojo.clone(this._deferredConnects);
for(var attr in this.attributeMap){
delete this._deferredConnects[attr];
}
for(attr in this._deferredConnects){
if(this[attr]!==dijit._connectOnUseEventHandler){
delete this._deferredConnects[attr];
}
}
if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){
this.id=this.srcNodeRef.id;
}
if(_132){
this.params=_132;
dojo.mixin(this,_132);
}
this.postMixInProperties();
if(!this.id){
this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));
}
dijit.registry.add(this);
this.buildRendering();
if(this.domNode){
this._applyAttributes();
for(attr in this.params){
this._onConnect(attr);
}
}
if(this.domNode){
this.domNode.setAttribute("widgetId",this.id);
}
this.postCreate();
if(this.srcNodeRef&&!this.srcNodeRef.parentNode){
delete this.srcNodeRef;
}
this._created=true;
},_applyAttributes:function(){
var _135=function(attr,_137){
if((_137.params&&attr in _137.params)||_137[attr]){
_137.attr(attr,_137[attr]);
}
};
for(var attr in this.attributeMap){
_135(attr,this);
}
dojo.forEach(_12a(this.declaredClass),function(a){
if(!(a in this.attributeMap)){
_135(a,this);
}
},this);
},postMixInProperties:function(){
},buildRendering:function(){
this.domNode=this.srcNodeRef||dojo.doc.createElement("div");
},postCreate:function(){
},startup:function(){
this._started=true;
},destroyRecursive:function(_13a){
this.destroyDescendants(_13a);
this.destroy(_13a);
},destroy:function(_13b){
this.uninitialize();
dojo.forEach(this._connects,function(_13c){
dojo.forEach(_13c,dojo.disconnect);
});
dojo.forEach(this._supportingWidgets||[],function(w){
if(w.destroy){
w.destroy();
}
});
this.destroyRendering(_13b);
dijit.registry.remove(this.id);
},destroyRendering:function(_13e){
if(this.bgIframe){
this.bgIframe.destroy(_13e);
delete this.bgIframe;
}
if(this.domNode){
if(!_13e){
dojo._destroyElement(this.domNode);
}
delete this.domNode;
}
if(this.srcNodeRef){
if(!_13e){
dojo._destroyElement(this.srcNodeRef);
}
delete this.srcNodeRef;
}
},destroyDescendants:function(_13f){
dojo.forEach(this.getDescendants(),function(_140){
if(_140.destroy){
_140.destroy(_13f);
}
});
},uninitialize:function(){
return false;
},onFocus:function(){
},onBlur:function(){
},_onFocus:function(e){
this.onFocus();
},_onBlur:function(){
this.onBlur();
},_onConnect:function(_142){
if(_142 in this._deferredConnects){
var _143=this[this._deferredConnects[_142]||"domNode"];
this.connect(_143,_142.toLowerCase(),this[_142]);
delete this._deferredConnects[_142];
}
},_setClassAttr:function(_144){
var _145=this[this.attributeMap["class"]||"domNode"];
dojo.removeClass(_145,this["class"]);
this["class"]=_144;
dojo.addClass(_145,_144);
},_setStyleAttr:function(_146){
var _147=this[this.attributeMap["style"]||"domNode"];
if(_147.style.cssText){
_147.style.cssText+="; "+_146;
}else{
_147.style.cssText=_146;
}
this["style"]=_146;
},setAttribute:function(attr,_149){
dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");
this.attr(attr,_149);
},_attrToDom:function(attr,_14b){
var _14c=this.attributeMap[attr];
dojo.forEach(dojo.isArray(_14c)?_14c:[_14c],function(_14d){
var _14e=this[_14d.node||_14d||"domNode"];
var type=_14d.type||"attribute";
switch(type){
case "attribute":
if(dojo.isFunction(_14b)){
_14b=dojo.hitch(this,_14b);
}
if(/^on[A-Z][a-zA-Z]*$/.test(attr)){
attr=attr.toLowerCase();
}
dojo.attr(_14e,attr,_14b);
break;
case "innerHTML":
_14e.innerHTML=_14b;
break;
case "class":
dojo.removeClass(_14e,this[attr]);
dojo.addClass(_14e,_14b);
break;
}
},this);
this[attr]=_14b;
},attr:function(name,_151){
var args=arguments.length;
if(args==1&&!dojo.isString(name)){
for(var x in name){
this.attr(x,name[x]);
}
return this;
}
var _154=this._getAttrNames(name);
if(args==2){
if(this[_154.s]){
return this[_154.s](_151)||this;
}else{
if(name in this.attributeMap){
this._attrToDom(name,_151);
}
this[name]=_151;
}
return this;
}else{
if(this[_154.g]){
return this[_154.g]();
}else{
return this[name];
}
}
},_attrPairNames:{},_getAttrNames:function(name){
var apn=this._attrPairNames;
if(apn[name]){
return apn[name];
}
var uc=name.charAt(0).toUpperCase()+name.substr(1);
return apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"};
},toString:function(){
return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";
},getDescendants:function(){
if(this.containerNode){
var list=dojo.query("[widgetId]",this.containerNode);
return list.map(dijit.byNode);
}else{
return [];
}
},nodesWithKeyClick:["input","button"],connect:function(obj,_15a,_15b){
var d=dojo;
var dco=d.hitch(d,"connect",obj);
var _15e=[];
if(_15a=="ondijitclick"){
if(!this.nodesWithKeyClick[obj.nodeName]){
var m=d.hitch(this,_15b);
_15e.push(dco("onkeydown",this,function(e){
if(!d.isFF&&e.keyCode==d.keys.ENTER){
return m(e);
}else{
if(e.keyCode==d.keys.SPACE){
d.stopEvent(e);
}
}
}),dco("onkeyup",this,function(e){
if(e.keyCode==d.keys.SPACE){
return m(e);
}
}));
if(d.isFF){
_15e.push(dco("onkeypress",this,function(e){
if(e.keyCode==d.keys.ENTER){
return m(e);
}
}));
}
}
_15a="onclick";
}
_15e.push(dco(_15a,this,_15b));
this._connects.push(_15e);
return _15e;
},disconnect:function(_163){
for(var i=0;i<this._connects.length;i++){
if(this._connects[i]==_163){
dojo.forEach(_163,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(_165,_166){
if(_165["declaredClass"]&&_165["addChild"]){
_165.addChild(this,_166);
}else{
dojo.place(this.domNode,_165,_166);
}
return this;
}});
})();
}
if(!dojo._hasResource["dijit._Container"]){
dojo._hasResource["dijit._Container"]=true;
dojo.provide("dijit._Container");
dojo.declare("dijit._Contained",null,{getParent:function(){
for(var p=this.domNode.parentNode;p;p=p.parentNode){
var id=p.getAttribute&&p.getAttribute("widgetId");
if(id){
var _169=dijit.byId(id);
return _169.isContainer?_169:null;
}
}
return null;
},_getSibling:function(_16a){
var node=this.domNode;
do{
node=node[_16a+"Sibling"];
}while(node&&node.nodeType!=1);
if(!node){
return null;
}
var id=node.getAttribute("widgetId");
return dijit.byId(id);
},getPreviousSibling:function(){
return this._getSibling("previous");
},getNextSibling:function(){
return this._getSibling("next");
},getIndexInParent:function(){
var p=this.getParent();
if(!p||!p.getIndexOfChild){
return -1;
}
return p.getIndexOfChild(this);
}});
dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){
this.inherited(arguments);
if(!this.containerNode){
this.containerNode=this.domNode;
}
},addChild:function(_16e,_16f){
var _170=this.containerNode;
if(_16f&&typeof _16f=="number"){
var _171=dojo.query("> [widgetId]",_170);
if(_171&&_171.length>=_16f){
_170=_171[_16f-1];
_16f="after";
}
}
dojo.place(_16e.domNode,_170,_16f);
if(this._started&&!_16e._started){
_16e.startup();
}
},removeChild:function(_172){
if(typeof _172=="number"&&_172>0){
_172=this.getChildren()[_172];
}
if(!_172||!_172.domNode){
return;
}
var node=_172.domNode;
node.parentNode.removeChild(node);
},_nextElement:function(node){
do{
node=node.nextSibling;
}while(node&&node.nodeType!=1);
return node;
},_firstElement:function(node){
node=node.firstChild;
if(node&&node.nodeType!=1){
node=this._nextElement(node);
}
return node;
},getChildren:function(){
return dojo.query("> [widgetId]",this.containerNode).map(dijit.byNode);
},hasChildren:function(){
return !!this._firstElement(this.containerNode);
},destroyDescendants:function(_176){
dojo.forEach(this.getChildren(),function(_177){
_177.destroyRecursive(_176);
});
},_getSiblingOfChild:function(_178,dir){
var node=_178.domNode;
var _17b=(dir>0?"nextSibling":"previousSibling");
do{
node=node[_17b];
}while(node&&(node.nodeType!=1||!dijit.byNode(node)));
return node?dijit.byNode(node):null;
},getIndexOfChild:function(_17c){
var _17d=this.getChildren();
for(var i=0,c;c=_17d[i];i++){
if(c==_17c){
return i;
}
}
return -1;
}});
dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_180,_181){
var _182=this._keyNavCodes={};
var prev=dojo.hitch(this,this.focusPrev);
var next=dojo.hitch(this,this.focusNext);
dojo.forEach(_180,function(code){
_182[code]=prev;
});
dojo.forEach(_181,function(code){
_182[code]=next;
});
this.connect(this.domNode,"onkeypress","_onContainerKeypress");
this.connect(this.domNode,"onfocus","_onContainerFocus");
},startupKeyNavChildren:function(){
dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));
},addChild:function(_187,_188){
dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);
this._startupChild(_187);
},focus:function(){
this.focusFirstChild();
},focusFirstChild:function(){
this.focusChild(this._getFirstFocusableChild());
},focusNext:function(){
if(this.focusedChild&&this.focusedChild.hasNextFocalNode&&this.focusedChild.hasNextFocalNode()){
this.focusedChild.focusNext();
return;
}
var _189=this._getNextFocusableChild(this.focusedChild,1);
if(_189.getFocalNodes){
this.focusChild(_189,_189.getFocalNodes()[0]);
}else{
this.focusChild(_189);
}
},focusPrev:function(){
if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){
this.focusedChild.focusPrev();
return;
}
var _18a=this._getNextFocusableChild(this.focusedChild,-1);
if(_18a.getFocalNodes){
var _18b=_18a.getFocalNodes();
this.focusChild(_18a,_18b[_18b.length-1]);
}else{
this.focusChild(_18a);
}
},focusChild:function(_18c,node){
if(_18c){
if(this.focusedChild&&_18c!==this.focusedChild){
this._onChildBlur(this.focusedChild);
}
this.focusedChild=_18c;
if(node&&_18c.focusFocalNode){
_18c.focusFocalNode(node);
}else{
_18c.focus();
}
}
},_startupChild:function(_18e){
if(_18e.getFocalNodes){
dojo.forEach(_18e.getFocalNodes(),function(node){
dojo.attr(node,"tabindex",-1);
this._connectNode(node);
},this);
}else{
var node=_18e.focusNode||_18e.domNode;
if(_18e.isFocusable()){
dojo.attr(node,"tabindex",-1);
}
this._connectNode(node);
}
},_connectNode:function(node){
this.connect(node,"onfocus","_onNodeFocus");
this.connect(node,"onblur","_onNodeBlur");
},_onContainerFocus:function(evt){
if(evt.target===this.domNode){
this.focusFirstChild();
}
},_onContainerKeypress:function(evt){
if(evt.ctrlKey||evt.altKey){
return;
}
var func=this._keyNavCodes[evt.charOrCode];
if(func){
func();
dojo.stopEvent(evt);
}
},_onNodeFocus:function(evt){
dojo.attr(this.domNode,"tabindex",-1);
var _196=dijit.getEnclosingWidget(evt.target);
if(_196&&_196.isFocusable()){
this.focusedChild=_196;
}
dojo.stopEvent(evt);
},_onNodeBlur:function(evt){
if(this.tabIndex){
dojo.attr(this.domNode,"tabindex",this.tabIndex);
}
dojo.stopEvent(evt);
},_onChildBlur:function(_198){
},_getFirstFocusableChild:function(){
return this._getNextFocusableChild(null,1);
},_getNextFocusableChild:function(_199,dir){
if(_199){
_199=this._getSiblingOfChild(_199,dir);
}
var _19b=this.getChildren();
for(var i=0;i<_19b.length;i++){
if(!_199){
_199=_19b[(dir>0)?0:(_19b.length-1)];
}
if(_199.isFocusable()){
return _199;
}
_199=this._getSiblingOfChild(_199,dir);
}
return null;
}});
}
if(!dojo._hasResource["dijit.layout._LayoutWidget"]){
dojo._hasResource["dijit.layout._LayoutWidget"]=true;
dojo.provide("dijit.layout._LayoutWidget");
dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){
dojo.addClass(this.domNode,"dijitContainer");
dojo.addClass(this.domNode,this.baseClass);
},startup:function(){
if(this._started){
return;
}
dojo.forEach(this.getChildren(),function(_19d){
_19d.startup();
});
if(!this.getParent||!this.getParent()){
this.resize();
this.connect(dojo.global,"onresize","resize");
}
this.inherited(arguments);
},resize:function(_19e,_19f){
var node=this.domNode;
if(_19e){
dojo.marginBox(node,_19e);
if(_19e.t){
node.style.top=_19e.t+"px";
}
if(_19e.l){
node.style.left=_19e.l+"px";
}
}
var mb=_19f||{};
dojo.mixin(mb,_19e||{});
if(!("h" in mb)||!("w" in mb)){
mb=dojo.mixin(dojo.marginBox(node),mb);
}
var cs=dojo.getComputedStyle(node);
var me=dojo._getMarginExtents(node,cs);
var be=dojo._getBorderExtents(node,cs);
var bb=this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)};
var pe=dojo._getPadExtents(node,cs);
this._contentBox={l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};
this.layout();
},layout:function(){
},_setupChild:function(_1a7){
if(_1a7.baseClass){
dojo.addClass(_1a7.domNode,this.baseClass+"-"+_1a7.baseClass);
}
},addChild:function(_1a8,_1a9){
this.inherited(arguments);
if(this._started){
this._setupChild(_1a8);
}
},removeChild:function(_1aa){
if(_1aa.baseClass){
dojo.removeClass(_1aa.domNode,this.baseClass+"-"+_1aa.baseClass);
}
this.inherited(arguments);
}});
dijit.layout.marginBox2contentBox=function(node,mb){
var cs=dojo.getComputedStyle(node);
var me=dojo._getMarginExtents(node,cs);
var pb=dojo._getPadBorderExtents(node,cs);
return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};
};
(function(){
var _1b0=function(word){
return word.substring(0,1).toUpperCase()+word.substring(1);
};
var size=function(_1b3,dim){
_1b3.resize?_1b3.resize(dim):dojo.marginBox(_1b3.domNode,dim);
dojo.mixin(_1b3,dojo.marginBox(_1b3.domNode));
dojo.mixin(_1b3,dim);
};
dijit.layout.layoutChildren=function(_1b5,dim,_1b7){
dim=dojo.mixin({},dim);
dojo.addClass(_1b5,"dijitLayoutContainer");
_1b7=dojo.filter(_1b7,function(item){
return item.layoutAlign!="client";
}).concat(dojo.filter(_1b7,function(item){
return item.layoutAlign=="client";
}));
dojo.forEach(_1b7,function(_1ba){
var elm=_1ba.domNode,pos=_1ba.layoutAlign;
var _1bd=elm.style;
_1bd.left=dim.l+"px";
_1bd.top=dim.t+"px";
_1bd.bottom=_1bd.right="auto";
dojo.addClass(elm,"dijitAlign"+_1b0(pos));
if(pos=="top"||pos=="bottom"){
size(_1ba,{w:dim.w});
dim.h-=_1ba.h;
if(pos=="top"){
dim.t+=_1ba.h;
}else{
_1bd.top=dim.t+dim.h+"px";
}
}else{
if(pos=="left"||pos=="right"){
size(_1ba,{h:dim.h});
dim.w-=_1ba.w;
if(pos=="left"){
dim.l+=_1ba.w;
}else{
_1bd.left=dim.l+dim.w+"px";
}
}else{
if(pos=="client"){
size(_1ba,dim);
}
}
}
});
};
})();
}
if(!dojo._hasResource["dojo.string"]){
dojo._hasResource["dojo.string"]=true;
dojo.provide("dojo.string");
dojo.string.rep=function(str,num){
if(num<=0||!str){
return "";
}
var buf=[];
for(;;){
if(num&1){
buf.push(str);
}
if(!(num>>=1)){
break;
}
str+=str;
}
return buf.join("");
};
dojo.string.pad=function(text,size,ch,end){
if(!ch){
ch="0";
}
var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));
return end?out+pad:pad+out;
};
dojo.string.substitute=function(_1c7,map,_1c9,_1ca){
_1ca=_1ca||dojo.global;
_1c9=(!_1c9)?function(v){
return v;
}:dojo.hitch(_1ca,_1c9);
return _1c7.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1cc,key,_1ce){
var _1cf=dojo.getObject(key,false,map);
if(_1ce){
_1cf=dojo.getObject(_1ce,false,_1ca).call(_1ca,_1cf,key);
}
return _1c9(_1cf,key).toString();
});
};
dojo.string.trim=function(str){
str=str.replace(/^\s+/,"");
for(var i=str.length-1;i>=0;i--){
if(/\S/.test(str.charAt(i))){
str=str.substring(0,i+1);
break;
}
}
return str;
};
}
if(!dojo._hasResource["dojo.date.stamp"]){
dojo._hasResource["dojo.date.stamp"]=true;
dojo.provide("dojo.date.stamp");
dojo.date.stamp.fromISOString=function(_1d2,_1d3){
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 _1d4=dojo.date.stamp._isoRegExp.exec(_1d2);
var _1d5=null;
if(_1d4){
_1d4.shift();
if(_1d4[1]){
_1d4[1]--;
}
if(_1d4[6]){
_1d4[6]*=1000;
}
if(_1d3){
_1d3=new Date(_1d3);
dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){
return _1d3["get"+prop]();
}).forEach(function(_1d7,_1d8){
if(_1d4[_1d8]===undefined){
_1d4[_1d8]=_1d7;
}
});
}
_1d5=new Date(_1d4[0]||1970,_1d4[1]||0,_1d4[2]||1,_1d4[3]||0,_1d4[4]||0,_1d4[5]||0,_1d4[6]||0);
var _1d9=0;
var _1da=_1d4[7]&&_1d4[7].charAt(0);
if(_1da!="Z"){
_1d9=((_1d4[8]||0)*60)+(Number(_1d4[9])||0);
if(_1da!="-"){
_1d9*=-1;
}
}
if(_1da){
_1d9-=_1d5.getTimezoneOffset();
}
if(_1d9){
_1d5.setTime(_1d5.getTime()+_1d9*60000);
}
}
return _1d5;
};
dojo.date.stamp.toISOString=function(_1db,_1dc){
var _=function(n){
return (n<10)?"0"+n:n;
};
_1dc=_1dc||{};
var _1df=[];
var _1e0=_1dc.zulu?"getUTC":"get";
var date="";
if(_1dc.selector!="time"){
var year=_1db[_1e0+"FullYear"]();
date=["0000".substr((year+"").length)+year,_(_1db[_1e0+"Month"]()+1),_(_1db[_1e0+"Date"]())].join("-");
}
_1df.push(date);
if(_1dc.selector!="date"){
var time=[_(_1db[_1e0+"Hours"]()),_(_1db[_1e0+"Minutes"]()),_(_1db[_1e0+"Seconds"]())].join(":");
var _1e4=_1db[_1e0+"Milliseconds"]();
if(_1dc.milliseconds){
time+="."+(_1e4<100?"0":"")+_(_1e4);
}
if(_1dc.zulu){
time+="Z";
}else{
if(_1dc.selector!="time"){
var _1e5=_1db.getTimezoneOffset();
var _1e6=Math.abs(_1e5);
time+=(_1e5>0?"-":"+")+_(Math.floor(_1e6/60))+":"+_(_1e6%60);
}
}
_1df.push(time);
}
return _1df.join("T");
};
}
if(!dojo._hasResource["dojo.parser"]){
dojo._hasResource["dojo.parser"]=true;
dojo.provide("dojo.parser");
dojo.parser=new function(){
var d=dojo;
var _1e8=d._scopeName+"Type";
var qry="["+_1e8+"]";
function val2type(_1ea){
if(d.isString(_1ea)){
return "string";
}
if(typeof _1ea=="number"){
return "number";
}
if(typeof _1ea=="boolean"){
return "boolean";
}
if(d.isFunction(_1ea)){
return "function";
}
if(d.isArray(_1ea)){
return "array";
}
if(_1ea instanceof Date){
return "date";
}
if(_1ea instanceof d._Url){
return "url";
}
return "object";
};
function str2obj(_1eb,type){
switch(type){
case "string":
return _1eb;
case "number":
return _1eb.length?Number(_1eb):NaN;
case "boolean":
return typeof _1eb=="boolean"?_1eb:!(_1eb.toLowerCase()=="false");
case "function":
if(d.isFunction(_1eb)){
_1eb=_1eb.toString();
_1eb=d.trim(_1eb.substring(_1eb.indexOf("{")+1,_1eb.length-1));
}
try{
if(_1eb.search(/[^\w\.]+/i)!=-1){
_1eb=d.parser._nameAnonFunc(new Function(_1eb),this);
}
return d.getObject(_1eb,false);
}
catch(e){
return new Function();
}
case "array":
return _1eb?_1eb.split(/\s*,\s*/):[];
case "date":
switch(_1eb){
case "":
return new Date("");
case "now":
return new Date();
default:
return d.date.stamp.fromISOString(_1eb);
}
case "url":
return d.baseUrl+_1eb;
default:
return d.fromJson(_1eb);
}
};
var _1ed={};
function getClassInfo(_1ee){
if(!_1ed[_1ee]){
var cls=d.getObject(_1ee);
if(!d.isFunction(cls)){
throw new Error("Could not load class '"+_1ee+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");
}
var _1f0=cls.prototype;
var _1f1={};
for(var name in _1f0){
if(name.charAt(0)=="_"){
continue;
}
var _1f3=_1f0[name];
_1f1[name]=val2type(_1f3);
}
_1ed[_1ee]={cls:cls,params:_1f1};
}
return _1ed[_1ee];
};
this._functionFromScript=function(_1f4){
var _1f5="";
var _1f6="";
var _1f7=_1f4.getAttribute("args");
if(_1f7){
d.forEach(_1f7.split(/\s*,\s*/),function(part,idx){
_1f5+="var "+part+" = arguments["+idx+"]; ";
});
}
var _1fa=_1f4.getAttribute("with");
if(_1fa&&_1fa.length){
d.forEach(_1fa.split(/\s*,\s*/),function(part){
_1f5+="with("+part+"){";
_1f6+="}";
});
}
return new Function(_1f5+_1f4.innerHTML+_1f6);
};
this.instantiate=function(_1fc){
var _1fd=[];
d.forEach(_1fc,function(node){
if(!node){
return;
}
var type=node.getAttribute(_1e8);
if((!type)||(!type.length)){
return;
}
var _200=getClassInfo(type);
var _201=_200.cls;
var ps=_201._noScript||_201.prototype._noScript;
var _203={};
var _204=node.attributes;
for(var name in _200.params){
var item=_204.getNamedItem(name);
if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){
continue;
}
var _207=item.value;
switch(name){
case "class":
_207=node.className;
break;
case "style":
_207=node.style&&node.style.cssText;
}
var _208=_200.params[name];
_203[name]=str2obj(_207,_208);
}
if(!ps){
var _209=[],_20a=[];
d.query("> script[type^='dojo/']",node).orphan().forEach(function(_20b){
var _20c=_20b.getAttribute("event"),type=_20b.getAttribute("type"),nf=d.parser._functionFromScript(_20b);
if(_20c){
if(type=="dojo/connect"){
_209.push({event:_20c,func:nf});
}else{
_203[_20c]=nf;
}
}else{
_20a.push(nf);
}
});
}
var _20e=_201["markupFactory"];
if(!_20e&&_201["prototype"]){
_20e=_201.prototype["markupFactory"];
}
var _20f=_20e?_20e(_203,node,_201):new _201(_203,node);
_1fd.push(_20f);
var _210=node.getAttribute("jsId");
if(_210){
d.setObject(_210,_20f);
}
if(!ps){
d.forEach(_209,function(_211){
d.connect(_20f,_211.event,null,_211.func);
});
d.forEach(_20a,function(func){
func.call(_20f);
});
}
});
d.forEach(_1fd,function(_213){
if(_213&&_213.startup&&!_213._started&&(!_213.getParent||!_213.getParent())){
_213.startup();
}
});
return _1fd;
};
this.parse=function(_214){
var list=d.query(qry,_214);
var _216=this.instantiate(list);
return _216;
};
}();
(function(){
var _217=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,_217);
}else{
dojo._loaders.unshift(_217);
}
})();
dojo.parser._anonCtr=0;
dojo.parser._anon={};
dojo.parser._nameAnonFunc=function(_218,_219){
var jpn="$joinpoint";
var nso=(_219||dojo.parser._anon);
if(dojo.isIE){
var cn=_218["__dojoNameCache"];
if(cn&&nso[cn]===_218){
return _218["__dojoNameCache"];
}
}
var ret="__"+dojo.parser._anonCtr++;
while(typeof nso[ret]!="undefined"){
ret="__"+dojo.parser._anonCtr++;
}
nso[ret]=_218;
return ret;
};
}
if(!dojo._hasResource["dijit._Templated"]){
dojo._hasResource["dijit._Templated"]=true;
dojo.provide("dijit._Templated");
dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_stringRepl:function(tmpl){
var _21f=this.declaredClass,_220=this;
return dojo.string.substitute(tmpl,this,function(_221,key){
if(key.charAt(0)=="!"){
_221=_220[key.substr(1)];
}
if(typeof _221=="undefined"){
throw new Error(_21f+" template:"+key);
}
if(!_221){
return "";
}
return key.charAt(0)=="!"?_221:_221.toString().replace(/"/g,"&quot;");
},this);
},buildRendering:function(){
var _223=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);
var node;
if(dojo.isString(_223)){
node=dijit._Templated._createNodesFromText(this._stringRepl(_223))[0];
}else{
node=_223.cloneNode(true);
}
this.domNode=node;
this._attachTemplateNodes(node);
var _225=this.srcNodeRef;
if(_225&&_225.parentNode){
_225.parentNode.replaceChild(node,_225);
}
if(this.widgetsInTemplate){
var cw=this._supportingWidgets=dojo.parser.parse(node);
this._attachTemplateNodes(cw,function(n,p){
return n[p];
});
}
this._fillContent(_225);
},_fillContent:function(_229){
var dest=this.containerNode;
if(_229&&dest){
while(_229.hasChildNodes()){
dest.appendChild(_229.firstChild);
}
}
},_attachTemplateNodes:function(_22b,_22c){
_22c=_22c||function(n,p){
return n.getAttribute(p);
};
var _22f=dojo.isArray(_22b)?_22b:(_22b.all||_22b.getElementsByTagName("*"));
var x=dojo.isArray(_22b)?0:-1;
var _231={};
for(;x<_22f.length;x++){
var _232=(x==-1)?_22b:_22f[x];
if(this.widgetsInTemplate&&_22c(_232,"dojoType")){
continue;
}
var _233=_22c(_232,"dojoAttachPoint");
if(_233){
var _234,_235=_233.split(/\s*,\s*/);
while((_234=_235.shift())){
if(dojo.isArray(this[_234])){
this[_234].push(_232);
}else{
this[_234]=_232;
}
}
}
var _236=_22c(_232,"dojoAttachEvent");
if(_236){
var _237,_238=_236.split(/\s*,\s*/);
var trim=dojo.trim;
while((_237=_238.shift())){
if(_237){
var _23a=null;
if(_237.indexOf(":")!=-1){
var _23b=_237.split(":");
_237=trim(_23b[0]);
_23a=trim(_23b[1]);
}else{
_237=trim(_237);
}
if(!_23a){
_23a=_237;
}
this.connect(_232,_237,_23a);
}
}
}
var role=_22c(_232,"waiRole");
if(role){
dijit.setWaiRole(_232,role);
}
var _23d=_22c(_232,"waiState");
if(_23d){
dojo.forEach(_23d.split(/\s*,\s*/),function(_23e){
if(_23e.indexOf("-")!=-1){
var pair=_23e.split("-");
dijit.setWaiState(_232,pair[0],pair[1]);
}
});
}
}
}});
dijit._Templated._templateCache={};
dijit._Templated.getCachedTemplate=function(_240,_241,_242){
var _243=dijit._Templated._templateCache;
var key=_241||_240;
var _245=_243[key];
if(_245){
if(!_245.ownerDocument||_245.ownerDocument==dojo.doc){
return _245;
}
dojo._destroyElement(_245);
}
if(!_241){
_241=dijit._Templated._sanitizeTemplateString(dojo._getText(_240));
}
_241=dojo.string.trim(_241);
if(_242||_241.match(/\$\{([^\}]+)\}/g)){
return (_243[key]=_241);
}else{
return (_243[key]=dijit._Templated._createNodesFromText(_241)[0]);
}
};
dijit._Templated._sanitizeTemplateString=function(_246){
if(_246){
_246=_246.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");
var _247=_246.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
if(_247){
_246=_247[1];
}
}else{
_246="";
}
return _246;
};
if(dojo.isIE){
dojo.addOnWindowUnload(function(){
var _248=dijit._Templated._templateCache;
for(var key in _248){
var _24a=_248[key];
if(!isNaN(_24a.nodeType)){
dojo._destroyElement(_24a);
}
delete _248[key];
}
});
}
(function(){
var _24b={cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};
var tn;
dijit._Templated._createNodesFromText=function(text){
if(tn&&tn.ownerDocument!=dojo.doc){
dojo._destroyElement(tn);
tn=undefined;
}
if(!tn){
tn=dojo.doc.createElement("div");
tn.style.display="none";
dojo.body().appendChild(tn);
}
var _24e="none";
var _24f=text.replace(/^\s+/,"");
for(var type in _24b){
var map=_24b[type];
if(map.re.test(_24f)){
_24e=type;
text=map.pre+text+map.post;
break;
}
}
tn.innerHTML=text;
if(tn.normalize){
tn.normalize();
}
var tag={cell:"tr",row:"tbody",section:"table"}[_24e];
var _253=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;
var _254=[];
while(_253.firstChild){
_254.push(_253.removeChild(_253.firstChild));
}
tn.innerHTML="";
return _254;
};
})();
dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});
}
if(!dojo._hasResource["dojox.layout.ScrollPane"]){
dojo._hasResource["dojox.layout.ScrollPane"]=true;
dojo.provide("dojox.layout.ScrollPane");
dojo.experimental("dojox.layout.ScrollPane");
dojo.declare("dojox.layout.ScrollPane",[dijit.layout._LayoutWidget,dijit._Templated],{_line:null,_lo:null,_offset:15,orientation:"vertical",templateString:"<div class=\"dojoxScrollWindow\" dojoAttachEvent=\"onmouseenter: _enter, onmouseleave: _leave\">\n    <div class=\"dojoxScrollWrapper\" style=\"${style}\" dojoAttachPoint=\"wrapper\" dojoAttachEvent=\"onmousemove: _calc\">\n\t<div class=\"dojoxScrollPane\" dojoAttachPoint=\"containerNode\"></div>\n    </div>\n    <div dojoAttachPoint=\"helper\" class=\"dojoxScrollHelper\"><span class=\"helperInner\">|</span></div>\n</div>\n",layout:function(){
var dir=this._dir,vert=this._vertical,val=this.containerNode[(vert?"scrollHeight":"scrollWidth")];
dojo.style(this.wrapper,dir,this.domNode.style[dir]);
this._lo=dojo.coords(this.wrapper,true);
this._size=Math.max(0,val-this._lo[(vert?"h":"w")]);
this._line=new dojo._Line(0-this._offset,this._size+(this._offset*2));
var u=this._lo[(vert?"h":"w")],r=Math.min(1,u/val),s=u*r,c=Math.floor(u-(u*r));
this._helpLine=new dojo._Line(0,c);
dojo.style(this.helper,dir,Math.floor(s)+"px");
},postCreate:function(){
this.inherited(arguments);
this._showAnim=dojo._fade({node:this.helper,end:1,duration:350});
this._hideAnim=dojo.fadeOut({node:this.helper,end:0.7,duration:750});
this._vertical=(this.orientation=="vertical");
if(!this._vertical){
dojo.addClass(this.containerNode,"dijitInline");
this._dir="width";
this._edge="left";
}else{
this._dir="height";
this._edge="top";
}
dojo.style(this.wrapper,"overflow","hidden");
dojo.style(this.helper,"opacity","0.7");
},_set:function(n){
this.wrapper[(this._vertical?"scrollTop":"scrollLeft")]=Math.floor(this._line.getValue(n));
dojo.style(this.helper,this._edge,Math.floor(this._helpLine.getValue(n))+"px");
},_calc:function(e){
this._set(this._vertical?((e.pageY-this._lo.y)/this._lo.h):((e.pageX-this._lo.x)/this._lo.w));
},_enter:function(e){
if(this._hideAnim&&this._hideAnim.status()=="playing"){
this._hideAnim.stop();
}
this._showAnim.play();
},_leave:function(e){
this._hideAnim.play();
}});
}

