//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '追9000萬資金 查賄破大案';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '設境外子公司 三角貿易洗錢';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '許志棟開57個帳戶 跨國洗錢';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '4億現鈔10樓高 搬到手軟';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '豪宅做掩護 密室藏金庫';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '兩岸犯罪合流 洗錢業需求大增';
	rows[5].link = 'today-fo6.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-p1.htm';
																										
	rows[1].text = '美促中儘速與扁政府對話';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '日外相答詢 一再稱台灣為國家';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '中國厚顏 人大倡訂314保護台灣日';
	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 = '被認中國一省 台灣列禽流感區 我促WHO更正';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '壓、禁、捕 中國人權糟透了';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '發回更裁 鄭永金 5萬元交保';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '軍歌出現中華 一律改正';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '電影中心用地 周錫瑋沒點頭';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = '龍祥電影台換照 NCC准了';
	rows[12].link = 'today-p13.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '艦載攔截飛彈 美日試射成功';
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = '杜拜經營港口案 美眾院撥款 委員會說不';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '太空揮捍 小白球飛行33.8億公里';
	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 = '《中英對照讀新聞》Neighborhood may help prevent childhood obesity 鄰里環境可能有助於預防兒童肥胖';
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '上網徵多P玩妻 獲判無罪';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '第一波高階警官人事發布 黃茂穗接掌刑事局';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '稅務員助逃稅 虛開40億發票';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '賭博電玩業 控警放線釣魚';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '毒攻春吶 抄獲上億元K他命';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '法老婦尋親 孝子麵愛的插曲';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '一個都不能少 畢業照拍兩次';
	rows[6].link = 'today-so7.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(15);
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 = '電池含汞逾5PPM 九月起禁賣';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '今凌晨最新消息 自強號 花蓮撞死五工人';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = 'ETC再扯幣端 當年…交委會有立委拿錢';
	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 = 'ETC辨識率差 有公文為證';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '婦裸跳救護車昏迷';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '救人套錯管 救護車司機奪命<br>管理疏失 重罰杏豐醫院';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '成大醫院創南部首例 血型不容 移腎成功';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '銀耳萃取多醣體 讓妳肌膚水噹噹';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '北回歸線向南漂移 瑞穗紀念碑歪打正著';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '金氏紀錄媽媽 遺願捐出千萬房產';
	rows[13].link = 'today-life14.htm';
																										
	rows[14].text = '向火星文宣戰 沒讀完天龍八部 大學畢不了業';
	rows[14].link = 'today-life15.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《WBC》打美樂 加厲害';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《WBC》古巴首航 一身冷汗';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '鋒砲 開轟';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '環台賽第5站 黃衫易主';
	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 = '《WSBL》電信季軍 地虎立大功';
	rows[6].link = 'today-sp7.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 = '財部限期 辜家買滿15%開發金';
	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 = '消費行為 列銀行催收依據';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '《理財Q&A》美國REITs盈餘成長率7％';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '金鼎證 開發金互嗆聲 掌握40％股權';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = 'Cebit概念股 利多壓軸';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '水泥雙龍頭 外資新歡';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '營收快報／鍵盤雙雄 一喜一憂';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '《期指觀測站》弱勢反彈 可能續下探';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《國際股市》油價續跌 歐股午盤反彈';
	rows[6].link = 'today-stock7.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 = 12;
menu.menuLayer = 0;
menu.rows = new Array(14);
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 = '周董溫馨接送情 吳佩珊不認帳';
	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 = '花蝴蝶護臀拒運動 麥可健身當肌肉男';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '隱私e覽無遺 裴勇俊心驚驚';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '安室當孝子 偷偷和Sam復合';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '柴崎幸當紅 身世被挖出';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '渡邊謙二宮和也 攜手進好萊塢';
	rows[13].link = 'today-show14.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(11);
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 = '客運撞ETC護欄 車毀2人傷';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '停辦15年 公立高中轉學考復辦';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '公館公車族怨 等車像押寶';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '迷人非洲蓳 粉領族最愛';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '藝術巡禮 巡迴社區';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '反超高壓變電所 蘆洲人鐵了心';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '追查埋暗管元兇 縣府大漢溪實勘';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '員山子分洪完工 立碑悼殉職記者';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '接管林本源園邸 板橋表意願';
	rows[10].link = 'today-taipei11.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 = '進口馬桶蓋 櫃藏私菸820箱';
	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 = '卡車墜谷 1死3傷';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '龍潭埋屍案 法醫研判 勒死後掩埋';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '買兇殺夫 苗栗女保險員判15年 情夫無期徒刑';
	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(6);
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 = '台北強盜集團 3度搶雲林賭場';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '砸大榮車 吳明峰等7嫌聲押';
	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';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-south1.htm';
																										
	rows[1].text = '身障女 受助，助人';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '越界船 載著中國疫區犬';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '黑槍包 跨海郵寄七旬翁';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '南檢防暴 首辦財經治安座談';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '黑心虎鞭 牛鞭假冒唬住買家';
	rows[5].link = 'today-south6.htm';
																										
}
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[0].type = '台灣經濟發展建言';	
	
	rows[1].text = '品牌台灣';
	rows[1].link = 'today-o2.htm';
	rows[1].type = '台灣經濟發展建言';	
	
	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(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(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('living');
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('family');
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('medicine');
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('article');
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('young');
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;

menu = getMenu('art');
menu.layer = 19;
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 = 20;
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 = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(12);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
		rows[0].text = '立威廉口味平民化<br>獨鍾台灣小吃';
		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 = '名店名菜大破解<br>忠南飯館 紅燒獅子頭';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '台灣諾基亞總經理徐志達<br>標準狗迷 迷戀狗兒的藝術';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '宜蘭春日遊<br>親近鳩之澤 溫泉好山水';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '宜蘭春日遊 置身員山田園好風光';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '塔羅牌 算出妳的情人耍什麼心機';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '白色情人節<br>依照情人屬性送手機';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '水汪汪大眼妹<br>假睫毛助攻';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = '迷人雙眼 就是要電你';
		rows[11].link = 'today-weekly12.htm';
																											
	}
	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';
}