rem: elements['scan_level'].value = xmlGetElementText(autoscan, 'scan_level'); 
add: var scan_level_checked = 'scan_level_' + xmlGetElementText(autoscan, 'scan_level'); elements[scan_level_checked].checked = true; 
context: function updateAutoscanEditFields(autoscan){    autoscanId = xmlGetElementText(autoscan, 'object_id');    autoscanFromFs = xmlGetElementText(autoscan, 'from_fs') == '1';    var elements = rightDocument.forms['autoscanForm'].elements;    elements['scan_level'].value = xmlGetElementText(autoscan, 'scan_level');    elements['recursive'].checked = xmlGetElementText(autoscan, 'recursive') == '1';    elements['hidden'].checked = xmlGetElementText(autoscan, 'hidden') == '1';    elements['interval'].value = xmlGetElementText(autoscan, 'interval');}
meta: 7608	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7608/aedac0080962be77d12dff255f11b2c0bda6f095/autoscan.js/clean/web/js/autoscan.js