var HEIM = "../archiv.htm";
var HOEHE = 0;
var wahl1 = 100;
var wahl2 = 200;

var WOHIN = "Vorwärts blättern zur Seite: ";
var WOHER = "Zurückblättern zur Seite: ";
var HIN = ""; var HER = "";
var LEER = "";
var ZURUECK = "";
var VORWAERTS = "";

var FA = "fa"; var SW = "sw";

var mydom="hjpech"+"."+"de";
var myvor="post.in.2009";

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 P = new Array("zurück","Home","Bibliographie","Anzeigen","Matrikel","Heimat","vorwärts");
var T = new Array("zurück","Home","biblio","anzeigen","matrikel","sauerw","vorwärts","archiv","datenbank");

var A = 0;
var today = new Date();
var wahl1 = (today.getSeconds()+ A ) % 11 ; A=A+120;
var wahl2 = (today.getSeconds()+ A ) % 11 ; A=A+120;

var TITEL = ""; var ART=0; var LINEAL=0; var DATUM=0;

var d=new Date(document.lastModified);
if(DATUM){if(DATUM == "ohne"){d=new Date()}};
var DAT=d.toLocaleString();

function Kopfzeile(TITEL,ART) {
//MenueTausch();
IE4Kopfzeile();
Ueberschrift(TITEL);

XXMenueLinks();

if(ART){Schrift(ART,1);};
if(ART==2 || ART==3){LINEAL=1;};
komplettSeite();
};

function MenueTausch() {
if (RUBRIK == 'Sauerwitz') 
  {HEIM = "../sauerw.htm";
    {if (parent.menue)
      {if (parent.menue.RUBRIK != 'Sauerwitz' || 
           parent.rand.href != '../pech/swrand.htm')
          {Wechseln("sw"); }
  } } }
  else
  {HEIM = "../archiv.htm";
    {if (parent.menue)
      {if (parent.menue.RUBRIK != 'Archiv' ||
           parent.rand.href != '../pech/farand.htm')
          {Wechseln("fa"); }
} } }  
}; 


function Wechseln(rahmen){

parent.rand.location.href = "../pech/"+rahmen+"rand.htm";
parent.menue.location.href = "../pech/"+rahmen+"menue.htm";
};

function IE4Kopfzeile(){
document.write('<div id="hgo" style="height:53px; min-width:600px; margin:0px; width:100%;">'+
 '<div style="width:560px; float:right; margin:15px 8px 0 53px; height:20px;">'+
 '<div class="top1"><a href=" '+ZURUECK+' " onmouseover="return show(WOHER+HER)" onmouseout="if(show){show(LEER)}" title="'+WOHER+'&#013;&#010; '+HER+'">zurück</a></div>'+
 '<div class="top"><a href="../../" target="_top" onmouseover="return show(H)">Home</a></div>');
if(top.SW){document.write(
 '<div class="top"><a href="../m/inhalt_4.htm" onclick="menuerand(SW)" onmouseover="show(S)">Heimat</a></div>');};
document.write(
 '<div class="top"><a href="../m/inhalt_1.htm" onclick="menuerand(FA)" onmouseover="show(F)">Bibliographie</a></div>'+
 '<div class="top"><a href="../m/inhalt_2.htm" onclick="menuerand(FA)" onmouseover="show(F)">Anzeigen</a></div>'+
 '<div class="top"><a href="../m/inhalt_3.htm" onclick="menuerand(FA)" onmouseover="show(F)">Matrikel</a></div>');
if(!top.SW){document.write(
 '<div class="top"><a href="../m/inhalt_4.htm" onclick="menuerand(SW)" onmouseover="show(F)">Heimat</a></div>');};
if(parent.rand){document.write(
 '<div class="top"><a href="javascript:zeigeFAMenue();" onmouseover="zeigeMenue(1000); return show(F)" onblur="blur" title="Menue ändern">Menue</a></div>');};
document.write(
 '<div class="top"><a href=" '+VORWAERTS+' " onmouseover="return show(WOHIN+HIN)" onmouseout="if(show){show(LEER)}" title="'+WOHIN+'&#013;&#010; '+HIN+'">vorwärts</a></div>'+
 '<div class="top" style="padding-left:2px;">&#160;</div>'+
 '</div><img src="../x/style/ecke.gif" hspace="0" align="left" style="position:absolute; top:-2px; left:0; margin:0px; height:50px; width:35px;" alt="" />');
 
var yy = 40; var xx = 23; // if (B_NS6) {yy = 129;} ; if (OP) {xx = 23;} ;

document.write('</div>'+
 '<div id="verdeckt" style="position:absolute; top:'+ yy +
 'px; left:'+ xx +'px; line-height:10px; background-color:#ffffff;">'+
 '<img src="../x/nix.gif" height="10" width="30" border="1" /></div>');

};

function Ueberschrift(TITEL){

if(TITEL){
document.write('<div style="margin-left:45px; margin-top:10px; text-align:center;">'+
 '<div style="display:block; width:90%; min-width:320px; margin-left:auto; margin-right:auto;  border-color:#009000; border-style:double; border-width:4pt; padding:3px;">'+
 '<div style="background-color:#009000; height:58px;"><img src="../x/'+T[TITEL]+'.gif" border="1" vspace="8"></div></div></div>');
}};


