//===========================================================================
//基本設定
//==================== 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(10);
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 = '光華寮案 纏訟40年日媒體再聚焦';
	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 = 'TVBS變中資？ 陸委會：依法處理';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '邵逸夫 與中國關係良好';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '社會公器 勿成社會公害';
	rows[9].link = 'today-fo10.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '突搥胸3次 趙建銘維持交保';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '三立員工涉辱警 檢訊後釋回';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '民進黨 2選區協調成功';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = "新中東？還是新泥淖？";
	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 = "現代人進化 越來越頭好壯壯";
	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 = "墨西哥大選 引爆抗議潮";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "與天使共舞";
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = "《中英對照讀新聞》Forcing wife to scrub floor is a crime 強迫太太擦地構成犯罪";
	rows[9].link = 'today-int10.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '家人泣喚 岸旁留單車 3童疑溺水';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '方順吉參加毒品派對';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '黑道大哥 酒店外遭圍毆喪命';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '檢「傳聞供訴」定罪 李泰安不接受';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '惡漢闖病房 企圖性侵產婦';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '性怪癖 模擬強暴 硬上老婆';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '情殺天價 判賠3447萬';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '貪千萬保金 弟媳下藥 弟砍死兄';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '頂店返回取物 全家人被上銬';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '12個孩子 牧師獲選模範父親';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '人生最苦是戒毒 真愛扶持辦到了';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '1張嘴 幫助5000人';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '輔導主任 自費挽救中輟生';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '連續感恩21天 生命將有奇蹟';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '生意差 衛署拜託趁早「做人」';
	rows[15].link = 'today-so16.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國小教師 明年恐裁484人';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '院士級校長 陸續淡出大學';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '就學貸款 利息調高為3.48%';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '每月那個來 適度運動 可縮短經期';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '臨櫃匯款逾3萬 須帶身分證件';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '高鐵407億聯貸到手 交部暗助';
	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 = '同一連鎖店 不同分店 同品項咖啡因含量差很多';
	rows[9].link = 'today-life10.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '穆西納 13勝';
	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 = '建仔8月戰役 場場硬戰';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《世界盃女子棒球賽》我慘遭日隊完封';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '教練貸45萬旅費 征日';
	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 = '首度晉四強 周婕妤七夕快樂';
	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 = '為勝嘗禁果 美體壇吹起「藥」命歪風';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '「補」品演進史 從吞生蛋 到合成類固醇';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '大聯盟「藥」角 馬怪爾懊悔 邦斯不認罪';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = '美體壇10大「藥」聞';
	rows[15].link = 'today-sp16.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '日盛證輸單烏龍 華南金股價暴衝';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '搶發烏龍財 小心破財';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '台股最大筆錯帳 77億元';
	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 = '重建遊艇王國 經建會擬撥4.5億';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '台企銀增資百億 苦尋金主';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '引進外資 合庫提議現增私募';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '中華電信ADR 財部可能要求公告招標';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '農曆7月辦房貸 A好康';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '人民幣7月升幅 匯改以來新高';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '《理財Q&A》父母信用 不影響子女就學貸款';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '逾350家上市櫃 董監涉自肥';
	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 = '2010年前 房價只漲不回';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '茂迪與REC簽百億購料合約';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = 'NAND Flash 價格回升 橫生變數';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '台積電評等 建議買進居多';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '《期指觀測站》區間進出 不宜過度追價';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '《國際股市》歐股午盤跌 中國重挫';
	rows[9].link = 'today-stock10.htm';
																										
}
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 = '中國黑手伸向TVB(TVBS)';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '嵐機場記者會 1天飛3國';
	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 = '蔡依林撈1.8千萬 烤肉歡度情人節';
	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 = '金楨勳搞笑耍槍 談情跟著感覺走';
	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 = '183發情 統統送去結紮';
	rows[12].link = 'today-show13.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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '三重凌晨槍響 疑市代會主席選舉惡鬥';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '地政所 網站連結負面新聞 縣府高層喊卡擬懲處';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '縣府大樓動線複雜 民眾團團轉';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '烏來台車博物館 徵老工友回娘家';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '騎鐵馬賞風光 八里龍形碼頭租得到';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '三峽老街商圈 擬串聯套裝旅遊';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '花現 稀有蝴蝶蘭雙梗開54朵花';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '全國中小學科展 北市3作品奪冠';
	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';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '聯繫死者家屬 警被當騙徒';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '女友遭性侵 找狼和解 險被燒死';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '死者出殯日 肇逃者落網';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '酒後騎車 撞對向自小客 送醫不治';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '兩匪搶提款婦 駕贓車墜溝被接走';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '刺穿女友內臟 倒頭就睡 判6年';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '稱酒友不給看電視 刺死人自首';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '家裡有心智障礙者 指紋建檔';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '社會傳真／建材砸中打工少年 送醫不治';
	rows[8].link = 'today-north9.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
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 = '散佈買票謠言 霧峰鄉長判6月';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '偷當金飾 老爸堅告酗酒兒';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '連續偷竊 檢方請求1罪1罰';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '《社會傳真》金鍊被搶 騎士反逮飛車盜';
	rows[7].link = 'today-center8.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '前鎮警遏止古惑仔鬥毆 署長豎拇指';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '情書訴情衷 e定幸福喔';
	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';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '敞篷車 軟篷快感.硬頂實際';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '滾搖貴婦腕';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '藝術飾品有深意';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '搞懂客製化手機 網路、加值一點靈';
	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 = '母乳 餵與不餵之間';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中藥安眠';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '夏日下水戴蛙鏡 避免感染紅眼睛';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '拒嚼檳榔戒除菸害<br>口腔癌少來了';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '爆料文化 衝擊人們互信關係';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '新生兒黃疸照不退<br>原來是泌尿道感染';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '熬夜看轉播 小心皮膚出毛病';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '作家的藏所';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '痛';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '《聰明的瑞普利先生》';
	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 = '傳說中無垢舞蹈劇場《醮》  即將重現國家劇院';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '改編名作劇本 綠光劇團新推《手牽手紀念日》';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '2006法蘭克福書展台灣館  開放報名參展';
	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(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '夏季北海道好色！';
	rows[0].link = 'today-travel1.htm';
																										
	rows[1].text = '韓國主題樂園精采樂一夏！';
	rows[1].link = 'today-travel2.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';
}