<!--

hits=getCookie("jsdb")
if (hits == "") {
	hits=1;
}
hits++;
setCookie("jsdb", hits);
function getCookie(key){
	tmp=document.cookie+";";
	tmp1=tmp.indexOf(key, 0);
	if(tmp1!=-1){
		tmp=tmp.substring(tmp1, tmp.length);
		first=tmp.indexOf("=",0)+1;
		end=tmp.indexOf(";",first);
		return(unescape(tmp.substring(first,end)));
	}
	return("");
}
function setCookie(key, val) {
	tmp=key+"="+escape(val)+";";
	setdays = new Date();
        /*
          重複防止：
          有効期限を24時間に設定しています。24時間以内のアクセスはカウントアップしません。
          時間の設定はsetdays.setTime(setdays.getTime()+(24*60*60*1000));の(24*60*60*1000)で行ってください。
          (1*60*60*1000)で一時間、(1*1*60*1000)で一分です。
        */
	setdays.setTime(setdays.getTime()+(1*60*60*1000));
   	tmp+="expires="+setdays.toGMTString();
   	document.cookie=tmp;
}
// -->

