rem: str += '</tbody></table><table>'; 
add: str += '</tbody></table>'; 
context: function FileUploadControl(fieldName, imageArray, removeLabel, fileLimit) {	this.images = imageArray;	this.fileLimit = fileLimit;	this.fileCount = 1;	this.fieldName = fieldName;	workspaceId = fieldName+"_fileUploadControl";	this.workspaceId = workspaceId;	this.dom=document.getElementById&&!document.all;	this.topLevelElement=this.dom? "HTML" : "BODY"	document.write('<div id="'+workspaceId+'"> </div>');		var workspace = document.getElementById(workspaceId);		var str = '<table border="0"><tbody id="' + workspaceId + '.fileUpload.body">';				str += '</tbody></table><table>';		str +='<table style="display: none;">'		str += '<tr id="' + workspaceId + '.template" class="fileUploadRow"><td><img src="' + imageArray["unknown"] + '" style="visibility: hidden"></td>';	str +='<td><input type="file" name="'+fieldName+'" size="40" onchange="FileUploadControl_valueChange(event)"></td><td><input type="button" value="' + removeLabel + '" onclick="FileUploadControl_removeButtonClick(event)"></td></tr>';		str += '</table>';		workspace.innerHTML = str;	this.tbody = document.getElementById(workspaceId + '.fileUpload.body');	this.tbody.fileUploadControl = this;	this.rowTemplate = document.getElementById(workspaceId + ".template");	this.removeRow = FileUploadControl_removeRow;	this.addRow = FileUploadControl_addRow;	this.swapImage = FileUploadControl_swapImage;	this.getRow = FileUploadControl_getRow;}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/eabeaee356fbc00f6058a5dca6238326d067b97a/FileUploadControl.js/buggy/www/extras/FileUploadControl.js