";
}else{
addHtml += "
";
}
// addHtml += "
"+popupTitleNm+"";
addHtml += "
";
addHtml += popupCn;
addHtml += "
";
addHtml += "
";
addHtml += "
";
addHtml += "
";
if(stopVewAt == "Y"){
addHtml += "";
addHtml += "";
}
addHtml += "
";
addHtml += "
";
addHtml += "
";
$("#lyrPop").append(addHtml);
},error: function(xhr,status,error){
console.log(xhr);
alert(status);
}
});
}
}
/* ********************************************************
* 팝업창 오픈 쿠키 정보 OPEN
******************************************************** */
function fnGetCookie(name) {
var prefix = name + "=";
var cookieStartIndex = document.cookie.indexOf(prefix);
if (cookieStartIndex == -1) return null;
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length);
if (cookieEndIndex == -1) cookieEndIndex = document.cookie.length;
return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex));
}
/* ********************************************************
* 쿠키설정
******************************************************** */
function fnSetCookiePopup( name, value, expiredays ) {
var todayDate = new Date();
todayDate.setDate( todayDate.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}
/* ********************************************************
* 체크버튼 클릭시
******************************************************** */
function fnPopupCheck(id) {
fnSetCookiePopup( id, "done" , 1);
lyrClose(id);
}
function lyrClose(id){
$("#"+id).hide();
}
$(document).ready(function(){
});
// 고객만족도 팝업
function _winPollUserPopup(){
var popUrl = '/frt/pollPopup/PollUserFFormM.do;jsessionid=cExMXuzqM57dSCj2cERB5Zk7.node50';
var winHeight = document.body.clientHeight; // 현재창의 높이
var winWidth = document.body.clientWidth; // 현재창의 너비
var winX = window.screenX || window.screenLeft || 0;// 현재창의 x좌표
var winY = window.screenY || window.screenTop || 0; // 현재창의 y좌표
var popWidth = 800;
var popHeight = 700;
var popX = winX + (winWidth - popWidth)/2;
var popY = winY + (winHeight - popHeight)/2;
zapp_proxyWindowOpen(popUrl,"고객만족도","scrollbars=yes, width="+popWidth+"px,height="+popHeight+"px,top="+popY+",left="+popX);
}