function popup(file,param)
{
	pop = window.open(file+param,"_blank","width=600,height=600,scrollbars=yes")
}
function ajax_identification_connect (id)
{
	var myAjax = new Ajax('./ajax/identification_connect.php?password='+id, {method: 'get',onComplete:function()
	{
		//alert(id);
		window.location.reload();
	}																																																										
	}).request();
}
function ajax_identification_disconnect ()
{
	var myAjax = new Ajax('./ajax/identification_disconnect.php', {method: 'get',onComplete:function()
	{
		//alert(id);
		window.location.reload();
	}																																																										
	}).request();
}
function ajax_mail (param)
{
	var myAjax = new Ajax('./ajax/mail.php'+param, {method: 'get',onComplete:function()
	{
		$('email').value="";
		$('subject').value="";
		$('message').value="";
		alert("Votre message a correctement été transmis.");
	}																																																										
	}).request();
}
function ajax_element_delete (param)
{
	var myAjax = new Ajax('./ajax/element_delete.php'+param, {method: 'get',onComplete:function()
	{
		window.location.reload();
	}																																																										
	}).request();
}