document.write('
'); document.write(''); var motherUrl = "https://www.lottetour.com"; var overseasAirDomain = "air.lottetour.com"; var domesticAirDomain = "krair.lottetour.com"; //input 번호만 받기 유현석 20180828 function onlyNumber(event){ event = event || window.event; var keyID = (event.which) ? event.which : event.keyCode; if ( (keyID >= 48 && keyID <= 57) || (keyID >= 96 && keyID <= 105) || keyID == 8 || keyID == 46 || keyID == 37 || keyID == 39 ) return; else return false; } //input 문자삭제 유현석 20180828 function removeChar(event) { event = event || window.event; var keyID = (event.which) ? event.which : event.keyCode; if ( keyID == 8 || keyID == 46 || keyID == 37 || keyID == 39 ) return; else event.target.value = event.target.value.replace(/[^0-9]/g, ""); } function appDownPop(gbn){ var pop = $(".ease_layer"); if(gbn){ pop.css("display","block"); }else{ pop.css("display","none"); } } function appDownValidation(){ var trip = $("#down_trip"); var air = $("#down_air"); var phoneNum = $("#phoneNum"); if(trip.prop("checked") == false && air.prop("checked") == false){ alert("다운받으시고자 하는 앱을 체크해주세요."); return false; } var regExp = /^\d{3}\d{3,4}\d{4}$/; if(phoneNum.val() == "" || phoneNum.val()){ if(regExp.test(phoneNum.val())){ $.ajax({ type : "POST", url : motherUrl + "/mapp", data : $("#mappForm").serialize(), dataType : "json", success : function(data) { if(data.code == "SUCCESS") { alert("전송에 성공하였습니다.\n문자 전송까지는 3초~30초 가량의 시간이 소요됩니다."); phoneNum.val(""); trip.prop("checked", false); air.prop("checked", false); appDownPop(false); } else if(data.code == "ERROR"){ alert(""); } }, error : function(e) { }, timeout:100000 }); }else{ alert("전송에 실패하였습니다.\n잠시 후 다시 요청해주세요."); return false; } } } function notice_roll(){ notice_auto = setInterval(function(){ $('.foot_quick .notice dd ul').animate({top:'-=24px'},function(){ $(this).animate({top:0},0); $(this).children().first().appendTo($(this)); }); },3000); } //메인 하단 공지사항 $('.foot_quick .notice dd ul a').mouseenter(function(){ clearInterval(notice_auto); }); $('.foot_quick .notice dd ul a').mouseleave(function(){ notice_roll(); }); notice_roll(); document.write(" "); document.write(''); document.write(''); document.getElementById("noticeNews").innerHTML = "