<!-----//¼­ºê ¸Þ´º ½ÃÀÛ------>
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
<!-----//¼­ºê ¸Þ´º ³¡------>
<!----// »ó´Ü ÇÃ·¡½Ã ¸Þ´º ¸µÅ© ½ÃÀÛ ------->
/****** menu ¸µÅ© *****************/
function menu1() { location.href = "/app/html/new_consulting/lb_menu01.jsp?PageNum=1&subNum=1"; }
function menu2() { location.href = "/app/html/education/ed_sub01.jsp?PageNum=2&subNum=1"; }
function menu3() { location.href = "/app/bbs/notice/notice.ds?commonCmd=search&PageNum=4&subNum=1"; }
function menu4() { location.href = "/app/newsletter/member/request.ds?commonCmd=new&PageNum=5&subNum=1"; }
function menu5() { location.href = "/app/html/about/a_sub01.jsp?PageNum=6&subNum=1"; }
function menu6() { location.href = "#"; }
function menu7() { location.href = "#"; }


/******* ÄÁ¼³ÆÃ ¸µÅ© *****************/
function menu1sub1() { location.href = "/app/html/new_consulting/lb_menu01.jsp?PageNum=1&subNum=1"; }
function menu1sub2() { location.href = "/app/html/new_consulting/lb_menu02.jsp?PageNum=1&subNum=2"; }
function menu1sub3() { location.href = "/app/html/new_consulting/lb_menu03.jsp?PageNum=1&subNum=3"; }
function menu1sub4() { location.href = "/app/html/new_consulting/lb_menu04.jsp?PageNum=1&subNum=4"; }
function menu1sub5() { location.href = "/app/html/new_consulting/lb_menu05.jsp?PageNum=1&subNum=5"; }
function menu1sub6() { location.href = "/app/html/new_consulting/lb_menu06.jsp?PageNum=1&subNum=6"; }
function menu1sub7() { location.href = "/app/html/new_consulting/lb_menu07.jsp?PageNum=1&subNum=7"; }

/******* ±³À° ¸µÅ© *****************/
function menu2sub1() { location.href = "/app/html/education/ed_sub01.jsp?PageNum=2&subNum=1"; }
function menu2sub2() { location.href = "/app/html/education/ed_sub02.jsp?PageNum=2&subNum=2"; }
function menu2sub3() { location.href = "#"; }
function menu2sub4() { location.href = "#"; }
function menu2sub7() { location.href = "#"; }

/******* Á¤º¸¼¾ÅÍ ¸µÅ© *****************/
function menu3sub1() { location.href = "/app/bbs/notice/notice.ds?commonCmd=search&PageNum=3&subNum=1"; }
function menu3sub2() { location.href = "/app/bbs/issue/issue.ds?commonCmd=search&PageNum=3&subNum=2"; }
function menu3sub3() { location.href = "#"; }
function menu3sub4() { location.href = "#"; }
function menu3sub5() { location.href = "#"; }
function menu3sub6() { location.href = "#"; }
function menu3sub7() { location.href = "#"; }

/******* °í°´Áö¿ø ¸µÅ© *****************/
function menu4sub1() { location.href = "/app/newsletter/member/request.ds?commonCmd=new&PageNum=4&subNum=1"; }
function menu4sub2() { location.href = "/app/bbs/qa/qa.ds?commonCmd=search&PageNum=4&subNum=2"; }
function menu4sub3() { location.href = "/app/html/customer/cu_newsletterTemp_page7_l.jsp?PageNum=4&subNum=3"; }
function menu4sub4() { location.href = "#"; }
function menu4sub5() { location.href = "#"; }
function menu4sub6() { location.href = "#"; }
function menu4sub7() { location.href = "#"; }

/******* È¸»ç¼Ò°³ ¸µÅ© *****************/
function menu5sub1() { location.href = "/app/html/about/a_sub01.jsp?PageNum=5&subNum=1"; }
function menu5sub2() { location.href = "/app/html/about/a_sub02.jsp?PageNum=5&subNum=2"; }
function menu5sub3() { location.href = "/app/html/about/a_sub03.jsp?PageNum=5&subNum=3"; }
function menu5sub4() { location.href = "/app/html/about/a_sub07.jsp?PageNum=5&subNum=4"; }
function menu5sub5() { location.href = "/app/html/about/a_sub04.jsp?PageNum=5&subNum=5"; }
function menu5sub6() { location.href = "/app/html/about/a_sub05.jsp?PageNum=5&subNum=6"; }
function menu5sub7() { location.href = "/app/html/about/a_sub06.jsp?PageNum=5&subNum=7"; }
<!----// »ó´Ü ÇÃ·¡½Ã ¸Þ´º ¸µÅ© ½ÃÀÛ ------->



