﻿var version = Number(navigator.appVersion.substr(0,1));

var mitmenue = 0;
var testdruck=0;
var HinweisFenster=0;

var hairColor="red"; 
var ZEIGER = 0;
var PRESSE = 0;
var RAHMEN = "";
var LEER = "";
var B_NS = 0, B_NS4 = 0, B_NS6 = 0;
var B_IE, B_IE4, B_IE5, B_IE6, B_IE7, B_IE8;

var hHair='';
var test=0;
var nachX=0;
var nachY=0;
var BLAETTERN;
var Linie="";
var mitLineal=1;

var schrift="";
var header="";
var schriftnr = 1;

var groesse = new Array(0,11,15,18,22,30);
var gross   = new Array(0,21,23,25,27,30);

var b = new Array();
b[0] = new Image(); b[0].src = "../x/bild/nix.gif";
b[1] = new Image(); b[1].src = "../x/bild/fly1.gif";
b[2] = new Image(); b[2].src = "../x/bild/fly2.gif";

var Flatter1 = new Image();
 Flatter1.src = "../x/butflyer.gif";
var Flatter2 = new Image();
 Flatter2.src = "../x/butfly2.gif";
var NIX = new Image(); 
 NIX.src = "../x/nix.gif";

var STRICH = new Image();
 STRICH.src = "../x/rahmen.gif";
 
var flypoint = new Array(50,100,150,200,250,300,350,400,450,500,550);
var flyoben = new Array(50,60,70,80,90,10,110,120,130,150,150);
var mydomar = new Array(104,99,101,112,106,104);
var hldomar = new Array(102,117,97,108,115,110,110,97,119,114,101,104);


var F = " www.familienarchiv-pech.de";
var S = " www.sauerwitz.de";
var L = LEER = " www.hermannslauf.de";
var WOHIN = " Vorwärts blättern zur Hermannslauf-Seite: ";
var WOHER = " Zurück blättern zur Hermannslauf-Seite: ";

function xxxshow (text) {
 
 var TEXT1 = text;
   if (TEXT1 != LEER)
    {if (BLAETTERN == "auto")
      {var DATEINR = eval (this.document.URL.slice(this.document.URL.search(/_+/)+1,
                       this.document.URL.search(/htm.+/)-3));
        {if (TEXT1 == HIN)
          {text = (TEXT1 + RUBRIK + " Nr." + (DATEINR+1));}
        else
          {text = (TEXT1 + RUBRIK + " Nr." + (DATEINR-1));}
      }}
       else
      {if (TEXT1 == HIN)
        {text = (TEXT1 + HIN); window.document.fly.src = Flatter2.src;}
        else
        {text = (TEXT1 + HER);}
  
  }}else { window.document.fly.src = Flatter1.src;};

  if (window.document.fly2)
    {if (TEXT1 == WOHIN)
      {window.document.fly2.src = Flatter2.src;}
      else
      {window.document.fly2.src = Flatter1.src;}
};

window.status=text;
return true; 
}

function show(text) {

  if (DOM && document.fly)
      {document.fly.src = (text==WOHIN+HIN)?b[2].src:b[1].src;}

  if (DOM && document.fly2)
      {document.fly2.src = (text==WOHIN+HIN)?b[2].src:b[1].src;}; 
  
  if (NS4 && document.clickme)
      {if (text==WOHIN+HIN) {document.clickme.document.fly.src = Flatter2.src; 
       }else{
       document.clickme.document.fly.src= Flatter1.src;}
 return true; }; 

window.status=text;
return true;
};


var ff1 = 0, ff2=0, ie4 = 0, ns4 = 0, nn4 = 0;
var MS0 = 0, MS1 = 0;
var RAND;
var TEST = "";
var ElementList;

   ff1 = ( navigator.userAgent.indexOf  ( "Firefox" ) >= 0 );
           var version = Number(navigator.appVersion.substr(0,1));
  if(version == 5){
   ff2 = ( navigator.userAgent.indexOf  ( "Firefox" ) >= 0 );};

function Adresse() {

document.write('<a href="mailto:mail&#64'+ hldom +'">&#160;E-Mail an&#160; '+ hldom +'&#160;</a><br />')
document.write('<a href="../a/impress.htm" target="rechts">&#160;Impressum&#160;</a><br /><br />')
document.write('&#160; &copy; 2001-2008&#160;<br />&#160; Hans-Joachim Pech&#160;<br />')
document.write('&#160;<a href="mailto:email&#64'+ mydom +'">&#160;email&#64' + mydom + '&#160;</a><br /><br />')
};

