// rand_image.js 18Dec00

function RandomImageLong(images,iparams)
{
  si=0; // start index
  i=0;  // current index
  j=0;  // current file count
  imageSet = new Array();
  for (i=1;i<images.length;i++)
  {
    if (images.charAt(i) == ' ' || images.charAt(i) == ',')
    {
      imageSet[j++] = images.substring(si,i);
      si=i+1;
    }
  }
  ind = Math.floor(Math.random() * j);
  document.writeln("<img "+iparams+" src=graphics/"+imageSet[ind]+" alt=\""+imageSet[ind]+"\">");
}

//RandomImageLong(
//"consultBig.gif,cryptoBig.gif,IAgentBig.gif,sdevBig.gif,webgenBig.gif",
//"width=95 height=95 border=1 align=RIGHT");

// eof rand_image.js

