rem: var elem = document.getElementById(win.name); 
add: var name = win.name.replace(/___/g, '.'); var elem = document.getElementById(name); 
context: function dismissRelatedLookupPopup(win, chosenId) {    var elem = document.getElementById(win.name);    if (elem.className.indexOf('vRawIdAdminField') != -1 && elem.value) {        elem.value += ',' + chosenId;    } else {        document.getElementById(win.name).value = chosenId;    }    win.close();}
meta: 4610	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4610/688cd557086dcd7b497775765899559575de33a2/RelatedObjectLookups.js/clean/django/contrib/admin/media/js/admin/RelatedObjectLookups.js