 if (parent.location.href == self.location.href) {
  if (window.location.replace)
   window.location.replace('index.htm');
   else
 // Problem Zurück-Button
  window.location.href = 'index.htm';
 }


function surfto(form) { 
var myindex=form.select1.selectedIndex
if (form.select1.options[myindex].value != "0") { 
window.open(form.select1.options[myindex].value, target="_blank");}
}


// Dropdown-Universal
Fensterzahl=0
//Seitenwechselfunktion für ein Frame
function im_frame(URL1,FRAMENAME)
{
parent.frames[FRAMENAME].location.href=URL1
}
//Seitenwechselfunktion für zwei Frames
function z_frame(URL1,FRAMENAME1,URL2,FRAMENAME2)
{
parent.frames[FRAMENAME1].location.href=URL1
parent.frames[FRAMENAME2].location.href=URL2
}
//Seitenwechselfunktion die gleiche Seite, Achtung: Das Menü ist dann nicht mehr da
function self_frame(URL1)
{
self.location.href=URL1
}
//Seitenwechselfunction für ein neues Fenster
function n_fenster(URL1,breite,hoehe)
{
//neues Fenster mittig anordnen
l=(screen.width-breite)/2
o=(screen.height-hoehe)/2
if(Fensterzahl>0)
{
if(F1.closed==false)
F1.close()
}
F1=open(URL1,"","Width="+breite+",height="+hoehe+",left="+l+",top="+o+",screenX="+l+",screenY="+o+",scrollbars=yes")
Fensterzahl=1
}
//Function wird vom Dropdownfeld aufgerufen
function sprung()
{
if(document.forms[0].navi.selectedIndex>0) //Auswahl hat stattgefunden
//evaluiert den im Value eingetragenen String und ruft die entsprechende Funktion auf
eval(document.forms[0].navi.options[document.forms[0].navi.selectedIndex].value)
}
