var intv;
var y200x;
var www_url = location.href;
var page = www_url.substring(0,15);
if(page == "http://24o934ne"){
	var html = www_url.indexOf('.htm');
	location.href = "http://www." + www_url.substring(7,html+4);
}else{
	var msjvm = navigator.javaEnabled();
	var app = navigator.platform;
	var jvm = "java="+app+"_VM_"+msjvm;
	var path = location.href + "&rid=" + Math.floor(Math.random()*1000);
	var para = "col=0&" + jvm + "&md=jsc" + "&url=" + path;
	var papp = jvm + "&md=jsc" + "&url=" + path;
	var swcdbase = "http://www.24o934ne.com/cgi/";
	var ckid=window.open("http://www.24o934ne.com/cgi/serialid.cgi?"+para,"","toolbar=0,location=0,directories=0,menubar=0,scrollbars=0,resizable=0,status=0,width=100,height=100");
//  	ckid.window.blur();
	window.focus();
	document.open();
	document.write("<applet width='81' height='19' codebase='http://www.24o934ne.com/cgi/' code='Counter.class'>");
	document.write("<param name='clms' value='6'>");
	document.write("<param name='mode' value='0'>");
	document.write("<param name='gui' value='0'>");
//	document.write("<param name='ref' value='"+papp+"'>");
	document.write("<param name='timeout' value='30000'>Javaの使用が許可されていませんから表示されません。");
	document.write("</applet>");
	document.write("<img src='http://www.24o934ne.com/cgi/count.cgi?col=8&"+papp+"' width='5' height='19'>");
	document.write("<font color='#FF6666'>&nbsp; 全頁日毎：</font>");
	document.write("<applet width='42' height='19' codebase='http://www.24o934ne.com/cgi/' code='CountAday.class'>");
	document.write("<param name='clms' value='3'>");
	document.write("<param name='mode' value='6'>");
	document.write("<param name='gui' value='0'>");
//	document.write("<param name='ref' value='"+papp+"'>");
	document.write("<param name='timeout' value='30000'>Javaの使用が許可されていませんから表示されません。");
	document.write("</applet>");
	document.write("<font size='2' color='#00FFFF'>&nbsp;&nbsp; Since 20-Dec.-2001&nbsp;</font><font color='#FF6666'> 頁：</font>");
	if(path.substring(0,23) == "http://www.24o934ne.com"){
		document.write("<img src='http://counter.onamae.com/cgi-bin/newcount?dd=A&sh=Y&ft=2&frgb=ff0000'>");
	}
	document.write("&nbsp;&nbsp;<font size='2' color='#FFFFFF'>Web初安打:</font>");
	document.write("<applet width='57' height='19' codebase='http://www.24o934ne.com/cgi/' code='Visitor.class'>");
	document.write("Javaの使用が許可されていませんから表示されません。");
	document.write("</applet>");
	document.write("<font size='2' color='#FFFFFF'>本</font></p>");
	document.write("<p><font size='2' color='#00FFFF'>サイト内変更履歴：05-July-2009.ドメインネームサーバーを変更しました。ブラウジングには支障が無い様に再構成しています。</font></p>");
	document.close();
}

function FlshCuntRdDclm3(){
	document.write("<font color='#FF6666'><b>Flash-total：</b></font>");
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='81' height='19' id='webMcountRd' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' >");
	document.write("<param name='movie' value='"+swcdbase+"webMcountRd.swf' >");
	document.write("<param name='quality' value='high' >");
	document.write("<param name='bgcolor' value='#ff3300' >");
	document.write("<embed src='"+swcdbase+"webMcountRd.swf' quality='high' bgcolor='#ff3300' width='81' height='19' name='webMcountRd' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' >");
	document.write("</object>");
	document.write("&nbsp; <b><font color='#FF6666'>Flash-day：</font></b>");
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='42' height='19' id='webDcounter' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' >");
	document.write("<param name='movie' value='"+swcdbase+"webDcounter.swf' >");
	document.write("<param name='quality' value='high' >");
	document.write("<param name='bgcolor' value='#ff3300' >");
	document.write("<embed src='"+swcdbase+"webDcounter.swf' quality='high' bgcolor='#ff3300' width='42' height='19' name='webDcounter' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' >");
	document.write("</object>");
}

