//===========================================================================
//基本設定
//==================== 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(8);
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 = '決戰2008 綠籲速推共主';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '橘很酸：馬不會紅到2008';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '呂秀蓮：馬英九在消費台灣';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '啥是馬英九現象？ 選擇性呈現 政治演藝化';
	rows[7].link = 'today-fo8.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '第一期309億治水預算付委';
	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 = 'NCC許可中廣中視人事變更申請';
	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 = '日自民黨百名青年議員將訪台';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '我駐韓荷以代表將異動';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '反中國侵害商標 農委會出招';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '世大會宣言 暗批李大維';
	rows[10].link = 'today-p11.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = '美參院司委會 城市串聯抗議聲中 通過移民法';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '911恐怖份子穆沙維：我要駕機撞白宮';
	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 = '賴比瑞亞前總統泰勒失蹤';
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = '足球三輪車';
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = '《中英對照讀新聞》AIDS leaves 9 mln African children without mothers 愛滋病讓900萬非洲兒童沒媽媽';
	rows[8].link = 'today-int9.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '打著凱渥招牌假名模應召';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '白手套牽線 黑白道分食大餅';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '上屆桃縣議員統籌分配款 傳弊端';
	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 = '尋養女11年 疑成白骨迎不回';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '救台中治安 瞄準八大黑名單';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '信徒爭摸轎 他… 摸皮包';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '雙親背送萬里路 癱兒復健變泳士';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '惡犬變綿羊 身障馴狗師了得';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '青年獎章 16楷模受表揚';
	rows[12].link = 'today-so13.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '大葉微型機器人 揚威東瀛奪3冠';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '李登輝開講 日青少年折服';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '老師管教學生 家長索賠100萬';
	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';
																										
	rows[8].text = '9環委聲明 嚴拒行政干預專業';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '《客語教學危機與展望系列三》鄉土語言 杜正勝：擴為終身教育';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '客委會主委李永得：推動全客語學校';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '躋身25人名單 郭泓志希望濃';
	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 = '嘟嘟2連勝';
	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 = '《備戰亞運》亞運特訓戰袍 亮相';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《BenQ uBa》台體晉級 金榜大功';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '籃網9連勝';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '全中運 4.21風城迎賓';
	rows[10].link = 'today-sp11.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '如續壓低人民幣 中國經濟將泡沫化';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '美商務部施壓 逼中開放市場';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '在日反控SEL 奇美電勝訴';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '專利交互授權 擄獲大廠信心';
	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 = '2006石油均價 升至60美元';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '3月消費者信心指數 止跌回升';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '雙卡效應 衝擊GDP成長率';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '卡債協商 4月10日結束';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '釋出善意 銀行都會受理';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '《理財Q&A》協商卡債 找最大債權銀行';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = 'Fed未來貨幣政策 再升息？看法兩極化';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '升息衝擊 紐澳幣重貶';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '唐錦榮：MLCC旺到明年Q1';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '英華達優退 台灣廠轉型研發';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '國產擬開發南港廠 估獲利百億';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'PCB優等生 台表科柏承淡季旺';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '日本JFE調漲鋼價至少5%';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '《期指觀測站》布局選擇權多頭價差';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '《國際股市》歐股午盤上揚 印尼大漲';
	rows[11].link = 'today-stock12.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 = '黑幫串官商 荖濃溪盜砂削50億';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
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-show1.htm';
																										
	rows[1].text = '李安繼兩個牛仔 傳再拍七個男人';
	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 = '林志穎新出輯 見紅';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '完美思嘉踩下裘莉 裘莉No.1';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '妮可戴6克拉不婚頭 妮可列特鑽到5克拉';
	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';
																										
}
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 = '北縣警察新氣象 欲換新裝 錢景堪慮';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '蒙面3惡煞 砸店傷人逃逸';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '約山區聊天 被友捅1刀';
	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 = '公共場所妨礙哺乳 最高罰3萬';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '克服殘疾 20名身障生獲肯定';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '新店安祥路 直通土城有譜';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '土城國小管樂團 奏凱歌奪第1';
	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 = '為民查證 警阻詐財370萬';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '代課老師陳屍 另女燒炭亡';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '後龍拾荒老婦 裸身陳屍';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '少年無照駕車 撞斷路樹翻車';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '27日提款機被燒 昨桃警局旁又見縱火';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '羅漢松4度被偷 損失逾300萬';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '吸毒案起訴否 法官見解不同';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '仁愛公所工程又凸槌？ 傳圍標 5官商到案訊後釋回';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '打人、砸攤 瘋狗義將提報流氓';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '機警找出發話地 救出燒炭男';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '洋酒收了還要拿錢 公務員遭求刑12年';
	rows[5].link = 'today-center6.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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 = '錢莊救他一命 討債要牠一命';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '要命魚刺 不到2公分 刺穿食道';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '1日5尋短…欠5萬也無望';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '討債抵債 潑漆男1天趕4場';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '飛車肇事逃逸 騎士1死1重傷';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '酒駕死亡車禍 兩造1死1送辦';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '酒駕拒絕攔檢 警開5槍逮人';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '遊藝場涉賭 查扣136部機台';
	rows[7].link = 'today-south8.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 = '又見Long Stay，請把握機會';
	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 = 'Turbo v.s. GT3<br>911玩家的劈腿情結';
	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 = '一窺針孔 攝影機的世界 如何防範有撇步';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '劉黎兒 教你劈腿5法則';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '協議分手 卻又糾纏';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '一抹微笑 十足鼓勵';
	rows[2].link = 'today-family3.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 = '揪出小兒久咳病因';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '牛仔書商作家<br>賴瑞．麥克墨崔特寫';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '元氣重逢<br>與CK124蒸汽機車的相遇';
	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';
																										
}
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 = '夏日女郎的頂上風采';
	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 = '赴日修復兩年 國美館鎮館寶《蓮池》回來了';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '懷想羅曼菲紀念展<br>得意門生許芳宜心有感應︰她回來了';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '鋼琴家紀辛抵台 惜言如金 獨奏會展熱情';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '鋼琴家陳冠宇推出鋼琴童話之旅';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '我有幻夢─陳威霖個展';
	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';
}