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



i = 1;

function drawrow(fullname, data, filename, orientation) {

  if(orientation == 'l') { w = 600; h=400; }
  if(orientation == 'p') { w = 400; h=600; }

  if (i > 1) {
    document.write ("<tr><td colspan='3'>\n");
    document.write ("<img src='general/grey_pixel.gif' width='580' 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")

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

  document.write ("<a href='stockhausen/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='stockhausen/gfx/sm_"+filename+".jpg' border='1' alt="+filename+".jpg>\n");
  document.write ("</td></tr>\n");

  i++;
}

