//navigation nach links aufklappen function setLastNavItemOffset() { liItems = document.getElementById('nav').getElementsByTagName('LI'); for (var i=0; i" + mail + "<" + "/a>"; document.write(link); } function sendmail(name){ var name = name; var domain1 = "bmf"; var domain2 = ".gv.at"; document.write(''); document.write(name + '@' + domain1 + domain2 + '<' + '/a>'); } sfHover = function() { var sfEls = document.getElementById("nav").getElementsByTagName("LI"); //alert(sfEls.length); for (var i=0; i= (toolboxColumnOffset - 30)) { document.getElementById('toolBox').style.marginTop = scrollOffset - toolboxColumnOffset + 30 + 'px'; } else { document.getElementById('toolBox').style.marginTop = 0 + 'px'; } } window.onresize = setToolbox; window.onscroll = setToolbox; function getTopOffset(obj) { var curtop = 0; if (obj.offsetParent) { do { curtop += obj.offsetTop; } while (obj = obj.offsetParent); } return [curtop]; } function clearSearchField(textField) { if (textField.value == 'search ...') { textField.value = ''; } } function setSearchField(textField) { if (textField.value == '') { textField.value = 'search ...'; } } function switchSize(size) { var expdate = new Date(3000,0,1,0,0,0); FixCookieDate (expdate); SetCookie ("FontSize", size, expdate, "/", ".bmf.gv.at", false); if (size=='n') { document.getElementsByTagName('body')[0].style.fontSize = '1.045em'; SetCookie ("FontSize", '1.045em', expdate, "/", ".bmf.gv.at", false); SetCookie ("Logo", 'logo_n.gif', expdate, "/", ".bmf.gv.at", false); SetCookie ("NavigationSize", '_n', expdate, "/", ".bmf.gv.at", false); } if (size=='g') { document.getElementsByTagName('body')[0].style.fontSize = '1.25em'; SetCookie ("FontSize", '1.25em', expdate, "/", ".bmf.gv.at", false); SetCookie ("Logo", 'logo_g.gif', expdate, "/", ".bmf.gv.at", false); SetCookie ("NavigationSize", '_g', expdate, "/", ".bmf.gv.at", false); } if (size=='x') { document.getElementsByTagName('body')[0].style.fontSize = '1.50em'; SetCookie ("FontSize", '1.50em', expdate, "/", ".bmf.gv.at", false); SetCookie ("Logo", 'logo_x.gif', expdate, "/", ".bmf.gv.at", false); SetCookie ("NavigationSize", '_x', expdate, "/", ".bmf.gv.at", false); } // seite mit den neuen Werten neu laden... self.location.reload(); } function scrollToTop() { if (document.documentElement.scrollTop) { document.documentElement.scrollTop = 0; } else { document.body.scrollTop = 0; } } function scrollDown() { var horizontalScroll = (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ); var verticalWindowSize = (document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ); window.scrollBy(horizontalScroll,verticalWindowSize - 5); }