function fnTicketMobileBooking(GoodsCode){ if(true){ alert('로그인후 이용해주세요'); var frmMobileLogin; frmMobileLogin = document.createElement("form"); frmMobileLogin.name = "loginMobileForm"; frmMobileLogin.action = "/portal/member/user/forLogin.do?menuNo=200019"; //frmMobileLogin.target = "wndBooking"; frmMobileLogin.method = "post"; var o; o = document.createElement("input"); o.name = "aplReturnPath"; o.type = "hidden"; o.value = "&kw="; frmMobileLogin.appendChild(o); document.body.appendChild(frmMobileLogin); frmMobileLogin.submit(); return; } $.post( "/portal/singl/interPark/interParkAdvantkRequst.json", {viewType : "JSON", optn18:GoodsCode}, function(data){} ); var frmTicketMobileBooking; frmTicketMobileBooking = document.createElement("form"); frmTicketMobileBooking.name = "frmMobileBooking"; frmTicketMobileBooking.action = "https://smticket.interpark.com/PartnerShip/ticket/index.html"; frmTicketMobileBooking.target = "wndBooking"; frmTicketMobileBooking.method = "post"; document.body.appendChild(frmTicketMobileBooking); var o; o = document.createElement("input"); o.name = "bp1"; o.type = "hidden"; o.value = "39498"; frmTicketMobileBooking.appendChild(o); o = document.createElement("input"); o.name = "bp2"; o.type = "hidden"; o.value = GoodsCode; frmTicketMobileBooking.appendChild(o); o = document.createElement("input"); o.name = "bp3"; o.type = "hidden"; o.value = "CHWDSmCQKiaHkHraXbZj7Q=="; frmTicketMobileBooking.appendChild(o); o = document.createElement("input"); o.name = "bpk"; o.type = "hidden"; o.value = "qPSHjvwUGtiEyFhHezXRjA=="; frmTicketMobileBooking.appendChild(o); o = document.createElement("input"); o.name = "bp5"; o.type = "hidden"; o.value = "qLMK5GOO4BLeLZSE8aqYiQ=="; frmTicketMobileBooking.appendChild(o); o = document.createElement("input"); o.name = "TYPE"; o.type = "hidden"; o.value = "BOOK"; frmTicketMobileBooking.appendChild(o); try { var loc = ""; win = window.open(loc,"wndBooking","scrollbars=yes"); if(win==null) { alert("팝업창이 제한되어 있어서 예매창을 열 수 없습니다."); } else { frmTicketMobileBooking.submit(); win.focus(); $('[name="frmMobileBooking"]').remove(); } } catch(e) { alert("팝업창이 제한되어 있어서 예매창을 열 수 없습니다."); } } function fnMobileTicketBooked() { if(false){ alert('로그인후 이용해주세요'); location.href="/portal/member/user/forLogin.do?menuNo=200019"; return; } var frmTicketBookingMobile; frmTicketBookingMobile = document.createElement("form"); frmTicketBookingMobile.name = "frmBooking"; frmTicketBookingMobile.action = "https://smticket.interpark.com/PartnerShip/ticket/index.html"; frmTicketBookingMobile.target = "wndBooking"; frmTicketBookingMobile.method = "post"; document.body.appendChild(frmTicketBookingMobile); var o; o = document.createElement("input"); o.name = "bp1"; o.type = "hidden"; o.value = "39498"; frmTicketBookingMobile.appendChild(o); o = document.createElement("input"); o.name = "bp3"; o.type = "hidden"; o.value = "CHWDSmCQKiaHkHraXbZj7Q=="; // frmTicketBookingMobile.appendChild(o); o = document.createElement("input"); o.name = "bpk"; o.type = "hidden"; o.value = "qPSHjvwUGtiEyFhHezXRjA=="; // frmTicketBookingMobile.appendChild(o); o = document.createElement("input"); o.name = "bp5"; o.type = "hidden"; o.value = "qLMK5GOO4BLeLZSE8aqYiQ=="; frmTicketBookingMobile.appendChild(o); o = document.createElement("input"); o.name = "TYPE"; o.type = "hidden"; o.value = "MYTICKET"; frmTicketBookingMobile.appendChild(o); try{ var loc = ""; win = window.open(loc,"wndBooking","top=10, left=10, width=900, height=682, scrollbars=yes"); if(win==null) { alert("팝업창이 제한되어 있어서 예매확인창을 열 수 없습니다."); } else { frmTicketBookingMobile.submit(); win.focus(); $('[name="frmBooking"]').remove(); } } catch(e) { alert("팝업창이 제한되어 있어서 예매확인창을 열 수 없습니다."); } }