/**
 * フォームの値をチェックする。
 * 
 * @method onSubmitCheck1
 *
 */
function onSubmitCheck1(theForm) {
    if (
        checkStringLength("商品名", theForm["商品名"].value, 1) &&
        checkStringLength("製作方法", theForm["製作方法"].value, 1) &&
        checkStringLength("材質", theForm["材質"].value, 1) &&
        checkStringLength("数量", theForm["数量"].value, 1) &&
        checkStringLength("厚み/サイズ", theForm["厚み/サイズ"].value, 1) &&
        checkStringLength("地色", theForm["地色"].value, 1) &&
        checkStringLength("文字色", theForm["文字色"].value, 1) &&
        checkStringLength("書体", theForm["書体"].value, 1) &&
        //checkBox(theForm["表示面"].value, "表示面を選択してください") &&
        //checkStringLength("表示面", theForm["表示面"].value, 1) &&
        checkStringLength("特記事項", theForm["特記事項"].value, 1) &&
        checkStringLength("貴社名", theForm["貴社名"].value, 1) &&
        checkStringLength("氏名", theForm["氏名"].value, 1) &&
        checkStringLength("ご住所", theForm["ご住所"].value, 1) &&
        checkStringLength("TEL", theForm["TEL"].value, 1) &&
        //checkStringLength("E-mail", theForm["E-mail"].value, 1) &&
        checkMailAddress(theForm._from.value) &&
        checkMailAddress(theForm._to.value) 
        ) {
        return true;
    }
    return false;
}


/**
 * 問い合わせフォームの値をチェックする。
 * 
 * @method onSubmitCheck2
 * @author edited by yamada 2004-09-02T16:23:55+0900
 *
 */
function onSubmitCheck2(theForm) {
    if (
        checkStringLength("お問合わせ内容", theForm["お問合わせ内容"].value, 1) &&
        checkStringLength("商品名", theForm["商品名"].value, 1) &&
        checkStringLength("貴社名", theForm["貴社名"].value, 1) &&
        checkStringLength("氏名", theForm["氏名"].value, 1) &&
        checkStringLength("ご住所", theForm["ご住所"].value, 1) &&
        checkStringLength("TEL", theForm["TEL"].value, 1) &&
        //checkStringLength("E-mail", theForm["E-mail"].value, 1) &&
        checkMailAddress(theForm._from.value) &&
        checkMailAddress(theForm._to.value) 
        ) {
        return true;
    }
    return false;
}

