//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = 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'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','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 class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La 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(12);
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 = '中&#23947;指國民黨傾中 可能出現反日同盟';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '晤真主黨領袖 黃志芳：廣結善緣';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '軍方鐵拳專案失敗 22億泡湯';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '何志欽：遺贈稅改革 擬今年推動';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '回老家 郭瑤琪樂當爽老百姓';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '誰接任？蔡堆、賀陳旦呼聲高';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '高公局：重啟第二階段甄審';
	rows[11].link = 'today-fo12.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
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-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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "中國人屍標本 遊走非法地帶";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "戰時指揮權交南韓 駐韓美軍大變革";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "「和平接班」卡斯楚再掌權可能性低";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "歐盟強硬反菸 歐洲工會反彈";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "中國證實2003年爆禽流感首例";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "中國狂犬病大流行 疾管局示警";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "《中英對照讀新聞》British guard dog savages rare German teddy 英國警犬猛咬珍貴的德國泰迪熊";
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '證物封存13年 科技還原真相';
	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 = '撇清害 5命 錢莊老闆夫婦收押';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '中國代抓人 我押回11嫌';
	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 = '吳多次通知他女 提早到';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '涉圖利安養業務 南市社會局長30萬交保';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '按圖尋簽名 找到牽手護台灣終站妹妹了';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '父兄救人雙亡 孤女保險金請不到';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '一瓶母奶故事 各界捐助湧入';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '部落廚房 愛的傳承';
	rows[14].link = 'today-so15.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 = '錄取率9成 101分就有大學唸';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '小學→大學 同窗三劍客 就是分不開';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '上台大財金系 數乙全滿分';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '國立大學錄取率 建中不如雄中';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '分數下滑 教大促恢復公費';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '歹命阿公 孫第一名上榜 沒錢念大學';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '變大變強 可能睪丸癌作祟';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '壯年男沒「性」趣 竟因工作壓力';
	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(18);
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 = '洋基3巨投 都20勝？';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《小馬聯盟世界少棒賽》建仔小學弟 今與美南爭冠';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '郭泓志 上週3A最佳投手';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '超猛道奇 10連勝';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《世界大學棒球賽》增菘瑋11K 完封波多黎各';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '剛雷10勝 助牛躋身A級';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '中信BB彈掃射 轟垮兄弟';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '職棒明年可能取消和局制';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '義甲假球案 雷吉納成第5支涉案球隊';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '國際田徑總會杜絕禁藥 違反藥檢 禁賽擬改4年';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '《美業餘高爾夫》曾雅妮暫居第4';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '小勝巴西4分 夢7險砸招牌';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '培訓賽避不露面 重傷撞壇寶貝';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '媒體守候 等無伊人';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = '杜哈亞運 瞄準20金';
	rows[15].link = 'today-sp16.htm';
																										
	rows[16].text = '吳珈慶 笑納3勝';
	rows[16].link = 'today-sp17.htm';
																										
	rows[17].text = '《多倫多名人網賽》納班迪安 爆冷出局';
	rows[17].link = 'today-sp18.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-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 = '財部促辜家 年底前買足開發金15%股權';
	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 = '呂東英 今接掌櫃買中心董座';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '財部常次 可望由劉燈城內升';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '工商建研會理事長 顏文熙週五掌舵';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '國內航班起降架次 逐年減量';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '網權會 促公平會調查雅虎';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(17);
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 = '美元資產 不用急著降低部位';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '日放款額 連六個月上揚';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '印尼央行 再降息二碼';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《理財Q&A》美升息近尾聲 債券型基金看好';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = 'DRAM廠Q3毛利率攀升';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '聯電月績增溫 台積保守';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '中信金 今年難逃虧損';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '汽車股前7月獲利 哀鴻遍野';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '台灣第二檔ETF 月底掛牌';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '提高自製率 友達入股台灣凸版';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = 'TV比重大 奇美電月績衰退';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '調整接單策略 亞光嚐甜頭';
	rows[14].link = 'today-stock15.htm';
																										
	rows[15].text = '《期指觀測站》避險空單大減 上拉機會大';
	rows[15].link = 'today-stock16.htm';
																										
	rows[16].text = '《國際股市》歐股午盤漲 日韓澳上揚';
	rows[16].link = 'today-stock17.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 = '被控姦殺 判刑20年 DNA洗刷13年沉冤';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(16);
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 = '3 姊弟合體 菲哥看鯊魚傻眼 恆述溜狗壓馬路';
	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 = '小S告別娛百 8年約滿畢業';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '色，戒第2女主角 朱芷瑩出線';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '瑞絲無敵金髮尤物 芭黎絲倒數第3';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '蜜西艾莉特嘻哈旋風9/9襲台';
	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';
																										
	rows[15].text = '&#22338;口憲二最受寵 宇多田好音緣';
	rows[15].link = 'today-show16.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(10);
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 = '鐵管助性 妻出血死 夫判7年';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '吊裝招牌未申請 擬罰款';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '7500噸廚餘 台朔回收仍無解';
	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 = '湧蓮寺 200桌看牲 宴請好兄弟';
	rows[9].link = 'today-taipei10.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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 = '集體貪瀆 25關員被求重刑';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '侵占500被罰5萬 雇工沒賠完判緩刑';
	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 = '竹東5搶案 另嫌到案';
	rows[4].link = 'today-north5.htm';

	rows[5].text = '持海洛因被查獲 情侶互咬求自保';
	rows[5].link = 'today-north7.htm';

	rows[6].text = '加油站廁所打毒 情侶被當四腳獸';
	rows[6].link = 'today-north8.htm';

	rows[7].text = '蘆竹騎車狼 偷襲小女生';
	rows[7].link = 'today-north9.htm';

	rows[8].text = '《社會傳真》空屋失火煙飄雪隧 影響行車';
	rows[8].link = 'today-north10.htm';

}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '火噬和美工廠 濃煙遮福高';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '中市銀樓老店遭竊 痛失上百萬';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '告詐欺迫出面 逼債吃上誣告罪';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '餓昏了！蹺家少年搶路人';
	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';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '全國米王 池上冠軍米拚4連霸';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '補助款跳票 2校拖欠鐘點費';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '普渡辣妹秀 觀眾喊冷';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '傷心88節 癌末父親跳樓亡';
	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';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '蘇修路線的盲點';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '讓「中華民國」自然消失吧！';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '回應包道格';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '《林保華專欄》從中東到遠東的反美板塊';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '公僕哪來官邸？';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '請政客遠離王建民';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '高錄取率 高失業率';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '成績複查 應准閱卷';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '男女教官的不平等';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '父親節禮物？';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '瘦身美容的美麗陷阱';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	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 = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
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 = '金屬光芒 綻放指尖';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '時尚 一網打盡';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '迷你SUV好玩又拉風  大發新Terios';
	rows[2].link = 'today-fashion3.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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 = '兒童讀本3要素 別那麼嚴肅嘛！';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '即使各自婚嫁 上賓館續舊情';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '東微笑石頭 爸爸笑一個';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '贈閱寶貝身體成長手冊';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
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-medicine1.htm';
																										
	rows[1].text = '抗落髮產品百百種  建議先查明原因再買';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '剖腹產順道綁血管  有效縮小子宮肌瘤';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '型男美膚保養 洗臉防曬並重';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '葡萄柚汁揭秘 部分成份影響藥物吸收';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '用藥發生重大藥物反應  應立即就醫診斷';
	rows[5].link = 'today-medicine6.htm';
																										
	rows[6].text = '女性常見病痛 宣導ｅ指通';
	rows[6].link = 'today-medicine7.htm';
																										
	rows[7].text = '治療憂鬱  中西醫結合效果佳';
	rows[7].link = 'today-medicine8.htm';
																										
}
menu = null;

menu = getMenu('article');
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-article1.htm';
																										
	rows[1].text = '痼疾與痊癒之夾縫中';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '人間行路';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '紐約的豪門恩怨';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '勞資關係的新詮釋';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '颶風';
	rows[5].link = 'today-article6.htm';
																										
}
menu = null;

menu = getMenu('art');
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 = '停車要錢 賣節目單要抽成 租大廳也要錢<br>兩廳院卯起來跟表演藝術團體算小帳';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '充滿愛、充滿了驚奇';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '朱團兒童音樂會《糖果的秘密》<br>豆莢寶寶帶小朋友一起歷險';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '人人可以是買家──如何進入拍賣會？';
	rows[3].link = 'today-art4.htm';
																										
}
menu = null;

menu = getMenu('travel');
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-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;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	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';
}