function check() {
  res = confirm("買い物カゴへ登録します。\nよろしいですか？");
  if(res==false) {
    return false;
  }
}
