//===========================================================================
//基本設定
//==================== 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 = '世紀司法大戰 陳瑞仁願親蒞庭';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '林正杰：限扁三天辭  否則11日有大海嘯';
	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(7);
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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = "州長選局 共和黨也告急";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "志在2008 政治明星拚場";
	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 = "日北海道龍捲風 9死25傷";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "日本環球影城第50000000名遊客";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中英對照讀新聞》New Jersey school strafed by F-16 during night training exercise 紐澤西一所小學在F-16夜訓中遭誤炸";
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = "《中日對照讀新聞》&#12464;&#12523;&#12472;&#12450;出身&#12398;力士&#12364;「&#12402;&#12370;禁止」&#12398;注意受&#12369;&#12427; 喬治亞籍力士被警告「禁止蓄鬍」";
	rows[9].link = 'today-int10.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(19);
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 = 'PayVA 幽靈帳號 犯罪新死角';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '駭客出招 買賣遊戲點數';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '多國遇襲 台灣學生2死2傷';
	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 = '管束少年狼 看A片又犯';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '性侵女童 紅屁股成罪證';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '準碩士誠徵助理 博士硬上被訴';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '小偷橫掃墓園 燭台也不放過';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '高鐵勞氏測試報告 多項沒過';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '交部搬家 北市憂古蹟受損';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '再11年 台灣進入高齡化社會';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '明晨水星凌日 錯過等26年';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '畫家癌末 開畫展圓夢';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '腦麻憐智障人間棄兒相扶持';
	rows[15].link = 'today-so16.htm';
																										
	rows[16].text = '每月存700全班認養菲貧童';
	rows[16].link = 'today-so17.htm';
																										
	rows[17].text = '捐搜救犬謝恩 醫師應宗和憶當時：生死關頭掛念捐大體';
	rows[17].link = 'today-so18.htm';
																										
	rows[18].text = '熱愛幼教 車禍癌症 打死不退';
	rows[18].link = 'today-so19.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鴨霸！台灣史教科書 中國禁用';
	rows[0].link = 'today-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 = '都是A健保 認罪緩起訴 不認罪沒事？';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '沒錢換用NAT血篩 危害受血人';
	rows[5].link = 'today-life6.htm';
																										

																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-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 = '松&#22338;大輔 想落腳紐約';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = 'HBL／屏中再起 撂倒新榮';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '再見火鍋 爵士4連勝';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '世撞賽 台灣13撞士晉級';
	rows[8].link = 'today-sp9.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '理財存老本 6成靠股票、基金';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '退休投資 54%虧過 27%有賺';
	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 = '統一決購德記近兩成股權';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '台積電竹科續建兩座12吋廠';
	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 = '前進SAFE 我向APEC遞意向書';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '前10月貿易出超 超越去年總額';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '標準普爾首席經濟學家︰台幣明年升5%';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '鉅額交易限制 年前逐步放寬';
	rows[11].link = 'today-e12.htm';
																										
	rows[12].text = '中外匯存底破兆 人民幣不合理壓低';
	rows[12].link = 'today-e13.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '國際電話卡 國內外便宜通吃';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '佈局歐洲巨型基金 搶搭補漲行情';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '理財Q&A／買投資型保單 先看自身風險屬性';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '擺脫政治利空 5大外資叫進台股';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '旺季發酵 NB廠營收競攀高峰';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '股價衝高 原相、群聯Q4更嗆';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '換機潮湧現 昆盈、群光應聲揚';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '淡季衝擊 LED營收大多衰退';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '矽品營收創新高 外資青睞';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '歐股午盤漲 馬菲勁揚';
	rows[10].link = 'today-stock11.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 = '各自採購攝影機組 核二花50萬  核一耗2100萬';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '蘇麗媚開天價擒龍 言承旭化身丘比特 1集33萬創新高';
	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 = 'Buddy活見鬼 靈界收音';
	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 = '金楨勳捧金馬 張韶涵結音緣';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '李莞天國大躍進 赤裸上身秀六塊肌';
	rows[11].link = 'today-show12.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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '勾結地磅業者 2警貪污被訴';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '買到法拍屋 冒出承租戶';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '溫泉水質檢測 5星級業者不合格';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '村里長工作經費設限 議員砲轟';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '東科重建談不攏 包商差點封路抗爭';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '愛的回響／警背老人就醫 義工幫忙修屋';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '生病請假 在家實況上課';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '週六賞鳥去 鳥博關渡登場 十國與會談鳥事';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '亞洲表演藝術節 六大城競藝';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '搶救柳丁價 榨汁機建奇功';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '草嶺古道賞芒 假日山賊出沒';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '神棍、騙徒 搶發選舉財';
	rows[11].link = 'today-taipei12.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '仿名表路邊賣 刑警假買真抓';
	rows[0].link = 'today-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 = '法院甄選２助理 １０８人報考';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '錢莊討重利 要公務員供戶籍資料';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '假證件闖關 金門航警逮中國女';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '警抓偷鐵賊 補證再遇電纜盜';
	rows[9].link = 'today-north10.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '促樂群社區拆屋還地 退輔會敗訴';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '嬰兒溢奶死亡 托嬰負責人求刑';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = 'CAS認證 雲林絲瓜 打造無毒品牌';
	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 = '西濱快速路 伸港→線西 煤渣綿延1公里';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '多元就業面試 連談5攤沒錄取';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '3姊弟妹勤練太極 世界盃奪雙金';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '高雄志工「抓龍」 東勢鄉親「酥麻」';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '學童表現好 抓娃娃機拿獎品';
	rows[9].link = 'today-center10.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鐵路地下化 世貿會展中心 陳菊陣營反駁政策賄選';
	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 = '珊瑚體檢 發現垃圾等5問題';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '屏東境內 紛傳賽鴿遭擄走';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '赴中國旅遊遭綁 逮到主嫌';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(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 = '母雞變成啄木鳥';
	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(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(4);
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 = '周年慶第2波';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '粉紅 暖金 艷紅  3大時尚色調 派對扮靚';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '本土線上遊戲 水準大躍進  遊戲類型多元化 進軍海外打名聲';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '從童書中尋找自己的顏色';
	rows[0].link = 'today-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';
																										
	rows[4].text = '辣醬鮮蚵';
	rows[4].link = 'today-family5.htm';
																										
	rows[5].text = '〈活動看板〉婚姻及生活法律課程';
	rows[5].link = 'today-family6.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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '伊薩．迪內森與《遠離非洲》';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '黃色的位置';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '狀態';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '東京感知';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '臨界點';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '體悟生活滋味<br>第二屆林榮三文學獎散文獎初、複審側記';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '終於敢自己嚇唬自己了';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '傳宗接代';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '愛讀書《暗夜無盡》';
	rows[8].link = 'today-article9.htm';
																										
}
menu = null;

menu = getMenu('art');
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 = '跨年有看頭 風流寡婦、水滸傳齊上場  卡列拉斯也將來台陪你倒數';
	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 = '為心臟病童開唱 烏克蘭兒童合唱團唱作俱佳';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '屏東半島藝術季第6年 有意外風景';
	rows[4].link = 'today-art5.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 = '安娜普娜心靈SPA之旅  尼泊爾山區健行';
	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';
}