function mfc_c()
{
var m="";

//radio
//radio_data1=0;for (i=0 ;i < window.document.mfc.attr01.length ; i++){if (window.document.mfc.attr01[i].checked){radio_data1=1;}}
//if (!radio_data1){m+=" \n";}

if(""==window.document.mfc.attr01_s.value){m+="ご希望ID\n";}
if(""==window.document.mfc.attr02_s.value){m+="希望パスワード\n";}
if(""==window.document.mfc.attr03_s.value){m+="メールアドレス(PC)\n";}
//if(""==window.document.mfc.attr04_s.value){m+="メールアドレス(携帯)\n";}
if(""==window.document.mfc.attr05_s.value){m+="郵便番号\n";}
if(""==window.document.mfc.attr06_s.value){m+="郵便番号\n";}


if(""!=m)
{
alert(m+"\nは必須です。");
return false;
}


if(window.document.mfc.attr03_s.value != window.document.mfc.attr03_s2.value)
{
alert(m+"メールアドレスを確認して下さい。");
return false;
}



//長さ
if(4>window.document.mfc.attr01_s.value.length || 16<window.document.mfc.attr01_s.value.length){m+="ご希望ID\n";}
if(4>window.document.mfc.attr02_s.value.length || 16<window.document.mfc.attr02_s.value.length){m+="希望パスワード\n";}
if(""!=m)
{
alert(m+"\nの長さが適切ではありません。");
return false;
}




ret=confirm('入力された内容で送信します。');
if(ret==true){window.document.mfc.submit(); return true;}
else{return false;}


return true;
}

