menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
timegap=1000;followspeed=10;followrate=40;suboffset_top=3;suboffset_left=0;
if (document.layers)
  style1=["","","","","",12,"normal","normal","Verdana,Tahoma,Helvetica",0,"",,"","",,,,,,,]
else
  style1=["transparent","transparent","transparent","transparent","transparent",12,"normal","normal","Verdana,Tahoma,Helvetica",0,"",,"transparent","transparent",,,,,,,]

style2=["white","teal","white","#777777","#999999",12,"normal","normal","Verdana,Tahoma,Helvetica",3,"/images/arrow.gif",1,"#BBBBBB","#777777",,,,,,,]

//tjs visibles

//fond
var menuImg='swf.gif';
var nextImg='blue_next.gif'
var precImg='blue_back.gif';
var localImg='blue_ball.gif';


if (location.href.indexOf('ascendi')==-1 )
{
  addmenu(menu=["mfon",-3,-3,78,0,,style1,1,,,1,0,,,,,,,,,,
  ,"<img border=0 src='/images/fond_abb.gif' >&nbsp;","","","",0
  ]);
}
else
{
  if ((location.href.indexOf('/pm/')==-1 )&&(location.href.indexOf('/renascentis/')==-1 )
     &&(location.href.indexOf('/editions/')==-1 )&&(location.href.indexOf('/boutique/')==-1 ))
    addmenu(menu=["mfon",-3,-3,117,0,,style1,1,,,1,0,,,,,,,,,,
    ,"<img border=0 src='/images/fond_asc.gif' >&nbsp;","","","",0
    ]);
  else
    addmenu(menu=["mfon",-3,-3,78,0,,style1,1,,,1,0,,,,,,,,,,
    ,"<img border=0 src='/images/fond_fil.gif' >&nbsp;","","","",0
    ]);
  menuImg='asc.gif';
  localImg='blue_ball_asc.gif';
  nextImg='blue_next_asc.gif'
  precImg='blue_back_asc.gif'
}

// menu principal
if (precBtn!='')
  precImg='/images/'+precImg
else
  precImg='/images/fantom.gif'

if (localMenu!='')
  localImg='/images/'+localImg
else
  localImg='/images/fantom.gif'

if (suivBtn!='')
  suivImg='/images/'+nextImg
else
  suivImg='/images/fantom.gif'

var menuLang='show-menu=lang';
if (! isLang)
{
  menuLang="";
  curFlag = "fantom"
}
else if (location.href.indexOf("/en/")==-1)
  curFlag = "flag_f"
else
  curFlag = "flag_gb";
addmenu(menu=[
"main",0,0,30,0,,style1,1,"left",,1,0,,,,,,,,,,
,"<img border=0 src='/images/"+menuImg+"'>","show-menu=swf","/indexen.php","Page d&acute;accueil",0
,"<img border=0 src='/images/fantom.gif'>","","","",0
,"<img border=0 src='"+precImg+"'>",precBtn,"","Previous page",0
,"<IMG border=0 SRC='"+localImg+"'>","show-menu="+localMenu,"","",0
,"<img border=0 src='"+suivImg+"'>",suivBtn,"","Next page",0
,"<img border=0 src='/images/fantom.gif'>","","","",0
,"<img border=0 src='/images/fantom.gif'>","","","",0
,"<img border=0 src='/images/fantom.gif'>","","","",0
,"<img border=0 src='/images/fantom.gif'>","","","",0
,"<img border=0 src='/images/fantom.gif'>","","","",0
,"<img border=0 src='/images/fantom.gif'>","","","",0
,"<img border=0 src='/images/fantom.gif'>","","","",0
,"<img border=0 src='/images/fantom.gif'>","","","",0
//,"<IMG border=0 SRC='/images/help.gif'>","show-menu=aaid","","",0
,"<IMG border=0 SRC='/images/"+curFlag+".gif'>",menuLang,"","",0
])

//menus popup


addmenu(menu=["abba",,,120,1,"",style2,,"left",,,,,,,,,,,,,
,"Presentation","show-menu=pres","/en/abbaye/presentation/pres_intro.php","",0
,"Visit of the abbey","show-menu=visi","","",0
,"History","show-menu=hist","","",0
])

