function kursinfo(txt)
{
    var winKursInfo; // = null;
    if ((winKursInfo == null)||(winKursInfo.closed))
     { winKursInfo = window.open("../lernpfade/"+txt+"/?feature=kursInfo","Fenster_KursInfo","width=550,height=350,resizable=yes,status=no,menubar=no,scrollbars=yes,location=no");
       winKursInfo.opener = top;
       winKursInfo.focus();
     }
    else { winKursInfo.focus(); }
}

function unten()
{
document.write(
'    <!-- Start of lower area -->\n'+
'    <tr nowrap>\n'+
'     <td align="center" bgcolor="white">\n'+
'            <table width="100%" border="0" cellpadding="0" cellspacing="0">\n'+
'              <tr> \n'+
'                <td width="50%" valign="top" align="left"><font face="Arial,Helvetica,Sans-serif" size="-1"> \n'+
'                  <a href="../index.html">Welcome&nbsp;Page</a>'+
ressourcenuebersicht +
'<br>\n'+
'                  <a href="../galerie.html">Galerie</a><br>\n'+
'                  <a href="../mathint.html">Mathematische Hintergr&uuml;nde</a><br>\n'+
'                  <a href="../mathint/lexikon/index.html">Lexikon</a><br>\n'+
'                  <a href="../tests.html">Interaktive Tests</a> | <a href="../puzzles.html">Puzzle-Workshop</a><br>\n'+
'                  <a href="../links/index.html">Mathe-Links und Online-Werkzeuge</a><br>\n'+
'                  <a href="../untvorschl.html">Unterrichtsvorschl&auml;ge</a><br>\n'+
'                  <a href="http://www.mathe-online.at/dres/dres.html">Download-Ressourcen</a><br>\n'+
'                  <a href="../suchen.html">Suchen in mathe online</a></font></td>\n'+
'                <td width="50%" valign="top" align="left"><font face="Arial,Helvetica,Sans-serif" size="-1"> \n'+
'                  Open Studio: <a href="http://www.mathe-online.at/materialien/">Materialien</a> \n'+
'                  | <a href="http://www.mathe-online.at/lernpfade/">Lernpfade</a><br>\n'+
'                  <a href="http://www.mathe-online.at/monk/"><font color="#501C7B"><font color="#cc0000">m</font>athe \n'+
'                  <font color="#cc0000">o</font>nline <font color="#cc0000">n</font>etwor<font color="#cc0000">k</font></font></a> \n'+
'                  | <a href="../projekte.html">Projekt-Materialien</a><br>\n'+
'                  <br>\n'+
'                  <font face="Arial,Helvetica,Sans-serif" size="-1"><font face="Arial,Helvetica,Sans-serif" size="-1"><a href="http://www.mathe-online.at/Mathematica/">Rechnen \n'+
'                  mit Mathematica</a></font></font><br>\n'+
'                  <a href="javascript:launchRechner()">Mini-Rechner</a> | <a href="javascript:launchJavaCalc()">JavaCalc</a> | <a href="javascript:launchfplotter()">Funktions-Plotter</a><br>\n'+
'                  <a href="../symbole.html">Mathematische Symbole</a> | <a href="../formeln.html">Formelwerkzeug</a><br>\n'+
'                  <br>\n'+
'                  <a href="../services.html">Weitere Services</a> | <a href="../neu.html">Neu</a> \n'+
'                  | <a href="http://www.mathe-online.at/termine/">Terminkalender</a><br>\n'+
'                  <a href="../eval.html">R&uuml;ckmeldung</a> | <a href="../moemail.html">Kontakt</a> \n'+
'                  | <a href="../ueber.html">&Uuml;ber mathe online</a></font></td>\n'+
'              </tr>\n'+
'            </table>\n'+
'\n'+
'            </td>\n'+
'    </tr>\n'+
'    <!-- End of lower area -->\n'
);
}

function f2(abk)  // für Sek 2 + Uni
{
  if (document.location.href.indexOf('http://') == 0) 
  { document.location = './?s='+abk; } 
  else 
  { document.location = abk+'.html'; }
}

function f1(abk)  // für Sek 1
{
  if (document.location.href.indexOf('http://') == 0) 
  { document.location = './?s='+abk+'&sek=1'; } 
  else 
  { document.location = abk+'.html'; }
}

function andereSeite(abk,txt,sektxt)
{
  if (sektxt==1) { sekurl = "&sek=1"; } else { sekurl = ""; }  
  if (document.location.href.indexOf('http://') == 0) 
  { document.write('<a href="./?s='+abk+sekurl+'" class="h"><font color="#501C7B">'+txt+'</font></a>'); } 
  else 
  { document.write('<a href="'+abk+'.html" class="h"><font color="#501C7B">'+txt+'</font></a>'); }
}

