function myDrawFunction()
{
  jg.setColor("#FFFFCC"); // ocker

  jg.fillRect(145, 154, 700, 700);

  jg.setColor("#003F00"); // grün

  jg.fillEllipse(2, 2, 155, 155);
  jg.fillRect(2, 70, 135, 780);
  jg.fillRect(70, 2, 830, 150);
  jg.fillEllipse(830, 2, 150, 150);

  jg.drawLine(136, 147, 136, 845);
  jg.drawLine(137, 147, 137, 845);
  jg.drawLine(139, 147, 139, 840);
  jg.drawLine(140, 147, 140, 840);

  jg.setColor("#FFFFFF"); // weiß

  jg.drawEllipse(7, 7, 140, 139);
  jg.drawEllipse(834, 7, 139, 139);
  jg.drawLine(80, 7, 900, 7);
  jg.drawLine(141, 147, 900, 147);


  jg.drawLine(7, 80, 7, 850);

  jg.drawLine(135, 147, 135, 850);
  jg.drawLine(138, 147, 138, 845);
  jg.drawLine(141, 147, 141, 840);

  jg.drawImage("./images/logo1.gif", 6, 6, 143, 143);
  jg.drawImage("./images/logo1.gif", 833, 6, 143, 143);
  jg.setFont("Times New Roman","40px",Font.ITALIC_BOLD);
  jg.drawString("Schützenverein \"Einigkeit\"",230,50);
  jg.paint(); // zeichnet in diesem Fall direkt in's document

}

var jg = new jsGraphics();

myDrawFunction();
