function CLanguage(p_Language){
	var strLang = p_Language || "EN";
	
	var language;
	switch(strLang){
		case "FR":
			return new CLanguage_FR();
			break;
		default:
			return new CLanguage_EN();
	}
}

function CLanguage_FR(){
	this.MsgEditDelete = "Voulez-vous vraiment supprimer cet item?";
	this.MsgEditGenerate = "Êtes-vous bien certain de vouloir générer la base de documents?\n\nSi vous généré la base de documents, vous ne pourrez plus rien y changer!\nSinon vous pouvez sauvegarder cette définition et revenir la compléter plus tard.\n\nVoulez-vous toujours générer la base de documents?";
	this.MsgEditExtNoValid = "Extension non valide."
	this.MsgClipboard = "L'information suivante a été copiée dans votre presse-papiers :";
}

function CLanguage_EN(){
	this.MsgEditDelete = "Do you really want delete this item?";
	this.MsgEditGenerate = "Are you sure you want to generate the document database?\n\nIf you generate the database, you will be unable to modify it later!\nOtherwise, you can save your information now and complete it later.\n\nDo you want to generate the database now?"
	this.MsgEditExtNoValid = "Extension no valid."
	this.MsgClipboard = "Following info was copied to your clipboard:";
}


