/******************* 설문조사 보내기 ***************************************/ //레이어 function fn_survey_popup(){ var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left; var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top; var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; var left = ((width / 2) - (920 / 2)) + dualScreenLeft; var top = ((height / 2) - (880 / 2)) + dualScreenTop; window.open('/event/survey2016/index.asp','survey','width=920, height=880, left='+left+', top='+top+', scrollbars=yes'); } //메인 뉴스 Top3 뽑아오기 function fn_main_news(p_bbstype){ $.ajax({ url:"/service/index.asp?bbstype="+p_bbstype, type:'get', data:'', datatype:'json', async:false, error: function(p_req, p_status, p_err) { alert("일시적인 오류가 발생하였습니다. 잠시 후 이용바랍니다."); }, success: function(p_data) { $("#tab-global").empty().removeClass("active"); $("#tab-school").empty().removeClass("active"); $("#tab-thanku").empty().removeClass("active"); if(p_data.addressList != "" && p_data.addressList != null){ var in_state_code = ""; in_state_code += "