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

// ¸Þ´º¾ÆÀÌµð , ¸Þ´º¸í ,  ¸µÅ© URL  , ±âÅ¸(½ºÅ¸ÀÏÀû¿ë½Ã) , °¢ depth Áß °¡Àå ¸¶Áö¸· ¸Þ´ºÀÌ¸é Y , 4 depthÀÏ¶§´Â ¸î¹øÂ°ÀÎÁö
var arrCnt = 0;
var menuPolicy = 2; // ¸Þ´º ÀÚ¸®¼ö Á¤Ã¥


// 1. Á¦Ç°Á¤º¸_110927 GNB °³¼±
menuArr[arrCnt++] = new Array('aa'        , 'Á¦Ç°Á¤º¸'		       	, 'pr_m'		    ,'' , ''  , '');
menuArr[arrCnt++] = new Array('aa01'      , 'LG XNOTE'					, 'pr_01'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('aa02'      , 'LG XNOTE MINI'			, 'pr_02'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('aa03'      , 'LG XPION'					, 'pr_03'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('aa04'      , 'LG ÀÏÃ¼ÇüPC'			, 'pr_04'			,'' , 'Y'  , ''); 


// 2. Á¦Ç°µî·Ï_110927_GNB °³¼±
menuArr[arrCnt++] = new Array('bb'        , 'Á¦Ç°µî·Ï'              ,'in_m '			,'' , ''  , '');
menuArr[arrCnt++] = new Array('bb01'        , '½Å±ÔÁ¦Ç°µî·Ï'         ,'in_01 '			,'' , ''  , '');
menuArr[arrCnt++] = new Array('bb0101'        , 'PC ½Å±ÔÁ¦Ç°µî·Ï'         ,'in_0101 '			,'' , 'Y'  , '');
menuArr[arrCnt++] = new Array('bb02'        , 'Á¦Ç° µî·Ï Á¶È¸'         ,'in_02 '			,'' , ''  , '');
menuArr[arrCnt++] = new Array('bb03'        , 'Á¦Ç° ¾çµµ/¾ç¼ö'         ,'in_03 '			,'' , ''  , '');
menuArr[arrCnt++] = new Array('bb04'        , 'Á¦Ç° ºÐ½Ç/µµ³­ ½Å°í'         ,'in_04 '			,'' , ''  , '');
menuArr[arrCnt++] = new Array('bb05'        , '»çÀºÇ° ½ÅÃ»'         ,'in_05 '			,'' , ''  , '');
menuArr[arrCnt++] = new Array('bb0501'        , '½ÅÃ» ³»¿ª Á¶È¸'         ,'in_0501 '			,'' , ''  , '');
menuArr[arrCnt++] = new Array('bb0502'        , '°¡¹æ&»çÀºÇ° Á¶È¸'         ,'in_0502 '			,'' , 'Y'  , '');


// 3. °í°´ Áö¿ø_110927_GNB °³¼±
menuArr[arrCnt++] = new Array('cc'        , '°í°´ Áö¿ø'		    		   	, 'cu_m'		    ,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc01'      , 'FAQ'							, 'cu_01'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc02'      , 'ÀÌ¸ÞÀÏ ¹®ÀÇ'         		  	, 'cu_02'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc03'      , '¼¾ÅÍ/¸ÅÀå Ã£±â'					, 'cu_03'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc0301'      , '¼­ºñ½º ¼¾ÅÍ Ã£±â'					, 'cu_0301'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc0302'      , '¸ÅÀå Ã£±â'					, 'cu_0302'			,'' , 'Y'  , '');
menuArr[arrCnt++] = new Array('cc04'      , 'ÀÚ·á½Ç'					, 'cu_04'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc0401'      , 'µå¶óÀÌ¹ö / SW'					, 'cu_0401'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc0402'      , '¼³Ä¡ °¡ÀÌµå'					, 'cu_0402'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc0403'      , '±â¼ú Á¤º¸ ÀÚ·á½Ç'					, 'cu_0403'			,'' , 'Y'  , '');
menuArr[arrCnt++] = new Array('cc05'      , '±¹Á¦ º¸Áõ ¼­ºñ½º(IWS) ¾È³»'					, 'cu_05'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc06'      , '¼­ºñ½º ½ÅÃ»'				, 'cu_06'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc07'      , 'Á¦Ç° °¡ÀÌµå'				, 'cu_07'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc0701'      , 'LG XNOTE Á¦Ç° °¡ÀÌµå'				, 'cu_0701'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('cc0701'      , 'LG XPION Á¦Ç° °¡ÀÌµå'				, 'cu_0702'			,'' , 'Y'  , '');


// 4. È«º¸¼¾ÅÍ_110927_GNB °³¼±
menuArr[arrCnt++] = new Array('dd'        , 'È«º¸¼¾ÅÍ'		      	 	, 'ro_m'		    ,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd01'      , 'ÀÌº¥Æ®'						, 'ro_01'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd0101'    , 'ÁøÇàÁßÀÎ ÀÌº¥Æ®'		    , 'ro_0101'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd0102'    , 'Áö³­ ÀÌº¥Æ®'		        , 'ro_0102'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd0103'    , '´çÃ·ÀÚ ¹ßÇ¥'		        , 'ro_0103'			,'' , 'Y'  , '');
menuArr[arrCnt++] = new Array('dd02'      , '±¤°í'						, 'ro_02'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd0201'    , 'TV±¤°í'						, 'ro_0201'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd0202'    , 'ÀÎ¼â±¤°í'		    	    , 'ro_0202'			,'' , 'Y'  , '');
menuArr[arrCnt++] = new Array('dd03'      , 'NOTICE/NEWS'				, 'ro_03'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd04'      , '½ºÆä¼È ¿ùµå'				, 'ro_05'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd0401'    , 'WALLPAPER'				   , 'ro_0501'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd0402'    , 'SCREEN SAVER'		        , 'ro_0502'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd0403'    , 'E-CARD'		     		   , 'ro_0503'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd0404'    , '¼ö»ó³»¿ª'		     		   , 'ro_0503'			,'' , 'Y'  , '');
menuArr[arrCnt++] = new Array('dd05'      , 'PCº¸¾È'				, 'ro_05'			,'' , ''  , '');
menuArr[arrCnt++] = new Array('dd06'        , '¸¶ÀÌÅ©·Î»çÀÌÆ®'			, 'ro_06'				,'' , 'Y'  , '');



// 7. ¸¶ÀÌÆäÀÌÁö (25)
menuArr[arrCnt++] = new Array('hh'        , '¸¶ÀÌÆäÀÌÁö'             	  , 'my_m'             ,'' , ''  , '');
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'            ,'' , ''  , '');
menuArr[arrCnt++] = new Array('hh09'      , '±³À°½ÅÃ» °ü¸®'              , 'my_09'            ,'' , ''  , '');
menuArr[arrCnt++] = new Array('hh10'      , '³ëÆ®ºÏ'              		, 'my_10'            ,'' , 'Y'  , '');



// 8. 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'	    ,'' , 'Y'  , '');


// ³ëÆ®ºÏ°¡¹æ ¹è¼Û½Ã½ºÅÛ Ãß°¡ (2006.7.10))(¼öÁ¤-2007.08.13)
menuArr[arrCnt++] = new Array('ii06'        , '³ëÆ®ºÏ°¡¹æ&»çÀºÇ°'   ,'in_06'                             ,'' , 'Y'  , '');
menuArr[arrCnt++] = new Array('ii0601'      , '½ÅÃ»³»¿ª Á¶È¸'                   ,'in_0601'                     ,'' , ''  , '');
menuArr[arrCnt++] = new Array('ii0602'      , '°¡¹æ&»çÀºÇ° Á¶È¸'          ,'in_0602'                ,'' , 'Y'  , '');

// ³ëÆ®ºÏ°¡¹æ ¹è¼Û½Ã½ºÅÛ Ãß°¡ (2006.7.10)
//menuArr[arrCnt++] = new Array('ii06'        , '³ëÆ®ºÏ °¡¹æ ½ÅÃ»/¹è¼ÛÁ¶È¸'   ,'in_06'			,'' , 'Y'  , '');
//menuArr[arrCnt++] = new Array('ii0601'      , '½ÅÃ»'                   ,'in_0601'		,'' , ''  , '');
//menuArr[arrCnt++] = new Array('ii0602'      , '½ÅÃ»Á¤º¸ º¯°æ'          ,'in_0602'		,'' , ''  , '');
//menuArr[arrCnt++] = new Array('ii0603'      , '¹è¼ÛÁ¶È¸'               ,'in_0603'		,'' , ''  , '');
//menuArr[arrCnt++] = new Array('ii0604'      , '¹è¼Û°ü·Ã ¹®ÀÇ'          ,'in_0604'		,'' , 'Y'  , '');

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



/**
 * ÇÔ¼ö¼³¸í : ¿ÞÂÊ ¸Þ´º Ãâ·ÂÇÏ´Â ÇÔ¼ö
 * ÀÎÀÚ¼³¸í : ÇØ´ç ÆäÀÌÁö ¸Þ´º ÄÚµå
 * ¹Ý È¯ °ª : ¿ÞÂÊ ¸Þ´º Ãâ·Â
 * ÀÛ ¼º ÀÏ : 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 +" - XNOTE - 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 +" - XNOTE - LG Electronics" );
}//End dispNavi()
