function displayRandomImage() 
{
  var numberofpictures = 10;

  var random      = 0;
  var image_src   = "";
  var image_alt   = "";
  var description = "";

  time   = new Date();
  random = Math.ceil(time.getMilliseconds() / 1000 * numberofpictures);
 
  if (random == 1) 
  {
    img_src     = "/images/ocha.jpg";
    img_alt     = "[tea]";
    description = "Golden Temple, Kyoto (2002)";
  }

  if (random == 2) 
  {
    img_src     = "/images/nishijin.jpg";
    img_alt     = "[subway]";
    description = "Nishijin Station, Fukuoka (2002)";
  }

  if (random == 3) 
  {
    img_src     = "/images/noentry.jpg";
    img_alt     = "[no entry]";
    description = "Semkenfahrt, Worpswede (2003)";
  }

  if (random == 4) 
  {
    img_src     = "/images/turtle.jpg";
    img_alt     = "[turtle]";
    description = "Regent's Canal, London (2003)";
  }

  if (random == 5) 
  {
    img_src     = "/images/snake.jpg";
    img_alt     = "[snake]";
    description = "H&ouml;vtspitze, R&uuml;gen (2003)";
  }

  if (random == 6) 
  {
    img_src     = "/images/cherryblossom.jpg";
    img_alt     = "[cherry blossom]";
    description = "Kirschbl&uuml;te, Buxtehude (2004)";
  }

  if (random == 7) 
  {
    img_src     = "/images/fishes.jpg";
    img_alt     = "[fishes]";
    description = "Market Street, Akko (2004)";
  }

  if (random == 8) 
  {
    img_src     = "/images/whitecherries.jpg";
    img_alt     = "[white cherry blossom]";
    description = "Kirschbl&uuml;te, Buxtehude (2005)";
  }

  if (random == 9) 
  {
    img_src     = "/images/qm2.jpg";
    img_alt     = "[Queen Mary 2]";
    description = "Queen Mary 2, Hamburg (2005)";
  }

  if (random == 10) 
  {
    img_src     = "/images/trocadero.jpg";
    img_alt     = "[Trocadero]";
    description = "Trocadero, Paris (2006)";
  }

  document.write('<a href = "http://www.pommert.de/"><img src=\"' + img_src + '\" alt=\"' + img_alt + '\" border=0></a>');
  document.write('<p>' + description + '</p>');
  return;
}

