////////////////////////////////////////////////////////////////////////////////////////////////////
function definirXMLHttpRequest(Stri_fich)
	{
	var XHR;

	if(window.XMLHttpRequest)
		{
		XHR=new XMLHttpRequest();
		}
	else if(window.ActiveXObject)
		{
		XHR=new ActiveXObject("Microsoft.XMLHTTP");
		}
	XHR.open("POST",Stri_fich,true);
	XHR.setRequestHeader("Content-type","application/x-www-form-urlencoded");
	return XHR;
	}

////////////////////////////////////////////////////////////////////////////////////////////////////
function variablePOST(Stri_vari,Stri_vale)
	{
	return "&"+Stri_vari+"="+Stri_vale.replace(/[&]/g,"%26");
	}

////////////////////////////////////////////////////////////////////////////////////////////////////
function chainePOST(Stri_POST)
	{
	return Stri_POST.replace(/[+]/g,"%2B");
	}
