//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
path = '';
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('生活週報'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','living','family','medicine','article','young','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(9);
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 = '228中樞紀念 扁呂蘇馬同台 扁：暴行可寬恕 不能忘';
	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 = '時隔59年，那種肅殺氣氛… 金美齡仍有餘悸';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '馬四度向受難者家屬致歉';
	rows[8].link = 'today-fo9.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 = '鄭永金100萬交保 檢今有動作';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '參選南縣副議長 陳宗興涉賄收押';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '宜蘭代主委 批游錫&#22531;沉淪 民進黨表遺憾 籲尊重機制';
	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 = '菲可望4日解除緊急狀態';
	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 = '《中英對照讀新聞》Courtroom twist in the Da Vinci Code 達文西密碼的法庭大轉折';
	rows[8].link = 'today-int9.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '癡情中國女 染病遭男友賤賣';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '國中生遭綁案 14小時速逮4匪';
	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 = '捐棺20年 為善不留名';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '非洲鼓 徐治平開低走高';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '紋面美 田貴實跟時間搶人';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '離台一甲子 日人重遊舊居';
	rows[10].link = 'today-so11.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-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 = '強制責任險 保費調降';
	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';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《WBC》9下反攻已太遲';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《WBC》陽仲壽 打擊尚待加強';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《WBC》雙林抗韓流 教練團放心';
	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 = '《SBL》單週最佳鬥士 林群峰 認真超帥男';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '安麗盃今登場 48佳麗爭后';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '賴冠華衝上45 亞巡賽最佳';
	rows[9].link = 'today-sp10.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '三大機構 今年預測 全球經濟成長率3.2%~4%';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '國際油價 跌近60美元關卡';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '終統定調 外資加碼不鬆動';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '本國銀行逾放比 降至2.31%';
	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 = '日本抓盜版 最重可判10年';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '微軟Vista 下半年上市';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '英特爾重資 越南建封測廠';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
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 = '全球生技類股 行情飆漲';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '封測股營收 Q1大幅縮減';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '中華電、威寶爭3G龍頭';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '晶華 今年EPS可望破4元';
	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 = 'Napa平台 刺激筆電銷售量';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '新產品加持 工業電腦股價走高';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'Q1淡季 IC設計廠商營收不佳';
	rows[8].link = 'today-stock9.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 = '環盟抽檢5醫院電磁波過強';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '白色巨塔劇情大綱 網友批舔共';
	rows[0].link = 'today-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 = '天心：分手原因可寫8個版';
	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 = '鄭俊鎬自稱酒王 喝醉會裸睡';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '倖田來未12 聲笑 進輯金氏紀錄';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '矢田亞希子談情 聲援押尾學';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '瑞絲搶好萊塢一姊 9.7億踩鳳凰女';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '布裘6/27大喜 布蘭妮又有喜';
	rows[12].link = 'today-show13.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(8);
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 = '債務糾紛 惡煞虐男 拍裸照恐嚇';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '被害人越線 酒駕致死判無罪';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '禁體罰 可罰站記過';
	rows[7].link = 'today-taipei8.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-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 = '她離家一年多 返回多了另個她';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '毒鴛鴦搶錢 基警很機警';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '紅牌西施 月薪可達到6位數';
	rows[6].link = 'today-north7.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 = '引起火燒車 彰警機車GPS全拆';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '村長撞飛線路箱 500住戶無話可說';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '情侶受困湖心亭 女警救回';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '賴政融詐騙集團 逾200人報案';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '肇事逃逸賴警方 1小時就逮';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '警方破門 通緝犯已自殺';
	rows[5].link = 'today-center6.htm';
	rows[5].type = '社會傳真';
	
	rows[6].text = '父疑動粗 女童嘴唇裂傷';
	rows[6].link = 'today-center7.htm';
	rows[6].type = '社會傳真';
	
	rows[7].text = '口湖汽車解體廠 2嫌落網';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會傳真';
	
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '涉賄現金被扣 南縣議員陳宗興聲押';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '校園雙煞 槍傷學弟搶手機';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '香港2船難 我3漁工獲救';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '洗衣店變身 賭場現身';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '擄人性侵 3嫌落網';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '英雄救美不成 2男中彈脫險';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '大賣場行搶 現行犯被逮';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '鐵工車上…改造槍上膛';
	rows[7].link = 'today-south8.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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 = '紅外線與ETC 麻吉!';
	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';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(8);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '好品味　　　→';
		rows[1].submenu = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性　　→';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療　　→';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美　　　→';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化　　→';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊　　→';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '眼頭一抹春';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '拒絕走樣 搶救性感曲線';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '雙面拍拍看<br>手機變相機';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '林雲 出世觀點<br>切記用心生活';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '老婆不在乎？<br>誘我掉入三人行';
	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 = 16;
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-medicine1.htm';
																										
	rows[1].text = '老人家固定動一動<br>身心健康快活養老';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '過敏性鼻炎vs.感冒<br>認清症狀 正確治療';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '觀察娃兒便便<br>助他健康成長';
	rows[3].link = 'today-medicine4.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '楚門秀<br>八卦作家楚門．卡波提─下';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '卡波提與哈波• 李';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '鴿子';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '漫談人性';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '當烏托邦面對自由';
	rows[4].link = 'today-article5.htm';
																										
}
menu = null;

menu = getMenu('young');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '即時通訊結合拍賣<br>賣家買家初體驗';
	rows[0].link = 'today-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '陳郁秀否認接任兩廳院董事長<br>希望體制完備才是重點';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '佩加蒙博物館將擴大整建';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '匈牙利指揮瓦薩里 下月來台秀鋼琴';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '文總「66文化學園」 推動文創產業理念';
	rows[3].link = 'today-art4.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '從龍坡邦旅行至永珍<br>流水．寮國';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,700);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,700);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}