/************************************************************************************************************************************************************************

								EVENT DE L'APPLICATION

*************************************************************************************************************************************************************************/
function EventApplication(  )
{
	this.id = Math.random(  );
	//Url à charger
	this.url = '';
	this.data = '';
	
	//appel de la Requete XmlHttpRequest conservé pour pouvoir arrété un appel en cours
	this.request = null;
	this.error = null;
	
	//stock le résultat retourner par l'appel
	this.result = null;
	
	this.isPostForm = false;
	this.async = true;
	
	//Les contenus des boite de dialog par défaut
	this.invokeAlreadyContent 	= DEFAULT_MESSAGE_ALREADY;
	this.invokeErrorContent 	= DEFAULT_MESSAGE_ERROR;
	this.invokeLockedContent 	= DEFAULT_MESSAGE_LOCKED;
	
	
	//Function executés pour chaque étape d'un évènement
	this.beforeloadExec = null;
	this.loadExec = null;
	this.alreadyExec = null;
	this.lockedExec = null;
	
	this.responseExecBegin = null;
	
	this.successExecBegin = null;
	this.successExecFinish = null;
	
	this.responseErrorBegin = null;
	this.responseErrorFinish = null;
	this.errorButtonNo = null;
	this.errorButtonYes = null;
	this.responseExecFinish = null;	
}
