/*
 Milonic DHTML Website Navigation Menu - Version 3.x
 Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
 Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information.
 
 The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
 Commercial and Corporate licenses  are available for use on all other web sites & Intranets.
 All Copyright notices MUST remain in place at ALL times and, please keep us informed of your 
 intentions to use the menu and send us your URL.
*/


//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// Sub menu offset Left position
closeOnClick = true

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"navy",				// Mouse Off Font Color
"ccccff",			// Mouse Off Background Color
"ffebdc",			// Mouse On Font Color
"4b0082",			// Mouse On Background Color
"000000",			// Menu Border Color 
14,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Ar P1 Kaitim Big5 [Xft]",		// Font Name
4,					// Menu Item Padding
"/image/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"Purple",			// Current Page Item Font Color (leave this blank to disable)
"pink",				// Current Page Item Background Color (leave this blank to disable)
"/image/arrowdn.gif",		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"navy",				// Menu Item Separator Color
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
20,				// Menu Top - The Top position of the menu in pixels
120,				// Menu Left - The Left position of the menu in pixels
80,				// Menu Width - Menus width in pixels
1,				// Menu Border Width 
,				// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,				// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1,					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"大盤資訊","show-menu=Index",,"上市及上櫃市場大盤資訊",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"類股行情","/stock_new.html?Category=A0&Market=1&GroupName=%E5%B0%81%E9%96%89%E5%BC%8F%E5%9F%BA%E9%87%91&Refresh=0 target=_top",,"上市及上櫃各類股行情",1
,"五檔行情","/Best5_new.html?StkNo=1101&Refresh=0 target=_top",,"上市及上櫃個股行情",1
,"ETF 行情","/stock_etf.html?Category=B0&Market=1&Refresh=0 target=_top",,"ETF 成份股行情",1
,"海外企業","show-menu=Foreign",,"海外企業第一上市上櫃交易行情揭示",1
,"存託憑證","show-menu=TDR",,"存託憑證行情揭示",1
,"鉅額揭示","show-menu=Large",,"鉅額交易行情揭示",1
,"零股揭示","/Quotes/Odd?Category=01&Market=1&Refresh=0&GroupName=水泥 target=_top",,"零股交易行情揭示",1
,"借券查詢","show-menu=SBLS",,"借券中心查詢作業",1
,"市場公告","http://mops.twse.com.tw/server-java/t39sb01?step=0 target=_blank",,"上市及上櫃市場公告資訊",1
,"相關網站","show-menu=Link",,"相關網站快速連結",1
])

	addmenu(menu=["Index",
	,,100,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"集中市場","/indextseX.html target=_top",,,1
	,"上櫃市場","/indexotcX.html target=_top",,,1
    ,"興櫃市場","http://mis.otc.org.tw target=_blank",,,1
	,"大盤走勢","/Quotes/MarketChart target=_top",,,1
	])

    // 海外企業上市上櫃 start
	addmenu(menu=["Foreign",
	,,220,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"海外企業第一上市交易行情揭示","/stock_new.html?Category=Q0&Market=1&Refresh=0&GroupName=海外企業第一上市股票彙總 target=_top",,,1
	,"海外企業第一上櫃交易行情揭示","/stock_new.html?Category=Q0&Market=2&Refresh=0&GroupName=海外企業第一上櫃股票彙總 target=_top",,,1
	])
    // 海外企業上市上櫃 end

    // 存託憑證 start
	addmenu(menu=["TDR",
	,,220,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"TWSE 存託憑證","/stock_TDR.html?Category=E0&Market=1&Refresh=0",,,1
	,"OTC 存託憑證","/stock_TDR.html?Category=E0&Market=2&Refresh=0",,,1
	])
    // 存託憑證 end

    // 鉅額交易 start
	addmenu(menu=["Large",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"TWSE 鉅額交易揭示","show-menu=LargeTSE",,,1
	,"OTC 鉅額交易揭示","show-menu=LargeOTC",,,1
	])

    addmenu(menu=["LargeTSE",
    ,,220,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"單一證券行情","show-menu=LargeTSESingle",,,1
    ,"股票組合行情","show-menu=LargeTSEBasket",,,1
    ,"鉅額交易漲跌停價格","/large_TL500.html target=_top",,,1
    ])

    addmenu(menu=["LargeTSESingle",
    ,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"逐筆交易行情","/large_TL31.html target=_top",,,1
    ,"配對交易行情","/large_TL63.html target=_top",,,1
    ])

    addmenu(menu=["LargeTSEBasket",
    ,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"逐筆交易行情","/large_TL33.html target=_top",,,1
    ,"配對交易行情","/large_TL65.html target=_top",,,1
    ])

    addmenu(menu=["LargeOTC",
    ,,220,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"單一證券行情","show-menu=LargeOTCSingle",,,1
    ,"股票組合行情","show-menu=LargeOTCBasket",,,1
    ,"鉅額交易漲跌停價格","/large_OL500.html target=_top",,,1
    ])

    addmenu(menu=["LargeOTCSingle",
    ,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"逐筆交易行情","/large_OL31.html target=_top",,,1
    ,"配對交易行情","/large_OL63.html target=_top",,,1
    ])

    addmenu(menu=["LargeOTCBasket",
    ,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"逐筆交易行情","/large_OL33.html target=_top",,,1
    ,"配對交易行情","/large_OL65.html target=_top",,,1
    ])
    // 鉅額交易 end
    
	addmenu(menu=["SBLS",
	,,240,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"借券中心個股借券成交查詢","/Quotes/SBLS?StockNo=000000&Refresh=0 target=_top",,,1
	,"借券賣出可用餘額","/SBLScap.html target=_top",,,1
	,"證券商或證金公司可出借證券資訊","/SBLSbrk.html target=_top",,,1
	])

	addmenu(menu=["Link",
	,,130,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"臺灣證券交易所","http://www.twse.com.tw target=_top",,,1
	,"公開資訊觀測站","http://mops.twse.com.tw target=_top",,,1
	,"證券櫃檯買賣中心","http://www.gretai.org.tw target=_top",,,1
	,"網路資訊商店","http://dataeshop.twse.com.tw target=_top",,,1
	])
	
dumpmenus()

document.write("<hr />");
document.write("<style>");
document.write("    #txtMsg {");
document.write("        background-color: black;");
document.write("        color: gold;");
document.write("        font-family: verdana, arial;");
document.write("        font-size: 16px;");
document.write("        border-width: 0px;");
document.write("        width: 90%;");
document.write("        height: 30px;");
document.write("        padding: 5px;");
document.write("    }");
document.write("</style>");
document.write("<center>");
document.write("<marquee id='txtMsg'>");
document.write("為邁向國際化與增加企業識別度，本公司「基本市況報導網站」網址已更改為：http://mis.twse.com.tw/，懇請您繼續支持與愛護。               ");
document.write("</marquee>");
document.write("</center>");
document.write("<hr />");

// StatCounter
var monitor_str = "<!-- Start of StatCounter Code -->"
                + "<script type='text/javascript'>"
                + "var sc_project=3932023;"
                + "var sc_invisible=1;"
                + "var sc_partition=47;"
                + "var sc_click_stat=1;"
                + "var sc_security='44690da6';"
                + "</script>"
                + "<script type='text/javascript' src='http://www.statcounter.com/counter/counter.js'></script><noscript><div class='statcounter'><a href='http://www.statcounter.com/' target='_blank'><img class='statcounter' src='http://c.statcounter.com/3932023/0/44690da6/1/' alt='free web hit counter' ></a></div></noscript>"
                + "<!-- End of StatCounter Code -->"
document.write(monitor_str);
