rem: document.getElementById(win.name).value = chosenId; 
add: var elem = document.getElementById(win.name); if (elem.className.indexOf('vCommaSeparatedIntegerField') != -1 && elem.value) { elem.value += ',' + chosenId; } else { document.getElementById(win.name).value = chosenId; } 
context: function dismissRelatedLookupPopup(win, chosenId) {    document.getElementById(win.name).value = chosenId;    win.close();}
meta: 779	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/779/7d374ad5973ff5b14e996a38e078c7d46646ae5d/RelatedObjectLookups.js/clean/django/conf/admin_media/js/admin/RelatedObjectLookups.js