function no_cache()
{
	date_object = new Date();
	var param = date_object.getTime();

	return param;
}

function AjaxObject()
{
	if(window.XMLHttpRequest)
	{
		xhr_object = new XMLHttpRequest();
		return xhr_object;
	}
	else if(window.ActiveXObject)
	{
		xhr_object = new ActiveXObject('Microsoft.XMLHTTP');
		return xhr_object;
	}
	else
	{ 
		alert('Votre navigateur ne supporte pas les objets XMLHTTPRequest...');
		return;
	}
}

function changeprofil(profil){

	var xhr_object = AjaxObject();
	var param = no_cache();
	xhr_object.open('GET', 'http://www.avf.asso.fr/Website/dynamic/cookie_hp.php?profil='+profil, false);
	xhr_object.send(null);
	var reponse = xhr_object.responseText;
}
