<!--
function partitur(fach, ka, jg){
  wnd = open("/user/partitur.php?fach[]="+fach+"&ka[]="+ka+"&jg[]="+jg+"&show=Anzeigen","Partitur","width=720,height=500,toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable,independent")

  wnd.focus()
}


function bild(img_url, img_width, img_height)
{
  wnd = open("",
             "Bildanzeige",
             "width=" + (img_width + 62) + ",height=" + (img_height + 64) +
             ",toolbar=0,location=0,directories=0,status=0,menubar=0," +
             "scrollbars=1,resizable,dependent")

  var baseadr = location.href
  var lastsl  = location.href.lastIndexOf("\\")
  if(lastsl >= 0)
    baseadr = baseadr.substring(0, lastsl + 1)
  else
  {
    lastsl = location.href.lastIndexOf("/")
    if(lastsl >= 0)
      baseadr = baseadr.substring(0, lastsl + 1)
  }
  with(wnd.document)
  {
    open("text/html")
    writeln("<HTML>")
    writeln("<HEAD>")
    writeln("<BASE HREF=\"" + baseadr + "\"><link rel=\"stylesheet\" href=\"/styles.css\" type=\"text/css\"></HEAD>")
    writeln("<script>self.focus();</script>");
    writeln("<BODY BGCOLOR=WHITE>")
    writeln("<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=4 WIDTH=\"100%\" HEIGHT=\"100%\">")
    writeln("<TR><TD ALIGN=CENTER VALIGN=CENTER><IMG SRC=\"" + img_url +
            "\" WIDTH=" + img_width +
            " HEIGHT=" + img_height +
            " HSPACE=0 VSPACE=0 ></TD></TR>")
    write("<TR><TD ALIGN=LEFT VALIGN=BOTTOM><BIG><STRONG>")
    write("<A HREF=\"javascript:self.close()\" class=\"verdana12fetts\">Fenster schlie&szlig;en</A>")
    writeln("</STRONG></BIG></TD></TR>")
    writeln("</TABLE>")
    writeln("</BODY></HTML>")
    close()
  }
  wnd.focus()
}

-->
