rem: htmlfield.value += currCountryKey + '#'; 
add: htmlfield.value += currCountryKey; 
context: function updateSubtitles( response )   {   	obj = new Object(response);  	var img = new Image();  	img.src = obj;  	  	  	var html = '<ul>';  	  	var htmlfield = document.getElementById('dvdsubs');  	if (htmlfield.value.length==0) {  		htmlfield.value += currCountryKey + '#';	  	} else {  		htmlfield.value += '#'+currCountryKey;  	}  	  	  	  	var subtitles = document.getElementById('subtitles');    var lis = subtitles.getElementsByTagName('LI');	for (i=0; i < lis.length; i++) {		lid = lis[i].id;		if (lid != currCountryKey) {			html += '<li id='+lid+'>' + lis[i].innerHTML + '</li>';		}			}		var iMaxlen = 10;	var lang = new String(currCountryName);		if (lang.length > iMaxlen) {		var firstBracket = lang.indexOf('(');		var lastBracket = lang.indexOf(')');		if (firstBracket != -1 && lastBracket != -1) {			lang = lang.substring(0, firstBracket);		} else {			lang = lang.substring(0, iMaxlen) + '..';		}	}			html += "<li id="+currCountryKey+"><img src='"+img.src+"' vspace='2' hspace='2' height='12' border='0' ondblclick=\"removeSub('"+currCountryKey+"')\" title=\""+currCountryName+"\" align='absmiddle'>"+lang+"</li>";	html += "</ul>";	  	subtitles.innerHTML = html;}
meta: 772	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/772/7bd44ecfea2ff6f91b9550f5eb7d4415b5ee3720/main.js/clean/includes/js/main.js