rem: var full = self.form.userfile.value; self.form.title.value = full.substring(full.lastIndexOf('/')+1, full.length); 
add: self.form.title.value = self.filepart(self.form.userfile.value); 
context:                 TD(null, INPUT({'type':'file', 'name':'userfile', 'onchange':function () {                    var full = self.form.userfile.value;                    self.form.title.value = full.substring(full.lastIndexOf('/')+1, full.length);                }}))),
meta: 5659	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5659/29d05248c6513493a620fe4d0ea8f1399362593c/uploader.js/buggy/htdocs/artefact/file/js/uploader.js