addmenu(menu=["pres",,,160,1,"",style2,,"left",,,,,,,,,,,,,
,"Introduction","/en/abbaye/presentation/pres_intro.php","","",0
,"Monastic life","/en/abbaye/presentation/pres_vie_mon1.php","","",0
,"Daily life in the Monastery","/en/abbaye/presentation/pres_journee1.php","","",0
,"Monastic hospitality","/en/abbaye/presentation/pres_hospitalite1.php","","",0
])


addmenu(menu=["visi",,,170,1,"",style2,,"left",,,,,,,,,,,,,
,"Plans de l'abbaye","show-menu=plans","/fr/abbaye/visite/plan_situ.php","",0
,"Guided Tour","show-menu=vcom","/en/abbaye/visite/visi_stacpoole.php","",0
,"Diaporamas","show-menu=diapo","","",0
//,"Spiritualit&eacute; b&eacute;n&eacute;dictine","show-menu=vspi","/en/abbaye/visite/visi_spi1.php","En construction",0
])

addmenu(menu=["plans",,,200,1,"",style2,,"left",,,,,,,,,,,,,
,"Plan de situation","/fr/abbaye/visite/plan_situ.php","","",0
,"Plan daté","/fr/abbaye/visite/plan_date.php","","",0
])

addmenu(menu=["diapo",,,200,1,"",style2,,"left",,,,,,,,,,,,,
,"A Visit to Saint-Saturnin","/en/abbaye/promenades/prom_sat.php?1","","",0
,"A walk in the garden","/en/abbaye/promenades/prom_jardin.php?0","","",0
,"Water colours","/en/abbaye/promenades/prom_aqua.php?0","","",0
])

addmenu(menu=["vcom",,,220,1,"",style2,,"left",,,,,,,,,,,,,
,"The forecourt","/en/abbaye/visite/visi_stacpoole.php","","",0
,"The ancient abbey church","/en/abbaye/visite/visi_anceglise1.php","","",0
,"The chapel of our Lady of Caillouville","/en/abbaye/visite/visi_caillouville1.php","","",0
,"The new abbey church","/en/abbaye/visite/visi_abbatiale1.php","","",0
,"The cloister","/en/abbaye/visite/visi_cloitre1.php","","",0
,"The refectory","/en/abbaye/visite/visi_refectoire1.php","","",0
,"The large 17th century buildings","/en/abbaye/visite/visi_batxvii1.php","","",0
,"The workshops","/en/abbaye/visite/visi_ateliers1.php","","",0
,"The St-Saturnin chapel","/en/abbaye/visite/visi_saturnin1.php","","",0
])

addmenu(menu=["vspi",,,180,1,"",style2,,"left",,,,,,,,,,,,,
,"The church","/en/abbaye/visite/visi_spi1.php","","En construction",0
,"Prayer and Lectio Divina","/en/abbaye/visite/visi_spi6.php","","En construction",0
,"The cloister","/en/abbaye/visite/visi_spi2.php","","En construction",0
,"The library","/en/abbaye/visite/visi_spi3.php","","En construction",0
,"Manual Work","/en/abbaye/visite/visi_spi5.php","","En construction",0
,"La cl&ocirc;ture","/en/abbaye/visite/visi_spi4.php","","En construction",0
])

addmenu(menu=["hist",,,210,1,"",style2,,"left",,,,,,,,,,,,,
,"Thirteen Centuries of History","show-menu=hhis","/en/abbaye/histoire/hist_1.php","",0
,"Chronology","show-menu=hchr","/en/abbaye/histoire/chrono.php","",0
,"Important Names","show-menu=hgp","/en/abbaye/histoire/gp_1.php","",0
,"Deceased Monks of the Past Century","/en/abbaye/histoire/defunts.php","","",0
,"Texts (french)","show-menu=text","","",0
])

