//===========================================================================
//基本設定
//==================== 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(12);
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 = '趙建銘等人再出庭 12月宣判';
	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';
																										
	rows[11].text = '中信金若大量出脫兆豐金 將牽動鄭深池董座保衛戰';
	rows[11].link = 'today-fo12.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '宋宣布選北市長 泛藍再分裂';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '選情分析／藍協調變奢望 棄保走險路';
	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 = '加國保守黨政府 對中疏離';
	rows[9].link = 'today-p10.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 = "美情報發現北韓2次核試跡象";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "核試骨牌效應 末日時鐘更逼近倒數…";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "對抗中國刺探 日研發隱形潛艦";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "Google總部 改採太陽能發電";
	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 = "《中英對照讀新聞》Angelina Jolie slams West for barring refugees 安吉莉娜裘莉抨擊西方世界排斥難民";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '好心鄰居幫忙 免費止痛針 染毒得愛滋';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '孫口吐白沫 嬤跪求放手';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '逼喝尿舔狗屌 醋男暴行 判刑８年';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '駭客癱瘓簽賭網 勒索3千萬';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '面具怪盜黑吃黑 露臉搶毒販';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '運鈔車掉下398萬 婦人苦追還錢';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '9旬老董 困家用電梯18.5小時';
	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 = '穀倉牽姻緣 他倆恩愛73年';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中國大閘蟹 驗出致癌物';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '國高中 課輔亂收費 教部限期退錢';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '東勢高工大樓通道蓋鐵皮違建  阻逃生';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '全國最高海拔音樂饗宴峽谷音樂節 合歡山頂音符跳躍';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '國小基測 學童豎大拇指';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '手機遭盜打 告官奮戰獲勝';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '台鐵列車 11月又改點';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '損胎兒DNA  二手菸害毒過抽菸';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '清溪太極 大自然神來之筆';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '換心病逝建中生告別式  小豪家人捐款 大愛留人間';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '阿里疤疤新書 倡活著就有希望';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '人工流產 不需配偶同意';
	rows[11].link = 'today-life12.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
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-sp1.htm';
																										
	rows[1].text = '棒球百年風雲 今首播';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '潘尼拉 接掌小熊';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '運動家教頭 丟差';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '赫南德茲 等世界大賽復出';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '亞運代表隊／撞球對抗賽 我技壓日本';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '馬德里網球名人賽／4選手首日落馬 西班牙心碎';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '蘇黎世女網賽／辛吉絲晉第二輪 盼再留金盃';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '中正杯桌球賽／合庫開紅盤 力拚18霸';
	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 = '除了Kobe  誰是得分王';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '落難拳王泰森  挑戰女拳手';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '落後20分 芝加哥熊大逆轉';
	rows[13].link = 'today-sp14.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '佈局歐美股票基金 搶發旺季財';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '美股創新高 Q4仍看好';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '台糖北市大樓 淪為HOTEL';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '中鋼︰中龍二期擴建 應不需作政策環評';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '去年全球FDI增三成 我佔亞太第三';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = 'opec將減產 油價重登60美元';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '強制勞工入工會 擬修法刪除';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '外勞換雇主期間 不算在台工作';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '歐洲央行可能暫停升息';
	rows[9].link = 'today-e10.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 = '日股Q4補漲有望 可逢低佈局';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '華頓美利資產基金 23日起募集';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '理財Q&A／定期定額投資 比定存有利';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '金融新商品／資產證券化基金 適合保守投資人';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '網路併購潮 帶來web網站春天';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '群創靠12字訣 今年營收挑戰千億';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《人物春秋》孫大衛退休後住台灣';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '威剛提前達陣 Q3賺進資本額';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '手機PCB前景 花旗保守看待';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = 'NAND價格回穩 記憶模組廠苦盡甘來';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '鎰勝董事長黃子成：中國廠擴產 Q4營收樂觀';
	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(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 = '姚采穎下課一條龍 上課夢周公';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '周董翹腿坐龍椅 賀新輯唱銷300萬';
	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 = '草&#24389;剛聲勢飆 木村眼紅排擠';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '後宮爭寵比心機 港日韓大戲爭寵';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '星落日本TBS 惡作劇之吻再下一城';
	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(10);
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 = '醫路獻愛 3志工獲獎';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '公園內違規 最高罰5萬元';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '捷運松山線動工 交通大動脈恐阻塞<br>東西向交通 再陷黑暗期';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '捷運聯合開發 議員質疑有弊';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '迷你小校上林國小 校園變田園';
	rows[9].link = 'today-taipei10.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-north1.htm';
																										
	rows[1].text = '騎老爸車 苗市少年車禍送醫急救中';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '相隔兩年 兒、父母鄰近路口車禍亡';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '患精神病跳樓亡 學生步父後塵';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '和平島採髮菜 連２天２落海失蹤';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '互助會首投假標單 Ａ1100萬';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '打砲不成反打警察 醉漢送辦';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '胖少行搶刀刺店員 嚇呆被捕';
	rows[7].link = 'today-north8.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 = '高鐵彰化弊案 陳冠廷判15年';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '2貨櫃混凝土機械 雇拖車偷走';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '在KTV拉K 員林7男女被帶回';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '殺死前妻男友 凶嫌投案';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '中彰投就服中心首次舉辦 部分工時徵才 媒合率6成';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '年利240％ 吸血嫌犯函辦';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '大樓藏艷窟 中國女子接客';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '疑取暖釀災 燒掉7棟店面';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '疑燒車自焚 比對DNA查死者';
	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(9);
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 = '高雄軟體園區上樑 明年6月營運';
	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';
																										
	rows[8].text = '判刑 阿公猥褻國一孫女';
	rows[8].link = 'today-south9.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 = '《焦點人物》 麻辣老宋';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '錫&#22566;兄，URM過時了';
	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';
																										
}
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 = '新世代  國產SUV明年見';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '2006開架美妝大成長';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '秋冬風 Oversize大而美';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '設計師單椅 坐領風騷';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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-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';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '飲食養生 長壽之道';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '中藥廠GMP 台灣全面上路';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '上腸繫動脈狹窄 婦人洗腎老想嗯嗯';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '白內障手術 可裝人工水晶體改善視力';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '推廣安寧照護 陪他走完人生';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '腹瀉病例暴增 以輪狀病毒居多';
	rows[5].link = 'today-medicine6.htm';
																										
	rows[6].text = '電波拉皮 抗老除皺不留痕';
	rows[6].link = 'today-medicine7.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
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 = '關鍵字A-Z<br>Zephyr 微風';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '在廟前五則';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '為愛滋而走';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '酒後開車的受刑人故事';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '不發達年代的約會-下';
	rows[5].link = 'today-article6.htm';
																										
}
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 = '聖彼得堡愛樂活躍國際舞台 席位排法有訣竅';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '進音樂廳請變裝 康澤爾萬聖派對又搞怪';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '中部文化圈昨啟動 號召全民關心台灣文化';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '音樂家巴爾托克展';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '外國藝術家參與引爭議？';
	rows[4].link = 'today-art5.htm';
																										
}
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 = '蘇丹的後宮伊斯坦堡<br>Istanbul';
	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';
}