/*************************************************************************** ¡Ø ¾Æ·¡ ½ºÅ©¸³Æ®´Â ȨÆäÀÌÁö ±¸µ¿¿¡ ÇÊ¿äÇÑ ÇÙ½É ³»¿ëÀ̹ǷΠ°¡±ÞÀû ¼öÁ¤ÇÏÁö ¸¶¼¼¿ä. ±âŸ ÇÊ¿äÇÑ 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 ÀÎÅ׸®¾î005_Movie(¹ÝÀÀÇü)";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','/bizdemo156395/img/images/arrow.gif');jQuery(this).next('ul.sm').stop(true, true).slideUp(400);} else {jQuery(this).parent().find(".arrow img").attr('src','/bizdemo156395/img/images/arrow.gif');$('span img',this).attr('src','/bizdemo156395/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(){$("#gnb > ul").bind('mouseover focusin', function(){$("#gnb_box, #gnb > ul").stop().animate({ "height" : "247px" }, 400);$("#gnbBg").stop().animate({ "height" : "187px" }, 400);});$("#gnb > ul").bind('mouseout focusout', function(){$("#gnb_box, #gnb > ul").stop().animate({ "height" : "61px" }, 400);$("#gnbBg").stop().animate({ "height" : "1px" }, 400);});});var gnbMove = function(){var gnb = $("#gnbArea"),a=[], winHeight = $(window).height();$(window).resize(function() {winHeight = $(window).height();});$(window).scroll(function(){var position = $(window).scrollTop();if( position > 111 ){gnb.css({position:"fixed",top:"0"});}else{gnb.css({position:"relative",top:"0"});}});};$(document).ready(function () {gnbMove();});function playVid(){var video = document.querySelector('video');video.addEventListener('click',function() {this.play();},false);}window.onload = playVid;jQuery(function($){var NODE = window.NODE || {};NODE.filter = function (){if($('#portfolio').length > 0){var $container = $('#portfolio');$container.imagesLoaded(function() {$container.isotope({ animationEngine: 'best-available',itemSelector : '.portfolio-thumbs',layoutMode : 'masonry'});});var $optionSets = $('#category .category-set'), $optionLinks = $optionSets.find('a'); $optionLinks.click(function(){var $this = $(this);if ( $this.hasClass('selected') ) { return false;} var $optionSet = $this.parents('.category-set');$optionSet.find('.selected').removeClass('selected');$this.addClass('selected');var options = {},key = $optionSet.attr('data-option-key'),value = $this.attr('data-option-value');value = value === 'false' ? false : value;options[ key ] = value;if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) { changeLayoutMode( $this, options )} else {$container.isotope( options );}return false; });}};NODE.fancyBox = function(){if($('.fancybox').length > 0 || $('.fancybox-media').length > 0 || $('.fancybox-various').length > 0){$(".fancybox").fancybox({padding : 0,beforeShow: function () {this.title = $(this.element).attr('title');this.title = '
' + $(this.element).parent().find('img').attr('alt') + '
';},helpers : {title : { type: 'inside' },}});$('.fancybox-media').fancybox({openEffect : 'none',closeEffect : 'none',helpers : {media : {}}});}};$(document).ready(function(){NODE.filter();NODE.fancyBox();});});jQuery(document).ready(function(){if(jQuery(".scate").size() > 0){var oneTitle = jQuery(".scate").eq(0).find(".lnbMenu").find("a").eq(oneNum).text();jQuery(".scate").eq(0).find(".lnbMenu").find("a").eq(oneNum).addClass("on");jQuery(".scate").eq(0).find(".scateMe").text(oneTitle);var twoTitle = jQuery(".scate").eq(1).find(".lnbMenu").find("a").eq(twoNum).text();jQuery(".scate").eq(1).find(".lnbMenu").find("a").eq(twoNum).addClass("on");jQuery(".scate").eq(1).find(".scateMe").text(twoTitle);}});jQuery(document).ready(function(){jQuery(".path").find(".lnbMenu").slideUp(0);jQuery(".path").find(".scate").each(function(q){jQuery(this).click(function(){if(jQuery(this).find(".lnbMenu").is(":hidden")) {jQuery(this).find(".lnbMenu").stop(true, true).slideDown(300);} else {jQuery(this).find(".lnbMenu").stop(true, true).slideUp(300);}}).mouseleave(function(){jQuery(this).find(".lnbMenu").stop(true, true).slideUp(300);});jQuery(this).find(".lnbMenu").find("a").each(function(k){jQuery(this).hover(function(){jQuery(this).addClass("on");}, function(){jQuery(this).removeClass("on");})})})});var interval; var duration = 700;var ftSize = 13;function fontScale(n){ftSize = ftSize + n; jQuery("#subContents").find( "section, article, div, td, a, p" ).each(function (){jQuery(this).css("font-size",ftSize + "px");});};$(document).ready(function() {$slide_height = $("#mainImgArea").height() / 2;$slide_height = $slide_height - 90;$(".txtImg").css("top",$slide_height+"px");$(window).resize(function(){$slide_height = $("#mainImgArea").height() / 2;$slide_height = $slide_height - 90;$(".txtImg").css("top",$slide_height+"px");});});function slide_action(act_img) {setTimeout (function(){$("#slideImg").animate({"opacity":"0"}, 400);setTimeout (function(){$("#slideImg").html("