PageSourceSearch

https://www.oberiberg.ch/addins/_javascripts/javascripts.js

js oberiberg.ch collected 2026-10-02 20:07:55 UTC 3,147 bytes, 92 lines download raw bytes

1function MM_reloadPage(init) {  //reloads the window if Nav4 resized
2  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
3    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
4  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
5}
6MM_reloadPage(true);
7
8function MM_swapImgRestore() { //v3.0
9  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
10}
11
12function MM_preloadImages() { //v3.0
13  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
14    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
15    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
16}
17
18function MM_findObj(n, d) { //v4.01
19  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
20    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
21  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
22  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
23  if(!x && d.getElementById) x=d.getElementById(n); return x;
24}
25
26function MM_swapImage() { //v3.0
27  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
28   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
29}
30
31function MM_openBrWindow(theURL,winName,features) { //v2.0
32  window.open(theURL,winName,features);
33}
34
35function MM_displayStatusMsg(msgStr) { //v1.0
36  status=msgStr;
37  document.MM_returnValue = true;
38}
39
40function MM_goToURL() { //v3.0
41  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
42  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
43}
44
45function MM_showHideLayers() { //v6.0
46  var i,p,v,obj,args=MM_showHideLayers.arguments;
47  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
48    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
49    obj.visibility=v; }
50}
51
52function obo_showBox() {
53	//document.getElementById("bildmelden").innerHTML = formular;	
54	//Effect.Appear('overlay_shadow', { duration: 0.5, from: 0.0, to: 0.8 });
55	Effect.Appear('overlay', { duration: 0.5, from: 0.0, to: 1 });
56}
57
58function obo_hideBox() {
59	//document.getElementById("overlay").style.display = "none";
60	document.getElementById("overlay_shadow").style.display = "none";			
61}	
62		
63function obo_uncrypto(s) {	//
64	var n=0;
65	var r="";
66	for(var i=0; i < s.length; i++) {
67		n=s.charCodeAt(i);
68		if (n>=8364) {n = 128;}
69		r += String.fromCharCode(n-(2));
70	}
71	return r;
72}
73
74function obo_crypto(s)	{	//
75	location.href=obo_uncrypto(s);
76}
77
78var show = false;
79
80function show_hide_info(id) {
81	var e = window.document.getElementById("info_"+id);
82	var e2 = window.document.getElementById("osi"+id);
83	var st = window.getComputedStyle(e2);
84
85	if(e.className=="os_infozeile os_sichtbar") {
86		e.className = "os_infozeile os_unsichtbar";
87		e.style.height = "0";
88	} else {
89		e.className = "os_infozeile os_sichtbar";
90		e.style.height = (parseFloat(st.height)+20)+"px";
91	}
92}

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.