if (getBrowserName() != "Netscape"){ // hover時の沈み込み
	document.write('<style type="text/css">');
	document.write("a:hover{position:relative; top:1px; left:1px;}");
	document.write(".still a:hover{position:relative;top:0px;left:0px;}");
	document.write("</style>");
}
// --------------------
function Mail1(ad1,ad2,ad3,expres){
// --------------------
	ad = ad3 + "&#64;" + ad2 + "&#46;" + ad1;
	if(expres==""){
		expres = ad;
	}
	document.write("<a href='&#109;&#97;");
	document.write("&#105;&#108;&#116;&#111;&#58;" + ad + "'>" + expres + "</a>");
}
// --------------------
function ViewImage(file,w,h,title,bgcolor){ // 拡大画像表示
// --------------------
	var mode = "no";
	if(w > (screen.width-20)){
		w = screen.width-20;
		mode = "yes";
	}
	if(h > (screen.height-80)){
		h = screen.height-80;
		mode = "yes";
	}
	win = window.open("","imgwin","width="+w+",height="+h+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+mode+",resizable="+mode+",copyhistory=no");
	win.focus();
	win.document.open();
	win.document.write("<html><head><title>"+title+"</title>");
	win.document.write('<meta http-equiv="imagetoolbar" content="no"></head><body style="padding:0;margin:0;">');
	win.document.write('<img src="'+file+'" width="'+w+'">');
	win.document.write('<div style="height:20px;background:'+bgcolor+';color:#ffffff;text-align:center;cursor:pointer;cursor:hand;" onclick="window.close();">CLOSE</div>');
	win.document.write('</body></html>');
	win.document.close();
}
// --------------------
function getOSType(){ // OSタイプ判別
// --------------------
	var uAgent  = navigator.userAgent.toUpperCase();
	if (uAgent.indexOf("MAC") >= 0) return "MacOS";
	if (uAgent.indexOf("WIN") >= 0) return "Windows";
	if (uAgent.indexOf("X11") >= 0) return "UNIX";
	return "";
}
// --------------------
function getBrowserName(){ // ブラウザ種別判別
// --------------------
	var aName  = navigator.appName.toUpperCase();
	if (aName.indexOf("NETSCAPE") >= 0)  return "Netscape";
	if (aName.indexOf("MICROSOFT") >= 0) return "Explorer";
	return "";
}

