function controle_commentaire_article(id_article,pseudonyme,email,commentaire,parametre,code_securite)
{	
	var OAjax;
	if (window.XMLHttpRequest) OAjax = new XMLHttpRequest();
	else if (window.ActiveXObject) OAjax = new ActiveXObject('Microsoft.XMLHTTP'); 
	OAjax.open('POST',"signin.php",true);
	OAjax.onreadystatechange = function()
	{
		if (OAjax.readyState == 4 && OAjax.status==200)
		{
			if (document.getElementById) 
			{					
				document.getElementById('msg_action_commentaire').innerHTML=OAjax.responseText;
			}
		}
	}
	OAjax.setRequestHeader('Content-type','application/x-www-form-urlencoded');
	OAjax.send('id_article='+id_article+'&pseudonyme='+pseudonyme+'&email='+email+'&commentaire='+commentaire+'&parametre='+parametre+'&code_securite='+code_securite);
}

function controle_envoie_article(id_article,pseudonyme,email,email_recepteur,message_a_envoyer,parametre,code_securite)
{	
  
	var OAjax;
	if (window.XMLHttpRequest) OAjax = new XMLHttpRequest();
	else if (window.ActiveXObject) OAjax = new ActiveXObject('Microsoft.XMLHTTP'); 
	OAjax.open('POST',"signin.php",true);
	OAjax.onreadystatechange = function()
	{
		if (OAjax.readyState == 4 && OAjax.status==200)
		{
			if (document.getElementById) 
			{					
				document.getElementById('msg_action_envoie_article').innerHTML=OAjax.responseText;
			}
		}
	}
	OAjax.setRequestHeader('Content-type','application/x-www-form-urlencoded');
	OAjax.send('id_article='+id_article+'&pseudonyme='+pseudonyme+'&email='+email+'&email_recepteur='+email_recepteur+'&message_a_envoyer='+message_a_envoyer+'&parametre='+parametre+'&code_securite='+code_securite);
}

function controle_ajout_contact(civilite,nom,prenom,pays,fonction,entreprise,email,telephone,fax,commentaire,parametre,code_securite)
{	
  
	var OAjax;
	if (window.XMLHttpRequest) OAjax = new XMLHttpRequest();
	else if (window.ActiveXObject) OAjax = new ActiveXObject('Microsoft.XMLHTTP'); 
	OAjax.open('POST',"signin.php",true);
	OAjax.onreadystatechange = function()
	{
		if (OAjax.readyState == 4 && OAjax.status==200)
		{
			if (document.getElementById) 
			{					
				document.getElementById('msg_action_contact').innerHTML=OAjax.responseText;
			}
		}
	}
	OAjax.setRequestHeader('Content-type','application/x-www-form-urlencoded');
	OAjax.send('civilite='+civilite+'&nom='+nom+'&prenom='+prenom+'&pays='+pays+'&fonction='+fonction+'&entreprise='+entreprise+'&email='+email+'&telephone='+telephone+'&fax='+fax+'&commentaire='+commentaire+'&parametre='+parametre+'&code_securite='+code_securite);
}

