PageSourceSearch

https://www.stepon.co.jp/common/js/func.js

js stepon.co.jp collected 2026-10-02 14:42:12 UTC 2,191 bytes, 93 lines download raw bytes

1function acc(no,obj){
2	var Obj = document.getElementById("maxtxt"+no);
3	if(Obj.style.display == "none"){
4		Obj.style.display = "inline";
5		obj.firstChild.src = "/common/img/icn/icn_minus.gif";
6	}else{
7		Obj.style.display = "none";
8		obj.firstChild.src = "/common/img/icn/icn_plus.gif";
9	}
10}
11
12
13function accout(no) {
14	document.getElementById("maxtxt"+no).style.display = "none";
15	}
16
17function histback() {
18	window.history.back();
19	}
20
21function opnLoanSim(){
22	var s_w = eval(Math.round(screen.width*0.5));
23	var s_h = eval(Math.round(screen.height*0.2));
24	var str = '"top=' + s_h + ',left=' + s_w + ',width=330,height=510,resizable=0"';
25	window.open("http://www.stepon.co.jp/stepon/loan_pop.html","loanSim", str);
26	}
27
28function opnAdd(){
29	window.open("/contact/address.html","addSearch", "location=no,scrollbars=yes,width=450,height=450,resizable=yes");
30	}
31
32function setToSpCookie(){
33	var exprires = new Date();
34	exprires.setMonth(exprires.getMonth() + 3);
35
36	var params = [
37		"SHOW_PCPAGE=false",
38		"path=/",
39		"expires=" + exprires.toUTCString()
40	];
41
42	document.cookie = params.join("; ");
43
44	if ( window.location.pathname == "/tochikodate/" ) {
45		newLocation = window.location.href.split("/tochikodate/")[0] + "/tochikodate/kodate/";
46	} else {
47		newLocation = window.location.href.split("#")[0];
48	}
49
50	window.location.href = newLocation;
51}
52
53/// <summary>URLƒpƒ‰ƒ[ƒ^‚Ì–¼‘O‚ðƒL[A’l‚Ì”z—ñ‚ð’l‚Æ‚·‚éƒ}ƒbƒv‚ðì¬‚·‚éB</summary>
54/// <param name="url">‘ΏۂÌURLBÈ—ªŽž‚ɂ́Awindow.location.href‚ª‘ΏۂƂȂéB</param>
55/// <returns type="Object" />
56function makeParameterMap(targetUrl)
57{
58	var map = {};
59
60	var url = targetUrl;
61	if (null == targetUrl)
62	{
63		url = window.location.href.split("#")[0];
64	}
65
66	var urlValues = url.split("?");
67	if (1 < urlValues.length)
68	{
69		var formulas = urlValues[1].split("&");
70		jQuery.each(formulas, function ()
71		{
72			var keyValue = this.split("=");
73			if (1 < keyValue.length)
74			{
75				var key = keyValue[0];
76				var value = keyValue[1];
77
78				if (key in map)
79				{
80					map[key].push(value);
81				}
82				else
83				{
84					var values = new Array();
85					values.push(value);
86					map[key] = values;
87				}
88			}
89		});
90	}
91
92	return map;
93}

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.