addmenu(menu=["hhis",,,220,1,"",style2,,"left",,,,,,,,,,,,,
,"The seventh century to the Viking invasions","/en/abbaye/histoire/hist_1.php","","",0
,"From the tenth century to the seventh century","/en/abbaye/histoire/hist_2.php","","",0
,"The congregation of Saint-Maur","/en/abbaye/histoire/hist_3.php","","",0
,"R&eacute;volution et le XIX<sup>&egrave;me</sup> si&egrave;cle","/en/abbaye/histoire/hist_4.php","","",0
,"The restoration : 1894","/en/abbaye/histoire/hist_5.php","","",0
,"The twenteeth century","/en/abbaye/histoire/hist_6.php","","",0
])
addmenu(menu=["hchr",,,220,1,"",style2,,"left",,,,,,,,,,,,,
,"The seventh century to the Viking invasions","/en/abbaye/histoire/chrono_1.php","","",0
,"Under the Dukes of Noramndy","/en/abbaye/histoire/chrono_2.php","","",0
,"Under the Kings of France","/en/abbaye/histoire/chrono_3.php","","",0
,"Apr&egrave;s la guerre de Cent Ans","/en/abbaye/histoire/chrono_4.php","","",0
,"La r&eacute;forme monastique","/en/abbaye/histoire/chrono_5.php","","",0
,"The abbey without monks","/en/abbaye/histoire/chrono_6.php","","",0
,"The restoration","/en/abbaye/histoire/chrono_7.php","","",0
])

addmenu(menu=["hgp",,,220,1,"",style2,,"left",,,,,,,,,,,,,
,"Calendrier des Saints<br>&nbsp; &nbsp; &nbsp;de Fontenelle","/en/abbaye/histoire/gp_1.php","","",0
,"Abb&eacute;s de Fontenelle","/en/abbaye/histoire/gp_2.php","","",0
,"Prieurs mauristes","/en/abbaye/histoire/gp_3.php","","",0
,"Bx Dom Louis-Fran&ccedil;ois Lebrun","show-menu=gpl","/fr/abbaye/histoire/lebrun_0.php","",0
,"Dom Besse","show-menu=hgpb","/fr/abbaye/histoire/gp_5.php","",0
,"Dom Pothier","/fr/abbaye/histoire/gp_6.php","","",0
])

addmenu(menu=["gpl",,,220,1,"",style2,,"left",,,,,,,,,,,,,
,"Moine de Saint-Wandrille et martyr","/fr/abbaye/histoire/lebrun_0.php","","",0
,"Jeunesse monastique","/fr/abbaye/histoire/lebrun_1.php","","",0
,"La R&eacute;volution","/fr/abbaye/histoire/lebrun_2.php","","",0
,"Prison et d&eacute;portation","/fr/abbaye/histoire/lebrun_3.php","","",0
,"Les Pontons","/fr/abbaye/histoire/lebrun_4.php","","",0
,"Portrait moral","/fr/abbaye/histoire/lebrun_5.php","","",0
])

addmenu(menu=["hgpb",,,220,1,"",style2,,"left",,,,,,,,,,,,,
,"Moine de Solesmes","/fr/abbaye/histoire/gp_5.php#C0","","",0
,"Le moine de Ligug&eacute;.","/fr/abbaye/histoire/gp_5.php#C1","","",0
,"La fondation de Saint-Wandrille.","/fr/abbaye/histoire/gp_5.php#C2","","",0
,"L'historien monastique","/en/abbaye/histoire/gp_5.php#C3","","",0
,"Le moine politique","/fr/abbaye/histoire/gp_5.php#C4","","",0
,"Le directeur spirituel de religieuses b&eacute;n&eacute;dictines","/fr/abbaye/histoire/gp_5.php#C5","","",0
,"Bibliographie","/fr/abbaye/histoire/gp_5.php#C6","","",0
])

addmenu(menu=["text",,,210,1,"",style2,,"left",,,,,,,,,,,,,
,"Le grand réfectoire","/fr/abbaye/textes/txt_refectoire.php","","",0
,"Archives de l'abbaye","/fr/abbaye/textes/txt_archives.php","","",0
,"Bibliographie","/fr/abbaye/textes/txt_biblio.php","","",0
,"Manufactures et industries","/fr/abbaye/textes/txt_manufactures.php","","",0
,"Encaustique et micro-film","/fr/abbaye/textes/txt_biz.php","","",0
,"Les Mauristes à Saint-Wandrille","/fr/abbaye/textes/txt_maure.php","","",0
,"Stanislas de Stacpoole","/fr/abbaye/textes/txt_stacpoole.php","","",0
,"Ordre de Saint Benoît","/fr/abbaye/textes/txt_osb.php","","",0
])

addmenu(menu=["cont",,,150,1,"",style2,,"left",,,,,,,,,,,,,
,"Contact Information","show-menu=ccon","","",0
,"Means of acces","/en/abbaye/contacts/cont_acces.php","","",0
,"Accueil et Horaires","/en/abbaye/contacts/cont_accueil.php","","",0
,"Guided tour","/en/abbaye/contacts/cont_visites.php","","",0
//,"Forum Aux Questions","","","",0
//,"Nos liens","show-menu=links","","",0
])

