/* Copyright (c) 2010 www.mailrouge.com - no copy or any usage allowed without explicit and nominative and written authorisation of mailrouge.com */
/* 2010-06, 14 [00:47:25] */
var menulist=[];var flat_multi_={};var alias_pop={};var menulist_pop={};var flat_top_=[];var next_flatevents_=[];var bientot_kill=false;var fix_loaded_={"news":0,"photos":0};function flat_pos(){return-9999;}function do_flat_pos(){}function do_flat_right(){}function show_flat(){}function hide_flat(){}function show_flat(){$('div[id^=fix_]').show();$('table[id^=fix_]').css({display:'table'});}function hide_flat(){$('div[id^=fix_]').hide();$('table[id^=fix_]').hide();}function show_lavoir(){}function hide_lavoir(){}function show_flatevents2(theAA,ev1){}function css_bottomline(){}function create_flat_texts_(){var flat_bgcolor='rgb(222,222,222)';var flat_x=0;var flat_y=0;var flat_w=0;var flat_h=0;var flat_xywh=[flat_x,flat_y,flat_w,flat_h];var flat_options=['','',0,0];flat_texts_={'fix_menu':[['page646','','white',[790,50,250,300],flat_options,'menu principal à droite']],'fix_news':[['page647','','transparent',[790-1000,150,200,0],flat_options,'menu liens accès direct à droite']],'fix_menu2':[['page648','','white',[790,750,250,200],flat_options,'menu secondaire à droite']],'fiiix_photos':[['page650','','transparent',[987,107,70,0],['','',2,0,'','do_fix_photos'],'menu vertical mini-photos à droite']],'fix_photos':[['page650','','transparent',[997-10-1000,107-10,50+10,0],flat_options,'menu vertical mini-photos à droite']],'default':[['','','',flat_xywh,flat_options,'panneau for default']]};flat_multi_={};jQuery.each(flat_texts_,function(i,val){flat_multi_[i]=[0,val.length];});}mainimg_playing=false;function append_mainimg(myid){if(mainimg_playing)return;mainimg_playing=true;$('<img id=main_paques2010 src="http://www.saintfrancoisdesales.net/img/2010/nouveauxbaptises.png" width=604 height=604 border=0 onclick="$(this).fadeOut(\'slow\')" title="cliquer pour fermer l\'image"/>').css({cursor:'pointer',zIndex:40000000,position:'absolute',top:80,left:-600,opacity:.1}).appendTo('body').animate({opacity:1,left:170},10000,function(){mainimg_playing=false;});}function replay_mainimg(myid){if(mainimg_playing)return;mainimg_playing=true;$('img[id^=main_]').hide();if(!$('#main_'+myid).length){mainimg_playing=false;append_mainimg(myid);return;}$('#main_'+myid).css({display:'none',left:-600,opacity:.1}).show().animate({opacity:1,left:170},10000,function(){mainimg_playing=false;});}function check_callback(theii,todo){if(theii=='fix_news')do_fix_news();else if(theii=='fix_photos')do_fix_photos();}function do_fix_news(){var todo='0';if($('#fix_news_mflatev_panneau'+todo).length){fix_loaded_['news']=1;$('#fix_news_mflatev_panneau'+todo).find('p').each(function(i,n){if($(n).find('img').length&&$(n).find('img:first').width()>100){$(n).css({marginBottom:'3px',textIndent:'0px'});$(n).find('img').css({opacity:.1});}else{$(n).css({font:'bold 8pt tahoma',border:'1px dotted orange',marginBottom:'3px',backgroundColor:'whitesmoke',paddingTop:'1px',paddingBottom:'1px',paddingLeft:'3px',paddingRight:'1px',textIndent:'0px'});}});$('#fix_news_mflatev_panneau'+todo).find('p:last').css({marginBottom:'0px'});var mytop=$('#fix_news_mflatev_panneau'+todo).height();var basetop=$('#fix_news_mflatev_panneau'+todo).offset().top;var newtop=mytop+basetop;$('#fix_news_mflatev_scrollbtn_'+todo).css({top:newtop});$('img[src$=redreload.png]').css({opacity:0.2});var newleft=1000+flat_texts_['fix_news'][todo][3][0];$('#fix_news_mflatev_panneau'+todo).css({left:newleft});$('#fix_news_mflatev_scrollbtn_'+todo).css({left:newleft});$('#fix_news_mflatev_panneau'+todo).find('img').animate({opacity:1},10000);}}function do_fix_photos(){var todo='0';if($('#fix_photos_mflatev_panneau'+todo).length){fix_loaded_['photos']=1;$('#fix_photos_mflatev_panneau'+todo).find('p').each(function(i,n){if($(n).find('img').length){$(n).css({margin:'0px 0px 1px 0px',padding:'0px',textIndent:'0px'}).hover(function(){if(typeof hide_comment=='function')hide_comment();},function(){});$(n).find('img').css({opacity:.1});}else{}});$('#fix_photos_mflatev_panneau'+todo).find('p:last').css({marginBottom:'0px'});var mytop=$('#fix_photos_mflatev_panneau'+todo).height();var basetop=$('#fix_photos_mflatev_panneau'+todo).offset().top;var newtop=mytop+basetop;$('#fix_photos_mflatev_scrollbtn_'+todo).css({top:newtop});$('img[src$=redreload.png]').css({opacity:0.2});var newleft=1000+flat_texts_['fix_photos'][todo][3][0];$('#fix_photos_mflatev_panneau'+todo).css({left:newleft});$('#fix_photos_mflatev_scrollbtn_'+todo).css({left:newleft});$('#fix_photos_mflatev_panneau'+todo).find('img').each(function(i,n){var thedelay=(i+1)*3000;$(n).animate({opacity:1},thedelay);});}}var flat_fn1=false;$.getScript('menu_flatfn1.js',function(){flat_fn1=true;});function iam_ready(){create_flat_texts_();load_panneau('fix_news','');load_panneau('fix_photos','');}
