<!--

emDs = new Array("roland-kohler", "aeroton", "neue-boehmische-blasmusik");
emSs = new Array("de", "com");
emTs = new Array("Roland Kohler", "Aeroton Musikverlag", "Neue Böhmische Blasmusik");

function emse(dom)
{
  // Parameter prüfen
  if (dom < 1 || dom > emDs.length)
    return;
  // senden
  var Link = "mai";
  Link += "lto";
  Link += ":";
  Link += "info";
  Link += String.fromCharCode(64);
  Link += emDs[dom-1];
  Link += "." + emSs[0];
  Link += "?subject=" + emTs[dom-1];
  location.href = Link;
}

function get_info(dom)
{
  if (dom < 1 || dom > emDs.length)
    dom = 1;
  var Text = "info";
//  Text += String.fromCharCode(64);
  Text += "&nbsp;(at)&nbsp;";
  Text += emDs[dom-1];
  Text += "." + emSs[0];

  return Text;
}

function check_form()
{
  if (document.mailform.name.value == "")
  {
    document.mailform.name.focus();
    alert("Name muss ausgefüllt sein!");
    return false;
  }
  if (document.mailform.artikel.value == "")
  {
    document.mailform.artikel.focus();
    alert("Artikel muss ausgefüllt sein!");
    return false;
  }
  var mail = document.mailform.email.value;
  var split1 = mail.split("@");
  if (split1.length == 2)
  {
    if (split1[0] != "")
    {
      var split2 = split1[1].split(".");
      if (split2.length >= 2)
      {
        if (split2[0] != "" && split2[1] != "")
          return true;
      }
    }
  }
  document.mailform.email.focus();
  document.mailform.email.select();
  alert("E-Mail muss korrekt ausgefüllt sein! (name@x.y)");
  return false;
}

//-->

