//===========================================================================
//基本設定
//==================== 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(10);
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 = '涉弊案 許財利250萬交保';
	rows[8].link = 'today-fo9.htm';
	rows[8].type = '落難縣市長';
																										
	rows[9].text = '吳俊立停職案 行政法院開庭';
	rows[9].link = 'today-fo10.htm';
	rows[9].type = '落難縣市長';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '政院版國民年金險 月繳523元';
	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 = '18%改革實施日期 試院今表決';
	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[6].type = '角逐北高兩市市長人選';
																										
	rows[7].text = '高市 陳菊佈局早 賴峰偉來勢洶洶';
	rows[7].link = 'today-p8.htm';
	rows[7].type = '角逐北高兩市市長人選';
																										
}
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 = '艾伯倫莫夫 K街推錢手';
	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 = '美礦災 僅1人生還';
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = '印尼土石流 恐200人罹難';
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = '《中英對照讀新聞》A British tourist marries her dolphin sweetheart 一名英國觀光客與她的海豚甜心結婚';
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-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 = '癱瘓30年 王吉森賑災不落人後';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '鄭好娟比話兩下 非法外勞現形';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '巔峰案翻版 山基吸金6億倒閉';
	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 = '失蹤4天 大學女生屍體浮出';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '高市跨年夜兇殺案 飆仔要人命 營區落網';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '套環展雄風 腫成麵龜';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '歹徒殺入學校 校警救人被砍';
	rows[13].link = 'today-so14.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-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 = '74％學子 患網路成癮失調症';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '數位典藏 精緻文化e覽無遺';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '幫政治人物變臉 嶺東學子很型';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '大專學雜費 可上網繳';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '月亮的孩子 金色陽光等著你';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '挺菸反菸角力 場內吵到場外';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '台灣茶地名遭中國註冊 謝揆:採取法律行動';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '過境台灣發燒 機場就醫 英籍男子證實未染H5N1';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '按摩過了頭 引發橫紋肌溶解症';
	rows[12].link = 'today-life13.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '《高中棒球聯賽》三信與三民 分組奪冠';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '郭泓志 可望打經典賽';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '潘威倫許願 挑戰15勝';
	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 = '湖人5連敗';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '世桌賽國手 江宏傑、黃聖盛 搶下兩席';
	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 = '《HBL》吳建龍 衝破逆境';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '以戰養戰 國泰二連勝';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '林志傑獲上月MVP';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '央行放手 台幣勁升3.05角';
	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 = '全球經濟自由度 台灣退至37';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '前聯勤俱樂部土地 今開標';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = 'CES 全球電子景氣觀測指標';
	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';
																										
	rows[10].text = '和艦再投資芯同 立委質疑';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '香港玩具展 我將設形象區';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '第一金董座 人選依舊難產';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '《理財Q&A》養殖魚塭過戶 免徵贈與稅';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '油價續漲產業前景看俏 太陽能神氣';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '32吋液晶電視面板 上半月跌10美元';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '世仰12月營收成長187％';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '大單湧至 汽車零組件爆漲聲';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '亞洲第4 三星市值突破千億美元';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '外資加碼錢進台股141億';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = 'EPS傲人 至上倍微 逾3元';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '《期指觀測站》多單進場 宜設停利點';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '6300萬支 華寶 手機出貨量調高';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '液晶電視控制IC 聯發科 新鮮貨有錢景';
	rows[12].link = 'today-stock13.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(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 = '賀一航 庹宗康上網搞自爽';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '舊情綿綿慶百集 江祖平病未出席';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '蔡依林先下手 搶到J1';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '布蘭妮 潔西卡 雙人床有空位';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '阿湯哥年撈36億 7度衛冕吸金王';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '警破毒窟 巧遇9人買毒';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '現勘雪山隧道 消防栓沒水';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '跨越4縣市 大破私酒廠';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '中國蜜餞 多黑心貨';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '圖利PHS？ 議員都說沒有';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '學府路放行 樹林4分鐘上福高';
	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 = '捷運蘆洲支線訂98年通車 新莊線至少延2年';
	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(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 = '庭禾商行捲款潛逃案 2嫌稱周轉不靈出下策';
	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 = '非法擁3槍 3犬當眼線';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '社會傳真／祝融夜訪 鐵皮木材工廠全毀';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '歹徒衝年關 詐騙一籮筐';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '遊藝場 查扣百餘台賭博電玩';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '大林民宅氣爆 盲眼算命師命危';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '一家4口殺人案 檢方再提聲押 法官還是駁回';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '處理會車糾紛 意外查到槍';
	rows[4].link = 'today-center5.htm';
	rows[4].type = '社會傳真';
																										
	rows[5].text = '偷水晶避邪 憂鬱婦判緩刑';
	rows[5].link = 'today-center6.htm';
	rows[5].type = '社會傳真';
																										
	rows[6].text = '喝酒不爽槍傷人 嫌犯投案';
	rows[6].link = 'today-center7.htm';
	rows[6].type = '社會傳真';
																										
	rows[7].text = '樁腳買票？翁金珠重申清白';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會傳真';
																										
	rows[8].text = '男童悶死案 家屬同意分期賠';
	rows[8].link = 'today-center9.htm';
	rows[8].type = '社會傳真';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '車商帶槍上酒店 呼…是假槍';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '警民聯手 破獲偷電纜線集團';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '她們，有愛心 扶助困難孩童';
	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 = '尋人高手 2天找回1人';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '越南3女 來台疑涉不法';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '督察長張林 否認警方處理不當';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '社會傳真／馬公觀音亭 發現一女浮屍';
	rows[8].link = 'today-south9.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '為馬主席反黑金獻策';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '《黃天麟專欄》積極管理 股市萬歲';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '新台灣之子認同感';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '失去尊嚴的健保人';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '拒絕熊貓來台';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '藍污之多少';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '媒體改革仍需努力';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '新聞也該分級';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '問題在教師地位';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '老師別怕零體罰';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '跨年晚會窮開心';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '西瓜族立委';
	rows[11].link = 'today-o12.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 = '國產SUV<br>未來式大預演';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '逛街是最美好的運動';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '2006美國CES開展 人氣回溫';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '竟然 這樣教育下一代';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '有性感個性<br>才能得到性福';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '帶印度人吃咖哩餐';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '快樂 在小天地裡';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
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';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(12);
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 = '托爾金與淡墨會';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '百年傳奇新聞社熄燈<br>「芝城新聞社」走入歷史';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '當詩刊遇見插畫大師<br>Gary Baseman為《詩》月刊跨刀';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '冷血人生 謎樣卡波提';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '魔幻寫實 經典重現';
	rows[9].link = 'today-article10.htm';
																										
	rows[10].text = '政治思想史的哲學啟發';
	rows[10].link = 'today-article11.htm';
																										
	rows[11].text = '新聞短波';
	rows[11].link = 'today-article12.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 = '2006春夏 新裝潮流<br>打造女人美麗性感最IN指標';
	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 = '文字釋放欲念<br>作家張曼娟出版《妖物誌》';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '瑪莎葛蘭姆舞團再度訪台<br>首席舞者許芳宜領軍';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '造勢加配套 北美館夜間開放有成效<br>博物館假日夜晚 不再等無人';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '橄欖色屋頂公寓305室<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';
}