//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('週末生活版'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '涉收賄百萬 鄭永金求刑10年';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '綠斥馬「背書又破產」';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '技士黃金球 求刑18年最重';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '馬主持常委宣誓 胡志強當面訐譙';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '「公投討黨產」 本月完成連署';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '施明德籲扁下台 勿官逼民反';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '扁下台？ 民進黨有苦難言';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '民進黨歷任黨主席 與扁政府的互動關係';
	rows[7].link = 'today-fo8.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(8);
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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "民主黨大老李伯曼 參議員初選出局";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "新聞分析／伊戰問題 美期中選舉攻防焦點";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "法總統大熱門 賀雅爾人紅遭忌";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "「油」利可圖 什葉派要分割伊拉克";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "戰士基因顯著 毛利人天生暴力？";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "竊聽英王儲電話 3狗仔被捕";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "《中英對照讀新聞》Golden dagger from 3,000 BC found  in Thracian tomb 色雷斯人的墓中發現西元前3000年的金匕首";
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '電信箱易下手 盜接不勝防';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '姦殺兇嫌變無罪「天理何在」';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '馮滬祥性侵案 仍判4年';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '貪法官交保 搭賓士快閃';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '篡改收據 櫃台員合污400萬';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '迷狼侵髮姐 扔床單滅證';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '惡狼奪處女 私藏落紅紙';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '土石崩 活埋工人1死1傷';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '詐3059萬理賠 假車禍自砍重傷';
	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';
																										
}
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 = '滑板帽當安全帽 帽帶沒繫緊撞頭亡';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '電視購物 4成商品有落差';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '竭澤而漁 翻車魚種悲歌';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '生態惡化 苦行8歲童好想哭';
	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(12);
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 = '蘇哲毅 K掉打擊王';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '崇學少棒亞軍 雖敗猶榮';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '國慶過山洞 誤了曾翊誠紀錄';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '陳純甄現聲 泣訴債纏身';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '小魏、伍茲桿弟 命運大不同';
	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 = '美國業餘女子錦標賽 余珮琳、曾雅妮 晉64';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '前球王欠稅 別墅遭扣押';
	rows[11].link = 'today-sp12.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 = '新興國家債市 值得留意';
	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 = '股市低迷 7月證交稅負成長';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '公股退出金融機構 只留1∼3家';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '淡水豪宅 每坪上看50萬元';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '對開發中國家出口比重 逐年上揚';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '阿拉斯加油田關閉 油價盤據76美元';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Fed停止升息 央行不跟進';
	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 = '日本利率政策 將維持不變';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '《理財Q&A》貸款加買信保 不併入債務協商';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '被動元件廠業績 持續回升';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '仁寶上半年毛利率 跌破5％';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '友達︰下半年數字會很高';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '今年手機出貨量 華寶下修';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '日月光、矽品 營收躍進';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '鴻海、華碩月績大幅成長';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '除權息前夕 看好大立光 法人積極加碼';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '美國傳利多 太陽能股狂飆';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '《期指觀測站》台指期 多方攻擊氣盛';
	rows[14].link = 'today-stock15.htm';
																										
	rows[15].text = '《國際股市》德股午盤跌 日港印上揚';
	rows[15].link = 'today-stock16.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 = '力脫AV女優形象   宣宣圓夢  當大學生';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = ' 言言大學指考落榜！';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '8點檔割喉戰 意難忘賜死謝金燕 攻巨塔抗第一味';
	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 = '何嘉文肯定健康美 Akemi自然才性感';
	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 = '王力宏行李搞丟6天 急冒鬍渣';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '琳西勞軍自封夢露 思嘉粉絲反嗆';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '星野亞希峰采驚人 倖田不敵';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '姜至奐擲骰子 K到孕婦皮皮剉';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '基音練泰拳 互k擺平異見';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '莎莉賽隆睡小潘潘 玩3P';
	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 = '小型車定檢 到府取送真貴氣代價800元';
	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 = '借人500元 1個月後逼還8萬';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '卓蘭零售市場 攤商連署拒駐';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '頭份東側交流道口 路況危行車堪慮';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '監理所驗車 民眾「爆」怨DIY';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '復興降大雨 國小邊坡坍';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '溪北污水系統 明年3月接管';
	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 = '斗六市長貪瀆案 屬下作證遭降調？ 張和平否認';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '冒名訂貨送雜貨店 1月近50次';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '國中學歷 販毒算利潤自創公式';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '槍傷遠親 嫌犯喝毒液飲彈命危';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '偷竊獲饒懷恨 少年殺鄰被訴';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '涉期約賄選 西勢村長被訴';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '社會傳真／越女欠賭債 設局強盜同鄉';
	rows[6].link = 'today-center7.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-south1.htm';
																										
	rows[1].text = '性侵智障女５年 懷孕東窗事發';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '販毒新招！ 海南島設廠 公海交易';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '台南運河80週年 紀念活動登場';
	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';
																										
	rows[9].text = '期待…關愛的眼神';
	rows[9].link = 'today-south10.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '永續台灣 不永續中國';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '李登輝 變與不變';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '台灣人 台灣意識';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '誰跟台灣國斷交？';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '真主黨 民進黨';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '台北導覽說明';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '產假薪資保障';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '建成圓環設計失敗';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '別傷害公視';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '金門台商之死';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '請問施前主席';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '北投社區聲音';
	rows[11].link = 'today-o12.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(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 = '搶換季當Preppy';
	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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '潔顏有術 戰痘拒當油物';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '藥害救濟案年年增  安樂普利諾錠去年居冠';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '脊損病患頻頻尿失禁  赫見陰道有顆大結石';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '紅斑性狼瘡  典型免疫失調疾病';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '支架術後預防血栓  善用抗血小板藥物';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '靈魂之窗不容異物  保護角、結膜勿輕忽';
	rows[5].link = 'today-medicine6.htm';
																										
	rows[6].text = '運用3D掃瞄軟體 牙齒毛病照得住';
	rows[6].link = 'today-medicine7.htm';
																										
	rows[7].text = 'HAC健康生活館  諮詢、體驗樣樣具備';
	rows[7].link = 'today-medicine8.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 = '布萊希特魅力 半世紀不減 逝世五十週年全球紀念活動';
	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(4);
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';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '遨遊綠色威尼斯 荷蘭羊角村';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}