//===========================================================================
//基本設定
//==================== 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="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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '美官員：中國吃定台灣軍購不會過';
	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 = '林中斌︰北京顯已學會透過美日制台';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '馬談廢統 促扁想到鬧事後果';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '台僑：馬言論在歐留下一堆問號';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '吳宗憲拖累？台藝大博士班遭駁回';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '明年基測作文  納分發採計';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '農民曆戌戊不分 主計處糗大';
	rows[8].link = 'today-fo9.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-p1.htm';
																										
	rows[1].text = '蘇揆今施政報告 在野黨不阻撓';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = 'NCC明運作 選正副主委';
	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 = '抹黑節目本 中國帶來的';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '蔣孝嚴要求償50億 陳儀深說諷刺';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '賴怡忠：台灣應助美日同盟擴大';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '法學碩士 才能考檢察官、律師';
	rows[9].link = 'today-p10.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = '穆斯林之怒';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '偶是黑狗兄';
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = '伊連環爆 20餘死';
	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 = '納粹大屠殺檔案庫 美擬開放';
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = '2050年 退休年齡85歲';
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = '菲土石流災難 聞聲救人';
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = '《中英對照讀新聞》Small town corruption probe nets police chief, mayor, chief\'s wife 小城貪腐調查 抓到警長、鎮長、警長夫人';
	rows[9].link = 'today-int10.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '同窗竊31萬長笛 勒贖音樂老師';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '我漁船偷渡13中國假漁工';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '銀行劫匪射傷保全員慌逃';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '持槍搶郵局 10多秒劫6萬9';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '茂德工安意外 台日工程師2傷';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '怪母咬傷4歲兒下體';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '悼念珈華 「妳走了 來不及說再見」';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '久病厭世 日籍教授佛堂自盡';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '請你幫e下 網路求肝信 故事已有美麗結局';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '賣菜伯補路 工程公司捐瀝青';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '積善之家 金助70貧戶';
	rows[10].link = 'today-so11.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 = 'ETC佔道 一般車輛走得慢 高公局：不排除開放最外側便道';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '收新菸10元健康捐 須先公告';
	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(15);
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 = '樂天中文熱 英傑變林老師';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《青棒菁英賽》中農 穀保 完封勝';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '鯨牛打平 林宗男冒出頭';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《聖荷西網賽》暌違15年 馬克安諾金喜';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《第十三屆亞洲壁球錦標賽》亞洲壁球賽 台北燃戰火';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《日產公開賽》無畏流言 沙巴提尼摘冠';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '《NBA明星賽》詹姆斯 史上最年輕明星賽MVP';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '《NBA明星賽》這次玩真的，防守球員搞熱場子';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '教伊甸學員打球 球星耍寶';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '聽障裁判李興達 想吹SBL聯賽';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '《HBL》吳建龍人氣王 楊瑜潔人氣后';
	rows[14].link = 'today-sp15.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '92.2億美元 經常帳順差去年Q4創新高';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '出口榮景 可望延續到今年';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '國人投資海外證券 去年創1.78兆元新高';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '惡意併購 金鼎證小漲 開發金收穫少';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '中鋼第2季廠盤 可能漲500元';
	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 = '利率、租金雙升 REITs需求轉弱';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '《理財Q&A》退休金 靈活投資好過活';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '友訊︰網通景氣勝去年';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '代工價腰斬？ 數位相機股倒地';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = 'PS3不排除延後上市 新力一度驚跌4.4％';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '益通承銷首日 吸金逾50億';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '廣達開拓戰線 利多不斷';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《期指觀測站》摩台期將結算 防獲利了結';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《國際股市》歐股漲跌互見 日股重挫';
	rows[7].link = 'today-stock8.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 = '情聲藝動演唱會變調 網友怒斥消滅中華民國';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '阿倫 曾志偉 挺肚把妹';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '英國奧斯卡／斷背山勇啦 李安再奪最佳導演';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = 'Melody婚幸福 不在乎陶&#21894;祝福';
	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 = '阿杜有潔癖 林俊傑寫歌狂';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '賈欣惠制服趴 獨漏小潘潘';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '公視內定小野任華視總座';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '李英愛登台 喬妹保母伺候';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '朴宣英鍾情熟男 柳秀榮老少咸宜';
	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 = '周杰倫與張藝謀 合作扮俠客';
	rows[12].link = 'today-show13.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 = '詐領旅遊補助 3業者獲緩刑';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '外籍配偶 盼修改移民法';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '中央 地方 不同調 國家電影中心難產';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '新店碧潭 地方盼升級國家風景區';
	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 = '市長初選 郝龍斌自估黨員票3成';
	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(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '帳戶被冒用 險背詐欺黑鍋';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '仲介赴日賣淫 掮客被求刑8年';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '車停路肩大睡 醉漢被判酒駕';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '受僱挖土方 司機：不知違法';
	rows[3].link = 'today-north4.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中縣搶搶搶 36小時6起';
	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 = '籌子醫藥費 他要賣傳家龍銀';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '學生群毆命案 2人依殺人罪嫌起訴';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '噴漆廠大火 救出1婦人';
	rows[5].link = 'today-center6.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '教智障兒自立 夫婦轉行經營資源回收站';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '榮家烏龍 養父被火化 養子討公道';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = 'KTV小吃部槍響 股東中彈';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '電纜大盜 兩嫌被逮';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '盤檢休旅車 赫見大批毒品';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '包庇色情店 高階警官判刑';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '網拍槍管 男子被捕';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '清源惹不平 員警可提申訴';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '致癌微囊藻 自來水未驗出';
	rows[8].link = 'today-south9.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
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 = '貴婦SPA vs.高檔食材';
	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(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '好野人專用<br>天價3C品全集合';
	rows[0].link = 'today-living1.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 = '跟老闆A幸福';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '掌握快感 好「棒」喔！';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '上司愛辦聚會<br>不參加好嗎？';
	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(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '電腦 好礙眼';
	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';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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 = '我的20世紀 在霧中.下';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '碗裡的鞋';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '竊竊<br>Qee Bears designed by Tim Biskup';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '徒步旅行';
	rows[3].link = 'today-article4.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 = '春版外套終極款<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(4);
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 = '兩廳院開春董事會<br>新任董事長難產';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '2006聯邦美術得獎畫作賞析<br>本週六登場';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '國台交指揮甄選<br>音樂會見真章';
	rows[3].link = 'today-art4.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 = '新世界 秋牧韻味<br>澳洲南澳阿得雷德、巴羅莎';
	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,700);
}

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,700);
}

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';
}