
function openNewWindow(w, h, url, name) {
   //w = w + 30;
   //h = h + 35;
   var features = 'width='+w+',height='+h+',scrollbars=yes,resizeable=no,dependent=yes,menubar=no';
   window.open(url, name, features);
}



i = 1;

function drawrow(fullname, data, filename, w, h) {

  if (i > 1) {
    document.write ("<tr><td colspan='3'>\n");
    document.write ("<img src='general/grey_pixel.gif' width='530' height='1' alt='-'>\n");
    document.write ("</td></tr>");
  }


  document.write ("<tr><td valign='top' width='20'>"+i+".</td>\n");
  document.write ("    <td valign='top' width='395'>"+fullname+"<br>\n");
  document.write ("       <font class='normals'>"+data+"<br>\n")
  document.write ("       Image size: "+w+" &times; "+h+"</font><br>\n")

  ww = w + 50;
  hh = h + 50;

  document.write ("<a href='graphicdes/html/"+filename+".html' class='links' onclick=\"openNewWindow("+ww+", "+hh+", this.href, 'name'); return false;\">Large image</a>\n");
  document.write ("</td>\n");
  document.write ("<td valign='top' align='right' width='100'><img src='graphicdes/gfx/sm_"+filename+".jpg' border='1' alt="+filename+".jpg>\n");
  document.write ("</td></tr>\n");

  i++;
}
