function eintragen(person, unselbst, selbst) {

  if (person == "partner") {
    document.forms[0].ekupartner.value = unselbst;
    document.forms[0].ekspartner.value = selbst;
  }

  if (person == "mutter") {
    document.forms[0].ekumutter.value = unselbst;
    document.forms[0].eksmutter.value = selbst;
  }
  if (person == "vater") {
    document.forms[0].ekuvater.value = unselbst;
    document.forms[0].eksvater.value = selbst;
  }
    if (person == "selbst") {
    document.forms[0].uselbers.value = unselbst;
    document.forms[0].sselbers.value = selbst;
  }
}
function eintrageng(person, ageschw) {
    var geschwnr = parseInt(person.substring(6,7)); 
 document.forms[geschwnr-1].auswaertiggeschw.checked = ageschw;  
}

function hilfe(URL) {
  Hilfe = window.open("hilfe.htm#" + URL, "Hilfe", "scrollbars=1,width=480,height=400,resizable=1");
  if (navigator.userAgent.indexOf("Mozilla/2.0") == -1) Hilfe.focus();
}

function assistent(person) {
  Assi = window.open("assi.htm#", person, "scrollbars=1,width=540,height=400,resizable=1");
  if (navigator.userAgent.indexOf("Mozilla/2.0") == -1) Assi.focus();
}

function assistento(auswaertig) 	{ 
if (parent.formular.document.forms[0].fern.checked)
Assi = window.open("ortedat/leider_fern.htm#", auswaertig,"scrollbars=1,width=700,height=480,resizable=1"); else 
Assi = window.open("ortedat/auswaertig_studierend.htm#", auswaertig,"scrollbars=1,width=700,height=480,resizable=1");  
if (navigator.userAgent.indexOf("Mozilla/2.0") == -1) Assi.focus();
          					}
function assistentog(geschw) 	{
      var geschwnr = parseInt(geschw.substring(6,7));
if (parent.formular.document.forms[geschwnr-1].geschw[3].checked) 
Assi = window.open("ortedat/auswaertig_studierendg.htm#", geschw,"scrollbars=1,width=700,height=480,resizable=1"); else
Assi = window.open("ortedat/leider_ferng.htm#", geschw,"scrollbars=1,width=700,height=480,resizable=1");
if (navigator.userAgent.indexOf("Mozilla/2.0") == -1) Assi.focus();
          					}
function assistentz(jahre) 	{
  Assi = window.open("zualt.htm", "","scrollbars=1,width=700,height=530,resizable=1"); 
  if (navigator.userAgent.indexOf("Mozilla/2.0") == -1) Assi.focus();
  document.forms[0].jahre.value = jahre;
					}
function assistentzk(jahre) 	{
  Assi = window.open("zualtk.htm", "","scrollbars=1,width=700,height=660,resizable=1"); 
  if (navigator.userAgent.indexOf("Mozilla/2.0") == -1) Assi.focus();
 document.forms[0].jahre.value = jahre;
          					}
function assistentzs(jahre) 	{
  Assi = window.open("zualts.htm", "","scrollbars=1,width=700,height=600,resizable=1"); 
  if (navigator.userAgent.indexOf("Mozilla/2.0") == -1) Assi.focus();
 document.forms[0].jahre.value = jahre;
          					}
function assistentzsk(jahre) 	{ 
  Assi = window.open("zualtsk.htm", "","scrollbars=1,width=700,height=770,resizable=1");
  if (navigator.userAgent.indexOf("Mozilla/2.0") == -1) Assi.focus();
 document.forms[0].jahre.value = jahre;
          					}