function afficheMsg(titre, classe, msg)
{
	$('#contactmsg').html(msg);
	$('#contactmsg').attr('title', titre);
	$("#contactmsg").dialog({
	    modal: true,
		bgiframe: true,
	    dialogClass: classe,
	    autoOpen: false,
		draggable: false,
		resizable: false,
	    overlay: { opacity: 1, background: "white" },
		buttons: {'Fermer': function(){$(this).dialog("close");}}
  	});
	
	$("#contactmsg").dialog('open');
}
