if (menu != null) menu.style.backgroundColor = "#BDDEDB"; } /* Link url */ function goToUrl(url) { if (url != '') location.href = url; } function setCookie( name, value, expiredays ) { var todayDate = new Date(); todayDate.setDate( todayDate.getDate() + expiredays ); st = name + "=" + escape( value ) + "; path=/;"; if(expiredays) st = st + " expires=" + todayDate.toGMTString() + ";"; document.cookie = st; } function getCookie( name ) { var nameOfCookie = name + "="; var x = 0; while ( x <= document.cookie.length ) { var y = (x+nameOfCookie.length); if ( document.cookie.substring( x, y ) == nameOfCookie ) { if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) endOfCookie = document.cookie.length; return unescape( document.cookie.substring( y, endOfCookie ) ); } x = document.cookie.indexOf( " ", x ) + 1; if ( x == 0 ) break; } return ""; } function pass_open(){ // Çб³¿ë ¿ÀÇÁ³Ê »õ°Å location.href='https://pass.01consulting.co.kr/2026/tcman/main/main.php'; } function pass_open2(){ // Àü³âµµ window.open('https://pass.01consulting.co.kr/2025/tcman/index.php',"eupc","left=0,top=0,width=1250, height=850, scrollbars, resizable, status"); } // chchwon add log check Á¤º¸ Ãß°¡ // 2019-11-15 function euniv_open(){ // °í3 e´ëÇÐ $.ajax({ url : "/log_chk/pass_chk_ajax", type : 'POST', data : {}, dataType : 'json', success : function(data) { console.log("here=>"); console.log(data); }, error : function(xhr, status) { console.log(xhr + " : " + status); }, complete : function() { location.href='https://pass.01consulting.co.kr/2026/euniv/main/main.php'; } }); // $.ajax } function stpass_open(){ // Çлý¿ë ÇÕ°Ý¿¹ÃøÁ¢¼Ó euniv_open();} function usefunc() { kpass_open(); } //·Ñ¹è³Ê¿ë. var bodyscrollTop = 0; var isIE = (navigator.appName == "Microsoft Internet Explorer") ? 1 : 0; var isNS = (navigator.appName == "Netscape") ? 1 : 0; function scrollCursorHandler (evt) { if (document.compatMode && document.compatMode != 'BackCompat') bodyscrollTop = document.documentElement.scrollTop; else bodyscrollTop = document.body.scrollTop; } window.onscroll = scrollCursorHandler; function setSlideLeft() { _center_left = 455; // ??????????È­¸é Áß½ÉÀ¸·ÎºÎÅÍ ¿ìÃøÀ¸·Î ¶³¾îÁö´Â À§Ä¡ _width = (isIE) ? document.body.clientWidth : document.width; //È­¸éÀÇ »çÀÌÁî °¡Á®¿À±â _width = (_minWidth > _width) ? _minWidth : _width; _center = parseInt(_width / 2); obj_layer.style.left = _center + _center_left; } _min = _min2 = is_center = _minWidth = _left = obj_layer = bheight = null; function settingSlide(lay, left, top, center, height) { obj_layer = document.getElementById(lay); //?????????????¿òÁ÷ÀÏ ¹è³Ê ¾ÆÀ̵ð. is_center = center; // ??????????È­¸éÀÌ Áß°£ Á¤·ÄÀÎÁö ¾Æ´ÑÁö. _minWidth = 926; // ??????????È­¸é ÃÖ¼Ò ³ÐÀÌ : ¹è³Ê¸¦ Á¦¿Ü ÇÑ »çÀÌÁî _left = -8; // ??????????È­¸éÀÇ ³¡À¸·Î ºÎÅÍ ¶³¾îÁö´Â À§Ä¡ bheight = height; // ¹è³Ê ³ôÀÌ if(is_center) { //È­¸éÀÌ Áß°£ Á¤·ÄÀ̸é, xÁÂÇ¥¸¦ »çÀÌÁî º¯°æ½Ã¸¶´Ù ¹Ù²ãÁÜ. onresize = setSlideLeft; setSlideLeft(); } else { obj_layer.style.left = left; //???????????Áß°£Á¤·ÄÀÌ ¾Æ´Ò¶§ Ãʱâ xÁÂÇ¥¸¦ ÀÔ·ÂÇÔ... °íÁ¤À¸·Î ¿òÁ÷ÀÌÁö ¾ÊÀ½. } obj_layer.style.top = top+"px"; //????????????óÀ½ ½ÃÀÛÇÏ´Â ³ôÀÌ °ª. _min = top; //????????????óÀ½ ½ÃÀÛÇÏ´Â ³ôÀÌ °ª. _min2 = top; //????????????óÀ½ ½ÃÀÛÇÏ´Â ³ôÀÌ °ª. } function slideMenu(){ var _timer=500; var _from=parseInt(obj_layer.style.top,10); var _to = bodyscrollTop + (bodyscrollTop >= _min ? _min2:_min); var _height = (isIE) ? document.body.clientHeight : document.height; if( (_min+bheight) > _height ) _to = _height - bheight + bodyscrollTop; if(_to < _min) _to = _min; if(_from != _to){ var _top=Math.ceil(Math.abs(_to-_from)/20); obj_layer.style.top=parseInt(obj_layer.style.top,10) + (_to<_from?-_top:_top)+"px"; _timer=10; } setTimeout(slideMenu, _timer); } function togg_sub(upnum){ //ÁÂÃø¸Þ´ºÀÇ ¼­ºê ¸Þ´º ¿­±â/´Ý±â¿ë var box=document.all['menu'+upnum+'sub']; if(box.style.display!='none') box.style.display='none'; else box.style.display='block'; } function docwrite(objhtml) { document.write(objhtml); } function isObject(ob) {return (ob && typeof ob == 'object');} function goLogin(msg,redirect) { url = "/sub.php?section=3.9.8"; if(redirect.length > 0) url = url+"&redirect="+redirect; if(confirm(msg)) {top.location.href=url; return true;} } function chksearch(obj) { if(obj.q.value.length <= 0 || obj.q.value=='ÅëÇÕ°Ë»ö') { alert('°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.'); obj.q.focus(); return false; } return true; } function pop_opens(url,type1,type2){ window.open(url,type1,type2); } function openTguniv(seq, uidx, univnm, vm) { url = "/myfolder/tgunivinfo.php?SEQ="+seq+"&uidx="+uidx+"&u="+univnm+"&vm="+vm; window.open(url,"univinfo","top=0, left=0, width=713, height=670, scrollbars, resizable, status"); } // À̺¥Æ® ÇÔ¼ö. function addEvent(obj,eve,fnc){ // obj °´Ã¼¿¡ eve À̺¥Æ®·Î fnc¸¦ ½ÇÇà½ÃÅ´.// ex) addEvent(obj, 'onclick', abc) // addEvent´Â ±âÁ¸ÀÇ ÇÔ¼ö¸¦ ±×´ë·Î µÎ°í Ãß°¡ÇÏ´Â °³³äÀÓ. if(isIE){ obj.attachEvent(eve , fnc); } else { eve=eve.replace('on',''); obj.addEventListener(eve , fnc, false); } } function removeEvent(obj,eve,fnc){ // obj °´Ã¼ÀÇ eve À̺¥Æ® ¾ÈÀÇ fnc ÇÔ¼ö¸¦ »èÁ¦ ½ÃÅ´. if(isIE){ obj.detachEvent(eve , fnc); } else { eve=eve.replace('on',''); obj.removeEventListener(eve , fnc, false); } } function viewBan(sec,bbs,seq) { window.open('/ban/ban_view/?sec_sub='+sec+'&bbs='+bbs+'&seq='+seq,'viewBanPoP','left=0,top=0,width=710, height=500, scrollbars=yes, resizable=yes, status=no'); } function goBanSec(sec) { location.href='/sub.php?section=9.1&sec_sub='+sec; } function popOpen(url,w,h) { window.open(url,'normal','left=0,top=0,width='+w+', height='+h+', scrollbars, resizable, status'); } function point_pop_close(){ $('.point-pop').hide(); } //-->