
defaultStatus="ページが表示されました。。(^-^)";


function lastModified()
	{
	var lmDateStr=new Date(document.lastModified);
	var lmYear=lmDateStr.getFullYear();
	var lmMonth=lmDateStr.getMonth()+1;
	var lmDate=lmDateStr.getDate();
	document.write("Last Update : "+lmYear+"/"+lmMonth+"/"+lmDate);
	}


function pageback(){
	history.back();
	}


function access_top()
	{
	document.write("<img src='http://hpcgi2.nifty.com/ihmkk/acs6/top/acs6.cgi?");
	document.write(document.referrer+"' width=1 height=1>");
	}


function check_top()
	{
	document.write("<img src='http://hpcgi2.nifty.com/ihmkk/access_report/top/report.cgi?");
	document.write(document.referrer+"' width=1 height=1>");
	}


function check_kankyou()
	{
	document.write("<img src='http://hpcgi2.nifty.com/ihmkk/access_report/kankyou/report.cgi?");
	document.write(document.referrer+"' width=1 height=1>");
	}



function to()
	{
	d=new Date();z=d.getHours();m=d.getMinutes();
	if( 12 < z ){z=z-12;if(10>z){z='0'+z}t='PM '+z}else{if(9>z){z='0'+z}t='AM '+z}
	if(10>m){m='0'+m}
	document.tokei.tok.value =(t + ':' + m);
	setTimeout("to()", 60000);
	}


function subWin01()
	{window.open("sub/tool1.html","tool1",
	"resizable=yes,menubar=no,location=no,status=yes,scrollbars=no,width=400,height=250,left=0px,top=0px");}


function subWin02()
	{window.open("sub/tool2.html","tool2",
	"resizable=yes,menubar=no,location=no,status=yes,scrollbars=no,width=600,height=250,left=0px,top=0px");}


var i=0,printStr;
var msg="JWWな時間";
function printChar(){
	if(i>msg.length){
	clearTimeout(timerID);
	}
else{
	if(document.layers){
	printStr=msg.substring(0,i);
	document.sText.document.open();
	document.sText.document.write(printStr);
	document.sText.document.close();
	}
else if(document.getElementById){
	printStr=msg.substring(i,i+1);
	var obj=document.createTextNode(printStr);
	document.getElementById("sText").appendChild(obj);
	}
	i++;
	timerID=setTimeout("printChar()",300);
	}
	}


