function checkMandatory(){    var error_string = "";    // テキストフィールドのチェック    if (window.document.order.name.value == "")    {        error_string += "・お名前\n";    }	    if (window.document.order.address.value == "")    {        error_string += "・ご住所\n";    }	    if (window.document.order.tel.value == "")    {        error_string += "・電話番号\n";    }	    if (window.document.order.from.value == "")    {        error_string += "・メールアドレス\n";    }	    if (window.document.order.title.value == "")    {        error_string += "・書名\n";    }	    if (window.document.order.volume.value == "")    {        error_string += "・冊数\n";    }    if (error_string == "")    {        return true;    } else {        error_string = "以下は必須項目です。：\n" + error_string;        alert(error_string);        return false;    }}