/*************************************************************************** ¡Ø ¾Æ·¡ ½ºÅ©¸³Æ®´Â ȨÆäÀÌÁö ±¸µ¿¿¡ ÇÊ¿äÇÑ ÇÙ½É ³»¿ëÀ̹ǷΠ°¡±ÞÀû ¼öÁ¤ÇÏÁö ¸¶¼¼¿ä. ±âŸ ÇÊ¿äÇÑ jQuery ¼Ò½º´Â ¸Ç ¹ØÁÙ¿¡ Ãß°¡Çؼ­ ¼öÁ¤ÇϽñ⠹ٶø´Ï´Ù. ***************************************************************************/ function setCookie( name, value, expiredays ) {var todayDate = new Date(); todayDate.setDate( todayDate.getDate() + expiredays ); document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"};function winClose() {if ( document.node_form.chkbox.checked ){ setCookie( "maindiv", "done" , 1 ); } document.getElementById("nodepop").style.visibility = "hidden";};var favoriteurl = "http://www.nodehome.kr";var favoritetitle = "µðÀÚÀÎNODE ÀÎÅ׸®¾î001(¹ÝÀÀÇü)";function addfavorites(){window.external.AddFavorite(favoriteurl,favoritetitle);};$(document).ready(function(){$(".openBtn").find("a").click(function(){$(".menuWrap").animate({"right":"0"}, 350,'swing');$('.closeBtn, .gnbBg_mb').fadeIn();return false;});$(".closeBtn").find("a").click(function(){$(".menuWrap").animate({"right":"-250px"}, 350,'swing');$('.closeBtn').hide();$('.gnbBg_mb').fadeOut();return false;});$(".gnbBg_mb").click(function(){$(".menuWrap").animate({"right":"-250px"}, 350,'swing');$('.closeBtn').hide();$('.gnbBg_mb').fadeOut();return false;});});$(document).ready(function(){jQuery("nav").each(function(a){jQuery(this).find("li.mm").each(function(b){jQuery(this).click(function(){if(jQuery(this).find("img").attr("src").indexOf("on") > 0) {jQuery(this).parent().find(".arrow img").attr('src','/bizdemo155896/img/images/arrow.gif');jQuery(this).next('ul.sm').stop(true, true).slideUp(400);} else {jQuery(this).parent().find(".arrow img").attr('src','/bizdemo155896/img/images/arrow.gif');$('span img',this).attr('src','/bizdemo155896/img/images/arrow_on.gif');jQuery(this).siblings("ul.sm").stop(true, true).slideUp(400);jQuery(this).next('ul.sm').stop(true, true).slideDown(400);}})})})});$(document).ready(function(){gnbNum;$windowWid = $(window).width();$gnb = $("header").find(".gnbMenu");$gnbCat = $gnb.find(".mm");$wrap = $("#headerWrap");var userAgent = navigator.userAgent.toLowerCase();var istablet = (userAgent.indexOf("tablet") != -1 || userAgent.indexOf("ipad") != -1) ? true : false;var gnbTime, gnbSetTime = 400;$gnbCat.each(function(index,item){$(item).hover(function(){ if($wrap.is(".wided") && !$gnb.is(".vital") && !istablet){clearTimeout(gnbTime);$gnbCat.children("a").find("span").removeClass("on");$(item).addClass("on").siblings("li").removeClass("on");};},function(){clearTimeout(gnbTime);if($wrap.is(".wided") && !$gnbCat.hasClass("vital") && !istablet){gnbTime = setTimeout(function(){gnb_on(gnbNum);},gnbSetTime);};$(item).removeClass("on");}).children("a").click(function(e){ e.preventDefault(); if($wrap.is(".wided")){ if($(item).is(".vital")){clearTimeout(gnbTime); gnbTime = setTimeout(function(){gnb_on(gnbNum); },gnbSetTime);$gnb.removeClass("vital");$(item).removeClass("vital");$("#modal").hide();}else{clearTimeout(gnbTime);$(item).children("a").find("span").removeClass("on");$gnb.addClass("vital");$(item).addClass("vital").siblings("li").removeClass("vital");$("#modal").show();$("#modal").click(function(){$gnb.removeClass("vital");$(item).removeClass("vital");e.preventDefault();gnbClose();});};}else{if($(item).is(".vital")){ clearTimeout(gnbTime);gnbTime = setTimeout(function(){gnb_on(gnbNum);},gnbSetTime);$(item).removeClass("vital").find(".sm").slideUp();}else{clearTimeout(gnbTime);$gnbCat.children("a").find("span").removeClass("on");$gnbCat.removeClass("vital").find(".sm").hide();$(item).addClass("vital").find(".sm").slideDown();};};});});$(window).resize(function(){$windowWid = window.innerWidth; if($windowWid > 710){if(!$("#headerWrap").is(".wided")){$("#headerWrap").addClass("wided");gnbClear($gnb);gnbClose();};}else{if($("#headerWrap").is(".wided")){$("#headerWrap").removeClass("wided");gnbClear($gnb);gnbClose();};};}).trigger("resize");});function gnbClear(obj){obj.removeClass("vital").find(".mm").removeClass("vital").find(".sm").attr("style","");};function gnb_on(num){$(".gnbMenu").find(".mm").eq(num).children("a").find("span").addClass("on");gnbNum = num;};function gnbOpen(){$("#modal").show();};function gnbClose(){$("#modal").hide();};function scrolladTxt(config) {thistop = -($('#adArea').offset().top-200);scrollPos = $(this).scrollTop()+thistop;config.adTxt.css({'margin-top' : -(scrollPos/3) + "px",'opacity' : 1-(scrollPos/300)});config.adArea.css({'background-position': 'center ' + (-scrollPos/3) + "px" });};$(document).ready(function(){$(window).scroll(function() {scrolladTxt({adArea: $('#adArea'),adTxt: $('.adTxt')});});});$(function(){var gallSlideNum=0;var gallSlideMax;var gallSlideMove=false;gallSlideMax = jQuery(".gallSlide ul").size()-1;jQuery(".gallSlide ul").each(function(w){jQuery(this).css("top", 168*w);});jQuery(".btnArea a").each(function(q){jQuery(this).click(function(e){if(!gallSlideMove){gallSlideMove= true;if(gallSlideMax >0){if(q==0){jQuery(".gallSlide ul").eq(gallSlideNum).stop().animate({top:168}, 300);gallSlideNum --;if(gallSlideNum < 0) gallSlideNum = gallSlideMax;jQuery(".gallSlide ul").eq(gallSlideNum).stop().animate({top:-168}, 0);jQuery(".gallSlide ul").eq(gallSlideNum).stop().animate({top:0}, 300, function(){gallSlideMove = false;});}else{jQuery(".gallSlide ul").eq(gallSlideNum).stop().animate({top:-168}, 300);gallSlideNum ++;if(gallSlideNum > gallSlideMax) gallSlideNum = 0;jQuery(".gallSlide ul").eq(gallSlideNum).stop().animate({top:168}, 0);jQuery(".gallSlide ul").eq(gallSlideNum).stop().animate({top:0}, 300, function(){gallSlideMove = false;});}}}})})});$(document).ready(function() {$(".sb01, .sb02, .sb03, .sb04").css("opacity","0");setTimeout(function(){$(".sb01").delay(500).animate({"top":"80px", "opacity":"1"},600);$(".sb02").delay(700).animate({"top":"80px", "opacity":"1"},500);$(".sb03").delay(900).animate({"top":"80px", "opacity":"1"},400);$(".sb04").delay(1500).animate({"bottom":"80px", "opacity":"1"},1000);}, 200);});$(document).ready(function() {$('.nd-popUp').magnificPopup({type: 'inline',fixedContentPos: false,fixedBgPos: true,overflowY: 'auto',closeBtnInside: true,preloader: false,midClick: true,removalDelay: 300,mainClass: 'nd-popUp-open'});});;(function($) { $.scrollUp = function (options) { var defaults = { scrollName: 'topIco',topDistance: '60',topSpeed: 300,animation: 'slide',animationInSpeed: 200,animationOutSpeed: 200,scrollText: 'TOP',scrollImg: true,activeOverlay: false };var o = $.extend({}, defaults, options), scrollId = '#' + o.scrollName; $('', { id: o.scrollName, href: '#top', title: o.scrollText }).appendTo('body');if (!o.scrollImg) { $(scrollId).text(o.scrollText); } $(scrollId).css({'display':'none','position': 'fixed','z-index': '9'});if (o.activeOverlay) { $("body").append("
"); $(scrollId+"-active").css({ 'position': 'absolute', 'top': o.topDistance+'px', 'width': '100%', 'border-top': '1px dotted '+o.activeOverlay, 'z-index': '9' });};$(window).scroll(function(){ switch (o.animation) { case "fade": $( ($(window).scrollTop() > o.topDistance) ? $(scrollId).fadeIn(o.animationInSpeed) : $(scrollId).fadeOut(o.animationOutSpeed) ); break;case "slide": $( ($(window).scrollTop() > o.topDistance) ? $(scrollId).slideDown(o.animationInSpeed) : $(scrollId).slideUp(o.animationOutSpeed) ); break;default: $( ($(window).scrollTop() > o.topDistance) ? $(scrollId).show(0) : $(scrollId).hide(0) );}});$(scrollId).click( function(event) { $('html, body').animate({scrollTop:0}, o.topSpeed); event.preventDefault(); });};})(jQuery); function agree() { window.open("/bizdemo155896/main/agreement.php", "", "width=617, height=650, scrollbars=yes, resizable=no ,status=no ,toolbar=no"); } function privacy() { window.open("/bizdemo155896/main/privacy.php", "", "width=617, height=650, scrollbars=yes, resizable=no ,status=no ,toolbar=no"); }