	_sendFile: function(/* Event */e){		var i=0;		// summary: triggers the chain of events needed to upload a file in the background.		if(!this.fileInput.value){ return; }				dojo.style(this.fakeNodeHolder,"display","none");		dojo.style(this.overlay,"opacity","0");		dojo.style(this.overlay,"display","block");		this.setMessage(this.uploadMessage);		dojo.fadeIn({ node: this.overlay, duration:this.duration }).play();		var _newForm = document.createElement('form');		_newForm.setAttribute("enctype","multipart/form-data");		var node = dojo.clone(this.fileInput);		_newForm.appendChild(this.fileInput);		dojo.body().appendChild(_newForm);		// no error checking :( we are a prototype		dojo.io.iframe.send({			url: this.url+"?name="+this.name,			form: _newForm,			handleAs: "text",			// TODO: make this a setable callback			handle: dojo.hitch(this,function(data,ioArgs){				var d = dojo.fromJson(data);				dojo.disconnect(this._blurListener); 				if(d.status == "success"){ 					// we should get this from ioArgs? or user-spcified callback?					dojo.style(this.overlay,"opacity","0");					dojo.style(this.overlay,"border","none");					dojo.style(this.overlay,"background","none"); 					var num = (Math.floor((d.details.size/1024)*100)/100);					var size = (num>1) ? (num+"k") : (((num*1024)*100) + "bytes");					this.overlay.innerHTML = "success:" + d.details.name + " " +size;					this.overlay.style.backgroundImage = "none";					this.fileInput.style.display = "none";					this.fakeNodeHolder.style.display = "none";					dojo.fadeIn({ node:this.overlay, duration:this.duration }).play(25);					this.onComplete(d);					this._sent = true;					this.inputNode.value = d.details.name; 				}			}) 		});	},
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/d123a86d6dc36e2621e80cb563cdfe0f68249b9a/FileInputAuto.js/clean/widget/FileInputAuto.js