function Fusszeile(SML,ART) {
 if(SML==5){
document.write ('<div id="clickme" style="position:absolute; top:'+flypoint[wahl1]+'px; left:'+flypoint[wahl2]+'px; ">'+
 '<a href="'+VORWAERTS+'" onmouseover="show(WOHIN+HIN)" onmouseout="return show(LEER)" >'+
 '<img name="fly" src="../x/butflyer.gif" border="0" alt="weiterblättern" title="weiterblättern"/></a></div>'); };

if(HOEHE){ if(window.innerHeight>=780){ var abstand = window.innerHeight-HOEHE;
document.write('<div style="display:block; height:'+ abstand +'px;"></div>');}};

document.write(
 '<div class="seitenende" style="clear:both; height:50px; margin-top:20px; text-align:center;" onmouseover="mitLinie(0)">'+
 '<hr noshade="noshade" align="left" width="98%" /><div class="hp" style="margin:20px auto;">'+
 '<img src="../x/kleeblatt.gif" align="right" vspace="21" hspace="49" border="0" name="Kleeblatt" alt="Kleeblatt" />'+
 '<br clear="all" /><img src="../x/fasuett.gif" name="Familienarchiv" alt="Familienarchiv" /></div>'+

 '<div id="fa6" style="display:block; width:252px; margin:0 auto;"><span class="rot">'+
 '|<a href=" '+ ZURUECK +' " onmouseover="return show(WOHER+HER)" onmouseout="return show(LEER)" title="'+WOHER+'&#013;&#010; '+HER+'">zurück</a>'+
 '|<a href=" '+HEIM+' " target="_top">Home</a>'+
 '|<a href="../m/menueges.htm">Gesamtverzeichnis</a>'+
 '|<a href=" '+ VORWAERTS +' " onmouseover="return show(WOHIN+HIN)" onmouseout="return show(LEER)" title="'+WOHIN+'&#013;&#010; '+HIN+'">vorwärts</a>|<br />'+
 '|<a href="../a/eintrag.htm">Bitte um Benachrichtigung</a>'+
 '|<a href="../a/impress.htm">Impressum</a>|<br />'+
 '|<a href="mailto:email@familienarchiv-pech.de">Mitteilung an das Familienarchiv</a>|</span></div>'+
 
 '<hr noshade align="left" width="98%" /></center><div id="hl7" style="height:30px; text-align:right; color:#666666;">');

 if(XHTML){document.write('<img src="../x/x/valid.png" usemap="#valide" style="float:left; margin-top:-2px;" /><map id="valide" name="valide">'+
 '<area shape="rect" coords="1,1,79,16" href="http://validator.w3.org/check/referer" target="_blank" alt="Valid&#160; XHTML 1.0 Transitional" title="Valid&#160; XHTML 1.0 Transitional" />'+
 '<area shape="rect" coords="84,1,163,16" href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" alt="CSS 2.1 valide!" title="CSS 2.1 valide!"/>'+
 '<area shape="rect" coords="167,1,200,16" href="http://users.skynet.be/mgueury/mozilla/" target="_blank alt="Validated by HTML Validator" title="Validated by HTML Validator" /></map>');};

 if(document.lastModified){
document.write('Letzte Aktualisierung am '+ DAT);
   }else{
document.write('Stand: ' + STAND);}
document.write(' - &#169; 2001-2010 <a href="../p/hjpech.htm" target="_blank" style="color:#666666;" onmouseover="show(H)">Hans-Joachim Pech</a>'+
 '- <a href="mailto:'+myvor+'&#64;'+mydom+'" style="padding:0;">'+
 '<img src="../x/x/mpo.png" class="adro" align="top" alt="" /></a></div>'+

 '<div style="position:absolute; top:0; left:0;"><img src="../x/pfeilrechts.png" alt="Pfeil nach rechts" /></div>');

 var zeigemenue=1;

 if(parent.rand){
    if(!top.gezeigt)
       {Menue();
     window.setTimeout("zeigemenue=0",2000);};
     top.document.gezeigt = 1;}


var breite=0;
if(ART==2)
  {breite=(typeof document.body.offsetWidth != 'undefined')?document.body.offsetWidth:document.window.innerWidth;

   document.writeln("<div id='hLinie' name='Linie' style='visibility:hidden; top:100px;'>&#160;</div>");
// document.getElementById('hLinie').style.left=(document.body.scrollLeft+80)+"px";
// document.getElementById('hLinie').style.width=(breite -80)+"px";
};

 if(ART){setSchrift(ART,2);};

}; // Ende Fusszeile



function eigenFrame() {
 if(top != self)
 {var host=parent.location.hostname;
  if (host != "") 
     {var eigene = top.location.href.indexOf("hermannslauf.de");
     if (eigene == -1) {top.location=parent.self.location; }
}}};

function komplettSeite () {

if(top.frames.length==0){var verzeichnis="/sauerwitz";
 if(window.location.hostname=="www.sauerwitz.de"){verzeichnis="";};
 document.write ('<div style="padding-left:85px; margin-top:10px;">Diese Seite ist Teil eines Framesets. '+
 'Damit das Menue erscheint, wenn man mit dem Curser nach links geht, bitte die komplette Seite aufrufen: '+
 '<a href="http://'+window.location.hostname+verzeichnis+'/seiten/menue.php?Ziel='+window.location.href+'" target="_top">komplette Seite</a>.</div>'
  
  );
}};

// Stand: 02.03.2010 Hans-Joachim Pech