function wEiTeReReSSouRcEn()
{
if (sek==1) { 
              wtr1 = "Ressourcen aus dem Open Studio"; wtr2 = "Um "+ wtr5 +" Ressourcen des"; wtr3 = "aufzulisten"; 
              wtr4 = ""; s1 = "&sek=1";
             }
else { 
       wtr1 = "Weitere Ressourcen"; wtr2 = "Um weitere Ressourcen des"; wtr3 ="einzuschlie&szlig;en";
       wtr4 = " (Dabei k&ouml;nnen &Uuml;berschneidungen mit den obigen Materialien auftreten).";
       s1 = "";
      }

document.write(
'<br>\n'+
'                    <! --- --- --- --- --- --- -->\n'+
'                    <font face="Arial,Helvetica,sans-serif" size="+1">'+
wtr1+
'<br>\n'+
'                    &nbsp;</font> \n'+
'                    <table width="95%" border="0" cellspacing="0" cellpadding="4">\n'+
'                      <!-- item -->\n'+
'                      <tr> \n'+
'                        <td align="right" valign="top" rowspan="3" width="8%"><font face="Arial,Helvetica,sans-serif" size="-1"><img src="bilder/b.gif" width="10" height="10" border="0" alt="">&nbsp;</font></td>\n'+
'                        <td align="left" valign="top" width="46%" bgcolor="#EAE2D4"><font face="Arial,Helvetica,sans-serif" size="-1">'+
wtr2
+' <a href="http://www.mathe-online.at/openstudio/" class="h" target="_blank"><font color="#501C7B">Open&nbsp;Studio</font></a> \n'+
'                          '+
wtr3+
', rufen Sie <a href="'+
'http://www.mathe-online.at/ressourcen/?s='+ s + s1 +
'" class="h">diese</a> \n'+
'                          (Online-)Seite auf.'+
wtr4+
'</font></td>\n'+
'                        <td align="left" valign="top" width="42%" bgcolor="#FFFFEE"><font face="Arial,Helvetica,sans-serif" size="-1" color="#007700">verschiedene \n'+
'                          Formate</font></td>\n'+
'                      </tr>\n'+
'                      <tr> \n'+
'                        <td align="left" valign="top" width="46%" bgcolor="#FFFFEE"><font face="Arial,Helvetica,sans-serif" size="-1" color="#999999"><i>BenutzerInnen \n'+
'                          des Open Studio</i></font><font face="Arial,Helvetica,sans-serif" size="-1"></font></td>\n'+
'                        <td align="left" valign="top" width="42%" bgcolor="#EAE2D4"><font face="Arial,Helvetica,sans-serif" size="-1"><font color="#000099">Ressourcen, \n'+
'                          die BenutzerInnen in den Open&nbsp;Studio-Bereichen \n'+
'                          </font><font face="Arial,Helvetica,sans-serif" size="-1"><font color="#000099"><a href="http://www.mathe-online.at/materialien/" class="h" target="_blank"><font color="#000099">Materialien</font></a></font></font><font color="#000099"> \n'+
'                          und </font><font face="Arial,Helvetica,sans-serif" size="-1"><font color="#000099"><a href="http://www.mathe-online.at/lernpfade/" class="h" target="_blank"><font color="#000099">Lernpfade</font></a></font></font><font color="#000099"> \n'+
'                          zur Verf&uuml;gung stellen.</font></font></td>\n'+
'                      </tr>\n'+
'                      <tr> \n'+
'                        <td align="left" valign="top" colspan="2"><img src="../grafiken/leer.gif" width="1" height="10" border="0" alt="" title=""></td>\n'+
'                      </tr>\n'+
'                      <!-- item -->\n'+
'                    </table>\n'+
'                    <! --- --- --- --- --- --- -->\n'
);
}

function abstand()
{
   if (navigator.appName.indexOf('Internet Explorer') == -1)
   { document.write('<img src="../grafiken/leer.gif" width="1" height="5" border="0" alt="" title="">'); }
}

function launchRechner()
{
    var winRechner; // = null;
    if ((winRechner == null)||(winRechner.closed))
     { winRechner = window.open("../rechner/rechner.html","Fenster_rechner","width=420,height=100,resizable=yes,status=no,menubar=no,scrollbars=no,location=no");
       winRechner.opener = top;
       winRechner.focus();
     }
    else { winRechner.focus(); }
}

function launchJavaCalc()
{
   var winJavaCalc;
   if ((winJavaCalc == null)||(winJavaCalc.closed))
   { winJavaCalc = window.open("../JavaCalc/jcintro.html",
                              "Fenster_JavaCalc",
                              "width=500,height=400,resizable=yes,status=yes,menubar=yes,scrollbars=yes,location=yes");
     winJavaCalc.opener = top;
     winJavaCalc.focus();
   }
   else { winJavaCalc.focus(); }
}

