PageSourceSearch

https://ryoma1115.com/js/news.js

js ryoma1115.com collected 2026-10-02 19:21:19 UTC 1,248 bytes, 49 lines download raw bytes

1
2function daycount(tgtdy){
3	ymd = tgtdy.split("/");
4	today = (new Date()).getTime();
5	tgday = (new Date(ymd[0],ymd[1]-1,ymd[2])).getTime();
6	btday = Math.floor((tgday-today)/(24*60*60*1000));
7	return btday + 1;
8}
9
10function newmark(tgtdy,deldy){
11	//document.write("" + tgtdy + "");
12	limday = -daycount(tgtdy);
13	if(deldy >= limday){
14		//document.write("<em></em>");
15		document.write("<img src='img/top/new.gif' border='0' alt='NEW'>");
16		}
17	else{
18		document.write("<img src='img/top/old.gif' border='0' alt=''>");
19	}
20}
21
22function newmark2(tgtdy,deldy){
23	//document.write("" + tgtdy + "");
24	limday = -daycount(tgtdy);
25	if(deldy >= limday){
26		//document.write("<em></em>");
27		document.write("<img src='../img/top/new.gif' border='0' alt='NEW'>");
28		}
29	else{
30		document.write("<img src='../img/top/old.gif' border='0' alt=''>");
31	}
32}
33
34function openPhoto(fileName, pattern){
35	var width;
36	var height;
37	if(pattern=='s'){
38		width  = 960;
39		height = 680;
40	}else if(pattern=='v'){
41		width  = 960;
42		height = 680;
43	}else{
44		width  = 960;
45		height = 680;
46	}
47	winPhoto=window.open(fileName,"winPhoto_"+pattern,"toolbar=no,lacation=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,close=yes,width="+width+",height="+height);
48	winPhoto.focus();
49}

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.