PageSourceSearch

http://image.moneta.co.kr/comm2012/include/left_menu_finance.js

js moneta.co.kr collected 2026-10-02 16:41:11 UTC 23,939 bytes, 566 lines download raw bytes

1// ¿¹Àû±Ý´ëÃâ LEFT_MENU
2var loc = String(location.href);
3if ( loc.indexOf('dev') > -1 ) loc = '.dev';
4else loc = '';
5
6var FIN_ROOT  = "http://finance"+loc+".moneta.co.kr";
7var FUND_ROOT  = "http://fund"+loc+".moneta.co.kr";
8var BBS_ROOT  = "http://bbs.moneta.co.kr";
9var NEWS_ROOT = "http://news.moneta.co.kr";
10
11loc = String(location.href);
12if ( (loc.indexOf('12001') > -1) && (loc.indexOf('local') > -1) ) {
13	FIN_ROOT  = "http://local.moneta.co.kr:12001/finance";
14	FUND_ROOT  = "http://local.moneta.co.kr:12001/fund";
15}
16
17// ¹è¿­ À妽º ±¸ºÐ
18var CODE       = 0;
19var MENU_NAME  = 1;
20var LINK       = 2;
21
22// ¸Þ´º ¹è¿­ ¼±¾ð
23var top_table   = new Array();
24var sub_table   = new Array();
25var depth_table = new Array();
26var left_table	= new Array();
27
28// ¸Þ´º ¹è¿­ À妽º
29var topIdx;
30var subIdx;
31var depthIdx;
32var leftIdx;
33
34// ¸Þ´º »ý¼º ¿©ºÎ
35var menu_fg = false;
36
37// ¸Þ´º »ý¼º
38function make_menu(top, sub, depth, left) { 
39    if (!menu_fg) {
40        // top ¸Þ´º Á¤ÀÇ(1depth)
41        top_table = new Array (
42			["2", "ÃÖ°í±Ý¸®", FIN_ROOT + "/saving/bestIntCat02List.jsp", "1"],
43			["7", "Ä¿¹Â´ÏƼ", FIN_ROOT + "/bbs/bbsN10812.jsp", "2"],
44			["1", "ä±Ç", FIN_ROOT + "/bond/xintro.html", "3"],
45			//["3", "ÆÝµå", "http://fund2.moneta.co.kr/", "4"],
46			["3", "ÆÝµå", "http://fund.moneta.co.kr/market/market_why.html", "4"],
47			["4", "´ëÃâ", "http://loan.moneta.co.kr/", "5"],
48			["5", "¼Ò¼ÈÆÝµù", "http://funding.moneta.co.kr/", "6"],
49			["6", "ÁÖ½Ä", "http://paxnet.moneta.co.kr/", "7"],
50			["8", "Çö´ëÄ«µå", FIN_ROOT + "/card/hyundaicardDirect.html", "8"]
51        );
52
53        // Sub & Depth ¸Þ´º Á¤ÀÇ
54        //     - Depth ¸Þ´º°¡ Á¸ÀçÇÒ °æ¿ì, ÇØ´ç sub ¸Þ´º¿Í index ¼ø¼­¸¦ ¸ÂÃá´Ù.
55        //     - Depth ¸Þ´º´Â 3Â÷¿ø ¹è¿­·Î ÀÛ¼ºÇÑ´Ù.
56		//     - 2depth ±¸º°¿¡ µû¶ó 2depth~4depth Á¤ÀÇ
57        if (top == 1) {	// 1depth : ä±Ç 1
58
59			// 2depth
60            sub_table = new Array (
61                ["1", "ÅõÀÚÀü·«", FIN_ROOT + "/bond/strategy/bbsList.jsp?bbsId=N10789"],
62                ["2", "´ë½ÅÅõÀÚÁõ±Ç", FIN_ROOT + "/bond/info/saleBondInfo.jsp?companyCode=002"],
63                ["3", "¾ÆÀÌ¿¥ÅõÀÚÁõ±Ç", FIN_ROOT + "/bond/info/saleBondInfo.jsp?companyCode=001"],
64                ["4", "ä±ÇÅõÀÚ°¡À̵å", FIN_ROOT + "/bond/html/bond_m01a.html"]
65            );
66
67			// 3depth~4depth
68			if(sub == 1) {
69				depth_table = new Array (
70					["1", "Today's Point", FIN_ROOT + "/bond/strategy/bbsList.jsp?bbsId=N10789"],
71					["2", "ä±Ç ´º½º", FIN_ROOT + "/bond/strategy/newsList.jsp"],
72					["3", "Weekly Forecast", FIN_ROOT + "/bond/strategy/bbsList.jsp?bbsId=N10790"],
73					["4", "Monthly Brief", FIN_ROOT + "/bond/strategy/bbsList.jsp?bbsId=N10791"],
74					["5", "»ê¾÷ µ¿Çâ", FIN_ROOT + "/bond/strategy/bbsList.jsp?bbsId=N10793"],
75					["6", "½Ã¼±ÁýÁß(VOD)", FIN_ROOT + "/bond/bbs/vodList.jsp"],
76					["7", "ÆÇ¸ÅÁßÀÎä±Ç", FIN_ROOT + "/bond/product/combine/home/productList.jsp"]
77				);
78
79				left_table = new Array (
80					[],
81					[],
82					[],
83					[],
84					[],
85					[],
86					[]
87				);
88			}
89			else if(sub == 2){
90				depth_table = new Array (
91					["1", "ÇØ¿Ü ä±Ç¾È³»", FIN_ROOT + "/bond/product/daishin/global/productList.jsp?companyCode=002"],
92					["2", "±¹³» ä±Ç¾È³»", FIN_ROOT + "/bond/product/daishin/home/productList.jsp?companyCode=002"],
93					["3", "ÁöÁ¡/Á÷¿ø¾È³»", FIN_ROOT + "/bond/info/branchInfoList.jsp?companyCode=002"]
94				);
95
96				left_table = new Array (
97					[],
98					[]
99				);
100			}
101			else if(sub == 3){
102				depth_table = new Array (
103					["1", "ÆÇ¸Åä±Ç¾È³»", FIN_ROOT + "/bond/info/saleBondInfo.jsp?companyCode=001"],
104					["2", "ÁöÁ¡/PB¾È³»", FIN_ROOT + "/bond/info/branchInfoList.jsp?companyCode=001"]
105				);
106
107				left_table = new Array (
108					[],
109					[]
110				);
111			}
112			else if(sub == 4){
113				depth_table = new Array (
114					["1", "ä±Ç¼Ò°³", FIN_ROOT + "/bond/html/bond_m01a.html"],
115					["2", "ÅõÀÚ°¡À̵å", FIN_ROOT + "/bond/html/bond_m02a.html"],
116					["3", "FAQ", FIN_ROOT + "/bond/html/bond_m05.html"],
117					["4", "Q&A", FIN_ROOT + "/bond/bbs/qnaList.jsp"]
118				);
119
120				left_table = new Array (
121					[],
122					[],
123					[],
124					[]
125				);
126			}
127        }else if (top == 2) {	// 1depth : ÃÖ°í±Ý¸®
128
129			// 2depth
130			sub_table = new Array (
131				["1", "»óǰº° ã±â", FIN_ROOT + "/saving/bestIntCat02List.jsp"],
132				["2", "±ÝÀ¶±â°üº° ã±â", FIN_ROOT + "/saving/bestIntOrgBKList.jsp"],
133				["3", "ÁÖ°£ Àαâ BEST", FIN_ROOT + "/popsave/weeklyBestProdList.jsp"]
134			);
135
136			// 3depth
137			depth_table = new Array (
138				[
139					["1", "Àû±Ý", FIN_ROOT + "/saving/bestIntCat02List.jsp"],
140					["2", "¿¹±Ý", FIN_ROOT + "/saving/bestIntCat01List.jsp"],
141					["3", "¼ö½ÃÀÔÃâ½Ä", FIN_ROOT + "/saving/bestIntCat06List.jsp"]
142				],
143				[
144					["1", "ÀºÇà", FIN_ROOT + "/saving/bestIntOrgBKList.jsp"],
145					["2", "ÀúÃàÀºÇà", FIN_ROOT + "/mutualbank/mbankSavingList.jsp"]
146				],
147				[
148					["1", "Àα⠿¹Àû±Ý", FIN_ROOT + "/popsave/weeklyBestProdList.jsp"],
149					["2", "Àα⠱ÝÀ¶±â°ü", FIN_ROOT + "/popsave/weeklyBestOrganList.jsp"]
150				]
151			);
152        }else if (top == 3) {	// 1depth : ÆÝµå 3
153
154			// 2depth
155			sub_table = new Array (
156				["7", "ÆÝµå½´ÆÛ¸¶ÄÏ", FUND_ROOT + "/market/market_why.html"]
157			//	["1", "ÃÖ°í¼öÀÍ·üÆÝµå", "http://fund2.moneta.co.kr/fund/local/fundquickrank.asp"],
158			//	["2", "ÃÖ°í¼öÀÍ·ü¿î¿ë»ç", "http://fund2.moneta.co.kr/fund/FundCompanyRank.asp"],
159			//	["3", "ÁÖ°£Àα⺣½ºÆ®20", "http://fund2.moneta.co.kr/fund/fundtop20rank.asp"],
160			//	["4", "¸ð´×½ºÅ¸ÃßõÆÝµå", "http://fund2.moneta.co.kr/fund/bestfund.asp"],
161			//	["5", "MyÆÝµå", FUND_ROOT + "/msFund/myPort.jsp"],
162			//	["6", "¸ð´×½ºÅ¸ Quicktake¢çReport", ""]		// ¸ð´×½ºÅ¸ ÆÝµå »ó¼¼ÆäÀÌÁöÀÇ ÆäÀÌÁö¸í°ú °æ·ÎÇ¥½Ã À§ÇØ Ãß°¡
163			);
164
165			// 3depth
166			depth_table = new Array (
167				[
168					["1", "»õ·Î¿î ÆÝµå ÅõÀÚ!", FUND_ROOT + "/market/market_why.html"],
169					["2", "½º¸¶Æ® ¼­ºñ½º", FUND_ROOT + "/market/market_smart.html"],
170					["3", "ÀÌ¿ë¹æ¹ý", FUND_ROOT + "/market/market_account.html"],
171					["4", "ÁøÇàÁß À̺¥Æ®", FUND_ROOT + "/market/market_event.html"]
172				]
173			/*	[
174					["1", "±¹³»ÆÝµå", "http://fund2.moneta.co.kr/fund/local/fundquickrank.asp"],
175					["2", "ÇØ¿ÜÆÝµå", "http://fund2.moneta.co.kr/fund/offshore/fundquickrank.asp"]
176				],
177				[],
178				[
179					["1", "ÆÝµå", "http://fund2.moneta.co.kr/fund/fundtop20rank.asp"],
180					["2", "¿î¿ë»ç", "http://fund2.moneta.co.kr/fund/fundtop20rank02.asp"]
181				],
182				[
183					["1", "±¹³»ÆÝµå", "http://fund2.moneta.co.kr/fund/bestfund.asp"],
184					["2", "ÇØ¿ÜÆÝµå", "http://fund2.moneta.co.kr/fund/bestfund02.asp"]
185				],
186				[
187					["1", "ÇöȲ", FUND_ROOT + "/msFund/myPort.jsp"],
188					["2", "±¹³»,ÇØ¿Ü µî·Ï", FUND_ROOT + "/msFund/myPortFundList.jsp"],
189					["3", "ÇØ¿Ü(¿ª¿Ü) µî·Ï", FUND_ROOT + "/msFund/myPortFundList.jsp?fundGubun=1"],
190					["4", "My°ü½ÉÆÝµå", FUND_ROOT + "/msFund/myInt.jsp"],
191					["5", "¹¯°í´äÇϱâ", BBS_ROOT + "/nbbs/bbs.normal.lst.screen?p_bbs_id=N10596&top=3&sub=5&depth=5&service=fund"]
192				],
193				[]
194				*/
195			);
196
197        }else if (top == 4) {	// 1depth : ´ëÃâ(¿ÜºÎ»ç) 4
198        }else if (top == 5) {	// 1depth : ¼Ò¼ÈÆÝµù(¿ÜºÎ»ç) 5
199        }else if (top == 6) {	// 1depth : ÁÖ½Ä(ÆÅ½º³Ý) 6
200        }else if (top == 7) {	// 1depth : Ä¿¹Â´ÏƼ
201
202			// 2depth
203			sub_table = new Array (
204				["1", "½Å»óǰ/À̺¥Æ®", FIN_ROOT + "/bbs/bbsN10812.jsp"],
205				["2", "ÀúÃàÅä·Ð½Ç", FIN_ROOT + "/bbs/bbsN10309.jsp"],
206				["3", "ÆÝµå·Î µ·¹ú±â", BBS_ROOT + "/nbbs/bbs.normal.lst.screen?p_bbs_id=N10415&top=7&sub=3&depth=1&service=fund&p_tp_board=false"],
207				["4", "ETF", FIN_ROOT + "/bbs/bbsN10813.jsp"]
208			);
209
210			// 3depth
211			depth_table = new Array (
212				[],
213				[
214					["1", "ÀúÃà³ëÇÏ¿ì", FIN_ROOT + "/bbs/bbsN10309.jsp"],
215					["2", "ÃßõÇϱâ", FIN_ROOT + "/bbs/bbsN7.jsp"]
216				],
217				[
218					["1", "Àüüº¸±â", BBS_ROOT+ "/nbbs/bbs.normal.lst.screen?p_bbs_id=N10415&top=7&sub=3&depth=1&service=fund&p_tp_board=false"],
219					["2", "±¹³»ÆÝµå", BBS_ROOT + "/nbbs/bbs.normal.lst.screen?p_bbs_id=N10415&top=7&sub=3&depth=2&service=fund&p_tp_board=false&p_beg_item=%B1%B9%B3%BB%C6%DD%B5%E5"],
220					["3", "ÆÝµåÁ¾ÇÕ»ó´ã", BBS_ROOT + "/nbbs/bbs.normal.lst.screen?p_bbs_id=N10415&top=7&sub=3&depth=3&service=fund&p_tp_board=false&p_beg_item=%C1%BE%C7%D5%BB%F3%B4%E3"],
221					["4", "¼º°ø VS ½ÇÆÐ", BBS_ROOT + "/nbbs/bbs.normal.lst.screen?p_bbs_id=N10415&top=7&sub=3&depth=4&service=fund&p_tp_board=false&p_beg_item=%BC%BA%B0%F8vs%BD%C7%C6%D0"],
222					["5", "±âŸ", BBS_ROOT + "/nbbs/bbs.normal.lst.screen?p_bbs_id=N10415&top=7&sub=3&depth=5&service=fund&p_tp_board=false&p_beg_item=%B1%E2%C5%B8"]
223				],
224				[
225					["1", "Á¤º¸³ª´©±â", FIN_ROOT + "/bbs/bbsN10813.jsp"]
226					//["2", "ÀÚÀ¯°Ô½ÃÆÇ", FIN_ROOT + "/bbs/bbsN10814.jsp"]
227				]
228			);
229        }else if (top == 8) {	// 1depth : ½Å¿ëÄ«µå
230
231			// 2depth
232			sub_table = new Array (
233				["1", "Çö´ëÄ«µåDIRECT", FIN_ROOT + "/card/hyundaicardDirect.html"],
234				["2", "Çö´ëÄ«µåZERO", FIN_ROOT + "/card/hyundaicardZero.html"],
235				["3", "Çö´ëÄ«µåM3<br>Platinum", FIN_ROOT + "/card/hyundaicardM3Pt.html"],
236				["4", "Çö´ëÄ«µåM", FIN_ROOT + "/card/hyundaicardM.html"],
237				["5", "Çö´ëÄ«µåV", FIN_ROOT + "/card/hyundaicardV.html"],
238				["6", "Çö´ëÄ«µåR", FIN_ROOT + "/card/hyundaicardR.html"]
239			);
240
241			// 3depth
242			depth_table = new Array (
243				[],
244				[],
245				[],
246				[],
247				[],
248				[]
249			);
250        }
251
252        // ¸Þ´º »ý¼º ¿Ï·á
253        menu_fg  = true;
254        topIdx   = getTopIndex(top);
255        subIdx   = getSubIndex(sub);
256		if(left >= 0)
257			depthIdx = getDepthIndex(depth);
258		else
259			depthIdx = getDepthIndex2(sub, depth);
260        leftIdx	 = getLeftIndex(depth, left);
261    }
262}
263
264// ¿ÞÂÊ ¸Þ´º
265function left_menu(top, sub, depth, left) {
266    make_menu(top, sub, depth, left);
267
268    // Sub
269    document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0' bgcolor=#4F6989>");
270    document.write("<tr bgcolor=#6A8AB8>");
271    document.write("<td colspan=3 width=120 height=47 background=http://image.moneta.co.kr/img2005/comm/leftm_bg.gif style=padding-left:12px>");
272	if(top == 1)
273		document.write("<a href='"+sub_table[sub-1][LINK]+"'><b class=lmenutit>"+sub_table[sub-1][MENU_NAME]+"</b></a>");
274	else
275		document.write("<a href='"+top_table[topIdx][LINK]+"'><b class=lmenutit>"+top_table[topIdx][MENU_NAME]+"</b></a>");
276    document.write("</td>");
277    document.write("</tr>");
278    document.write("<tr>
278<td width=5 height=6></td><td width=105></td><td width=5></td></tr>");
279
280    // Depth & Left
281	if(top == 1) {
282		// Depth & Left
283		for (var i = 0; i < depth_table.length; i++) {
284			// Separator
285			if (i > 0) {
286				document.write("<tr><td></td><td height=1 bgcolor=000000></td><td></td></tr>");
287				document.write("<tr><td></td><td height=2 bgcolor=728FB2></td><td></td></tr>");
288			}
289
290			if (left_table.length > i && left_table[i].length > 0) {
291				// Sub
292				document.write("<tr><td></td><td height=24 style=\"padding:4px 0 4px 6px\"><b class=\"w spec\">"+depth_table[i][MENU_NAME]+"</b></td><td></td></tr>");
293				// Depth
294				for (var j = 0; j < left_table[i].length; j++) {
295					if (depth == depth_table[i][CODE] && left == left_table[i][j][CODE]) {    // ÇÏÀ̶óÀÌÆ®
296						document.write("<tr><td></td><td height=18><a href=\""+left_table[i][j][LINK]+"\" class=almenu_select><b>¤ý</b>"+left_table[i][j][MENU_NAME]+"</a></td><td></td></tr>");
297					} else {
298						document.write("<tr><td></td><td height=18><a href=\""+left_table[i][j][LINK]+"\" class=almenu><b>¤ý</b>"+left_table[i][j][MENU_NAME]+"</a></td><td></td></tr>");
299					}
300				}
301				document.write("<tr><td colspan=3 height=4></td></tr>");
302			} else {
303				// Sub
304				if (depth == depth_table[i][CODE])    {    // ÇÏÀ̶óÀÌÆ®
305					document.write("<tr><td></td><td height=24 style=\"padding:4px 0 4px 6px\"><a href=\""+depth_table[i][LINK]+"\" class='almenu_select spec'><b>"+depth_table[i][MENU_NAME]+"</b></a></td><td></td></tr>");
306				} else {
307					document.write("<tr><td></td><td height=24 style=\"padding:4px 0 4px 6px\"><a href=\""+depth_table[i][LINK]+"\" class='almenu spec'><b>"+depth_table[i][MENU_NAME]+"</b></a></td><td></td></tr>");
308				}
309			}
310		}
311	} else {
312
313		for (var i = 0; i < sub_table.length; i++) {
314			
315			// ¸ð´×½ºÅ¸ : ÆÝµå»ó¼¼ÆäÀÌÁö¿¡ ÆäÀÌÁö¸í°ú °æ·Î¸íÀº Ç¥½ÃµÇ¾îµµ, ¸Þ´º¿¡´Â Ç¥½Ã¾ÈµÇµµ·Ï Á¦¿Ü
316			if( !(top == 3 && sub_table[i][CODE] == 6) ){
317				// Separator
318				if (i > 0) {
319					document.write("<tr><td></td><td height=1 bgcolor=000000></td><td></td></tr>");
320					document.write("<tr><td></td><td height=2 bgcolor=728FB2></td><td></td></tr>");
321				}
322
323				if (depth_table.length > i && depth_table[i].length > 0) {
324					// Sub
325					document.write("<tr><td></td><td height=24 style=\"padding:4px 0 4px 6px\"><b class=\"w spec\">"+sub_table[i][MENU_NAME]+"</b></td><td></td></tr>");
326					// Depth
327					for (var j = 0; j < depth_table[i].length; j++) {
328						if (sub == sub_table[i][CODE] && depth == depth_table[i][j][CODE]) {    // ÇÏÀ̶óÀÌÆ®
329							document.write("<tr><td></td><td height=18><a href=\""+depth_table[i][j][LINK]+"\" class=almenu_select><b>¤ý</b>"+depth_table[i][j][MENU_NAME]+"</a></td><td></td></tr>");
330						} else {
331							document.write("<tr><td></td><td height=18><a href=\""+depth_table[i][j][LINK]+"\" class=almenu><b>¤ý</b>"+depth_table[i][j][MENU_NAME]+"</a></td><td></td></tr>");
332						}
333					}
334					document.write("<tr><td colspan=3 height=4></td></tr>");
335				} else {
336					// Sub
337					if (sub == sub_table[i][CODE])    {    // ÇÏÀ̶óÀÌÆ®
338						document.write("<tr><td></td><td height=24 style=\"padding:4px 0 4px 6px\"><a href=\""+sub_table[i][LINK]+"\" class='almenu_select spec'><b>"+sub_table[i][MENU_NAME]+"</b></a></td><td></td></tr>");
339					} else {
340						document.write("<tr><td></td><td height=24 style=\"padding:4px 0 4px 6px\"><a href=\""+sub_table[i][LINK]+"\" class='almenu spec'><b>"+sub_table[i][MENU_NAME]+"</b></a></td><td></td></tr>");
341					}
342				}
343			}
344		}
345	}
346
347	// Bottom
348    document.write("<tr><td colspan=3><img src=\"http://image.moneta.co.kr/img2005/comm/leftm_rbottom.gif\" width=\"120\" height=\"13\" border=\"0\"></td></tr>");
349    //document.write("<tr bgcolor=#ffffff><td colspan=3 height=2></td></tr>");
350    //document.write("<tr bgcolor=#4F6989><td colspan=3 height=3></td></tr>");
351    document.write("</table>");
352
353
354    // TABº° ÇÏ´Ü Image Menu
355	/*
356    if ( top == 2 && (sub == 1 || sub == 2  || sub == 3)) { // Àα⿹Àû±Ý&ÃÖ°í±Ý¸®Ã£±â&ÀúÃà°Ô½ÃÆÇ
357        document.write("<br>");
358        document.write("<!--°è»ê±â start-->");
359        document.write("<table cellspacing='0' cellpadding='0' border='0'>");
360        document.write("<tr>");
361        document.write("<td colspan='3'><a href=\"javascript:openCalc('finan01')\"><img src='http://image.moneta.co.kr/img2005/etc/guidebanner/calculating_popsave.gif' width='120' height='25' alt=''></a></td>");
362        document.write("</tr>");
363        document.write("<tr>");
364        document.write("<td width='1' bgcolor='E6E6E4'></td>");
365        document.write("<td width='118' style='padding:11 0 9 10'><img src='http://image.moneta.co.kr/img2005/etc/guidebanner/spot.gif' width='3' height='3' alt='' align='absmiddle' style='margin-bottom:3'> <a href=\"javascript:openCalc('finan01')\">¸ñµ·¸ðÀ¸±â</a><p style='margin-top:4'><img src='http://image.moneta.co.kr/img2005/etc/guidebanner/spot.gif' width='3' height='3' alt='' align='absmiddle' style='margin-bottom:3'> <a href=\"javascript:openCalc('finan02')\">¸ñµ·±¼¸®±â</a></td>");
366        document.write("<td width='1' bgcolor='E6E6E4'></td>");
367        document.write("</tr>");
368        document.write("<tr>");
369        document.write("<td colspan='3'><img src='http://image.moneta.co.kr/img2005/etc/guidebanner/line.gif' width='120' height='2' alt=''></td>");
370        document.write("</tr>");
371        document.write("</table>");
372        document.write("<!--//°è»ê±â end-->");
373    }
374    else if ( top == 2 && sub == 4 ) { // ÀúÃàÀºÇà
375        document.write("<br>");
376        document.write("<!--FAQ start-->");
377        document.write("<a href='"+FIN_ROOT + "/faq/finanGoodsFAQ.jsp?fn_cd=202'><img src='http://image.moneta.co.kr/img2005/finance/ebank/bankfaq_popsave.gif' width='120' height='25' alt='' style='margin-bottom:10'></a>");
378        document.write("<!--//FAQ end-->");
379        document.write("<!--°è»ê±â start-->");
380        document.write("<table cellspacing='0' cellpadding='0' border='0'>");
381        document.write("<tr>");
382        document.write("<td colspan='3'><a href=\"javascript:openCalc('finan01')\"><img src='http://image.moneta.co.kr/img2005/etc/guidebanner/calculating_popsave.gif' width='120' height='25' alt=''></a></td>");
383        document.write("</tr>");
384        document.write("<tr>");
385        document.write("<td width='1' bgcolor='E6E6E4'></td>");
386        document.write("<td width='118' style='padding:11 0 9 10'><img src='http://image.moneta.co.kr/img2005/etc/guidebanner/spot.gif' width='3' height='3' alt='' align='absmiddle' style='margin-bottom:3'> <a href=\"javascript:openCalc('finan01')\">Àû±Ý°è»ê±â</a><p style='margin-top:4'><img src='http://image.moneta.co.kr/img2005/etc/guidebanner/spot.gif' width='3' height='3' alt='' align='absmiddle' style='margin-bottom:3'> <a href=\"javascript:openCalc('finan02')\">¿¹±Ý°è»ê±â</a></td>");
387        document.write("<td width='1' bgcolor='E6E6E4'></td>");
388        document.write("</tr>");
389        document.write("<tr>");
390        document.write("<td colspan='3'><img src='http://image.moneta.co.kr/img2005/etc/guidebanner/line.gif' width='120' height='2' alt=''></td>");
391        document.write("</tr>");
392        document.write("</table>");
393        document.write("<!--//°è»ê±â end-->");
394        document.write("<p style='margin-top:15'>");
395        document.write("<!--Á¦ÈÞ¹®ÀÇ start-->");
396        document.write("<a href='"+FIN_ROOT + "/mutualbank/join/joinInquire.jsp'><img src='http://image.moneta.co.kr/img2005/finance/ebank/btn_partner.gif' border=0 width=120 height=39></a>");
397        document.write("<!--//Á¦ÈÞ¹®ÀÇ end-->");
398    }
399    else
400	*/	
401	if ( top == 4 ) { // ´ëÃâ
402        document.write("<br>");
403        document.write("<!--°è»ê±â start-->");
404        document.write("<table cellspacing='0' cellpadding='0' border='0'>");
405        document.write("<tr>");
406        document.write("<td><a href=\"javascript:openCalc('loan')\"><img src='http://image.moneta.co.kr/img2005/etc/guidebanner/calculating_loan.gif' width='120' height='25' alt=''></a></td>");
407        document.write("</tr>");
408        document.write("</table>");
409        document.write("<!--//°è»ê±â end-->");
410        document.write("<p style='margin-top:15'>");
411    }
412
413}
414
415// °æ·Î Ç¥½Ã
416function indicator(top, sub, depth, left) {
417    make_menu(top, sub, depth, left);
418	
419    document.write("<a href='http://www.moneta.co.kr' class=apath>Ȩ</a>");
420    document.write("<font color='#9BADBA'>&gt;</font>");
421    document.write("<a href='"+FIN_ROOT + "' class=apath>±ÝÀ¶»óǰ</a>");
422
423	if (topIdx != -1) {
424		document.write("<font color='#9BADBA'>&gt;</font>");
425		if (subIdx != -1) {
426			document.write("<a href='"+top_table[topIdx][LINK]+"' class=apath>"+top_table[topIdx][MENU_NAME]+"</a>");
427			document.write("<font color='#9BADBA'>&gt;</font>");
428			if (depthIdx != -1) {
429				if(left >= 0){
430					document.write("<a href='"+sub_table[subIdx][LINK]+"' class=apath>"+sub_table[subIdx][MENU_NAME]+"</a>");
431					document.write("<font color='#9BADBA'>&gt;</font>");
432					if (leftIdx != -1) {
433						document.write("<a href='"+depth_table[depthIdx][LINK]+"' class=apath>"+depth_table[depthIdx][MENU_NAME]+"</a>");
434						document.write("<font color='#9BADBA'>&gt;</font>");
435						document.write("<a href='"+left_table[depthIdx][leftIdx][LINK]+"' class=apath><b>"+left_table[depthIdx][leftIdx][MENU_NAME]+"</b></a>");
436					} else	{
437						document.write("<a href='"+depth_table[depthIdx][LINK]+"' class=apath><b>"+depth_table[depthIdx][MENU_NAME]+"</b></a>");
438					}
439				}else{
440					document.write("<a href=\""+sub_table[subIdx][LINK]+"\" class=apath>"+sub_table[subIdx][MENU_NAME]+"</a>");
441					document.write("<font color='#9BADBA'>&gt;</font>");
442					document.write("<a href=\""+depth_table[subIdx][depthIdx][LINK]+"\" class=apath><b>"+depth_table[subIdx][depthIdx][MENU_NAME]+"</b></a>");
443				}
444			} else	{
445				document.write("<a href='"+sub_table[subIdx][LINK]+"' class=apath><b>"+sub_table[subIdx][MENU_NAME]+"</b></a>");
446			}
447		} else {
448			document.write("<a href='"+top_table[topIdx][LINK]+"' class=apath><b>"+top_table[topIdx][MENU_NAME]+"</b></a>");
449		}
450	}
451}
452
453// Page Title
454function page_title(top, sub, depth, left) {
455    make_menu(top, sub, depth, left);
456
457    if (topIdx != -1) {
458        if (subIdx != -1) {
459            if (depthIdx != -1) {
460				if(left >= 0) {
461					if (leftIdx != -1) {
462						document.write(left_table[depthIdx][leftIdx][MENU_NAME]);
463					} else {
464						document.write(depth_table[depthIdx][MENU_NAME]);
465					}
466				}else{
467					document.write(depth_table[subIdx][depthIdx][MENU_NAME]);
468				}
469            } else {
470                document.write(sub_table[subIdx][MENU_NAME]);
471            }
472        } else {
473            document.write(top_table[topIdx][MENU_NAME]);
474        }
475    }
476}
477
478// top, sub, depth, leftÀÇ ÇØ´ç ¹è¿­ À妽º°ª ±¸Çϱâ
479function getTopIndex(top) {
480    for (var i = 0; i < top_table.length; i++) {
481        if (top == top_table[i][CODE]) return i;
482    }
483    return -1;
484}
485
486function getSubIndex(sub) {
487    for (var i = 0; i < sub_table.length; i++) {
488        if (sub == sub_table[i][CODE]) return i;
489    }
490    return -1;
491}
492
493function getDepthIndex(depth) {
494	
495    for (var i = 0; i < depth_table.length; i++) {
496        if (depth == depth_table[i][CODE]) return i;
497    }
498    return -1;
499}
500
501function getDepthIndex2(sub, depth) {
502	var subIdx = getSubIndex(sub);
503	if (subIdx >= 0 && depth_table.length > subIdx) {
504		for (var i = 0; i < depth_table[subIdx].length; i++) {
505			if (depth == depth_table[subIdx][i][CODE]) return i;
506		}
507	}
508	return -1;
509}
510
511function getLeftIndex(depth, left) {
512    var depthIdx = getDepthIndex(depth);
513    if (depthIdx >= 0 && left_table.length > depthIdx) {
514        for (var i = 0; i < left_table[depthIdx].length; i++) {
515            if (left == left_table[depthIdx][i][CODE]) return i;
516        }
517    }
518    return -1;
519}
520
521// ±ÝÀ¶°è»ê±â POPUP OPEN_NEW
522function openCalc(calc_url) {
523    var URL = "http://wealth.moneta.co.kr/wm/fcalc/index.jsp";
524           if ( calc_url == "finan01" ) { URL = "http://wealth.moneta.co.kr/wm/fcalc/saving/cal_m01_01a.jsp"; //¿¹Àû±Ý(¸ñµ·¸ðÀ¸±â)
525    } else if ( calc_url == "finan02" ) { URL = "http://wealth.moneta.co.kr/wm/fcalc/saving/cal_m01_02.jsp";  //¿¹Àû±Ý(¸ñµ·±¼¸®±â)
526    } else if ( calc_url == "loan" )    { URL = "http://wealth.moneta.co.kr/wm/fcalc/lending/cal_m02_01.jsp"; //´ëÃâ(´ëÃâÀÌÀÚ)
527    } else if ( calc_url == "card" )    { URL = "http://wealth.moneta.co.kr/wm/fcalc/card/cal_m04_01.jsp";    //Ä«µå(½Å¿ëÄ«µå¼Òµæ°øÁ¦)
528    }
529    window.open(URL,"calc","toolbar=no,width=790,height=530,directories=no,status=no,scrollbars=no,resize=no,menubar=no");
530}
531
532// ²Þµ¿»ê POPUP OPEN
533function goDreamStart() {
534    left_p = (screen.width - 970) / 2;
535    top_p = (screen.height - 700) / 2;
536    url = "https://member.moneta.co.kr/Auth/dream/loginCheck.jsp";
537    window.open(url,"dreamland", "width=970, height=660, top="+top_p+", left="+left_p+", statusbar=no, scrollbars=no");
538}
539
540// ¿ÀÇÂÅëÀå POPUP OPEN
541function goOpenBankStart() {
542    var loginId = '<%=CustUtil.getAuthInfo(request, response, false)[0]%>'
543
544    if(loginId == null || loginId == ''){
545        alert('·Î±×ÀÎ Á¤º¸°¡ ¾ø½À´Ï´Ù.');
546        location.href = 'http://member.moneta.co.kr/Auth/login.jsp?wlog_mkt=LOG';
547        return;
548    }
549
550    var url = FIN_ROOT + "/openBank/openBankbook.jsp?command=myPage";
551    var left_p = (screen.width - 970) / 2;
552    var top_p = (screen.height - 700) / 2;
553    window.open(url,"handbook", "width=970, height=660, top="+top_p+", left="+left_p+", statusbar=no, scrollbars=yes");
554}
555
556//¿ÀÇÂÅëÀå »ç¿ë¹ý ÆË¾÷
557function openPopup(){
558    window.open('http://finance.moneta.co.kr/event/openEventInfo.html','miniPop', 'width=1002, height=617, top=50, left=50, statusbar=no, scrollbars=yes');
559    return ;
560}
561
562//¿ÀÇÂÅëÀå »ç¿ë¹ý ÆË¾÷
563function openPopLoan(popUrl, popNm, popStyle){
564    window.open(popUrl,popNm, popStyle);
565    return ;
566}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.