//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
path = '';
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('生活週報'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','living','family','medicine','article','young','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '配套要等六月底 修法更要等年底<br>積極管理依然不積極';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '重大西進案 由部會首長面審';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '中國旅客來台 保證金將提高';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '積極管理邁首步 學者肯定<br>登陸四成淨值上限 須力守';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = 'ETC命運 交部明宣布';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '交部沒給答案 一片譁然';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '遠通：全免費 虧36億';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '綠營控在野立委配合廠商演出';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '北市府工程弊案 許富男7人收押<br>涉案官商 恐逾50人';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '台鐵罹難越婦 今解剖揭謎';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '火車撞拋錨轎車 無傷亡';
	rows[10].link = 'today-fo11.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '馬英九哈佛演說 謝長廷尖銳提問';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '台灣國際參與 馬提暫行架構';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '綠批馬一中說 違背國際常識';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '李傑：過去兩年 無軍人政變';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '焦點評論／捍衛軍人尊嚴 李傑足堪表率';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '德自民黨 支持我成為世衛觀察員';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '張榮發證實 23億買國民黨中央大樓';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '黨中央叫凱歌歸 原本是餐廳名稱';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '大樓將拆風水牆 不漆長榮綠';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '統包工程濫用最有利標 近兩年占8成';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '蘇揆：公共工程原則採最低標';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '千萬修會客室 總統府：依古蹟修護';
	rows[11].link = 'today-p12.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '艾斯特拉達貪污案 菲國開審';
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = '布希為伊耗損政治資本';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '泰4月大選 反對黨杯葛到底';
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = '佛州新制 教師薪資 學生成績決定';
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = '新企業文化 夏普求變制勝';
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = '兒童信使 瓶船送件給安南';
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = '《中英對照讀新聞》Norwegian woman "in heaven" as beer flows from water tap 啤酒從水龍頭流出，一名挪威婦女宛若「置身天堂」';
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '牛皮勒贖3000萬 前大甲鎮長獨子獲釋';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '暴利+暴力 討債集團超無良';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '已婚指揮官、美麗女士官不倫戀 軍方狗仔斬斷';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '誘姦14歲男童 美女老師免坐牢';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '笨賊一籮筐 跳山谷遁逃 警方山下等';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '于冠華開房間案真相大白 竹聯份子黃世豪︰狗仔錯拍我';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '青年捐熱血 鞋助走長路';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '照顧肌萎同學 2小天使獲獎';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '印尼妻不顧心臟病 節餘先生喪葬費 供3子女讀書';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '衛所耍官僚 延誤驗屍';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '舊車掩走私 抄K他命131公斤';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '挑戰三連霸 擲筊達人功虧一簣';
	rows[11].link = 'today-so12.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '聲請保護令免費 同志適用家暴法';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '催收帳款三大業務 經部公告廢止';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '淡大研究所招生考試 上百人被逼重考';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '加考公民與社會 立委︰一人決策';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '搶救多日無效 家屬擬提國賠 跳救護車病患 不治';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '麻花馬拉巴栗 風靡全球';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '石門水庫清淤弊案 追包庇官員';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '無語良師捐大體 北醫追思';
	rows[7].link = 'today-life8.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '陳金鋒首轟';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '王傳家 一棒氣走牛';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '日本古巴榮歸 萬人空巷';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '王建民 遭鳥擊';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '郭泓志 連7 1/3局無失分';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '教頭被驅離 馬刺更爭氣';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '亞運9號球培訓賽 吳珈慶登勝部冠軍';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '全台最友善運動環境城 北市第一';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《美PGA選手錦標賽》總獎金800萬美元 今開打';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '國際高中籃賽 6國悍將台北較勁';
	rows[9].link = 'today-sp10.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '財部：陳木在暫仍是開發金董事長';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '陳木在：買賣金鼎證 事前一無所悉';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '財部限期 開發金開董事會';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '財部官員法律素養 有待加強';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '2月 40.8萬人失業';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '創業賣滷味 本小利潤佳';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '貿易赤字 不影響美經濟';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '《理財Q&A》刷卡被拒 原因有很多';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '外資賣超109億 台股洩氣';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '冠捷擴大對台採購面板';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '美林關愛 類比IC設計爭氣';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '微軟Vista上市延至明年1月';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '力晶茂德南科 仍樂觀面對';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '缺矽材？益通茂迪：今年免驚';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '飛信 頎邦 3月出貨漸回溫';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《期指觀測站》電子期 逢彈偏空操作';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '《國際股市》微軟效應 歐走低亞洲跌';
	rows[8].link = 'today-stock9.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'ETC遠通攤牌 政府傾向解約';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '維多利亞分手自殘 VJ戀玩完了！';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '周董北京夜逍遙 2個妹當地陪';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '中國藝人上台 電視台又被閹了';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '蔡淑臻挑性 玩按摩棒聊私處';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '霹靂進特區 百位立委連署';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '3孕婦比奶 李詠嫻G奪冠';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '國士無雙 演員吐槽搞笑挖瘡疤';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '尹子維經驗多 帶蔣偉文搞Gay';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '收視率稱王 看電視變弱智';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '莎嬸修指甲 1天砸10萬';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '蜜雪兒威廉斯當媽 忙亂昏頭';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '伊娃扮學生 色誘球星帕克';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = 'Cars衝刺 砸2千萬宣傳';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '吹氣裴帥 變身威武大王';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '泡菜惹人嫌? 崔智友發飆';
	rows[14].link = 'today-show15.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《今日社論》馬英九的中國心濃於台灣情';
	rows[0].link = 'today-s1.htm';
																
	rows[1].text = '《自由談》落袋不安';
	rows[1].link = 'today-f1.htm';
																
	rows[2].text = '《鏗鏘集》一股「去台灣化」的逆流';
	rows[2].link = 'today-f2.htm';
																
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '相約殉情她無恙 判14月';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '小南門站鋼彈襲窗 4出入口3掛彩';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '內科南北線 不走基隆路';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '補習班管理新制 最快6月實施';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '垃圾減量 廚餘回收成效佳';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '防堵禽流感 餵食禽鳥直接開罰';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '海芋季明登場 花海中開音樂會';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '中國鱷蜥 動物園新嬌客';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '三峽農會火速拆樓 縣府傻眼';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '戲偶推手 邱豐榮推展客家文化';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '老歌星影人 三重聚首話從前';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '棒球經典冠軍戰 簽注站 賭金3500萬';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '平鎮彩券大盜 ２嫌落網１在逃';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '夫婦自殺 債留年幼子女3、4百萬';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '強搬貨物抵債 21人被捕';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '狂追單車賊２公里 阿公逮阿公';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '竊嫌逼屋主簽契約書 自認可當護身符';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '涉數度性侵國小孫女 阿公被送辦';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '社會傳真／黑道電話恐嚇藥局 苗警查辦';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '阿公要求兒、媳付撫養費 判准';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '乘客四肢癱瘓請求國賠 敗訴';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '撞人落跑犯眾怒 司機遭圍毆';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '小客車猛衝 撞凹鐵皮屋1、2樓';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '高中美術班術科聯測 明看考場';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '持槍搶遊藝場 2嫌欲再犯案被逮';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '社會傳真／假造林圖利 前投管處長被訴';
	rows[6].link = 'today-center7.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '5度搶奪 5度交保 再犯終收押';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '山友救人 往生老醫生家屬 聲聲謝';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '詐騙集團盜接電話 婦人要自行抓賊';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '推銷兄弟茶 鎖定藥局犯案';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '假冒許仁圖同學 向里長騙錢';
	rows[4].link = 'today-south5.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '馬一中先生';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '馬群？族群？';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '中國亢奮民族主義';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '《黃天麟專欄》資金外流 股市失色';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '民主十年慶';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '台灣國貨好';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '黑心器官';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '中獨 國獨';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '家暴不是家務事';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '歹命學生';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '台灣搖滾';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(8);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '好品味　　　→';
		rows[1].submenu = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性　　→';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療　　→';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美　　　→';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化　　→';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊　　→';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '女人 就愛複雜怎樣?';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '奢華時計 驚豔巴塞爾';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '精準薈萃的德式工藝作風';
	rows[0].link = 'today-living1.htm';
																										
	rows[1].text = '數位新裝上陣';
	rows[1].link = 'today-living2.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '適度包裝 必要促銷 包中！';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '女友的前男友 竟是個女的';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '爸爸和兒子都很煩';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '絲襪球 掃除好幫手';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '盲目提升免疫力<br>小心加重皮膚負擔';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '腦部惡性膠質細胞瘤免疫治療<br>萬芳醫院申請第二期人體試驗';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '做試管 子宮內外都懷孕<br>微創手術 救下正常胎兒';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '避免緊張 多補鉀<br>周期性麻痺少來煩';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '乳頭異常分泌<br>須就醫 確認病因';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '小胖威利<br>染色體缺陷所致';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '一朵花的背後';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '春色如昨';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '迷惑';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '左右開弓';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '討海';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '三獎齊發 各領風騷';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '經典新詮 莎劇重繹';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '現代契訶夫';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '新聞短波';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '萊比錫書展';
	rows[9].link = 'today-article10.htm';
																										
}
menu = null;

menu = getMenu('young');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '熱力比基尼 Hot！Hot！Hot！<br>挑逗你的感官';
	rows[0].link = 'today-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '貓走不進兩廳院 寬宏藝術抗議<br>兩廳院回應 希望場地資源共享';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '揮別漢諾威歌劇院 呂紹嘉重返自由身';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '年輕指揮家 音樂新勢力<br>邱君強、古育仲返台指揮台北愛樂';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '春天從藝術開始<br>325北美館擺攤慶祝美術節';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '綠光劇團《Proof求證》  明年受邀香港華文戲劇節演出';
	rows[4].link = 'today-art5.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '好客美濃  經典台灣客家庄';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}
