//===========================================================================
//基本設定
//==================== 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','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 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(12);
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 = 'SOGO案 扁：關心債權 不關心誰接手';
	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 = '查資金 檢方借提陳哲男、梁柏薰';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '邱毅咬馬永成：涉關說阜東吸金案';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '馬永成駁：若識當事人願辭職';
	rows[11].link = 'today-fo12.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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';
																										
	rows[7].text = '新聞透視／北市誰能出線 馬首是瞻';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '謝系組團赴美 否認勸謝選北市長';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '憲改版本 民進黨團大會激辯';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '王美心哪去了 雲科大促13日現身';
	rows[10].link = 'today-p11.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-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 = "日高速渡輪撞鯨 93人受傷";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "澳商受海珊賄賂案 總理願作證";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "雷射新療法 治肥胖症狀";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "迦納翻船120人死";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "印度大火 恐百人死";
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = "反新移民法 美人上街頭";
	rows[9].link = 'today-int10.htm';
																										
	rows[10].text = "巡邏北極區";
	rows[10].link = 'today-int11.htm';
																										
	rows[11].text = "《中英對照讀新聞》Loneliness linked to high blood pressure in people over 50 半百孤寂人易患高血壓";
	rows[11].link = 'today-int12.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '43歲要娶13歲 29歲母怒告官';
	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 = '闖郵局挾婦人 惡盜44秒劫28萬8';
	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 = '攜子燒炭2子亡 爸媽分判11年';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '奪命PMMA 比搖頭丸更毒';
	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 = '一碗麵回響／300萬信託 魏爸爸:別再捐錢';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '原民小媽 上網M回中輟生';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '截肢不服輸 玩吸管藝把罩';
	rows[14].link = 'today-so15.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 = '勞保強制投保年齡 擬延至65歲';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '個人破產法定案 隱匿財產可判3年';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '卡債風暴 未來三個月密切觀察期';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '聯國2008停用正體字？一場烏龍';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '杜正勝：台灣學校不教簡化字';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '「大嬸婆」 美國小學生讀得到';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '教部砸兩億 搶救技職生';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '哈佛台灣同學會 爆改名爭議';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '桃竹苗暴雨 路坍人困溪暴漲';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '高麗菜、番石榴 超產賤價';
	rows[9].link = 'today-life10.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 = '《美國名人賽》米寇森 封王';
	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 = '5000轟 誰屬？';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '單季105轟 熊挑戰暴力鷹';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《職撞大賽第一站》陳英傑 惦惦晉四強';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '快艇觸礁 太陽穩坐西城老二';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '《大運會》鳴笛NG 分批落水 決賽重來';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '《大運會》跳級踢金 宋玉麒好樣的';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '高球爭議已歇 網上還在蔓延';
	rows[12].link = 'today-sp13.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 = '開發金 中國商銀想缺席 財部不准';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '鋼筋再漲500元 搶料熱潮再起';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '《國情密碼》房產景氣 可持續到2010年';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '國營事業今年獲利 創5年新低';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '國科會與英特爾 產學合作';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '遠雄4年內將推案1萬戶';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '政策房貸 利率逼近3%';
	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 = '三星與SONY合建8代線';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '廣輝33.9％ 創新高 友達僅4％ 陪末座';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '鴻海1747億 穩坐龍頭';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '汽車零組件 Q1外熱內冷';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '國巨Q1營收 創5年來新高';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '《期指觀測站》獲利賣壓重 短期難大漲';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '《國際股市》歐股漲跌互見 日泰下挫';
	rows[11].link = 'today-stock12.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '陳唐山：爆料不實 敢不敢退出政壇';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鞏俐蛇纏老外 北京忘情親啄';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '嚴淑明罹乳癌 拒絕割奶植義乳';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '隆乳再抽掉？蕭淑慎大笑：對啦';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '周迅勾搭吳彥祖 李大齊怒拆野鴛鴦';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '關錦鵬花落風流 四角關係巧安排';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '全智賢等待Mr.right 不重外表憑感覺';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '蔡依林告別周董 有傷痛';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '言承旭不是Gay啦 黃立行白目闢謠：他摸我屁股';
	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 = '4A自由創意王 今出爐';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '何平2分鐘 燒掉200萬';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '趙顯宰強壓Rain 高麗妹搶著嫁';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '哈士奇極地長征 稱霸台北';
	rows[13].link = 'today-show14.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》政治不歸政治 經濟不歸經濟';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》藍色檢察總長？';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》中國崛起的新戰略';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '街貓結紮 大安新龍里錦安里下月試辦';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '羅斯福公車道 議員再批擾民';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '列歷史建築 滬尾小學校有望';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '國小低年級下學期起實施 縮減英語課 加強國語文';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '背巾幫忙 餵奶好自在';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '兇狠金光黨 騙錢搶金鍊';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '21盞路燈 八連二抽水站浪費公帑';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '捷運站前開發受阻 淡水鎮長建議先美化';
	rows[7].link = 'today-taipei8.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '改裝車飆速撞車 血淋淋警惕';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '為友人攜藥入境 涉運毒送辦';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '妻染毒癮 丈夫獄中訴離獲准';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '姊弟戀想不開？ 男子燒炭自殺';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '桃園傳有刺針怪客 警方闢謠';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '偷老闆媳婦內衣褲 男子被訴';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '社會傳真／喝醉過馬路被撞 一死一傷';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '狠！ 要不到錢 叔叔潑酸砍姪子';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '泰勞醋翻 酒後刺死情敵';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '色男誘拐 性侵多名少女';
	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 = '〝撞〞況連連--車撞巨石 七旬夫婦赴黃泉';
	rows[5].link = 'today-center6.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 = 'FAM音樂藝術聯盟 創藝文風潮';
	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 = '高捷六標案開庭 傳喚6證人 釐清採購法';
	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 = '你的祖先真來自中國？';
	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 = '零心機 純潔';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '熱門曲風吹起 時尚衣調';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '6百萬畫素相機 功能小改更實用';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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 = '動物嘿咻大觀';
	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 = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '胰島素<br>釐清疑惑 不要排斥';
	rows[0].link = 'today-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';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '觸覺';
	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';
																										
}
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 = '旅美台灣畫家  雙張粉彩聯展';
	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 = '日本 飛鳥Ⅱ 溫馨出航';
	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,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';
}