function Sichtbar() {

document.getElementById("menuswim").style.visibility = 'visible';

document.getElementById("menuchill").style.visibility = 'hidden';

document.getElementById("menuvor").style.visibility = 'hidden';

document.getElementById('swim').src='pics/Swim.png';

document.getElementById('chill').src='pics/Chillgrau.png';

document.getElementById('vorjahre').src='pics/Vorjahregrau.png';

}







function Sichtbar2(){

document.getElementById("menuswim").style.visibility = 'hidden';

document.getElementById("menuchill").style.visibility = 'visible';

document.getElementById("menuvor").style.visibility= 'hidden';

document.getElementById('swim').src='pics/Swimgrau.png';

document.getElementById('chill').src='pics/Chill.png';

document.getElementById('vorjahre').src='pics/Vorjahregrau.png';

}





function Sichtbar3() {

document.getElementById("menuswim").style.visibility = 'hidden';

document.getElementById("menuchill").style.visibility = 'hidden';

document.getElementById("menuvor").style.visibility= 'visible';

document.getElementById('swim').src='pics/Swimgrau.png';

document.getElementById('chill').src='pics/Chillgrau.png';

document.getElementById('vorjahre').src='pics/Vorjahre.png';

}



function Sichtbarvorjahre2009(){

document.getElementById("menu2009").style.visibility = 'visible';

document.getElementById("2009").className = 'aktiv';

}



function Unsichtbarvorjahre2009(){

document.getElementById("menu2009").style.visibility = 'hidden';

document.getElementById("2009").className = 'normal';

}



function Sichtbarvorjahre2010(){

document.getElementById("menu2010").style.visibility = 'visible';

document.getElementById("2010").className = 'aktiv';

}



function Unsichtbarvorjahre2010(){

document.getElementById("menu2010").style.visibility = 'hidden';

document.getElementById("2010").className = 'normal';

}



function Sichtbarvorjahre2011(){

document.getElementById("menu2011").style.visibility = 'visible';

document.getElementById("2011").className = 'aktiv';

}



function Unsichtbarvorjahre2011(){

document.getElementById("menu2011").style.visibility = 'hidden';

document.getElementById("2011").className = 'normal';

}



function Sichtbaranmeldung(){

document.getElementById("menuanmeldung").style.visibility = 'visible';

document.getElementById("anmeldung").className = 'aktiv';

}



function Unsichtbaranmeldung(){

document.getElementById("menuanmeldung").style.visibility = 'hidden';

document.getElementById("anmeldung").className = 'normal';

}







function menuwritingswim(){

document.write('<a href="index.html" class="normal">Startseite</a> | ')

 document.write('<a href="kontakt.html" class="normal">Kontakt</a> | ')

document.write('<font id="anmeldung" class="normal" onmouseover="Sichtbaranmeldung();" onmouseout="Unsichtbaranmeldung();">Anmeldung</font> | ')

document.write('<a href="ausschreibung.pdf" target="_blank" class="normal">Ausschreibung</a> | ')



}



function menuwritingchill(){

document.write('<a href="index.html" class="normal">Startseite</a> | <a href="kontakt.html" class="normal">Kontakt</a> | Genaue Infos über das Rahmenprogramm folgen!')

}



function menuwritingvorjahre(){

document.write('<a href="index.html" class="normal">Startseite</a> | ')

document.write('<a href="kontakt.html" class="normal">Kontakt</a> | ')

document.write('<font id="2011" class="normal" onmouseover="Sichtbarvorjahre2011();" onmouseout="Unsichtbarvorjahre2011();">Raiffeisen Schwimmevent 2011</font> | ')

document.write('<font id="2010" class="normal" onmouseover="Sichtbarvorjahre2010();" onmouseout="Unsichtbarvorjahre2010();">Raiffeisen Schwimmnacht 2010</font> | ')

document.write('<font id="2009" class="normal" onmouseover="Sichtbarvorjahre2009();" onmouseout="Unsichtbarvorjahre2009();">Twenty4Hours 2009</font> | ')

}



function menuwritingsponsoren(){

}



function menuwritingfusszeile(){

document.write('(c) by Stefanie Krechl | <a href="kontakt.html">Kontakt</a> | <a href="impressum.html">Impressum</a> |  <a href="sitemap.html">Sitemap</a>')

}



function highlightCurrentPageLink() {

var anzHrefs = document.getElementsByTagName("a").length;

for (var i = 0; i <= anzHrefs - 1; i++) {

if (document.getElementsByTagName("a")[i].href == document.location.href) {

var currentClassName = document.getElementsByTagName("a")[i].className;

var newClassName = currentClassName.replace(/normal/,"aktiv");

document.getElementsByTagName("a")[i].className = newClassName;

}

}

}



function mitwachsen () {

document.getElementById("bilder").style.height = (document.getElementById("positionierung").offsetHeight + 30) + 'px';

}



function bild() {

document.write('<img src="pics/bilderleiste/schwimmverein.jpg">')

document.write('<img src="pics/bilderleiste/bild3.JPG">')

document.write('<img src="pics/bilderleiste/kuf.jpg"> ')

document.write('<img src="pics/bilderleiste/bild2.JPG">')

document.write('<img src="pics/bilderleiste/logoraikaklein.jpg"> ')

document.write('<img src="pics/bilderleiste/doubrava.jpg"> ')

document.write('<img src="pics/bilderleiste/bild4.JPG">')

document.write('<img src="pics/bilderleiste/bild5.JPG">')

document.write('<img src="pics/bilderleiste/bild6.JPG">')
}



function untermenues() {

document.write('<div id="menu2009" onmouseover="Sichtbarvorjahre2009();" onmouseout="Unsichtbarvorjahre2009();"><a href="event2009.html">Das Event 2009</a> | <a href="ergebnisse2009.html">Ergebnisse</a> | <a href="fotos2009.html">Fotos</a> | <a href="presseberichte2009.html">Presseberichte</a> | <a href="videos2009.html">Videos</a></div>')

document.write('<div id="menu2010" onmouseover="Sichtbarvorjahre2010();" onmouseout="Unsichtbarvorjahre2010();"><a href="event2010.html">Das Event 2010</a> | <a href="ergebnisse2010.html">Ergebnisse</a> | <a href="fotos2010.html">Fotos</a> | <a href="presseberichte2010.html">Presseberichte</a> | <a href="videos2010.html">Videos</a> | <a href="duettambrett2010.html">Duett am Brett</a></div>')

document.write('<div id="menu2011" onmouseover="Sichtbarvorjahre2011();" onmouseout="Unsichtbarvorjahre2011();"><a href="event2011.html">Das Event 2011</a> | <a href="ergebnisse2011.html">Ergebnisse</a> | <a href="fotos2011.html">Fotos</a> | <a href="presseberichte2011.html">Presseberichte</a></div>')

document.write('<div id="menuanmeldung" onmouseover="Sichtbaranmeldung();" onmouseout="Unsichtbaranmeldung();">&nbsp&nbsp&nbsp&nbsp&nbsp| <a href="anmeldungeinzel.html">Einzelschwimmer</a> | <a href="anmeldungstaffel.html">Staffel</a></div>')

 }
