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( 201811151504 >= 201806111000 && 201811151504 <= 201806172300 ){ 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=420,height=470,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } //스카이팀 소속 항공사 인천공항 터미널 이전 안내 if( 201811151504 >= 201810180900 && 201811151504 <= 201810251730 ){ if ( getCookie( "popup_ICN_T2" ) != "done" ) { noticeWindow = window.open('/xsl/promotion/popup/popup_ICN_T2.html','popup_ICN_T2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=524,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } //유류세 if( 201811151504 >= 201810260900 && 201811151504 <= 201810311730 ){ 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( 201811151504 >= 201701031201 && 201811151504 <= 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( 201811151504 >= 201801040900 && 201811151504 <= 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( 201811151504 >= 201809210900 && 201811151504 <= 201809252359 ){ 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=520,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } //결제캠페인 /* if( 201811151504 >= 201507130830 && 201811151504 <= 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( 201811151504 >= 201810170900 && 201811151504 <= 201810172200 ){ 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=400,height=516,top=150,left=75');//이부분을 자기에 맞게 변경하세요 } } //총액제 /* if( 201811151504 >= 201407141715 && 201811151504 <= 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');//이부분을 자기에 맞게 변경하세요 //}