function sendFormular(docForm,eMail,avWidth,avHeight)
{
  if (docForm.eMail.value.length == 0)
  {
    alert ("Eine E-Mail-Adresse ist erforderlich um das Formular abschicken zu können.");
    docForm.eMail.focus();
    return false;
  }
  var t = new Array();
  t[0] = docForm.FormName.value;
  t[1] = "Name: " + docForm.salut.value + " " + docForm.name.value;
  t[2] = "E-Mail: " + docForm.eMail.value;
  t[3] = "Telefon: " + docForm.lv.value + docForm.ov.value + docForm.rn.value;
  t[4] = "PLZ Ort: " + docForm.plz.value + " " + docForm.ort.value;
  t[5] = "Straße: " + docForm.strasse.value + " " + docForm.hNr.value;
  t[6] = "Produkt: " + docForm.product.value;
  if (docForm.product.value == "Sonderformat nach Maßangaben")
  t[6] += " " + docForm.len_mm.value + " mm x " + docForm.wid_mm.value + " mm x " + docForm.hi_mm.value + " mm";
  if (docForm.product.value == "Aufsetzrahmen nach Maßangaben")
  t[6] += " " + docForm.len_mm.value + " mm x " + docForm.wid_mm.value + " mm x " + docForm.hi_mm.value + " mm";
  if (docForm.product.value == "Schutzdeckel nach Maßangaben")
  t[6] += " " + docForm.len_mm.value + " mm x " + docForm.wid_mm.value + " mm x " + docForm.hi_mm.value + " mm";
  t[7] = "";
  if (docForm.menge.value != "")
  t[7] += "Anzahl: " + docForm.menge.value + " Stück pro " + docForm.multi.value;
   if (docForm.product.value == "Nichts ausgew&auml;hlt")
  t[7] = "";
  t[8] = "Lieferung ";
  if (docForm.deliver[0].checked == true)
    t[8] += "frei Straße";
  if (docForm.deliver[1].checked == true)
    t[8] += "ab Werk";
  if (docForm.product.value == "Nichts ausgewählt")
    t[8] = "";
  t[9] = "" 	
  if (docForm.freeform.value != "")
  t[9] += "Freier Text: " + docForm.freeform.value;
  var x = (screen.width - avWidth - 10) / 2;
  var y = (screen.height - avHeight - 32) / 2;
  var theWin = "width=" + avWidth + ",height=" + avHeight;
  theWin += ",left=" + x + ",top=" + y + ",scrollbars=yes";
  var theForm = window.open("","PopUp",theWin); theForm.focus();
  theForm.document.open();
  theForm.document.write("<html><head><title>");
  theForm.document.write(docForm.FormName.value);
  theForm.document.write("<\/title><\/head>");
  theForm.document.write("<body style=\"font:91% Verdana,sans-serif;\"");
  theForm.document.writeln("><p>");
  var m = "";
  for (var i = 0; i <= 9; i++) /* Form field 0 - 9 */
  {
    var z = ""; var cr = 0;
    for (var y = 0; y < Number(t[i].length); y++)
    {
      switch(t[i].charCodeAt(y))
      {
        case 13: z += "¦"; cr = 1; break;
        case 10: if (!cr) z += "¦"; break;
        case 32: z += "&#32;"; break;
        case 34: z += "&#34;"; break;
        case 38: z += "+"; break;
        case 60: z += "&#60;"; break;
        case 61: z += "&#61;"; break;
        case 62: z += "&#62;"; break;
        case 64: z += "&#64;"; break;
        case 196: z += "&#196;"; break;
        case 214: z += "&#214;"; break;
        case 220: z += "&#220;"; break;
        case 223: z += "&#223;"; break;
        case 228: z += "&#228;"; break;
        case 246: z += "&#246;"; break;
        case 252: z += "&#252;"; break;
        case 8364: z += "EUR"; break;
        default:
        if (t[i].charCodeAt(y) > 32 && t[i].charCodeAt(y) < 127)
          z += t[i].charAt(y);
        else z += "&#191;";
      }
    }
    t[i] = z; z = ""; var e = "";
    for (y = 0; y < Number(t[i].length); y++)
    {
      if (t[i].charAt(y) == "¦") {
        z += "<br>"; e += "%0D%0A";
      }
      else {
        z += t[i].charAt(y);
        if (t[i].charAt(y) == "?") e += "%3F";
        else {
          e += t[i].charAt(y);
          if (t[i].charAt(y) == "%") e += "25";
        }
      }
    }
    theForm.document.writeln(z + "<br>"); t[i] = e;
    if (i > 0) m += t[i] + "%0D%0A";
    if (i < 10) // additional wrap
    {
	  theForm.document.writeln("<br>"); m += "%0D%0A";
    }
  }
  theForm.document.writeln("<\/p>");
  if (m.length > 1750)
  {
    theForm.document.write("<hr><p><b><i>Sie haben sehr viel Text ");
    theForm.document.write("eingegeben,<br>so dass eine automatische ");
    theForm.document.write("&Uuml;bernahme leider nicht m&ouml;glich ist.<br>");
    theForm.document.write("Bitte kopieren Sie Ihren obenstehenden Text ");
    theForm.document.write("(Strg-C) und<br>&uuml;bertragen ihn anschliessend ");
    theForm.document.writeln("in Ihr eMail-Programm (Strg-V).<\/b><\/i><\/p>");
    m = "- hier bitte Ihren Text einfuegen -";
  }
  theForm.document.write("<p><a href=\"mailto:" + eMail);
  theForm.document.write("?subject=" + t[0] + "&amp;body=" + m + "\"");
  theForm.document.write(" onclick=\"window.setTimeout('self.close()',100)\"");
  theForm.document.writeln(">Angaben best&auml;tigen<\/a>");
  theForm.document.writeln("&nbsp;&nbsp;&nbsp;<a href=\"#\" target=\"_self\" onclick=\"window.setTimeout('self.close()',100)\">Abbrechen</a><\/p><\/body><\/html>");
  theForm.document.close();
  return false;
}