function multiClass(eltId) {
	arrLinkId = new Array('onglet-immo1','onglet-immo2');
	intNbLinkElt = new Number(arrLinkId.length);
	arrClassLink = new Array('active','ghost');
	strContent = new String()
	for (i=0; i<intNbLinkElt; i++) {
		strContent = "m"+arrLinkId[i];
		if ( arrLinkId[i] == eltId ) {
			document.getElementById(arrLinkId[i]).className = arrClassLink[0];
			document.getElementById(strContent).className = 'immo-search-home1';
		} else {
			document.getElementById(arrLinkId[i]).className = arrClassLink[1];
			document.getElementById(strContent).className = 'immo-search-home2';
		}
	}	
}

