회원가입
');
document.close();
*/
}
var checkNewOpener = function(){
BWsession.setSession({
name : '_new',
isopen : true,
checktime : new Date().getTime()
});
//console.log(BWsession.getNewOpener().isopen);
var opener = window.opener;
if(!opener) {
BWsession.setSession({
name : '_parent',
isopen : false,
checktime : new Date().getTime()
});
}
}
checkNewOpener(); //첫음 뜰때부터 한번 체크함
timer.add(checkNewOpener,'interval',1);
timer.start();
$( window ).unload(function() {
BWsession.setSession({
name : '_new',
isopen : false,
checktime : new Date().getTime()
});
var opener = window.opener;
if(!opener) {
BWsession.setSession({
name : '_parent',
isopen : false,
checktime : new Date().getTime()
});
}
});
}
function fnPopup(){
window.open('', 'popupChk', 'width=500, height=550, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no');
document.form_chk.action = "https://nice.checkplus.co.kr/CheckPlusSafeModel/checkplus.cb";
document.form_chk.target = "popupChk";
document.form_chk.submit();
}
// 1일1회본인인증
function fnPopupOneDay(course_idx){
var popupChk = window.open("about:blank","","width=500, height=550, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no");
popupChk.document.open();
popupChk.document.writeln('
');
popupChk.document.writeln("
");
popupChk.document.writeln('document.form_chk2.submit();');
popupChk.document.writeln("<\/SCR"+"IPT> ");
}