PageSourceSearch

https://www.china5e.com/caches/poster_js/125.js?1

js china5e.com collected 2026-10-02 06:46:08 UTC 3,364 bytes, 134 lines download raw bytes

1var links = new Array();
2var isIE=!!window.ActiveXObject;
3links[1] = "https://www.china5e.com/index.php?m=poster&c=index&a=poster_click&siteid=1&id=1263";
4
5
6var imgs = new Array();
7for(var n = 1; n <= 5; n++) imgs[n] = new Image();
8imgs[1].src = "https://pic.china5e.com/uploadfile/2025/1118/20251118015221464.jpg";
9var tits = new Array();
10tits[1] ="";
11var imgwidth = 345;//ͼƬ¿í¶È
12var imgheight = 60;//ͼƬ¿í¶È
13var str = "";
14str += "<span >";
15str += "<span><a id='dlink125' onclick='_czc.push([&#39;_trackEvent&#39;,&#39;poster&#39;,&#39;click&#39;,&#39;125&#39;,&#39;1263&#39;])' href='" + links[1] + "' target='_blank'><img id='dimg125' src='" + imgs[1].src + "' border='0' width='" + imgwidth + "' height='"+imgheight+"' style='filter:Alpha(opacity=100)' onmouseover='Pause(true)' onmouseout='Pause(false)'></a></span>";
16//Ð޸ĵã1£ºÑ­»·Ìí¼ÓÄÚ²ãdivÄÚÈÝÒÔÔö¼Ó¸öÊý
17str += "</span>";
18if (links.length > 1) {
19document.write(str);
20}
21
22var oi = document.getElementById("dimg125");
23var pause = false;
24var curid = 1;
25var lastid = 1;
26var sw = 1;
27var opacity = 100;
28var speed = 15;
29var delay = (document.all)? 400:700;
30
31function SetAlpha(){
32	if(document.all){
33		if(oi.filters && oi.filters.Alpha) oi.filters.Alpha.opacity = opacity;
34	} else {
35		oi.style.MozOpacity = ((opacity >= 100)? 99:opacity) / 100;
36	}
37}
38
39function statAD(siteid, id, pid) {
40	var sp = document.createElement("SCRIPT");
41	sp.src = "https://www.china5e.com/index.php?m=poster&c=index&a=show&siteid="+siteid+"&id="+id+"&spaceid="+pid;
42	document.body.appendChild(sp);
43}
44
45function ImgSwitch(id, p){
46	if(p){
47		pause = true;
48		opacity = 100;
49		SetAlpha();
50	}
51	oi.src = imgs[id].src;
52	document.getElementById("dlink125").href = links[id];
53	//document.getElementById("it" + lastid).className = "off";
54	//document.getElementById("it" + id).className = "on";
55	//document.getElementById("titnv").innerHTML = "<b>" + tits[id] + "</b>";
56	curid = lastid = id;
57}
58
59function ScrollImg(){
60	if(pause && opacity >= 100) return;
61	if(sw == 0){
62		opacity += 2;
63		if(opacity > delay){ opacity = 100; sw = 1; }
64	}
65	if(sw == 1){
66		opacity -= 3;
67		if(opacity < 10){ opacity = 10; sw = 3; }
68	}
69	SetAlpha();
70	if(sw != 3) return;
71	sw = 0;
72	curid++;
73
74	if(curid > 1) curid = 1;
75	ImgSwitch(curid, false);
76}
77
78function Pause(s){
79	pause = s;
80}
81
82function StartScroll(){
83	setInterval(ScrollImg, speed);
84}
85
86function CheckLoad125(){
87	if (imgs[1].complete == true && imgs[2].complete == true) {
88		clearInterval(checkid125);
89
90		setTimeout(StartScroll, 2000);
91	}
92}
93
94
95function GetRandomNum(Min,Max){ 
96        var Range = Max - Min; 
97        var Rand = Math.random(); 
98        return(Min + Math.round(Rand * Range)); 
99} 
100function SetCookie(name,value)//Á½¸ö²ÎÊý£¬Ò»¸öÊÇcookieµÄÃû×Ó£¬Ò»¸öÊÇÖµ
101{
102    var Days = 30; //´Ë cookie ½«±»±£´æ 30 Ìì
103    var exp  = new Date();    //new Date("December 31, 9998");
104    exp.setTime(exp.getTime() + Days*24*60*60*1000);
105    document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString();
106}
107function getCookie(name)//È¡cookiesº¯Êý        
108{
109    var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
110     if(arr != null) return unescape(arr[2]); return null;
111
112}
113
114function getid125()
115{
116var k=getCookie('asd125');
117if(1>1)
118{
119var num = GetRandomNum(1,1); 
120if(k!=num)
121{
122 ImgSwitch(num, false);
123 SetCookie ('asd125', num)
124}
125else
126{
127 getid125();
128}
129}
130}
131var checkid125 = getid125();
132
133
134

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.