1 2// --- Smooth-Scroll ------------------------------------------ 3 4Scroller= { speed:10, gy: function (d) { gy = d.offsetTop 5if (d.offsetParent) while (d = d.offsetParent) gy += d.offsetTop 6return gy 7}, scrollTop: function (){ body=document.body 8d=document.documentElement 9if (body && body.scrollTop) return body.scrollTop 10if (d && d.scrollTop) return d.scrollTop 11if (window.pageYOffset) return window.pageYOffset 12return 0}, add: function(event, body, d) { if (event.addEventListener) return event.addEventListener(body, d,false) 13if (event.attachEvent) return event.attachEvent('on'+body, d) 14}, end: function(e){ if (window.event) { window.event.cancelBubble = true 15window.event.returnValue = false 16return;} if (e.preventDefault && e.stopPropagation) { e.preventDefault() 17e.stopPropagation()}}, scroll: function(d){ i = window.innerHeight || document.documentElement.clientHeight; h=document.body.scrollHeight; a = Scroller.scrollTop() 18if(d>a) 19if(h-d>i) 20a+=Math.ceil((d-a)/Scroller.speed) 21else 22a+=Math.ceil((d-a-(h-d))/Scroller.speed) 23else 24a = a+(d-a)/Scroller.speed; window.scrollTo(0,a) 25if(a==d || Scroller.offsetTop==a)clearInterval(Scroller.interval) 26Scroller.offsetTop=a}, init: function(){ Scroller.add(window,'load', Scroller.render) 27}, render: function(){ var a = document.getElementsByTagName('a'); Scroller.end(this); for (var i=0, size=a.length;i<size;i++) { var l = a[i]; if(l.href && l.href.indexOf('#') != -1 && l.href.indexOf('#') != l.href.length-1 && ((l.pathname==location.pathname) || ('/'+l.pathname==location.pathname)) ){ Scroller.add(l,'click',Scroller.end); l.onclick = function(){ Scroller.end(this); var l=this.hash.substr(1), a = document.getElementsByTagName('a'); for (var i=0, size=a.length;i<size;i++) { if 28(document.getElementById(l)) { clearInterval(Scroller.interval); Scroller.interval=setInterval('Scroller.scroll('+Scroller.gy(document.getElementById(l))+')',10);}}}}}}} 29Scroller.init(); 30 31 32// --- INIT-M ------------------------------------------ 33 34function init1(){ var z ='@'; var m ='mailto:'; var u ='ebnit.de'; var a ='info'; document.location.href=eval('"'+m+a+z+u+'"'); } 35 36// --- INIT-L ------------------------------------------ 37 38 39function init2(){ var z2 ='_'; var m2 ='http://www.kolping-ebnit.at/index.php?'; var a2 ='option=com'; var u2 ='users&view=login'; document.location.href=eval('"'+m2+a2+z2+u2+'"'); } 40 41// --- Popup-Images in new Window------------------------------------------ 42 43function openwin (url) { 44 fenster = window.open(url, "panorama", "width=770,height=550,status=no,scrollbars=no,resizable=no"); 45 fenster.focus(); 46} 47 48function openwin2 (url) { 49 fenster = window.open(url, "panorama", "width=760,height=550,status=no,scrollbars=yes,resizable=no"); 50 fenster.focus(); 51} 52
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.