var liencibmag = "content_cibmag.nsf/(WebPageList)/Decembre+2006+home?Open";
var WebPublishDate;

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function BrowserCheck() {
        var b = navigator.appName
        if (b=="Netscape") this.b = "ns"
        else if (b=="Microsoft Internet Explorer") this.b = "ie"
        else this.b = b
        this.v = parseInt(navigator.appVersion)
        this.ns = (this.b=="ns" && this.v>=4)
        this.ns4 = (this.b=="ns" && this.v==4)
        this.ns5 = (this.b=="ns" && this.v==5)
        this.ie = (this.b=="ie" && this.v>=4)
        this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0)
        this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>0)
        if (this.ie5) this.v = 5
        this.min = (this.ns||this.ie)

}

// automatically create the "is" object
is = new BrowserCheck()

nbrdata=3;
outstyle="";
outstyle+="<STYLE TYPE=\"text/css\">";
outstyle+="#lay0{POSITION:absolute;TOP:0px; LEFT:0px;width:157px;visibility:hidden;z-index:2}";
output="";
output+="<DIV ID=\"lay0\"></DIV>";


current_level=0;
current_obj=new Array;
current_i=new Array;
current_obj[current_level]=Trubrique;
current_i[current_level]=0;
explore();


function explore(){
        cptleve10=0;
        cptleve11=0;
        cptleve12=0;
        cptleve13=0;
        state=1;
        while (state>0)        state=explore_array();
        outstyle+="</STYLE>";
}


// fonction recursive
function explore_array(){

        for(i=current_i[current_level]; i<((current_obj[current_level].length)); i+=nbrdata){
                if (current_obj[current_level][i+(nbrdata-1)].length !=0) picto="activites";
                else picto="fiches";
                switch(current_level) {
                        case 0: cptleve10++;cptleve11=0;cptleve12=0;cptleve13=0;level0(current_obj[current_level][i],current_obj[current_level][i+1],picto,cptleve10);break;
                        case 1: cptleve11++;cptleve12=0;cptleve13=0;level1(current_obj[current_level][i],current_obj[current_level][i+1],picto,cptleve11,cptleve10);break;
                        case 2: cptleve12++;cptleve13=0;level2(current_obj[current_level][i],current_obj[current_level][i+1],picto,cptleve12,cptleve11,cptleve10);break;
                        case 3: cptleve13++;level3(current_obj[current_level][i],current_obj[current_level][i+1],picto,cptleve13,cptleve12,cptleve11,cptleve10);break;
                }

                if (current_obj[current_level][i+(nbrdata-1)].length !=0){
                        current_i[current_level]=i+nbrdata;
                        current_level++;
                        current_i[current_level]=0;
                        current_obj[current_level]=current_obj[current_level-1][i+(nbrdata-1)];
                        return true;
                }

        }
        current_i[current_level]=0;
        current_level--;

        if (current_level==0 && current_i[current_level]>=((current_obj[current_level].length))) return false;
        return true;
}


function level0(n,m,x,o){

        output+="<DIV ID=\"lay"+o+"\"><TABLE WIDTH=\"157\" CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\"><TR><TD CLASS=\"menuHigh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"1\" BORDER=\"0\"></TR></TD><TR><TD CLASS=\"menuHigh\">";

        if (niveau1==n) {
        output+="<TABLE CLASS=\"menuHigh\" WIDTH=\"157\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"4\"><TR><TD WIDTH=\"11\" VALIGN=\"top\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navg/$File/navleft_off.gif\" ALT=\""+n+"\" BORDER=\"0\" VSPACE=\"3\" NAME=\"nav"+o+"\"></TD><TD CLASS=\"menuHigh\" WIDTH=\"100%\"><A HREF=\""+m+"\" CLASS=\"menuHigh\"><FONT COLOR=\"#3B4E3\">"+n+"</FONT></A></TD></TR></TABLE>";
        }

        else
        {
        output+="<TABLE CLASS=\"menuHigh\" WIDTH=\"157\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"4\"><TR><TD WIDTH=\"11\" VALIGN=\"top\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navg/$File/navleft_off.gif\" ALT=\""+n+"\" BORDER=\"0\" VSPACE=\"3\" NAME=\"nav"+o+"\"></TD><TD CLASS=\"menuHigh\" WIDTH=\"100%\"><A HREF=\""+m+"\" CLASS=\"menuHigh\">"+n+"</A></TD></TR></TABLE>";
        }

        output+="</TD></TR></TABLE></DIV>";
        outstyle+="#lay"+o+"{POSITION:absolute;TOP:0px; LEFT:0px;width:153px;visibility:hidden;z-index:2}";

        if (o==(Trubrique.length/nbrdata)) {
        output+="<DIV ID=\"lay"+(o+1)+"\"><TABLE WIDTH=\"157\" CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\"><TR><TD CLASS=\"menuHigh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"20\" BORDER=\"0\"><BR><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navg/$File/navg_bas.gif\" WIDTH=157 HEIGHT=23 BORDER=0></TD></TR></TABLE></DIV>";
        outstyle+="#lay"+(o+1)+"{POSITION:absolute;TOP:0px; LEFT:0px;width:157px;visibility:hidden;z-index:2}";
        }
}

function level1(n,m,x,o,p){
        output+="<DIV ID=\"lay"+p+"n"+o+"\"><TABLE WIDTH=\"157\" CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\"><TR><TD WIDTH=\"6\" NOWRAP CLASS=\"menuHigh\" VALIGN=\"top\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"6\" HEIGHT=\"1\" BORDER=\"0\"></TD><TD BGCOLOR=\"#FFFFFF\" WIDTH=\"1\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"1\" BORDER=\"0\"></TD><TD BGCOLOR=\"#FFFFFF\" CLASS=\"menuLow\" VALIGN=\"top\" ALIGN=\"center\" WIDTH=\"10\">></TD><TD CLASS=\"menuLow\" WIDTH=\"124\" NOWRAP VALIGN=\"top\">";

        if (niveau2==n) {
        if (m!="") output+="<A HREF=\""+m+"\"><FONT COLOR=\"#3B4E38\">"+n+"</FONT></A>";
        else output+="<A HREF=\"javascript:ouvre("+p+","+o+")\">"+n+"</A>";
        }

        else {
        if (m!="") output+="<A HREF=\""+m+"\">"+n+"</A>";
        else output+="<A HREF=\"javascript:ouvre("+p+","+o+")\">"+n+"</A>";
        }

        output+="</TD><TD WIDTH=\"2\" NOWRAP CLASS=\"menuLow\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"2\" HEIGHT=\"1\"  BORDER=\"0\"></TD></TR></TABLE></DIV>";
        outstyle+="#lay"+p+"n"+o+"{POSITION:absolute;TOP:0px; LEFT:0px;width:157px;visibility:hidden;z-index:2}";
}

// acccede à un objet layer
function accessobjlay(nomdulayer){
        obj =eval("(document.all)?document.all."+nomdulayer+".style:(document.layers)?document."+nomdulayer+":document.getElementById(\""+nomdulayer+"\").style");
        return obj;
}
// acccede à une image
function accessobjimg(nomdulayer,numero){
        obj =eval("document.nav"+numero);
        return obj;
}

//Calcul la hauteur des layers
function calcheight(nomdulayer){
        HduLayer = eval ("(document.layers) ? document."+nomdulayer+".document.height: (document.all)?document.all."+nomdulayer+".offsetHeight:document.getElementById(\""+nomdulayer+"\").offsetHeight;;");
        return HduLayer;
}

function init(m,n,o){
        posi=0;
        for(i=1; i<(Trubrique.length/nbrdata)+1; i++){
                objlay=       accessobjlay("lay"+i);
                objlay.left=posleft;
                objlay.top=postop+posi;
                posi+=calcheight("lay"+i);
                objlay.visibility="visible";
        }
        objlay=        accessobjlay("lay"+i);
        objlay.left=posleft;
        objlay.top=postop+posi;
        posi+=calcheight("lay"+i);
        objlay.visibility="visible";

        if (m || n || o) ouvre(m,n,o);
}


// efface tous les layers
function reset_all(){
        for(i=1; i<(Trubrique.length/nbrdata)+1; i++){
                objlay=        accessobjlay("lay"+i);
                objlay.visibility="hidden";
                objimg=accessobjimg("lay"+i,i)
                objimg.src= repbase + "cibsite.nsf/PictureList/navg/$File/navleft_off.gif";
                for(j=1; j<(Trubrique[(i*nbrdata)-1].length/nbrdata)+1; j++){
                        objlay=        accessobjlay("lay"+i+"n"+j);
                        objlay.visibility="hidden";
                        for(k=1; k<(Trubrique[(i*nbrdata)-1][(j*nbrdata)-1].length/nbrdata)+1; k++){
                                objlay=        accessobjlay("lay"+i+"n"+j+"n"+k);
                                objlay.left=posleft;
                                objlay.visibility="hidden";
                                for(l=1; l<(Trubrique[(i*nbrdata)-1][(j*nbrdata)-1][(k*nbrdata)-1].length/nbrdata)+1; l++){
                                        objlay=        accessobjlay("lay"+i+"n"+j+"n"+k+"n"+l);
                                        objlay.left=posleft;
                                        objlay.visibility="hidden";
                                }
                        }
                }

        }
}
// ouvre la nav
function ouvre(m,n,o){
        reset_all();
        posi=0;
        for(i=1; i<(Trubrique.length/nbrdata)+1; i++){
                objlay=        accessobjlay("lay"+i);
                objlay.left=posleft;
                objlay.top=postop+posi;
                posi+=calcheight("lay"+i);
                objlay.visibility="visible";
                if (m==i){
                        objimg=accessobjimg("lay"+i,i)
                        objimg.src= repbase + "cibsite.nsf/PictureList/navg/$File/navleft_on.gif";
                        for(j=1; j<(Trubrique[(i*nbrdata)-1].length/nbrdata)+1; j++){
                                objlay=        accessobjlay("lay"+i+"n"+j);
                                objlay.left=posleft;
                                objlay.top=postop+posi;
                                posi+=calcheight("lay"+i+"n"+j);
                                objlay.visibility="visible";
                                if (n==j){
                                        for(k=1; k<(Trubrique[(i*nbrdata)-1][(j*nbrdata)-1].length/nbrdata)+1; k++){
                                                objlay=        accessobjlay("lay"+i+"n"+j+"n"+k);
                                                objlay.left=posleft;
                                                objlay.top=postop+posi;
                                                posi+=calcheight("lay"+i+"n"+j+"n"+k);
                                                objlay.visibility="visible";
                                                if (o==k){
                                                        for(l=1; l<(Trubrique[(i*nbrdata)-1][(j*nbrdata)-1][(k*nbrdata)-1].length/nbrdata)+1; l++){
                                                                objlay=        accessobjlay("lay"+i+"n"+j+"n"+k+"n"+l);
                                                                objlay.left=posleft;
                                                                objlay.top=postop+posi;
                                                                posi+=calcheight("lay"+i+"n"+j+"n"+k+"n"+l);
                                                                objlay.visibility="visible";
                                                        }
                                                }
                                        }
                                }
                        }
                }
        }
        objlay=        accessobjlay("lay"+i);
                objlay.left=posleft;
                objlay.top=postop+posi;
                posi+=calcheight("lay"+i);
                objlay.visibility="visible";
}
// fixe un bug netscape
if (document.layers)
window.onresize =
function (e) { history.go(0); };

