//===========================================================================
//基本設定
//==================== 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(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[5].type = '積極管理，有效開放';
																										
	rows[6].text = '赴中投資 經部擬新措施';
	rows[6].link = 'today-fo7.htm';
	rows[6].type = '積極管理，有效開放';
																										
	rows[7].text = '王：誰敢耍國會議長';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '捐款還發謝函 王品 謝喜憨兒「讓我們成長」';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '賺1萬捐1千 憨兒幫憨兒';
	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 = '罰130萬曾金順206號人船獲釋';
	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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '新世界7大奇景 21強角逐 開放全球票選';
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = '新聞諷刺秀 百萬以人笑開懷';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '俄指控烏 偷走一億立方公尺天然氣';
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = '北京原人化石 日本說美軍拿的';
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = '美國幼稚園 興起中文熱';
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = '中國年輕人 哈韓風不退';
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = '《中英對照讀新聞》No Hangover Cure宿醉無解藥';
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '喝花酒記過調職知過能改 小警員當上所長';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '義工媽媽 拉中輟生一把';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '吊橋大王之子 畫說父親一生傳奇';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '草莓族赤子情 守護獨居老人';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '雌性勿近 醋妻擾夫判離';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '遛鳥怪客 右手抓鳥左手結帳';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '泡泡襪淫盜 逼女用腳幫自慰';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '孬夫酒駕 棄妻兒落跑';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '400萬購前線指揮車';
	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 = '茂矽洗錢案 起訴胡洪九等7人';
	rows[12].link = 'today-so13.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '禮券多無履約保證 求償無門';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '補習退費代價大 一堂英文課8000元';
	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 = '垃圾強制分類 配合度逾8成';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '加強防癆 目標十年減半';
	rows[9].link = 'today-life10.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-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 = '《NFL》海盜 重返季後賽';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '2006小熊封王？';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '一賠二點六 雷肯南賠率最低';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = 'WSBL 今燃戰火';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '橫掃國際 撞協慶功';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《HBL》陳耀庭 三民一哥';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '獅新訓 鐵的紀律';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '鱸鰻 3.24球員引退式';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '東哥被減薪 要申訴';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '《高中棒球聯賽木棒組》昨日賽程 投手車輪秀';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '大郭恩師 4指投手近藤貞雄 病逝';
	rows[14].link = 'today-sp15.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 = '課稅爭議再爆抗議 券商再度罷發權證';
	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 = 'LMVT操作績效 連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 = '電焊工 應配戴呼吸防護具';
	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(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '賣過季女裝 創5千萬業績';
	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 = '封測質優 外資買多賣少';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '今皓上月營收逆勢走揚';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '鴻海入主建漢 規劃3席董事';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '茂迪燒傷 上月營收17月新低';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'DRAM價揚 模組廠漲聲響';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '《期指觀測站》電子期 不宜過度追價';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '認列6代廠營收 液晶電視面板出貨 廣輝股價 追上淨值';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '勝華12月毛利率挑戰19％';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '數位相機廠 Q4獲利出色';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '《國際股市》德法午盤走揚 韓股新高';
	rows[13].link = 'today-stock14.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 = '親民黨6立委 2月投藍';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
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-show1.htm';
																										
	rows[1].text = '孫鵬國光要開學 小康 屈中恆不幫忙';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '金城武對愛不強求 池珍熙懂得包容體諒';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '小S撇老公 新曆初二回娘家';
	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';
																										
}
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(10);
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 = '行竊失風 狂砍屋主70刀判死刑';
	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 = '機車收費 內科23日實施 每日20元無限次';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '中和美食中心 4大天王打造';
	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 = '無線網路BO案 廠商未繳保證金 縣府解約';
	rows[9].link = 'today-taipei10.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 = '運毒飆駛露餡 毒犯尬4警脫臼';
	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 = '社會傳真／結夥擄鴿勒贖 2嫌交付感訓';
	rows[6].link = 'today-north7.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 = '中投區基測 5．28加考作文';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '納骨塔啟用前 天公爐開天窗';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '偷香油錢 遜賊當場被抓';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '涉賄 彰化議員王敏光等35人被訴';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '逃離關懷中心行乞 2少帶回';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '驗愛滋 毒蟲扎20多針抽不到血';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '涉嫌貪污 前台電經理判刑';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '搶四包菸 醉漢被店員制伏';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '又涉侵占 前少年隊長判刑';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '移交糾紛 包商按鈴告官員';
	rows[9].link = 'today-center10.htm';
																										
}
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 = '大卡車倒栽蔥墜入山谷 駕駛獲救';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '刺背之狼 疑再涉毛姓女生案';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '撞機車拖行逃逸 醉駕駛被攔';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '會員權不得轉讓？ 讀者不滿';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '飆車族殺人案 四人交保';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '卡債太沉重 男子燒炭自殺';
	rows[7].link = 'today-south8.htm';
																										
}
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 = '台灣 可以成為FPE贏家';
	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(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 = '不想長大<br>只想裝可愛';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '2006最新包裝';
	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 = '2005年度國內汽車銷售排行榜';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
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-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';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
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 = '關節檢測DIY';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '眼瞼整形傷到肌肉<br>婦人變成大斜眼';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '感染輪狀病毒<br>須防脫水、抽搐及休克';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '陰道發炎錯怪泡湯<br>其實都是男友惹的禍';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '台大景福門診開放<br>有錢不一定掛得到號';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '暖身不夠急彈跳<br>當心出現網球腿';
	rows[5].link = 'today-medicine6.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 = '嗨!我叫德尼';
	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 = '《50年代》';
	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(5);
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 = '1.5分鐘改變身邊環境<br>崔廣宇探索城市精神';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '音樂看得見圖像<br>笛家蓋瑞夏克將來台演奏';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '閱春好書交換活動起跑';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '《百年孤寂》從輝煌到墜落<br>以廢墟光影說盡人間事';
	rows[4].link = 'today-art5.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 = '阿拉伯半島 極致奢華體驗';
	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';
}