
function inputcheck(form,mode){
	if(mode == 'k'){
		if(form.acount.value == ""){
			alert("メールアドレスの＠より前の部分を記入して下さい。");
			return false;
		}
	}else if(mode == 'm'){
		if(form.name.value == "" && form.action.del.checked == false){
			alert("お名前を記入して下さい。");
			return false;
		}
		if(form.address.value == ""){
			alert("メールアドレスを記入して下さい。");
			return false;
		}
	}
}
/*
if(window.location.protocol == 'http:'){
	document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n');
	document.write('CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"\n');
	document.write('ID="title" WIDTH="800" HEIGHT="64">\n');
	document.write('<PARAM NAME=movie VALUE="image/title.swf">\n');
	document.write('<PARAM NAME=quality VALUE=high>\n');
	document.write('<PARAM NAME=bgcolor VALUE=#ffffff>\n');
	document.write('<EMBED SRC="image/title.swf" QUALITY=high BGCOLOR=#ffffff WIDTH="800" HEIGHT="64" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>\n');
	document.write('</OBJECT>\n');
	document.write('<table border="0"  cellpadding="0" cellspacing="0" width="800" bgcolor="#ffeca0">\n');
	document.write('<tr height=34>\n');
	document.write('<td width=305>　　　<font style="font-size:11px;" face="Comic Sans MS" color="#757575">\n');

	kousin =new Date(document.lastModified);
	nen = kousin.getYear();
	tuki= kousin.getMonth()+1;
	niti= kousin.getDate();
	document.write("last up date ",nen,".",tuki,".",niti);

	document.write('</font>\n');
	document.write('<div align=right style="font-size:11px;">あなたは<img src="./count/count.cgi">人目のお客様です。</div>\n');
	document.write('</td>\n');
	document.write('<td align=right width=495><img src="image/ukiuki.gif"></td>\n');
	document.write('</tr>\n');
	document.write('</table>\n');
}else if(window.location.protocol == 'https:'){
	document.write('<table border="0"  cellpadding="0" cellspacing="0" width="800" bgcolor="#ffeca0">\n');
	document.write('<tr>\n');
	document.write('<td colspan=2><img src="image/title.gif"><a href=index_r.php?page=point_service.html><img src="image/t_point.gif" border=0></a><a href=wrapping.php><img src="image/t_wrap.gif" border=0></a><a href=messagecard.php><img src="image/t_mes.gif" border=0></a></td>\n');
	document.write('</tr>\n');
	document.write('<tr>\n');
	document.write('<td width=240 align=center><a href="./"><img src="cart/image/home.gif" border="0"></A>　　<A href="mailto:info@kousuibatake.com"><img src="cart/image/mail.gif" border="0"></A></td>\n');
	document.write('<td width=560 align=right><img src="image/ukiuki.gif"></td>\n');
	document.write('</tr>\n');
	document.write('</table>\n');
}
*/