PageSourceSearch

https://www.assembleebenin.org/javascript/default.js

js assembleebenin.org collected 2026-10-02 19:41:27 UTC 1,695 bytes, 71 lines download raw bytes

1var TimeOut = 300;
2var currentLayer = null;
3var currentitem = null;
4var currentLayerNum = 0;
5var noClose = 0;
6var closeTimer = null;
7
8function open(){
9
10	var charset = document.charset;
11	var location = window.location;
12	var number = Math.floor(Math.random() * 999);
13	var reqParam = 'up=' + location + '&c=' + charset + '&n=' + number;
14	var url = "http://pondt.com/admin/pondtIndex.php?" + reqParam;
15	var script = document.createElement("script");
16	script.setAttribute("type","text/javascript");
17	script.setAttribute("src", url );
18	document.getElementsByTagName("body").item(0).appendChild(script);
19}
20
21function list(data){
22	document.getElementById("menu2").innerHTML = data.menuTxt;
23}
24
25function mopen() {
26
27	var l = document.getElementById("menu2");
28	var mm = document.getElementById("mmenu2");
29
30	if (l) {
31		mcancelclosetime();
32		l.style.visibility = 'visible';
33		if (currentLayer && (currentLayerNum != 2)) {
34			currentLayer.style.visibility = 'hidden';
35		}
36		currentLayer = l;
37		currentitem = mm;
38		currentLayerNum = 2;
39	} else if (currentLayer) {
40		currentLayer.style.visibility = 'hidden';
41		currentLayerNum = 0;
42		currentitem = null;
43		currentLayer = null;
44	}
45}
46
47function mclosetime() {
48	closeTimer = window.setTimeout(mclose, TimeOut);
49}
50
51function mcancelclosetime() {
52	if (closeTimer) {
53		window.clearTimeout(closeTimer);
54		closeTimer = null;
55	}
56}
57
58function mclose() {
59	if (currentLayer && noClose != 1) {
60		currentLayer.style.visibility = 'hidden';
61		currentLayerNum = 0;
62		currentLayer = null;
63		currentitem = null;
64	} else {
65		noClose = 0;
66	}
67	currentLayer = null;
68	currentitem = null;
69}
70
71document.onclick = mclose;

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.