/* tauschen der Bilder bei onMouseOver onMouseOut */
function Bildwechsel(Bildnr,Bildobjekt) {
 window.document.images[Bildnr].src = Bildobjekt.src;
}
/* schreiben der links */
/* Pfad = ""  Dateien im aufrufenden Verzeichnis */
/* Pfad = "../../" Dateien im übergeordneten Verzeichnis */
function link(Pfad, Anzeige) {
leer = new Image();
leer.src = Pfad+"leer.gif";     /* leeres Bild */
mit = new Image();
mit.src = Pfad+"mitRahmen.gif"; /* mit Rahmen */

/* hand made mit Filter */
document.write('<div style="position:absolute; top:132px; left:15px; width:150px;">');
if(Anzeige == "hmf")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="126" height="24" name="hmf">');	
else {
   document.write('<a href="'+Pfad+'hmf.htm" onMouseOver="Bildwechsel(1,mit)" onMouseOut="Bildwechsel(1,leer)">');
   document.write('<img src="'+Pfad+'leer.gif" width="126" height="24" name="hmf">');
   document.write('<\/a>');
}
document.write('<\/div>');

/* hand made ohne Filter */
document.write('<div style="position:absolute; top:155px; left:15px; width:150px;">');
if(Anzeige == "hof")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="126" height="24" name="hof">');	
else {
document.write('<a href="'+Pfad+'hof.htm" onMouseOver="Bildwechsel(2,mit)" onMouseOut="Bildwechsel(2,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="126" height="24" name="hof">');
document.write('<\/a>');
}
document.write('<\/div>');

/* Stopfer */
document.write('<div style="position:absolute; top:180px; left:15px; width:150px;">');
if(Anzeige == "stopf")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="126" height="24" name="stopf">');	
else {
document.write('<a href="'+Pfad+'stopf.htm" onMouseOver="Bildwechsel(3,mit)" onMouseOut="Bildwechsel(3,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="126" height="24" name="stopf">');
document.write('<\/a>');
}
document.write('<\/div>');

/* Galerie */
document.write('<div style="position:absolute; top:206px; left:15px; width:150px;">');
if(Anzeige == "gale")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="126" height="24" name="gale">');	
else {
document.write('<a href="'+Pfad+'gale.htm" onMouseOver="Bildwechsel(4,mit)" onMouseOut="Bildwechsel(4,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="126" height="24" name="gale">');
document.write('<\/a>');
}
document.write('<\/div>');

/* second hand mit Filter */
document.write('<div style="position:absolute; top:277px; left:15px; width:150px;">');
if(Anzeige == "smf")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="126" height="24" name="smf">');	
else {
document.write('<a href="'+Pfad+'smf.htm" onMouseOver="Bildwechsel(5,mit)" onMouseOut="Bildwechsel(5,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="126" height="24" name="smf">');
document.write('<\/a>');
}
document.write('<\/div>');

/* second hand ohne Filter */
document.write('<div style="position:absolute; top:300px; left:15px; width:150px;">');
if(Anzeige == "sof")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="126" height="24" name="sof">');	
else {
document.write('<a href="'+Pfad+'sof.htm" onMouseOver="Bildwechsel(6,mit)" onMouseOut="Bildwechsel(6,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="126" height="24" name="sof">');
document.write('<\/a>');
}
document.write('<\/div>');

/* Zubehor */
document.write('<div style="position:absolute; top:325px; left:15px; width:150px;">');
if(Anzeige == "zubeh")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="126" height="24" name="zubeh">');	
else {
document.write('<a href="'+Pfad+'zubeh.htm" onMouseOver="Bildwechsel(7,mit)" onMouseOut="Bildwechsel(7,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="126" height="24" name="zubeh">');
document.write('<\/a>');
}
document.write('<\/div>');

/* special des Monats */
document.write('<div style="position:absolute; top:358px; left:4px; width:150px;">');
if(Anzeige == "special")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="140" height="28" name="histo">');	
else {
document.write('<a href="'+Pfad+'special.htm" onMouseOver="Bildwechsel(8,mit)" onMouseOut="Bildwechsel(8,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="140" height="28" name="histo">');
document.write('<\/a>');
}
document.write('<\/div>');

/* historische Pfeifen */
document.write('<div style="position:absolute; top:393px; left:4px; width:150px;">');
if(Anzeige == "histo")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="140" height="28" name="histo">');	
else {
document.write('<a href="'+Pfad+'histo.htm" onMouseOver="Bildwechsel(9,mit)" onMouseOut="Bildwechsel(9,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="140" height="28" name="histo">');
document.write('<\/a>');
}
document.write('<\/div>');

/* Ausstellung */
document.write('<div style="position:absolute; top:428px; left:4px; width:150px;">');
if(Anzeige == "aus")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="140" height="28" name="aus">');	
else {
document.write('<a href="'+Pfad+'austell.htm" onMouseOver="Bildwechsel(10,mit)" onMouseOut="Bildwechsel(10,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="140" height="28" name="aus">');
document.write('<\/a>');
}
document.write('<\/div>');

/* Gastebuch */
document.write('<div style="position:absolute; top:458px; left:4px; width:150px;">');
document.write('<a href="http://two.guestbook.de/gb.cgi?gid=772177&amp;prot=ariwxi" onMouseOver="Bildwechsel(11,mit)" onMouseOut="Bildwechsel(11,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="140" height="28" name="guest">');
document.write('<\/a>');
document.write('<\/div>');

/* Kontakt */
document.write('<div style="position:absolute; top:485px; left:4px; width:150px;">');
if(Anzeige == "kontakt")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="140" height="28" name="kontakt">');	
else {
document.write('<a href="'+Pfad+'kontakt.htm" onMouseOver="Bildwechsel(12,mit)" onMouseOut="Bildwechsel(12,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="140" height="28" name="kontakt">');
document.write('<\/a>');
}
document.write('<\/div>');

/* agb */
document.write('<div style="position:absolute; top:513px; left:4px; width:150px;">');
if(Anzeige == "agb")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="140" height="28" name="agb">');	
else {
document.write('<a href="'+Pfad+'agb.htm" onMouseOver="Bildwechsel(13,mit)" onMouseOut="Bildwechsel(13,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="140" height="28" name="agb">');
document.write('<\/a>');
}
document.write('<\/div>');

/* links */
document.write('<div style="position:absolute; top:540px; left:4px; width:150px;">');
if(Anzeige == "link")
   document.write('<img src="'+Pfad+'mitRahmen.gif" width="140" height="28" name="links">');	
else {
document.write('<a href="'+Pfad+'link.htm" onMouseOver="Bildwechsel(14,mit)" onMouseOut="Bildwechsel(14,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="140" height="28" name="links">');
document.write('<\/a>');
}
document.write('<\/div>');

/* Presse oder Home */
document.write('<div style="position:absolute; top:568px; left:4px; width:150px;">');
if(Anzeige == "index") 
	document.write('<a href="'+Pfad+'presse.htm" onMouseOver="Bildwechsel(15,mit)" onMouseOut="Bildwechsel(15,leer)">');
else 
document.write('<a href="'+Pfad+'index.htm" onMouseOver="Bildwechsel(15,mit)" onMouseOut="Bildwechsel(15,leer)">');
document.write('<img src="'+Pfad+'leer.gif" width="140" height="28" name="PresseHome">');
document.write('<\/a>');
document.write('<\/div>');

}