// Lance l'url d'impression en format 800*600
function popupprint()
{ newWin = window.open(".."+WebLinkPrint,"pop1","width=800,height=600,resizable=0,toolbar=0,scrollbars=0,status=0,menubar=0");
  newWin.print();
}

// Fonction "Envoyer a un ami"
function sendtoafriend()
{ document.location = "/web/incoming.nsf/InetCIBSendToAFriend?ReadForm&DocumentID=http://www.lesclesdelabanque.com"+  WebFullLink + "&Language=FR";
/*window.open('/web/incoming.nsf/InetCIBSendToAFriend?ReadForm&DocumentID='+  WebUrlLink + '&Language=FR',
'sendfriend','width=560,height=250,resizable=0,toolbar=0,scrollbars=0,status=0,menubar=0');*/
}

// Si on est pas en impression, le menu est lancé, fonction lancée dans le onload de chaque document
function tempload(i)
{ var vurl = new String(document.location);
  var recherche = vurl.indexOf("WebPageListPrint");
  if (recherche == "-1")
    init(i);
}

// Pour afficher le mois en format "Aout" au lieu de 08
function date_affichemois()
{ var date_mois = WebPublishDate.split("/");
if (date_mois[1] == "01")
 date_mois[1] = "Janvier";
if (date_mois[1] == "02")
 date_mois[1] = "Février";
if (date_mois[1] == "03")
 date_mois[1] = "Mars";
if (date_mois[1] == "04")
 date_mois[1] = "Avril";
if (date_mois[1] == "05")
 date_mois[1] = "Mai";
if (date_mois[1] == "06")
 date_mois[1] = "Juin";
if (date_mois[1] == "07")
 date_mois[1] = "Juillet";
if (date_mois[1] == "08")
 date_mois[1] = "Ao&ucirc;t";
if (date_mois[1] == "09")
 date_mois[1] = "Septembre";
if (date_mois[1] == "10")
 date_mois[1] = "Octobre";
if (date_mois[1] == "11")
 date_mois[1] = "Novembre";
if (date_mois[1] == "12")
 date_mois[1] = "Décembre";
document.write(date_mois[1] + " " + date_mois[2]);
}

// Fonctions pour les Sommaires
function changeniveau3()
{ if (document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value != "-1")
  { temp = parseInt(document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value) + 1; // on se place sur les sous niveaux pour voir s'il y en a
    if (!sommaire[temp][0] || sommaire[temp][0].length == "1") // on n'a pas de sous-niveau
      location.href = sommaire[temp]; // on lance directement l'url
    else
      location.href= WebFullLink + '&niveau3=' + document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value;
  }
}
function changeniveau4()
{ if (document.forms[0].niveau4.options[document.forms[0].niveau4.selectedIndex].value != "-1" && document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value != "-1")
  { temp = parseInt(document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value) + 1;
    temp2 = parseInt(document.forms[0].niveau4.options[document.forms[0].niveau4.selectedIndex].value) + 1; // on se place sur les sous niveaux pour voir s'il y en a
    if (!sommaire[temp][temp2][0] || sommaire[temp][temp2][0].length == "1") // on n'a pas de sous-niveau
      location.href = sommaire[temp][temp2] + '&niveau3=' + document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value; // on lance directement l'url
    else
      location.href= WebFullLink + '&niveau3=' + document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value + '&niveau4=' + document.forms[0].niveau4.options[document.forms[0].niveau4.selectedIndex].value;
  }
}
function changeniveau5()
{ if (document.forms[0].niveau5.options[document.forms[0].niveau5.selectedIndex].value != "-1" && document.forms[0].niveau4.options[document.forms[0].niveau4.selectedIndex].value != "-1" && document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value != "-1")
  { temp = parseInt(document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value) + 1;
    temp2 = parseInt(document.forms[0].niveau4.options[document.forms[0].niveau4.selectedIndex].value) + 1;
    temp3 = parseInt(document.forms[0].niveau5.options[document.forms[0].niveau5.selectedIndex].value) + 1;
    location.href = sommaire[temp][temp2][temp3] + '&niveau3=' + document.forms[0].niveau3.options[document.forms[0].niveau3.selectedIndex].value + '&niveau4=' + document.forms[0].niveau4.options[document.forms[0].niveau4.selectedIndex].value;
  }
}

// Fonction utilisée pour la recherche avancée
function Recherche()
{ if(document.forms["formRecherche"].query.value == "")
    alert("Vous n'avez pas saisi de mot dans le champ recherche");
  if(document.forms["formRecherche"].rubrique.value == "")
    alert("Vous n'avez pas choisi de rubrique pour la recherche");
  for (var i=0; i<document.forms["formRecherche"].ordre.length;i++)
  { if (document.forms["formRecherche"].ordre[i].checked)
      ordre = document.forms["formRecherche"].ordre[i].value;
  }
  if (document.forms["formRecherche"].query.value != 0 && document.forms["formRecherche"].rubrique.value != 0)
  { var base = document.forms["formRecherche"].rubrique.value.indexOf(".nsf");
     if (base != "-1") // On va faire la recherche sur une autre base
     { if (ordre == "4")
         document.location.href = repbase + document.forms["formRecherche"].rubrique.value + "/(Search)?searchview&query=" + document.forms["formRecherche"].query.value + "&SearchOrder=4&start=1&count=1000";
       else
         document.location.href = repbase + document.forms["formRecherche"].rubrique.value + "/(Search)?searchview&query=" + document.forms["formRecherche"].query.value + "&SearchOrder=1&start=1&count=10";
     }
     else if (document.forms["formRecherche"].rubrique.value == "all") // On va faire une recherche globale multibase
     { if (ordre == "4")
         document.location.href = repbase + "search_cib.nsf/(indexsearch)?searchview&query=" + document.forms["formRecherche"].query.value + "&SearchOrder=4&start=1&count=1000";
       else
         document.location.href = repbase + "search_cib.nsf/(indexsearch)?searchview&query=" + document.forms["formRecherche"].query.value + "&SearchOrder=1&start=1&count=10";
     }
     else // on fait la recherche dans content_cib.nsf et on filtre la catégorie
     { if (ordre == "4")
         document.location.href = repbase + "content_cib.nsf/(Search)?searchview&query=" + document.forms["formRecherche"].query.value + " AND Field WebDoc_Categ CONTAINS " + document.forms["formRecherche"].rubrique.value + "&SearchOrder=4&start=1&count=1000";
       else
         document.location.href = repbase + "content_cib.nsf/(Search)?searchview&query=" + document.forms["formRecherche"].query.value + " AND Field WebDoc_Categ CONTAINS " + document.forms["formRecherche"].rubrique.value + "&SearchOrder=1&start=1&count=10";
     }
   }
}

function Rechercheexpress()
{ if(document.forms[1].query.value == "")
    alert("Vous n'avez pas saisi de mot dans le champ recherche");
  else
     document.location.href = repbase + "search_cib.nsf/(indexsearch)?searchview&query=" +document.forms[1].query.value + "&start=1&count=10";
}

function Recherchefiche()
{ if(document.forms["Search"].query.value == "")
    alert("Vous n'avez pas saisi de mot dans le champ recherche");
  else
     document.location.href = repbase + "search_cib.nsf/(indexsearch)?searchview&query=" +document.forms["Search"].query.value + "&start=1&count=10";
}

