function afficher_menu(){var a="liste-espaces-drapeaux";if(document.getElementById(a).style.display=="none"){document.getElementById(a).style.display="block"}else{document.getElementById(a).style.display="none"}}function printConseiller(){printObj("infoConseiller")}function printFilm(){printObj("fichefilm")}function printObj(b){var c='<html><head><link type="text/css" href="/portail/themes/html/PGSI-05-SFA/style/mri.css" rel="stylesheet"><style type="text/css">body {background: none;}</style></head><body><div class="'+b+'">';var a="."+b;$(a).each(function(e){if($(this).parents("#TB_ajaxContent").is(":visible")){c=c+$(this).html()}});c=c+"</div></body></html>";var d=window.open("Impression",null,"height=330,width=550,toolbar=no,scrollbars=yes,status=no");d.document.write(c);d.document.close();d.focus();d.print();d.close()}$(document).ready(function(){function b(){$("ul.open").slideUp("normal");$("ul.open").removeClass();$(this).parent("li").children("ul:first").slideDown("normal",function(){$(this).css({background:"transparent url(../images/bullet.gif) no-repeat scroll 0 5px;"})});$(this).parent("li").children("ul:first").addClass("open");$(".menubody ul li").children("h4").click(b);$(this).unbind("click")}$(".menubody ul li.select-has-child").children("ul:first").addClass("open");$(".menubody ul li").children("h4").click(b);$(".menubody ul li.select-has-child h4").unbind("click");$(".promo-rotatif").innerfade({speed:"slow",timeout:5000});jQuery("#ui-accordion").accordion({autoHeight:false,header:"div.clickable-header"});$("div.clickable-header h2").each(function(){var d=$(this).innerHeight();var f=$(this).parent().height();var e=(f-d)/2;$(this).css("padding-top",e)});function a(d){p=$(this).parent();p.find(".clickable-header").addClass("clickable-header-over");p.find(".menu-bottom").addClass("menu-bottom-over")}function c(d){p=$(this).parent();p.find(".clickable-header").removeClass("clickable-header-over");p.find(".menu-bottom").removeClass("menu-bottom-over")}$("div.clickable-header").mouseover(a);$("div.clickable-header").mouseout(c);$("div.menu-bottom").mouseover(a);$("div.menu-bottom").mouseout(c)});