//===========================================================================
//基本設定
//==================== 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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '天下圍攻若失控 解放軍將阻美日介入';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '施：立院通過罷扁 紅軍就退場';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '綠斥「黔驢技窮」 走偏鋒';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '游謝批馬放任「天下圍攻」：台北成了「仇恨之都」';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '外台會：倒扁訴求狹隘 公民力量未擴增';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '政治觀察／罷綠委  宣示大於實質意義';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '違法圍攻 警嚴格蒐證執法';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '施珮君給父親的一封公開信--最初與最後的期待';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '籌委會列標準 13條法律 危安警戒線';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '民進黨團動員立委與會';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '國慶靜坐 倒扁總部不保證解散';
	rows[10].link = 'today-fo11.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '綠推政黨金援候選人 擬訂上限';
	rows[0].link = 'today-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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "傳延至年底 北韓核試現轉圜";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "若失敗 致命輻射 日韓俄中難逃";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "殷鑑不遠 核爆落塵 全球人類公敵";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "安倍訪中「 願為二戰反省 」";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "建構和諧社會 中共十六屆六中全會開幕";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "聖母峰＝全球最高垃圾山 封山聲浪起";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "監控中國潛艦 美聲納船聚日";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "俄女記者遇害 民眾示威指控官方政治暗殺";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中英對照讀新聞》Livingstone under fire over anti-pigeon fight 倫敦市長李文斯頓為反鴿戰爭飽受批評";
	rows[8].link = 'today-int9.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 = '雷擊電子儀器 迷航17天';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '古惑仔談判 大學生遭6槍處決';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '棉被遮哀號聲 活活打死妻';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '6年1班小醫師 街友大「醫」靠';
	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';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Long Stay捲土重來 第二批日人月底試住';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '雪上加霜 又漏水 雪隧封道搶修塞塞塞';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '國道北上車潮 今明是高峰';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '上百偉士牌 台東大會車';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '逾4成新面孔 高山蜘蛛不結網';
	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 = '同志大學生 自殺意念比一般生高3倍';
	rows[9].link = 'today-life10.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 = '托瑞位置 可能不保';
	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 = '整頓軍容-投／建仔當一哥 松&#22338;並肩作戰?';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '整頓軍容-打／燙手A-Rod 有哪隊吃得消?';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '教士死裡逃生';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '建仔岳父母 催生小建仔';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '台灣高球公開賽 林文堂 金讚';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '陳金鋒 雙20';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '中職季後賽 13日開打';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '軟體鷹火力旺 扳回一城';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = '費德爾 日網首度摘冠';
	rows[15].link = 'today-sp16.htm';
																										
	rows[16].text = '詹詠然莊佳容 女雙亞軍';
	rows[16].link = 'today-sp17.htm';
																										
	rows[17].text = '《F1日本站》大舒爆缸 阿隆索封王';
	rows[17].link = 'today-sp18.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 = '悠遊聯名卡 將增聯名對象';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '陳志峰 南山人壽銷售天王';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '《理財Q&A》抵利型房貸 適合高額存款者';
	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 = 'Hynix封測新單 力成優先議約';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '記憶封測︰門檻高 影響不大';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '社交網站商機大 創投新寵';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '周謀式玉山攻頂 業績也攀升';
	rows[2].link = 'today-stock3.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 = '子詐騙分贓不均 農夫被綁15天';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '周董貼心生日禮 余文樂現身 劉&#30026;宏surprise';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '舊情復燃? 小豬異想變辣妹 暗勸Selina別賣肉';
	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 = '整形春秋現實縮影  手術房剖析人性';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = 'V6玩弄觀眾 節目作假被轟';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '高賢貞搞情色 迎戰河智苑媚功';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '陳綺貞 巴黎尋夢<br>走走停停 沉澱光陰';
	rows[10].link = 'today-show11.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》倒扁活動的歹戲拖棚嚴重撕裂了台灣和諧的社會';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》倒扁的貢獻';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》天下圍攻 攻什麼？';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
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 = '賞戲品茗 林家花園 好一場秋閑雅宴';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '國慶交管 擴大範圍';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '文山區5里試辦 不可燃廢棄物 回收率18%';
	rows[5].link = 'today-taipei6.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 = '竹市站前廣場遊民為家 有礙市容';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '中秋連假 太平山1天湧進5000人';
	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 = '花蓮花好月圓 親子體驗刨柴魚';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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-center1.htm';
																										
	rows[1].text = '刮刮樂詐騙 中市傳3起';
	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 = '中橫 廂型車撞山壁 6人輕重傷';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '違建砂石場未改善 投檢具體求刑';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '社會傳真／求歡被打 妻子驗傷告夫';
	rows[7].link = 'today-center8.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '獅友服務日 董事長、總經理掃街';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '虱目魚料理賽 總鋪師飆創意';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = 'GO-KART小型車賽 高縣競速';
	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(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(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '在銀座大口咬下  Mikimoto粉紅起司';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '日日  古典時光';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '珍珠養成之路';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '波霸世代';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = '鮮色手機風潮 挑對個人專屬色';
	rows[4].link = 'today-fashion5.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 = '讓地球退燒 你我要加油';
	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(7);
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';
																										
}
menu = null;

menu = getMenu('article');
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-article1.htm';
																										
	rows[1].text = '種樹的音樂節，無國界的台灣<br>流浪之歌音樂節';
	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 = '愛讀書《2006席慕蓉》';
	rows[4].link = 'today-article5.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
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 = '立院預算中心報告出爐  故宮涉嫌圖利廠商？<br>故宮前院長石守謙、機要秘書張惠菁、南院工程召集人林柏亭等 誰負責？';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '故宮院長林曼麗：真相交由檢調調查，但南院不應被污名化';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '獨創金氏世界紀錄 空中飛人飛到小巨蛋';
	rows[2].link = 'today-art3.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 = '秋遊日高市的3個好理由  日本琦玉縣紀行';
	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';
}