rem: var self = this;  var imageview  = null; var folderlist = null;  this.imageview  	= document.getElementById('imageview'); this.folderlist 	= document.getElementById('folderlist'); this.uploadtoggler  = document.getElementById('uploadtoggler');   this.registerEvent(this.uploadtoggler, 'click');  
add: this.popup = window.top.document.popup;   this.fields			= new Object(); this.fields.url		= $("f_url"); this.fields.alt		= $("f_alt"); this.fields.align	= $("f_align"); this.fields.title	= $("f_title"); this.fields.caption	= $("f_caption");   this.folderlist = $('folderlist');   this.imageframe = $('imageframe'); this.imageframe.manager = this; this.imageframe.addEvent('load', function(){ this.manager.onloadimageview(); });   this.upbutton = $('upbutton'); this.upbutton.manager = this; this.upbutton.addEvent('click', function(){ this.manager.upFolder(); });   this.uploadtoggler = $('uploadtoggler'); this.uploadtoggler.manager = this; this.uploadtoggler.addEvent('click', function(){ if(this.hasClass('toggler-down')) { this.removeClass('toggler-down');  } else { this.addClass('toggler-down');  } this.manager.uploadpanefx.toggle(); });  
context: 	constructor: function() 	{			var self = this;				var imageview  = null;		var folderlist = null;					this.imageview  	= document.getElementById('imageview');		this.folderlist 	= document.getElementById('folderlist');		this.uploadtoggler  = document.getElementById('uploadtoggler');						//Setup events		this.registerEvent(this.uploadtoggler, 'click');				//Setup effect		this.uploadpane = new fx.Height(document.getElementById('uploadpane'), {opacity:true, duration: 200});		this.uploadpane.hide();	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/8c2d7d5c39c3b423620dfe2ea527b75c7c2a2b64/popup-imagemanager.js/buggy/components/com_media/assets/popup-imagemanager.js