//===========================================================================
//基本設定
//==================== 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(6);
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 = '兩蔣夫人年耗1500萬公帑';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '北高市長特支費 明年調降';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '藍綠互查特支費 點名蘇貞昌、馬英九';
	rows[5].link = 'today-fo6.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 = '一頓牛肉麵 竟核支3萬8';
	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';
																										
	rows[10].text = '又見中國美人計？日自衛隊員疑洩密';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '東亞16國自貿區 日本月底提出';
	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(6);
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 = "古巴闢謠 堅稱卡斯楚術後OK";
	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 = "《中英對照讀新聞》Belgians battle caterpillar plague with love traps 比利時人用愛情陷阱對抗毛毛蟲為患";
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '假冒議員助理 議會內騙走電腦';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '驚爆 帥氣同志警販毒';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '求救119 3人仍遭燒死';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '防盜新制 新車零件須烙碼';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '終身送米 吸金8億';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '下流色醫 偷拍女室友洗澡';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '慾男少女玩3P 賓館現形 兩罪兩罰';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '靜宜女學生命案 日本開庭! 凶嫌否認施暴';
	rows[8].link = 'today-so9.htm';
																										
											
	rows[9].text = '閱讀志工 大學生上山說故事';
	rows[9].link = 'today-so11.htm';
																										
	rows[10].text = '鬼月敬亡 傳教士預約中元祭';
	rows[10].link = 'today-so12.htm';
																										
	rows[11].text = '小三生心算 計算機跟不上';
	rows[11].link = 'today-so13.htm';
																										
	rows[12].text = '殉職飛官父「我以子為榮」';
	rows[12].link = 'today-so14.htm';
																										
	rows[13].text = '腦麻女感恩 姨父NO 1';
	rows[13].link = 'today-so15.htm';
																										
	rows[14].text = '啟英高中 1年不到 吃掉13萬個愛心便當';
	rows[14].link = 'today-so16.htm';
																										
	rows[15].text = '照顧寄養兒 這家人「特」立獨行';
	rows[15].link = 'today-so17.htm';
																										
	rows[16].text = '化療狗遭擄 急壞姊妹花';
	rows[16].link = 'today-so18.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '全民反彈 蘇揆宣示健保暫不漲';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '網友集結 要虐貓狂還貓來';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '宜蘭查獲上萬公斤海豚肉';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '不動就能瘦？美腹帶消脂 醫師存疑';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '酷夏奇景 奮起湖下冰雹 彈珠大乒乓響';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '嘉義新竹台中 創入夏高溫';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '台鐵女性車廂 傾向取消';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '優良搬家公司 崔媽媽掛保「證」';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '老貓中暑 消防車急送醫';
	rows[8].link = 'today-life9.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '王貞治出院';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '邱大宗掌東森 阿三赴台啤';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '《世界盃女子棒球賽》21︰2 痛宰香港 我首勝';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '《世界盃女子棒球賽》單場單隊最高得分︰53';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '建仔今拚13勝';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '瓦倫德14勝 獨占鰲「投」';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '蛙王漢森 破100蛙世界紀錄';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '蓋特林教練 恐被禁賽';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '阿格西遭義黑馬羞辱';
	rows[9].link = 'today-sp10.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 = '國內資產證券化基金 規模逾314億元';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '美財長力挺強勢美元';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '台北電腦應用展 趁早拚場';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '匯豐擠下花旗 全球最大金融集團';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '網路家庭 康迅數位 招攬中大型賣家';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '颶風逼近美國 油價漲破76美元';
	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(15);
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 = '風險觀念 長期投資 最少佔6成';
	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 = '澳洲升息 六年來最高';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '強制車險修法 七成車主不知情';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '挽救杜哈回合 WTO下月集會';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '中鋼7月超賺 保守看下半年';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '聯電Q2本業出色 Q3樂觀';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '玻纖紗布發燙 廠商業績看俏';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = 'PC面板漲價 奇美電兩天就填權';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '友達董事異動 引發合作聯想';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '太陽能族群 台股人氣指標';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '《國際股市》歐股午盤漲 菲律賓重挫';
	rows[14].link = 'today-stock15.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(17);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '友人爆料 酒鬼老梅不想活了 飆車自殺';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '阿榮片廠大火 Energy因禍得福';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '李威被兒子出賣 和陳怡蓉愛火正燒';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '清純林志玲 香港解放撈千萬';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '王心凌當烏龜扮女鬼 三立順從民意惡整';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '童童拉彈力帶造C奶';
	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 = '東森新聞S台復播 把觀眾找回來';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '徐若瑄楊丞琳 降價挺國片';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '應采兒30歲前 想拼雙胞胎';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '鳳凰女打排卵針 孕釀再生龍鳳胎';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '迪士尼撤DVD部門 神鬼2發行成謎';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '裘德洛變乖 二度套牢席安娜';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '滾石錢進荷蘭避稅  賺145億僅繳2.3 億';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '深田恭子 優香 翻臉搶一姊';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '金楨勳送愛心熊 宮收視破3';
	rows[16].link = 'today-show17.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》小心中資媒體變裝迂迴來台散播毒素';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》打鳥比打扁好看';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》瞎子摸「象」？';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '圍籬變看板 警局還說讚';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '內湖線再落後 捷運局挨轟';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '林口直通北市府線公車 遭駁回';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '漁人碼頭 人潮沒換錢潮 店家喊冷';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '傳統美食嘉年華 爭奇豆艷';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '義民祭 萬人相約小巨蛋';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '三重環快 緩拆拖進度 縣府、北工處推託';
	rows[6].link = 'today-taipei7.htm';
																										
}
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 = '離婚婦騙婚挨告 婚姻撤銷賠10萬';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '貼海報侮辱前妻 男被判拘役60天';
	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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '虛設公司洗卡 2人辦76門號';
	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 = '偷1萬5千公尺電纜 8嫌求刑';
	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';
																										
}
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 = '3蒙面徒劫超商 搶了1萬多';
	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 = '買票賄選 1人起訴';
	rows[8].link = 'today-south9.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-o1.htm';
																										
	rows[1].text = '重省民主化之路';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '渴望台灣願景';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '歐洲台灣人再出發';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '崔媽媽革命';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '蔣規扁隨？';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '法警有欠訓練';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '虐貓也會虐人';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '原民會動起來';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '台灣總統';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '文革重演？';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '黨產繳庫';
	rows[11].link = 'today-o12.htm';
																										
	rows[12].text = '母語kap建國';
	rows[12].link = 'today-o13.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(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中元普渡停看聽<br>好兄弟免驚啦！';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '和現任男友做愛 卻老想著前男友';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '甲蟲絕招 父母接招';
	rows[2].link = 'today-family3.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(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 = '原發性主動脈瘤破裂<br>急輸四倍血量 救回病患';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '優良衛教教材 可上網下載索取';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '減重後乳房變軟<br>熟女驚見患乳癌';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = 'Ｘ光顯影劑<br>德國先靈藥廠宣布回收';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '署醫老人門診<br>九月起免掛號費';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
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-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';
																										
	rows[5].text = '第135屆芥川．直木獎揭曉<br>不容動搖的文學龍頭地位';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '魯西迪的新仇舊恨<br>社區抗爭延燒為眾作家意識形態之爭';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '夢幻書單盡在其中';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '生命的迷宮樣式';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '新聞短波';
	rows[9].link = 'today-article10.htm';
																										
	rows[10].text = '詩人身影 永恆凝思';
	rows[10].link = 'today-article11.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '冬宮失竊 全球博物館關注<br>台灣故宮：對庫藏管理有信心';
	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';
																										
	rows[5].text = '全國好書交換日';
	rows[5].link = 'today-art6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '發現華山咖啡外的旅趣<br>雲林古坑深度之旅';
	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';
}