$(function() { Footer.init(); }); var Footer = { init : function() { try { $('.privacy_policy_pop').click(Footer.privacyPolicyPopup); $('.terms_of_use_pop').click(Footer.termsOfUsePopup); } catch(e) { alert("[js/egovframework/tradekorea/www/include/footer.js's Footer.init] error : " + e.description); } }, privacyPolicyPopup : function() { try { var l_url = '/include/privacyPolicy.do?action=init&nolayout=yes'; var l_features = 'width=740, height=643, scrollbars=yes'; window.open(l_url, 'privacyPolicy', l_features); return false; } catch(e) { alert("[js/egovframework/tradekorea/www/include/footer.js's Footer.privacyPolicyPopup] error : " + e.description); } }, termsOfUsePopup : function() { try { var l_url = '/include/termsOfUse.do?action=init&nolayout=yes'; var l_features = 'width=740, height=643, scrollbars=yes'; window.open(l_url, 'termsOfUse', l_features); return false; } catch(e) { alert("[js/egovframework/tradekorea/www/include/footer.js's Footer.termsOfUsePopup] error : " + e.description); } } }