<!-----//ÆË¾÷ ½ÃÀÛ------>
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
<!-----//ÆË¾÷ ³¡------>

<!-----//¿òÁ÷ÀÌ´Â ¹è³Ê µû¶ó´Ù´Ï±â ½ÃÀÛ------>
	
	var isDOM = (document.getElementById ? true : false); 
	var isIE4 = ((document.all && !isDOM) ? true : false);
	var isNS4 = (document.layers ? true : false);
	
	function getRef(id)
	{
		if (isDOM) return document.getElementById(id);
		if (isIE4) return document.all[id];
		if (isNS4) return document.layers[id];
	}
	
	var isNS = navigator.appName == "Netscape";
	
	function moveRightEdge()
	{
		var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;
		if (isNS4)
		{
			yMenuFrom   = divMenu.top;
			yMenuTo     = windows.pageYOffset + 230;   // À§ÂÊ À§Ä¡
		}
		else if (isDOM)
		{
			yMenuFrom   = parseInt (divMenu.style.top, 10);
			yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 230; // À§ÂÊ À§Ä¡
		}
	
		timeoutNextCheck = 230;
	
		if (yMenuFrom != yMenuTo)
		{
			yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20);
			if (yMenuTo < yMenuFrom)
				yOffset = -yOffset;
			if (isNS4)
				divMenu.top += yOffset;
			else if (isDOM)
				divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;
				timeoutNextCheck = 10;
		}
		setTimeout ("moveRightEdge()", timeoutNextCheck);
	}
<!------//¿òÁ÷ÀÌ´Â ¹è³Ê µû¶ó´Ù´Ï±â ³¡ ----->

