//===========================================================================
//基本設定
//==================== 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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '施轟辜寬敏台奸 批高俊明拿人手短';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '辜：施像瘋狗 高：施黑白講';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '施批陳家政權比蔣家還不如';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '總統府：拿扁比蔣家 不倫不類';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '倒扁總部今發動員令 民進黨禁反制';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '遊行路線補件 綠營批依馬行事';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '立法防貪腐 馬英九推陽光四法';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '民進黨：何不成立廉政局';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '黨產問題 也要攤在陽光下';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '黨產公投 蘇揆籲速組審議會';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '馬：選區劃分法未過 不會貿然倒閣';
	rows[10].link = 'today-fo11.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '66架F-16 將全數在台組裝';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '誣指阿扁炒股 邱毅判刑四月';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '國務機要費案 總統府：扁8.7已向檢方說明';
	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 = '蘇揆衝政績 推5旗艦計畫';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '呂王再聯手 展開救貧大作戰';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '日日春轟掃黃 逼弱勢走絕路';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '王游會、王馬會 今先後登場';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '救黨庫 綠恢復公職募款制';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = '拚經濟 藍推國家競爭論壇';
	rows[12].link = 'today-p13.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 = "紀子妃生男  暌違41年 日皇室添丁";
	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 = "內閣7人辭官 逼退布雷爾";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "甘肅鉛中毒 逾8百人送醫";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "半癱16年 奇蹟站起來";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "《中英對照讀新聞》Hedgehogs humble McDonalds 刺蝟讓麥當勞低頭";
	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 = '12小時3度失火 第3把火 燒死1家4口';
	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 = '七堵靜修寺 戒毒非常手段';
	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 = '愛心柚農 逾半收成做公益';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '港女富商 退學費勝訴';
	rows[14].link = 'today-so15.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '大學不當收代辦費 教部令退費';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '翰林課本頁數 比樣書少1/4';
	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 = '雪隧速限放寬 超過80才罰';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '發現霜毛蝠 台灣特有亞種';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '和死神搏鬥5小時 建中生順利換心';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '虎牙化石 誰先撿到？爆爭端';
	rows[9].link = 'today-life10.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '參加亞運？建仔婉拒';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '山塔納 率先17勝';
	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 = '張賢智擋關 象2連敗';
	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 = '《IPT世界8號球公開賽》總獎金近億 夏揮凱孤軍奮戰';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '81分小飛俠 今訪台';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '魏聖美戰群雄 無懼色';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '世界盃羽賽 爆國手自費說';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '亞足資格賽 台灣一勝難求';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '《美國網球公開賽》楊柯維琪率先4強';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '捐贈造假逃稅 最重判5年';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '露天市集挑戰Yahoo!拍賣';
	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 = 'DHL擴大規模 10億元深耕台灣';
	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 = '1300億優惠房貸 可能展延';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '英特爾裁員1/10 計1.05萬人';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '全球經商環境 新加坡第一名';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '讀者投訴 中信銀旅遊不便險 理賠多曲折';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '卡債族 可望聲請更生、清算';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '流浪教師楊慧玉 拈花惹草換跑道';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '外資回流 買超台日股市';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '日股蓄積上漲 市場喊進';
	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 = '槓桿指數型ETF 賺賠以倍數計';
	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 = '旺季發酵 被動元件廠營收吃香';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '太陽能模組報價持平 市場訝異';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '華宏、福華月績撐竿跳';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '歐股午盤跌 香港重挫';
	rows[11].link = 'today-stock12.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '收郵包炸彈  投信副總斷3指恐瞎';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(17);
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 = '言承旭日本淘金 櫻花妹擠爆機場';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = 'Hebe陪周董到基隆 跟飛輪海對嘴唱';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '任達華為杜琪峰 放逐2天變一個月';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '李康生肚子被抹油 硬ㄍㄧㄥ不笑';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '泰國天后Tata Young 心碎祝福宏淇戀';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '吹牛老爹一砲雙響 貝嫂懷孕爆烏龍';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '裴帥鞏固國內盤 權相佑出走海外';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '中村酒駕認錯 拒談婚變';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '長澤雅美單挑澤尻 搶當化名歌手';
	rows[16].link = 'today-show17.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》儘速通過陽光法案消除法律灰色地帶';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》惦惦才是上策';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》倒扁運動的真面目';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鳳梨酥金賞 佳德口味讚';
	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';
																										
	rows[8].text = '參選人競選看板 未申請者全部拆';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '湧蓮寺舊倉庫 清朝古碑見光';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '八里文旦柚 美味搶先訂';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '藝術家+學童 碧潭入畫';
	rows[11].link = 'today-taipei12.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
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 = '沒大人照顧 11歲女童帶3歲弟蹺家';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '載瓦斯筒抽菸引爆 男子獲不起訴';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '竹東彎路死角 卡車輾死小學童';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '經過公墓有人叫他 老翁擦撞摔倒不治';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '《社會傳真》機場汽車音響竊嫌 被警逮捕';
	rows[8].link = 'today-north9.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '車手自爆黑吃黑 提款被搶、收到假鈔';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '台鐵林內站築圍籬 阻斷逃生路';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '沒有排水溝 磚瓦窯部落逢雨必淹';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '湖子內區段徵收 傳農民搶種花卉';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '營養午餐 投縣業者攻佔';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '鹿港第一市場 可望光鮮亮麗';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '8月全縣人口數 15年新低';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '封路施築下水道 商家被迫關門';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '治安大家談 市警局擬請民眾見證';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '台大醫院募款 助貧童就學';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '籌設敏道家園 王金平拍廣告勸募';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '引進綠手指 員林都計案過關';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '無醫村 北中寮7個村沒有診所';
	rows[12].link = 'today-center13.htm';
																										
	rows[13].text = '體育課學游泳  石岡學童好樂';
	rows[13].link = 'today-center14.htm';
																										
	rows[14].text = '洲際盃棒球賽 邀建仔代言';
	rows[14].link = 'today-center15.htm';
																										
	rows[15].text = '鳳梨酥發源於台中市 業者促市府選拔天下第一酥';
	rows[15].link = 'today-center16.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '縣長信心喊話 阿蓮農會風波平息';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '太陽能車拉力賽 台灣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 = '小心 毒魚資訊 澎水族館提供';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '《綜合剪輯》軍人行搶';
	rows[7].link = 'today-south8.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台灣雞蛋 中國籃子';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '駁施明德';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '高俊明牧師 你錯了';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '美國與台灣人民';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '國語人 台語人';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '文化扎根 從小做起';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '民眾就醫安全空間';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '台中鳳梨酥';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '公傷認定';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '外交盲點';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '留下企業之道';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '施明德恩將仇報';
	rows[11].link = 'today-o12.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '萬元乳霜 高價臉蛋';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '哥德飾品勿閃 粗獷不宜';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '膨脹中的論壇力量';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '200萬以上等級 3大豪華柴油SUV';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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-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';
																										
	rows[4].text = '頭皮護理 從洗頭開始';
	rows[4].link = 'today-family5.htm';
																										
	rows[5].text = '學做月餅囉';
	rows[5].link = 'today-family6.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 = '新式多焦水晶體  術後看遠看近皆行';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '名家奏鳴曲';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '預知新書紀事 秋季名家力作紛紛登場';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '黑如鬼．甜如戀．熱如地獄<br>東京銀座咖啡PAULISTA';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '政治與漫畫掛帥 法國夏日出版鬧熱滾滾';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '平、靚、正的藝術饗宴';
	rows[4].link = 'today-article5.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '沒有非常特殊的人選？<br>NSO 音樂總監延期出爐';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '追尋毛澤東歷史定位';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '驫舞劇場新作<br>《樓梯》尋找新舞蹈語言';
	rows[2].link = 'today-art3.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';
}