//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('週末生活版'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(8);
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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'APEC領袖會議 亞太自貿區 我力促實現';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '美積極鋪路 FTAAP今年定準則';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '政治阻力大 FTAAP短期難上路';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '經部專責窗口 繳出成績單<br>回流投資 400台商表態';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "賓拉丹病重？伊朗培植開打接班人";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "小鷹號案 美軍坦承未察中方跟蹤";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "紅肉致乳癌 日吃1.5份風險增1 倍";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "吉他「裝」上身 音痴變身搖滾客";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "沙烏地阿拉伯 全球暖化禍首";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "美研究︰全球森林 逐步復原中";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "伊拉克教育部遇襲 逾百人遭挾";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "自殺預告信效應擴大 日束手無策";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中英對照讀新聞》Egyptian women protested against mass harassment 埃及婦女抗議集體騷擾";
	rows[8].link = 'today-int9.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '愛滋紅牌妓 5年接客逾萬人';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '職棒恐嚇案 中間人小龍投案';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '電玩店赫見遭查扣機台';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '砍殺雇主婆媳 越傭跳樓自殺';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '薑母鴨醉人 國道逆向肇逃';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '請人嫖會衰! 醉刺友人';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '籌錢栽培女兒44歲應召被逮';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '賣竹筍包 還清千萬債務';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '失敗為成功之母 終得齒留香';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '簡訊 千里音緣 聽障 譜出新聲';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '愛的回響／愛心信封湧入 創作更添動力';
	rows[10].link = 'today-so11.htm';
																										
}
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 = '手握蒙恬筆 e筆書法盡情揮毫';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '8學者榮獲湯姆森卓越研究獎';
	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';
																										
	rows[10].text = '讓他們活下去 三大團隊聯手';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '往事不堪回首 15鬥士籲戒菸';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '排放VOC 樹木也會空污';
	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 = '晉4之路難度高';
	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 = '紅襪簽松&#22338;? 今晨揭曉';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '古巴射日 唯一不敗';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = 'NBA／騎士踢館踹尼克';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = 'HBL／陽詩慧領軍 普門晉8';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '小球迷惡作劇／36顆球「鬧翻」足球場';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '《格蘭盃女網賽》詹詠然挺進16強';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '《年終8強名人賽》費德爾逆轉勝';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = 'APEC會前 我與越、墨雙邊會談';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '日本除外 東亞明年經濟成長略降至７．３%';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '持股低落 兆豐金併台企銀近破局';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '我醫療業產值 ２００９年７７２４億';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '僑銀工會 考慮下月底罷工';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '中華銀擬賣股給卡萊爾';
	rows[6].link = 'today-e7.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 = '風險屬性測驗 投資先驗DNA';
	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 = 'Nasdaq指數創新高／大型股、科技股續航力 市場看好';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '企業登玉山熱 員工必修學分';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '特力娶東隆 何湯雄：時機恰當';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '英特爾 推出四核心處理器';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '光寶現金減資三成 併購力信';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '南科：DRAM合約價 本月續上漲';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '換機潮啟動 NB類股揚眉吐氣';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '力晶GDR折價6% 買盤仍湧進';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '華映、彩晶Q4可轉盈 友達評等遭調降';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '5代線年底量產 展茂錢景轉佳';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '貨櫃三雄Q4獲利難樂觀';
	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(15);
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 = '碧昂絲不搞蕾絲邊 熱舞掀底褲';
	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 = '范逸臣NG20次啵累 陳怡蓉水龍頭枯等';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '電視金鐘獎 透視準帝后 林佑威李佳穎 自謙拿獎不夠格';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '廣告看板悄悄被換掉 幼齒丁小芹 擠掉蕭薔裝貴婦';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '李莞抱得很徹底  交杯喝珍奶';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '李莞來台初體驗  溜冰姿勢100';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '季芹週日剖腹 王仁甫飆淚';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '上空歌舞秀 12月來台獻藝';
	rows[14].link = 'today-show15.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(6);
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';
																										
}
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(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 = '蔬果供應足 產地價低迷';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '最慢明年七月 縣公車處公司化';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '3650g子宮肌瘤 破世界紀錄';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '921地震景點退燒 荒草蔓蔓';
	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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '盜油 屏縣查獲1公里海上油管';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '恆春晚上看急診 常等1、2小時';
	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 = '應徵夜店公關被騙178萬元 雙親討公道 騙徒還耍狠';
	rows[6].link = 'today-south7.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 = 'Wal-Mart健保新招';
	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 = '’06-’07 NBA最殺球星戰鞋大公開';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = 'Car of The Year<br>2007年歐洲風雲車揭曉';
	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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '流感疫苗接種難題';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '自然產 不一定要剪會陰';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '孕婦Ｂ肝發作 無致畸胎性藥物亮相';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '類風濕性關節炎 止痛別忘留住骨本';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '腎癌標靶藥物 肝癌化療新選擇';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '公文紙超利害 也會割破眼角膜';
	rows[5].link = 'today-medicine6.htm';
																										
	rows[6].text = '心臟斷層掃描  減少白做心導管機率';
	rows[6].link = 'today-medicine7.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(8);
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';
																										
	rows[7].text = '愛讀書《那年，我們愛得閃閃發亮》';
	rows[7].link = 'today-article8.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 = ' 屏風表演班20週年 《女兒紅》撼動重現';
	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(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;
}
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';
}