/*
	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","dojox.dtl.Context"],["require","dojox.dtl._base"]],defineResource:function(_4,_5,_6){if(!_4._hasResource["dojox.dtl.Context"]){_4._hasResource["dojox.dtl.Context"]=true;_4.provide("dojox.dtl.Context");_4.require("dojox.dtl._base");_6.dtl.Context=_4.extend(function(_7){this._this={};_6.dtl._Context.call(this,_7);},_6.dtl._Context.prototype,{getKeys:function(){var _8=[];for(var _9 in this){if(this.hasOwnProperty(_9)&&_9!="_this"){_8.push(_9);}}return _8;},extend:function(_a){return _4.delegate(this,_a);},filter:function(_b){var _c=new _6.dtl.Context();var _d=[];var i,_e;if(_b instanceof _6.dtl.Context){_d=_b.getKeys();}else{if(typeof _b=="object"){for(var _f in _b){_d.push(_f);}}else{for(i=0;_e=arguments[i];i++){if(typeof _e=="string"){_d.push(_e);}}}}for(i=0,_f;_f=_d[i];i++){_c[_f]=this[_f];}return _c;},setThis:function(_10){this._this=_10;},getThis:function(){return this._this;},hasKey:function(key){if(this._getter){var got=this._getter(key);if(typeof got!="undefined"){return true;}}if(typeof this[key]!="undefined"){return true;}return false;}});}}};});