/* DHTML-Bibliothek */

var DHTML = false, DOM = false, MSIE4 = false, NS4 = false, OP = false, MSIE5 = false;

if (window.opera) {
  OP = true;
}

if (document.getElementById) {
  DHTML = true;
  DOM = true;
  if(document.all && !OP) {MSIE5 = true;};
} else {
  if (document.all) {
    DHTML = true;
    MSIE4 = true;
  } else {
    if (document.layers) {
      DHTML = true;
      NS4 = true;
    }
  }
}

 var modusNeu = 0, modusAlt = 0; 
if(typeof document.compatMode != 'undefined' && document.compatMode == 'CSS1Compat')
  {modusNeu = 1; if (!MSIE5 && !OP) {modusNeu = 2;}; if (OP) {modusNeu = 3;} if(ff2){modusNeu = 5;}};
if(typeof document.compatMode != 'undefined' && document.compatMode != 'CSS1Compat')
  {modusAlt = 1; if (!MSIE5 && !OP) {modusAlt = 2;}; if (OP) {modusAlt = 3;}};
 
if (NS4) {
document.write('<script src="/hl2000/x/ns4stil.js" type="text/javascript"></script>');
};

function getElement (Mode, Identifier, ElementNumber) {
  var Element;
  if (DOM) {
    if (Mode.toLowerCase() == "id") {
      if (typeof document.getElementById(Identifier) == "object") {
        Element = document.getElementById(Identifier);
      } else {
        Element = false;
      }
      return Element;
    }
    if (Mode.toLowerCase() == "name") {
      var ElementList = document.getElementsByName(Identifier);
      if (typeof ElementList == "object" || (OP && typeof ElementList == "function")) {
        Element = ElementList[ElementNumber];
      } else {
        Element = false;
      }
      return Element;
    }
    if (Mode.toLowerCase() == "tagname") {
      ElementList = document.getElementsByTagName(Identifier);
      if (typeof ElementList == "object" || (OP && typeof ElementList == "function")) {
        Element = ElementList[ElementNumber];
      } else {
        Element = false;
      }
      return Element;
    }
    return null;
  }
  if (MSIE4) {
    if (Mode.toLowerCase() == "id") {
      if (typeof document.all[Identifier] == "object") {
        Element = document.all[Identifier];
      } else {
        Element = false;
      }
      return Element;
    }
    if (Mode.toLowerCase() == "tagname") {
      if (typeof document.all.tags(Identifier) == "object") {
        Element = document.all.tags(Identifier)[ElementNumber];
      } else {
        Element = false;
      }
      return Element;
    }
    if (Mode.toLowerCase() == "name") {
      if (typeof document[Identifier] == "object") {
        Element = document[Identifier];
      } else {
        Element = false;
      }
      return Element;
    }
    return false;
  }
  if (NS4) {
    if (Mode.toLowerCase() == "id" || Mode.toLowerCase() == "name") {
      if (typeof document[Identifier] == "object") {
        Element = document[Identifier];
      } else {
        Element = false;
      }
      return Element;
    }
    if (Mode.toLowerCase() == "index") {
      if (typeof document.layers[Identifier] == "object") {
        Element = document.layers[Identifier];
      } else {
        Element = false;
      }
      return Element;
    }
    return false;
  }
  return false;
}

function getContent (Mode, Identifier, ElementNumber) {
  var Content;
  var Element = getElement(Mode, Identifier, ElementNumber);
  if (!Element) {
    return false;
  }
  if (DOM && Element.firstChild) {
    if (Element.firstChild.nodeType == 3) {
      Content = Element.firstChild.nodeValue;
    } else {
      Content = "";
    }
    return Content;
  }
  if (MSIE4) {
    Content = Element.innerText;
    return Content;
  }
  return false;
}

function getAttribute (Mode, Identifier, ElementNumber, AttributeName) {
  var Attribute;
  var Element = getElement(Mode, Identifier, ElementNumber);
  if (!Element) {
    return false;
  }
  if (DOM || MSIE4) {
    Attribute = Element.getAttribute(AttributeName);
    return Attribute;
  }
  if (NS4) {
    if (typeof Element[ElementNumber] == "object") {
      Attribute = Element[ElementNumber][AttributeName];
    } else {
      Attribute = Element[AttributeName]
    }
    return Attribute;
  }
  return false;
}

