
function controle_ajout_commentaire_article(id_tycoon_inscrit,message,id_tycoon_article,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').innerHTML=OAjax.responseText;
			}
		}
	}
	OAjax.setRequestHeader('Content-type','application/x-www-form-urlencoded');
	OAjax.send('id_tycoon_inscrit='+id_tycoon_inscrit+'&id_tycoon_article='+id_tycoon_article+'&message='+message+'&parametre='+parametre);
}


function controle_send_article(nom_expediteur,email_expediteur,email_recepteur,message,id_tycoon_article,id_tycoon_article_categorie,id_tycoon_article_rubrique,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_send_article').innerHTML=OAjax.responseText;
			}
		}
	}
	OAjax.setRequestHeader('Content-type','application/x-www-form-urlencoded');
OAjax.send('email_expediteur='+email_expediteur+'&email_recepteur='+email_recepteur+'&id_tycoon_article='+id_tycoon_article+'&message='+message+'&nom_expediteur='+nom_expediteur+'&parametre='+parametre+'&code_securite='+code_securite+'&id_tycoon_article_rubrique='+id_tycoon_article_rubrique+'&id_tycoon_article_categorie='+id_tycoon_article_categorie);
}


function controle_ajout_commentaire_reportage(pseudonyme,email,message,id_tycoon_reportage,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').innerHTML=OAjax.responseText;
			}
		}
	}
	OAjax.setRequestHeader('Content-type','application/x-www-form-urlencoded');
	OAjax.send('pseudonyme='+pseudonyme+'&email='+email+'&id_tycoon_reportage='+id_tycoon_reportage+'&message='+message+'&parametre='+parametre+'&code_securite='+code_securite);
}


function controle_send_reportage(nom_expediteur,email_expediteur,email_recepteur,message,id_tycoon_reportage,le_club,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_send_reportage').innerHTML=OAjax.responseText;
			}
		}
	}
	OAjax.setRequestHeader('Content-type','application/x-www-form-urlencoded');
OAjax.send('email_expediteur='+email_expediteur+'&email_recepteur='+email_recepteur+'&id_tycoon_reportage='+id_tycoon_reportage+'&message='+message+'&nom_expediteur='+nom_expediteur+'&parametre='+parametre+'&code_securite='+code_securite+'&le_club='+le_club);
}




function controle_contact(pays,civilite,nom,prenom,fonction,entreprise,email,objet,message,telephone,fax,parametre,code_contact)
{
	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_contact').innerHTML=OAjax.responseText;
			}
		}
	}
	OAjax.setRequestHeader('Content-type','application/x-www-form-urlencoded');
	OAjax.send('pays='+pays+'&nom='+nom+'&prenom='+prenom+'&fonction='+fonction+'&entreprise='+entreprise+'&email='+email+'&objet='+objet+'&message='+message+'&telephone='+telephone+'&fax='+fax+'&parametre='+parametre+'&code_contact='+code_contact);
}

function controle_ajout_question_tchat(id_tycoon_inscrit,question,id_tycoon_tchat,parametre)
{	
	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').innerHTML=OAjax.responseText;
			}
		}
	}
	OAjax.setRequestHeader('Content-type','application/x-www-form-urlencoded');
	OAjax.send('id_tycoon_inscrit='+id_tycoon_inscrit+'&id_tycoon_tchat='+id_tycoon_tchat+'&question='+question+'&parametre='+parametre);
}