<!--

function setImage(n1, w1, h1, n2, w2, h2, t1)
 {
  var nImage = document.images.length;
  var n20, w20, h20, altext;
  if (n2 != '') {
   n20 = n2;
  } else {
   n20 = n1;
  }
  if (w2 > 0) {
   w20 = w2;
  } else {
   w20 = w1;
  }
  if (h2 > 0) {
   h20 = h2;
  } else {
   h20 = h1;
  }
  if ((t1 != undefined) && (t1 != '')) {
   altext = ' alt=\"'+t1+'\"';
  } else {
   altext = '';
  } 
  if ((w1 == w20) && (h1 == h20)) {
   document.write('<img align=center border=0 src=\"'+n20+
   '\" width='+w20+' height='+h20+' hspace=5 vspace=5'+altext+'>');
  } else {
   document.write('<a onClick=\"JavaScript:zoomImage('+nImage+
    ',\''+n1+'\','+w1+','+h1+',\''+n20+'\','+w20+','+h20+');\"'+
    ' href=#'+nImage+'><img align=center border=0 src=\"'+n20+
    '\" width='+w20+' height='+h20+' hspace=5 vspace=5'+altext+'></a>');
  }
 }

function zoomImage(i, n1, w1, h1, n2, w2, h2)
 {
  w10 = w1;
  h10 = h1;
  if (w10 > wmax) {
   w10 = wmax;
   h10 = h1*w10/w1;
  }
  if (document.images[i].width == w2) {
   document.images[i].src = n1;
   document.images[i].width = w10;
   document.images[i].height = h10;
   } else {
    if (n2 != "") {
     document.images[i].src = n2;
    } else {
     document.images[i].src = n1;
    }
   document.images[i].width = w2;
   document.images[i].height = h2;
   }
 }

 wmax = screen.availWidth*0.9-250;

//-->

