//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '七星水利2基金會 公產變私產';
	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 = '購地弊案 許財利被求刑8年';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '檢調認定 簡水綿是趙建銘人頭戶';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '第一親家 恐難全身而退';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '台開案傷害大…趙建銘主動退黨';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '陳幸妤氣炸 一度幾不能原諒';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '綠委：趙父如陳哲男第二';
	rows[8].link = 'today-fo9.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 = '首部國安報告 未訂直航時間表';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '施政民調 扁滿意度16% 蘇48%';
	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 = 'NCC年底目標 取締半數地下電台';
	rows[9].link = 'today-p10.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 = "佛州獵人 擒272公斤巨鱷";
	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 = "《中英對照讀新聞》Kids' incontinence may affect psyche, behavior 孩童尿失禁可能影響心理、行為";
	rows[6].link = 'today-int7.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 = '假結婚掩護 不乏解放軍';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '不服管教 中國漁工大鬧岸巡';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '獵人遭分屍案 主嫌黃旭弘落網';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '陳氏家屬返越 堅信公道終還';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '誇張！垃圾車連人帶車 掉貯坑';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '斧頭幫闖民宅 劫財傷人';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '南市警政大樓工程 爆行賄弊案';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '窮人幫窮人 癌媽社工樂助人';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '腦麻志工 回饋家扶獻愛8年';
	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 = '花式調酒冠軍   古惑仔調出彩色人生';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '83歲老阿公  掃步道5年風雨無阻';
	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(9);
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 = '寶寶偏食 8成家長矯枉過正';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '郭瑤琪批 高鐵造鎮政策錯誤';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '氣喘手機照護 醫護如影隨行';
	rows[8].link = 'today-life9.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '建仔3連勝';
	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 = '巴塞隆納 再抱歐冠盃';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '大帝出擊 三勝活塞';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '馬刺險勝 保住生機';
	rows[8].link = 'today-sp9.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 = '美股債慘跌 全球股市遭殃';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '外資賣超198億 今年新高';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '海外投資 宜先觀望';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '米塔爾200億歐元收購阿塞洛';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '今年經濟成長率 上修至4.31%';
	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 = 'ETF特許制 研議解除';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = 'CPI年增率預估 上調至1.76%';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '紐約原油 跌至68美元';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '砂石即採即售 下月起實施';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '92-94年 CPI平均漲1.2%';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '兒童保單 投資還本選擇多';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '熱錢匯出 台幣急貶2.79角';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '股市拖累 亞洲貨幣齊貶';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '美議員擬重提懲罰性關稅案';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '《理財Q&A》買基金免手續費 未必划算';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = 'IC設計 今年比去年辛苦';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '茂矽明年跨足太陽能電池';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '裕隆車新店B廠 年底開發';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '華碩NB熱賣 Q2季增4成';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '惠普財報亮麗 同業備感壓力';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '鄭崇華：CCFL仍有5年榮景';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '外資券商看空 面板股慘跌';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《期指觀測站》美股、外資走向 觀盤重點';
	rows[12].link = 'today-stock13.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '利誘酒女假結婚 引進百餘大圈仔';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '120億 披頭四保羅離婚 付史上最貴贍養費';
	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 = '12歲紗綾挺F奶拚人氣';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '陳秋霞為愛女 聲援張智成';
	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 = '10大肇事路段 淡金公路18km居冠';
	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 = '截肢抗癌 單腿舞動人生';
	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 = '欠3萬討38萬 押夫婦逼人父';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '錢莊裝茶莊 暴力討債4人判刑';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '機場噪音補助弊案 帶回3商漏夜偵訊';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '推拿坊造槍 1年多來3度被剿';
	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 = '菸酒配銷處丟菸 嘉警逮3嫌';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '這款惡鄰！性侵2歲半女童';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '結繩攀高鐵橋樑偷電線 3嫌栽了';
	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(7);
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 = '危急！ 春星公司鹽酸外洩 3人嗆傷';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '繳罰單、買電腦 2女大學生賣淫';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '詐領健保才起訴 杏林醫院救護車出事判賠';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '麗星郵輪雙魚星號擦撞 延誤出港';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '飲料舖颱風夜遭槍擊 疑債務糾紛';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '毒蟲弟弟偷相機買毒 胞姊報警';
	rows[6].link = 'today-south7.htm';
																										
}
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 = '愛台VS.挺扁';
	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(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	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-weekly1.htm';
																											
		rows[1].text = '來杯午茶 享受輕鬆午后時光';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '牯嶺街書香市集 歡樂創意飆週末';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '市集好好玩  舊書街風華再現';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '巧思無限流洩 特色攤位各秀奇招';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '逛完市集 找尋隱身巷弄好滋味';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = ' 美食作家陳念萱  一筷一鍋料理哲學';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '新世代小生彭于晏 就愛T恤隨興搭';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '小空間除濕好幫手 鞋櫃 衣櫥 不再長香菇';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '3大對策跟油頭說掰掰!';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '青春正盛 腋下有異香';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = '別讓我得到好人卡';
		rows[11].link = 'today-weekly12.htm';
																											
	}
	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';
}