// Funktion für das wechseln zwischen adressen verschiedenes vereine
function linksmenu()
{
var number = document.linksform.menu.selectedIndex;
location.href=document.linksform.menu.options[number].value;
}

function ranglistemenu()
{
var number = document.ranglisteform.rangliste.selectedIndex;
location.href=document.ranglisteform.rangliste.options[number].value;
}

//funktionen für fremdlinks ausschreibungen
function jumpboxgym(){
var thebox=document.framecombogym
newwindow=window.open("")
newwindow.location=thebox.framecombogym1.options[thebox.framecombogym1.selectedIndex].value
thebox.framecombogym1.selectedIndex = 0;
}

//funktionen für fremdlinks ergebnisse
function jumpboxerg(){
var thebox=document.framecomboerg
newwindow=window.open("")
newwindow.location=thebox.framecomboerg1.options[thebox.framecomboerg1.selectedIndex].value
thebox.framecomboerg1.selectedIndex = 0;
}

//zentriertes fenster öffnen
var win = null;
function NewWindow(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}

