팝업창을 띄울때 top,left는 고정되는데 상대적인 위치에 팝업창을 띄우고자 할때 사용하는 방법
var nWidth = "260";
var nHeight = "430";
// 듀얼 모니터인경우
var curX = window.screenLeft;
var curY = window.screenTop;
var curWidth = document.body.clientWidth;
var curHeight = document.body.clientHeight;
var nLeft = curX + (curWidth / 2) - (nWidth / 2);
var nTop = curY + (curHeight / 2) - (nHeight / 2);
var strOption = "";
strOption += "left=" + nLeft + "px,";
strOption += "top=" + nTop + "px,";
strOption += "width=" + nWidth + "px,";
strOption += "height=" + nHeight + "px,";
strOption += "toolbar=no,menubar=no,location=no,";
strOption += "resizable=yes,status=yes";
window.open(src, '', strOption);