rem: this.tree = new MooTreeControl({ div: 'media-tree_tree', mode: 'folders', grid: true, theme: 'components/com_media/assets/mootree.gif', onClick: function(node){ target = $chk(node.data.target) ? node.data.target : '_self'; window.frames[target].location.href = node.data.url; } },{ text: 'Media', open: true, data: { url: 'index.php?option=com_media&view=mediaList&tmpl=component', target: 'folderframe'}}); this.tree.adopt('media-tree');  }, 
add: this.tree = new MooTreeControl({ div: 'media-tree_tree', mode: 'folders', grid: true, theme: 'components/com_media/assets/mootree.gif', onClick: function(node){ target = $chk(node.data.target) ? node.data.target : '_self'; window.frames[target].location.href = node.data.url; } },{ text: 'Media', open: true, data: { url: 'index.php?option=com_media&view=mediaList&tmpl=component', target: 'folderframe'}}); this.tree.adopt('media-tree'); }, 
context: 	initialize: function()	{		this.folderframe  	= $('folderframe');		this.folderpath  	= $('folderpath');		this.updatepaths	= $$('input.update-folder');		this.frame		= window.frames['folderframe'];		this.frameurl	= this.frame.location.href;		this.tree = new MooTreeControl({ div: 'media-tree_tree', mode: 'folders', grid: true, theme: 'components/com_media/assets/mootree.gif', onClick:				function(node){					target = $chk(node.data.target) ? node.data.target : '_self';					window.frames[target].location.href = node.data.url;				}			},{ text: 'Media', open: true, data: { url: 'index.php?option=com_media&view=mediaList&tmpl=component', target: 'folderframe'}});		this.tree.adopt('media-tree');	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/8975e00670cfccbb9adabf38da71280f12a4266e/mediamanager.js/buggy/administrator/components/com_media/assets/mediamanager.js