// upload launches flash ds
function goUpload(vargetgoupload) {
	// alert ('JS goUpload function: upload debut flash - GET variable sent : ' + vargetgoupload);
	//creating flash with the tag on swfobject.js is more obligated to test the browser 
	document.getElementById('nasuploader').goUpload(vargetgoupload);
}

//function launched by flash up once a file finished
function Upload_File_Finished(nomfichier) {
	// alert('A picture has finished uploading : ' + nomfichier)
	;	
}  
//function launched by flash once up all files finished
function Upload_Finished(param1, param2) {
	alert('Your pictures have finished uploading. Thanks ');
	// alert ('Submit the form on');
	document.getElementById('form_upload').submit();
}   

//executed every addition of a file
function Update_File(file) {
	// alert('JS Update_File Function: 1 Add a file to the list : '+ file)
	;
}
