/* Copyright (c) 2010 www.mailrouge.com - no copy or any usage allowed without explicit and nominative and written authorisation of mailrouge.com */
/* 2010-06, 20 [12:03:10] */
pop_scroll='';pop_height=0;var is_forserver=false;var menu_flat_links_=[];var menulist=[["Présentation","s","section56","AA","on"],["Vie municipale","s","page73","AB","on",1],["Édito le mot du maire","p","page73","AB"],["Conseil municipal","p","page74","AB"],["Commissions communales","p","page75","AB"],["Intercommunalité","p","page76","AB"],["Délibérations","p","page77","AB"],["Le flash en ligne","p","page78","AB"],["Reportages","p","page79","AB"],["Marchés Publics","p","page123","AB"],["Avis et Informations","p","page141","AB"],["Vie pratique","s","page80","AC","on",1],["Accès","p","page80","AC"],["Formalités administratives","p","page81","AC"],["Services locaux","p","page82","AC"],["Enseignement","p","page83","AC"],["Services périscolaires","p","page84","AC"],["Transports","p","page85","AC"],["Numéros utiles","p","page86","AC"],["Évènements","p","page139","AC"],["Loisirs","s","page87","AD","on",1],["Équipements communaux","p","page87","AD"],["Activités associations","p","page88","AD"],["Tourisme","p","page89","AD"],["Histoire","p","page90","AD"],["Patrimoine","p","page91","AD"],["Les gîtes les plus proches","p","page93","AD"],["Agenda","s","page94","AJ","on",1],["Manifestations","p","page94","AJ"],["Cérémonies","p","page95","AJ"],["Nous contacter","s","section55","AE"],["Dernière minute","s","section58","AH"]];var titleslist=[];var alias_pop={'section51':'page73','section69':'page79','page127':'page79','page128':'page79','page129':'page79','page132':'page79','page135':'page79','page136':'page79','page137':'page79'};var menulist_pop={'section51':'AB','section69':'AB','page127':'AB','page128':'AB','page129':'AB','page132':'AB','page135':'AB','page136':'AB','page137':'AB','section52':'AC','section53':'AD','section54':'AJ','section55':'AE','section58':'AH','lastone':''};var iipop='';var iiaw='';jQuery.each(menulist,function(i,val){iipop=val[2];iiaw=val[3];menulist_pop[iipop]=iiaw;});var color_list_={};var eventlist1={};var eventlist2={"AA":['div','Présentation','&nbsp;'],"AB":['div','Vie municipale'],"AC":['div','Vie pratique'],"AD":['div','Loisirs'],"AJ":['div','Agenda'],"AE":['div','Nous contacter','&nbsp;'],"AG":['div','Plan du site','&nbsp;'],"AF":['div','Mentions légales','&nbsp;'],"AH":['div','Dernière minute','&nbsp;'],"ZA":['div','Training'],"ZZZ":['div','&hellip;extraits du site&hellip;']};var flat_bgcolor='rgb(222,222,222)';var flat_x=790;var flat_y=438;var flat_w=203;var flat_h=0;var flat_xywh=[flat_x,flat_y,flat_w,flat_h];var flat_next_y=[flat_x,[-1,5],flat_w,flat_h];var flat_options=['smb','',0];var flat_options2=['csv78','csv78',1];var alias_texts_={"section69":"page79","page127":"page79","page128":"page79","page129":"page79","page132":"page79","page135":"page79","page136":"page79","page137":"page79"};var flat_texts_={'default':[['','',flat_bgcolor,[0,0,0,0],flat_options,'some comment']],'section56':[['page109','',flat_bgcolor,flat_xywh,flat_options,'Présentation : texte fixe'],['page115','','white',[flat_x,[-1,20],flat_w,(197+20)],flat_options2,'Présentation : scrolling area']],'page77':[['page125','',flat_bgcolor,flat_xywh,flat_options,'Délibérations: date prochain conseil'],['page110','',flat_bgcolor,flat_next_y,flat_options,'Délibérations de la CCPH']],'page79':[['page126','',flat_bgcolor,flat_xywh,flat_options,'Reportages']],'page123':[['page124','',flat_bgcolor,flat_xywh,flat_options,'Marchés Publics']],'page80':[['page108','',flat_bgcolor,flat_xywh,flat_options,'Accès']],'page8311':[['page111','',flat_bgcolor,flat_xywh,flat_options,'Enseignement'],['page108','',flat_bgcolor,[500,300,203,0],flat_options,'Accès'],['page112','',flat_bgcolor,[300,600,203,0],flat_options,'Tourisme']],'page139':[['page140','',flat_bgcolor,flat_xywh,flat_options,'Évènements']],'page83':[['page111','',flat_bgcolor,flat_xywh,flat_options,'Enseignement']],'page89':[['page112','',flat_bgcolor,flat_xywh,flat_options,'Tourisme']],'page90':[['page113','',flat_bgcolor,flat_xywh,flat_options,'Histoire']],'page91':[['page114','',flat_bgcolor,flat_xywh,flat_options,'Patrimoine']],'lastone':[['','','red',[0,0,0,0],flat_options,'']]};var flat_multi_={};jQuery.each(flat_texts_,function(i,val){flat_multi_[i]=[0,val.length];});var mflat_pubhtml='<a id=mflat_pub name=mflat_pub href="http://www.lamairie.net/" title="solutions laMairie.net" target="_new" style="position: absolute; top: 230; left: 790; z-Index: 20000001; text-decoration: none;"><img name=mflat_pub src="http://www.mailrouge.net/img/all/pub_lamairie_203.png" width=203 height=203 border=0></a>';var reut={};var do_flatreut=true;var startflat='section56';var mflat_style_={"son":{'font':'bold 11pt arial','color':'darkgreen','padding':'6 6 2 10','width':'150px','whiteSpace':'nowrap','borderBottom':'3px solid blue','cursor':'pointer','mozUserSelect':'none','backgroundColor':'Transparent'},"pon":{'font':'bold 8pt arial','color':'#006060','padding':'0 6 2 10','width':'150px','whiteSpace':'nowrap','cursor':'pointer','mozUserSelect':'none','backgroundColor':'Transparent'},"soff":{'font':'bold 11pt arial','color':'gray','padding':'6 6 2 10','width':'150px','whiteSpace':'nowrap','mozUserSelect':'none','borderBottom':'3px solid gray','backgroundColor':'Transparent'},"poff":{'font':'bold 8pt arial','color':'silver','padding':'0 6 2 10','width':'150px','whiteSpace':'nowrap','mozUserSelect':'none','backgroundColor':'Transparent'},"sover":{'font':'bold 11pt arial','color':'darkgreen','padding':'6 6 2 10','width':'150px','whiteSpace':'nowrap','borderBottom':'3px solid red','cursor':'pointer','mozUserSelect':'none','backgroundColor':'#99FFFF'},"pover":{'font':'bold 8pt arial','color':'#006060','padding':'0 6 2 10','width':'150px','whiteSpace':'nowrap','cursor':'pointer','mozUserSelect':'none','backgroundColor':'#99FFFF'},"sac":{'font':'bold 11pt arial','color':'red','padding':'6 6 2 10','width':'150px','whiteSpace':'nowrap','borderBottom':'3px solid red','cursor':'pointer','mozUserSelect':'none','backgroundColor':'Transparent'},"pac":{'font':'bold 8pt arial','color':'crimson','padding':'0 6 2 10','width':'150px','whiteSpace':'nowrap','cursor':'pointer','mozUserSelect':'none','backgroundColor':'#FFFF99'}};function create_flatmenu(){$('<a href="http://www.cc-payshoudanais.fr/" title="CCPH" target="_blank" style="position: absolute; top: 154; left: 945; zIndex: 20000000; text-decoration: none;"><img src="http://www.mairie-condesurvesgre.fr/one.gif" width=33 height=52 border=0></a>').appendTo('body');$('<div><div style="height: 40px; white-Space: nowrap; padding-left: 20px;">&nbsp;<br><span style="font: normal 8pt tahoma; color: dodgerblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="plan du site" onclick="show_ifr(\'section50~AG\')">plan du site</span>&nbsp; &nbsp; <span style="font: normal 8pt tahoma; color: dodgerblue; cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="retour à la page d\'accueil du site" onclick="mflat_clickii(\'section56\');">accueil</span></div><TABLE id=menu_flat_table cellspacing=0 cellpadding=0 border=0 style="display: table; visibility: hidden;"></TABLE><div style="padding-left: 20px;"><div style="font: normal 8pt tahoma; color: gray ; padding-Top: 8px; text-align: justify; padding-right: 30px; width: 200px;" title="Site officiel de la commune de Condé sur Vesgre - 78113">Site officiel de la commune<br>de Condé sur Vesgre - 78113</div><div style="font: normal 8pt tahoma; color: dodgerblue; padding-Top: 8px; padding-Bottom: 8px; white-Space: nowrap;"><span style="cursor: pointer;" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'" title="Mentions légales" onclick="show_ifr(\'page96~AF\')">Mentions légales</span>&nbsp;&nbsp;<span id=div_tvi style="cursor: pointer;">&nbsp;&nbsp;&nbsp;&nbsp;</span></div></div></div>').css({position:'absolute',top:'225px',left:'10px',textAlign:'left'}).appendTo('body');var tempo_=[];var thetxt,thetxt2,thelayout,thepop,theABC,fullpop,fullpop2,thestatus,thealias,tempo,whatclick,whatover,whatout,whattitle,lastsect,thetitle;lastsec='';var ja=0;jQuery.each(menulist,function(i,val){ja++;tempo='';thetxt=val[0];thelayout=val[1];thepop=val[2];theABC=val[3];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,' ');thetitle='';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(thestatus=='no')return true;else{whatclick=' onclick="mflat_click(this);"';whatover=' onmouseover="mflat_over(this);"';whatout=' onmouseout="mflat_out(this);"';whattitle=' title="'+thetxt+'"';}if(ja==1){tempo+='<tr><td nbsp=1>&nbsp;&nbsp;</td><td style="width: 150px;"><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+'>'+thetxt+'</div></td><td rowspan=100 nbsp=1>&nbsp;</td></tr>';}else{tempo+='<tr><td nbsp=1>&nbsp;&nbsp;</td><td><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+'>'+thetxt+'</div></td></tr>';}tempo_.push(tempo);});tempo='<tr><td nbsp=1>&nbsp;</td><td nbsp=1>&nbsp;</td></tr>';tempo_.push(tempo);tempo=tempo_.join('');$('#menu_flat_table').html(tempo);$('#menu_flat_table').find('td').eq(2).html('<img src="http://www.mailrouge.net/one.gif" width=40 height=1 border=0>').css({background:'url(http://www.mairie-condesurvesgre.fr/img/2009/menu_topright.png) no-repeat top right'});$('#menu_flat_table').css({background:'rgb(153,204,255) url(http://www.mairie-condesurvesgre.fr/img/2009/menu_bottomright.png) no-repeat bottom right'});mflat_style();$('#menu_flat_table').css({visibility:'visible'});$(mflat_pubhtml).appendTo('body');var mini_menu_manual_=[['section50-AG','Plan du site',''],['page96-AF','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]);}else if(val[0]=='')return true;else{ipop=val[0];itxt=val[1];ititle='';menu_flat_links_.push([ipop,itxt,ititle]);}});}}var flatstyle_theAA_={font:'bold 16pt arial',color:'dodgerblue',position:'absolute',left:'265px',top:'235px'};var next_flatevents_=[];var reut_pop='page116';var test_pop='section65';var bientot_kill=false;var bientot_speedbase=100;var flat_fn1=false;$.getScript('menu_flatfn1.js',function(){flat_fn1=true;});function css_bottomline(){}function flat_pos(){}function do_flat_pos(){}function do_flat_right(){}function show_lavoir(){if($('#div_lavoir').length){hide_lavoir();return;}var myflash_one={src:"lelavoir2.swf",quality:"high",allowscriptaccess:"samedomain",wmode:"opaque",loop:"false",height:"380",width:"480",name:"lelavoir",id:"lelavoir"};var myflash_two={};$('<div id=div_lavoir></div>').insertAfter('table[tbd^=diapo_conde78_jrneepatri2009]');$('#div_lavoir').flashembed(myflash_one,myflash_two);}function hide_lavoir(){show_avis(-1);$('#div_lavoir').remove();}function show_flat(){hide_lavoir();$.each(flat_idlist,function(i,val){$('#'+i).show();});$.each(flat_idattrib,function(i,val){if(val!='table')$(val+'[id^='+i+']').show();else $(val+'[id^='+i+']').css({display:'table'});});}var flat_idlist={'mflat_pub':'a','flatreut_div':'div'};var flat_idattrib={'mflatev_panneau':'div','mflatev_scrollbtn_':'table','mflatev_scrollbtn2_':'div','mflat_mask':'div'};function hide_flat(){hide_lavoir();$.each(flat_idlist,function(i,val){$('#'+i).hide();});$.each(flat_idattrib,function(i,val){$(val+'[id^='+i+']').hide();});}function show_flatevents2(theAA,ev1){add_temoin('a show_flatevents2, ev2 (theAA) : '+theAA+', ev1 : '+ev1);if(!eventlist2[theAA]&&menulist_pop[theAA])theAA=menulist_pop[theAA];try{if(eventlist2[theAA][0]!='div')return;}catch(e){return;}var mytitle=eventlist2[theAA][1];var mytxt=(!eventlist2[theAA][2])?eventlist2[theAA][1]:eventlist2[theAA][2];$('<div id=mflatev_'+theAA+' style="display:none"></div>').appendTo('body').html(mytxt).css(flatstyle_theAA_).show();}function define_reutpos(){reut_={'left':13,'top':202,'h':20,'w':510,'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('body');$('<span title="recharger ce panneau" style="position: absolute; top: '+ttop+'; left: '+(tleft-12)+'; cursor: pointer; width: 10px; height: 20px; color: forestgreen; text-align: center;" onclick="if(confirm(\'recharger ce panneau\'))reload_reut();">&middot;</span>').appendTo('body');window.setTimeout(reut_scroll,1500);}function add_visit(toleft,totop,totitle){if(!totitle)totitle='';else totitle=' title="'+totitle+'"';$('#div_tvi').bind('click',function(e){if(!e||!e.ctrlKey)return;if(!confirm('voir la liste des dernières visites sur le site web'))return;rem_flatevents();show_ifrev('page142-AA','','');});}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=450;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.mairie-condesurvesgre.fr/img/';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: 650px; 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.mairie-condesurvesgre.fr/img/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 iam_ready(){if(is_testarea())is_forserver=true;create_flatmenu();if(reut_pop){define_reutpos();load_reut('');}if(startflat&&js_swpop==''&&js_swmenu=='')mflat_clickii(startflat);bientotreut_stop();add_visit(10,230,'');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);});}}
