// JavaScript Document function f_b() { var fenster_b; if (self.innerHeight) // all except Explorer { fenster_b = self.innerWidth; } else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode { fenster_b = document.documentElement.clientWidth; } else if (document.body) // other Explorers { fenster_b = document.body.clientWidth; } return fenster_b } function f_h() { var fenster_h; if (self.innerHeight) // all except Explorer { fenster_h = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode { fenster_h = document.documentElement.clientHeight; } else if (document.body) // other Explorers { fenster_h = document.body.clientHeight; } return fenster_h } function resize () { location.href = location.href; } f_h = f_h() f_b = f_b() bg_abst = 0; main_abst = 0; if (f_h > 768) { bg_abst = (f_h - 768) / 2 } if (f_b > 848) { main_abst = (f_b - 848) / 2 } window.onresize = resize; // Navigations funktionen var nE = 'n0' function nClick(e) { // Aktive zurücksetzen if (nE != 'n0') { nL = nE + 'Left' nR = nE + 'Right' nT = nE + 'Text' document.getElementById(nE).style.background = 'url(img/navi_m.jpg)'; document.getElementById(nL).style.background = 'url(img/navi_l.jpg)'; document.getElementById(nR).style.background = 'url(img/navi_r.jpg)'; document.getElementById(nT).style.color = '#683030'; } // neue Navi auf aktiv nE = e nL = e + 'Left' nR = e + 'Right' nT = e + 'Text' document.getElementById(e).style.background = 'url(img/navi_a_m.jpg)'; document.getElementById(nL).style.background = 'url(img/navi_a_l.jpg)'; document.getElementById(nR).style.background = 'url(img/navi_a_r.jpg)'; document.getElementById(nT).style.color = '#E23333'; } function nOver(e) { nL = e + 'Left' nR = e + 'Right' document.getElementById(e).style.background = 'url(img/navi_a_m.jpg)'; document.getElementById(nL).style.background = 'url(img/navi_a_l.jpg)'; document.getElementById(nR).style.background = 'url(img/navi_a_r.jpg)'; } function nOut(e) { if (e != nE) { nL = e + 'Left' nR = e + 'Right' document.getElementById(e).style.background = 'url(img/navi_m.jpg)'; document.getElementById(nL).style.background = 'url(img/navi_l.jpg)'; document.getElementById(nR).style.background = 'url(img/navi_r.jpg)'; } } var sichtbar = 100 var schritt = 0.1