<!-- Début du script

function MM_findObj(n, d) { //v3.0
  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); return x;
}

function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}

// Nombre de lignes dans la liste - 1
function test(menu) {
   for (i=1;i<=44;i++) {
      if (menu.choix.options[i].selected == true)
         open (menu.choix.options[i].value,"_top") ;
   }
}

function OpenPlan() {
   Plan=window.open('plan.htm','PlanPdB','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,height=470,width=620');
   Plan.focus();
   }

function OpenEurenet() {
   Eurenet = window.open('','Eurenet','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,height=300,width=400');
   Eurenet.document.write('<HTML><HEAD><LINK REL="stylesheet" HREF="divers/pdb2000.css">');
   Eurenet.document.write('<TITLE>Liste de diffusion PdB (Eurenet)</TITLE></HEAD><BODY>');
Eurenet.document.write('Pour vous inscrire, envoyez simplement un message adressé à :');
Eurenet.document.write('<A HREF="mailto:majordomo@eurenet.com?subject=PdB&body=subscribe pdb"><P>majordomo@eurenet.com</P></A>');
Eurenet.document.write('avec comme seul texte dans le corps du message (le sujet ne compte pas) :<BR>');
Eurenet.document.write('<P CLASS="gras">subscribe pdb</P>');
Eurenet.document.write("N'oubliez pas de désactiver votre signature automatique si vous en avez une !");
Eurenet.document.write("<P>Vous recevrez un message de confirmation, qu'il vous suffira de renvoyer pour être inscrit, après l'avoir lu.");
Eurenet.document.write("<P>");
   Eurenet.document.write('</BODY></HTML>');
   Eurenet.focus();
   }

function CloseEurenet() {
   Eurenet.close();
   }

                // Scrolling JavaScript (C)1997 Cyril Pannetier - La Petite Boutique Java & JavaScript -
                // web : http://www.mygale.org/08/pannetie
                // e-mail : pannetie@mygale.org
                // Ce script est librement utilisable. Merci de ne pas effacer ces commentaires.

                function Scrolling(Texte,Vitesse,Cible,Fonction) {

                // Variables utilisées
                        this.ScrollTexte = "          " + Texte;  // Texte de départ
                        this.scrollspeed = Vitesse;               // Vitesse de défilement
                        this.Target = Cible;                      // Zone de défilement
                        this.fonction = Fonction + '.Scroll()';   // Nom de l'objet JavaScript
                        this.along = this.ScrollTexte.length;     // Longueur du texte affiché
                        this.NbCar = 0;                           // Compteur
                        this.scroller = "";                       // Texte affiché
                        this.scroller1 = "";
                        this.scroller2 = "";
                        this.timeout = null;

                // Fonctions utilisées
                        this.Scroll = TheScroll;

                //Lancement du scrolling
                        this.Scroll();
                }

                // Fonction de scrolling

                function TheScroll() {
                        this.NbCar ++;
                        if (this.NbCar > this.along) {
                                this.NbCar = 0;
                        }
                        this.scroller1 = this.ScrollTexte.substring(0,this.NbCar);
                        this.scroller2 = this.ScrollTexte.substring(this.NbCar,this.along);
                        this.scroller = this.scroller2 + this.scroller1;
                        if (this.Target == "") {
                                window.status = this.scroller
                        }
                        else {
                                this.Target.value = this.scroller;
                        }
                        this.timeout = window.setTimeout(this.fonction,this.scrollspeed);
                }


// La fonction suivante déplace au signet "qui va bien" dans la page du dossier de presse d'un jour donné
// et affiche cette fenêtre au premier plan
function affdet(signet) {
detail=open(signet,'Detail');
detail.focus();
;
}

//  Fin du script -->

// detail=open(signet,'Detail','toolbar=no,directories=no,menubar=no');