<!-----//ÇÃ·¡½¬ ¸Þ´º URL ½ºÅ©¸³Æ®  ÀÔ·Â  ½ºÅ©¸³Æ® Ã³¸® ½ÃÀÛ----->
	function top_menu(code)
	{
				
		if( code == 'about' )	{				// È¸»ç¼Ò°³ ¼­ºê¸ÞÀÎ
			document.location.href = "/app/html/about/a_sub01.jsp?PageNum=6&subNum=1";
		} else if( code == 'a_sub1' )	{					// CEO ÀÎ»ç¸»
			document.location.href = "/app/html/about/a_sub01.jsp?PageNum=6&subNum=1";
		} else if( code == 'a_sub2' )	{					// È¸»ç¿¬Çõ
			document.location.href = "/app/html/about/a_sub02.jsp?PageNum=6&subNum=2";
		} else if( code == 'a_sub3' )	{					// ºñÁ¯
			document.location.href = "/app/html/about/a_sub03.jsp?PageNum=6&subNum=3";
		} else if( code == 'a_sub4' )	{					// Á¶Á÷ ¹× ¿¬¶ôÃ³
			document.location.href = "/app/html/about/a_sub04.jsp?PageNum=6&subNum=4";
		} else if( code == 'a_sub5' )	{					// »ç¾÷ÆÄÆ®³Ê
			document.location.href = "/app/html/about/a_sub05.jsp?PageNum=6&subNum=5";
		} else if( code == 'a_sub6' )	{					// Ã£¾Æ¿À½Ã´Â±æ
			document.location.href = "/app/html/about/a_sub06.jsp?PageNum=6&subNum=6";
		} else if( code == 'a_sub7' )	{					// »ç¾÷½ÇÀû
			document.location.href = "/app/html/about/a_sub07.jsp?PageNum=6&subNum=7";
		}
		
		//ÄÁ¼³ÆÃ ½ÃÀÛ
		else if( code == 'consulting' )	{				// ÄÁ¼³ÆÃ ¸ÞÀÎ
			document.location.href = "/app/html/consulting/sub_main01.jsp?PageNum=1";
		} else if( code == 'con_sub1_1_1' )	{					// Á¦Ç°È¯°æ_Á¦Ç°È¯°æ¼ºÆò°¡
			document.location.href = "/app/html/consulting/sub01_1_1.jsp?PageNum=1&subNum=1";
		} else if( code == 'con_sub1_2_1' )	{					// Á¦Ç°È¯°æÀü·«_³ì»ö±¸¸ÅÀ¯ÇØ¹°Áú±ÔÁ¦´ëÀÀ
			document.location.href = "/app/html/consulting/sub01_2_1.jsp?PageNum=1&subNum=1";
		} else if( code == 'con_sub1_3_1' )	{					// Á¦Ç°È¯°æÀü·«_REACH
			document.location.href = "/app/html/consulting/sub01_3_1.jsp?PageNum=1&subNum=1";
		} else if( code == 'con_sub1_4_1' )	{					// Á¦Ç°È¯°æÀü·«_Åº¼Ò¶óº§
			document.location.href = "/app/html/consulting/sub01_4_1.jsp?PageNum=1&subNum=1";
		} else if( code == 'con_sub2_1_1' )	{					// ±âÈÄº¯È­´ëÀÀ/¿¡³ÊÁö°ü¸®_±âÈÄº¯È­´ëÀÀ½Ã½ºÅÛ
			document.location.href = "/app/html/consulting/sub02_1_1.jsp?PageNum=1&subNum=2";
		} else if( code == 'con_sub2_2_1' )	{					// ±âÈÄº¯È­´ëÀÀ/¿¡³ÊÁö°ü¸®_Registry/CDM»ç¾÷
			document.location.href = "/app/html/consulting/sub02_2_1.jsp?PageNum=1&subNum=2";
		} else if( code == 'con_sub2_3_1' )	{					// ±âÈÄº¯È­´ëÀÀ/¿¡³ÊÁö°ü¸®_¿¡³ÊÁö°ü¸®
			document.location.href = "/app/html/consulting/sub02_3_1.jsp?PageNum=1&subNum=2";
		} else if( code == 'con_sub3_1_1' )	{					// Áö¼Ó°¡´É°æ¿µ_Áö¼Ó°¡´É°æ¿µÀü·«
			document.location.href = "/app/html/consulting/sub03_1_1.jsp?PageNum=1&subNum=3";
		} else if( code == 'con_sub3_2_1' )	{					// Á¦Ç°È¯°æÀü·«_ÀÇ»ç¼ÒÅëÀü·«
			document.location.href = "/app/html/consulting/sub03_2_1.jsp?PageNum=1&subNum=3";
		} else if( code == 'con_sub3_3_1' )	{					// Á¦Ç°È¯°æÀü·«_´ëÁß¼Ò ±×¸°ÆÄÆ®³Ê½±±¸Ãà
			document.location.href = "/app/html/consulting/sub03_3_1.jsp?PageNum=1&subNum=3";
		} else if( code == 'con_sub3_4_1' )	{					// Á¦Ç°È¯°æÀü·«_È¯°æ°æ¿µÀü·«
			document.location.href = "/app/html/consulting/sub03_4_1.jsp?PageNum=1&subNum=3";
		} else if( code == 'con_sub3_5_1' )	{					// Á¦Ç°È¯°æÀü·«_È¯°æ°æ¿µÁö¿ø±â¹ý
			document.location.href = "/app/html/consulting/sub03_5_1.jsp?PageNum=1&subNum=3";
		} else if( code == 'con_sub3_6_1' )	{					// Á¦Ç°È¯°æÀü·«_È¯°æ°æ¿µÁö¿ø±â¹ý
			document.location.href = "/app/html/consulting/sub03_6_1.jsp?PageNum=1&subNum=3";
		} else if( code == 'con_sub4_1_1' )	{					// SRM¿¬±¸¼¾ÅÍ_Áö¼Ó°¡´ÉÇÑ ÀÚ¿ø°ü¸®
			document.location.href = "/app/html/consulting/sub04_1_1.jsp?PageNum=1&subNum=4";
		} 
		// ÄÁ¼³ÆÃ ³¡
		
		//¼Ö·ç¼Ç ½Ã¸®Áî ½ÃÀÛ
		else if( code == 'smart' )	{					// ¼Ö·ç¼Ç ¸ÞÀÎ
			document.location.href = "/app/html/smart/s_sub01.jsp?PageNum=2&subNum=1";
		} else if( code == 's_sub1' )	{					// Smart-enterparise
			document.location.href = "/app/html/smart/s_sub01.jsp?PageNum=2&subNum=1";
		} else if( code == 's_sub2' )	{					// Samrt-EMS
			document.location.href = "/app/html/smart/s_sub02.jsp?PageNum=2&subNum=2";
		} else if( code == 's_sub3' )	{					// Samrt-GP
			document.location.href = "/app/html/smart/s_sub03.jsp?PageNum=2&subNum=3";
		} else if( code == 's_sub4' )	{					// Samrt-LCA
			document.location.href = "/app/html/smart/s_sub04.jsp?PageNum=2&subNum=4";
		}
		
		//Á¤º¸¼¾ÅÍ ½ÃÀÛ
		else if( code == 'info' )	{					// Á¤º¸¼¾ÅÍ ¸ÞÀÎ
			document.location.href = "/app/bbs/notice/notice.ds?commonCmd=search&PageNum=4&subNum=1";
		} else if( code == 'i_sub1' )	{					// °øÁö»çÇ×
			document.location.href = "/app/bbs/notice/notice.ds?commonCmd=search&PageNum=4&subNum=1";
		} else if( code == 'i_sub2' )	{					// HOT ÀÌ½´
			document.location.href = "/app/bbs/issue/issue.ds?commonCmd=search&PageNum=4&subNum=2";
		} else if( code == 'i_sub3' )	{					// PASS
			document.location.href = "/app/html/info/i_sub02.jsp?PageNum=4&subNum=3";
		}
		
		//°í°´¼¾ÅÍ ½ÃÀÛ
		else if( code == 'customer' )	{					// °í°´¼¾ÅÍ ¸ÞÀÎ
			document.location.href = "/app/bbs/qa/qa.ds?commonCmd=search&PageNum=5&subNum=1";
		} else if( code == 'cu_sub2' )	{					// Q&A
			document.location.href = "/app/bbs/qa/qa.ds?commonCmd=search&PageNum=5&subNum=1";
		}
		
		//±³À° ½ÃÀÛ
		else if( code == 'education' )	{					// ±³À° ¸ÞÀÎ
			document.location.href = "/app/html/education/ed_sub01.jsp?PageNum=3&subNum=1";
		} else if( code == 'e_sub1' )	{					// ±³À°1
			document.location.href = "/app/html/education/ed_sub01.jsp?PageNum=3&subNum=1";
		} else if( code == 'e_sub2' )	{					// ±³À°2
			document.location.href = "/app/html/education/ed_sub02.jsp?PageNum=3&subNum=2";
		}
	}
	<!-----//ÇÃ·¡½¬ ¸Þ´º URL ½ºÅ©¸³Æ®  ÀÔ·Â  ½ºÅ©¸³Æ® Ã³¸® ³¡---->
	/**
 * IE ¼³°èº¯°æÀ¸·Î ÀÎÇÑ ActiveX È°¼ºÈ­ ÇÔ¼ö
 *
 * @param	ÁÖ¹Î¹øÈ£ Value
 * @return  
 *
 * @since 2005. 11. 22(¾È°¡Èñ).
 */
 function __ShowEmbedObject(__ELEMENT_ID) {
 	document.write(__ELEMENT_ID.innerHTML);
 	__ELEMENT_ID.id = "";
 }
 
 // ¼­ºê¸Þ´ºÆ®¸®
