function m_movie(Str1, Str2, Str3){
document.write('');
}
function setPng24(obj){
obj.width = obj.height = 1;
obj.className = obj.className.replace(/\bpng24\b/i,'');
obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
obj.src = '';
return '';
}
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 pausecontent2=new Array()
pausecontent2[0]="µðÀÚÀÎNODE ±â¾÷/ºñÁî´Ï½º057 ÅÛÇø´È¨ÆäÀÌÁö ¿ÀÇÂ"
pausecontent2[1]="ÁÖ¹®Çü ȨÆäÀÌÁöÁ¦ÀÛ ÀÇ·Ú¹Þ½À´Ï´Ù."
pausecontent2[2]="º» »çÀÌÆ®ÀÇ ÄÜÅÙÃ÷ ºÒ¹ý»ç¿ëÀ» ¾ö°ÝÈ÷ ±ÝÇÕ´Ï´Ù."
pausecontent2[3]="µðÀÚÀÎNODEÀÎÁõ µðÀÚÀÎ Àü½ÃÁ¦ÈÞ »ç¾÷ÀÚ ¸ðÁý"
pausecontent2[4]="´Ù¾çÇÑ µðÀÚÀνþȰú CD,Ç÷¡½Ã ÄÜÅÙÃ÷ ±¸¸ÅÂù½º"
pausecontent2[5]="µðÀÚÀÎÄÜÅÙÃ÷ ¼îÇθô::design-node.kr"
pausecontent2[6]="ÇØ´ç ȨÆäÀÌÁö´Â ±â¾÷È«º¸¿ë ÅÛÇø´È¨ÆäÀÌÁöÀÔ´Ï´Ù."
function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('
'+content[0]+'
'+content[1]+'
')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}
pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}
pausescroller.prototype.animateup=function(){
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function(){scrollerinstance.animateup()}, 50)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}
pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}
pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}
pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 100)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}
pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}
$(document).ready(function(){ var $copytext = $('#mtxt_1').find('img.mt1'); var $circle = $('#mtxt_1').find('img.mt2'); var $text = $('#mtxt_1').find('img.mt3'); var $shape = $('#mtxt_1').find('img.mt4'); var $copytext2 = $('#mtxt_2').find('img.mt1'); var $circle2 = $('#mtxt_2').find('img.mt2'); var $text2 = $('#mtxt_2').find('img.mt3'); var $shape2 = $('#mtxt_2').find('img.mt4'); var $copytext3 = $('#mtxt_3').find('img.mt1'); var $circle3 = $('#mtxt_3').find('img.mt2'); var $text3 = $('#mtxt_3').find('img.mt3'); var $shape3 = $('#mtxt_3').find('img.mt4'); var moveFirstIn = function(){ $copytext .animate({'top':'34px'},{ duration: 400, easing: "easeOutQuad"}); $circle .animate({'top':'149px'},{ duration: 700, easing: "easeOutQuad"});$text .animate({'top':'191px'},{ duration: 900, easing: "easeOutQuad"}); $shape .animate({'top':'31px'},{queue:false, duration: 500, easing: "easeOutQuad",complete: function(){ setTimeout(moveFirstOut,6000); }}); }; var moveFirstOut = function(){ $copytext .animate({'top':'210px'},{ duration: 500, easing: "easeInQuad", complete: function(){ $(this).css('top','280px'); setTimeout(moveSecondIn,10); }});$circle .animate({'top':'-149px'},{ duration: 700, easing: "easeInQuad", complete: function(){ $(this).css('top','280px');}});$text .animate({'top':'382px'}, { duration: 900, easing: "easeInQuad", complete: function(){ $(this).css('top','280px'); }});$shape .animate({'top':'-110px'}, { duration: 600, easing: "easeInQuad" , complete: function(){ $(this).css('top','280px'); }}); };var moveSecondIn = function(){ $copytext2 .animate({'top':'40px'},{ duration: 400, easing: "easeOutQuad"}); $circle2 .animate({'top':'132px'},{ duration: 700, easing: "easeOutQuad"}); $text2 .animate({'top':'177px'},{ duration: 900, easing: "easeOutQuad"}); $shape2.animate({'top':'34px'},{queue:false, duration: 500, easing: "easeOutQuad", complete:function(){ setTimeout(moveSecondOut,6000); }});}; var moveSecondOut = function(){ $copytext2 .animate({'top':'200px'},{ duration: 500, easing: "easeInQuad", complete:function(){ $(this).css('top','280px'); setTimeout(moveThirdIn,10); }});
$circle2 .animate({'top':'-132px'},{ duration: 700, easing: "easeInQuad", complete: function(){ $(this).css('top','280px'); }}); $text2 .animate({'top':'354px'},{ duration: 900, easing: "easeInQuad", complete:function(){ $(this).css('top','280px'); }}); $shape2 .animate({'top':'-120px'},{ duration: 600, easing: "easeInQuad" , complete: function(){ $(this).css('top','280px'); }}); }; var moveThirdIn = function(){ $copytext3 .animate({'top':'43px'}, { duration: 400, easing: "easeOutQuad"}); $circle3 .animate({'top':'144px'},{ duration: 700, easing: "easeOutQuad"}); $text3 .animate({'top':'190px'},{ duration: 900, easing: "easeOutQuad"}); $shape3 .animate({'top':'53px'},{queue:false, duration: 500, easing: "easeOutQuad", complete:function(){setTimeout(moveThirdOut,6000); }}); }; var moveThirdOut = function(){ $copytext3 .animate({'top':'210px'},{ duration: 500, easing: "easeInQuad", complete:function(){ $(this).css('top','280px'); setTimeout(moveFirstIn,10); }}); $circle3 .animate({'top':'-144px'},{ duration: 700, easing: "easeInQuad", complete:function(){ $(this).css('top','280px'); }}); $text3 .animate({'top':'380px'},{ duration: 900, easing: "easeInQuad", complete:function(){ $(this).css('top','280px'); }}); $shape3 .animate({'top':'-110px'},{ duration: 600, easing: "easeInQuad" , complete:function(){ $(this).css('top','280px'); }}); }; moveFirstIn(); });
$.fn.gnb = function(){ return $(this).each(function(){ var $this = $(this); var aLen = $this.find('a').size(); $('#gnb>ul>li>ul').hide(); $('#gnb>ul>li>a').bind('focusin mouseenter',function(){ $this.find('ul').hide(); $('#gnb>ul>li>a.hover').removeClass('hover'); $(this).addClass('hover'); if($(this).next().size() > 0){ $(this).next().show(); } });$('>li',$this).bind('mouseleave',function(){ $(this).find('>ul').hide(); $(this).removeClass('hover'); }); $this.find('a').eq(aLen-1).bind('focusout',function(){ $('>li>a.hover',$this).removeClass('hover'); $(this).mouseleave();}); });}
;(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': '99999'});
if (o.activeOverlay) { $("body").append(""); $(scrollId+"-active").css({ 'position': 'absolute', 'top': o.topDistance+'px', 'width': '100%', 'border-top': '1px dotted '+o.activeOverlay, 'z-index': '9999999' });}
$(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($){ $.fn.menuOver = function(){ return this.each(function(){ var $this = $(this); var lis = $this.find('>ul>li'); lis.each(function(index){ var target = $(this);//target.attr('class',index);
var ident = target.attr('id'); var orgImg = target.find('img').attr('src'); var chngImg = orgImg.replace('-off.gif','-on.gif'); target.on('mouseenter focusin',function(){ var otherTarget = target.siblings().find('a').find('img'); otherTarget.each(function(){ var tt = $(this); var ttchngImg = tt.attr('src').replace('-on.gif','-off.gif');tt.attr('src',ttchngImg);target.siblings().find('ul').hide(); });
target.find('img').attr('src',chngImg); target.find('ul').show(); });
if(ident == selectMenu){ target.mouseenter(); }else if(ident!=selectMenu){ target.find('>ul').hide(); }
var subLis = target.find('>ul').find('>li'); subLis.each(function(index){ var $this = $(this); //$this.attr('class',ident+index);
var subIdent = $this.attr('id'); if(subIdent == selectSubmenu){ $this.find('a').css('color','#111'); }else{} });
$this.on('mouseleave',function(){ if(ident == selectMenu){ target.mouseenter(); } }); if($this.parent().parent().parent().attr('id')=='canvas'){ $this.on('mouseleave',function(){ target.find('ul').hide(); var tt = target.find('img').attr('src').replace('-on.gif','-off.gif'); target.find('img').attr('src',tt); }); $this.find('>ul').find(">li>ul>li:last").on('focusout',function(){ target.find('ul').hide(); var tt = target.find('img').attr('src').replace('-on.gif','-off.gif'); target.find('img').attr('src',tt); });}});});}})(jQuery);
$(function(){ $('#gnb>ul').gnb(); });
$('#gnb').menuOver();
function agree() { window.open("/bizdemo47144/main/agreement.php", "", "width=617, height=650, scrollbars=yes, resizable=no ,status=no ,toolbar=no"); }
function privacy() { window.open("/bizdemo47144/main/privacy.php", "", "width=617, height=650, scrollbars=yes, resizable=no ,status=no ,toolbar=no"); }