rem: var form = window.frames['folderframe'].document.getElementById('mediamanager-form'); 
add: form = this.frame.document.getElementById('mediamanager-form'); 
context: 	submit: function(task)	{		var form = window.frames['folderframe'].document.getElementById('mediamanager-form');		form.task.value = task;		if ($('username')) {			form.username.value = $('username').value;			form.password.value = $('password').value;		}		form.submit();	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/718bb04414f09cfd6ac6b8339402abea953b473b/mediamanager.js/buggy/administrator/components/com_media/assets/mediamanager.js