// global Code var depth1Code = -1, depth2Code = 0, depth3Code = 0, depth4Code = 0; function resizeElement(gubun) { if( gubun == "menu_over") { document.getElementById('topnavi').style.height = 250+'px'; return; } else if( gubun == "menu_out"){ document.getElementById('topnavi').style.height = 115+'px'; return; } } /*******error ó¸®À§ÇÑ ½ºÅ©¸³Æ® ½ÃÀÛ ***************/ window.onerror = ErrorSetting var e_msg=""; var e_file=""; var e_line=""; function ErrorSetting(msg, file_loc, line_no) { e_msg=msg; e_file=file_loc; e_line=line_no; return true; } /*******error ó¸®À§ÇÑ ½ºÅ©¸³Æ® ³¡ ***************/ /*******¿µ¾î ÀÛ¹® ÇÁ·Î±×·¥ ½ºÅ©¸³Æ® ½ÃÀÛ ***************/ function onPop_writing() { var width = 1045; var height = 814; var left_position = (screen.width-width)/2; var url ="http://writing.yoons.com"; var strStyle = "menubar=yes, toolbar=no, location=yes, scrollbars=yes, status=no, resizable=yes, width="+width+", height="+height+",left="+left_position; window.open(url,"writingClass",strStyle); } /*******¿µ¾î ÀÛ¹® ÇÁ·Î±×·¥ ½ºÅ©¸³Æ® ³¡ ***************/ /*******±³Àç ÇÑ´«¿¡ º¸±â ½ºÅ©¸³Æ® ½ÃÀÛ ***************/ function onPop_allBooks() { var width = 1020; var height = 628; var left_position = (screen.width-width)/2; var url ="/html/allbooks/menu01.html"; var strStyle = "menubar=yes, toolbar=no, location=yes, scrollbars=yes, status=no, resizable=yes, width="+width+", height="+height+",left="+left_position; window.open(url,"viewAllBooks",strStyle); } /*******ÄÚ¾î »çÀü ***************/ function onPop_coreDictionary() { var width = 850; var height = 680; var left_position = (screen.width-width)/2; var url ="/html/dictionary/index.html"; var strStyle = "menubar=yes, toolbar=no, location=no, scrollbars=no, status=no, resizable=no, width="+width+", height="+height+",left="+left_position; window.open(url,"viewcoreDictionary",strStyle); } function goPopBeseTeacher() { void(window.open('/html/baseteacher/index.html', 'newOpen', 'left=260, top=0, menubar=no, toolbar=no, statusbar=no, scrollbars=yes, width=870, height=680')); } /** * °³ÀÎÁ¤º¸ º¸È£¹æħ º¯°æ¾È³» */ function openPop_smart() { var url = "/html/smartbefly/pop_main.html"; winprops = 'width=950,height=798,top=10,left=10,resizable=no,scrollbars=yes,toolbars=no,status=no,menu=no'; window.open(url, 'openPop_smart', winprops); }