//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('週末生活版'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.ntat.gov.tw/" target=_blank>台北市國稅局</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(14);
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 = '黨產公投可望2階段連署';
	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 = '國務費案起訴 引發有損總統刑事豁免權爭議<br>專家：應不受理判決或提釋憲';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '新聞評論／國民黨果然玩假的！';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '迴避敏感議題 李暢談精神品格';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '回擊特別費案馬決設快速反應小組';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '立委要馬有空「喝兩杯 」';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '廉能會 6人小組查馬英九';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = 'ＡＢ排馬計畫？ 馬王：沒聽過';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '綠：內衣發票主將被約談';
	rows[11].link = 'today-fo12.htm';
																										
	rows[12].text = '葉宜津否認操作制度殺人助扁';
	rows[12].link = 'today-fo13.htm';
																										
	rows[13].text = '法取消特別費 改為加薪';
	rows[13].link = 'today-fo14.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 = '謝簽10承諾 郝宋批申奧是幻想';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '陳菊5分身掃街 黃俊英運將相挺';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '澎縣議員陳富厚健康為由 辭職';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '北市長選將 週日辯論6議題';
	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 = "數千流亡藏人抗議胡錦濤訪印";
	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 = "21歲大學生部落格 媒體大老搶著看";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "民航機座艙 擬裝安全氣囊";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "《中英對照》$200 Million Lottery Winner Really Loves Wal-Mart2億美元彩金幸運兒真愛威名百貨";
	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 = '熊隊5球員涉接受招待';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '劉邦友案 兇手疑與幫派有關';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '學姊弟看A片 邊看邊3P';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '禍從天降／50歲電桿 砸死43歲騎士';
	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 = '環保收藏家 瓶罐上萬支';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '人生悲喜曲 書發82故事';
	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(11);
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 = '舊香蘭遺址  首見黃金加工業';
	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 = '46天無補給台灣第一人 中央山脈大縱走 黃魏慶獨行';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '網路秀菸盒 罰！';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '教練獎金恢復 最高450萬';
	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 = '小笠原轉巨人 20億日圓最快今到手';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '小熊 44.8億綁索利安諾';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '費天王 10全10美的一年';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '馬戲團魔咒 公牛4連敗';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '馬刺擒王 客場5連勝';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '不滿裁判吹判不利姚明 范岡迪遭罰825萬元';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '職桌年終總決賽 莊智淵取得門票';
	rows[10].link = 'today-sp11.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 = '保德信預估 台股2年內重返萬點';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = 'IM閒聊 網路公司也喊禁';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '大型連鎖家居通路 決戰南台灣';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '台元科技園區 IC設計公司重鎮';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = 'Q3對外證券投資淨流出 單季次高';
	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';
																										
	rows[10].text = '顏慶章談WTO論文 上國際圖書';
	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(15);
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 = '投資新興市場 ETF績效驚人';
	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 = '捐紅利點數 聯邦銀加碼做愛心';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = 'Q4不旺 繪圖卡榮景看下季';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '高盛點名 聯發科、瑞昱明年會紅';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = 'NB三雄 月績可望再登峰';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '面板漲勢告終 旺季提早結束';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '嫁入豪門 普立爾風光下市';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '外資持股33.6％ 總值破六兆';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = 'Q4旺季 網通股營收亮麗';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '岳豐投入乙太網路領域';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '歐股午盤跌 日港重挫';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '股訊要覽';
	rows[14].link = 'today-stock15.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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '愛當大聲婆 亂爆蕾絲情<br>Hebe扯同掛 拖王心凌下水?';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '舞孃Jolin超猛 力拚聯結車司機';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '東瀛歲月35年 歐陽菲菲 歌壇台灣之光';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '周日偶像劇變天 花樣Ella收視飆 Lara愛情被動搖';
	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 = '橘慶太單飛開唱 W-inds.來打氣';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '布蘭妮賭運擋不住 瘋夜店情場劈腿';
	rows[10].link = 'today-show11.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 = '為丹丹籌款 兩百萬元贖身 僅剩3天';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '百貨公司突檢  2家不合格';
	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 = '擋人廣告？4大王椰子樹慘斷頭';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '來台奔喪滯留13年 變按摩男';
	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 = '修復古蹟 竹縣修8處一半漏水';
	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 = '認養互動娃娃 9生累翻快瘋了';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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-center1.htm';
																										
	rows[1].text = '罹患下咽癌 他們組合唱團「聲教」';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '偷襲麵店老闆娘三點 老翁判6月';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '50輛救護車 穿梭國道救人';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '夜襲利器 警添新型夜視鏡';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '大台中明起四天分區供水';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '師生折鶴默禱 盼曉鈴早日康復';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '烏魚殼賤如土 盼輔導加工';
	rows[7].link = 'today-center8.htm';
																										
}
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 = '建仔代言世運 真愛碼頭今簽約';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '市府運動會 23日起競技';
	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(11);
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';
																									
}
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 = '保養 SPA 美麗新鮮事';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '雙B 高檔柴油車 新風潮';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '月子餐 油膩加乘 產婦卡油';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '產後調理 現代新煮張';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '更年期令人不適 適宜療法不能少';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '滿口假牙不清潔 照樣惹來牙周病';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '關懷加包容 幫忙掃除憂鬱';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '肝病開刀後調養<br>多補充蛋白質 別忘追蹤複診';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '我常去的倫敦書店-下';
	rows[0].link = 'today-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 = '《最後一匹人頭馬是怎麼死的》';
	rows[6].link = 'today-article7.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
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-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';
																										
	rows[5].text = '中寮雅石靈動新生命';
	rows[5].link = 'today-art6.htm';
																										
	rows[6].text = '來聽媽媽說故事';
	rows[6].link = 'today-art7.htm';
																										
	rows[7].text = '台灣寺廟之美  東瀛閃亮';
	rows[7].link = 'today-art8.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
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 = '韓流外一章 江原道5大新鮮體驗';
	rows[0].link = 'today-travel1.htm';
																										
	rows[1].text = '新加坡航空大玩新花樣';
	rows[1].link = 'today-travel2.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}