//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','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-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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '倒扁總部：國慶圍攻 上午九點發動';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '施車隊北市橫行 一路綠燈';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '關懷獨居老人 阿扁送餐';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '挺扁、倒扁 台中隔空叫陣';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '只顧選總統 施批馬玩兩手策略';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '罷免綠委 蘇：近乎恐嚇 不妥當';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '汽車冒名過戶 動機不良';
	rows[6].link = 'today-fo7.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '民進黨民調 台灣人認同逾6成';
	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';
																										
}
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 = "美性侵犯冤獄21年 DNA還清白";
	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 = "天然屏障 地底核試難測";
	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 = "《中英對照讀新聞》U.S. sweep of Nobel Prizes in science still leaves glass half-empty for many educators 美國囊括諾貝爾科學獎項，仍令許多教育者悲觀";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中日對照讀新聞》「&#33747;子&#12399;余裕&#12364;&#12354;&#12428;&#12400;」英語必修化&#12434;文科相否定 「甜點有餘力再吃」文科相否定英語必修化";
	rows[8].link = 'today-int9.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '父殺母 3童遠走4公里報警';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '少年兄妹 1死1重傷';
	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 = '紅包場創第二春／「小城故事」依舊 搖滾鋼管助陣';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '摸摸茶傳艷名 熟客1600元「玩全套」';
	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 = '九份條款發威 客運酒駕吊照';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '酒駕撞上無照 都找女人頂罪';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '撞死老翁 喝酒壓驚？';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = ' 小朋友撿到黑道2千發霰彈';
	rows[15].link = 'today-so16.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Google擬529億元收購YouTube';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '車庫裡的創意 造就YouTube傳奇';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '網路點子王 e夕成名';
	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 = '中秋烤肉夜 北市空氣髒5倍';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '國道北上匝道 12:00-19:00總量管制';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '職場哺育母乳 立委提案保障';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '沾到氫氟酸 工程師2小時丟命';
	rows[8].link = 'today-life9.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '老虎2連勝 洋基告急';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '建仔獨留紐約 備戰第5戰';
	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 = '松&#22338;13K完封 西武開喜';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '姜建銘10日先發 阻中日封王';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '嘟嘟14勝 個人新猷';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '詹詠然 4強止步';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '歐秋阿搶第4冠 破球場最低桿';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '林文堂獵鷹 躍居第1';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '夜店掏槍 溜馬傑克森又惹事';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '搶下第2桿位 大舒奪冠利多';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '花5美元合照…啥米！ 金盃是仿的';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '台灣探險隊 今攻頂';
	rows[13].link = 'today-sp14.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '搶油元商機 政府四路齊發';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '兼職未加保 職災津貼請領擬放寬';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = 'DRAM狂飆 封測廠紛搶進';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '印度Tata鋼鐵 將收購英Corus';
	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 = '《品牌故事》統一麵 大賣35年';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '吳欣盈最佳慈善基金會執行長';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;



menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '天上掉輛賓士 她成通緝犯';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(17);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '（富比世民調）名人搶鏡顧人怨 芭黎絲 「嘔」像Top1';
	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 = '女F4抖波夾鋼管 幫幫我很A喔';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '臺灣電影揚名慕尼黑';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '施易男車禍煞到 金雞獨立收驚';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '王識賢國腳無望當裹腳';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '貝克漢夫妻假名流真搶錢 53.8億富霸英國';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '短腿菲姬踩黑珍珠 登美腿NO.1';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '包養花名冊 字母女星叫價1億';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '勇樣拍太王 日本師奶重金探班';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '舒淇韓片當老大 化身女打仔';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '韓瑜 周幼婷 宜晚婚<br>張鈞甯 情感大女人';
	rows[16].link = 'today-show17.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 = 10;
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 = 10;
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-taipei1.htm';
																										
	rows[1].text = '藝術市集 舞台後大搜密';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '38名藝術家 展現三芝人情味';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '失傳技藝 重現台北街頭';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '汐止民權街剛鋪好 路面即凹陷';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '雇主偏差印象 影響原住民求職意願';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '老人家養孔雀魚 打開封閉心靈';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '六星級市民運動中心啟用';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '月餅裝「棋」怪 飲茶添樂趣';
	rows[8].link = 'today-taipei9.htm';
																										
}
menu = null;

menu = getMenu('north');
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 = '躲債閒逛2天 謊報被綁架';
	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 = '烤肉餘火 燒4民宅';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '烤肉醉上道 棒打超車者';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '賣500元安毒 判3年10月';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '警草率舉發闖紅燈 騎士撤罰';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '騎車未掛牌照吃單 異議駁回';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '自首通緝犯繳善款 獲緩起訴';
	rows[9].link = 'today-north10.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 12;
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 = '勸騎慢點 2男遭10餘少年砍傷';
	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 = '機車轎車對撞 2騎士亡';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '黃湯下肚 30歲男性侵5旬婦';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '無照被抓 發現身分字號一樣';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '刑警採證 店家誤認黑道上門';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '打死酒客 劉德源被求刑13年';
	rows[9].link = 'today-center10.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '汽機車回收廠大火 鄰近5工廠遭殃';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '觀光奇遇 洪浚益助官兵捉強盜';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '公益心…南檢追詐領健保 民眾叫好';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '真狠心…狼爸性侵女生子 判刑7年';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '太貪心…留學生順手牽羊 雞同鴨講';
	rows[4].link = 'today-south5.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《李筱峰專欄》中華民國已經滅亡了！';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '圍城裡的道德';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '馬英九有更好的選擇';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '經國號戰機升級 有必要';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '纜車 不是觀光重點';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '珍惜自由';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '快沒救了！';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '三大好事 三大壞事';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '不要臉的中國媒體';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '於心何忍';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '紅絲帶與吳淑珍';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 12;
	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(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	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-weekly1.htm';
																											
		rows[1].text = '按圖索驥  白色巨塔 經典場景';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '秋風起 品蟹是時候  好蟹入袋 訣竅及時公開';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '無藏私 北台灣 大閘蟹採購地點公開';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '秋高氣爽  品蟹肥美正逢時';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '食慾之秋 大啖平價蟹料理';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '蟹醋醬  挑動味蕾鮮食感';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '秋蟹宴 蟳常料理食譜5道';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '腦袋瓜子也要吃飽飽《秋蟹冷知識》大教室！';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '20妙齡 青春不皺臉';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '30.40 輕熟女分齡除魔皺';
		rows[10].link = 'today-weekly11.htm';
																											
	}
	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';
}