function check()
{
	tmp = " ";
	for(i=0; i<document.form1.length; i++){
		if(document.form1.elements[i].type == "checkbox"){
			if(document.form1.elements[i].checked){
				tmp += "1";
			}
		}
	}
	if (tmp == " ")
	{
	    alert ("1つ以上チェックを入れてください。");
	    return false;
	}
	else{
		document.form1.submit();
	}
}