//===========================================================================
//基本設定
//==================== 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(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '警驅離 紅軍問：施你在哪';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '警署堅持淨空 馬下令驅離';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '圍攻觸法19件 將函送18人';
	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 = '綠委指控連戰特別費 自肥1188萬';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = 'APEC邀請函 越南遲未送來';
	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';
																										
	rows[13].text = '華府雙十國慶酒會順利';
	rows[13].link = 'today-p14.htm';
																										
	rows[14].text = '參選北市長 宋楚瑜17日宣布';
	rows[14].link = 'today-p15.htm';
																										
	rows[15].text = '涉偽造文書 蔣孝嚴獲緩起訴';
	rows[15].link = 'today-p16.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "伊朗穆斯林 火攻丹麥使館";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "金正日若垮台 中、韓憂區域失衡";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "北韓放話 制裁視同宣戰";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "國會議員吸毒 義TV秀踢爆";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "美落跑新娘 控未婚夫侵占";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "人口破3億 美禍福難料";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "Stop, I've been stolen! Mobile phone system sounds alert 停！我被偷了！手機系統發出警訊";
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-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 = '1000元的約定 每月農曆20日善心報到';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '送餐志工 笑看悲情人生 一家4口3人身障 勇母不低頭';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '父病許願義剪 父亡不停願';
	rows[8].link = 'today-so9.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '人體有液態快樂丸成分 避免驗毒誤判 衛署擬訂GHB標準值';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '學者憂心：屢傳新滲水點 雪隧恐全面性滲水';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '本報離島水泥化系列報導 榮獲曾虛白新聞獎報紙報導獎';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '油價降兩角 消基會嗆中油';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '國內判決首例 社區迫遷 關愛之家得搬家';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '衛生單位 將協助維護合法權益';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '法界議論 住戶患者權利難兩全';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '國際趨勢 讓愛滋病患回歸社區';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '高校撞名 教部將要求改名';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '體脂計抽檢 6樣品4件無許可證';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '珍稀台灣狐蝠 花蓮現蹤';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '獵戶座流星雨 21日大放異彩';
	rows[11].link = 'today-life12.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '鯨明年解散？ 林敏政否認';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '象頭異動 週日開始秋訓';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '張賢智、劉芙豪 10月投、打MVP';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '老虎ＫＯ齊托';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '托瑞 A-Rod都留下';
	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';
																										
	rows[9].text = '怪物松&#22338; 耐投少傷';
	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 = '亞洲足球先生進2球';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '替補球員神準 76人射日';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '達維丹可連闖2關';
	rows[14].link = 'today-sp15.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
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-e1.htm';
																										
	rows[1].text = '銀行衝房貸 貨比三家省利息';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '網購奢華風 業者也心動';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '台灣女富豪比率 亞太第一';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '美容手術 不列入保險給付';
	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 = 'PCB「黑手」產業 航向新藍海';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '強盛染整 提升技術繼續強盛';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = 'MOTO行動通訊總座 頂著業務冠軍光環就任<br>盧健生從細節經營業務';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '9月出口 首度突破200億美元';
	rows[11].link = 'today-e12.htm';
																										
	rows[12].text = '北韓核試陰霾 台幣大貶1.97角';
	rows[12].link = 'today-e13.htm';
																										
	rows[13].text = '財部︰新光金想併第一金 先插旗沒用';
	rows[13].link = 'today-e14.htm';
																										
	rows[14].text = '日圓對美元貶值 十個月新低';
	rows[14].link = 'today-e15.htm';
																										
	rows[15].text = 'NCD贈子女 補稅罰鍰600萬';
	rows[15].link = 'today-e16.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鴻海月績破887億 傲視同業';
	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 = '萬泰銀前9月 虧損高達48億';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '台股上7,000點 法人看好後勢';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '益通、茂迪 獲利大不同';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '歐股午盤跌 日本下挫';
	rows[7].link = 'today-stock8.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(12);
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 = '拍戲不戴帽 小型賽車欠保障<br>蔡宜臻腦震盪 鄭元暢冰敷惜惜';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '白歆惠穿香奈兒 扮Prada惡魔';
	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 = '蕭亞軒含淚復出 拒貼Jolin公主標籤';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '釜山影展今開幕 7國片爭光';
	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 = '亞瑟小子感冒封嗓 芝加哥險拆台';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = 'Rain年底巡演 全球吸金37億';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '木村痛踩福山雅治 人氣奪冠';
	rows[11].link = 'today-show12.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 = '冷氣工墜樓 4歲稚女哭找父';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '貓卡提款機 套繩解圍';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '免收據的特支費 逾7成首長領光光';
	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 = '1銀行2地址 服務跨台北桃園兩縣';
	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 = '凌虐性侵陪酒少女 酒店老闆判16年8月';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '律師為狼強辯：女童共浴色誘';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '持刀性侵女 已婚男被捕送辦';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '找不到仇家 亂砸車洩憤';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '警扮被害人家屬 智擒擄人勒贖 嫌';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '醉警吐一車拒賠 砸計程車鬧進警局';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '疑似賽鴿欠債 男飾店遭槍擊';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '《社會傳真》姊妹花逃家1個月 竹警尋獲';
	rows[8].link = 'today-north9.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '7孟加拉虎 林務局沒入安置';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '涉殺警逃亡 16年 王信福收押';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '漂泊女到處偷 1年犯205案';
	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 = '持刀嗆母炒菜 逆子判8月';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '連續強盜殺人 陳志宏求刑20年';
	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';
																										
}
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 = '紅衫軍獻醜 南社：調整親紅教育政策';
	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 = '高市25條捷運接駁公車路線 釋出民營';
	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(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '4米6級距新戰場';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '女人 請運動';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '魔鬼vs.天使代言人';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '家具遇上Polo衫';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = '3.5G現身 HSDPA網卡、手機 高速登場';
	rows[4].link = 'today-fashion5.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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 = '百貨週年慶 搶好康我最行';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '自慰有高潮 做愛卻沒';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '哥哥「弟弟」變斜塔';
	rows[2].link = 'today-family3.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
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-medicine1.htm';
																										
	rows[1].text = '新式健康操<br>短時間達到一天運動量';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '肺炎鏈球菌疫苗<br>寶寶滿兩個月就能注射';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '自費接種流感疫苗 可能拖到下月中旬';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '離婚 別忽略對孩子的傷害';
	rows[4].link = 'today-medicine5.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
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-article1.htm';
																										
	rows[1].text = '機艙的漂浮狀態（之二）';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '時光的縫隙';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = 'Radio時間';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '離去';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '金黃豐收 擲地有聲<br>曼布克獎、前進詩獎、國際科林書獎紛紛揭曉';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '點醒人心的人道主義作家<br>前龔固爾文學獎得主施瓦茨．巴爾病逝';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '美國詩人佛洛斯特佚作<br>88年後首次出版';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '自由之路經由花神咖啡……';
	rows[8].link = 'today-article9.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
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-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 = '指揮張佳韻鳳還巢 與NSO合作入門音樂會';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '攏是好子弟 北管排場匯演明舉行';
	rows[5].link = 'today-art6.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';
}