function navi (zustand,level)
{
 document.write("<div id='oben'></div>");
 if (level == 0)
 {
  if (zustand == 1) document.write("<a href='taktools.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Startseite</a>");
  else document.write("<a href='taktools.html'>Startseite</a>");
  if (zustand == 2) document.write("<a href='programme.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Downloads</a>");
  else document.write("<a href='programme.html'>Downloads</a>");
  if (zustand == 3) document.write("<a href='links.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Links</a>");
  else document.write("<a href='links.html'>Links</a>");
  if (zustand == 4) document.write("<a href='privat.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Privat</a>");
  else document.write("<a href='privat.html'>Privat</a>");
  if (zustand == 5) document.write("<a href='gaestebuch.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>G&auml;stebuch</a>");
  else document.write("<a href='gaestebuch.html'>G&auml;stebuch</a>");
  if (zustand == 6) document.write("<a href='impressum.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Impressum</a>");
  else document.write("<a href='impressum.html'>Impressum</a>");
 }
 if (level == 1)
 {
  if (zustand == 1) document.write("<a href='../taktools.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Startseite</a>");
  else document.write("<a href='../taktools.html'>Startseite</a>");
  if (zustand == 2) document.write("<a href='../programme.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Downloads</a>");
  else document.write("<a href='../programme.html'>Downloads</a>");
  if (zustand == 3) document.write("<a href='../links.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Links</a>");
  else document.write("<a href='../links.html'>Links</a>");
  if (zustand == 4) document.write("<a href='../privat.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Privat</a>");
  else document.write("<a href='../privat.html'>Privat</a>");
  if (zustand == 5) document.write("<a href='../gaestebuch.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>G&auml;stebuch</a>");
  else document.write("<a href='../gaestebuch.html'>G&auml;stebuch</a>");
  if (zustand == 6) document.write("<a href='../impressum.html' style='background-color:white;border-top:orange 1px solid;color:#0381C0'>Impressum</a>");
  else document.write("<a href='../impressum.html'>Impressum</a>");
 }
}

function progs ()
{
  document.write("<a href='takview/takview0.html' title='Dateimanager&#0013;&#0010;HPGL- und Grafikbetrachter&#0013;Grafikbearbeitung und vieles mehr....'>takView2</a>");
  document.write(" Dateimanager, Grafiken betrachten/bearbeiten, HPGL-Plotfile-Viewer, ZIP-Funktionen und mehr...<br>");
  document.write("<a href='tiletare/tiletare0.html' title='minimalistischer Spezialtaschenrechner&#0013;(minimalistisch in seiner Geometrie)....'>TiLeTaRe</a>");
  document.write(" Spezialtaschenrechner<br>");
  document.write("<a href='farblupe/farblupe0.html' title='Bildschirmlupe und&#0013;Farbpicker....'>Farblupe</a>");
  document.write(" Bildschirmlupe und Farbpicker<br>");
  document.write("<a href='rueschi/rueschi0.html'title='Beschriftungsprogramm&#0013;(nicht nur) für Rückenschilder....'>Rüschi</a>");
  document.write(" Rückenschildbeschriftungsprogramm<br>");
}

function machefuss(level)
{
 if (level == 0) document.write("<div id='fussz'><a href='taktools.html'>Startseite</a><a href='#oben'> | nach oben</a><a href='impressum.html'> | Impressum</a></div>")
 else document.write("<div id='fussz'><a href='../taktools.html'>Startseite</a><a href='#oben'> | nach oben</a><a href='../impressum.html'> | Impressum</a></div>")
}


/* BILDERGSCHICHTEN*/


function changepic(obj)
{
 var aktname = obj.src;
 var ti = aktname.search('t_');
 if (ti == -1) 
  {
   var neuname = aktname.replace(/g_/,"t_");  
  }
  else
  {
   var neuname = aktname.replace(/t_/,"g_");
  }  
 obj.src = neuname;
}

function changebigpic(obj)
{
 var aktname = obj.src;
 var ti = aktname.search('t_');
 if (ti == -1) 
  {
   var neuname = aktname.replace(/g_/,"t_");  
  }
  else
  {
   var neuname = aktname.replace(/t_/,"g_");
  }  
 document.getElementById("gross").src = neuname;
}

