document.getElementById('selected_' + type + '_' + index).value=str; 
document.getElementById('selected_user_' + type + '_' + index).value=str; 
function renameElement(name, type, index){    document.getElementById('form_'+name).style.display="none";    document.getElementById('name_'+name).innerHTML="<i>saving...</i>";    document.getElementById('name_'+name).style.display="block";    AjaxServices.rename(name,type, (document.getElementById('newName_'+name).value).replace(/^\s*|\s*$/g,""), function(str){        document.getElementById('name_'+name).innerHTML=str;        document.getElementById('selected_' + type + '_' + index).value=str;    });}
5150	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5150/9e1fd3ab3670b41f90b18c6557527a7953396e28/imdwr.js/clean/intermine/webapp/main/resources/webapp/js/imdwr.js