rem: var fileName = srcList.options[srcList.selectedIndex].text; var fileName2 = srcList.options[srcList.selectedIndex].value; 
add: var srcOption = srcList.options[(srcList.selectedIndex < 0) ? 0 : srcList.selectedIndex]; var fileName = srcOption.text; var fileName2 = srcOption.value; 
context: function previewImage( list, image, base_path ) {	form = document.adminForm;	srcList = eval( "form." + list );	srcImage = eval( "document." + image );	var fileName = srcList.options[srcList.selectedIndex].text;	var fileName2 = srcList.options[srcList.selectedIndex].value;	if (fileName.length == 0 || fileName2.length == 0) {		srcImage.src = 'images/blank.gif';	} else {		srcImage.src = base_path + fileName2;	}}
meta: 10343	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/d7231ce220ae8bcff63e55409e517b14e37065bc/joomla.javascript.js/buggy/includes/js/joomla.javascript.js