/* Copyright (c) 2012 www.mailrouge.com - no copy or any usage allowed without explicit and nominative and written authorisation of mailrouge.com */
/* 2012-01, 13 [15:14:17] */
pop_scroll='';pop_height=0;var is_forserver=false;var menu_flat_links_=[];var titleslist={'page1':['Accueil'],'contactA':['Contact, envoyer un message à la paroisse']};titleslist['section11']=["Horaires des messes - permanence des prêtres","Accueil paroissial","Prêtres de la paroisse","Conseil pastoral","Grandes dates de l'année 2010","Grandes dates de l'année 2011","Livret paroissial","Adresse et plan d'accès","Horaires des messes dans les paroisses du 11ème","Historique de l'église Saint Ambroise"];titleslist['section12']=["Préparation au baptême","Le catéchuménat des adultes","Se marier à l'église","Le sacrement des malades","La réconciliation","Les funérailles"];titleslist['section13']=["ACF : Action Catholique des Femmes","MCR : Mouvement Chrétien des Retraités","Foi et Lumière · Équipes Notre Dame","ACI : C'est la vie parlons-en ensemble !"];titleslist['section34']=["Even","École de la Foi","la Parole"];titleslist['section14']=["&bull;Aumônerie des jeunes","&nbsp;L'aumônerie du 7 (Aumônerie des collèges et lycées) · Groupe scolaire Charles-Péguy · L'aumônerie des étudiants de l'ESG (École Supérieure de Gestion) · Foyer Saint Ambroise · Foyer Saint Augustin","&bull;Le catéchisme","&nbsp;Éveil de la Foi · Catéchisme · Les mercredis de Saint-Ambroise","&bull;Les Scouts et Guides","&nbsp;Scouts et Guides de France","&bull;Jeunes adultes","&nbsp;Jeunes foyers · Even · JMJ 2011 Madrid"];titleslist['section16']=["Servants de messe","Animation liturgique","Bouquet liturgique : Art floral"];titleslist['section15']=["Equipe Saint Vincent","Société de Saint Vincent de Paul (aînés)","Club du dimanche","Le petit café","Cabinet Raphaël","Secours catholique 11ème - écrivains publics","C.C.F.D. - Comité Catholique contre la Faim et pour le Développement","Accompagnement scolaire Le Pavillon"];titleslist['section17']=["Laudes","Mains jointes","Groupe du chapelet","Prière du renouveau"];titleslist['section18']=["&bull;Groupes paroissiaux","&nbsp;Jumelage avec Abidjan","&nbsp;&nbsp;Naissance du jumelage · Esprit du jumelage et historique · 2006 - 2007 - 2008 · 2008 - 2009 · 2010 - échanges réalisés, à poursuivre · Nos Objectifs · Plaquette couleur","&nbsp;Dialogue inter-religieux","&bull;Associations paroissiales","&nbsp;Association Joie, Air et Santé","&bull;Services paroissiaux","&nbsp;Art, Culture et Foi"];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=[['<font id=id_accueil style="visibility: visible;">'+add_nobull+'<span style="font: normal 8pt tahoma; color: dodgerblue;">'+"Accueil"+'</span>'+'</font>',"s","page1","AD","on",0],[add_bull+"Informations","s","section11","AD","on",0],[add_bull+"Foi et<br>"+add_nobull+"Sacrements","s","section12","AD","on",0],[add_bull+"Mouvements<br>"+add_nobull+"apostoliques et<br>"+add_nobull+"spirituels","s","section13","AD","on",0],[add_bull+"Formations","s","section34","AD","on",0],[add_bull+"Jeunes","s","section14","AD","on",0],[add_bull+"Liturgie","s","section16","AD","on",0],[add_bull+"Service<br>"+add_nobull+"du prochain","s","section15","AD","on",0],[add_bull+"Prière","s","section17","AD","on",0],[add_bull+"Groupes et<br>"+add_nobull+"services paroissiaux","s","section18","AD","on",0],['<font style="visibility: visible;">'+add_nobull+'<span style="font: normal 8pt tahoma; color: orange;" title="Contact">'+"Contact"+'</span>'+'</font>',"s","page574","AD","on",0]];var alias_pop={'section5111':'page73222'};var menulist_pop={'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'],'section51':['','','white'],'AA':['#9DC6DA','cyan','moccasin'],'AB':['#9DC6DA','cyan',''],'AD':['#F4D055','yellow',''],'default':['honeydew','white','']};$.each(color_list_,function(i,val){if(!val[2])color_list_[i][2]=color_list_[i][0];});var eventlist1={};var eventlist2={"AA":['div','Accueil','&nbsp;'],"AH":['div','Accueil','&nbsp;'],"page1":['div','Accueil','&nbsp;'],"section11":['div','Informations'],"section12":['div','Foi et Sacrements'],"section13":['div','Mouvements apostoliques et spirituels'],"section34":['div','Formations'],"section14":['div','Jeunes'],"section16":['div','Liturgie'],"section15":['div','Service du prochain'],"section17":['div','Prière'],"section18":['div','Groupes et services paroissiaux'],"section20":['div','Expositions - Reportages'],"section5":['div','Plan du site'],"section36":['div','Feuille d\'Information Paroissiale'],"specific_sbo_a_l20_s36":['div','Feuille d\'Information Paroissiale'],"section39":['div','Expositions'],"section41":['div','Reportages'],"ZZZ":['div','&hellip;extraits du site&hellip;'],"default":['div','']};var mytop=400;var myleft=925;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: '+mytop+'; left: '+myleft+'; z-Index: 20000001; text-decoration: none; display:none;"><img name=mflat_pub src="http://www.mailrouge.net/img/all/pub_laparoisse_203.png" width=203 height=203 border=0></a>';mytop=mytop+203+5;var by_mailrougehtml='<div id=by_mailrouge style="position: absolute; top:'+mytop+'px; left: '+myleft+'; width: 203; font: normal 6pt arial; display: none;"><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>';var reut_={};var do_flatreut=true;var startflat='';var mflat_opt_={'txtcolor':'white','width':'180px'};var stylebank_={'sfont':'bold 10pt verdana','pfont':'bold 8pt verdana'};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':'white','backgroundColor':'#CA7A7A'},"pover":{'font':stylebank_['pfont'],'color':'white','backgroundColor':'#CA7A7A'},"sac":{'font':stylebank_['sfont'],'color':'crimson','backgroundColor':'snow'},"pac":{'font':stylebank_['pfont'],'color':'crimson','backgroundColor':'snow'}};$.each(mflat_style_,function(i,val){$.each(styleall_,function(si,sval){if(!mflat_style_[i][si])mflat_style_[i][si]=sval;});});var flat_top_=[];flat_top_[1]=80;var divbgc='transparent';function flat_pos(){return 0;}function do_flat_pos(){if($('#popifr1').length&&$('#popifr1').isvisible()){$('#popifr1').css({top:flat_top_[1]});load_panneau('default','');}return;}function do_flat_right(what,absolute,theAA,todo){if(what==null)what=-1;if(absolute==null)absolute=-1;if(theAA==null)theAA=-1;if(todo==null)todo=-1;var myw=645+50;if($('#popifr').length&&what<0){myw=$('#popifr').width();if(absolute>=0&&(absolute-flat_xdeca)>myw)myw=absolute-flat_xdeca;}else{if(what>=0)myw=what;else if(absolute>=0)myw=absolute-flat_xdeca;}var ifound=false;add_temoin('do_flat_right, myw : '+myw+' >= '+flat_wbase+' (deca:reca), ifound : '+ifound);if(myw>=flat_wbase){deca_flatright(myw);}else{reca_flatright(myw);}$('#mflat_pub, #by_mailrouge').show();$('img[src$=redreload.png]').css({opacity:0.1});}function toggle_style(myid,newstyleobj){$('#'+myid).css(newstyleobj);}function create_flatmenu(){def_AA='AD';$('<div id=menu_flat_div style=""><div><img src="http://www.saint-ambroise.com/img/archi/ambroise_rond150btr2.png" width=150 height=150 border=0 style="margin: 15 40 15 20; cursor: pointer;" onclick="show_ifr(\'page571~ZA\')" title="Saint Ambroise &#13;&#10;cliquer pour voir la façade de l\'église"><br><img src="http://www.mailrouge.net/one.gif" width=20 height=20 border=0></div><TABLE id=menu_flat_table cellspacing=0 cellpadding=0 border=0 style="display: table; visibility: hidden; width: 200; margin-Left: 5px;"></TABLE><div id=div_fix_main style="position:relative; left: 20px;"></div></div>').css({position:'absolute',top:'0px',left:'0px',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,' ');var thetitle=(titleslist[thepop])?titleslist[thepop].join(', '):'';if(thepop.indexOf('contact')==-1)menu_flat_links_.push([fullpop2,thetxt2,thetitle]);}thestatus=(val[4])?val[4]:'on';thealias=(val[5])?val[5]:'';if(thelayout=='s')lastsec=i;if(thestatus=='off')whatclick=whatover=whatout=whattitle='';else if(thepop=="contactA"){whatclick=' onclick="contact(\'contact_A\');"';whatover=' onmouseover="mflat_over(this);"';whatout=' onmouseout="mflat_out(this);"';whattitle='';}else{whatclick=' onclick="mflat_click(this);"';whatover=' onmouseover="mflat_over(this);"';whatout=' onmouseout="mflat_out(this);"';whattitle='';}try{tdtitle=' title="'+titleslist[thepop].join(', '+br)+'"';}catch(e){tdtitle="";}var whatstyle=' style="overflow: hidden; text-overflow: ellipsis;"';tempo+='<tr'+thecolor+' cl="'+thelayout+'">';tempo+='<td nbsp=1 style="background: transparent;"><img src="one.gif" width=1 height=10 border=0></td>';tempo+='<td nbsp=1 style="width: 4px;"><img src="one.gif" width=4 height=10 border=0></td>';tempo+='<td ja="'+ja+'" cl="'+thelayout+'" style="width: 210px; padding: 2 1 2 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:400}).appendTo('body');$(by_mailrougehtml).css({top:400+203+5}).appendTo('body');var mini_menu_=['aaa','bbb','ccc'];var mini_menu=mini_menu_.join('&nbsp;<font color=crimson>&middot;&nbsp;</font>');mini_menu_=[];if(is_forserver&&mini_menu_.length){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 mini_menu_manual_=[['page5-11-AD+Horaires des messes','',''],['page138-11-AD+Grandes dates 2009-2010','',''],['specific-sbo-a-l20-s36-AD+ÉDITO · ACTUALITÉS · AGENDA','',''],['section40-39-AD+Expo Ste Jeanne de France','',''],['section44-39-AD+Expo St Ambroise','',''],['section41-AD+Reportages','',''],['section30-AD+Jumelage avec Abidjan','',''],['section19-AD+LIENS','',''],['section5-AD+Plan du site','',''],['page2-AD+mentions légales','',''],['','',''],['','','']];if(is_forserver&&mini_menu_manual_.length){var ipop,itxt,ititle,i_;$.each(mini_menu_manual_,function(i,val){if(val[0].indexOf('+')>0){i_=val[0].split('+');ipop=i_[0];itxt=i_[1];ititle='';menu_flat_links_.push([ipop,itxt,ititle]);}});}var menu_height=_parseInt($('#menu_flat_div').height());var max_height=(menu_height>=475)?menu_height:475;var mytop=1000;mytop=500;}var next_flatevents_=[];var reut_pop='';var test_pop='';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;var width_groupe={};var fix_pub_x=0;function show_flatevents2(theAA,ev1){var theAA0=theAA;var msg='';var todisplay=(theAA=='ZA'||theAA=='AA'||theAA=='AH')?'none':'';$('#sambr_title, #sambr_title2').css({display:todisplay});if($('#popifr').find('p[onlythis="1"]').length){var myimage=$('#popifr').find('p[onlythis="1"]:first').find('img:first');if(myimage.length){var imgw=myimage.attr('width');var imgh=myimage.attr('height');if(imgw&&imgh){$('#popifr').find('p[onlythis="1"]:first').css({position:'absolute',top:'0px',left:'0px'});$('#popifr').css({width:imgw,height:imgh});}}}if(theAA=='ZA'||theAA=='AA'||theAA=='AH')fix_pub_x=175;else fix_pub_x=0;msg='a show_flatevents2, ev2 (theAA) : '+theAA+', ev1 : '+ev1;add_temoin(msg);if(ev1&&ev1.indexOf('specific')==0){ev1=ev1.replace(/\-/g,'_');add_temoin('new ev1 : '+ev1+' !');}if(ev1&&ev1=='vide'){}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+'theAA : '+theAA+', ev1 : '+ev1+', mybase0 : '+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){var mytxt=(!eventlist2[theAA][2])?eventlist2[theAA][1]:eventlist2[theAA][2];add_temoin('show_flatevents2, found theAA : '+theAA+', mytxt : '+mytxt);var mycolor;if(color_list_[theAA]&&color_list_[theAA][1])mycolor=color_list_[theAA][1];else mycolor='dodgerblue';var width_found=false;var ii=0;if(typeof width_groupe[theAA]=='number'){ii=width_groupe[theAA];width_found=true;}else ii=2;$('<div id=mflatev_groupe style="z-index: 0; visibility: hidden; cursor: pointer; padding: 0 3; letter-Spacing: '+ii+'em; background-Color: whitesmoke; white-Space: nowrap;" title="Site officiel de la paroisse Saint Ambroise · 75011 Paris" onclick="show_ifr(\'page1\')"></div>').appendTo('body').html('<span id=mflatev_groupetxt>'+mytxt+'</span>').css({font:'bold 12pt arial black,arial',color:mycolor,position:'absolute',whiteSpace:'nowrap',textAlign:'left',width:'480px',left:'265px',top:'50px'});if(!mytxt||mytxt=='&nbsp;'){}else{var mywidth,newem;if(!width_found)while(ii>0){width_groupe[theAA]=ii;mywidth=$('#mflatev_groupetxt').width();add_temoin('ii : '+ii+', width : '+mywidth);if(mywidth<=474||ii<=0)break;ii-=.10;newem=ii+'em';$('#mflatev_groupe').css({letterSpacing:newem});width_groupe[theAA]=ii;}$('#mflatev_groupe').css({visibility:'visible'});}}if(mybase0){var myitem=$('div[id^=mflat_][ev1='+mybase0+']');msg+=br+'myitem.length : '+myitem.length+' !';if(myitem.length){mflat_styleevent(myitem.get(0));}else mflat_style();}add_temoin('b show_flatevents2 : '+theAA+', titre de groupe affiché');theAA=theAA0;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;if(!$('div[id^="fix_pub_"]').length){load_panneau('fix_pub','');}load_panneau(theAA,'');var what=(ev1&&ev1=='vide')?(645+50):-1;if($('#tvi').length&&$('#tvi').text()==''){var cpr2=cpr.replace(/[0]$/,'');$.get('./tvi.php?'+cpr2,tviok,'text');}if($('#div_tvi').length){$('#div_tvi').bind('click',function(e){if(!e)return;if(!confirm('liste des visites sur le site web'))return;var mydate=new Date().getTime();rem_flatevents();var cpr2=cpr.replace(/[0]$/,'');show_ifrev('./visit_no.php?ac='+cpr2+'&te=12&ti='+mydate+'','','');});}}function css_bottomline(){return;}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_={};function create_flat_texts_(){var flat_bgcolor='rgb(222,222,222)';var flat_x=flat_xbase;var flat_y=80;var flat_w=203;var flat_h=315;var flat_xywh=[flat_x,flat_y,flat_w,flat_h];var flat_options=['','',0];flat_texts_={'fix_pub':[['page427','','transparent',[925+203+0,flat_y,flat_w,0],flat_options,'quelques logos de pubs internes église et paroisse']],'fix_adresse':[['page573','','transparent',[15,530,200,0],flat_options,'nom et adresse sous le menu, colonne de gauche']],'AA':[['page120','','#F2E1E1',[925,flat_y,flat_w,flat_h],flat_options,'grande photo façade']],'AH':[['page120','','#F2E1E1',[925,flat_y,flat_w,flat_h],flat_options,'grande photo nef']],'ZA':[['page120','','#F2E1E1',[925,flat_y,flat_w,flat_h],flat_options,'grande photo nef']],'AD':[['page120','','#F2E1E1',flat_xywh,flat_options,'tout le menu général de gauche']],'default':[['page120','','#DDABAB',flat_xywh,flat_options,'panneau for default, copie de AD en plus foncé']]};flat_multi_={};jQuery.each(flat_texts_,function(i,val){flat_multi_[i]=[0,val.length];$.each(val,function(i2,val2){try{var icolor=color_list_[i][2];var i2color=val[i2][2];if(icolor&&!i2color)flat_texts_[i][i2][2]=icolor;}catch(e){}});});}function show_lavoir(){}function hide_lavoir(){}var flat_fn1=false;$.getScript('menu_flatfn1.js',function(){flat_fn1=true;});function reca_flatright(myw){hide_lavoir();var myleft=flat_xbase;var opaque=1;$('#mflatev_panneau0').add('#mflat_pub').add('#by_mailrouge').add('#mflatev_scrollbtn_0').add('#mflatev_scrollbtn2_0').css({'left':myleft});$('#mflat_pub, #by_mailrouge').css({'opacity':opaque});var myleft2=(fix_pub_x==0)?myleft+190:fix_pub_x;$('div[id^=fix_pub_mflatev_panneau]').css({'left':myleft2});return;}function deca_flatright(myw){hide_lavoir();var myleft=flat_xdeca+myw;var opaque=(myleft>=925)?.40:1;$('#mflatev_panneau0').add('#mflat_pub').add('#by_mailrouge').add('#mflatev_scrollbtn_0').add('#mflatev_scrollbtn2_0').css({'left':myleft});$('#mflat_pub, #by_mailrouge').css({'opacity':opaque});var myleft2=(fix_pub_x==0)?myleft+190:fix_pub_x;$('div[id^=fix_pub_mflatev_panneau]').css({'left':myleft2});return;}function show_flatright(){hide_lavoir();$('#mflat_pub, #by_mailrouge').show();$('div[id^=mflatev_]').show();$('table[id^=mflatev_]').css({display:'table'});}function hide_flatright(){hide_lavoir();$('#mflat_pub, #by_mailrouge').hide();$('*[id^=mflatev_]').hide();}function show_flat(){hide_lavoir();$('#mflat_pub, #by_mailrouge').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, #by_mailrouge').hide();$('#flatreut_div').hide();$('*[id^=mflatev_]').hide();$('div[id^=fix_]').hide();}var xywh_group_=[];xywh_group_['ZA']=[230,0,700,-1,-1];xywh_group_['default']=[230,80,550,-1,-1];function check_group_(myrequest,tox,toy,tow,toh,bott_pos){var toreturn_=[tox,toy,tow,toh,bott_pos];var isgroup='default';try{myrequest=myrequest.replace(/^.*\?/,'');if(myrequest.search(/^([\w\d]*)(-\d+)?[-~]([AZ]{1,3})/)!=-1){var mygroup=myrequest.replace(/^([\w\d]*)(-\d+)?[-~]([AZ]{1,3})/,'$3');if(mygroup&&xywh_group_[mygroup]!=null&&typeof xywh_group_[mygroup]=='object'&&xywh_group_[mygroup].length!=null){isgroup=mygroup;}else{isgroup='default';}toreturn_=xywh_group_[isgroup];}else{toreturn_=xywh_group_[isgroup];}}catch(e){};toreturn_=xywh_group_[isgroup];flat_top_[1]=xywh_group_[isgroup][1];return toreturn_;}function letter_spacing_title(myid){if(!$('#'+myid).length)return;if($('#'+myid+'[done="1"]').length)return;var thewidth=$('#'+myid).attr('thewidth');if(!thewidth||!_parseInt(thewidth))return;thewidth=_parseInt(thewidth);var iincrement=0.02;var ibase=0.1;var iii=0;for(var ibase=0.1;ibase<3;ibase+=iincrement){$('#'+myid).css({letterSpacing:ibase+'em'});iii++;if($('#'+myid).width()>thewidth){ibase-=iincrement;$('#'+myid).css({letterSpacing:ibase+'em',width:thewidth,textAlign:'center'}).attr({done:"1"});break;}}}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);}var firstaffiche_shown=false;function check_callback(theii,todo){if(!firstaffiche_shown){var theaffiche=$('span[liname=zoom][id=intro]');if(theaffiche.length){firstaffiche_shown=true;theaffiche.click();}}}$(document).ready(function(){$('#sambr_title, #sambr_title2').css({display:'none'});$('td[name="col_center"]').css({visibility:'visible'});letter_spacing_title('sambr_title');});var bgcobj={background:'url(http://www.laparoisse.fr/img/fond_sambr.png) repeat-y 0px 0px'};function iam_ready(){if(is_testarea())is_forserver=true;create_flatmenu();create_flat_texts_();load_panneau('fix_adresse','');if(reut_pop){define_reutpos();load_reut('');}if(startflat&&js_swpop==''&&js_swmenu=='')mflat_clickii(startflat);bientotreut_stop();if(test_pop)add_training(0,0,'•');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);});}}
