$(document).ready(function(){ try { $('a').attr('target','_blank'); imagesLoaded( document.querySelector('img'), function( instance ) { $('body').outerHeight(true); var h = $('body').outerHeight(); $('body').outerWidth(true); var w = $('body').outerWidth(); $('a').attr('target','_blank'); window.parent.fn_reSize(h , w); // alert(h+" | "+w); }); } catch (e) { $('body').outerHeight(true); var h = $('body').outerHeight(); $('body').outerWidth(true); var w = $('body').outerWidth(); $('a').attr('target','_blank'); window.parent.fn_reSize(h , w); return; } finally { // console.log(' Run '); } }); /** * 오늘날짜 */ function getToday() { var today = new Date(); var dd = today.getDate(); var mm = today.getMonth()+1; var yyyy = today.getFullYear(); if(dd<10) { dd='0'+dd; } if(mm<10) { mm='0'+mm; } today = yyyy + '' + mm + '' + dd; return today; } function clickJoinEvent(eventNo) { var popup = window.open('/tprice/survey/userEventAtend14.do?survey_eveno='+eventNo,'POPUP_EVENT14','width=550,height=880,scrollbars=auto'); if(popup != null) { popup.focus(); } else { alert('팝업차단을 해제해주세요.'); } }