rem: align = "align=\""+align+"\" "; 
add: extra = extra + 'align="'+align+'" '; 
context: 	onok: function()	{		// Get the image tag field information		var url		= this.fields.url.getValue();		var alt		= this.fields.alt.getValue();		var align	= this.fields.align.getValue();		var title	= this.fields.title.getValue();		var caption	= this.fields.caption.getValue();		if (url != '') {			// Set alt attribute			if (alt != '') {				var alt = "alt=\""+alt+"\" ";			}			// Set align attribute			if (align != '') {				align = "align=\""+align+"\" ";			}			// Set align attribute			if (title != '') {				title = "title=\""+title+"\" ";			}			// Set align attribute			if (caption != '') {				caption = 'class="caption"';			}			var tag = "<img src=\""+url+"\" "+alt+align+title+caption+" />";		}		window.parent.jInsertEditorText(tag);		return false;	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/55a77c790b3032949f436f30d241cfc772ce55b0/popup-imagemanager.js/buggy/components/com_media/assets/popup-imagemanager.js