addmenu(menu=["links",,,150,1,"",style2,,"left",,,,,,,,,,,,,
,"Eglise","/fr/abbaye/contacts/link_eccl.php","","",0
,"Communautés monastiques","/fr/abbaye/contacts/link_cte.php","","",0
,"La région","/fr/abbaye/contacts/link_norm.php","","",0
,"Divers","/fr/abbaye/contacts/link_divers.php","","",0
])

addmenu(menu=["aaid",,,220,1,"",style2,,"left",,,,,,,,,,,,,
,"<center>Bienvenue sur le site des<br>b&eacute;n&eacute;dictins de Saint-Wandrille </center><br>Ce site a &eacute;t&eacute; optimis&eacute; pour une visualisation en 800x600</center>","","","",0
,"Aide pour la navigation","","","",0
,"Aide pour la musique","","","",0
,"<br><br><center>Bonne navigation !</center>","","","",0
])

addmenu(menu=["ccon",,,220,1,"",style2,,"left",,1,0,,,,,,,,,,
,"Email","show-menu=mail","","",0
,"Address, telephone, fax","/en/abbaye/contacts/cont_adresse.php","","",0
])

addmenu(menu=["mail",,,220,1,"",style2,,"left",,1,0,,,,,,,,,,
,"Prayer Intentions","mailto:abbaye&#64;st-wandrille.com?subject=Prayer&nbsp;Intention","","",0
,"Mail to brother xxx","mailto:abbaye&#64;st-wandrille.com?subject=Write&nbsp;here&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;brother&nbsp;you\'re&nbsp;writing&nbsp;to...","","",0
])

addmenu(menu=[
"lang",,,30,1,,style2,0,"left",,0,1,,"center",,,,,,,,
,"<img border=0 src='/images/flag_f.gif' ALIGN=absmiddle>","javascript:setlang(1);","","Version fran&ccedil;aise",0
,"<img border=0 src='/images/flag_gb.gif' ALIGN=absmiddle>","javascript:setlang(2);","","English version",0
])

dumpmenus() // This must be the last line in this file



var imgWindow = null ;

function aff_img(img,titre)
{
 imgWindow=window.open("","imgWindow","dependant=yes,menubar=no,alwaysRaised=yes,resizable=yes,scrollbars=yes,screenX=0,screenY=0,width=788,height=570");
 if (imgWindow!=null)
 {
   imgWindow.document.open("text/html", "replace");
   imgWindow.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">');
   imgWindow.document.write('<HTML><HEAD><TITLE>Abbaye St-Wandrille - '+titre+'</TITLE>');
   imgWindow.document.writeln('<SCRIPT LANGUAGE="JavaScript"><!--');
   imgWindow.document.writeln('function closeWin() {window.close();}');
   imgWindow.document.writeln('if (window.Event) document.captureEvents(Event.ONCLICK);');
   imgWindow.document.writeln('document.onclick = closeWin;');
   imgWindow.document.writeln('// --><'+'/SCRIPT>');

   imgWindow.document.write('</HEAD><BODY bgcolor="#000033" link="#808080">');
   imgWindow.document.write('<P align="center"><A href="Javascript:closeWin()"><IMG border="0" src="'+img+'" alt="'+titre+'"></A></P>');
   imgWindow.document.write('<H2 align="center"><A href="Javascript:closeWin()">'+titre+'</A></H2>');
   imgWindow.document.write('<P align="center"><FONT color="#0080FF"><SMALL>Tous droits r&eacute;serv&eacute;s - Abbaye Saint-Wandrille 2001</SMALL></FONT></P>');
   imgWindow.document.write('</BODY></HTML>');

   imgWindow.document.close();
 }
}

function setlang(lang)
{
  switch(lang)
  {
    case 1 : // français
      if ((location.pathname=='/indexen.php') || (location.pathname=='/'))
        location.href = '/index.php';
      else
        location.href = location.href.replace(/\/en\//gi,'/fr/');
     break;
    case 2 : // anglais
      if ((location.pathname=='/index.php') || (location.pathname=='/'))
        location.href = '/indexen.php';
      else
        location.href = location.href.replace(/\/fr\//gi,'/en/');
     break;
  }
}
