// Fonction d'ouverture de fenetre popup centree// Simon - egzakt.com// 2004-10-28//function egz_openwindow(lien,cible,w,h) {	var _win;	_win = window.open(lien,cible,'width=' + w + ',height=' + h + ',top=' + (screen.height - 400)/2 + 'left='+ (screen.width - 400)/2);	_win.moveTo((screen.width - w)/2,(screen.height - h)/2);	_win.focus();	return _win;}// Fonction d'ouverture de fenetre popup centree// Simon - egzakt.com// 2004-10-28//function egz_openwindow_param(lien,cible,w,h,param) {	var _win;	_win = window.open(lien,cible,param);	_win.moveTo((screen.width - w)/2,(screen.height - h)/2);	_win.focus();	return _win;}// Fonction ouverture / fermeture de div simple// Emilie function showhide_simple(objet) {	if (document.getElementById(objet).style.display == 'block') {		document.getElementById(objet).style.display = 'none';		document.getElementById(objet).style.visibility = 'hidden';	}	else {		document.getElementById(objet).style.display = 'block';		document.getElementById(objet).style.visibility = 'visible';	}}function valider_choix(i) {	if ((i.value!=1) && (i.value!=2)) {		i.value="";	}	return true;}// Ajouter les paramètres de la recherche dans l'url// Emilie - egzakt.com// 2007-12-11function programme_recherche(formulaire) {	action_originale = formulaire.attr("action");	action = $("#region").val() + "/" + $("#secteur").val() + "/" + $("#diplome").val() + "/";		mots_cles = $("#mots_cles").val();	if (mots_cles) {		mots_cles = encodeURI(mots_cles).replace(/\%20/g, '+');		action += mots_cles + "/";	}		action += "#programmes";		formulaire.attr("action",action_originale + action);		return true;}/* * Affichage de la réponse d'une question *  * @copyright	egzakt.com * * @version 	2008/01/10 * @package		MIE-038 * @author 		Emilie */function faq_deroulant(objet) {	objet.next().slideToggle("fast");	objet.parent().toggleClass("selected");	return false;}function publication_deroulant(objet) {	objet.toggleClass("selected");	objet.parent().next().slideToggle();		return false;}