return doc._parentWindow || doc.parentWindow || doc.defaultView; 
return doc._parentWindow || doc.parentWindow || doc.defaultView; 
dojo.html.getDocumentWindow = function(doc){	//	summary	// 	Get window object associated with document doc	// With Safari, there is not wa to retrieve the window from the document, so we must fix it.	if(dojo.render.html.safari && !doc._parentWindow){		/*			This is a Safari specific function that fix the reference to the parent			window from the document object.		*/		var fix=function(win){			win.document._parentWindow=win;			for(var i=0; i<win.frames.length; i++){				fix(win.frames[i]);			}		}		fix(window.top);	}	//In some IE versions (at least 6.0), document.parentWindow does not return a	//reference to the real window object (maybe a copy), so we must fix it as well	//We use IE specific execScript to attach the real window reference to	//document._parentWindow for later use	if(dojo.render.html.ie && window !== document.parentWindow && !doc._parentWindow){		/*		In IE 6, only the variable "window" can be used to connect events (others		may be only copies).		*/		doc.parentWindow.execScript("document._parentWindow = window;", "Javascript");		//to prevent memory leak, unset it after use		//another possibility is to add an onUnload handler which seems overkill to me (liucougar)		var win = doc._parentWindow;		doc._parentWindow = null;		return win;	//	Window	}	return doc._parentWindow || doc.parentWindow || doc.defaultView;	//	Window}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js