<script type="text/javascript">
	function checkForm()
	{
		if (document.contact_form.nom.value.length == 0)
		{
			alert("<?php echo $trads_contact[$_SESSION['langue']]['req_nom']; ?>");
			return false;
		} else if (document.contact_form.prenom.value.length == 0)
		{
			alert("<?php echo $trads_contact[$_SESSION['langue']]['req_prenom']; ?>");
			return false;
		} else if (document.contact_form.email.value.length == 0)
		{
			alert("<?php echo $trads_contact[$_SESSION['langue']]['req_email']; ?>");
			return false;
		} else if (document.contact_form.message.value.length == 0)
		{
			alert("<?php echo $trads_contact[$_SESSION['langue']]['req_message']; ?>");
			return false;
		} else if (document.contact_form.code.value.length == 0)
		{
			alert("<?php echo $trads_contact[$_SESSION['langue']]['req_code']; ?>");
			return false;
		} else
		{	
			return true;
		}
	}
</script>
