/*
	Copyright (c) 2004-2007, The Dojo Foundation
	All Rights Reserved.

	Licensed under the Academic Free License version 2.1 or above OR the
	modified BSD license. For more information on Dojo licensing, see:

		http://dojotoolkit.org/community/licensing.shtml
*/


dojo._xdResourceLoaded({depends:[["provide","dijit._base.window"]],defineResource:function(_1){if(!_1._hasResource["dijit._base.window"]){_1._hasResource["dijit._base.window"]=true;_1.provide("dijit._base.window");dijit.getDocumentWindow=function(_2){if(_1.isSafari&&!_2._parentWindow){var _3=function(_4){_4.document._parentWindow=_4;for(var i=0;i<_4.frames.length;i++){_3(_4.frames[i]);}};_3(window.top);}if(_1.isIE&&window!==document.parentWindow&&!_2._parentWindow){_2.parentWindow.execScript("document._parentWindow = window;","Javascript");var _6=_2._parentWindow;_2._parentWindow=null;return _6;}return _2._parentWindow||_2.parentWindow||_2.defaultView;};}}});
