NS6 = (document.getElementById&&!document.all)
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")

tempBar='';barBuilt=0;lastY=0;ssmItems=new Array();moving=setTimeout('null',1);

function moveOut() {if (parseInt(ssm.left)<0) {clearTimeout(moving);
moving = setTimeout('moveOut()', slideSpeed);slideMenu(10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}};
function moveBack() {clearTimeout(moving);moving = setTimeout('moveBack1()', waitTime)}
function moveBack1() {if (parseInt(ssm.left)>(-menuWidth)) {clearTimeout(moving);
moving = setTimeout('moveBack1()', slideSpeed);slideMenu(-10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}}
function slideMenu(num){ssm.left = parseInt(ssm.left)+num;
if (NS) {bssm.clip.right+=num;bssm2.clip.right+=num;
if(bssm.left+bssm.clip.right>document.width)document.width+=num}}

function makeStatic() {
winY=(IE)?document.body.scrollTop:window.pageYOffset;
if (winY!=lastY&&winY>YOffset-staticYOffset) {
smooth = .2 * (winY - lastY - YOffset + staticYOffset);}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset&&winY<=YOffset-staticYOffset) {
smooth = .2 * (winY - lastY - (YOffset-(YOffset-winY)));}
else {smooth=0}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
bssm.top=parseInt(bssm.top)+smooth
lastY = lastY+smooth;
setTimeout('makeStatic()', 10)}

function buildBar() {
if(barText.toLowerCase().indexOf('<img')>-1) {tempBar=barText}
else{for (b=0;b<barText.length;b++) {tempBar+=barText.charAt(b)+"<BR>"}}
document.write('<td align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColor+'" valign="'+barVAlign+'" align=top><font face="'+barFontFamily+'" Size="'+barFontSize+'" COLOR="'+barFontColor+'"><B>'+tempBar+'</B></font></td>')}

function initSlide() {
if (NS6||IE){ssm=(NS6)?document.getElementById("thessm"):document.all("thessm");
bssm=(NS6)?document.getElementById("basessm").style:document.all("basessm").style;
bssm.clip="rect(0 "+ssm.offsetWidth+" "+(((IE)?document.body.clientHeight:0)+ssm.offsetHeight)+" 0)";
bssm.visibility="visible";ssm=ssm.style;if(NS6)bssm.top=YOffset}
else if (NS) {bssm=document.layers["basessm1"];
bssm2=bssm.document.layers["basessm2"];ssm=bssm2.document.layers["thessm"];
bssm2.clip.left=0;ssm.visibility = "show";}
if (menuIsStatic=="yes") makeStatic();}

function buildMenu() {
if (IE||NS6) {document.write('<DIV ID="basessm" style="visibility:hidden;Position : Absolute ;Left : '+XOffset+' ;Top : '+YOffset+' ;Z-Index : 20;width:'+(menuWidth+barWidth+10)+'"><DIV ID="thessm" style="Position : Absolute ;Left : '+(-menuWidth)+' ;Top : 0px ;Z-Index : 21;'+((IE)?"width:1px":"")+'" onmouseover="moveOut()" onmouseout="moveBack()">')}
if (NS) {document.write('<LAYER name="basessm1" top="'+YOffset+'" LEFT='+XOffset+' visibility="show" onload="initSlide()"><ILAYER name="basessm2"><LAYER visibility="hide" name="thessm" bgcolor="'+menuBGColor+'" left="'+(-menuWidth)+'" onmouseover="moveOut()" onmouseout="moveBack()">')}
if (NS6){document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'"><TR><TD>')}
document.write('<table border="0" cellpadding="0" cellspacing="1" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'">');
for(i=0;i<ssmItems.length;i++) {
if(!ssmItems[i][3]){ssmItems[i][3]=menuCols;ssmItems[i][5]=menuWidth-1}
else if(ssmItems[i][3]!=menuCols)ssmItems[i][5]=Math.round(menuWidth*(ssmItems[i][3]/menuCols)-1);
if(ssmItems[i-1]&&ssmItems[i-1][4]!="no"){document.write('<TR>')}
if(!ssmItems[i][1]){
document.write('<TD BGCOLOR="'+hdrBGColor+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'" WIDTH="'+ssmItems[i][5]+'" COLSPAN="'+ssmItems[i][3]+'"><font face="'+hdrFontFamily+'" size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b> '+ssmItems[i][0]+'</TD>')}
else {if(!ssmItems[i][2])ssmItems[i][2]=linkTarget;
document.write('<TD BGCOLOR="'+linkBGColor+'" onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="'+ssmItems[i][5]+'" COLSPAN="'+ssmItems[i][3]+'"><ILAYER><LAYER onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><DIV ALIGN="'+linkAlign+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'"> <A HREF="'+ssmItems[i][1]+'" target="'+ssmItems[i][2]+'" CLASS="ssmItems">'+ssmItems[i][0]+'</DIV></LAYER></ILAYER></TD>')}
if(ssmItems[i][4]!="no"&&barBuilt==0){buildBar();barBuilt=1}
if(ssmItems[i][4]!="no"){document.write('</TR>')}}
document.write('</table>')
if (NS6){document.write('</TD></TR></TABLE>')}
if (IE||NS6) {document.write('</DIV></DIV>');setTimeout('initSlide();', 1)}
if (NS) {document.write('</LAYER></ILAYER></LAYER>')}}

function addHdr(name, cols, endrow){ssmItems[ssmItems.length]=[name, '', '', cols, endrow]}

function addItem(name, link, target, cols, endrow){if(!link)link="javascript://";ssmItems[ssmItems.length]=[name, link, target, cols, endrow]}

/*
//////////////////Configuration des couleurs du menu////////////////
*/
YOffset=10; // no quotes!!
staticYOffset=20; // no quotes!!
XOffset=1; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=500; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuBGColor="#1B7CAD";
menuIsStatic="yes";
menuWidth=230; // Must be a multiple of 10! no quotes!!
menuCols=1;
hdrFontFamily="verdana";
hdrFontSize="1";
hdrFontColor="#FFBE7D";
hdrBGColor="#3D597E";
hdrAlign="center";
hdrVAlign="center";
hdrHeight="3";
linkFontFamily="Verdana";
linkFontSize="1";
linkBGColor="#CBD3D9";
linkOverBGColor="#EDF2F2";
linkTarget="_top";
linkAlign="left";
barBGColor="#DEE3E7";
barFontFamily="Verdana";
barFontSize="3";
barFontColor="#004c75";
barVAlign="center";
barWidth=15; // no quotes!!

barText='MENU     Nos Racines' // <IMG> tag supported, Ex: '<img src="some.gif" border=0>'

/////////////Fin de configuration des couleurs///////////////////////////

ssmItems[0]=["SOMMAIRE", "","",1]
ssmItems[1]=["» Page d'Accueil", "./index.htm", "",1]
ssmItems[2]=["» Actualité du Site", "./news.htm", "",1]
ssmItems[3]=["Patronyme ALMÉRAS Branches", "", "",1]
ssmItems[4]=["» GLOBAL (public ss filiation ni doc.)", "./reppub/infopub/index1.htm", "",1]
ssmItems[5]=["» Aveyron-GARD-Lozère (réservé) ", "./reptpriv/AMS123048/index1.htm", "",1]
ssmItems[6]=["» Haute Loire (réservé) ", "./reptpriv/AMS43/index1.htm", "",1]
ssmItems[7]=["» HÉRAULT (réservé) ", "./reptpriv/AMS34/index1.htm", "",1]
ssmItems[8]=["» Hautes ALPES (réservé) ", "./reptpriv/AMS05/index1.htm", "",1]
ssmItems[9]=["» ARDÈCHE: d'Alméras de Brès(réserv) ", "./reptpriv/AMS07/index1.htm", "",1]
ssmItems[10]=["» ARDÈCHE et DROME (réservé) ", "./reptpriv/AMS0726/index1.htm", "",1]
ssmItems[11]=["» Bouches du Rhône (réservé) ", "./reptpriv/AMS13/index1.htm", "",1]
ssmItems[12]=["» RHONE : Alméras de la Tour (réservé) ", "./reptpriv/AMS38/index1.htm", "",1]
ssmItems[13]=["» Relevé AD30 (réservé) ", "./reptpriv/AMSAD30/index1.htm", "",1]
ssmItems[14]=["» Non classé (public en l'état)", "./reppub/infotiers/index1.htm", "",1]
ssmItems[15]=["» AB Richard (public)", "./reppub/abrichard/index1.htm", "",1]
ssmItems[16]=["» B Collomb (public)", "./reppub/bcollomb/index1.htm", "",1]
ssmItems[17]=["» A Koehl (public)", "./reppub/akoehl/index1.htm", "",1]
ssmItems[18]=["» P Carton (public)", "./reppub/pcarton/index1.htm", "",1]
ssmItems[19]=["» Relevé WEB (public)", "./reppub/AMSrelevWEB/index1.htm", "",1]
ssmItems[20]=["» Relevé QUEBEC WEB (public)", "./reppub/AMSQuebec/index1.htm", "",1]
ssmItems[21]=["Histoires d'Alméras", "", "",1]
ssmItems[22]=["» Nourrices en Cévennes ", "./reppub/nourrice/menu.htm", "",1]
ssmItems[23]=["» Alexis d'Alméras de Brès ", "./reppub/documents/Revolution_AMSAlexis.htm", "",1]
ssmItems[24]=["» Album Photo ", "./constr.htm", "",1]
ssmItems[25]=["Adresses Utiles", "", "",1]
ssmItems[26]=["» Bases de données Internet ", "./bddint.htm", "",1]
ssmItems[27]=["» Les Vieux Métiers ", "http://www.vieuxmetiers.org/", "_blank",1]
ssmItems[28]=["» Les Décapités de la Révolution ", "http://rcombes.ifrance.com/rcombes/", "_blank",1]
ssmItems[29]=["» Les Médaillés ", "http://www.culture.fr/cgi-bin/wave.cgi?dqi=leonore&icon=/documentation/icones", "_blank",1]
ssmItems[30]=["» Musée de cartes postales anciennes ", "http://www.tecnilog.com/cartes/", "_blank",1]
ssmItems[31]=["» Généraux de Napoléon ", "http://users.skynet.be/ym04/napoleon.htm", "_blank",1]
ssmItems[32]=["» Les Chemins de Regordane ", "http://perso.club-internet.fr/mjda/accueil.html", "_blank",1]
ssmItems[33]=["» Blasons et symboles ", "http://www.chez.com/ivn/blasons/frame2.htm", "_blank",1]
ssmItems[34]=["» Carte actuelle des patronymes ", "http://www.notrefamille.com/", "_blank",1]
ssmItems[35]=["Mes Sites préférés", "", "",1]
ssmItems[36]=["» GénéLozère par Vincent BELOT ", "http://membres.lycos.fr/vbelot/", "_blank",1]
ssmItems[37]=["» Généalogie de Philippe RAMONA ", "http://www.es-conseil.fr/pramona/outils/p1gen.htm", "_blank",1]
ssmItems[38]=["» Tmanuel-DUMAS ", "http://tmanuel.chez.tiscali.fr/", "_blank",1]
ssmItems[39]=["Sites Généalogiques", "", "",1]
ssmItems[40]=["» Guide Pratique généalogie en France ", "http://www.genealogy.tm.fr/", "_blank",1]
ssmItems[41]=["» AFG - Entraide Généalogique ", "http://www.afg-2000.org/entraide/sommaire.html", "_blank",1]
ssmItems[42]=["» GeneaNet ", "http://www.geneanet.org/index.html.fr", "",1]
ssmItems[43]=["» Ardèche-FranceGenWeb ", "http://dgw07.apinc.org/", "_blank",1]
ssmItems[44]=["» Cousins 07 ", "http://cgw07.apinc.org/", "_blank",1]
ssmItems[45]=["» Cercle Généalogique du Sud - Aveyron ", "http://www.genealogie-aveyron.com/", "_blank",1]
ssmItems[46]=["» Généalogie en Cévennes (ACGC) ", "http://membres.lycos.fr/nhpb79/acgc.htm", "_blank",1]
ssmItems[47]=["Remerciements", "", "",1]
ssmItems[48]=["» Participent à cette recherche ", "./merci.htm", "",1]
ssmItems[49]=["==", "", "",1]

buildMenu();


