// JavaScript Document
function courriel(nom,site)
{
	window.location.href = "mailto:" + nom + "@" + site;
}

function popup(fichier, name,largeur, hauteur, scroller, resizable, menus)
{
 	window.open(fichier,name,"toolbar="+menus+",scrollbars="+scroller+",directories=no,status=no,menubar="+menus+",resizable="+resizable+",left=50,right=0,top=50,width="+largeur+",height="+hauteur);
	screen.focus;
}

function changeCSSclass(obj,style)
{
	obj.className = style;
}

function iniAjax()
{
	try {
	// Firefox, Opera 8.0+, Safari
		xmlHttp = new XMLHttpRequest();
	} catch (e) {
	// Internet Explorer
		try {
			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e) {
				return false;
			}
		}
	}
	
	return xmlHttp;
}