// サブウィンドウの大きさと開く位置の指定
l = 60; // 表示するx座標
t = 30; // 表示するy座標
w = 620; // 横幅
h = 300; // 縦幅
wc = 620; // 横幅
hc = 480; // 縦幅

function openWindow() {
  window.open("../news/details.php","OpenWindow",
    "screenX="+l+",screenY="+t+",left="+l+",top="+t+",width="+w+",height="+h);
}
// 中央に開く
function openWindowC() {
  x = (screen.width  - w) / 2;
  y = (screen.height - h) / 2;
  subWin = window.open("/contents/keeping.html","OpenWindow",
    "screenX="+x+",screenY="+y+",left="+x+",top="+y+",width="+wc+",height="+hc);
}

