rem: str +=' onchange="FileUploadControl_valueChange(event)"></td><td><input type="button" value="' + removeLabel + '" onclick="FileUploadControl_removeButtonClick(event)"></td></tr>'; 
add: str +=' onchange="FileUploadControl_valueChange(event)"></td><td><input type="button" value="' + removeLabel + '" onclick="FileUploadControl_removeButtonClick(event)" alt="unknown filetype" /></td></tr>'; 
context: function FileUploadControl(fieldName, imageArray, removeLabel, fileLimit, size) {	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" cellspacing="0" cellpadding="0"><tbody id="' + workspaceId + '.fileUpload.body">';				str += '</tbody></table>';		str +='<table style="display: none;">'		str += '<tr id="' + workspaceId + '.template" class="fileUploadRow"><td style="display:none;"><img src="' + imageArray["unknown"] + '" style="visibility: hidden;"></td>';	str +='<td colspan="2"><input type="file" name="'+fieldName+'" ';        str += ' size="'+ size + '" ';    str +=' 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/2007_temp/2007/5314/81fd7c619402adff4807899dba30fe0322adb1ef/FileUploadControl.js/clean/www/extras/FileUploadControl.js