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


window[esri._dojoScopeName||"dojo"]._xdResourceLoaded(function(_1,_2,_3){return {depends:[["provide","dijit._base.wai"]],defineResource:function(_4,_5,_6){if(!_4._hasResource["dijit._base.wai"]){_4._hasResource["dijit._base.wai"]=true;_4.provide("dijit._base.wai");_5.wai={onload:function(){var _7=_4.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_4.config.blankGif||_4.moduleUrl("dojo","resources/blank.gif"))+"\");"}},_4.body());var cs=_4.getComputedStyle(_7);if(cs){var _8=cs.backgroundImage;var _9=(cs.borderTopColor==cs.borderRightColor)||(_8!=null&&(_8=="none"||_8=="url(invalid-url:)"));_4[_9?"addClass":"removeClass"](_4.body(),"dijit_a11y");if(_4.isIE){_7.outerHTML="";}else{_4.body().removeChild(_7);}}}};if(_4.isIE||_4.isMoz){_4._loaders.unshift(_5.wai.onload);}_4.mixin(_5,{hasWaiRole:function(_a,_b){var _c=this.getWaiRole(_a);return _b?(_c.indexOf(_b)>-1):(_c.length>0);},getWaiRole:function(_d){return _4.trim((_4.attr(_d,"role")||"").replace("wairole:",""));},setWaiRole:function(_e,_f){_4.attr(_e,"role",_f);},removeWaiRole:function(_10,_11){var _12=_4.attr(_10,"role");if(!_12){return;}if(_11){var t=_4.trim((" "+_12+" ").replace(" "+_11+" "," "));_4.attr(_10,"role",t);}else{_10.removeAttribute("role");}},hasWaiState:function(_13,_14){return _13.hasAttribute?_13.hasAttribute("aria-"+_14):!!_13.getAttribute("aria-"+_14);},getWaiState:function(_15,_16){return _15.getAttribute("aria-"+_16)||"";},setWaiState:function(_17,_18,_19){_17.setAttribute("aria-"+_18,_19);},removeWaiState:function(_1a,_1b){_1a.removeAttribute("aria-"+_1b);}});}}};});