jQuery(function(){locale=$('body').attr('class');currentLang=locale.substring(0,2);jQuery("input[name=datedebut] , input[name=datefin]").date_input();jQuery(".extracms textarea[name=content]").wymeditor({lang:currentLang,toolsItems:[{'name':'Bold','title':'Strong','css':'wym_tools_strong'},{'name':'Italic','title':'Emphasis','css':'wym_tools_emphasis'},{'name':'InsertOrderedList','title':'Ordered_List','css':'wym_tools_ordered_list'},{'name':'InsertUnorderedList','title':'Unordered_List','css':'wym_tools_unordered_list'},{'name':'Paste','title':'Paste_From_Word','css':'wym_tools_paste'},{'name':'ToggleHtml','title':'HTML','css':'wym_tools_html'}],updateSelector:".jcms .jforms-submit , .extracms .jforms-submit",updateEvent:"click"});jQuery("#menu ul li ul").hide();jQuery("#menu li").hover(function(){$(this).addClass("over");$(this).find('ul').show("fast")},function(){$(this).find('ul').slideUp("fast",function(){$(this).parent('.over').removeClass("over")});if($(this).hasClass('over'))$(this).removeClass("over")});jQuery(".accordeonh3").accordion({header:'h3',panel:'ul.toggleme',speed:300,autoheight:false});jQuery(".accordeon").accordion({header:'h4.toggleme',panel:'div.article',speed:300,autoheight:false});if(screen.width>1400)jQuery("body").addClass('grandformat')});$(window).load(function () {$('#gallery a').lightBox();});
