add: if (control.tbody.childNodes[control.tbody.childNodes.length -1] == control.getRow(firedobj)) { control.addRow(); } else { control.fileCount--; } 
context: function FileUploadControl_removeButtonClick(e) {    var dom = document.getElementById&&!document.all;    e=dom? e : event;    var firedobj =dom? e.target : e.srcElement	var control = FileUploadControl_getControl(firedobj);	control.removeRow(firedobj);	control.fileCount--;}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/9c3a4eb309fac9548b2198971ae502856b31c532/FileUploadControl.js/buggy/www/extras/FileUploadControl.js