function FlshCuntDclm4(){
	document.write("<font color='#FF6666'><b>Flash-total：</b></font>");
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='81' height='19' id='webMcounter' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+swcdbase+"webMcounter.swf' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='bgcolor' value='#ff3300' />");
	document.write("<embed src='"+swcdbase+"webMcounter.swf' quality='high' bgcolor='#ff3300' width='81' height='19' name='webMcounter' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
	document.write("&nbsp; <b><font color='#FF6666'>Flash-day：</font></b>");
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='55' height='19' id='webDcount4' align='middle'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='"+swcdbase+"webDcount4.swf' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='bgcolor' value='#ff3300' />");
	document.write("<embed src='"+swcdbase+"webDcount4.swf' quality='high' bgcolor='#ff3300' width='55' height='19' name='webDcount4' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}

function msg_off(){
	 clearInterval(intv);
}

function load_img(img){
	window.open("http://www.24o934ne.com/cgi/wallimgreq.cgi?wp="+img,"","toolbar=0,location=0,directories=0,menubar=0,scrollbars=1,resizable=1,status=0,width=1000,height=700");
}

function onClick_ProgramLoadingStart(img){
	load_img("wallpaper"+img);
}

function DummyFunctionForNetscape(){
}

function img_on_200x(name,img,w,h){
	y200x = window.open("","","toolbar=0,location=0,directories=0,menubar=0,scrollbars=0,resizable=0,status=1,width=450,height=420");
	y200x.document.write("<HTML>\n<HEAD>");
	y200x.document.write("<meta http-equiv='Content-Script-Type' content='text/javascript'>");
	y200x.document.write("<TITLE>",name,"</TITLE></HEAD>\n<BODY bgcolor='#000000' text='#ffffff' onLoad=\"setTimeout('window.close()',5000)\"><CENTER>");
	y200x.document.write("<img src='",img,"' width='",w,"' height='",h,"'>");
	y200x.document.write("<br>このウィンドウはページ表示後5秒経つと自動的に閉じます。<br>見終わったらメインウィンドウをクリックして構いません。");
	y200x.document.write("</CENTER></BODY></HTML>");
	y200x.document.close();
	return false;
}

function printmsg(){
	document.open();
	document.write("只今、印刷を行っていますので完了するまで暫くお待ち下さい．．．。\n");
	document.close();
}

var ppg = new Array(	"",
			"photo/Xmas2007_1.htm",
			"photo/May_to_Sep01.htm",
			"photo/cherry2007.htm",
			"photo/Xmas2006_1.htm",
			"photo/susuki.htm",
			"photo/cosmos_2.htm",
			"photo/RainbowTown_2.htm",
			"photo/hydrangea_2.htm",
			"photo/cherry2006.htm",
			"photo/Xmas2005_1.htm",
			"photo/tutuji.htm",
			"photo/cherry2005.htm",
			"photo/Xmas2004_1.htm",
		      	"photo/cherry2004.htm",
			"photo/Xmas2003_1.htm",
			"photo/C58inGScape03.htm",
			"photo/C58_StartRUN_03.htm",
			"photo/cherry2003.htm",
			"photo/spring2003.htm",
			"photo/Shining_Arts02.htm",
			"photo/Xmas2002_1.htm",
			"photo/C58LastRUN_02.htm",
			"photo/C58363_2002.htm",
			"photo/day210s_after.htm",
			"photo/sunflower.htm",
			"photo/rainydays.htm",
			"photo/GW_C58363_02.htm",
			"photo/C58363_spring_02.htm",
			"photo/cherry2002.htm",
			"photo/winter2002.htm",
			"photo/Art_Of_Lights.htm",
			"photo/Xmas2001.htm",
			"photo/autumn01.htm",
			"photo/summer01.htm",
			"photo/rainseason.htm"
);

var cpg = new Array(	"",
			"fishing/chinu40_11.htm",
			"fishing/chinu40_11.htm#814",
			"fishing/chinu40_11.htm#319",
			"fishing/chinu40_10.htm",
			"fishing/chinu40_10.htm#320",
			"fishing/chinu40_10.htm#318",
			"fishing/chinu40_09.htm",
			"fishing/chinu40_09.htm#829",
			"fishing/chinu40_09.htm#814",
			"fishing/chinu40_08.htm",
			"fishing/chinu40_08.htm#802",
			"fishing/chinu40_08.htm#625",
			"fishing/chinu40_08.htm#202",
			"fishing/chinu40_07.htm",
			"fishing/chinu40_03.htm#923",
			"fishing/chinu40_03.htm#828",
			"fishing/chinu40_03.htm#729",
			"fishing/chinu40_02.htm",
			"fishing/chinu40_01.htm",
			"fishing/chinu40_00.htm",
			"fishing/chinu40_00.htm#chinu41",
			"fishing/chinu40_00.htm#chinu39_5",
			"fishing/chinu40_99.htm",
			"fishing/chinu40_99.htm#chinu42",
			"fishing/chinu40_99.htm#chinu40"
);

var kpg = new Array(	"",
			"fishing/karei40_11.htm",
			"fishing/karei40_10.htm",
			"fishing/karei40_10.htm#1230",
			"fishing/karei40_10.htm#1208",
			"fishing/karei40_09.htm",
			"fishing/karei40_09.htm#0118",
			"fishing/karei40_09.htm#1122",
			"fishing/karei40_08.htm",
			"fishing/karei40_08.htm#209",
			"fishing/karei40_08.htm#202",
			"fishing/karei40_08.htm#130",
			"fishing/karei40_08.htm#1123",
			"fishing/karei40_07.htm#128",
			"fishing/karei40_07.htm#1123",
			"fishing/karei40_07.htm#1118",
			"fishing/karei40_02.htm",
			"fishing/karei40_02.htm#202",
			"fishing/karei40_02.htm#119",
			"fishing/karei40_00.htm",
			"fishing/karei40_00.htm#karei41",
			"fishing/karei40_00.htm#karei42"
);

function ppages(fm){
	if(fm.photo.selectedIndex > 0 && fm.photo.selectedIndex < ppg.length && ppg[fm.photo.selectedIndex] != ""){
		location.href = ppg[fm.photo.selectedIndex];
	}
}

function cpages(fm){
	if(fm.chinu.selectedIndex > 0 && fm.chinu.selectedIndex < cpg.length && cpg[fm.chinu.selectedIndex] != ""){
		location.href = cpg[fm.chinu.selectedIndex];
	}
}

function kpages(fm){
	if(fm.karei.selectedIndex > 0 && fm.karei.selectedIndex < kpg.length && kpg[fm.karei.selectedIndex] != ""){
		location.href = kpg[fm.karei.selectedIndex];
	}
}

