 var _libs = new Array("Oil and gas", "Power and utilities", "Chemicals", "Industry", "Softs", "Metals", "Infrastructure", "Goods and services");
 var _IMGlibs = new Array("Oil_and_gas", "Power_and_utilities", "Chemicals", "Industry", "Softs", "Metals", "Infrastructure", "goods_services");
 var _IMG = new Array();
 var curind = 1;

 function _isloaded(){
  var _loaded = true;
  for(i=0;i<_IMGlibs.length;i++)
   _loaded = _loaded && _IMG[i] && _IMG[i].complete;
  return _loaded;
 }

 function _load(){
  for(i=0;i<_IMGlibs.length;i++){
   _IMG[i] = new Image;
   if(document.layers)
    _IMG[i].onload = function() {this.complete = true;};
   _IMG[i].src = "/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/"+_IMGlibs[i]+".gif";
  }
 }
 
 function _testloaded(){
 if(_isloaded())
  _launch();
 else
  setTimeout("_testloaded()", 1000);
 }

 function _launch(){
  if(document.layers){
   thelay = document.layers["anim"+curind];
   thelay.document.open();
   thelay.document.write("<a href='#'><img src='/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/"+_IMGlibs[(curind)-1]+".gif' border='0' alt='"+_libs[(curind++)-1]+"'></a>");
   thelay.document.close();
  }
  else if(document.all){
   document.all["anim"+curind].children[0].children[0].src = _IMG[(curind++)-1].src;
  }
  else if(document.getElementById){
   document.getElementById("anim"+curind).childNodes[0].childNodes[0].src = _IMG[(curind++)-1].src;
  }
  if(curind>_IMGlibs.length)
   return;
  else
   setTimeout("_launch()", 300);

 }

 _load();
 onload = _testloaded;