if (typeof(COMMON_JS) == 'undefined') { // Çѹø¸¸ ½ÇÇà var rt_path = ''; if (typeof rt_path == 'undefined') alert('rt_path º¯¼ö°¡ ¼±¾ðµÇÁö ¾Ê¾Ò½À´Ï´Ù. js/common.js'); var COMMON_JS = true; function win_open(url, name, option) { var popup = window.open(url, name, option); popup.focus(); } // ÂÊÁö â function win_memo(url) { if (!url) url = rt_path + "/member/memo/lists"; win_open(url, "winMemo", "left=50,top=50,width=616,height=460,scrollbars=1"); } //»õâ ¶ç¿ì±â var myWin = null; function newWin(url,name,w,h,left,top,scroll) { var pLeft, pTop; if(left == "random") { pLeft = (screen.width) ? Math.floor(Math.random()*(screen.width-w)) : 100; } else if(left == "center") { pLeft = (screen.width) ? (screen.width-w)/2 : 100; } else if(left != "") { pLeft = left; } else { pLeft = 5; } if(top == "random") { pTop = (screen.height) ? Math.floor(Math.random()*((screen.height-h)-75)) : 100; } else if (top == "center") { pTop = (screen.height) ? (screen.height-h)/2 : 100; } else if(top != "") { pTop = top; } else { pTop = 5; } var settings = "width="+w+",height="+h+",top="+pTop+",left="+pLeft+",scrollbars="+scroll+",location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no"; myWin = window.open(url,name,settings); if(myWin) myWin.focus(); } //Áø·á°ú ¿Â¿ÀÇÁ function de_list_b(no) { var p_el = $id("dept_list2").getElementsByTagName("img"); for (i=0;i"); } // µ¿¿µ»ó ÆÄÀÏ function obj_movie(src, ids, width, height, autostart) { var wh = ""; if (parseInt(width) && parseInt(height)) wh = " width='"+width+"' height='"+height+"' "; if (!autostart) autostart = false; document.write(""); } // ¾ÆÀÌÇÁ·¹ÀÓ ³ôÀÌ ÀÚµ¿Á¶Àý function reSize(obj) { try { var objBody = frames[obj].document.body; var objFrame = document.getElementById(obj); ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight); objFrame.style.height = ifrmHeight; } catch(e) {} } function sEncode(val) { return encodeURIComponent(val).replace(/%/g, '.'); } // script ¿¡¼­ js ÆÄÀÏ ·Îµå function importScript(FILES) { var _importScript = function(filename) { if (filename) { document.write('
"); if (imgSrc.match(/\.swf$/i)) popupWin.document.write(""); else popupWin.document.write(""); popupWin.document.write("
"); popupWin.document.close(); } } }