rem: document.getElementById(win.name).value = chosenId; 
add: document.getElementById(name).value = chosenId; 
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: 3560	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3560/fb87d5892004fbec2ccd3f7ded27fbf88fa2f4e8/RelatedObjectLookups.js/clean/django/contrib/admin/media/js/admin/RelatedObjectLookups.js