function setContent (Mode, Identifier, ElementNumber, Text) {
  var Element = getElement(Mode, Identifier, ElementNumber);
  if (!Element) {
    return false;
  }
  if (DOM && Element.firstChild) {
    Element.firstChild.nodeValue = Text;
    return true;
  }
  if (MSIE4) {
    Element.innerText = Text;
    return true;
  }
  if (NS4) {
    Element.document.open();
    Element.document.write(Text);
    Element.document.close();
    return true;
  } return false;
};


/* Navigation */


var mausposition=0;
var zeigemenue=0;
var NavLinksPos=0;
var menueModus=5;

var f = top.document.getElementById("aufteilung");
var fb = "";
var FAMenue=1;

 if(top != self){
 if(top.swmenue >= 1){
 f=top.document.getElementById("aufteilung");
 fb = f.cols.split(",");
 menueModus=fb[0]>=30?5:1;}};

function wMenue(){
 if(parent.rand){
 fb = f.cols.split(","); if(MSIE5 && fb[0] >= 1000){fb[0]=fb[0] / 100;};
 FAMenue=(fb[0]<=33)?0:1;
 menueModus=fb[0]>=35?5:1;};
};

wMenue();

function zeigeMenue(dauer) { 
 if(!dauer){dauer=500;};
 wMenue();
 menueModus=fb[0]>=30?5:1;
 zeigemenue=1;
 if(menueModus != 5){
 menueModus=4;
 handleMove;
 window.setTimeout("zeigemenue=0",dauer);}
 top.gezeigt = 1;
};

 function zeigeFAMenue() {
 wMenue();
 if(fb[0]<=35){
 menueModus=0;
 noMenue();
 menueModus=5;
 f.setAttribute("cols", "200, *");
}else{
 menueModus=3;
 f.setAttribute("cols", "27, *");
 window.setTimeout("zeigemenue=0",500);
}};

function Menue() {
  wMenue();
  if(!FAMenue){
    if(modusNeu == 1 || modusNeu == 3)
     {getElement("id", "Nav").style.top = (document.documentElement.scrollTop + 70)+"px";}
   else if(modusNeu >= 2)
     {getElement("id", "Nav").style.top = (window.pageYOffset + 70)+"px";}

   else if (typeof window.pageYOffset == "number") {
    if (NS4) {
      getElement("id", "Nav").top = window.pageYOffset + 70;
    } else {
      getElement("id", "Nav").style.top = window.pageYOffset + 70;
    }
  } else {
    if (typeof document.body.scrollTop == "number")
      getElement("id", "Nav").style.top = document.body.scrollTop + 70;
  }
  if (OP && !DOM)
    getElement("id", "NavLinks").style.pixelTop = NavLinksPos;
  if (NS4) {
    getElement("id", "Nav").visibility = "show";
  } else {
    getElement("id", "Nav").style.visibility = "visible";
  }
}};

function noMenue () {
 
 if (menueModus <= 2 || FAMenue){
 if (NS4) {
    getElement("id", "Nav").visibility = "hide";
  } else {
    getElement("id", "Nav").style.visibility = "hidden";
  }};
}

function handleMove (ev) { 
  if (!ev){ev = window.event;};
  mausposition = (ev.pageX)? ev.pageX : ev.clientX;
 if (mausposition <= 120 || zeigemenue == 1) {
      Menue(); if(menueModus==4){menueModus=3;};
  } else {
    if (mausposition > 250) {
      if(menueModus == 3){menueModus=2; zeigeMenue(1000);}else{noMenue();}};
    }
}

function Event_init () {
  if (document.addEventListener) {
    document.addEventListener("mousemove", handleMove, true);
  } else {
    if (NS4) {
      document.captureEvents(Event.MOUSEMOVE);
      document.onmousemove = handleMove;
    } else {
      document.body.onmousemove = handleMove;
    }
  }
  if (OP && !DOM) {
    NavLinksPos = 70; // Position des Bereiches NavLinks
    getElement("id", "NavLinks").style.pixelTop = NavLinksPos;
  }
};

/* Bewegungen */


function gotoPageTop() {
 window.scrollTo(0,0);
};

