//===========================
// 二度押し防止
//===========================
var dpush_flag=false;
function cmdButton_push(submit_form) {
  if( dpush_flag==false ) {
    dpush_flag=true;
    submit_form.submit();
  }
}
//===========================
// 二度押し解除
//===========================
function changeFlag() {
  dpush_flag=false;
}
//===========================
// 新着表示
//===========================
function openWhatnew() {
  var w = window.open("NewInfoLink.do",
              "PNWDPN0001",
              "width=700,height=350,left=200,top=200,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,favorites=no,resizable=yes");
  w.focus();
}
//===========================
// 出玉詳細表示
//===========================
function openDedamaDetail(hallCode, tableNum, forward, actionType) {
  url = "HallDedamaLogin.do?tablenum=" + tableNum + "&hallcode=" + hallCode + "&forward=" + forward + "&actiontype=" + actionType;
  var w = window.open(url, "PNWDPD0012");
  w.focus();
}
//===========================
// プライバシーポリシー
//===========================
function dispPolicy(path) {
  var w = window.open("../policy/privacy.html",
              "PRIVACY",
              "width=480,height=360,left=200,top=200,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,favorites=no,resizable=yes");
  w.focus();
}
//===========================
// 申請書
//===========================
function dispApplication(path) {
  var w = window.open("../policy/application.html",
              "APPLICATION",
              "width=800,height=360,left=200,top=200,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,favorites=no,resizable=yes");
  w.focus();
}
