var Scriptaculous = {
  Version: '1.5.1',
  require: function(libraryName) {
    // inserting via DOM fails in Safari 2.0, so brute force approach
    document.write('<script type="text/javascript" src="'+libraryName+'"></script>');
  },
  load: function() {
    if((typeof Prototype=='undefined') ||
      parseFloat(Prototype.Version.split(".")[0] + "." +
                 Prototype.Version.split(".")[1]) < 1.4)
      throw("script.aculo.us requires the Prototype JavaScript framework >= 1.4.0");
    
    $A(document.getElementsByTagName("script")).findAll( function(s) {
      return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
    }).each( function(s) {
      var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
      var includes = s.src.match(/\?.*load=([a-z,]*)/);
      (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider').split(',').each(
       function(include) { Scriptaculous.require(path+include+'.js') });
    });
  }
}

Scriptaculous.load();

 box2_actual = 0;
 box2_html_flag = 0;
 
 function box2_go()
     {
     if(document.getElementById)
         {
         box2_char = 1;
         box2_affich(box2_actual)
         box2_actual++;
         if(box2_actual >= box2_message.length)
             box2_actual = 0;
         }        
     }
 
 function box2_affich(lactual)
     {
     var pix = box2_message[lactual].charAt(box2_char);
     if(pix == "<")
         box2_html_flag = 1;
     if(pix == ">")
         box2_html_flag = 0;
     var texte = box2_message[lactual].substring(0,box2_char);
     document.getElementById("box2_box").innerHTML = texte;
     if(box2_char < box2_message[lactual].length)
         {
         box2_char++;
         if(box2_html_flag == 1)    
             box2_affich(lactual);
         else
             setTimeout("box2_affich("+lactual+")",50)
         }
     else
         setTimeout("box2_go()",3000)
     }