PageSourceSearch

https://www.mesps.co.jp/common/js/script.js

js mesps.co.jp collected 2026-10-07 23:43:40 UTC 2,171 bytes, 82 lines download raw bytes

1//ƒ[ƒ‹ƒI[ƒo[
2/*------------------------------------------------------------
3	Standards Compliant Rollover Script
4	Author : Daniel Nolan
5	http://www.bleedingego.co.uk/webdev.php
6 *------------------------------------------------------------
7 * ƒ}ƒEƒXƒI[ƒo[Žž‚̉摜Ø‚è‘Ö‚¦
8 * ƒ[ƒ‹ƒI[ƒo[‚ðÝ’è‚·‚鉿‘œ‚ɃNƒ‰ƒX–¼uimgoverv‚ðŽw’è
9 * ƒ[ƒ‹ƒI[ƒo[Žž‚É•\ަ‚·‚邽‚߂̉摜ƒtƒ@ƒCƒ‹–¼Œã‚ë‚Ɂu_ov‚ð‚‚¯‚é
10/*------------------------------------------------------------*/
11
12function initRollovers() {
13	if (!document.getElementById) return
14
15	var aPreLoad = new Array();
16	var sTempSrc;
17	var aImages = document.getElementsByTagName('img');
18
19	for (var i = 0; i < aImages.length; i++) {		
20		if (aImages[i].className == 'imgover') {
21			var src = aImages[i].getAttribute('src');
22			var ftype = src.substring(src.lastIndexOf('.'), src.length);
23			var hsrc = src.replace(ftype, '_o'+ftype);
24
25			aImages[i].setAttribute('hsrc', hsrc);
26
27			aPreLoad[i] = new Image();
28			aPreLoad[i].src = hsrc;
29
30			aImages[i].onmouseover = function() {
31				sTempSrc = this.getAttribute('src');
32				this.setAttribute('src', this.getAttribute('hsrc'));
33			}	
34
35			aImages[i].onmouseout = function() {
36				if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_o'+ftype, ftype);
37				this.setAttribute('src', sTempSrc);
38			}
39		}
40	}
41}
42
43window.onload = initRollovers;
44
45
46//ƒRƒs[ƒ‰ƒCƒg‚Ì”N†Ž©“®ƒJƒEƒ“ƒg
47//------------------------------------------------------------
48function year() {  
49var data = new Date();  
50var now_year = data.getFullYear();  
51document.write(now_year);  
52}  
53
54
55//ˆóü—pWindow
56//------------------------------------------------------------
57function openWin(){
58	window.open(window.location.href,"printpage");
59}
60
61
62//ƒTƒCƒg“àŒŸõ
63//------------------------------------------------------------
64(function() {
65var sb = document.getElementById('srchBox');
66if (sb && sb.className == 'watermark') {
67 var si = document.getElementById('srchInput');
68 var f = function() { si.className = 'nomark'; };
69 var b = function() {
70   if (si.value == '') {
71     si.className = '';
72   }
73 };
74 si.onfocus = f;
75 si.onblur = b;
76 if (!/[&?]p=[^&]/.test(location.search)) {
77   b();
78 } else {
79   f();
80 }
81}
82})();

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.