function getBrowserType(){
var version = Number(navigator.appVersion.substr(0,1));

 if(version >= 4){
   ie4 = ( navigator.appName.indexOf ( "Microsoft" ) >= 0 );
   ns4 = ( navigator.appName.indexOf  ( "Netscape" ) >= 0 );}

   ff1 = ( navigator.userAgent.indexOf  ( "Firefox" ) >= 0 );
   B_NS6 = ( navigator.userAgent.indexOf  ( "Netscape6" ) >= 0 );

B_IE4 = (navigator.appVersion.indexOf ( "MSIE 4.0" ) >= 0 );
B_IE5 = (navigator.appVersion.indexOf ( "MSIE 5.5" ) >= 0 );
B_IE6 = (navigator.appVersion.indexOf ( "MSIE 6.0" ) >= 0 );
B_IE7 = (navigator.appVersion.indexOf ( "MSIE 7.0" ) >= 0 );

var B_IE = null;
if (window.navigator.appName == "Microsoft Internet Explorer") {
   if (document.documentMode) {B_IE8=1;
      // Internet Exploter 8
      B_IE = document.documentMode;}};


 if ( ns4 && (version == 4)){nn4="1";}

 if (ns4) {B_NS = 1};
 if(ns4 && version <= 4){B_NS4 = 1};

 if (ie4) {B_IE4 = 1};

if (parent.frames[0]) {if 
   (parent.frames[0].name == "oben" && parent.frames[1].name == "unten")
  { RAHMEN = ("")} else {RAHMEN = (' target="_parent" ')}};
};

getBrowserType();

var eventX=0; var eventY=0;
var Xy=0;
var units = 2, dist, dx, dy, x, y;
var timerID = 0, endX, endY, oldX, oldY;
var version = "0";
var buttonX, buttonY, wegX = 0, wegY = 0, breitX = 0, hochY = 0;
var wegXX = 0, wegYY = 0, obenXX = 0, obenYY = 0;
var flyer = "", suffix = "";
var vorspann = ""; var prefix="";
var rRand = 0;

if(modusNeu >=1){vorspann = document.documentElement;};
rRand=(modusNeu==1)? 80:(modusNeu==2)? 104:97;

 
function setupFly() {
if(document.getElementById) {
   flyer = document.getElementById('clickme');
   flyer.src = b[2].src;
   flyer.src = b[1].src;
 
if(LINEAL==1){ 
   Linie = document.getElementById('hLinie');
   Linie.style.position="absolute";
   Linie.style.top="100px";
   Linie.style.width="100px";
   Linie.style.left=(document.body.scrollLeft+70)+"px";
   Linie.style.visibility="hidden";
};


if(modusNeu==5) {eventX = 'e.clientX'; eventY = 'e.clientY';}else{
if(document.captureEvents) {eventX = 'e.pageX'; eventY = 'e.pageY';}else{
 eventX = 'event.clientX'; eventY = 'event.clientY';}};

buttonX = 'flyer.style.left'; buttonY = 'flyer.style.top';

if(modusNeu>=1) {suffix = 'document.documentElement.';
  }else{if(document.body){suffix = "document.body.";}};

   wegX = suffix+'scrollLeft'; wegY = suffix+'scrollTop';

if(modusNeu==1) {suffix = 'document.documentElement.';
  }else{if(document.body){suffix = "document.body.";}};

   breitX = suffix.offsetWidth;
   hochY =  suffix.offsetHeight;
   
document.onmousemove = trackMouse;
document.body.onscroll=trackMouse; 

}};

function trackMouse(e) { 
var YY=0;

nachX = eval(eventX); nachY = eval(eventY);

if(LINEAL==1){var breite=0;
   YY = (modusNeu==1||modusNeu==5)? eval(wegY) + nachY:nachY;
   Linie.style.top = (YY-10) + "px";
  
breite=window.innerWidth?window.innerWidth-rRand:document.body.clientWidth-rRand;
  Linie.style.width=(breite-10)+"px";

  var YYY=(LINEAL==1)?222:402; // AB 352 oder 472 mit Hinweis
                                  if(modusNeu==1 && LINEAL==1){YYY=YYY-13;};

 if(YY > YYY && mitLineal==1){Linie.style.visibility="visible";}else{Linie.style.visibility="hidden";}

 };

{if (nachX > 90 )
{wegXX=eval(wegX);  endX = nachX + wegXX - 50;}
else {endX = 40}};

{if (nachY > 55 )
{wegYY=eval(wegY);
if(modusNeu==2 || modusAlt==2 || OP) {wegYY=0;};

endY = nachY + wegYY - 10;}
else {endY = 45}};
if( endX != oldX || endY != oldY )
 {oldX = endX; oldY = endY;
  if( timerID != 0 )
  {window.clearInterval(timerID);
  timerID = 0;}
  else {
  x = eval(buttonX);
  x = parseInt(x);
  
  y = eval(buttonY);
  y = parseInt(y);
  dx = endX - x;
  dy = endY - y;
dist = Math.sqrt( dx*dx + dy*dy );
  dx = units * dx / dist;
  dy = units * dy / dist;
timerID = window.setInterval("startMoving()",1000);}
}
};