function launchfplotter()
{
    var fenster_fplotter;
    if ((fenster_fplotter == null)||(fenster_fplotter.closed))
     { fenster_fplotter = window.open("../fplotter/fplotter.html","Fenster_fplotter","width=763,height=530,resizable=yes,status=no,menubar=no,scrollbars=no,location=no");
       fenster_fplotter.opener = top;
       fenster_fplotter.focus();
     }
    else { fenster_fplotter.focus(); }
}

function aufrufen_GrapheN()
   {
    var GrapheN;
    if ((GrapheN == null)||(GrapheN.closed))
     {
       // if (navigator.appName!="Netscape")
       // GrapheN = window.open("../mathint/fun1/graphen/s.html","Window_GrapheN","width=468,height=397,resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       // else
       GrapheN = window.open("../mathint/fun1/graphen/s.html","Fenster_GrapheN","width=468,height=397,resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       GrapheN.opener = top;
       GrapheN.focus();
      }
    else { GrapheN.focus(); }
   }

function aufrufen_GrapheN2()
   {
    var GrapheN2;
    if ((GrapheN2 == null)||(GrapheN2.closed))
     {
       // if (navigator.appName!="Netscape")
       // GrapheN2 = window.open("../mathint/fun2/graphen2/s.html","Window_GrapheN2","width=468,height=397,resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       // else
       GrapheN2 = window.open("../mathint/fun2/graphen2/s.html","Fenster_GrapheN2","width=468,height=397,resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       GrapheN2.opener = top;
       GrapheN2.focus();
      }
    else { GrapheN2.focus(); }
   }

function aufrufen_GrapheN3()
   {
    var GrapheN3;
    if ((GrapheN3 == null)||(GrapheN3.closed))
     {
       // if (navigator.appName!="Netscape")
       // GrapheN3 = window.open("../mathint/fun2/graphen3/s.html","Window_GrapheN3","width=468,height=397,resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       // else
       GrapheN3 = window.open("../mathint/fun2/graphen3/s.html","Fenster_GrapheN3","width=468,height=397,resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       GrapheN3.opener = top;
       GrapheN3.focus();
      }
    else { GrapheN3.focus(); }
   }

function aufrufen_FehleR()
   {
    var FehleR;
    if ((FehleR == null)||(FehleR.closed))
     {
       FehleR = window.open("../galerie/grenz/fehler/fehler.html","Fenster_FehleR","width=510,height=450,resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       FehleR.opener = top;
       FehleR.focus();
      }
    else { FehleR.focus(); }
   }

function aufrufen_SchacH()
   {
    var SchacH;
    if ((SchacH == null)||(SchacH.closed))
     {
       SchacH = window.open("../galerie/spiel/schach/schach.html","Fenster_SchacH","width=760,height=500,resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       SchacH.opener = top;
       SchacH.focus();
      }
    else { SchacH.focus(); }
   }

function aufrufen_1415()
   {
    var p1415;
    if ((p1415 == null)||(p1415.closed))
     {
       p1415 = window.open("../galerie/spiel/14-15/14-15.html","Fenster_p1415","width=760,height=500,resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       p1415.opener = top;
       p1415.focus();
      }
    else { p1415.focus(); }
   }

function launchExcel(urltxt)
{
  // falls IE -> in eigenem Fenster öffnen
  if (navigator.appName.indexOf('Internet Explorer') != -1
     && navigator.userAgent.toLowerCase().indexOf("opera") == -1)
  {
    window.open(urltxt,"_blank");
  }
  // ansonsten -> im aktuellen Fenster öffnen
  else { document.location = urltxt; }
}

function launchWord(urltxt)
{
  // falls IE -> in eigenem Fenster öffnen
  if (navigator.appName.indexOf('Internet Explorer') != -1
     && navigator.userAgent.toLowerCase().indexOf("opera") == -1)
  {
    window.open(urltxt,"_blank");
  }
  // ansonsten -> im aktuellen Fenster öffnen
  else { document.location = urltxt; }
}

function launchURL(urltxt,nametxt,wi,he)
{
    var winL ; //= null;
    if ((winL == null)||(winL.closed))
     { winL = window.open(urltxt,nametxt,"width="+wi+",height="+he+",resizable=yes,status=no,menubar=no,scrollbars=no,location=no");
       winL.opener = top;
       winL.focus();
     }
    else { winL.focus(); }
}

function launchURL2(urltxt,nametxt,wi,he)
{
    var winL ; //= null;
    if ((winL == null)||(winL.closed))
     { winL = window.open(urltxt,nametxt,"width="+wi+",height="+he+",resizable=yes,status=no,menubar=no,scrollbars=yes,location=no");
       winL.opener = top;
       winL.focus();
     }
    else { winL.focus(); }
}

function launchURL3(urltxt,nametxt,wi,he)
{
    var winL ; //= null;
    if ((winL == null)||(winL.closed))
     { winL = window.open(urltxt,nametxt,"width="+wi+",height="+he+",resizable=yes,status=no,menubar=yes,scrollbars=no,location=no");
       winL.opener = top;
       winL.focus();
     }
    else { winL.focus(); }
}

