rem:  var temp = new Array; for (var i=0, n=form.imagelist.options.length; i < n; i++) { temp[i] = form.imagelist.options[i].value; 
add: if (form.imagelist && form.images) {  var temp = new Array; for (var i=0, n=form.imagelist.options.length; i < n; i++) { temp[i] = form.imagelist.options[i].value; } form.images.value = temp.join( '\n' ); 
context: function go2( pressbutton, menu, id ) {	var form = document.adminForm;	// assemble the images back into one field	var temp = new Array;	for (var i=0, n=form.imagelist.options.length; i < n; i++) {		temp[i] = form.imagelist.options[i].value;	}	form.images.value = temp.join( '\n' );	if (pressbutton == 'go2menu') {		form.menu.value = menu;		submitform( pressbutton );		return;	}	if (pressbutton == 'go2menuitem') {		form.menu.value 	= menu;		form.menuid.value 	= id;		submitform( pressbutton );		return;	}}
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3891/101aa4bf44798a7fc64be1894772c32143dd5b47/joomla.javascript.js/buggy/includes/js/joomla.javascript.js