function sub_menu_object(width,height,dir,mainPos,subPos){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+width+"' height='"+height+"'><param name='movie' value='"+dir+"?main="+mainPos+"&sub="+subPos+"'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='"+dir+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed></object>");	
	//document.write("<img src='"+dir+"' width='"+width+"' height='"+height+"'  border='0'>"); //ÀÓ½Ã
}

function calcHeight()
{
//find the height of the internal page
var the_height=document.getElementById('the_iframe').contentWindow.document.body.scrollHeight;

//change the height of the iframe
document.getElementById('the_iframe').height=the_height;
}

/*
 * Æ÷Ä¿½º ÀÌµ¿½Ã »ö»ó º¯°æ
 */


//Highlight form element- ¨Ï Dynamic Drive (www.dynamicdrive.com)
//For full source code, 100's more DHTML scripts, and TOS,
//visit http://www.dynamicdrive.com

var highlightcolor="2px solid #4C9BCF"
var basiccolor="1px solid #DCDCDC"

var ns6=document.getElementById&&!document.all
var previous=''
var eventobj

//Regular expression to highlight only form elements
var intended=/INPUT|TEXTAREA|SELECT|OPTION/

//Function to check whether element clicked is form element
function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}

//Function to highlight form element
function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.border=basiccolor
previous=eventobj
if (checkel(eventobj))
eventobj.style.border=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.border=highlightcolor
previous=eventobj
}
}
