function submit_vosSuggestionsForm()
{
	titre = "Vous devez obligatoirement saisir correctement :\n\n";
	chaine = "";

	if (document.forms.vosSuggestionsForm.nom.value == 0) chaine += "     - votre nom\n";
	if (document.forms.vosSuggestionsForm.prenom.value == 0) chaine += "     - votre prénom\n";
	if (!checkmail(document.forms.vosSuggestionsForm.email.value)) chaine += "     - votre adresse email\n";
	if (document.forms.vosSuggestionsForm.sujet.value == 0) chaine += "     - le sujet de votre message\n";
	if (document.forms.vosSuggestionsForm.message.value.length == 0) chaine += "     - le contenu de votre message\n";

	if (chaine != "")
		alert(titre + chaine);
	else
		document.forms.vosSuggestionsForm.submit();
}

function submit_vosSuggestionsForm_EN()
{
	titre = "You must type:\n\n";
	chaine = "";

	if (document.forms.vosSuggestionsForm.nom.value == 0) chaine += "     - your lastname\n";
	if (document.forms.vosSuggestionsForm.prenom.value == 0) chaine += "     - your firstname\n";
	if (!checkmail(document.forms.vosSuggestionsForm.email.value)) chaine += "     - your email address\n";
	if (document.forms.vosSuggestionsForm.sujet.value == 0) chaine += "     - the subject of your message\n";
	if (document.forms.vosSuggestionsForm.message.value.length == 0) chaine += "     - the content of your message\n";

	if (chaine != "")
		alert(titre + chaine);
	else
		document.forms.vosSuggestionsForm.submit();
}

function submit_accreditationForm()
{
	titre = "Vous devez obligatoirement saisir correctement :\n\n";
	chaine = "";

	if (document.forms.accreditationForm.nom.value == 0) chaine += "     - votre nom\n";
	if (document.forms.accreditationForm.prenom.value == 0) chaine += "     - votre prénom\n";
	if (document.forms.accreditationForm.media.value == 0) chaine += "     - votre média\n";
	if (!checkmail(document.forms.accreditationForm.email.value)) chaine += "     - votre adresse email professionnelle\n";
	if (document.forms.accreditationForm.telephone.value == 0) chaine += "     - votre numéro de téléphone professionnel\n";

	if (chaine != "")
		alert(titre + chaine);
	else
		document.forms.accreditationForm.submit();
}

function submit_accreditationForm_EN()
{
	titre = "You must type:\n\n";
	chaine = "";

	if (document.forms.accreditationForm.nom.value == 0) chaine += "     - your lastname\n";
	if (document.forms.accreditationForm.prenom.value == 0) chaine += "     - your firstname\n";
	if (document.forms.accreditationForm.media.value == 0) chaine += "     - your media\n";
	if (!checkmail(document.forms.accreditationForm.email.value)) chaine += "     - your professional email address\n";
	if (document.forms.accreditationForm.telephone.value == 0) chaine += "     - your professional phone number\n";

	if (chaine != "")
		alert(titre + chaine);
	else
		document.forms.accreditationForm.submit();
}

function submit_inscriptionMLForm()
{
	titre = "Vous devez obligatoirement saisir correctement :\n\n";
	chaine = "";

	if (!checkmail(document.forms.inscriptionMLForm.email.value)) chaine += "     - votre adresse email professionnelle\n";
	if (document.forms.inscriptionMLForm.inscription_liste_de_diffusion.checked != true) chaine += "     - votre accord pour recevoir des emails\n";

	if (chaine != "")
		alert(titre + chaine);
	else
		document.forms.inscriptionMLForm.submit();
}

function submit_inscriptionMLForm_EN()
{
	titre = "You must type:\n\n";
	chaine = "";

	if (!checkmail(document.forms.inscriptionMLForm.email.value)) chaine += "     - your professional email address\n";
	if (document.forms.inscriptionMLForm.inscription_liste_de_diffusion.checked != true) chaine += "     - your agreement for receiving emails\n";

	if (chaine != "")
		alert(titre + chaine);
	else
		document.forms.inscriptionMLForm.submit();
}

function resetTextSize()
{
	prev = getCookie("myfont");
	if (!prev)
	{
		prev = 0;
	}
	else
	{
		prev = parseInt(prev);
	}
	prev = prev * (-1);
	setTextSizeTo0(prev);
}

function setTextSizeTo0(sz)
{
	var sz;
	if (!document.all && !document.getElementById)
		return;
	if (sz)
		orig += sz * factor;
	try
	{
		window.document.body.style.fontSize=orig+'%';
	}
	catch(e)
	{
	}
	setCookie("myfont","0");
}

function agrandissementFenetre()
{
	window.moveTo(0,0);
	if (document.all)
	{
		top.window.resizeTo(screen.availWidth,screen.availHeight);
	}
	else if (document.layers||document.getElementById)
	{
		if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
		{
			top.window.outerHeight = screen.availHeight;
			top.window.outerWidth = screen.availWidth;
		}
	}
}