function startMoving() { 
window.clearInterval(timerID);
 timerID = window.setInterval ("moveButton()",40);
};

function moveButton() {
if( dist < units )
{window.clearInterval(timerID);
timerID = 0;	}
  else
{  dist -= units;
  x += dx; y += dy;
if(document.getElementById) 
  {
  flyer.style.left = x + "px";
  flyer.style.top  = y + "px";
}else{
  eval( buttonX + "=" + x );
  eval( buttonY + "=" + y );}} 
};

function BrowserAktuell() {
   {if (DOM && MSIE4) {document.write ('Dies ist die Anzeige für den Internet Explorer!')}};
   {if (NS4) {document.write ('<p id="hl5b">Dies ist die modifizierte Anzeige für den Netscape Navigator 4!</p>')}};
   {if (DOM && !MSIE4) 
     {document.write ('Dies ist die Anzeige für den Netscape Navigator 6!')}};
   {if (!DOM) {if (!NS4)
    {document.write ('Browser wurde nicht identifiziert.<br>Dies ist die Anzeige für den Internet Explorer!');}}}
};


var L = LEER = " www.hermannslauf.de";
var H = " www.hermannslauf.de";
var S = " Eine weitere Seite von www.hermannslauf.de";
var A = " www.anmeldung.hermannslauf.de";
var W = " Wir unterstützen den Hermannslauf.";
var WOHIN = " Vorwärts blättern zur Hermannslauf-Seite: ";
var WOHER = " Zurück blättern zur Hermannslauf-Seite: ";


function farbW(feld,aktion) { var newColor, newbgColor;
 if (aktion == "d"||aktion == 1) {newColor = '#ffffff';newbgColor = '#0000ff';}
 if (aktion == "r"||aktion == 2) {newColor = '#000000';newbgColor = '#ffffff';}
 if (aktion == "u"||aktion == 3) {newColor = '#ffffff';newbgColor = '#ff0000';}
 if (aktion == "c"||aktion == 4) {newColor = '#ffffff';newbgColor = '#00ff00';}
 if (aktion == "f"||aktion == 5) {newColor = '#000000';newbgColor = 'yellow';}

 feld.style.color = newColor;
 feld.style.backgroundColor = newbgColor;
};

var hljahr = "";
var jahreswahl = "";
var zeilenot = "";
var adresse;

function Go(x) {
 swfa=(!x)?'sw':'fa';
 var auswahl=document.famenue.elements;
 var adresse = (auswahl[x].options[auswahl[x].options.selectedIndex].value);
 this.location.href = adresse; 
 document.famenue.reset();
 menuerand(swfa);
};


function menuerand(swfa){
if(parent.rand)
  {if(parent.rand.idname != swfa)
     {parent.frames[0].location.href = "../pech/"+swfa+"menue.htm";}};
};
 

function setup() {
// eigenFrame();
 setupFly();
 show(L);
 Event_init();
};


function Schrift(ART,Z) {

 document.write('<div id="lupe"><a href="javascript:setSchrift('+ART+',1);" style="width:10px; height:10px;" '+
  ' onmouseover="show(\'Schriftgröße ändern\')" onmouseout="show(L);"><img src="../x/lupe.gif" alt="größere Schrift" title="Schriftgröße ändern" '+
  ' onmouseover="Taste(this,1)" onmouseout="Taste(this,2);" onmousedown="Taste(this,3);" /></a></div>');
};


function setSchrift(ART,Z) {
 if(Z==2){schriftnr=top.schriftnr;}else{if(schriftnr<=4){schriftnr++;}else{schriftnr=1;}};

 header =gross[schriftnr]+"px"; schrift=groesse[schriftnr]+"px";

 if(document.getElementById("fa2")){document.getElementById("fa2").style.fontSize = header;};
 if(document.getElementById("zoomText")){document.getElementById("zoomText").style.fontSize = schrift;};

 if(document.getElementById("daten"))
   {var zeile = document.getElementById("daten").getElementsByTagName("tr");
    for (var i = 0; i < zeile.length; i++) {zeile[i].style.fontSize = schrift;}};
 
 top.schriftnr = schriftnr;
};



