document.ondblclick = send_check;

function send_check()
{
	if (window.document.readyState != null && window.document.readyState != 'complete'){
		alert("前回のを処理中です。");
		return false;
	}else{
		return true;
	}
}

str = "                                                            ";
i = 0;
function tick() {
	defaultStatus = str.substring(i, str.length) + str.substring(0, i);
	i = ++i % str.length;

	setTimeout("tick()", 50);
}
tick();

function menulist(id) {
var disp = document.all(id).style.display;

if(disp != "none" || disp == "") {
  document.all(id).style.display = "none";
 }
else {
  document.all(id).style.display = "block";
 }
}