// Fonction qui affiche le masque de recherche
function tableaurecherche()
{ tableaurecherche = "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  tableaurecherche += "<TR><TD CLASS=\"communnoir16\"><B>R&eacute;sultats de votre recherche</B>&nbsp;<BR></TD>";
  tableaurecherche += "<TD VALIGN=\"top\"><IMG SRC=\"./PictureList/puce_beige/$File/puce_beige.gif\" WIDTH=\"7\" HEIGHT=\"7\" ALT=\"\" VSPACE=\"12\" HSPACE=\"1\" BORDER=\"0\"><IMG SRC=\"./PictureList/puce_beige/$File/puce_beige.gif\" WIDTH=\"7\" HEIGHT=\"7\" ALT=\"\" VSPACE=\"12\" HSPACE=\"1\" BORDER=\"0\"><IMG SRC=\"./PictureList/puce_beige/$File/puce_beige.gif\" WIDTH=\"7\" HEIGHT=\"7\" ALT=\"\" VSPACE=\"12\" HSPACE=\"1\" BORDER=\"0\"></TD></TR>";
  tableaurecherche += "</TABLE>";
  tableaurecherche += "</TD>";
  tableaurecherche += "<TD VALIGN=\"top\"><IMG SRC=\"./PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"20\" ALT=\"\" BORDER=\"0\"><BR><A HREF=\"javascript:history.back();\"><IMG SRC=\"./PictureList/bt_retour/$File/bt_retour.gif\" WIDTH=\"52\" HEIGHT=\"18\" ALT=\"\" HSPACE=\"20\" BORDER=\"0\"></A></TD>";
  tableaurecherche += "</TR>";
  tableaurecherche += "</TABLE>";
  tableaurecherche += "<IMG SRC=\"./PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"10\" ALT=\"\" BORDER=\"0\"><BR>";
  tableaurecherche += "<TABLE WIDTH=\"585\" CELLSPACING=\"0\" CELLPADDING=\"0\" border=\"0\">";
  tableaurecherche += "<TR>";
  tableaurecherche += "<TD><IMG SRC=\"./PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"10\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
  tableaurecherche += "<TD WIDTH=\"100%\" VALIGN=\"top\" CLASS=\"communnoir11\">";
  tableaurecherche += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  tableaurecherche += "<TR>";
  tableaurecherche += "<TD COLSPAN=\"2\"><IMG SRC=\"./PictureList/recherche/$File/tableau_haut.gif\" WIDTH=\"556\" HEIGHT=\"11\" ALT=\"\" BORDER=\"0\"></TD>";
  tableaurecherche += "</TR>";
  tableaurecherche += "<TR>";
  tableaurecherche += "<TD BGCOLOR=\"#CDAED3\"><IMG SRC=\"./PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"10\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
  tableaurecherche += "<TD WIDTH=\"546\" BGCOLOR=\"#CDAED3\">";
  tableaurecherche += "<FORM name=\"formRecherche\" Action=\"javascript:Recherche();\">";
  tableaurecherche += "<TABLE WIDTH=\"530\" BORDER=\"0\" CELLSPACING=\"5\" CELLPADDING=\"0\" ALIGN=\"center\">";
  tableaurecherche += "<TR>";
  tableaurecherche += "<TD BACKGROUND=\"./PictureList/pix_vide/$File/pix_vide.gif\" CLASS=\"communrouge12\"><B>Mot cl&eacute;</B><BR><INPUT name=\"query\"  TYPE=\"text\" SIZE=\"29\" CLASS=\"entry\" STYLE=\"width=257\"></TD>";
  tableaurecherche += "<TD BACKGROUND=\"./PictureList/pix_vide/$File/pix_vide.gif\" CLASS=\"entry\"><FONT CLASS=\"communrouge12\"><B>Rubrique</B></FONT><BR>";
  tableaurecherche += "<SELECT NAME=\"rubrique\" CLASS=\"entry\">";
  tableaurecherche += "<OPTION value=\"all\">Toutes les rubriques</OPTION>";
  tableaurecherche += "<OPTION>---------------------------------------------------------------------</OPTION>";
  tableaurecherche += "<OPTION value=\"Une Banque A Quoi Ca Sert\">Une banque à quoi ça sert ?</OPTION>";
  tableaurecherche += "<OPTION value=\"La Relation Bancaire\">La relation bancaire</OPTION>";
  tableaurecherche += "<OPTION value=\"La Banque Au Quotidien\">La banque au quotidien</OPTION>";
  tableaurecherche += "<OPTION value=\"Epargner\">Epargner </OPTION>";
  tableaurecherche += "<OPTION value=\"Gérer Son Patrimoine\">Gérer son patrimoine</OPTION>";
  tableaurecherche += "<OPTION value=\"Emprunter\">Emprunter</OPTION>";
  tableaurecherche += "<OPTION value=\"Se Protéger\">Se protéger</OPTION>";
  tableaurecherche += "<OPTION value=\"Fiscalité et réglementation\">Fiscalité et réglementation</OPTION>";
  tableaurecherche += "<OPTION value=\"content_lexique.nsf\">Lexique</OPTION>";
  tableaurecherche += "<OPTION value=\"content_cibmag.nsf\">CIB mag</OPTION>";
  tableaurecherche += "<OPTION value=\"Situation De Vie\">Situation de vie</OPTION>";
  tableaurecherche += "<OPTION value=\"FAQ\">FAQ</OPTION>";
  tableaurecherche += "</SELECT>";
  tableaurecherche += "</TD>";
  tableaurecherche += "</TR>";
  tableaurecherche += "<TR>";
  tableaurecherche += "<TD BACKGROUND=\"./PictureList/pix_vide/$File/pix_vide.gif\" CLASS=\"communrouge12\"><B>Classer le r&eacute;sultat par :</B></TD>";
  tableaurecherche += "<TD BACKGROUND=\"./PictureList/pix_vide/$File/pix_vide.gif\" CLASS=\"communrouge12\">";
  tableaurecherche += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  tableaurecherche += "<TR>";
  tableaurecherche += "<TD><INPUT TYPE=\"radio\" NAME=\"ordre\" value=\"1\" CLASS=\"entry\" checked></TD>";
  tableaurecherche += "<TD CLASS=\"communnoir11\">par pertinence</TD>";
  tableaurecherche += "<TD><INPUT TYPE=\"radio\" NAME=\"ordre\" value=\"4\" CLASS=\"entry\"></TD>";
  tableaurecherche += "<TD CLASS=\"communnoir11\">par date</TD>";
  tableaurecherche += "</TR>";
  tableaurecherche += "</TABLE>";
  tableaurecherche += "</TD>";
  tableaurecherche += "</TR>";
  tableaurecherche += "</TABLE>";
  tableaurecherche += "<DIV ALIGN=\"right\">";
  tableaurecherche += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  tableaurecherche += "<TR>";
  tableaurecherche += "<TD VALIGN=\"top\"><IMG SRC=\"./PictureList/puce_beige/$File/puce_beige.gif\" WIDTH=\"7\" HEIGHT=\"7\" ALT=\"\" VSPACE=\"12\" HSPACE=\"1\" BORDER=\"0\"><IMG SRC=\"./PictureList/puce_beige/$File/puce_beige.gif\" WIDTH=\"7\" HEIGHT=\"7\" ALT=\"\" VSPACE=\"12\" HSPACE=\"1\" BORDER=\"0\"><IMG SRC=\"./PictureList/puce_beige/$File/puce_beige.gif\" WIDTH=\"7\" HEIGHT=\"7\" ALT=\"\" VSPACE=\"12\" HSPACE=\"1\" BORDER=\"0\"></TD>";
  tableaurecherche += "<TD CLASS=\"communnoir16\">&nbsp;<A HREF=\"javascript:Recherche();\" CLASS=\"chercher\"><B>Chercher</B></A><BR></TD>";
  tableaurecherche += "<TD><IMG SRC=\"./PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"20\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
  tableaurecherche += "</TR>";
  tableaurecherche += "</TABLE>";
  tableaurecherche += "</DIV>";
  tableaurecherche += "</TD>";
  tableaurecherche += "</TR>";
  tableaurecherche += "<TR>";
  tableaurecherche += "<TD COLSPAN=\"2\"><IMG SRC=\"./PictureList/recherche/$File/tableau_bas.gif\" WIDTH=\"556\" HEIGHT=\"11\" ALT=\"\" BORDER=\"0\"></TD>";
  tableaurecherche += "</TR>";
  tableaurecherche += "</TABLE>";
  document.write(tableaurecherche);
}

// Fonction qui affiche le chemin de fers des liens de recherche et le nombre de réponses en haut
function liensrecherchehaut()
{ document.write("<FONT CLASS=\"communrouge12\"><B>");
  document.write(hit);
  document.write(" r&eacute;ponses ");
  document.write("</B></font>");
  if (hit == "0")
    document.write("<br><br>Le libell&eacute; de votre demande ne permet de s&eacute;lectionner aucun article. Veuillez modifier votre demande ou consulter directement les rubriques du th&egrave;me susceptible d’être concern&eacute; (menu &agrave; gauche de l’&eacute;cran)");
 else
  liensrecherchebas();
}

