// Show/Hide archive et date (si nouvelle (hide), si communique (show))// Sylvie - egzakt.com// Param	obj		: groupe d'objets//			etat	: enum('block','none','inline) - valeur du diplay en css//function ch_etat_id (obj,etat) {	if (document.getElementById(obj)) {		document.getElementById(obj).style.display = etat;	} }// 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 pour la boutique// Emilie function showhide(objet) {	if (document.getElementById(objet).style.display == 'block') {		document.getElementById(objet).style.display = 'none'	}	else {		document.getElementById(objet).style.display = 'block'	}}// Fonction bulle// Emilie  - egzakt.com// Basee sur la fonction de Patfunction bulle(x,y,texte) {		var largeur_box = 150;		var fin_box = x + largeur_box;	var spacer = 20;				if (fin_box > 748) {		new_x = x - largeur_box - spacer;	}	else {		new_x = x + spacer;	}			document.getElementById("bulle").style.visibility = "visible";	document.getElementById("bulle").style.left = new_x + "px";	document.getElementById("bulle").style.top = y + "px";	document.getElementById("bulle").innerHTML = texte;}function cacher_bulle() {	document.getElementById("bulle").style.visibility = "hidden";}// 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';			}}// Maintenant que Microsoft a change sa facon de loader les plugins suite a une defaite en cour, loader le code HTML en javascript...// simon - egzakt.com// 2006-05-30function loadFlash(swf,width,height) {	if (!width)		width = 160;	if (!height)		width = 29;	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\""+width+"\" height=\""+height+"\">");	document.writeln("<param name=\"movie\" value=\""+swf+"\">");	document.writeln("<param name=\"menu\" value=\"false\">");	document.writeln("<param name=\"quality\" value=\"best\">");	document.writeln("<param name=\"wmode\" value=\"transparent\">");	document.writeln("<embed src=\""+swf+"\" quality=\"best\" width=\""+width+"\" height=\""+height+"\" wmode=\"transparent\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\"></embed>");	document.writeln("</object>");}function loadVideo(qt) {	document.writeln("<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" codebase=\"http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0\" width=\"320\" height=\"256\" align=\"middle\">");	document.writeln("<param name=\"src\" value=\""+qt+"\" />");	document.writeln("<param name=\"autoplay\" value=\"true\" />");	document.writeln("<embed src=\""+qt+"\" autoplay=\"true\" width=\"320\" height=\"256\" align=\"middle\" bgcolor=\"black\" pluginspage=\"http://www.apple.com/quicktime/download/\"></embed>");	document.writeln("</object>");}/* * Affichage d'un contenu suivant *  * @copyright	egzakt.com * * @version 	2007/06/05 * @author 		Emilie */function bloc_deroulant(objet) {	objet.next().slideToggle("normal");	objet.toggleClass("selected");	objet.parent().toggleClass("bloc_deroulant_selected");	return false;}$(function() {	$(".zone_deroulante").hide();		$("a.lien_deroulant").click(		function(){			return bloc_deroulant($(this));		}	);		$(".tmpl_tableau_emploi tr:even").addClass("paire");});