/* Copyright (c) 2011 www.mailrouge.com - no copy or any usage allowed without explicit and nominative and written authorisation of mailrouge.com */
/* 2011-09, 16 [15:03:45] */
pop_scroll='auto';pop_height=469;var is_forserver=false;var menu_flat_links_=[];var titleslist={'AA':['Accueil - Editorial'],'AB':['Horaires des messes et d\'accueil','Equipe pastorale','Paroisses à l\'entour','Calendrier et évènements de l\'année','Communautés chrétiennes du quartier'],'AC':['La prière à Sainte-Marie','Liturgie','Préparation des sacrements','Sacrement de réconciliation','Malades et personnes isolées','Funérailles'],'AD':['Catéchisme des enfants','Aumônerie des jeunes','Catéchèse des adultes'],'AJ':['Les enfants','Le pôle adolescence','Le pôle jeunes adultes','La solidarité aux Batignolles']};var add_bull='<span style="padding: 0 5 0 5; font: normal 8pt arial">&bull;</span>';var add_nobull='<span style="padding: 0 5 0 5; font: normal 8pt arial; visibility:hidden;">&bull;</span>';var menulist=[[add_nobull+'<span id=spec_AA onclick="go_accueil();" style="font: normal 8pt arial; color: darkslateblue; cursor: pointer;">'+"retour page d'accueil"+'</span>',"s","page0","AA","on",0],[add_bull+"Infos pratiques<br>"+add_nobull+"et calendrier<br>"+add_nobull+"des évènements","s","section28","AB","on",0],[add_bull+"Sacrements<br>"+add_nobull+"et vie chrétienne","s","section29","AC","on",0],[add_bull+"Catéchèse<br>"+add_nobull+"et formation","s","section30","AD","on",0],[add_bull+"Vie des groupes","s","section31","AJ","on",0]];var alias_pop={'section5111':'page73222'};var menulist_pop={'section51':'AA','page173':'AA','section27':'default','section28':'AB','section29':'AC','section30':'AD','section31':'AJ','default':'default'};var iipop='';var iiaw='';jQuery.each(menulist,function(i,val){iipop=val[2];iiaw=val[3];menulist_pop[iipop]=iiaw;});var color_list_={'fix_main':['','',''],'fix_accueil':['','','white'],'fix_news':['#CCFFFF','',''],'section51':['','','white'],'AA':['#CCFFFF','white','#dcedf7'],'AB':['#CCFFFF','',''],'AC':['#ffd700','',''],'AD':['#32cd32','',''],'AJ':['#f92e4a','',''],'AF':['honeydew','white',''],'default':['honeydew','white','']};$.each(color_list_,function(i,val){if(!val[1])color_list_[i][1]=color_list_[i][0];if(!val[2])color_list_[i][2]=color_list_[i][0];});var eventlist1={};var eventlist2={"AA":['div','Éditorial','&laquo; Je les comblerai de joie dans ma maison de prière &raquo;'],"AB":['div','Infos pratiques','Infos pratiques et calendrier'],"AC":['div','Sacrements et vie chrétienne'],"AD":['div','Catéchèse et formation'],"AJ":['div','Vie des groupes'],"AE":['div','Nous contacter','&laquo; Je les comblerai de joie dans ma maison de prière &raquo;'],"AF":['div','Mentions légales','&laquo; Je les comblerai de joie dans ma maison de prière &raquo;'],"AG":['div','Plan du site','&laquo; Je les comblerai de joie dans ma maison de prière &raquo;'],"ZZZ":['div','&hellip;extraits du site&hellip;'],"default":['div','&laquo; Je les comblerai de joie dans ma maison de prière &raquo;']};var mflat_pubhtml='<a id=mflat_pub name=mflat_pub href="http://www.laparoisse.net/" title="solutions laParoisse.net" target="_new" style="position: absolute; top: 90; left: 790; z-Index: 20000001; text-decoration: none;"><img name=mflat_pub src="http://www.ste-marie-batignolles.com/img/2011/pub_laparoisse_203_smb_blue.png" width=203 height=203 border=0></a>';var reut_={};var do_flatreut=true;var startflat='';var mflat_opt_={'txtcolor':'darkslateblue','width':'180px'};var stylebank_={'sfont':'bold 11pt arial','pfont':'bold 9pt arial'};var styleall_={'width':mflat_opt_['width'],'whiteSpace':'nowrap','cursor':'pointer','text-decoration':'none','mozUserSelect':'none','backgroundColor':'Transparent'};var mflat_style_={"son":{'font':stylebank_['sfont'],'color':mflat_opt_['txtcolor']},"pon":{'font':stylebank_['pfont'],'color':mflat_opt_['txtcolor']},"soff":{'font':stylebank_['sfont'],'color':'gray','cursor':'auto'},"poff":{'font':stylebank_['pfont'],'color':'gray','cursor':'auto'},"sover":{'font':stylebank_['sfont'],'color':mflat_opt_['txtcolor'],'backgroundColor':'#99FFFF'},"pover":{'font':stylebank_['pfont'],'color':mflat_opt_['txtcolor'],'backgroundColor':'#99FFFF'},"sac":{'font':stylebank_['sfont'],'color':'red'},"pac":{'font':stylebank_['pfont'],'color':'crimson','backgroundColor':'#FFFF99'}};$.each(mflat_style_,function(i,val){$.each(styleall_,function(si,sval){if(!mflat_style_[i][si])mflat_style_[i][si]=sval;});});var flat_top_=[];function flat_pos(){var mybody=document.getElementsByTagName('BODY').item(0);var myscreen=' ['+screen.availWidth+'*'+screen.availHeight+'|'+mybody.clientWidth+'*'+mybody.clientHeight+']';var wh=mybody.clientHeight;var ww=mybody.clientWidth;if(wh>=680)flat_top_[0]=180;else if(wh<=560)flat_top_[0]=60;else flat_top_[0]=wh-500;flat_top_[1]=flat_top_[0]+5;flat_top_[10]=flat_top_[1]-17;flat_top_[2]=flat_top_[1]+203+5;flat_top_[9]=flat_top_[2]-10;flat_top_[3]=flat_top_[0]-40-20;flat_top_[4]=(flat_top_[0]<=60)?-100:0;flat_top_[5]=flat_top_[0]+5+20;var menu_height=_parseInt($('#menu_flat_div').height());var max_height=(menu_height>=475)?menu_height:475;var mytop=max_height+flat_top_[1];flat_top_[6]=mytop;flat_top_[7]=mytop-200;flat_top_[8]=flat_top_[7]-flat_top_[1];}function do_flat_pos(){flat_pos();var menu_height=_parseInt($('#menu_flat_div').height());var max_height=(menu_height>=475)?menu_height:475;var mytop=flat_top_[6]-25;var mytop=flat_top_[6];var myheight,myleft;$('#mflat_bottomline').css({top:mytop});mytop=flat_top_[2]+259+5;$('#by_mailrouge').css({top:mytop});mytop=flat_top_[0]-20;$('#mflatev_groupe').css({top:mytop});var todo='0';$('#mflatev_panneau'+todo).add('#mflatev_scrollbtn2_'+todo).css({top:flat_top_[2]});$('#fix_main_mflatev_panneau'+todo).add('#fix_main_mflatev_scrollbtn2_'+todo).css({top:flat_top_[9]});$('#fix_accueil_mflatev_panneau'+todo).add('#fix_accueil_mflatev_scrollbtn2_'+todo).css({top:flat_top_[1]});$('#fix_edito_mflatev_panneau'+todo).add('#fix_edito_mflatev_scrollbtn2_'+todo).css({top:flat_top_[10]});myheight=$('#mflatev_scrollbtn_'+todo).height();mytop=flat_top_[2]+$('#mflatev_panneau'+todo).height()+10-myheight;$('#mflatev_scrollbtn_'+todo).css({top:mytop});if($('#fix_main_mflatev_panneau'+todo).length){myheight=$('#fix_main_mflatev_scrollbtn_'+todo).height();mytop=flat_top_[2]+$('#fix_main_mflatev_panneau'+todo).height()+10-myheight;myleft=$('#fix_main_mflatev_panneau'+todo).css('left');if(myleft)$('#fix_main_mflatev_scrollbtn_'+todo).css({top:mytop,left:myleft});}if($('#fix_accueil_mflatev_panneau'+todo).length){myheight=$('#fix_accueil_mflatev_scrollbtn_'+todo).height();mytop=flat_top_[1]+$('#fix_accueil_mflatev_panneau'+todo).height()+10-myheight;myleft=$('#fix_accueil_mflatev_panneau'+todo).css('left');if(myleft)$('#fix_accueil_mflatev_scrollbtn_'+todo).css({top:mytop,left:myleft});}if($('#fix_edito_mflatev_panneau'+todo).length){myheight=$('#fix_edito_mflatev_scrollbtn_'+todo).height();mytop=flat_top_[10]+$('#fix_edito_mflatev_panneau'+todo).height()+10-myheight;myleft=$('#fix_edito_mflatev_panneau'+todo).css('left');if(myleft)$('#fix_edito_mflatev_scrollbtn_'+todo).css({top:mytop,left:myleft});}if($('#fix_news_mflatev_panneau'+todo).length){$('#fix_news_mflatev_panneau'+todo).add('#fix_news_mflatev_scrollbtn2_'+todo).css({top:flat_top_[7]});myheight=$('#fix_news_mflatev_scrollbtn_'+todo).height();mytop=flat_top_[7]+$('#fix_news_mflatev_panneau'+todo).height()+10-myheight;myleft=$('#fix_news_mflatev_panneau'+todo).css('left');if(myleft)$('#fix_news_mflatev_scrollbtn_'+todo).css({top:mytop,left:myleft});}$('#flat_bandeauimg').css({height:flat_top_[0]});$('#flat_bandeautxt').css({top:flat_top_[3]});$('#menu_flat_div').css({top:flat_top_[1]});$('#mflat_pub').css({top:flat_top_[1]});$('#popifr').css({top:flat_top_[1]});$('#popifr1').css({top:flat_top_[1]});$('#flatreut_div').css({top:flat_top_[4]});do_flat_right();}function do_flat_right(){var theborder='1px solid rgb(51,0,204)';var theborder='1px solid #99CCFF';var wdiv,wtable;if(document.all){wdiv=203;wtable=203;}else{wdiv=201;wtable=203;}$('#mflatev_panneau'+'0').css({width:wdiv,borderTop:theborder,borderRight:theborder,borderLeft:theborder});$('#mflatev_scrollbtn_'+'0').css({width:wtable,borderRight:theborder,borderBottom:theborder,borderLeft:theborder});$('#mflatev_scrollbtn2_'+'0').css({width:wdiv,borderTop:theborder,borderRight:theborder,borderLeft:theborder});if($('#fix_accueil_mflatev_panneau0').length){if(document.all){wdiv=180;wtable=180;}else{wdiv=178;wtable=180;}theborder='1px solid #99CCFF';$('div.sdivtitle').css({width:'330px',marginRight:'185px'});$('#fix_accueil_mflatev_panneau'+'0').css({width:wdiv,borderLeft:theborder});$('#fix_accueil_mflatev_scrollbtn_'+'0').css({width:wtable,borderLeft:theborder});$('fix_accueil_#mflatev_scrollbtn2_'+'0').css({width:wdiv,borderLeft:theborder});}var myw=$('#popifr').width();check_isoverflow();if(myw>=flat_wbase)deca_flatright(myw);else reca_flatright(myw);}function toggle_style(myid,newstyleobj){$('#'+myid).css(newstyleobj);}function mflat_over_prj(myitem){if($(myitem).attr('ac')=='1')return;var theABC=$(myitem).attr('ev2');var style_=mflat_style_[$(myitem).attr('cl')+'over'];var mybgc=color_list_[theABC][1];style_['backgroundColor']=mybgc;$(myitem).css(style_);}function mflat_styleevent_prj(myitem){var style_=mflat_style_[$(myitem).attr('cl')+'ac'];var theABC=$(myitem).attr('ev2');var mybgc=(theABC!='AA')?color_list_[theABC][1]:'';style_['backgroundColor']=mybgc;style_['color']='darkslateblue';$(myitem).css(style_).attr({'ac':'1'});var thealias=$(myitem).attr('ali');if(thealias){var ev1=$(myitem).attr('ev1');myitem=$('div[id^=mflat_][ev1='+ev1+']').not('[ali=1]').get(0);var style_=mflat_style_[$(myitem).attr('cl')+'ac'];var theABC=$(myitem).attr('ev2');mybgc=(theABC!='AA')?color_list_[theABC][1]:'';style_['backgroundColor']=mybgc;style_['color']='darkslateblue';$(myitem).css(style_).attr({'ac':'1'});}else{var lastsec=$(myitem).attr('isec');myitem=$('#mflat_'+lastsec).get(0);var style_=mflat_style_[$(myitem).attr('cl')+'ac'];var theABC=$(myitem).attr('ev2');mybgc=(theABC!='AA')?color_list_[theABC][1]:'';style_['backgroundColor']=mybgc;style_['color']='darkslateblue';$(myitem).css(style_).attr({'ac':'1'});}}function create_flatmenu(){$(window).bind('resize',do_flat_pos);flat_pos();var second_image=(1==1)?'':'<img id=flat_bandeaub src="http://smb.laparoisse.fr/img/2009/bandeau_bbluebig2.jpg" width=1680 height=180 style="cursor: pointer; display: none;" title="Site officiel de la paroisse Sainte-Marie des Batignolles · 75017 Paris" onclick="go_accueil()">';$('<div id=flat_bandeauimg style="z-index: 0; position: absolute; top: 0px; left: 0px; width: 1000px; height: '+flat_top_[0]+'px; overflow: hidden;"><img id=flat_bandeaua src="http://www.ste-marie-batignolles.com/img/2011/bandeau2011.png" width=1680 height=180 style="cursor: pointer;" title="Site officiel de la paroisse Sainte-Marie des Batignolles · 75017 Paris" onclick="go_accueil()">'+second_image+'</div>').appendTo('body');$('<div id=flat_bandeautxt style="z-index: 0; position: absolute; top:'+flat_top_[3]+'; left:300; white-Space: nowrap; cursor: pointer;" title="Site officiel de la paroisse Sainte-Marie des Batignolles · 75017 Paris" onclick="go_accueil()"><span style=" font:bold 24pt arial; color: white; padding-left: 20px; letter-Spacing: .20em;">Sainte-Marie des Batignolles</span></div>').appendTo('#flat_bandeauimg');var accueil_line='<div id=accueil_line style="white-space: nowrap; width: 210px; color: darkslateblue; font: bold 8pt arial; padding-Left: 12px;"><span onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'\'" onclick="show_ifr(\'section51~AA\')" style="cursor: pointer;" title="Accueil">Accueil</span></div>';$('<div id=menu_flat_div style="height: 475px;"><div><img src="http://www.mailrouge.fr/one.gif" width=20 height=10 border=0></div><TABLE id=menu_flat_table cellspacing=0 cellpadding=0 border=0 style="display: table; visibility: hidden; width: 215"></TABLE><div id=div_fix_main style="position:relative; left: 20px;"></div></div>').css({position:'absolute',top:flat_top_[1],left:'5px',textAlign:'left'}).appendTo('body');var tempo_=[];var thetxt,thelayout,thepop,theABC,fullpop,thestatus,thealias,tempo,whatclick,whatover,whatout,whattitle,lastsect,thecolor,lastABC,tdtitle,thetxt2;lastsec='';lastABC='';var ja=0;jQuery.each(menulist,function(i,val){ja++;tempo='';thetxt=val[0];thelayout=val[1];thepop=val[2];theABC=val[3];thecolor='';fullpop=thepop;if(theABC.search(/^[A-Z]{1,3}$/gi)!=-1)fullpop+='~'+theABC;if(is_forserver){var fullpop2=thepop;if(theABC.search(/^[A-Z]{1,3}$/gi)!=-1)fullpop2+='-'+theABC;thetxt2=thetxt.replace(/(&bull;|&middot;|&nbsp;|[ ]+)/gi,' ');menu_flat_links_.push([fullpop2,thetxt2,titleslist[theABC].join(', ')]);}thestatus=(val[4])?val[4]:'on';thealias=(val[5])?val[5]:'';if(thelayout=='s')lastsec=i;if(thestatus=='off')whatclick=whatover=whatout=whattitle='';else{whatclick=(!thepop||thepop=='page0')?'':' onclick="mflat_click(this);"';whatover=' onmouseover="mflat_over_prj(this);"';whatout=' onmouseout="mflat_out(this);"';whattitle='';}tdtitle=' title="'+titleslist[theABC].join(', '+br)+'"';var whatstyle=' style="overflow: hidden; text-overflow: ellipsis;"';tempo+='<tr'+thecolor+' cl="'+thelayout+'">';tempo+='<td nbsp=1 style="background: transparent;"><img src="http://www.mailrouge.fr/one.gif" width=1 height=8 border=0></td>';tempo+='<td nbsp=1 style="width: 4px;"><img src="http://www.mailrouge.fr/one.gif" width=4 height=8 border=0></td>';tempo+='<td ja="'+ja+'" cl="'+thelayout+'" style="width: 210px; padding: 3 1 3 6"'+tdtitle+'><div id=mflat_'+i+' ii="'+i+'" cl="'+thelayout+'" pop="'+fullpop+'" ev1="'+thepop+'" ev2="'+theABC+'" st="'+thestatus+'" ali="'+thealias+'" isec="'+lastsec+'" clst="'+thelayout+thestatus+'" '+whatclick+whatover+whatout+whattitle+whatstyle+'>'+thetxt+'</div></td>';tempo+='</tr>';tempo_.push(tempo);lastABC=theABC;});tempo=tempo_.join('');$('#menu_flat_table').html(tempo);mflat_style();$('#menu_flat_table').find('td[nbsp=1]').css({font:'normal 6pt arial'});$('#menu_flat_table').css({visibility:'visible'});var h123changed=false;var h1,h2;var totrows=menulist.length;h1=$('#menu_flat_div').find('tr').eq(totrows-2).find('td:last').height();h2=$('#menu_flat_div').find('tr').eq(totrows-1).find('td:last').height();if(h1+totrows<h2){$('#menu_flat_div').find('tr').find('td:last').css({paddingTop:'1px'});h123changed=true;}h1=$('#menu_flat_div').find('tr').eq(totrows-2).find('td:last').height();h2=$('#menu_flat_div').find('tr').eq(totrows-1).find('td:last').height();var totsections_2=($('#menu_flat_div').find('tr[cl=s]').length)*2;var h3=(!totsections_2)?0:_parseInt((h2-h1)/totsections_2);if(h3>=1){$('#menu_flat_div').find('tr[cl=s]').find('td[cl=s]').each(function(i,val){$(val).css({paddingTop:h3+'px'});var jja=_parseInt($(val).attr('ja'));if(jja>2){jja-=1;$('#menu_flat_div').find('td[ja='+jja+']').css({paddingBottom:h3+'px'});}});h123changed=true;}if(h123changed){var mytop=_parseInt($('#menu_flat_table').height())-40;$('#bottomright').css({top:mytop});}$(mflat_pubhtml).css({top:-500}).appendTo('body');var mini_menu_=[['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Mentions légales" onclick="show_ifr(\'page37~AF\')">Mentions légales</span>'],['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Plan du site" onclick="show_ifr(\'section27~AF\')">Plan du site</span>'],['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Liens utiles" onclick="show_ifr(\'page35~AF\')">Liens</span>'],['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Blog - Livre d´or" onclick="show_ifr(\'page36~AF\')">Blog</span>'],['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Reportages photos - vidéos - textes" onclick="show_ifr(\'section12~AF\')">Reportages</span>'],['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Saint Marie Hebdo" onclick="show_ifr(\'specific-sbo-a-l20-s6\')">Sainte-Marie Hebdo</span>'],['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Recevoir Sainte-Marie Hebdo" onclick="ido_contact(\'contact_B\')">Recevoir Sainte-Marie Hebdo</span>'],['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Guide paroissial annuel" onclick="show_ifr(\'section25-NN\')">Guide</span>'],['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Contact : envoyer un message à la paroisse" onclick="ido_contact(\'contact_A\')">Contact</span>'],['<span style="font: bold 8pt arial; color: darkslateblue; cursor: pointer;" title="afficher en mode PLEIN ECRAN, dans une nouvelle fenêtre"><img src="http://www.ste-marie-batignolles.com/img/2009/fullscreen02.png" style="position: relative; top:-5px; left: 5px; vertical-Align: middle" width=26 height=18 onclick="try{window.open(\'http://www.ste-marie-batignolles.com/\',\'\',\'fullscreen=yes, scrollbars=auto, top=0, left=0, resizable=yes, height=2000, width=2000\');}catch(e){alert(\'vous devez désactiver un bloqueur de fenêtres pop-up, essayez de cliquer à nouveau en maintenant la touche Control enfoncée.\');}"></span>']];var mini_menu=mini_menu_.join('&nbsp;<font color=crimson>&middot;&nbsp;</font>');if(is_forserver){var ipop,itxt;$.each(mini_menu_,function(i,val){if(val[0].indexOf('show_ifr')==-1)return true;ipop=val[0].replace(/^.*show_ifr\(\'([^\']+)\'.*$/gi,'$1');ipop=ipop.replace(/~([A-Z]{1,3})/g,'-$1');itxt=val[0].replace(/^.*title=\"([^\"]+)\".*$/gi,'$1');menu_flat_links_.push([ipop,itxt,'']);});}var menu_height=_parseInt($('#menu_flat_div').height());var max_height=(menu_height>=475)?menu_height:475;var mytop=max_height+flat_top_[1];$('<div id=mflat_bottomline style="position: absolute; top: '+mytop+'px; left: 0px; background: url(http://smb.laparoisse.fr/img/2009/degrade_gris1000.png) repeat-x; z-index: 0; width: 1000px; padding-left: 0px; padding-Top: 6px; white-Space: nowrap; font: normal 8pt arial;" title="Site officiel de la Paroisse Sainte-Marie des Batignolles · 75017 Paris"><div style="padding-left:16px;">'+mini_menu+'</div><div><img id=mflat_bottomline1 src="http://www.mailrouge.fr/one.gif" width=1000 height=1 border=0 /></div></div>').appendTo('body');mytop=flat_top_[2]+259+5;$('<div id=by_mailrouge style="position: absolute; top:'+mytop+'px; left: 790; width: 203; font: normal 6pt arial;"><a href="http://www.mailrouge.com/" target="_new" style="text-decoration: none;" title="créé et géré avec ©MailRouge.com"><img src="http://www.mailrouge.fr/by_mailrouge.png" width=203 height=15 border=0></a></div>').appendTo('body');}function ido_contact(what){if(typeof show_f!='function')return;if(what=='contact_A'){var a='message pour la paroisse';var b='indiquez ci-dessous le texte de votre message pour la paroisse Sainte-Marie des Batignolles';var c='';var d='';}else if(what=='contact_B'){var a='inscription à la feuille d´information paroissiale';var b='indiquez votre adresse courriel pour recevoir la feuille d´information paroissiale';var c='';var d='';}show_f(a,b,c,d);}var next_flatevents_=[];var reut_pop='page50';var reut_color='white';var reut_inter='<b>&nbsp;&nbsp;&nbsp;&bull;&nbsp;</b>';var test_pop='section17';var scroll_interval=0;var scroll_timeout=0;var scroll_where=-1;var hr_max=10;var bientot_kill=false;var bientot_speedbase=200;var bientot_speed;function go_accueil(){$('#mflat_0').parent('TD').css({visibility:'hidden'});$('#popifr').hide().empty().css({width:'550px',height:'100px'});load_panneau('fix_edito','');apply_title_to_group('AA');mflat_style();do_css_bottomline(1);reca_flatright(550);}function hide_accueil(){$('#mflat_0').parent('TD').css({visibility:'visible'});$('*[id^=fix_edito]').remove();$('*[id^=fix_accueil]').remove();$('*[id^=fix_news]').remove();}function apply_title_to_group(theAA){var mytxt=(!eventlist2[theAA][2])?eventlist2[theAA][1]:eventlist2[theAA][2];var mycolor=(color_list_[theAA][1])?color_list_[theAA][1]:'cyan';var myfont=($.inArray(theAA,['AB','AC','AD','AJ'])==-1)?'italic 10pt arial':'normal 12pt arial';if(!$('#mflatev_groupe').length){$('<div id=mflatev_groupe style="z-index: 0; display: none; cursor: pointer;" title="Site officiel de la paroisse Sainte-Marie des Batignolles · 75017 Paris" onclick="go_accueil()"></div>').appendTo('#flat_bandeauimg');}$('#mflatev_groupe').html(mytxt).css({font:myfont,color:mycolor,position:'absolute',whiteSpace:'nowrap',textAlign:'right',width:'975px',left:'0px',top:flat_top_[0]-20}).show();var myitem=$('div[id^=mflat_][ev2='+theAA+']');if(myitem.length){mflat_styleevent_prj(myitem.get(0));}else mflat_style();}function show_flatevents2(theAA,ev1){hide_accueil();var msg='a show_flatevents2, ev2 (theAA) : '+theAA+', ev1 : '+ev1;add_temoin(msg);var hastitle=false;var mybase0=$('#popjsattributes').attr('base0');if(mybase0&&mybase0.search(/^[ps]\d+/)!=-1){if(mybase0.indexOf('s')==0)mybase0='section'+mybase0.substr(1);else if(mybase0.indexOf('p')==0)mybase0='page'+mybase0.substr(1);}else mybase0='';var search_=(theAA=='default')?[ev1,mybase0,theAA]:[theAA,ev1,mybase0];msg+=br+' search_ : '+search_.join(' : ');$.each(search_,function(i,theval){if(!theval||theval=='')return true;try{var mytitle=eventlist2[theval][1];hastitle=true;theAA=theval;return false;}catch(e){}if(!hastitle){try{var thisalias=alias_texts_[theval];if(thisalias&&flat_texts_[thisalias]&&flat_texts_[thisalias].length){theAA=thisalias;hastitle=true;return false;}}catch(e){}}if(hastitle)return false;});msg+=br+'found ? , theAA : '+theAA+', hastitle : '+hastitle+' !';if(hastitle){apply_title_to_group(theAA);}add_temoin('b show_flatevents2 : '+theAA);var hastxt=false;try{if(flat_texts_[theAA]&&flat_texts_[theAA].length)hastxt=true;else{theAA='default';hastxt=true;}}catch(e){theAA='default';hastxt=true;}add_temoin('c show_flatevents2, theAA : '+theAA+', hastxt : '+hastxt+' !');if(!hastxt)return;load_panneau(theAA,'');if(1==2){if(ev1=='section51'){load_panneau('fix_accueil','');load_panneau('fix_news','');}else{$('*[id^=fix_accueil]').remove();$('*[id^=fix_news]').remove();}}}var pop_isoverflow=false;function check_isoverflow(){var a=$('#blogtable').length;var b=($('#popifr1').length&&$('#popifr1').isvisible())?true:false;if(!a&&!b){var thecode=$('#popifr').html();var c=(thecode&&(thecode.indexOf('#noscroll#')!=-1||thecode.indexOf('isoverflow')!=-1))?true:false;}else var c=true;pop_isoverflow=(a||b||c)?true:false;return pop_isoverflow;}function do_css_bottomline(isdefault){check_isoverflow();var b=($('#popifr1').length&&$('#popifr1').isvisible())?true:false;if(isdefault)pop_isoverflow=false;var cssobj=(pop_isoverflow)?{width:'200px',whiteSpace:'normal',background:''}:{width:'1000px',whiteSpace:'nowrap',background:'url(http://smb.laparoisse.fr/img/2009/degrade_gris1000.png) repeat-x',border:'0px'};$('#mflat_bottomline').css(cssobj);$('#mflat_bottomline').find('span').css({padding:0});if(pop_isoverflow){$('#mflat_bottomline').find('br').remove();$('#mflat_bottomline').find('span').not(':first').before('<br>');$('#mflat_bottomline').find('font').remove();$('#popifr').css({overflow:'visible',height:''});}else{$('#mflat_bottomline').find('br').remove();$('#mflat_bottomline').find('font').remove();$('#mflat_bottomline').find('span').not(':first').before('<font color=crimson>&middot;&nbsp;</font>');$('#popifr').css({overflow:'auto'});}if(b)do_flat_pos();}function css_bottomline(){do_css_bottomline(0);add_temoin('css_bottomline, pop_isoverflow : '+pop_isoverflow+' !');}var flat_texts_={};var flat_multi_={};var flat_xbase=790;var flat_xdeca=230+10;var flat_wbase=550;var flat_xright=flat_xdeca+flat_wbase;var alias_texts_={"section51":"AA","page173":"AA","section28":"AB","section29":"AC","section30":"AD","section31":"AJ"};function create_flat_texts_(){var flat_bgcolor='rgb(222,222,222)';var flat_x=flat_xbase;var flat_y='flat_top_[2]';var flat_w=201;var flat_h=259;var flat_xywh=[flat_x,flat_y,flat_w,flat_h];var flat_options=['','',0];flat_texts_={'fix_main':[['page493','','transparent',[0,'flat_top_[9]',223,flat_h+10],flat_options,'panneau for main page : liens images']],'fix_edito':[['page489','','transparent',[235+20,'flat_top_[10]',350,275+15],flat_options,'panneau édito, accueil only']],'fix_accueil':[['page189','','white',[610,'flat_top_[1]',180,flat_h+203+5],flat_options,'panneau à droite édito, accueil only']],'fix_news':[['page245','','white',[230+20,'flat_top_[7]',355,200],flat_options,'panneau sous édito, accueil only']],'AA':[['page38','','',flat_xywh,flat_options,'panneau for section51 : éditorial']],'AB':[['page40','','',flat_xywh,flat_options,'panneau for Infos pratiques']],'AC':[['page39','','',flat_xywh,flat_options,'panneau for Sacrement et vie chrétienne']],'AD':[['page41','','',flat_xywh,flat_options,'panneau for Catéchèse et Formation']],'AJ':[['page43','','',flat_xywh,flat_options,'panneau for Vie des groupes']],'default':[['page42','','',flat_xywh,flat_options,'panneau for default']]};flat_multi_={};jQuery.each(flat_texts_,function(i,val){flat_multi_[i]=[0,val.length];$.each(val,function(i2,val2){var icolor=(color_list_[i]&&color_list_[i][2])?color_list_[i][2]:'';var i2color=val[i2][2];if(icolor&&!i2color)flat_texts_[i][i2][2]=icolor;});});}function show_lavoir(){}function hide_lavoir(){show_avis(-1);}var flat_fn1=false;$.getScript('menu_flatfn1.js',function(){flat_fn1=true;});function reca_flatright(myw){hide_lavoir();var myleft=flat_xbase;$('#mflat_pub').css({'left':myleft});$('#by_mailrouge').css({'left':myleft});$('div[id^=mflatev_panneau]').css({'left':myleft});$('*[id^=mflatev_scrollbtn]').css({'left':myleft});var myleft2=myleft+210;var myleft3=(!pop_isoverflow)?myleft2:220;$('#flat_bandeauimg').css({'width':myleft2});$('#mflat_bottomline').css({'width':myleft3});$('#mflat_bottomline1').css({'width':myleft3});}function deca_flatright(myw){hide_lavoir();var myleft=flat_xdeca+myw;$('#mflat_pub').css({'left':myleft});$('#by_mailrouge').css({'left':myleft});$('div[id^=mflatev_panneau]').css({'left':myleft});$('*[id^=mflatev_scrollbtn]').css({'left':myleft});var myleft2=myleft+210;var myleft3=(!pop_isoverflow)?myleft2:220;$('#flat_bandeauimg').css({'width':myleft2});$('#mflat_bottomline').css({'width':myleft3});$('#mflat_bottomline1').css({'width':myleft3});}function show_flatright(){hide_lavoir();$('#mflat_pub').show();$('div[id^=mflatev_]').show();$('table[id^=mflatev_]').css({display:'table'});}function hide_flatright(){hide_lavoir();$('#mflat_pub').hide();$('*[id^=mflatev_]').hide();}function show_flat(){hide_lavoir();$('#mflat_pub').show();$('#flatreut_div').show();$('div[id^=mflatev_]').show();$('div[id^=fix_]').show();$('table[id^=mflatev_]').css({display:'table'});}function hide_flat(){hide_lavoir();$('#mflat_pub').hide();$('#flatreut_div').hide();$('*[id^=mflatev_]').hide();$('div[id^=fix_]').hide();}function define_reutpos(){reut_={'left':270,'top':flat_top_[4],'h':20,'w':725,'deca_w':-20};}function append_reut(mytext){var tleft=reut_['left'];var ttop=reut_['top'];var th=reut_['h'];var tw=reut_['w'];var tw2=tw+reut_['deca_w'];mytext='<div id=flatreut_scroll style="position:relative; top:0; left: '+tw2+'; white-Space: nowrap; color: white;">'+mytext+'</div>';$('<div id="flatreut_div" style="position: absolute; left: '+tleft+'; top: '+ttop+'; height: '+th+'; width: '+tw+'; overflow: hidden; z-Index: 20000000; font: bold 9pt arial; color: white;" onmouseover="reut_stop()" onmouseout="reut_scroll()">'+mytext+'</div>').appendTo('#flat_bandeauimg');$('<span title="recharger ce panneau" style="position: absolute; top: '+ttop+'; left: '+(tleft+tw)+'; cursor: pointer; width: 10px; height: 20px; color: forestgreen; text-align: center;" onclick="if(confirm(\'recharger ce panneau\'))reload_reut();">&middot;</span>').appendTo('#flat_bandeauimg');window.setTimeout(reut_scroll,1500);}function showzoom(myitem,myimg,myposimg,myposwin,myserial){var myselection=$('div[name=divavis], #avis_quit');var myimg2=myimg.replace(/[^\w]+/gi,'_');var toreturn=($('div[name=divavis][image='+myimg2+']:visible').length)?true:false;myselection.hide();if(toreturn)return;get_docsize();if(!myposwin||myposwin=='auto'){var myoffset=$(myitem).offset();var myleft=myoffset.left;myleft=(myleft<450)?450:25;}else{myposwin=myposwin.substr(0,1);if(myposwin=='l')myleft=25;else if(myposwin=='r')myleft=450;else if(myposwin=='c'||1==1){if(jwinw<=550)myleft=25;else{myleft=_parseInt((jwinw-550)/2)+jdocl;}if(myleft<25)myleft=25;}}var mytop=jdoct+10;var mytopquit=mytop+500;var myleftquit=myleft-4;if($('div[name=divavis][image='+myimg2+']').length){$('div[name=divavis][image='+myimg2+']').css({top:mytop,left:myleft}).fadeIn('slow');$('#avis_quit').css({top:mytopquit,left:myleftquit}).fadeIn('slow');return;}var ismulti=false;if(myserial){ismulti=true;var myimgbase=myimg.replace(/\.(jpg|jpeg|gif|png)$/gi,'');var myimgext=myimg.replace(/^(.*)\.(jpg|jpeg|gif|png)$/gi,'$2');var imgcode_=[];var imgname='';var imgstyle='';var myserial_=myserial.split(',');for(var jj=0;jj<myserial_.length;jj++){for(var ii=0;ii<myserial_[jj].length;ii++){imgname=myimgbase+'.'+myserial_[jj].substr(ii,1)+'.'+myimgext;imgstyle=(ii==0)?'':' style="border-Top: 2px dashed gray"';imgcode_.push('<img src="'+imgname+'" border=0'+imgstyle+' />');}}var imgcode=imgcode_.join('<br />');}else{var imgcode='<img src="'+myimg+'" border=0 />';}var mycode0='<div name=divavis image="'+myimg2+'" style="position: absolute; top: '+mytop+'px; left: '+myleft+'px; z-Index: 30000000; border: 2px dodgerblue dotted; width: 550px; height: 550px; overflow: auto; background-color: white; cursor:pointer;" title="cliquer pour fermer" onclick="show_avis(-1);">';var mycode1='</div>';if(myposimg=='c'){var mycode=mycode0+'<table cellSpacing=0 cellPadding=0 border=0 style="height: 100%; width: 100%;"><tr><td align=center>'+imgcode+'</td></tr></table>'+mycode1;}else{var mycode=mycode0+imgcode+mycode1;}$(mycode).appendTo('body');if(!$('#avis_quit').length){$('<img id=avis_quit src="http://www.mailrouge.fr/img/all/rte_quit.gif" width=18 height=18 border=0 style="cursor: pointer; position: absolute; top: '+mytopquit+'px; left: '+myleftquit+'px; z-Index: 30000001;" title="cliquer pour fermer" onclick="show_avis(-1);" />').appendTo('body');}else{$('#avis_quit').css({top:mytopquit,left:myleftquit}).fadeIn('slow');}}function show_avis(myimg){if(!myimg)return;var myselection=$('div[name=divavis], #avis_quit');if(myimg==-1){myselection.hide('slow');return;}myselection.hide();var myimg2=myimg.replace(/[^\w]+/gi,'_');get_docsize();var mytop=jdoct+10;var myleft=400;var mytopquit=mytop+500;var myleftquit=myleft-4;if($('div[name=divavis][image='+myimg2+']').length){$('div[name=divavis][image='+myimg2+']').css({top:mytop,left:myleft}).fadeIn('slow');$('#avis_quit').css({top:mytopquit,left:myleftquit}).fadeIn('slow');return;}var ismulti=false;var mypath='http://www.ste-marie-batignolles.com/img/';if(myimg.indexOf('http://')==0)mypath='';var myimg2_=myimg.split('.');if(myimg2_.length==3&&myimg2_[1].length>1){ismulti=true;var imgcode_=[];var imgname='';var imgstyle='';for(var ii=0;ii<myimg2_[1].length;ii++){imgname=mypath+myimg2_[0]+'.'+myimg2_[1].substr(ii,1)+'.'+myimg2_[2];imgstyle=(ii==0)?'':' style="border-Top: 2px dashed gray"';imgcode_.push('<img src="'+imgname+'" border=0'+imgstyle+' />');}var imgcode=imgcode_.join('<br />');}else{var imgcode='<img src="'+mypath+myimg+'" border=0 />';}$('<div name=divavis image="'+myimg2+'" style="position: absolute; top: '+mytop+'px; left: '+myleft+'px; z-Index: 30000000; border: 2px dodgerblue dotted; width: 600px; height: 550px; overflow: scroll; background-color: white; cursor:pointer;" title="cliquer pour fermer" onclick="show_avis(-1);"></div>').appendTo('body').html(imgcode);if(!$('#avis_quit').length)$('<img id=avis_quit src="http://www.mailrouge.fr/img/all/rte_quit.gif" width=18 height=18 border=0 style="cursor: pointer; position: absolute; top: '+mytopquit+'px; left: '+myleftquit+'px; z-Index: 30000001;" title="cliquer pour fermer" onclick="show_avis(-1);" />').appendTo('body');else $('#avis_quit').css({top:mytopquit,left:myleftquit}).fadeIn('slow');}function check_callback(theii,todo){do_flat_pos();$('img[src$=redreload.png]').css({opacity:0.1});if(theii=='fix_edito'){load_panneau('fix_accueil','');load_panneau('fix_news','');load_panneau('default','');$('#fix_edito_mflatev_panneau0').find('*.pdivtitle:first').css({width:'100%'});}}var bgcobj={background:'url(http://www.ste-marie-batignolles.com/img/2011/fond_smb_bleuclair.png) repeat-y 0px 0px'};function iam_ready(){if(is_testarea())is_forserver=true;create_flatmenu();create_flat_texts_();reut_pop='';if(reut_pop){define_reutpos();load_reut('');}if(startflat&&js_swpop==''&&js_swmenu=='')mflat_clickii(startflat);$('#menu_flat_div').add('#menu_flat_table').css(bgcobj);bientotreut_stop();add_training(0,0,'•');load_panneau('fix_main','');if(startingsection==''){go_accueil();}if(is_forserver&&typeof do_menu_links=='function'&&menu_flat_links_.length)do_menu_links();else if(is_forserver){var so1='./menu_flat_links_extract'+'.p'+'hp';var tempo_=[];var tempa_=[];var mytxt,mytitle;$('<div id=itempa></div>').css({display:'none'}).appendTo('body');$.each(menu_flat_links_,function(i,val){tempo_.push(val[0]+' : '+val[1]);$('#itempa').html(val[1]);$('#itempa').find('*').prepend(' ');mytxt=$.trim($('#itempa').text());mytitle=(val[2])?' title="'+val[2]+'"':'';tempa_.push('<div><a href="index.php?'+val[0]+'"'+mytitle+'>'+mytxt+'</a></div>');});$('#itema').remove();var tempa=tempa_.join(' ');add_temoin('--- list of links ---<hr>'+tempo_.join('<br>')+'<hr>');$.post(so1,{'list_of_links_':tempa},function(data){add_temoin(data);});}var mysearch='<div id=divsearch style="z-Index: 30000000; position:absolute; top:-200; left: 30;"><form id=sitesearch name=sitesearch method=GET target="websearch" action="http://www.google.fr/search" style="display:none;"><input type=hidden name=q /></form><form style="display:inline;"><input type=text id=qsearch name=qsearch value="rechercher" style="width: 140px; font: normal 8pt arial; color: maroon; vertical-align: middle;" onmouseenter="mflat_searchenter()" title="inscrire ici les mots à rechercher" /><img src="http://www.ste-marie-batignolles.com/img/2010/rightred17.png" width=17 height=17 border=0 title="lancer la recherche" style="cursor: pointer; vertical-align: middle;" onclick="mflat_searchclick()" /></form></div>';}function mflat_searchenter(){}function mflat_searchclick(){var myval=$('#qsearch').val();if(!myval||myval=='rechercher'||!confirm('rechercher : '+myval))return false;var mystr=myval+'+site:ste-marie-batignolles.com';$('#sitesearch').find('input:first').val(mystr);$('#sitesearch').get(0).submit();}
