var menuArr = new Array(48);       // ¸Þ´º °¹¼ö¸¸Å­ »ý¼º



// ¸Þ´º¾ÆÀÌµð , ¸Þ´º¸í ,  ¸µÅ© URL  , ±âÅ¸(½ºÅ¸ÀÏÀû¿ë½Ã) , °¢ depth Áß °¡Àå ¸¶Áö¸· ¸Þ´ºÀÌ¸é Y , 4 depthÀÏ¶§´Â ¸î¹øÂ°ÀÎÁö

var arrCnt = 0;

var menuPolicy = 2; // ¸Þ´º ÀÚ¸®¼ö Á¤Ã¥





// 1. Á¦Ç° Á¤º¸·ë (9)

//menuArr[arrCnt++] = new Array('aa'        , 'Á¦Ç° Á¤º¸·ë'			, 'pr_m'		    ,'' , ''  , '');
menuArr[arrCnt++] = new Array('aa'        , '½ÎÀÌÅ· Á¦Ç°'			, 'pr_m'		    ,'' , ''  , '');

menuArr[arrCnt++] = new Array('aa09'      , '½ºÆÀ½ÎÀÌÅ·'					, 'pr_09'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('aa11'      , '½´ÆÛ½ÎÀÌÅ·'					, 'pr_11'			,'' , ''  , '');

//menuArr[arrCnt++] = new Array('aa12'      , '¹ÂÁî'			, 'pr_12'			,'' , ''  , '');

//menuArr[arrCnt++] = new Array('aa13'      , 'ÀÌÁö'					, 'pr_13'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('aa01'      , '½ÎÀÌÅ·'			, 'pr_01'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('aa03'      , 'ÀÏ¹Ý'		, 'pr_03'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('aa04'      , 'ÇÚµå/½ºÆ½Çü'			, 'pr_04'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('aa05'      , '¾÷¼Ò'					, 'pr_05'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('aa06'      , '½ÎÀÌÅ· Ã¼Çè°ü'					, 'pr_06'			,'' , ''  , '');


<!-------½ÅÁ¦Ç° ¸Þ´º Ãß°¡ 080807----------->

//menuArr[arrCnt++] = new Array('aa10'      , 'CYKING ½ÅÁ¦Ç°'			, 'pr_10'			,'' , ''  , '');

//menuArr[arrCnt++] = new Array('aa11'      , '½´ÆÛ½ÎÀÌÅ·'					, 'pr_11'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('aa12'      , 'Àú¼ÒÀ½ ½ÎÀÌÅ· ¹ÂÁî'			, 'pr_12'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('aa13'      , 'ÀÌÁö½ÎÀÌÅ·'					, 'pr_13'			,'' , 'Y'  , '');

<!-------·Îº¸Å· Á¦Ç° ¸Þ´º Ãß°¡ 20100204----------->
menuArr[arrCnt++] = new Array('ff'      , '·Îº¸Å· Á¦Ç°'		, 'lo_m'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('ff01'      , '·Îº¸Å·'			, 'lo_01'			,'' , ''  , ''); 
menuArr[arrCnt++] = new Array('ff02'      , '·Îº¸Å· Ã¼Çè°ü'	, 'lo_02'			,'' , ''  , '');
 

// 2. °¡»ó Ã¼Çè°ü (3)

menuArr[arrCnt++] = new Array('cc'        , '°¡»ó Ã¼Çè°ü'         , 'ex_m'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('cc01'        , '·Îº¸Å·'         	, 'ex_01'			,'' , ''  , '');

//menuArr[arrCnt++] = new Array('cc01'        , '½ºÆÀ½ÎÀÌÅ· Ã¼Çè°ü'        	 , 'ex_01'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('cc02'        , 'Ã¼Çè´Ü È°µ¿º¸±â'        	 , 'ex_02'			,'' , 'Y'  , '');





// 3. È°¿ë °¡ÀÌµå (8)

//menuArr[arrCnt++] = new Array('bb'        , '½ÎÀÌÅ· °¡ÀÌµå'    		 	 	, 'gu_m'			,'' , ''  , ''); //2009-12-14 
menuArr[arrCnt++] = new Array('bb'        , 'Á¦Ç° °¡ÀÌµå'    		 	 	, 'gu_m'			,'' , ''  , ''); //2009-12-14 


menuArr[arrCnt++] = new Array('bb04'      , 'Å¬¸®´× ÆÐÅ°Áö ¼­ºñ½º'			, 'gu_04'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('bb01'      , '±¸¸Å°¡ÀÌµå'					, 'gu_01'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('bb02'      , '»ç¿ë°¡ÀÌµå'					, 'gu_02'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('bb0201'      , '»ç¿ë Àü Ã¼Å©Æ÷ÀÎÆ®'			, 'gu_0201'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('bb0202'      , '»ç¿ë ¹æ¹ý'					, 'gu_0202'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('bb0203'      , '»ç¿ë ÈÄ ¼¼Ã´ ¹æ¹ý'			, 'gu_0203'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('bb03'      , 'Ã»¼Ò»ó½Ä'						, 'gu_03'			,'' , 'Y'  , '');





// 4. ÇÔ²² ³ª´®ÅÍ (17)

//menuArr[arrCnt++] = new Array('dd'        , 'ÇÔ²² ³ª´®ÅÍ'                 , 'ro_m'			,'' , ''  , ''); //2009.12.14
menuArr[arrCnt++] = new Array('dd'        , 'È«º¸¼¾ÅÍ'                 , 'ro_m'			,'' , ''  , ''); //2009.12.14

//menuArr[arrCnt++] = new Array('dd01'      , '½ÎÀÌÅ·/·Îº¸Å· ¼Ò½Ä'			, 'ro_01'			,'' , ''  , ''); //2009.12.15
menuArr[arrCnt++] = new Array('dd01'      , 'NEWS & NOTICE'			, 'ro_01'			,'' , ''  , ''); //2009.12.15

//menuArr[arrCnt++] = new Array('dd02'      , 'Ã»¼Ò±âÀÌ¾ß±â'				, 'ro_02'			,'' , ''  , ''); //2009.12.15
menuArr[arrCnt++] = new Array('dd02'      , 'Ã»¼Ò±â ½ºÅä¸®'				, 'ro_02'			,'' , ''  , '');  //2009.12.15

menuArr[arrCnt++] = new Array('dd0201'    , 'Ã»¼Ò±â History'				, 'ro_0201'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('dd0202'    , 'Ã»¼Ò±â Á¾·ù'				, 'ro_0202'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('dd0203'    , 'Ã»¼Ò±â ¿ø¸® ¹× ±¸Á¶'		, 'ro_0203'			,'' , ''  , '');

//menuArr[arrCnt++] = new Array('dd03'      , '±¤°í°¶·¯¸®'					, 'ro_03'			,'' , ''  , '');  //2009.12.15
menuArr[arrCnt++] = new Array('dd03'      , '±¤°í'					, 'ro_03'			,'' , ''  , '');  //2009.12.15

menuArr[arrCnt++] = new Array('dd0301'    , 'TV ±¤°í'		  			, 'ro_0301'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('dd0302'    , 'ÀÎ¼â ±¤°í'		     		 , 'ro_0302'		,'' , ''  , '');

//menuArr[arrCnt++] = new Array('dd04'      , 'ÀÌº¥Æ® ¸¶´ç'				, 'ro_04'			,'' , ''  , '');  //2009.12.15
menuArr[arrCnt++] = new Array('dd04'      , 'ÀÌº¥Æ®'				, 'ro_04'			,'' , ''  , '');  //2009.12.15

menuArr[arrCnt++] = new Array('dd0401'    , 'ÁøÇàÁßÀÎ ÀÌº¥Æ®'		    , 'ro_0401'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('dd0402'    , 'Áö³­ ÀÌº¥Æ®'		        , 'ro_0402'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('dd0403'    , '´çÃ·ÀÚ ¹ßÇ¥'		        , 'ro_0403'			,'' , ''  , '');

//menuArr[arrCnt++] = new Array('dd05'      , '½ÎÀÌÅ· ³ª´®ÅÍ'				, 'ro_05'			,'' , ''  , '');  //2009.12.15
menuArr[arrCnt++] = new Array('dd05'      , '¹ÙÅÁÈ­¸é ²Ù¹Ì±â'				, 'ro_05'			,'' , ''  , '');  //2009.12.15

menuArr[arrCnt++] = new Array('dd0501'      , '¿ùÆäÀÌÆÛ'					, 'ro_0501'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('dd0502'      , '½ºÅ©¸°¼¼ÀÌ¹ö'				, 'ro_0502'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('dd0503'      , 'ÀÌÄ«µå'					, 'ro_0503'			,'' , 'Y'  , '');

  



// 5. °í°´ »ó´ã½Ç (6)

//menuArr[arrCnt++] = new Array('ee'        , '°í°´ »ó´ã½Ç'				, 'cu_m'		    ,'' , ''  , ''); //2009.12.14
menuArr[arrCnt++] = new Array('ee'        , '°í°´Áö¿ø¼¾ÅÍ'				, 'cu_m'		    ,'' , ''  , ''); //2009.12.14

menuArr[arrCnt++] = new Array('ee01'      , 'ÀÚÁÖ¹¯´ÂÁú¹®'				, 'cu_01'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('ee02'	  , 'E-Mail »ó´ã'	    		, 'cu_02'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('ee03'	  , '±¸¸Å ´ë¸®Á¡ ¾È³»'			  , 'cu_03'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('ee04'	  , 'A/S¼¾ÅÍ ¾È³»'				, 'cu_04'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('ee05'	  , 'Á¦Ç° »ç¿ë¼³¸í¼­'			, 'cu_05'			,'' , 'Y'  , '');





// 6. LGÀüÀÚ ÆÐ¹Ð¸® (8)

menuArr[arrCnt++] = new Array('gg'        , 'LGÀüÀÚ ÆÐ¹Ð¸®'        			, 'mem_m'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('gg01'      , '·Î±×ÀÎ'							, 'mem_01'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('gg02'      , 'È¸¿ø°¡ÀÔ'               		, 'mem_02'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('gg03'      , '¾ÆÀÌµð/ºñ¹Ð¹øÈ£ È®ÀÎ'			, 'mem_03'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('gg04'      , 'LGÀüÀÚ ÆÐ¹Ð¸® ¾ÆÀÌµð ¾È³»'		, 'mem_04'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('gg05'      , '½Ç¸íÈ®ÀÎ¼­ºñ½º'           		 , 'mem_05'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('gg06'      , 'ÀÌ¿ë¾à°ü'                 		 , 'mem_06'			,'' , ''  , '');

menuArr[arrCnt++] = new Array('gg07'      , '°³ÀÎÁ¤º¸º¸È£Á¤Ã¥'          		, 'mem_07'		    ,'' , ''  , '');

menuArr[arrCnt++] = new Array('gg08'      , '°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§'          		, 'mem_07'		    ,'' , 'Y'  , '');





// 7. ¸¶ÀÌÆäÀÌÁö (24)

menuArr[arrCnt++] = new Array('hh'        , '¸¶ÀÌÆäÀÌÁö'             	  	 , 'my_m'             ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh00'      , '¸¶ÀÌ Å¬¸®´× ÆÐÅ°Áö ¼­ºñ½º'	 	 , 'my_00'            ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh01'      , '°¡±î¿î ¼­ºñ½º ¼¾ÅÍ'    	 	 , 'my_01'            ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh02'      , '³» ¹®ÀÇÇÔ'             	 	 , 'my_02'            ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh03'      , 'ÇÒÀÎÄíÆù'					  	 , 'my_03'            ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh04'      , 'Á¦Ç°¼îÇÎ Á¤º¸'				  	 , 'my_04'       	   ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0401'  , 'Àå¹Ù±¸´Ï'				      	, 'my_0401'        ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0402'  , 'ÁÖ¹®/¹è¼ÛÇöÈ²'				  	, 'my_0402'        ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0403'  , 'ÁÖ¹®Ãë¼Ò½ÅÃ»'				  	, 'my_0403'        ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0404'  , '¹ÝÇ°±³È¯¾È³»'				  	, 'my_0404'        ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0405'  , '³ªÀÇ »óÇ°Æò'				  , 'my_0405'        ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh05'      , '³» ÀÌº¥Æ® ³»¿ª'          	  , 'my_05'        	   ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0501'    , 'ÁøÇàÁßÀÎ ÀÌº¥Æ®'             , 'my_0501'          ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0502'    , 'Âü¿©ÇÑ ÀÌº¥Æ®'      	      , 'my_0502'          ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0503'    , '´çÃ·µÈ ÀÌº¥Æ®'               , 'my_0503'          ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh06'      , '°³ÀÎÁ¤º¸¼öÁ¤'                , 'my_06'            ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0601'    , 'È¸¿øÁ¤º¸º¯°æ'                , 'my_0601'          ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0602'    , 'ºñ¹Ð¹øÈ£º¯°æ'                , 'my_0602'          ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0603'    , 'È¸¿øÅ»Åð'            	      , 'my_0603'          ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh07'      , '³ª¸¸ÀÇ ÇýÅÃ'           	 	 , 'my_07'            ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0701'    , 'ÀÏÁ¤°ü¸®'           		  , 'my_0701'          ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0702'    , 'Áñ°ÜÃ£±â'          			  , 'my_0702'          ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh0703'    , 'SMS¼­ºñ½º'          		  , 'my_0703'          ,'' , ''  , '');

menuArr[arrCnt++] = new Array('hh08'      , 'Áñ°ÜÃ£´Â ´º½º'             	 , 'my_08'            ,'' , 'Y'  , '');

menuArr[arrCnt++] = new Array('hh09'      , '¸¶ÀÌ Å¬¸®´× ÆÐÅ°Áö ¼­ºñ½º'	 	 , 'my_09'            ,'' , ''  , '');





// 8. Á¦Ç°µî·Ï (3)

menuArr[arrCnt++] = new Array('ii'        , 'Á¦Ç°µî·Ï'               , 'in_m'         ,'' , ''  , '');

menuArr[arrCnt++] = new Array('ii01'      , '½Å±Ô Á¦Ç°µî·Ï'          , 'in_01'        ,'' , ''  , '');

menuArr[arrCnt++] = new Array('ii02'      , 'Á¦Ç°µî·Ï Á¶È¸'          , 'in_02'        ,'' , 'Y'  , '');



// 9. »çÀÌÆ®¸Ê (1)

menuArr[arrCnt++] = new Array('jj'       , '»çÀÌÆ®¸Ê'               , 'sm_m'         ,'' , 'Y'  , '');







/**

 * ÇÔ¼ö¼³¸í : ¿ÞÂÊ ¸Þ´º Ãâ·ÂÇÏ´Â ÇÔ¼ö

 * ÀÎÀÚ¼³¸í : ÇØ´ç ÆäÀÌÁö ¸Þ´º ÄÚµå

 * ¹Ý È¯ °ª : ¿ÞÂÊ ¸Þ´º Ãâ·Â

 * ÀÛ ¼º ÀÏ : 2005 03. 18.

 */

function MenuTree ( MenuCode ) {



    var prefix = MenuCode.substring( 0, menuPolicy );

    var menuDepth = '';

    var tmpLen = (MenuCode.length / menuPolicy ) ;



document.write( "<BODY  leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' >" ); 



    for (j=0; j< menuArr.length ; j++) { //ÃÑ ¸Þ´º ·çÇÁ



        menuDepth = ( menuArr[j][0].length / menuPolicy ) ;// ¸Þ´º depth 

        var gifName = "" ; // ¼±ÅÃµÈ ¸Þ´ºÀÏ °æ¿ì ÀÌ¹ÌÁö ON 



        var ja = ''; // 4 depthÀÏ¶§ ÇÊ¿äÇÑ º¯¼ö

        var mo = ''; // 4 depthÀÏ¶§ ÇÊ¿äÇÑ º¯¼ö



        if ( menuArr[j][0].substring( 0, menuPolicy ) == prefix ){



            if( menuDepth == 1 ){  //1 depth ÀÌ¸é 



            } else if ( menuDepth == 2 ) {      // 2 depth ÀÌ¸é



                if ( MenuCode == menuArr[j][0]  ) { // ¼±ÅÃµÈ 2depth ÀÌ¸é

                    gifName = "/cokr/asset/images/bull_menu_on.gif" ;

                    menuArr[j][1] = "<b><font color=#A00050>"+  menuArr[j][1] + "</font></b>" ;

                } else if ( tmpLen > 2 && menuArr[j][0] == MenuCode.substring(0 , (menuPolicy * 2))  ) {

                  //¼±ÅÃµÈ ¸Þ´ºÀÇ ºÎ¸ð depthÀÌ¸é

                    menuArr[j][1] = "<font color=#000400>"+  menuArr[j][1] +"</font>" ;

                }

                    

                    document.write( "<table border='0' cellpadding='0' cellspacing='0' width='172' background='/cokr/asset/images/bg_leftnav_2d.gif'  >" );

                    document.write( "<tr>");

                    document.write( "<td width='6' height='22'><img src='");

                    document.write( gifName );

                    document.write("' width='6' height='18' border='0' name='bu1'></td>");

                    document.write( "<td width='166' style='padding:2 0 0 15;'>");

                    document.write( " <a href=\"javascript:GoMenu('");

                    document.write( menuArr[j][2] );

                    document.write("')\" class='lmenu_off'>");

                    document.write( menuArr[j][1] );

                    document.write( "   </a>");

                    document.write( "</td>");

                    document.write( "</tr>");









                if (  'Y' == menuArr[j][4]  ) {

                    if ( tmpLen > 2 && menuArr[j][0] == MenuCode.substring(0 , (menuPolicy * 2) ) ) {

                        document.write( "<tr>");

                        document.write( "<td height='1'></td>");

                        document.write( "<td bgcolor='#BDBDBD'></td>");

                        document.write( "</tr>");

                    } else if ( MenuCode == menuArr[j][0]  ) {

                        var childCnt = 0;

                        var menuLen = MenuCode.length ;



                        for (i=0; i < menuArr.length ; i++) { 

                            if( (menuArr[i][0].length > menuLen) && menuArr[i][0].substring( 0, menuLen ) ==  MenuCode ){

                                childCnt ++ ;

                            }

                        }

                        if( childCnt > 0 ){

                            document.write( "<tr>");

                            document.write( "<td height='1'></td>");

                            document.write( "<td bgcolor='#BDBDBD'></td>");

                            document.write( "</tr>");

                        }

                    }

                } else {

                    document.write( "<tr>");

                    document.write( "<td height='1'></td>");

                    document.write( "<td bgcolor='#BDBDBD'></td>");

                    document.write( "</tr>");

                }//



                    document.write( "</table>");



            } else if ( menuDepth == 3 ) { // 3depth ÀÌ¸é





                // ´Ù¸¥ 3 depth´Â ¾Èº¸ÀÌ°Ô ÇÏ±â À§ÇØ ºÐ±â

                if( tmpLen >= 2 && ( MenuCode.substring( 0 , menuPolicy * 2 ) == menuArr[j][0].substring(0, menuPolicy * 2 ) ) ) { 

                    if ( MenuCode == menuArr[j][0]  ) { // 

                        //¼±ÅÃµÈ 3depth ÀÌ¸é

                        gifName = "/cokr/asset/images/bull_menu_on.gif" ;

                        menuArr[j][1] = "<b><font color=#A00050>"+  menuArr[j][1] + "</font></b>" ;

                    } else if ( tmpLen > 3 && menuArr[j][0] == MenuCode.substring(0, menuPolicy * 3) ){

                        //¼±ÅÃµÈ ¸Þ´ºÀÇ ºÎ¸ð depthÀÌ¸é

                        menuArr[j][1] = "<font color=#000400>"+  menuArr[j][1] +"</font>" ;

                    }//



                    document.write( "<table border='0' cellpadding='0' cellspacing='0' width='172' background='/cokr/asset/images/bg_leftnav_3d.gif'>");

                    document.write( "    <tr>");

                    document.write( "        <td height='22'><img src='");

                    document.write( gifName );

                    document.write("' width='6' height='18' border='0' name='bu11'></td>");

                    document.write( "        <td width='166' style='padding:2 0 0 24;'>");

                    document.write( " <a href=\"javascript:GoMenu('");

                    document.write( menuArr[j][2] );

                    document.write("')\" class='lmenu_off'>");

                    document.write( menuArr[j][1] );

                    document.write( "   </a>");

                    document.write( "</td>");

                    document.write( "</tr>");



                    if (   'Y' == menuArr[j][4]   ) {

                        if (  tmpLen > 3 && menuArr[j][0] == MenuCode.substring(0, menuPolicy * 3) ) {

                            document.write( "<tr>");

                            document.write( "<td height='1'></td>");

                            document.write( "<td bgcolor='#BDBDBD'></td>");

                            document.write( "</tr>");

                        }else if (  MenuCode == menuArr[j][0]  ){

                            var childCnt = 0;

                            var menuLen = MenuCode.length ;



                            for (i=0; i < menuArr.length ; i++) { 

                                if( (menuArr[i][0].length > menuLen) && menuArr[i][0].substring( 0, menuLen ) ==  MenuCode ){

                                    childCnt ++ ;

                                }

                            }

                            //alert( "childCnt " + childCnt );

                            if( childCnt > 0 ){

                                document.write( "<tr>");

                                document.write( "<td height='1'></td>");

                                document.write( "<td bgcolor='#BDBDBD'></td>");

                                document.write( "</tr>");

                            }

                        }

                    }else {

                        document.write( "<tr>");

                        document.write( "<td height='1'></td>");

                        document.write( "<td bgcolor='#BDBDBD'></td>");

                        document.write( "</tr>");

                    }



                    document.write( "</table>");





                }//if



            } else if ( menuDepth == 4 ) {

                

                // ´Ù¸¥ 4 depth´Â ¾Èº¸ÀÌ°Ô ÇÏ±â À§ÇØ ºÐ±â

                if( tmpLen >= 3 && ( MenuCode.substring( 0 , menuPolicy * 3) == menuArr[j][0].substring( 0,menuPolicy * 3) ) ){

                    if ( MenuCode == menuArr[j][0]  ) { // 

                        //¼±ÅÃµÈ 4depth ÀÌ¸é

                        gifName = "/cokr/asset/images/bull_menu_on.gif" ;

                        menuArr[j][1] = "<font color=#A00050><b>"+ menuArr[j][1] + "</b></font>";

                    }



                    ja =  menuArr[j][5].substring( 0 , 1 );

                    mo = menuArr[j][5].substring( 2  );



                    if( '1' == ja ){ // 4depthÀÇ ½ÃÀÛÀÌ¸é

                        document.write( "<table border='0' cellpadding='0' cellspacing='0' width='172' background='/cokr/asset/images/bg_leftnav_4d.gif'>");

                        document.write( "    <tr>");

                        document.write( "        <td colspan='2' height='10'></td>");

                        document.write( "    </tr>");

                    }



                        document.write( "    <tr>");

                        document.write( "        <td width='6' height='18' valign='top'>");

                        document.write( "        <img src='");

                        document.write( gifName );

                        document.write("' width='6' height='18' border='0' name='bu421'></td>");

                        document.write( "        <td style='padding-left:24;'>");

                        document.write( "            <a href=\"javascript:GoMenu( '");

                        document.write( menuArr[j][2] );

                        document.write("' )\" class='lmenu_off'>");

                        document.write( menuArr[j][1]  );

                        document.write( "            </a>");

                        document.write( "        </td>");

                        document.write( "    <tr>");





                    if( ja == mo ) { // 4depthÀÇ ³¡ÀÌ¸é

                        document.write( "    <tr>");

                        document.write( "        <td colspan='2' height='10'></td>");

                        document.write( "    </tr>");



                        if (  'Y' != menuArr[j][4] ){ 

                            document.write( "<tr>");

                            document.write( "<td height='1'></td>");

                            document.write( "<td bgcolor='#BDBDBD'></td>");

                            document.write( "</tr>");

                        }



                        document.write( "</table>" );

                    }

                }//

            }//if...else if...

            

        }//if..

    }//for





    document.write( "<table border='0' cellpadding='0' cellspacing='0' width='172'>" ); 

    document.write( "<tr>" ); 

    document.write( "<td height='1' bgcolor='BDBDBD'></td>" ); 

    document.write( "</tr>" ); 

    document.write( "<tr>" ); 

    document.write( "<td height='8' bgcolor='EFEFEF'></td>" ); 

    document.write( "</tr>" ); 

    document.write( "</table>" ); 

    document.write( "</BODY>" ); 



}//MenuTree...End





/**

 * ÇÔ¼ö ¼³¸í  : ¸Þ´º ³×ºñ°ÔÀÌ¼Ç 

 * ÀÎÀÚ ¼³¸í  : ÇØ´ç ÆäÀÌÁö ¸Þ´º ÄÚµå

 * ¹Ý È¯ °ª  :  ÇöÀç ¸Þ´ºÀÇ ³×ºñ°ÔÀÌ¼Ç Ãâ·Â

 * ÀÛ ¼º ÀÏ : 2005 03. 18.

 */

function dispNavi( MenuCode ){ 

    var c_no = 0;

    

    //document.write( "<tr valign='top'> ");

    //document.write( " <td class='locm' align='right'> " );

    

    for (i=0; i<MenuCode.length; i++) {



        SubCode = MenuCode.substring(0, i+1);

        for (j=0; j<menuArr.length; j++) {

            if (menuArr[j][0]==SubCode) {

                

                if (c_no == 0){

                    document.write("<A HREF=\"javascript:GoMenu( 'brand_home' )\">Home</A>");

                    c_no = c_no + 1;

                }//end...if

                

                if ((MenuCode!=SubCode) && (menuArr[j][2].length > 0)) {

                    document.write(" <font color=\"#888888\">&gt;</font> ");

                    document.write("<a href=\"javascript:GoMenu('"+menuArr[j][2]+"' )\" >"+menuArr[j][1]+"</a>");

                } else {

                

                    document.write(" <font color=\"#888888\">&gt;</font> ");

                    document.write( menuArr[j][1] );

                }//End...if...else 

                break;

            }//if...

        }//end inner for 

    }//end outer for

    //document.write( " </td>" );

    //document.write( "</tr>" );

}//End dispNavi()





/**

 * ÇÔ¼ö ¼³¸í  : ¸Þ´º Å¸ÀÌÆ²

 * ÀÎÀÚ ¼³¸í  : ÇØ´ç ÆäÀÌÁö ¸Þ´º ÄÚµå

 * ¹Ý È¯ °ª  :  ÇöÀç ÆäÀÌÁöÀÇ Å¸ÀÌÆ² Ãâ·Â

 * ÀÛ ¼º ÀÏ  : 2005. 03. 21

 */

function dispTitle( MenuCode ){ 

    var menuTitle = ""; 

    for (j=0; j<menuArr.length; j++) {

        if ( MenuCode == menuArr[j][0] ) {

            menuTitle = menuArr[j][1] ;

            break;

        }//if...

    }//end for 

	document.write("<TITLE>"+ menuTitle +" - CYKING - LG Electronics</TITLE>" );

}//End dispNavi()







/**

 * ÇÔ¼ö ¼³¸í  : °Ë»ö¿£Áø¿ë ¸Þ´º Å¸ÀÌÆ²<title>ÅÂ±×Á¦¿Ü

 * ÀÎÀÚ ¼³¸í  : ÇØ´ç ÆäÀÌÁö ¸Þ´º ÄÚµå

 * ¹Ý È¯ °ª  :  ÇöÀç ÆäÀÌÁöÀÇ Å¸ÀÌÆ² Ãâ·Â

 * ÀÛ ¼º ÀÏ  : 2005. 06. 219

 */

function dispSearchTitle( MenuCode ){ 

    var menuTitle = ""; 

    for (j=0; j<menuArr.length; j++) {

        if ( MenuCode == menuArr[j][0] ) {

            menuTitle = menuArr[j][1] ;

            break;

        }//if...

    }//end for 

	document.write(menuTitle +" - CYKING - LG Electronics" );

}//End dispNavi()