function setCookie( 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 isIE() {if( navigator.appName.indexOf("Microsoft") > -1 ) { if( navigator.appVersion.indexOf("MSIE 9") > -1) {return "9"; } else if( navigator.appVersion.indexOf( "MSIE 8") > -1 ) {return "8";} else if( navigator.appVersion.indexOf( "MSIE 7") > -1 ) {return "7";} else if( navigator.appVersion.indexOf( "MSIE 6") > -1 ) {return "6";} } else {return ""; }} //갤럭시 if( 201801172021 >= 201611271000 && 201801172021 <= 201611271900 ){ if ( getCookie( "popup_notice_01" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/notice_popup_01.html','popup_notice_01','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=380,height=360,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } //한가위 if( 201801172021 >= 201709291731 && 201801172021 <= 201710091730 ){ if ( getCookie( "popup_0906" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/popup_0906.html','popup_0906','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=490,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } //유류세 if( 201801172021 >= 201712250900 && 201801172021 <= 201712291730 ){ if ( getCookie( "popup_notice" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/notice_popup.html','popup_notice','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=720,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } //개인정보보호노출 사과문 if( 201801172021 >= 201701031201 && 201801172021 <= 201702091800 ){ if ( getCookie( "aaaa" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/popup_privacy.html','aaaa','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=620 height=903,top=30,left=15');//이부분을 자기에 맞게 변경하세요 } } // 시스템폰트 공지사항 팝업 if( 201801172021 >= 201801040900 && 201801172021 <= 201801241700 ){ if ( getCookie( "popup_txt" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/popup_txt.html','popup_txt','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400 height=282,top=30,left=15');//이부분을 자기에 맞게 변경하세요 } } //새해 복 /* if( 201801172021 >= 201801031201 && 201801172021 <= 201802091800 ){ if ( getCookie( "popup_newyear" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/popup_0205.html','popup_newyear','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=400,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } */ //결제캠페인 /* if( 201801172021 >= 201507130830 && 201801172021 <= 201507151700 ){ if ( getCookie( "popup_pay" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/popup_pay.html','popup_pay','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=516,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } */ // 설문조사 if( 201801172021 >= 201709040900 && 201801172021 <= 201709101700 ){ if ( getCookie( "popup_survey01" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/popup_survey01.html','popup_survey01','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=400,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } //총액제 /* if( 201801172021 >= 201407141715 && 201801172021 <= 201407221359 ){ if ( getCookie( "popup_total" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/popup_total.html','popup_total','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=550,height=645,top=150,left=420');//이부분을 자기에 맞게 변경하세요 } } */ //참고 //if ( getCookie( "recruit_popup" ) != "done" && getCookie( "agt%5Fexh%5Fcode" )=="" ) //{ //noticeWindow = window.open('/xsl/promotion/popup/recruit_201209.html','recruit_popup','toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=295,height=416,top=150,left=250');//이부분을 자기에 맞게 변경하세요 //}