function mySetCookie(name, value, expiredays ) { var todayDate = new Date(); todayDate.setDate( todayDate.getDate() + expiredays ); document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" } function getCookie( name ){ var nameOfCookie = name + "="; var x = 0; while ( x <= document.cookie.length ){ var y = (x+nameOfCookie.length); if ( document.cookie.substring( x, y ) == nameOfCookie ) { if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) endOfCookie = document.cookie.length; return unescape( document.cookie.substring( y, endOfCookie ) ); } x = document.cookie.indexOf( " ", x ) + 1; if ( x == 0 ) break; } return ""; } function btn_close() { document.getElementById("divNotice").style.display = "none"; } function pop_chk(){ mySetCookie( "new3", "done" , 1); //self.close(); document.getElementById("divNotice").style.display = "none"; } function Openpopup() { window.open('/asp/weblog/survey_01.html?hanacode=survey_01', 'imgPopupwin','width=550,height=730,top=0,left=0,scrollbars=yes,resizable=no'); closeWin(); } document.getElementById("divNoticeSection").innerHTML = '
' + ' ' + ' ' + ' ' + '
'; if( 201809192348 >= 201709220900 && 201809192348 <= 201903270959 ){ document.getElementById("divNotice").style.display ="block"; }else{ document.getElementById("divNotice").style.display ="none"; }