PageSourceSearch

https://www.zalozeniesropostup.sk/layouts/default/javascript/helpbox.js?v=1384251521

js zalozeniesropostup.sk collected 2026-10-06 17:08:25 UTC 2,046 bytes, 91 lines download raw bytes

1var ie5 = (document.getElementById && document.all); 
2var ns6 = (document.getElementById && !document.all);
3
4var mouseX = -60;
5var mouseY = 22;
6
7var help = false;
8
9function getDocumentScrollTop()
10{
11	var scrOfY = 0;
12	if(typeof(window.pageYOffset) == 'number') {
13		scrOfY = window.pageYOffset;
14	} else if(document.body && (document.body.scrollLeft || document.body.scrollTop)) {
15		scrOfY = document.body.scrollTop;
16	} else if(document.documentElement &&
17		(document.documentElement.scrollLeft || document.documentElement.scrollTop)) {
18	  	scrOfY = document.documentElement.scrollTop;
19	}
20	return scrOfY
21}
22
23
24function getDocumentScrollLeft() {
25	var scrOfX = 0;
26	if(typeof( window.pageYOffset) == 'number') {
27		 scrOfX = window.pageXOffset;
28	} else if(document.body && (document.body.scrollLeft || document.body.scrollTop )) {
29		 scrOfX = document.body.scrollLeft;
30	} else if(document.documentElement &&
31	    (document.documentElement.scrollLeft || document.documentElement.scrollTop )) {
32		 scrOfX = document.documentElement.scrollLeft;
33	}
34	return scrOfX;
35}
36
37
38function changeHelp(i)
39{
40	if (help)
41	{		
42		help.style.visibility = 'visible';
43		help.style.display = 'block';
44		help.innerHTML = helpText[i];
45	}
46}
47
48function hideHelp()
49{
50	if (help)
51	{
52		help.style.visibility='hidden';
53		help.style.display='none';
54		
55	}	
56}
57
58function getMouseMove(e){
59	if(ie5){
60		
61  	if(isMSIE() == false){
62       help.style.left = window.pageXOffset + e.clientX + mouseX + 'px';
63       help.style.top = window.pageYOffset + e.clientY + mouseY+ 'px';
64    } else {
65		  help.style.left = getDocumentScrollLeft() + event.clientX + mouseX;
66		  help.style.top = getDocumentScrollTop() + event.clientY + mouseY;
67    }
68	}
69	else if(ns6){
70		help.style.left = window.pageXOffset + e.clientX + mouseX + 'px';
71		help.style.top = window.pageYOffset + e.clientY + mouseY+ 'px';
72	}
73}
74
75
76
77function helpInit()
78{
79	if (ie5 || ns6) 
80	{
81		help = document.getElementById('helpbox');
82		document.onmousemove=getMouseMove;
83	}
84}
85
86function isMSIE() {
87  return '\v' == 'v';
88}
89
90
91var helpText = new Array();

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.