// Fonction qui affiche le chemin de fers des liens de recherche en bas
function liensrecherchebas()
{ if (count == "0") count = 10; // Par défaut si rien
  if (start == "0") start = 1; // Par défaut si rien

  var vurl = new String(document.location);
  var vissearchorder = vurl.indexOf("&SearchOrder=");
  if (vissearchorder == "-1")
    vsearchorderfinal = "1";
  else
  { var vsearchorder = vurl.split("&SearchOrder=");
    vsearchorder2 = vsearchorder[1].split("&");
    vsearchorderfinal = vsearchorder2[0];
  }

if (hit != "0")
if (vsearchorderfinal != "4")
{
  start = parseFloat(start); // On transforme les variables textes en nombre entier
  count = parseFloat(count);
  hit = parseFloat(hit);
  var nextstart = count + start; // Nb début de la page suivante
  var prevstart = start - count; // Nb début de la page précédente
  var i=0;
  var page=0;
  while (i < start) // Page courante
  { page++;
     i += count;
  }
  prevpage = page;
  nextpage = page;

  var prevtab = new Array(); // On fait un tableau pour stocker les liens des pages précédentes afin de pouvoir retourner ce tableau et les mettre dans l'ordre
  i = 0;

  document.write("<br><TABLE WIDTH=\"555\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">");
  document.write("<TR>");
  document.write("<TD ALIGN=\"right\" CLASS=\"communnoir11\">");

  var vurl = new String(document.location);
  var recherche = vurl.indexOf("(Search)");

  if (prevstart >= 1)
   if (recherche == "-1")
     document.write("<A CLASS=\"lien\" HREF=\"(indexsearch)?searchview&query=" + query + "&start=" + prevstart + "&SearchOrder=" + vsearchorderfinal + "&count=" + count + "\"> <</a>&nbsp;&nbsp;");
   else
     document.write("<A CLASS=\"lien\" HREF=\"(Search)?searchview&query=" + query + "&start=" + prevstart + "&SearchOrder=" + vsearchorderfinal + "&count=" + count + "\"> <</a>&nbsp;&nbsp;");

  while (prevstart >= 1) // On génère les liens des pages précédentes
  { if (recherche == "-1")
      prevtab[i] = "<A CLASS=\"lien\" HREF=\"(indexsearch)?searchview&query=" + query + "&start=" + prevstart + "&SearchOrder=" + vsearchorderfinal + "&count=" + count + "\">"+ (prevpage-1) + "</a> ";
    else
      prevtab[i] = "<A CLASS=\"lien\" HREF=\"(Search)?searchview&query=" + query + "&start=" + prevstart + "&SearchOrder=" + vsearchorderfinal + "&count=" + count + "\">"+ (prevpage-1) + "</a> ";
    prevstart = prevstart - count;
    prevpage--;
    i++;
  }
  prevtab.reverse(); // On remet le tableau dans l'ordre et on l'affiche
  for (i=0; i < prevtab.length; i++)
    document.write(prevtab[i]);

  document.write("<font CLASS=\"communnoir11\">"+page+"</font>");
  last = nextstart; // pour le  > à la fin
  while (nextstart <= hit) // On génère les liens des pages suivantes
  { if (recherche == "-1")
      document.write(" <A CLASS=\"lien\"  HREF=\"(indexsearch)?searchview&query=" + query + "&start=" + nextstart + "&SearchOrder=" + vsearchorderfinal + "&count=" + count + "\">"+ (nextpage+1) + "</a>");
    else
      document.write(" <A CLASS=\"lien\"  HREF=\"(Search)?searchview&query=" + query + "&start=" + nextstart + "&SearchOrder=" + vsearchorderfinal + "&count=" + count + "\">"+ (nextpage+1) + "</a>");
     nextstart = nextstart + count;
     nextpage++;
  }

  if (last <= hit)
   if (recherche == "-1")
     document.write("&nbsp;&nbsp;<A CLASS=\"lien\" HREF=\"(indexsearch)?searchview&query=" + query + "&start=" + last + "&SearchOrder=" + vsearchorderfinal + "&count=" + count + "\">></a>");
   else
     document.write("&nbsp;&nbsp;<A CLASS=\"lien\" HREF=\"(Search)?searchview&query=" + query + "&start=" + last + "&SearchOrder=" + vsearchorderfinal + "&count=" + count + "\">></a>");

  document.write("</TD>");
  document.write("</TR>");
  document.write("</TABLE>");
}
}

/* Tout les éléments communs aux documents ont été extériorisés en javascript afin de faciliter les futures modifications (une modification s'appliquera à l'ensemble des documents sans avoir à y toucher. Le but de ce fichier est de décomposer par blocs et de les appeler suivant les types de documents. */



/* Pour la navigation haut de page, on va la retrouver dans toutes les pages, les liens images sont donc géré uniquement par la base cibsite. Pour les blocs outils....les liens images sont ceux en local de la base elle même, ce qui permet d'avoir une charte différente suivant les espaces.*/

/*********************************/
/* Navigation haut de page */
/*********************************/
function navigationhaut ()
{ navhaut = "</FORM>"; /* Rajouté en début pour finir le form généré lors de la recherche. */
  navhaut += "<a name=\"#top\"></a>";
  navhaut += "<TABLE WIDTH=\"777\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  navhaut += "<TR>";
  navhaut += "<TD><A HREF=\"" + repbase + "cibsite.nsf\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/logo/$File/logo.gif\" WIDTH=\"181\" HEIGHT=\"83\" ALT=\"Accueil les clés de la banque - informations pratiques sur la banque et l'argent au quotidien\" BORDER=\"0\"></A></TD>";

  navhaut += "<TD VALIGN=\"top\" BGCOLOR=\"#8C479B\">";
  navhaut += "<TABLE WIDTH=\"592\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  navhaut += "<TR>";
  navhaut += "<TD WIDTH=\"53\" BGCOLOR=\"#FFFFFF\" ROWSPAN=\"2\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/tool/$File/tool_gauche.gif\" WIDTH=\"53\" HEIGHT=\"18\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\"><A target=\"_blank\" HREF=\"http://www.fbf.fr\" CLASS=\"tools\">www.fbf.fr</A></TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\">-</TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\"><A HREF=\"/Web/Incoming.nsf/InetCIBNewsletterWeb\" CLASS=\"tools\">Newsletter</A></TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\">-</TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\"><A HREF=\"" + repbase + "cibsite.nsf/(PageList)/qui+sommes+nous?Open\" CLASS=\"tools\">Qui sommes nous ?</A></TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\">-</TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\"><A HREF=\"/Web/Incoming.nsf/InetCIBContactWeb\" CLASS=\"tools\">Contact</A></TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\">-</TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\"><A HREF=\"" + repbase + "cibsite.nsf/(PageList)/recherche?Open\" CLASS=\"tools\">Recherche</A></TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\">-</TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\"><A HREF=\"" + repbase + "cibsite.nsf/(PageList)/plansite?Open\" CLASS=\"tools\">Plan du site</A></TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\">-</TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\">&nbsp;<A HREF=\"" + repbase + "cibsite.nsf/(PageList)/aide?Open\" CLASS=\"tools\">Aide</A></TD>";
  navhaut += "<TD ALIGN=\"center\" NOWRAP BGCOLOR=\"#FFFFFF\" CLASS=\"tools\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"16\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "</TR>";
  navhaut += "<TR>";
  navhaut += "<TD COLSPAN=\"14\" BGCOLOR=\"#C987D7\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"2\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "</TR>";
  navhaut += "</TABLE>";
  navhaut += "<IMG SRC=\"/commun/img/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"39\" ALT=\"\" BORDER=\"0\"><BR>";
  navhaut += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  navhaut += "<TR>";
  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR><A HREF=\"#\" ONCLICK=\"window.open(repbase + liencibmag,'popup_mag','width=591,height=578,resizable=0,toolbar=0,scrollbars=1,status=0,menubar=0');\" CLASS=\"menunavh\">Les cl&eacute;s MAG</A></TD>";
  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "<TD><IMG SRC\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"4\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";

  var vurl = new String(document.location); /* On recherche si on est dans une vue, dans la recherche  dans la base site ou dans la base incoming pour pouvoir utiliser la variable WebTheme */
  var demodesmots = vurl.indexOf("content_demodesmots.nsf");
  var demodesmots2 = vurl.indexOf("demodesmots?Open");
  var recherche = vurl.indexOf("ComputePageList");
  var recherche2 = vurl.indexOf("cibsite");
  var recherche5 = vurl.indexOf("indexsearch");
  var recherche3 = vurl.indexOf("(Search)");
  var recherche4 = vurl.indexOf("Incoming");
  var recherche6 = vurl.indexOf("incoming");
  if (demodesmots != "-1" || demodesmots2 != "-1") /* On regarde si la variable demodesmots est à 1, si c'est le cas, on affiche l'onglet en jaune */
  { navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1_on.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
    navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2_on.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
    navhaut += "<A HREF=\"" + repbase + "cib_documents.nsf/(ComputePageList)/Web-Categ-Restrict-Date?OpenDocument&Start=1&Count=1000&RestrictToCategory=mini-guides\" CLASS=\"menunavhon\">Mini guides</A></TD>";
    navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3_on.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  } else /* Sinon on l'affiche en rouge normalement */
  { navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
    navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
    navhaut += "<A HREF=\"" + repbase + "cib_documents.nsf/(ComputePageList)/Web-Categ-Restrict-Date?OpenDocument&Start=1&Count=1000&RestrictToCategory=mini-guides\"  CLASS=\"menunavh\">Mini guides</A></TD>";
    navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  }

  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"4\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";

if (recherche == "-1" && recherche2 == "-1" && recherche3 == "-1" && recherche4 == "-1" && recherche5 == "-1" && recherche6 == "-1")
{ if (WebTheme == "fiche situation de vie" || WebTheme == "Flash situation de vie") /* On regarde si la variable thème = Situation de Vie, si c'est le cas, on affiche l'onglet en jaune */
  { navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1_on.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
    navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2_on.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
    navhaut += "<A HREF=\"" + repbase + "content_cib.nsf/(WebPageList)/situation+de+vie+accueil?Open\" CLASS=\"menunavhon\">Situations de vie</A></TD>";
    navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3_on.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  } else /* Sinon on l'affiche en rouge normalement */
  { navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
    navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
    navhaut += "<A HREF=\"" + repbase + "content_cib.nsf/(WebPageList)/situation+de+vie+accueil?Open\"  CLASS=\"menunavh\">Situations de vie</A></TD>";
    navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  }
} else /* On est dans une vue, la recherche ou la base site donc l'onglet FAQ est obligatoirement rouge */
{ navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
  navhaut += "<A HREF=\"" + repbase + "content_cib.nsf/(WebPageList)/situation+de+vie+accueil?Open\" CLASS=\"menunavh\">Situations de vie</A></TD>";
  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
}

  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"4\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";

if (recherche == "-1" && recherche2 == "-1" && recherche3 == "-1" && recherche4 == "-1" && recherche5 == "-1" && recherche6 == "-1")
{if (WebTheme == "Bancoscope") /* On regarde si la variable thème = bancoscope, si c'est le cas, on affiche l'onglet en jaune */
  { navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1_on.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
    navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2_on.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
    navhaut += "<A HREF=\"" + repbase + "content_cib.nsf/(WebPageList)/bancoscope+accueil?Open\" CLASS=\"menunavhon\">Bancoscopie</A></TD>";
    navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3_on.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  } else /* Sinon on l'affiche en rouge normalement */
  { navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
    navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
    navhaut += "<A HREF=\"" + repbase + "content_cib.nsf/(WebPageList)/bancoscope+accueil?Open\"  CLASS=\"menunavh\">Bancoscopie</A></TD>";
    navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  }
} else /* On est dans une vue, la recherche ou la base site donc l'onglet FAQ est obligatoirement rouge */
{ navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
  navhaut += "<A HREF=\"" + repbase + "content_cib.nsf/(WebPageList)/bancoscope+accueil?Open\" CLASS=\"menunavh\">Bancoscopie</A></TD>";
  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
}

  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"4\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";

if (recherche == "-1" && recherche2 == "-1" && recherche3 == "-1" && recherche4 == "-1" && recherche5 == "-1" && recherche6 == "-1")
{if (WebTheme == "FAQ") /* On regarde si la variable thème = FAQ, si c'est le cas, on affiche l'onglet en jaune */
  { navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1_on.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
    navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2_on.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
    navhaut += "<A HREF=\"" + repbase + "content_cib.nsf/(WebPageList)/faq_accueil?Open\" CLASS=\"menunavhon\">FAQ</A></TD>";
    navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3_on.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  } else /* Sinon on l'affiche en rouge normalement */
  { navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
    navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
    navhaut += "<A HREF=\"" + repbase + "content_cib.nsf/(WebPageList)/faq_accueil?Open\"  CLASS=\"menunavh\">FAQ</A></TD>";
    navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  }
} else /* On est dans une vue, la recherche ou la base site donc l'onglet FAQ est obligatoirement rouge */
{ navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part1.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "<TD WIDTH=\"115\" ALIGN=\"center\" VALIGN=\"top\" BACKGROUND=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part2.gif\" CLASS=\"menunavh\"><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"><BR>";
  navhaut += "<A HREF=\"" + repbase + "content_cib.nsf/(WebPageList)/faq_accueil?Open\" CLASS=\"menunavh\">FAQ</A></TD>";
  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/navh_part3.gif\" WIDTH=\"9\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
}
  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"22\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "</TR>";
  navhaut += "</TABLE>";
  navhaut += "</TD>";
  navhaut += "<TD><IMG SRC=\"" + repbase + "cibsite.nsf/PictureList/navh/$File/bord_droit.gif\" WIDTH=\"6\" HEIGHT=\"83\" ALT=\"\" BORDER=\"0\"></TD>";
  navhaut += "</TR>";
  navhaut += "</TABLE>";
  document.write(navhaut);
}

/*********************************************************************/
/* Si fiche, on construit les blocs à droite et outils si besoin */
/*********************************************************************/
function construct_fiche()
{ if (WebTheme == "Fiche")
  { document.write("</TD>");
    blocdroite();
    document.write("<TD><IMG SRC\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>");
    document.write("</TR>");
    document.write("<TR>");
    document.write("<TD><IMG SRC\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>");
    document.write("<TD>");
    nextdocument();
    blocoutils();
    document.write("</TD>");
    document.write("<TD><IMG SRC\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>");
    document.write("<TD ALIGN=\"right\">");
    document.write("<A HREF=\"#top\"><IMG SRC=\"../PictureList/bt_haut/$File/bt_haut.gif\" WIDTH=\"91\" HEIGHT=\"18\" ALT=\"\" HSPACE=\"20\" BORDER=\"0\"></A>");
    document.write("</TD>");
    document.write("<TD><IMG SRC\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>");
 }
 else
   if (WebTheme == "Tableau")
  { nextdocument();
    blocoutils();
    document.write("</TD>");
    document.write("<TD></TD>");
    document.write("<TD ALIGN=\"right\">");
    document.write("<IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"20\" HEIGHT=\"1\" ALT=\"\"BORDER=\"0\">");
    document.write("</TD>");
  }
 else
  if (WebTheme == "FAQ")
  { nextdocument();
    blocoutils_situation();
    document.write("</TD>");
    document.write("<TD></TD>");
    document.write("<TD ALIGN=\"right\">");
    document.write("<IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"10\" HEIGHT=\"1\" ALT=\"\"BORDER=\"0\">");
    document.write("</TD>");
  }

 else
   if (WebTheme == "Sommaire")
  { document.write("</TD>");
    document.write("<TD></TD>");
    document.write("<TD ALIGN=\"right\">");
    document.write("<IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"20\" HEIGHT=\"1\" ALT=\"\"BORDER=\"0\">");
    document.write("</TD>");
    document.write("</TR>");
    document.write("<TR>");
    document.write("<TD></TD>");
    document.write("<TD>");
    nextdocument();
    document.write("</TD>");
    document.write("<TD></TD>");
    document.write("<TD ALIGN=\"right\">");
    document.write("</TD>");
  }
}

/*****************************************************************/
/* Blocs à droite des documents  modifier par FF le 29/10/2004  */
/****************************************************************/

function blocdroite()
{ blocdroite = "<TD><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"13\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite += "<TD VALIGN=\"top\">";
  blocdroite += "<IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"20\" ALT=\"\" BORDER=\"0\"><BR>";
  blocdroite += "<TABLE WIDTH=\"100%\" CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\">";
  blocdroite += "<TR>";
  if (window.name == "cibmag")
      blocdroite += "<TD ALIGN=\"right\"><A HREF=\"javascript:window.opener.focus();window.close();\"><IMG SRC=\"../PictureList/bt_retour/$File/bt_retour.gif\" WIDTH=\"52\" HEIGHT=\"18\" ALT=\"\" HSPACE=\"10\" BORDER=\"0\"></A><BR><A HREF=\"javascript:window.opener.focus();window.close();\"><IMG SRC=\"../PictureList/bt_retour_cib/$File/bt_retour_cib.gif\" WIDTH=\"63\" HEIGHT=\"36\" ALT=\"\" HSPACE=\"10\" VSPACE=\"10\" BORDER=\"0\"></A>";
  else
    blocdroite += "<TD ALIGN=\"right\"><A HREF=\"javascript:history.back();\"><IMG SRC=\"../PictureList/bt_retour/$File/bt_retour.gif\" WIDTH=\"52\" HEIGHT=\"18\" ALT=\"\" HSPACE=\"20\" BORDER=\"0\"></A>";

  blocdroite += "</TD>";
  blocdroite += "</TR>";
  blocdroite += "</TABLE>";
  blocdroite += "<IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"70\" ALT=\"\" BORDER=\"0\"><BR>";

if (webpagelinks)
{ blocdroite += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocdroite += "<TR>";
  blocdroite += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_tit_voiraussi.gif\" WIDTH=\"131\" HEIGHT=\"31\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite += "</TR>";
  blocdroite += "<TR>";
  blocdroite += "<TD BGCOLOR=\"#CDAED3\">";
  blocdroite += "<TABLE BORDER=\"0\" CELLSPACING=\"4\" CELLPADDING=\"0\">";
  for (i = 0; i<webpagelinks.length; i++)
  { blocdroite += "<TR>";
    blocdroite += "<TD VALIGN=\"top\" CLASS=\"communbox10\">></TD>";
    blocdroite += "<TD CLASS=\"communbox10\"><U>";
    blocdroite += webpagelinks[i];
    blocdroite += "</U></TD>";
    blocdroite += "</TR>";
  }
  blocdroite += "</TABLE>";
  blocdroite += "</TD>";
  blocdroite += "</TR>";
  blocdroite += "<TR>";
  blocdroite += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_bas.gif\" WIDTH=\"131\" HEIGHT=\"13\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite += "</TR>";
  blocdroite += "</TABLE>";
  blocdroite += "<IMG SRC=\"../PictureList/bloc_droite/$File/separation.gif\" WIDTH=\"131\" HEIGHT=\"23\" ALT=\"\"><BR>";

}



if (webpagersc || webattachment)
{ blocdroite += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocdroite += "<TR>";
  blocdroite += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_tit_outils.gif\" WIDTH=\"131\" HEIGHT=\"26\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite += "</TR>";
  blocdroite += "<TR>";
  blocdroite += "<TD BGCOLOR=\"#CDAED3\">";
  blocdroite += "<TABLE BORDER=\"0\" CELLSPACING=\"4\" CELLPADDING=\"0\">";
  blocdroite += "<TR>";
  blocdroite += "<TD VALIGN=\"top\" CLASS=\"communbox10\">></TD>";
  blocdroite += "<TD CLASS=\"communbox10\"><A HREF=\"#outils\" CLASS=\"communbox10\"><U>Cliquez ici pour les consulter</U></A></TD>";
  blocdroite += "</TR>";
  blocdroite += "</TABLE>";
  blocdroite += "</TD>";
  blocdroite += "</TR>";
  blocdroite += "<TR>";
  blocdroite += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_bas.gif\" WIDTH=\"131\" HEIGHT=\"13\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite += "</TR>";
  blocdroite += "</TABLE>";
blocdroite += "<IMG SRC=\"../PictureList/bloc_droite/$File/separation.gif\" WIDTH=\"131\" HEIGHT=\"23\" ALT=\"\"><BR>";
}


/***************************************/
/* Début Ajout de FF du 29/10/2004     */
/***************************************/


{ blocdroite += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocdroite += "<TR>";
  blocdroite += "<TD><FORM name=\"Search\" Action=\"Javascript:Recherchefiche();\"><IMG SRC=\"../PictureList/bloc_droite/$File/recherche.jpg\" WIDTH=\"131\" HEIGHT=\"23\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite += "</TR>";
  blocdroite += "<TR>";
  blocdroite += "<TD BGCOLOR=\"#CDAED3\">";
  blocdroite += "<TABLE BORDER=\"0\" CELLSPACING=\"4\" CELLPADDING=\"0\">";
  blocdroite += "<TR>";
  blocdroite += "<TD VALIGN=\"top\" CLASS=\"communbox10\"><INPUT name=\"query\"  TYPE=\"text\" SIZE=\"29\" CLASS=\"entry\" STYLE=\"width=90\"></TD>";
  blocdroite += "<TD CLASS=\"communbox10\"><A HREF=\"Javascript:Recherchefiche();\"> <U><IMG SRC=\"../PictureList/bloc_droite/$File/recherche+ok.jpg\" ALT=\"\" BORDER=\"0\"></U></A></TD>";


blocdroite += "</TR>";
  blocdroite += "</TABLE>";
  blocdroite += "</TD>";
  blocdroite += "</TR>";
  blocdroite += "<TR>";
  blocdroite += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_bas.gif\" WIDTH=\"131\" HEIGHT=\"13\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite += "</TR>";
  blocdroite += "</TABLE>";
}



/***************************************/
/* fin d'Ajout de FF du 29/10/2004     */
/***************************************/


if (webextlinks)
{ blocdroite += "<IMG SRC=\"../PictureList/bloc_droite/$File/separation.gif\" WIDTH=\"131\"   HEIGHT=\"23\" ALT=\"\"><BR>";
  blocdroite += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocdroite += "<TR>";
  blocdroite += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_tit_autressites.gif\" WIDTH=\"131\" HEIGHT=\"28\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite += "</TR>";
  blocdroite += "<TR>";
  blocdroite += "<TD BGCOLOR=\"#CDAED3\">";
  blocdroite += "<TABLE BORDER=\"0\" CELLSPACING=\"4\" CELLPADDING=\"0\">";
  for (i = 0; i<webextlinks.length; i++)
  { blocdroite += "<TR>";
    blocdroite += "<TD VALIGN=\"top\" CLASS=\"communbox10\">></TD>";
    blocdroite += "<TD CLASS=\"communbox10\"><U>";
    blocdroite += "<A Class=\"communbox10\" HREF=\"" + webextlinks[i] + "\" target=\"_blank\">" + webextlinks[i] + "</A>";
    blocdroite += "</U></TD>";
    blocdroite += "</TR>";
  }
  blocdroite += "</TABLE>";
  blocdroite += "</TD>";
  blocdroite += "</TR>";
  blocdroite += "<TR><TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_bas.gif\" WIDTH=\"131\" HEIGHT=\"13\" ALT=\"\" BORDER=\"0\"></TD></TR>";
  blocdroite += "</TABLE>";
}
blocdroite += "</TD>";
document.write(blocdroite);
}

/********************************************************************/
/* Bloc outils du bas de page  (modifiée par FF le 08/10/04 )       */
/********************************************************************/
function blocoutils ()
{ blocoutils = "<br><br><A NAME=\"outils\"></A>";
  blocoutils += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocoutils += "<TR>";
  if (WebTheme == "Tableau") /* Les images ne sont pas les mêmes pour le template tableau */
  { blocoutils += "<TD><A HREF=\"#\" OnClick=\"popupprint();\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_part1_solo.gif\" WIDTH=\"102\" HEIGHT=\"38\" ALT=\"\" BORDER=\"0\"></A></TD>";
    blocoutils += "<TD><A HREF=\"#\" OnClick=\"sendtoafriend();\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_part2_solo.gif\" WIDTH=\"150\" HEIGHT=\"38\" ALT=\"\" BORDER=\"0\"></A></TD>";
    blocoutils += "<TD><A HREF=\"#\"  OnClick=\"window.external.AddFavorite(location.href, 'CIB - ' + document.title);\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_part3_solo.gif\" WIDTH=\"172\" HEIGHT=\"38\" ALT=\"\" BORDER=\"0\"></A></TD>";

 blocoutils += "<TR><TD COLSPAN=\"3\"><A HREF=\"/Web/incoming.nsf/InetCIBSendSite?ReadForm\"><IMG SRC=\"../PictureList/navg/$File/recomsite.gif\" WIDTH=\"424\" HEIGHT=\"38\" ALT=\"\" BORDER=\"0\"></A></TD></TR>";

    blocoutils += "<TD><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"20\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
    blocoutils += "<TD ALIGN=\"right\">";
    blocoutils += "<A HREF=\"#\"><IMG SRC=\"../PictureList/bt_haut/$File/bt_haut.gif\" WIDTH=\"91\" HEIGHT=\"18\" ALT=\"\"  BORDER=\"0\"></A>";
    blocoutils += "</TD>";
  } else
  { blocoutils += "<TD><A HREF=\"#\" OnClick=\"popupprint();\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_part1.gif\" WIDTH=\"102\" HEIGHT=\"45\" ALT=\"\" BORDER=\"0\"></A></TD>";
    blocoutils += "<TD><A HREF=\"#\" OnClick=\"sendtoafriend();\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_part2.gif\" WIDTH=\"150\" HEIGHT=\"45\" ALT=\"\" BORDER=\"0\"></A></TD>";
    blocoutils += "<TD><A HREF=\"#\"  OnClick=\"window.external.AddFavorite(location.href, 'CIB - ' + document.title);\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_part3.gif\" WIDTH=\"172\" HEIGHT=\"45\" ALT=\"\" BORDER=\"0\"></A></TD>";

 blocoutils += "<TR><TD COLSPAN=\"3\"><A HREF=\"/Web/incoming.nsf/InetCIBSendSite?ReadForm\"><IMG SRC=\"../PictureList/navg/$File/recomsite.gif\" WIDTH=\"424\" HEIGHT=\"45\" ALT=\"\" BORDER=\"0\"></A></TD></TR>";

    blocoutils += "</TR>";
    blocoutils += "<TR>";
    blocoutils += "<TD COLSPAN=\"3\" BGCOLOR=\"#CDAED3\">";

    if (webpagersc || webattachment)
    { blocoutils += "<TABLE WIDTH=\"424\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
      blocoutils += "<TR>";
      blocoutils += "<TD COLSPAN=\"2\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_fichiers_2.gif\" WIDTH=\"167\" HEIGHT=\"22\" HSPACE=\"20\" VSPACE=\"10\" ALT=\"\" BORDER=\"0\"></TD>";
      blocoutils += "</TR>";
      blocoutils += "<TR>";
      blocoutils += "<TD><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"38\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
      blocoutils += "<TD WIDTH=\"386\" CLASS=\"communnoir10\">";
      blocoutils += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
      blocoutils += "<TR>";
      blocoutils += "<TD><IMG SRC=\"../PictureList/bloc_bas/$File/tools_fichiers.gif\" ALT=\"\" BORDER=\"0\"></TD>";
      blocoutils += "<TD CLASS=\"communnoir10\">&nbsp;&nbsp;</TD>";
      blocoutils += "</TR>";
      blocoutils += "</TABLE>";

      if (webpagersc)  /* Si il y a des ressources a télécharger */
       for (i = 0; i<webpagersc.length; i++)
         blocoutils += webpagersc[i] + "<br>";
      if (webattachment)  /* Si il y a des fichiers a télécharger */
       for (i = 0; i<webattachment.length; i++)
         blocoutils += "<font class=\"pagelinks\">> </font><a class=\"pagelinks\" href=\".." + WebLinkID + "/$File/" + webattachment[i] + "\" target=\"_blank\">" + webattachment[i] + "</a><br>";
      blocoutils += "<BR>";
      blocoutils += "</TD>";
      blocoutils += "</TR>";
      blocoutils += "</TABLE>";
    }

    blocoutils += "</TD>";
    blocoutils += "</TR>";
    blocoutils += "<TR>";
    blocoutils += "<TD COLSPAN=\"3\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_bas.gif\" WIDTH=\"424\" HEIGHT=\"10\" ALT=\"\" BORDER=\"0\"></TD>";
  }
  blocoutils += "</TR>";
  blocoutils += "</TABLE>";
  blocoutils += "<!-- FIN: Tools -->";
  document.write(blocoutils);
}

/*************************************************************************************/
/* Blocs à droite des documents pour situation de vie  modifié par FF le 29/10/2004 */
/************************************************************************************/
function blocdroite_situation()
{ blocdroite_situation = "";

  blocdroite_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocdroite_situation += "<TR>";
  blocdroite_situation += "<TD><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"15\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite_situation += "<TD>";
  if (webpagelinks)
  { blocdroite_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
    blocdroite_situation += "<TR>";
    blocdroite_situation += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_tit_voiraussi.gif\" WIDTH=\"131\" HEIGHT=\"31\" ALT=\"\" BORDER=\"0\"></TD>";
    blocdroite_situation += "</TR>";
    blocdroite_situation += "<TR>";
    blocdroite_situation += "<TD BGCOLOR=\"#CDAED3\">";
    blocdroite_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"4\" CELLPADDING=\"0\">";
    for (i = 0; i<webpagelinks.length; i++)
    { blocdroite_situation += "<TR>";
      blocdroite_situation += "<TD VALIGN=\"top\" CLASS=\"communbox10\">></TD>";
      blocdroite_situation += "<TD CLASS=\"communbox10\"><U>";
      blocdroite_situation += webpagelinks[i];
      blocdroite_situation += "</U></TD>";
      blocdroite_situation += "</TR>";
    }
    blocdroite_situation += "</TABLE>";
    blocdroite_situation += "</TD>";
    blocdroite_situation += "</TR>";
    blocdroite_situation += "<TR>";
    blocdroite_situation += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_bas.gif\" WIDTH=\"131\" HEIGHT=\"13\" ALT=\"\" BORDER=\"0\"><BR></TD>";
    blocdroite_situation += "</TR>";
  blocdroite_situation += "</TABLE>";
  blocdroite_situation += "<IMG SRC=\"../PictureList/bloc_droite/$File/separation.gif\"     WIDTH=\"131\" HEIGHT=\"23\" ALT=\"\"><BR>"; ;
    
  }


if (webpagersc || webattachment)
{ blocdroite_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocdroite_situation += "<TR>";
  blocdroite_situation += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_tit_outils.gif\" WIDTH=\"131\" HEIGHT=\"27\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite_situation += "</TR>";
  blocdroite_situation += "<TR>";
  blocdroite_situation += "<TD BGCOLOR=\"#CDAED3\">";
  blocdroite_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"4\" CELLPADDING=\"0\">";
  blocdroite_situation += "<TR>";
  blocdroite_situation += "<TD VALIGN=\"top\" CLASS=\"communbox10\">></TD>";
  blocdroite_situation += "<TD CLASS=\"communbox10\"><A HREF=\"#outils\" CLASS=\"communbox10\"><U>Cliquez ici pour les consulter</U></A></TD>";
  blocdroite_situation += "</TR>";
  blocdroite_situation += "</TABLE>";
  blocdroite_situation += "<BR></TD>";
  blocdroite_situation += "</TR>";
  blocdroite_situation += "<TR>";
  blocdroite_situation += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_bas.gif\" WIDTH=\"131\" HEIGHT=\"13\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite_situation += "</TR>";
  blocdroite_situation += "</TABLE>";
  blocdroite_situation += "<IMG SRC=\"../PictureList/bloc_droite/$File/separation.gif\"     WIDTH=\"131\" HEIGHT=\"23\" ALT=\"\"><BR>";  


}

/***************************************/
/* Début Ajout de FF du 29/10/2004     */
/***************************************/


{  blocdroite_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
   blocdroite_situation += "<TR>";
   blocdroite_situation += "<TD><FORM name=\"Search\" Action=\"Javascript:Recherchefiche();\"><IMG SRC=\"../PictureList/bloc_droite/$File/recherche.jpg\"   ALT=\"\" BORDER=\"0\"></TD>";
   blocdroite_situation += "</TR>";
   blocdroite_situation += "<TR>";
   blocdroite_situation += "<TD BGCOLOR=\"#CDAED3\">";
   blocdroite_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"4\" CELLPADDING=\"0\">";
   blocdroite_situation += "<TR>";
   blocdroite_situation += "<TD VALIGN=\"top\" CLASS=\"communbox10\"><INPUT name=\"query\"  TYPE=\"text\" SIZE=\"29\" CLASS=\"entry\" STYLE=\"width=90\"></TD>";
   blocdroite_situation += "<TD CLASS=\"communbox10\"><A HREF=\"Javascript:Recherchefiche();\"> <U><IMG SRC=\"../PictureList/bloc_droite/$File/recherche+ok.jpg\" ALT=\"\" BORDER=\"0\"></U></A></TD>";


   blocdroite_situation += "</TR>";
   blocdroite_situation += "</TABLE>";
   blocdroite_situation += "</TD>";
   blocdroite_situation += "</TR>";
   blocdroite_situation += "<TR>";
   blocdroite_situation += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_bas.gif\" WIDTH=\"131\" HEIGHT=\"13\" ALT=\"\" BORDER=\"0\"></TD>";
   blocdroite_situation += "</TR>";
   blocdroite_situation += "</TABLE>";
}



/***************************************/
/* fin d'Ajout de FF du 29/10/2004     */
/***************************************/


if (webextlinks)
  blocdroite_situation += "<IMG SRC=\"../PictureList/bloc_droite/$File/separation.gif\" WIDTH=\"131\" HEIGHT=\"23\" ALT=\"\"><BR>";


if (webextlinks)
{ blocdroite_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocdroite_situation += "<TR>";
  blocdroite_situation += "<TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_tit_autressites.gif\" WIDTH=\"131\" HEIGHT=\"28\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite_situation += "</TR>";
  blocdroite_situation += "<TR>";
  blocdroite_situation += "<TD BGCOLOR=\"#CDAED3\">";
  blocdroite_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"4\" CELLPADDING=\"0\">";
  for (i = 0; i<webextlinks.length; i++)
  { blocdroite_situation += "<TR>";
    blocdroite_situation += "<TD VALIGN=\"top\" CLASS=\"communbox10\">></TD>";
    blocdroite_situation += "<TD CLASS=\"communbox10\"><U>";
    blocdroite_situation += "<A Class=\"communbox10\" HREF=\"" + webextlinks[i] + "\" target=\"_blank\">" + webextlinks[i] + "</A>";
    blocdroite_situation += "</U></TD>";
    blocdroite_situation += "</TR>";
  }
  blocdroite_situation += "</TABLE>";
  blocdroite_situation += "</TD>";
  blocdroite_situation += "</TR>";
  blocdroite_situation += "<TR><TD><IMG SRC=\"../PictureList/bloc_droite/$File/box_bas.gif\" WIDTH=\"131\" HEIGHT=\"13\" ALT=\"\" BORDER=\"0\"></TD></TR>";
  blocdroite_situation += "</TABLE>";
}



  blocdroite_situation += "</TD>";
  blocdroite_situation += "<TD><IMG SRC\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
  blocdroite_situation += "</TR>";
  blocdroite_situation += "</TABLE>";

  var vurl = new String(document.location);
  var recherche = vurl.indexOf("WebPageListPrint");
  if (recherche == "-1")
    document.write(blocdroite_situation);
}


/**********************************************************************************/
/* Bloc outils du bas de page pour situation de vie  modifié par FF le 14/10/04   */
/**********************************************************************************/
function blocoutils_situation()
{ blocoutils_situation = "<br><br><A NAME=\"outils\"></A>";
  blocoutils_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocoutils_situation += "<TR>";
  blocoutils_situation += "<TD>";
  blocoutils_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  blocoutils_situation += "<TR>";
  blocoutils_situation += "<TD><A HREF=\"#\" OnClick=\"popupprint();\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_part1.gif\" WIDTH=\"98\" HEIGHT=\"40\" ALT=\"\" BORDER=\"0\"></A></TD>";
  blocoutils_situation += "<TD><A HREF=\"#\" OnClick=\"sendtoafriend();\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_part2.gif\" WIDTH=\"150\" HEIGHT=\"40\" ALT=\"\" BORDER=\"0\"></A></TD>";
  blocoutils_situation += "<TD><A HREF=\"#\"  OnClick=\"window.external.AddFavorite(location.href, 'CIB - ' + document.title);\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_part3.gif\" WIDTH=\"176\" HEIGHT=\"40\" ALT=\"\" BORDER=\"0\"></A></TD>";

	blocoutils_situation += "<TR><TD COLSPAN=\"3\"><A HREF=\"/Web/incoming.nsf/InetCIBSendSite?ReadForm\"><IMG SRC=\"../PictureList/navg/$File/recomsite.gif\" WIDTH=\"424\" HEIGHT=\"40\" ALT=\"\" BORDER=\"0\"></A></TD></TR>";

  blocoutils_situation += "</TR>";
  blocoutils_situation += "<TR>";
  blocoutils_situation += "<TD COLSPAN=\"3\" BGCOLOR=\"#CDAED3\">";

  if (webpagersc || webattachment)
  { blocoutils_situation += "<TABLE WIDTH=\"424\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
    blocoutils_situation += "<TR>";
    blocoutils_situation += "<TD COLSPAN=\"2\"><IMG SRC=\"../PictureList/bloc_bas/$File/tools_fichiers_2.gif\" WIDTH=\"167\" HEIGHT=\"22\" HSPACE=\"20\" VSPACE=\"10\" ALT=\"\" BORDER=\"0\"></TD>";
    blocoutils_situation += "</TR>";
    blocoutils_situation += "<TR>";
    blocoutils_situation += "<TD><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"38\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>";
    blocoutils_situation += "<TD WIDTH=\"386\" CLASS=\"communnoir10\">";
    blocoutils_situation += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
    blocoutils_situation += "<TR>";
    blocoutils_situation += "<TD><IMG SRC=\"../PictureList/bloc_bas/$File/tools_fichiers.gif\"BORDER=\"0\"></TD>";
    blocoutils_situation += "<TD CLASS=\"communnoir10\">&nbsp;&nbsp;</TD>";
    blocoutils_situation += "</TR>";
    blocoutils_situation += "</TABLE>";

    if (webpagersc)  /* Si il y a des ressources a télécharger */
     for (i = 0; i<webpagersc.length; i++)
       blocoutils_situation += webpagersc[i] + "<br>";
    if (webattachment)  /* Si il y a des fichiers a télécharger */
     for (i = 0; i<webattachment.length; i++)
       blocoutils_situation += "<font class=\"pagelinks\">> </font><a class=\"pagelinks\" href=\".." + WebLinkID + "/$File/" + webattachment[i] + "\" target=\"_blank\">" + webattachment[i] + "</a><br>";
    blocoutils_situation += "<BR>";
    blocoutils_situation += "</TD>";
    blocoutils_situation += "</TR>";
    blocoutils_situation += "</TABLE>";
  }
  blocoutils_situation += "</TD>";
  blocoutils_situation += "</TR>";
  blocoutils_situation += "</TABLE>";
  blocoutils_situation += "<TD>";
  blocoutils_situation += "<A HREF=\"#top\"><IMG SRC=\"../PictureList/bt_haut/$File/bt_haut.gif\" WIDTH=\"91\" HEIGHT=\"18\" ALT=\"\" HSPACE=\"20\" BORDER=\"0\"></A>";
  blocoutils_situation += "</TD>";
  blocoutils_situation += "</TR>";
  blocoutils_situation += "</TABLE>";
  document.write(blocoutils_situation);
}

/*****************************************************************************************************/
/* Créer les Sous-sommaires encyclopédique avec présélection automatique si besoin */
/*****************************************************************************************************/
function sommaire_encyclopedique()
{ sommaire_encyclopedique = "<BR>";
  sommaire_encyclopedique += "<BR>";
  sommaire_encyclopedique += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  sommaire_encyclopedique += "<TR>";
  sommaire_encyclopedique += "<TD ROWSPAN=\"5\"><IMG name=\"filets\" SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\"  ALT=\"\" BORDER=\"0\"><BR>";
  sommaire_encyclopedique += "<IMG name=\"filets2\" SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\"  ALT=\"\" BORDER=\"0\"></TD>";
  sommaire_encyclopedique += "<TD>";
  sommaire_encyclopedique += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
  sommaire_encyclopedique += "<TR>";
  sommaire_encyclopedique += "<TD><FORM name=\"frm\"><IMG SRC=\"../PictureList/bord_gauche/$File/bord_gauche1.gif\" WIDTH=\"8\" HEIGHT=\"37\" ALT=\"\" BORDER=\"0\"></TD>";
  sommaire_encyclopedique += "<TD BGCOLOR=\"#C897D1\" CLASS=\"entry\">";
  sommaire_encyclopedique += "<SELECT NAME=\"niveau3\" CLASS=\"entry\" onChange=\"changeniveau3();\">";
  sommaire_encyclopedique += "<OPTION value=\"-1\">Veuillez sélectionner";
  sommaire_encyclopedique += "<OPTION value=\"-1\">---------------------------------------------------------------------------------------------------";
  for (i = 0; i< sommaire.length; i = i+2)
  { if ( i == vniveau3)
      sommaire_encyclopedique += "<OPTION value=\"" + i + "\" Selected>" + sommaire[i];
    else
      sommaire_encyclopedique += "<OPTION value=\"" + i + "\">" + sommaire[i];
  }
  sommaire_encyclopedique += "</SELECT>";
  sommaire_encyclopedique += "</TD>";
  sommaire_encyclopedique += "<TD><IMG SRC=\"../PictureList/bord_droite/$File/bord_droite1.gif\" WIDTH=\"7\" HEIGHT=\"37\" ALT=\"\" BORDER=\"0\"></TD>";
  sommaire_encyclopedique += "</TR>";
  sommaire_encyclopedique += "</TABLE>";
  sommaire_encyclopedique += "</TD>";
  sommaire_encyclopedique += "</TR>";
  sommaire_encyclopedique += "<TR>";
  sommaire_encyclopedique += "<TD><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" BORDER=0 WIDTH=\"1\" HEIGHT=\"7\" ALT=\"\" BORDER=\"0\"></TD>";
  sommaire_encyclopedique += "</TR>";

  if (vniveau3)
  { sommaire_encyclopedique += "<TR>";
    sommaire_encyclopedique += "<TD>";
    sommaire_encyclopedique += "<SCRIPT>document.filets.src=\"../PictureList/filets1/$File/filets1.gif\";</SCRIPT>";
    sommaire_encyclopedique += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
    sommaire_encyclopedique += "<TR>";
    sommaire_encyclopedique += "<TD><IMG SRC=\"../PictureList/bord_gauche/$File/bord_gauche2.gif\" WIDTH=\"8\" HEIGHT=\"37\" ALT=\"\" BORDER=\"0\"></TD>";
    sommaire_encyclopedique += "<TD BGCOLOR=\"#CDAED3\" CLASS=\"entry\">";
    sommaire_encyclopedique += "<SELECT NAME=\"niveau4\" CLASS=\"entry\" onChange=\"changeniveau4();\">";
    sommaire_encyclopedique += "<OPTION value=\"-1\">Veuillez sélectionner";
    sommaire_encyclopedique += "<OPTION value=\"-1\">---------------------------------------------------------------------------------------------------";
    ssniveau3 = parseInt(vniveau3) + 1; /* on se sert des sous menus de niveau 3 donc + 1 */
    for (i = 0; i< sommaire[ssniveau3].length; i = i+2)
    { if ( i == vniveau4)
        sommaire_encyclopedique += "<OPTION value=\"" + i + "\" Selected>" + sommaire[ssniveau3][i];
      else
        sommaire_encyclopedique += "<OPTION value=\"" + i + "\">" + sommaire[ssniveau3][i];
    }
    sommaire_encyclopedique += "</SELECT>";
    sommaire_encyclopedique += "</TD>";
    sommaire_encyclopedique += "<TD><IMG SRC=\"../PictureList/bord_droite/$File/bord_droite2.gif\" WIDTH=\"7\" HEIGHT=\"37\" ALT=\"\" BORDER=\"0\"></TD>";
    sommaire_encyclopedique += "</TR>";
    sommaire_encyclopedique += "</TABLE>";
    sommaire_encyclopedique += "</TD>";
    sommaire_encyclopedique += "</TR>";
  }

  sommaire_encyclopedique += "<TR>";
  sommaire_encyclopedique += "<TD><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"1\" HEIGHT=\"7\" ALT=\"\" BORDER=\"0\"></TD>";
  sommaire_encyclopedique += "</TR>";

  if (vniveau4)
  { sommaire_encyclopedique += "<TR>";
    sommaire_encyclopedique += "<TD>";
    sommaire_encyclopedique += "<SCRIPT>document.filets2.src=\"../PictureList/filets2/$File/filets2.gif\";</SCRIPT>";
    sommaire_encyclopedique += "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">";
    sommaire_encyclopedique += "<TR>";
    sommaire_encyclopedique += "<TD><IMG SRC=\"../PictureList/bord_gauche/$File/bord_gauche3.gif\" WIDTH=\"8\" HEIGHT=\"37\" ALT=\"\" BORDER=\"0\"></TD>";
    sommaire_encyclopedique += "<TD BGCOLOR=\"#E6D6E9\" CLASS=\"entry\">";
    sommaire_encyclopedique += "<SELECT NAME=\"niveau5\" CLASS=\"entry\" onChange=\"changeniveau5();\">";
    sommaire_encyclopedique += "<OPTION value=\"-1\">Veuillez sélectionner";
    sommaire_encyclopedique += "<OPTION value=\"-1\">---------------------------------------------------------------------------------------------------";
    ssniveau3 = parseInt(vniveau3) + 1; /* on se sert des sous menus de niveau3  donc + 1 */
    ssniveau4 = parseInt(vniveau4) + 1; /* on se sert des sous menus de niveau4  donc + 1 */
    for (i = 0; i< sommaire[ssniveau3][ssniveau4].length; i = i+2)
    { if ( i == vniveau5)
       sommaire_encyclopedique += "<OPTION value=\"" + i + "\" Selected>" + sommaire[ssniveau3][ssniveau4][i];
     else
       sommaire_encyclopedique += "<OPTION value=\"" + i + "\">" + sommaire[ssniveau3][ssniveau4][i];
    }
    sommaire_encyclopedique += "</SELECT>";
    sommaire_encyclopedique += "</TD>";
    sommaire_encyclopedique += "<TD><IMG SRC=\"../PictureList/bord_droite/$File/bord_droite3.gif\" WIDTH=\"7\" HEIGHT=\"37\" ALT=\"\" BORDER=\"0\"></TD>";
    sommaire_encyclopedique += "</TR>";
    sommaire_encyclopedique += "</TABLE>";
    sommaire_encyclopedique += "</TD>";
    sommaire_encyclopedique += "</TR>";
   }

  sommaire_encyclopedique += "</TABLE>";
  document.write(sommaire_encyclopedique);
}

/******************************/
/* Fonction "Lire la suite" */
/******************************/
function nextdocument()
{ var temp = WebLinkID.split("/(WebPageList)/");
  var docid = temp[1];
  if (WebTheme=="fiche situation de vie")
    document.write("<BR><a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=prevmain\"><IMG SRC=\"../PictureList/bt_precedent/$File/bt_precedent.gif\" ALT=\"\" BORDER=\"0\"></a><img src=\"../PictureList/pix_vide/$File/pix_vide.gif\" ALT=\"\" BORDER=\"0\" WIDTH=\"165\" HEIGHT=\"1\"><a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=nextmain\"><IMG SRC=\"../PictureList/bt_suivant/$File/bt_suivant.gif\" ALT=\"\" BORDER=\"0\"></a>");
  else
  if (WebTheme=="Flash situation de vie")
  { document.write("<br><br><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"10\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\">");
    document.write("<a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=prevmain\"><IMG SRC=\"../PictureList/bt_precedent/$File/bt_precedent.gif\" ALT=\"\" BORDER=\"0\"></a>");
    document.write("<IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"305\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\">");
    document.write("<a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=nextmain\"><IMG SRC=\"../PictureList/bt_suivant/$File/bt_suivant.gif\" ALT=\"\" BORDER=\"0\"></a><BR>");
  }
  else
  if (WebTheme=="Tableau")
  { document.write("<br><br><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"10\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\">");
    document.write("<a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=prevmain\"><IMG SRC=\"../PictureList/bt_precedent/$File/bt_precedent.gif\" ALT=\"\" BORDER=\"0\"></a>");
    document.write("<IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"275\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\">");
    document.write("<a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=nextmain\"><IMG SRC=\"../PictureList/bt_suivant/$File/bt_suivant.gif\" ALT=\"\" BORDER=\"0\"></a><BR>");
  }
  else
  if (WebTheme=="FAQ")
  { document.write("<br><br><IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"10\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\">");
    document.write("<a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=prevmain\"><IMG SRC=\"../PictureList/bt_precedent/$File/bt_precedent.gif\" ALT=\"\" BORDER=\"0\"></a>");
    document.write("<IMG SRC=\"../PictureList/pix_vide/$File/pix_vide.gif\" WIDTH=\"275\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\">");
    document.write("<a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=nextmain\"><IMG SRC=\"../PictureList/bt_suivant/$File/bt_suivant.gif\" ALT=\"\" BORDER=\"0\"></a><BR>");
  }
  else
  { document.write("<TABLE WIDTH=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><TR><TD align=\"right\">");
    document.write("<BR><a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=prevmain\"><IMG SRC=\"../PictureList/bt_precedent/$File/bt_precedent.gif\" ALT=\"\" BORDER=\"0\"></a><img src=\"../PictureList/pix_vide/$File/pix_vide.gif\" ALT=\"\" BORDER=\"0\" WIDTH=\"165\" HEIGHT=\"1\"><a href=\"../(Web-Categ-Index)/" + docid + "?navigate&to=nextmain\"><IMG SRC=\"../PictureList/bt_suivant/$File/bt_suivant.gif\" ALT=\"\" BORDER=\"0\"></a>");
    document.write("</TD></TR></TABLE>");
  }

}



pieddepage = "&#169; 2003 F&eacute;d&eacute;ration Bancaire Fran&#231;aise  -  <A HREF=\"" + repbase + "cibsite.nsf/(PageList)/Donnees+personnelles?Open\" CLASS=\"copyrights\">Utilisation des donn&eacute;es personnelles</A>  -  <A HREF=\"" + repbase + "cibsite.nsf/(PageList)/Mentions+legales?Open\" CLASS=\"copyrights\">Mentions l&eacute;gales</A>";

