//===========================================================================
//基本設定
//==================== 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 = '突破圍城利空 台股大漲201點';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '紅出招雙十包圍府  綠反制擴大挺本土';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '新聞觀察／與施情誼深厚 期待蘇貞昌、邱義仁解圍';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '進修植牙 陳幸妤預定下週日返台';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '馬拒特別費匯專戶 與議員爆口角';
	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 = '倒扁站前 婦人嗆聲 巴士大叔被K';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '當市長 須跳出藍綠枷鎖';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '台灣社、廣電基金批中天不公';
	rows[11].link = 'today-p12.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = "桃色風暴 席捲紐西蘭政壇";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "1.9%之差 瑞典執政黨敗選";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "晶片革命 Intel用雷射傳輸資料";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "分家13年 西洋棋王再定一尊";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "男子衝撞美國會山莊";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "女太空遊客升空";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "《中英對照讀新聞》China's \"Larry King\" ends silence on show's demise 節目停播 中國的賴利金打破沉默";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '14年夢魘 總算過去';
	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 = '整脊成癱 判賠600萬';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '整脊無認證制 醫不小心易成傷';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '觀光船陷火海 43人驚魂';
	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 = '撿到30萬現鈔 原封奉還';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '二手玩具圖館 為童年上色';
	rows[13].link = 'today-so14.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(17);
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 = '美問題菠菜 8.17∼9.14出貨逾3千盒';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '87％大學生 垃圾食物當正餐';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '國道客運21日漲價';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '上官慧珠 台鐵119年第一位女站長';
	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 = '12年國教學費差額補助 排富';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '南亞技院補助被凍 明年減招';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '技專統測 後年試辦加考作文';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '16技職達人 國際賽爭光';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '太陽能車拉力賽 高應大暫領先';
	rows[13].link = 'today-life14.htm';
																										
	rows[14].text = '加熱至40度 打麻醉劑卡&#34972;痛';
	rows[14].link = 'today-life15.htm';
																										
	rows[15].text = '醫療包機 今載14受傷旅客返國';
	rows[15].link = 'today-life16.htm';
																										
	rows[16].text = '校園現蚊蹤 鳳山師生染登革熱';
	rows[16].link = 'today-life17.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '洋基一日二敗 停在M４';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '熊全年勝率NO.1';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '被19K…殺人鯨仍屠獅';
	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 = 'NFL激戰 一天3場延長賽';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '最後250套…建仔悠遊卡，明天超商開賣';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '４０是驕傲 留學生挺過歧視被認同';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '三民三劍客 趕赴秋訓洛城巧遇';
	rows[10].link = 'today-sp11.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(6);
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 = '《退休金專欄》每月投資6,000元  存夠老本';
	rows[5].link = 'today-e6.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 = '老虎達達 友達掀起吉祥風';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '雙增壓TSI引擎 超有力';
	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 = '高雄港貨櫃裝卸量 今年保六戰';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《國情密碼》明年度中央稅收預算 首度破兆';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = 'NB族群利多連線 法人青睞';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '一吐怨氣 IC設計火力全開';
	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';
																										
	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(16);
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 = 'Jolin膨峰H Cup 台北開唱慈善加持';
	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 = '佐賀阿嬤5度登台 讚台灣有元氣';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '金馬台灣獎更名福爾摩沙 資深影人：畫蛇添足';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '琪拉最神 踩思嘉奪新秀王';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '貝克漢夫妻勝布裘 美味爸媽NO.1';
	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 = '多倫多影展爆冷 Bella奪觀眾票選大獎<br>溫斯蕾＆小潘潘 媒體預測可望爭小金人';
	rows[15].link = 'today-show16.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(13);
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 = '2國小職工 獲推薦優良教師';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '市府30個法案  躺議會1年';
	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 = '紅潮退  8路段恢復路邊停車';
	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';
																										
	rows[12].text = '養生月餅 健康DIY';
	rows[12].link = 'today-taipei13.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 = '消防員隨車救人 同地挨撞2次';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '氣妻被開單 持刀追砍 夫重判５年';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '綁架案藏鏡人 離職警判10年';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '前男友日夜跟蹤、猛叩 女聲請保護';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '否認偷女內衣褲 偷偷丟棄被抓包';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '開車偷香爐 一路叫賣';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '《社會傳真》通緝犯警局送早餐 錯愕被捕';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(14);
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 = '本土乳業 在口湖生根';
	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 = '求子14年如願 捐禮金濟貧童';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '大雪山雪山橋 雲霧縹緲';
	rows[12].link = 'today-center13.htm';
																										
	rows[13].text = '五指茄 金黃討喜 花材新寵';
	rows[13].link = 'today-center14.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 = '遭菲扣押5個月 吉志益2號安返';
	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(10);
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 = '《黃天麟專欄》超限戰（經濟篇）40%上限之攻防';
	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 = '郵局何不TAIWAN？';
	rows[9].link = 'today-o10.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 = '車神舒馬赫 10月說再見';
	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 = '頂級視覺享受<br>Full HD 高畫質影像報到';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '看屋6撇步 買到夢想家';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '學習安慰別人';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '恐龍怎麼做愛？';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '清潔流理台 粗鹽效果佳';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(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 = '香港腳 勿因病灶改善就停藥';
	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';
																										
}
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 = '台灣新詩';
	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(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '保加利亞歌劇院全院來台<br>《杜蘭朵公主》帶大家找真愛';
	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';
																										
	rows[3].text = '巴西古朋舞團來訪<br>節奏穿透舞者身體';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '培養電影人才<br>文建會補助校園敘事短片';
	rows[4].link = 'today-art5.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';
}