// JavaScript Document
// 新しいウィンドウを中央に開く
l = 60; // 表示するx座標
t = 30; // 表示するy座標
w = 950; // 横幅
h = 700; // 縦幅
function openWindow1() {
  x = (screen.width - w) / 2;
  y = (screen.height - h) / 2;
  subWin = window.open("http://www.sakaepark.co.jp/paper_navi/now_mounth/paper_navi.html","OpenWindow",
    "screenX="+x+",screenY="+y+",left="+x+",top="+y+",width="+w+",height="+h);
}
function openWindow2() {
  x = (screen.width - w) / 2;
  y = (screen.height - h) / 2;
  subWin = window.open("http://www.sakaepark.co.jp/paper_navi/old_mounth/paper_navi.html","OpenWindow",
    "screenX="+x+",screenY="+y+",left="+x+",top="+y+",width="+w+",height="+h);
}

function openWindow(month) {
  x = (screen.width - w) / 2;
  y = (screen.height - h) / 2;
  subWin = window.open("http://www.sakaepark.co.jp/paper_navi/" + month + "/paper_navi.html","OpenWindow",
    "screenX="+x+",screenY="+y+",left="+x+",top="+y+",width="+w+",height="+h);
}

function openWindowUrl(url) {
  x = (screen.width - w) / 2;
  y = (screen.height - h) / 2;
  subWin = window.open(url, "pdf",
    "screenX="+x+",screenY="+y+",left="+x+",top="+y+",width="+w+",height="+h+", menubar=no, toolbar=no, location=no, status=no, resizable=yes, scrollbars=yes");
}
