PageSourceSearch

https://jebrown.us/JEBrown800/js/js.js

js jebrown.us collected 2026-10-02 14:29:31 UTC 2,549 bytes, 101 lines download raw bytes

1/* ===========================================================================
2
3   js.js	Misc. JavaScript code	 jB  F 072007 
4
5=========================================================================== */
6
7// Alert message for site visitors. Set to 0 when not in use. 
8var	site_message; 
9
10if (false) 
11	site_message = 
12		   "CAUTION: America Online is having server problems again and refuses to fix them. <BR> " 
13		 + "As a result, some images may be missing and some JavaScript content may fail. <BR> " 
14		 + "In case of trouble, use your Reload button" 
15//		 + "Remember to use your Reload button. <BR> " 
16//		 + "For best results, please visit another time" 
17		 ; 
18else 
19	site_message = 0; 
20
21// write_site_message_0()   jB  Tu 082107 
22
23function write_site_message_0() 
24{ 
25	if (site_message) 
26		{
27		document.write(site_message); 
28		if (false) // Deactivated 100708. 
29			if (window.location.pathname.indexOf('resume') == -1) 
30				document.write(", and remember, <BR> <B>AOL Sucks</B>"); 
31		document.write("."); 
32		}
33} 
34
35// write_site_message()   jB  F 072007 
36// Includer chooses text color. 
37
38function write_site_message() 
39{ 
40	if (site_message) 
41		{
42		document.write('<P>'); 
43		write_site_message_0(); 
44		}
45} 
46
47// write_site_message_bq()   jB  F 072007 
48//	Enclose write_site_message() in a BLOCKQUOTE. 
49
50function write_site_message_bq() 
51{ 
52	if (site_message) 
53		{
54		document.write('<BLOCKQUOTE Style="color: rgb(192,0,0); background-color: white; padding: 10px 10px 10px 10px">'); 
55		write_site_message_0(); // no <P>; this stylesheet sets the color 
56		document.write('</BLOCKQUOTE>'); 
57		}
58} 
59
60// write_site_message_hr()   jB  F 072007 
61//	Follow write_site_message() with an HR. 
62
63function write_site_message_hr() 
64{ 
65	if (site_message) 
66		{
67		write_site_message(); 
68		document.write('<HR>'); 
69		}
70} 
71
72// Moved into this file pursuant to Patch 010308-A. See "Minor Snag 112907-C". [010308] 
73
74function MakeDivVisible(id) // jB 052007 
75{
76	var el = document.getElementById(id); 
77	if (el && el.style.display == 'none') 
78			  el.style.display = 'block'; 
79}
80
81function MakeDivInvisible(id) // jB 080807 
82{
83	var el = document.getElementById(id); 
84	if (el && el.style.display != 'none') 
85			  el.style.display = 'none'; 
86}
87
88function MakeSpanVisible(id) // jB 052007 
89{
90	var el = document.getElementById(id); 
91	if (el && el.style.display == 'none') 
92			  el.style.display = 'inline'; 
93}
94
95function MakeSpanInvisible(id) // jB 080807 
96{
97	var el = document.getElementById(id); 
98	if (el && el.style.display != 'none') 
99			  el.style.display = 'none'; 
100}
101

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.