PageSourceSearch

https://www.rafrtcc.ru/js/promo.js

js rafrtcc.ru collected 2026-10-02 20:54:59 UTC 1,603 bytes, 55 lines download raw bytes

1function rOn(id){�
2	var div = document.getElementById(id);�
3	div.style.display = "block";		�
4}�
5�
6function rOff(id){�
7	var div = document.getElementById(id);�
8	div.style.display = "none";�
9}�
10�
11var PRtickspeed=5000;�
12var PRenablesubject=0;�
13�
14if (document.getElementById){�
15	document.write('<style type="text/css">\n');�
16	document.write('.PRcontainer{display:none;}\n');�
17	document.write('</style>\n');�
18}�
19�
20//var PRselectedDiv=1;�
21var PRtotalDivs=1;�
22�
23function PRcontractall(){�
24	var inc=1;�
25	while (document.getElementById("PRmsg"+inc)){�
26		document.getElementById("PRmsg"+inc).style.display="none";�
27		inc++�
28	}�
29�
30}�
31�
32function PRexpandone(){�
33	var PRselectedDivObj=document.getElementById("PRmsg"+PRselectedDiv)�
34	PRcontractall()�
35		document.getElementById("promoHeadlines").innerHTML=PRselectedDivObj.getAttribute("subject");�
36		PRselectedDivObj.style.display="block";�
37	    PRselectedDiv=(PRselectedDiv<PRtotalDivs-1)? PRselectedDiv+1 : 1;�
38		q=setTimeout("PRexpandone()",PRtickspeed);�
39	}�
40�
41function PRstartscroller(){�
42	while (document.getElementById("PRmsg"+PRtotalDivs)!=null)�
43	PRtotalDivs++�
44	PRexpandone()�
45	if (!PRenablesubject)�
46		document.getElementById("promoHeadlines").style.display="none";�
47	}�
48/*	document.getElementById("promoHeadlines").innerHTML=PRselectedDivObj.getAttribute("subject");�
49	document.getElementById("PRmsg1").style.display="block";�
50*/�
51if (window.addEventListener)�
52	window.addEventListener("load", PRstartscroller, false);�
53else if (window.attachEvent)�
54	window.attachEvent("onload", PRstartscroller);�
55	

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.