<!--
var depth;
  var ColourMessage;
  if (window.screen == null 
  || window.screen.colorDepth == null) {
    depth='unknown';
  }
  else {
    depth=window.screen.colorDepth;
  }
  if (depth == 'unknown' || depth == 0) {
    if (window.screen != null
      && window.screen.pixelDepth != null) {
        depth=window.screen.pixelDepth
    }
  }
  
  switch (depth) {
    case 1 :
      ColourMessage = "You appear to be viewing this site using a monochrome monitor. You'll need a system that can display at least 256 colours to view an iPIX image."
      break
    case 2 :
      ColourMessage = "Your system is set at 2 bit colour mode, which means your screen can only display a maximum of 4 colours. You'll need a system that can display at least 256 colours to view an iPIX image."
      break
    case 4 :
      ColourMessage = "Your system is set at 4 bit colour mode, which means your screen can only display a maximum of 16 colours. You'll need a system that can display at least 256 colours to view an iPIX image."
      break
    case 8 :
      ColourMessage = "Your system is set at 8 bit colour mode, which means your screen can only display a maximum of 256 colours. To enjoy iPIX images at their best, please modify your video properties to display as many colours as possible (thousands or millions of colours)."
      break
    case 15 :
      ColourMessage = "Your system is set at 15 bit colour mode, which means your screen can display a maximum of 32,768 colours. To enjoy iPIX images at their best, please modify your video properties to display as many colours as possible (true colour or 32 bit mode)."
      break
    case 16 :
      ColourMessage = "Your system is set at 16 bit colour mode, which means your screen can display a maximum of 65,536 colours. If possible, please modify your video properties to the highest setting available (true colour or 32 bit mode)."
      break
    case 18 :
      ColourMessage = "Your system is set at 18 bit colour mode, which means your screen can display a palette of 262,144 colours. If possible, please modify your video properties to the highest setting available (true colour or 32 bit mode)."
      break
    case 24 :
      ColourMessage = ""
      break
    case 32 :
      ColourMessage = ""
      break
    case unknown :
      ColourMessage = "Unfortunately, we've been unable to determine the colour settings of your computer. When viewing iPIX images, please ensure your video properties are set to display as many colours as possible (thousands or millions of colours)."
      break
    }
    document.write('<p><b>'+ColourMessage+'</b></p>')
          
// -->