
function F4Inhalt() {
   var Fv = document.createElement("frame");
   Fv.setAttribute("src",document.referrer);
   document.getElementById("FS1").appendChild(Fv);
   parent.frames[3].name = "F4";
}



function endFreeSearch()
{
   if (EFFF4() == "ja")
   {
        top.location.href = "index.html";
        }
        else
        {
        top.location.href=parent.frames[3].location;
   }
}


function EFFF4()
{
   ExcludeFromFrame4 = new Array("http://127.0.0.1/search/search.pl",
                                 "http://127.0.0.1/search/search.pl#anker1");

   alert(parent.frames[3].location);

   var toexclude = "nein";
   for (var i=0; i < ExcludeFromFrame4.length; i++)
   {
       if (ExcludeFromFrame4[i] == parent.frames[3].location){
        alert("Das angezeigte Fenster wird geschlossen. Das Programm wechselt automatisch zum 'Programmeingang/Hauptseite/Mainportal/Homepage'.");
        var toexclude = "ja";
       }
   }
return toexclude;
}


function sFF1Terms()
{
   document.Formular1.terms.focus();
}

function MeldungFensterSchliessen()
{
alert("Die Anzeige im unteren Fenster wechselt zum 'Programmeingang/Hauptseite/Mainportal/Homepage'. Im oberen Anzeigebereich erhalten Sie die Möglichkeit Beiträge über die Indexliste auszuwählen.");
}


function Go1(x)
  {
    if(x == "nothing")
    {
    parent.frames[3].focus();
    }
    if(x == "end")
    {
    top.location.href = parent.frames[3].location;
    }
    if(x == "index.html")
    {
      parent.frames[3].location.href = x;
      parent.frames[3].focus();
    }
    if((x != "nothing") && (x != "end") && (x != "index.html"))
    {
      parent.frames[1].location.href = "idxSearch_" + x;
      parent.frames[2].location.href = "leer.html";
      parent.frames[3].location.href = "idx_" + x;
      parent.frames[3].focus();
    }

    document.forms[0].reset();
    document.forms[0].elements[0].blur();

  }


function Go2(x)
  {

    if(x == "nothing")
    {
      parent.frames[3].focus();
    }
    else
    {
      parent.frames[2].location.href = "idxSearch_" + x;
      parent.frames[3].location.href = "idx_" + x;
      parent.frames[3].focus();
    }

    document.forms[0].reset();
    document.forms[0].elements[0].blur();

  }


function Go3(x)
  {
    if(x == "nothing")
    {
      parent.frames[3].focus();
    }
    else
    {
      parent.frames[3].location.href = x;
      parent.frames[3].focus();
    }

    document.forms[0].reset();
    document.forms[0].elements[0].blur();

  }

