//===========================================================================
//基本設定
//==================== 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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '軍購案 可望4月前解決';
	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';
																										
}
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 = '台聯新憲草 傾向主張內閣制';
	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 = '政務官及配偶子女 擬強制信託';
	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[0].type = 'International View';
																										
	rows[1].text = '埃及船難 船東挨砸';
	rows[1].link = 'today-int2.htm';
	rows[1].type = 'International View';
																										
	rows[2].text = '養眼小報 印尼橫掃';
	rows[2].link = 'today-int3.htm';
	rows[2].type = 'International View';
																										
	rows[3].text = '變臉成功 首度露面';
	rows[3].link = 'today-int4.htm';
	rows[3].type = 'International View';
																										
	rows[4].text = '黃禹錫 涉貪污';
	rows[4].link = 'today-int5.htm';
	rows[4].type = 'International View';
																										
	rows[5].text = '活龍蝦 任你夾';
	rows[5].link = 'today-int6.htm';
	rows[5].type = 'International View';
																										
	rows[6].text = '哥斯大黎加總統大選 空前拉鋸戰';
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = '白宮新現實主義派崛起';
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = '日政要訪中 易踩桃色陷阱';
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = '《中英對照讀新聞》Music fans turn up volume of legal downloads:study 研究：樂迷合法下載量增多';
	rows[9].link = 'today-int10.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '變性奇想 盼政府代募款';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '無獻私奉 掃街30載 老婦勞動當運動';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '脫貧受助兄妹 勵志快樂頌';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '體驗1日警察 12歲娃查獲贓車';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '警界阿亮 尋回20蹺家人';
	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 = '潛廁所偷拍裙底 台北車站女狼現形';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '假刑警劈腿騙財色 判刑10月';
	rows[9].link = 'today-so10.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '閱來閱有趣 台北國際書展今登場';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = 'HPV免費篩檢 未編預算 不辦了';
	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 = '美國牛肉 最快17日重上架';
	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 = '關子嶺 大紅紋鳳蝶銳減';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '生態之謎 探索台灣黑熊 DNA揭密';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '烏來高砂義勇碑 明重新揭幕';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '街頭當畫布 塗鴉有藝思';
	rows[11].link = 'today-life12.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 = '老妖怪撐腰 快艇暴衝';
	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 = '林威助 阪神一軍定了';
	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 = '青棒菁英賽 今起兩地開打';
	rows[10].link = 'today-sp11.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台股尾盤急拉 大漲125點';
	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 = '伊朗核爭議 油、金價齊漲';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '外資買盤加碼 台新金漲停';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '春節效應 1月CPI升至2.65%';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '李應元︰將失業率降至3.75%';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '集保結算所 邁向全方位';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '34號公報影響 股東權益增2200億';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '網拍課稅 國稅局近期全面查稅';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '富邦投信恐慌性贖回 解除';
	rows[11].link = 'today-e12.htm';
																										
	rows[12].text = '去年企業登記求才 破百萬';
	rows[12].link = 'today-e13.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '人民幣升至8.0555元 創匯改新高';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '《理財Q&A》能源基金 不建議搶進';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = 'BDI反彈 散裝航運揚帆';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = 'DRAM價格 海力士 三星喊漲';
	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';
																										
	rows[8].text = '液晶電視升級 驅動IC發燒';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '《期指觀測站》金融期氣旺 可望高檔整理';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '晶電璨圓度小月 法人仍青睞';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '禾伸堂月績亮麗 超乎預期';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《國際股市》歐股午盤走揚 中國大漲';
	rows[12].link = 'today-stock13.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 = '感謝家扶認養 瓜國3母女織國旗送台';
	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 = '雙J戀東京復燃 周侯戀大考驗';
	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 = '林熙蕾拒當暗光鳥 越早越美麗';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '陳思璇姚采穎思春 渴求Mr.Right';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '張鳳書嫁得好 害慘葉全真';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '陳昭榮開網站 一年少賺2千5百萬';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = 'F.I.R.求旺旺 陳建寧全包了';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '張東健示威救韓片 5分鐘快閃';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '倖田來未拍拖瑛士 純屬虛構';
	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(12);
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 = '光華橋路段恢復通車 標誌烏龍 指引塞車';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '年後瘦身行 鐵馬遊平溪';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '9家湯圓老店 網路飆人氣';
	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 = '摸了賺大錢 大墓公忠狗LP亮晶晶';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '土城山區 小心猴擊！';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '空氣槍怪客 暗夜出擊 掃射車窗';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '14歲小霸王 吆喝老大哥搶超商';
	rows[11].link = 'today-taipei12.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 = '乩童媽忙天公生 兒醉臥車站';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '2醉男上路 1撞人落跑1被撞死';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '中油集體貪瀆案 3人被求刑13年';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '漁港落水車 原是報廢車掛新牌';
	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 = '社會傳真／涉搶劫婦人 2嫌自首';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
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-center1.htm';
																										
	rows[1].text = '虎頭山疑遭縱火 陸空搶救';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '被宣告死亡 男子陳屍套房';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '台企銀監守自盜案 2襄理將密碼給王志生';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '對手下跪搏選票 烏日鄉長要告';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '土庫鎮長貪污案 審理回原點';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '蒙面盜…造型突出又逗趣';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '聚賭被抓 住持反控警方';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會傳真';
																										
	rows[8].text = '開錯罰單 中縣員警挨罰';
	rows[8].link = 'today-center9.htm';
	rows[8].type = '社會傳真';
																										
	rows[9].text = '一油罐車 衝進對向公墓';
	rows[9].link = 'today-center10.htm';
	rows[9].type = '社會傳真';
																										
}
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 = '買毒露餡 4毒犯被逮 追查大毒梟';
	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';
																										
	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(12);
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 = '52％台商虧損的啟示';
	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';
																										
	rows[11].text = '我為貓熊命名';
	rows[11].link = 'today-o12.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 = '狗仔先生，謝啦！<br>最上鏡頭排隊包 出列';
	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>Centrino Duo與Viiv來報到';
	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 = '0元瘦身法 隨時隨地動起來';
	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 = '尾牙吐露愛意<br>上司很尷尬';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
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-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';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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-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';
																										
}
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(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 = '出血性胃潰瘍<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 = '找尋傳說中的尼斯湖水怪';
	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';
}