function FileProgress(file, targetID) {
	this.fileProgressID = "divFileProgress";

	this.fileProgressWrapper = document.getElementById(this.fileProgressID);
	if (!this.fileProgressWrapper) {
		this.fileProgressWrapper = document.createElement("div");
		this.fileProgressWrapper.className = "progressWrapper";
		this.fileProgressWrapper.id = this.fileProgressID;

		this.fileProgressElement = document.createElement("div");
		this.fileProgressElement.className = "progressContainer";

		var progressCancel = document.createElement("a");
		progressCancel.className = "progressCancel";
		progressCancel.href = "#";
		progressCancel.style.visibility = "hidden";
		progressCancel.appendChild(document.createTextNode(" "));

		var progressText = document.createElement("div");
		progressText.className = "progressName";
		progressText.appendChild(document.createTextNode(file.name));

		var progressBar = document.createElement("div");
		progressBar.className = "progressBarInProgress";

		var progressStatus = document.createElement("div");
		progressStatus.className = "progressBarStatus";
		progressStatus.innerHTML = "&nbsp;";

		this.fileProgressElement.appendChild(progressCancel);
		this.fileProgressElement.appendChild(progressText);
		this.fileProgressElement.appendChild(progressStatus);
		this.fileProgressElement.appendChild(progressBar);

		this.fileProgressWrapper.appendChild(this.fileProgressElement);

		document.getElementById(targetID).appendChild(this.fileProgressWrapper);

	} else {
		this.fileProgressElement = this.fileProgressWrapper.firstChild;
		this.fileProgressElement.childNodes[1].firstChild.nodeValue = file.name;
	}

	this.height = this.fileProgressWrapper.offsetHeight;

}
/* ******************************************
 *	FileProgress Object
 *	Control object for displaying file info
 * ****************************************** */
FileProgress Object
Control object for displaying file info
FileProgress Object Control object for displaying file info
function FileProgress(file, targetID) {
	this.fileProgressID = "divFileProgress";
	this.fileProgressWrapper = document.getElementById(this.fileProgressID);
	if (!this.fileProgressWrapper) {
		this.fileProgressWrapper = document.createElement("div");
		this.fileProgressWrapper.className = "progressWrapper";
		this.fileProgressWrapper.id = this.fileProgressID;
		this.fileProgressElement = document.createElement("div");
		this.fileProgressElement.className = "progressContainer";
		var progressCancel = document.createElement("a");
		progressCancel.className = "progressCancel";
		progressCancel.href = "#";
		progressCancel.style.visibility = "hidden";
		progressCancel.appendChild(document.createTextNode(" "));
		var progressText = document.createElement("div");
		progressText.className = "progressName";
		progressText.appendChild(document.createTextNode(file.name));
		var progressBar = document.createElement("div");
		progressBar.className = "progressBarInProgress";
		var progressStatus = document.createElement("div");
		progressStatus.className = "progressBarStatus";
		progressStatus.innerHTML = "&nbsp;";
		this.fileProgressElement.appendChild(progressCancel);
		this.fileProgressElement.appendChild(progressText);
		this.fileProgressElement.appendChild(progressStatus);
		this.fileProgressElement.appendChild(progressBar);
		this.fileProgressWrapper.appendChild(this.fileProgressElement);
		document.getElementById(targetID).appendChild(this.fileProgressWrapper);
	} else {
		this.fileProgressElement = this.fileProgressWrapper.firstChild;
		this.fileProgressElement.childNodes[1].firstChild.nodeValue = file.name;
	}
	this.height = this.fileProgressWrapper.offsetHeight;
}
function FileProgress ( file , targetID ) { this . fileProgressID = "divFileProgress" ; this . fileProgressWrapper = document . getElementById ( this . fileProgressID ) ; if ( ! this . fileProgressWrapper ) { this . fileProgressWrapper = document . createElement ( "div" ) ; this . fileProgressWrapper . className = "progressWrapper" ; this . fileProgressWrapper . id = this . fileProgressID ; this . fileProgressElement = document . createElement ( "div" ) ; this . fileProgressElement . className = "progressContainer" ; var progressCancel = document . createElement ( "a" ) ; progressCancel . className = "progressCancel" ; progressCancel . href = "#" ; progressCancel . style . visibility = "hidden" ; progressCancel . appendChild ( document . createTextNode ( " " ) ) ; var progressText = document . createElement ( "div" ) ; progressText . className = "progressName" ; progressText . appendChild ( document . createTextNode ( file . name ) ) ; var progressBar = document . createElement ( "div" ) ; progressBar . className = "progressBarInProgress" ; var progressStatus = document . createElement ( "div" ) ; progressStatus . className = "progressBarStatus" ; progressStatus . innerHTML = "&nbsp;" ; this . fileProgressElement . appendChild ( progressCancel ) ; this . fileProgressElement . appendChild ( progressText ) ; this . fileProgressElement . appendChild ( progressStatus ) ; this . fileProgressElement . appendChild ( progressBar ) ; this . fileProgressWrapper . appendChild ( this . fileProgressElement ) ; document . getElementById ( targetID ) . appendChild ( this . fileProgressWrapper ) ; } else { this . fileProgressElement = this . fileProgressWrapper . firstChild ; this . fileProgressElement . childNodes [ 1 ] . firstChild . nodeValue = file . name ; } this . height = this . fileProgressWrapper . offsetHeight ; }
FileProgress Object
      Control object for displaying file info
FileProgress Object Control object for displaying file info