function blank(url)
{
 MeinFenster =
 window.open(url, "bsv", "width=620,height=400,scrollbars");
 MeinFenster.focus();
}

function surfto(form) 
{
  var myindex = form.select1.selectedIndex;
  if (form.select1.options[myindex].value != "0")
  {
    location = form.select1.options[myindex].value;
  }
}

function hitliste() 
{ 
  top.name = "main_window"; 
  var popupURL = "/cgi-bin/hitliste/hitliste.pl"; 
  var popup = window.open(popupURL,"neuesfenster",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=360,height=500'); 
  if( navigator.appName.substring(0,8) == "Netscape" ) 
  { 
    popup.location = popupURL; 
    popup.opener = self; 
  } 
} 

function popup(popupURL,breite,hoehe) 
{ 
  var param = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0,width='+ breite +',height='+ hoehe +'';
  var win = window.open(popupURL,"neuesfenster",param);
  if( navigator.appName.substring(0,8) == "Netscape" ) 
  { 
    win.location = popupURL; 
    win.opener = self; 
  } 
} 

function terminplaner() 
{ 
  top.name = "main_window"; 
  var popupURL = "/terminplaner/index.html"; 
  var popup = window.open(popupURL,"neuesfenster",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=360,height=500'); 
  if( navigator.appName.substring(0,8) == "Netscape" ) 
  { 
    popup.location = popupURL; 
    popup.opener = self; 
  } 
} 

function formHandler()
{
var URL = document.navform.navsite.options[document.navform.navsite.selectedIndex].value;
window.location.href = URL;
}

function pop(dateiname,titel,breite,hoehe) {
  if(window.screen) {
    if(screen.width<breite) breite=screen.width;
    if(screen.height<hoehe) hoehe=screen.height;
  }
  F = window.open('','pop','width='+breite+',height='+hoehe+',top=0,left=0,scrollbars=yes');
  F.document.write('<html><head><title>Berliner Schachverband - '+titel+'</title></head><body style="margin:0;padding:0;">');
  F.document.write('<img src="'+dateiname+'" style="cursor:pointer" alt="'+titel+'" />');
  F.document.write('</body></html>');
}

function fenster(popupURL) 
{ 
  top.name = "main_window"; 
  var popup = window.open(popupURL,"neuesfenster",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=360,height=500'); 
  if( navigator.appName.substring(0,8) == "Netscape" ) 
  { 
    popup.location = popupURL; 
    popup.opener = self; 
  } 
} 
 