function oeffne(sprache)
{
 var hwnd;
 var breite;
 var hoehe;

 // Anpassungen für SOLID, Mitarbeiterverzeichnis (Intranet)
 // und SDE (Internet) der LHS
 // 05.02.2009 - Klaus Rauser - Haupt- und Persomnalamt Abt. 10-4.2

 // Automatische Spracherkennung nur durchführen, wenn die Sprache 
 // nicht schon über den Parameter übergeben wurde 
 // (2009-03-10 peter.bothe@cellent.de):
 if (!sprache) 
 {
  // Sprache falls Browser (Opera macht beides)
  if (navigator.appName=="Microsoft Internet Explorer")
  {
   sprache=navigator.userLanguage;
  }
  else
  {
   sprache=navigator.language;
  }
 }
 // Homeverzeichnis
 if (sprache=="en")
 {
  var homepath="http://www.stuttgart.de/stadtplan/html/en/";
 }
 else
 {
  var homepath="http://www.stuttgart.de/stadtplan/html/de/";
 }

 breite=screen.width;
 hoehe=screen.height;

 // Fenster Funktion open
 // left=0 -> Position ganz Links
 // top=0  -> Position ganz Oben

 if (breite>='1280')
 {
  hwnd = open(homepath+"1280x1024.html", "cityguide", "left=0,top=0,directories=0,hotkeys=0,location=0,locationbar=0,menubar=0,personalbar=0,resizable=1,scrollbar=1,scrollbars=1,status=0,statusbar=0,titlebar=0,toolbar=0,resizable=1,width=1280,height=1024", 1280,1024);
 }
 else if (breite>='1024')
 {
  hwnd = open(homepath+"1024x768.html", "cityguide", "left=0,top=0,directories=0,hotkeys=0,location=0,locationbar=0,menubar=0,personalbar=0,resizable=1,scrollbar=1,scrollbars=1,status=0,statusbar=0,titlebar=0,toolbar=0,resizable=1,width=1024,height=768", 1024,768);
 }
 else if (breite>='800')
 {
  hwnd = open(homepath+"800x600.html", "cityguide", "left=0,top=0,directories=0,hotkeys=0,location=0,locationbar=0,menubar=0,personalbar=0,resizable=1,scrollbar=1,scrollbars=1,status=0,statusbar=0,titlebar=0,toolbar=0,resizable=1,width=800,height=600", 800,600);
 }
 else
 {
  hwnd = open(homepath+"640x480.html", "cityguide", "left=0,top=0,directories=0,hotkeys=0,location=0,locationbar=0,menubar=0,personalbar=0,resizable=1,scrollbar=1,scrollbars=1,status=0,statusbar=0,titlebar=0,toolbar=0,resizable=1,width=640,height=480", 640,480);
 }
 // Anpassungen im Fenster
if (navigator.appName == "Microsoft Internet Explorer")
{

}
else
{
 // u.a. für die Browser Mozilla und Firefox, Opera, Safari
 // Statusleiste JavaApplet wird ausgeblendet
 hwnd.resizeTo(screen.width,screen.height);
 // Das muss nachträglich kommen
 hwnd.moveTo(screen.width,screen.height);
}
 // Fenster in den Vordergrund
 hwnd.focus();
}
