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 °áÈ¥/¿þµù007 ÅÛÇø´È¨ÆäÀÌÁö ¿ÀÇÂ"
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
}
$(function(){ $("#gnbMenu ul, #gnbSubArea").hover(function(){ $("#gnbSub").stop().animate({"height":143},400); },function(){ $("#gnbSub").stop().animate({"height":0},400); }); $("#gnbMenu ul li a").mouseover(function(){ $("#gnbSub ul").hide(); $("#gnbSub ul").show(); }); });
$(function() { $('#slides').slidesjs({ width: 1000, height: 523, play: {active: true,auto: true,interval: 6000,swap: true}});});
;(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 familySite(){ var obj = document.getElementById("familySel").options;var val = obj[obj.selectedIndex].value;if(val == ""){ alert("Æйи®»çÀÌÆ®¸¦ ¼±ÅÃÇϼ¼¿ä.");return false;} else {var popWin = window.open('about:blank');popWin.location.href = val;}}
function agree() { window.open("/bizdemo47070/main/agreement.php", "", "width=617, height=650, scrollbars=yes, resizable=no ,status=no ,toolbar=no"); }
function privacy() { window.open("/bizdemo47070/main/privacy.php", "", "width=617, height=650, scrollbars=yes, resizable=no ,status=no ,toolbar=no"); }