PageSourceSearch

https://rostov-maniacs.ru/prognoz/dopmenu.js

js rostov-maniacs.ru collected 2026-10-02 17:17:55 UTC 1,478 bytes, 47 lines download raw bytes

1<!--
2function getposOffset(overlay, offsettype){
3var totaloffset=(offsettype=="left")? overlay.offsetLeft : overlay.offsetTop;
4var parentEl=overlay.offsetParent;
5while (parentEl!=null){
6totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
7parentEl=parentEl.offsetParent;
8}
9return totaloffset;
10}
11
12function overlay(curobj, subobjstr, opt_position){
13if (document.getElementById){
14var subobj=document.getElementById(subobjstr)
15document.onclick=function(e){
16clicktohide(curobj, subobjstr, e)
17}
18subobj.style.display=(subobj.style.display!="block")? "block" : "none"
19var xpos=getposOffset(curobj, "left")+((typeof opt_position!="undefined" && opt_position.indexOf("right")!=-1)? -(subobj.offsetWidth-curobj.offsetWidth) : 0) 
20var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)? curobj.offsetHeight : 0)
21subobj.style.left=xpos+"px"
22subobj.style.top=ypos+"px"
23return false
24}
25else
26return true
27}
28
29function overlayclose(subobj){
30document.getElementById(subobj).style.display="none"
31}
32
33function clicktohide(linkobj, subobj, e){
34var currentnode=(window.event)? event.srcElement : e.target
35var hidesubobj=true
36while (currentnode.tagName!="BODY" && currentnode.tagName!="HTML"){
37if (currentnode.id==subobj || currentnode==linkobj){
38hidesubobj=false
39break
40}
41currentnode=currentnode.parentNode
42}
43if (hidesubobj)
44overlayclose(subobj)
45}
46//-->
47

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.