            var fenetre=null
            
            // Object qui va référence un layer <DIV> HTML positionner de manière absolue de préférence
            function DivObject(id){
               this.ref=window.document.getElementById(id);
            }
            
            // Définir les dimensions de l'object DIV référencé
            function divObject_setSize(szX,szY){
               this.setWidth(szX)
               this.setHeight(szY)
            }
            
            DivObject.prototype.setSize=divObject_setSize
            
            // Définir la position absolue de l'object DIV référencé
            function divObject_setPos(x,y){
               this.setX(x)
               this.setY(y)
            }
            
            DivObject.prototype.setPos=divObject_setPos
            
            // Pas utilisé ...
            function divObject_setClip(x,y,szX,szY){
               this.ref.style.clip="rect("+y+","+szX+","+szY+","+x+")";
            }
            
            DivObject.prototype.setClip=divObject_setClip

            // Définir la largeur de l'object DIV référencé
            function divObject_setWidth(szX){
               this.ref.style.width=szX+"px"
            }
            
            DivObject.prototype.setWidth=divObject_setWidth
            
            // Définir la hauteur de l'object DIV référencé
            function divObject_setHeight(szY){
               this.ref.style.height=szY+"px"
            }
            
            DivObject.prototype.setHeight=divObject_setHeight
            
            // Modifier la position horizontale du delta passé dans dx
            function divObject_setdX(dx){
               dx+=this.ref.offsetLeft;
               this.ref.style.left=dx+"px"
            }
            
            DivObject.prototype.setdX=divObject_setdX
            
            // Modifier la position verticale du delta passé dans dy
            function divObject_setdY(dy){
               dy+=this.ref.offsetTop;
               this.ref.style.top=dy+"px"
            }
            
            DivObject.prototype.setdY=divObject_setdY
            
            // Définir la position horizontale de l'object DIV référencé
            function divObject_setX(x){
               this.ref.style.left=x+"px"
            }
            
            DivObject.prototype.setX=divObject_setX
            
            // Définir la position verticale de l'object DIV référencé
            function divObject_setY(y){
               this.ref.style.top=y+"px"
            }
            
            DivObject.prototype.setY=divObject_setY
            
            // Création des objects nécessaire au chargement
            function load()
            {
               // D'abord la zone cadre qui va servir de support à la zone de texte
               zonecadre=new DivObject("DivAll");
               
               // On définit ensuite les dimensions de la zone de cadres
               zonecadre.setSize(1020,650);
               
               // Puis sa position
               zonecadre.setPos(100,100);
               
               zonetexte=new DivObject("DivTxt");
            }







            // Tout le code Javascript qui suit ne sert que pour le scroll automatique ...


            // name : le nom de la variable javascript déclarée comme objet de type DivObject
            // direction : "UP", "DOWN", "LEFT" ou "RIGHT"
            // start : mettre à zéro (pas utilisé)
            // end : valeur qui met fin au scrolling lorsque la coordonnée x ou y de l'objet DIV référencé atteind ou dépasse cette valeur
            // step : pas entre 2 déplacements
            // time : durée en milliseconde entre 2 appels au timer
            function divObject_scrollStart(name,direction,start,end,step,time)
            {
               // Si déjà un timer en cours on sort ..
               if (this.timerMove) return;
               
               this.step=step
               this.start=start
               this.end=end
               this.name=name
               this.time=time
               this.timerMove=null
               this.direction=direction
               
               // Lance le timer
               if (!this.timerMove) this.timerMove=setInterval(this.name+".move()",this.time);
            }

            DivObject.prototype.scrollStart=divObject_scrollStart
            
            function divObject_move()
            {
               stop=true
               
               switch (this.direction)
               {
                  case "UP" :
                     if (this.ref.offsetTop >= this.end)
                     {
                        stop=false
                        this.setdY(-this.step)
                     }
                     break;
                  
                  case "DOWN" :
                     if (this.ref.offsetTop <= this.end)
                     {
                        stop=false
                        this.setdY(this.step)
                     }
                     break;
                  
                  case "LEFT" :
                     if (this.ref.offsetLeft >= this.end)
                     {
                        stop=false
                        this.setdX(-this.step)
                     }
                     break;
                     
                  case "RIGHT" :
                     if (this.ref.offsetLeft <= this.end)
                     {
                        stop=false
                        this.setdX(this.step)
                     }
                     break;
               }
               
               if (stop) this.scrollStop()
            }
            
            DivObject.prototype.move=divObject_move
            
            function divObject_scrollStop()
            {
               if (this.timerMove) clearInterval(this.timerMove);
               this.timerMove=null
            }
            
            DivObject.prototype.scrollStop=divObject_scrollStop

