  function thumbMouseOver( thumb, src, caption, width, href )
  {
    var lb = document.getElementById( 'lightboxactive' );

    if( lb )
    {
      if( lb.src )
        lb.src = src;

      if( lb.style.width )
        lb.style.width = width;
      else
        lb.width = width;
    }

    var lblink = document.getElementById( 'lightboxactivelink' );
    if( lblink && lblink.href && href )
      lblink.href = href;

    if( document.getElementById( 'lightboxcaption' ))
      document.getElementById( 'lightboxcaption' ).innerHTML = caption;

    thumb.style.border = '1px solid #000000';

    if( typeof thumb.style.opacity != 'undefined' )
    { thumb.style.opacity = 0.9999999; }
    else if( typeof thumb.style.MozOpacity != 'undefined' )
    { thumb.style.MozOpacity = 0.99999999; }
    else if( typeof thumb.style.KhtmlOpacity != 'undefined' )
    { thumb.style.KhtmlOpacity = 1; }
    else
//    { thumb.style.filter = 'progid:DXImageTransform.Microsoft.BasicImage(grayScale=0)'; }
    { thumb.style.filter = 'alpha(opacity=100);'; }
  }

  function thumbMouseOut( thumb )
  {
    thumb.style.border = '1px solid #ffffff';
 
    if( typeof thumb.style.opacity != 'undefined' )
    { thumb.style.opacity = 0.5; }
    else if( typeof thumb.style.MozOpacity != 'undefined' )
    { thumb.style.MozOpacity = 0.5; }
    else if( typeof thumb.style.KhtmlOpacity != 'undefined' )
    { thumb.style.KhtmlOpacity = 0.5; }
    else
//    { thumb.style.filter = 'progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)'; }
    { thumb.style.filter = 'alpha(opacity=50);'; }
  }
