/**
 *  POPUP Window Open Script
 */
function openPopup(url, popAttr) {
	var windowAttr = {
		target : popAttr.target ? popAttr.target : "_blank",
		width  : popAttr.width  ? popAttr.width  : "450",
		height : popAttr.height ? popAttr.height : "550",
		top    : popAttr.top    ? popAttr.top    : "100",
		left   : popAttr.left   ? popAttr.left   : "100",
		menubar : popAttr.menubar  ? popAttr.menubar   : "no",
		toolbar : popAttr.toolbar  ? popAttr.toolbar   : "no",
		location: popAttr.location ? popAttr.location  : "no",
		status  : popAttr.status   ? popAttr.status    : "no",
		resizable : popAttr.resizable ? popAttr.resizable : "no" 
	}
	
	var attr = "width=" + windowAttr.width;
	    attr += ",height=" + windowAttr.height;
	    attr += ",top=" + windowAttr.top;
	    attr += ",left=" + windowAttr.left;
	    attr += ",menubar=" + windowAttr.menubar;
	    attr += ",toolbar=" + windowAttr.toolbar;
	    attr += ",location=" + windowAttr.location;
	    attr += ",status=" + windowAttr.status;
	
	var pupWin = window.open(url,windowAttr.target,attr);
}

/**
 * 실명인증 POPUP
 */
var IdlCert_Win;
function sciPopup(){
	IdlCert_Win = openPopup("",{target:"idlCertWin",width:500,height:650});
	$("#sciForm").submit();
}