function XXXsetSchrift(ART,Z) {

// if(modusNeu==1){breite=parent.menue.document.body.clientWidth;}else{breite=parent.menue.innerWidth;};

// breite=parent.menue.document.body.clientWidth; //IE
// breite=parent.menue.innerWidth; //MZ

 if(Z==2){schriftnr=top.schriftnr;};
 {if(Z==1){ if(schriftnr<=4){schriftnr++;}else{schriftnr=1;}}};
   
 header = titel[schriftnr]+"px";
 schrift= groesse[schriftnr]+"px";
 absatz= mittel[schriftnr]+"px";alert(absatz);
 
 if(ART==4) {document.getElementById("dbabfrage").style.fontSize = schrift;};


 if(document.getElementById("zoomText")) {document.getElementById("zoomText").style.fontSize = schrift;};
 if(document.getElementById("fa2")) {document.getElementById("fa2").style.fontSize = header;};
 if(ART==1 ) {
    if(document.getElementById("biblio")){
       var zeile = document.getElementById("biblio").getElementsByTagName("tr");
       for (var i = 0; i < zeile.length; i++) {zeile[i].style.fontSize = schrift;};
}};
 
 top.schriftnr = schriftnr;
};


function Taste(A,B) {

var farbe=(B==1)? 'red': (B==2)? 'green':'yellow';
var hinweis=(B==1)? 'größere Schrift': (B==2)? 'L':'L';
A.style.backgroundColor=farbe;
if(frames[1]){document.rechts.focus();};
};

// 21.08.2006 Hans-Joachim Pech

function newsFenster(Inhalt,hoehe,breite) {if(x==0){x=460;}; if(y==0){y=280;};
 var Fenster=window.open(Inhalt,"NewsFenster","width="+breite+",height="+hoehe+",dependent=yes");
 Fenster.focus(); HinweisFenster=1;
};

function tastenHover() {

	var tasten = document.getElementsByTagName('input');
	for ( var i = 0; i < tasten.length; i++ ) {
		if ( 'taste'  != tasten[i].className && 
		     'tasteb' != tasten[i].className && 
		     'menue'  != tasten[i].className) {continue;}
		    if ( navigator.appName == 'Microsoft Internet Explorer' || 'Netscape') {
	        // but only for IE, other browsers are handled by :hover in css

			tasten[i].onmouseover = function() {
			    this.className += ' hover'; }
			tasten[i].onmouseout = function() {
			    this.className = this.className.replace(' hover','');}
}
			tasten[i].onmousedown = function() {
			    this.className += ' down';}
}};


// Stand: 23.04.2008 Hans-Joachim Pech


function HinHer(richtung) {
var DATEIANFANG = document.URL.slice(0,document.URL.search(/_.+/)+1);
var DATEINR = eval (document.URL.slice(document.URL.search(/_.+/)+1,
                    document.URL.search(/htm.+/)-3));

 if (!HER) {HER = RUBRIK+" "+(DATEINR-1);}
 if (!HIN) {HIN = RUBRIK+" "+(DATEINR+1);};


    if (richtung == WOHIN || richtung == "hin") {HER = RUBRIK+" "+DATEINR; return (DATEIANFANG + (DATEINR+1) + ".htm");}
    if (richtung == WOHER || richtung == "her") {HIN = RUBRIK+" "+DATEINR; return (DATEIANFANG + (DATEINR-1) + ".htm");}

return ("");};


function mitLinie(X){
if(Linie){
   if(X==1){Linie.style.visibility="visible"; LINEAL=1;}
   else {Linie.style.visibility="hidden"; LINEAL=0;}}
};

// Stand: 07.07.2009 Hans-Joachim Pech

function VorundZurueck(){
var DATEIANFANG = document.URL.slice(0,document.URL.search(/_.+/)+1);
var DATEINR = eval(document.URL.slice(document.URL.search(/_.+/)+1,document.URL.search(/htm.+/)-3));

ZURUECK = DATEIANFANG + (DATEINR-1) + ".htm"; HER = RUBRIK +" Teil "+ (DATEINR-1);
VORWAERTS = DATEIANFANG + (DATEINR+1) + ".htm"; HIN = RUBRIK +" Teil "+ (DATEINR+1);
};


// Stand: 20.10.2009 Hans-Joachim Pech

function setFramesetCols (cols) {
  if (document.all || document.getElementById) { // DOM support
    document.body.cols = cols;
    document.body.rows = '';
}};

// Stand: 27.03.2011 Hans-Joachim Pech

