//===========================================================================
//基本設定
//==================== 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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '部分國務機要費 用於對澳工作';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '在北一女門口給錢並簽收…';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '邱毅又提發票 君悅說原委';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '綠委：邱毅是成豐吸金案影武者';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '林子淩：北纜車站被竄改設計 變成溫泉旅館';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '北纜BOT 預定明年六月啟用';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '高鐵台南沙崙站橋下工程 爆官商勾結';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '藥商找國民黨立委助理 施壓醫院';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '顏萬進聲押 衝擊新系';
	rows[8].link = 'today-fo9.htm';
																										
}
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 = '凱德磊案 凱妻任職CIA 也涉洩密';
	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(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 = "幹細胞法案 布希擬祭否決權";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "現代風火輪 加速96km/h 只要4秒";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "聯準會主席：高油價 恐使通膨擴大";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "《中英對照讀新聞》Long hours unhealthier for women 長時間工作對女性較不健康";
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '癡情女友 看守所嫁重刑犯';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '吸血錢莊 利用聲色誘人上鉤';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '下體塞棉花傳惡臭 同學惡搞？ 女童自娛？';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '性侵案 馮滬祥：「她體內沒我東西」';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '啞賊「講話」 偷鳳梨就近販賣';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '消防美眉 熱情如「火」 投注工作';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '深夜破擄人勒贖 收贖百萬 2嫌落網';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '妻癱瘓14年 夫不離不棄';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '破獲竊車集團 失主女兒寫信謝警';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '服務31年 一嬸仔要退休 員警不捨';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '何品潔心感恩 返鄉當志工';
	rows[11].link = 'today-so12.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '世新民調 自由時報12評比奪8冠';
	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 = '府城做16歲 轉大人有「藝」思';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '凱米颱風動向 後天才會明朗';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '指考熱門學系 比去年飆30分';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '大考錄取率 預估逾83％';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '明星高中報喜 上第一志願者增';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = 'TOP10文理學系 至少370分';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '國中小教科書 未來每3年才改版';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '考試聊天被訓 4生扁老師';
	rows[10].link = 'today-life11.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 = '連5場得分兩位數 勇士平紀錄';
	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 = '《NBA》超音速115億易主';
	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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '不怕閏7月 房市推案近千億';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '本土菸酒 拿下35項獎章';
	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 = '台灣口香糖產值 一年35億';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '七成台灣人 認金錢對幸福很重要';
	rows[8].link = 'today-e9.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 = '美通膨壓力擴大 升息有必要';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '世足效應 德晉升歐洲火車頭';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '《理財Q&A》組合式基金 解決挑選困擾';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '巴黎證：友達Q3獲利季增121%';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '零組件廠下半年 降價壓力小';
	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 = '酷睿2 引爆電腦換機潮';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '電力啟動 LED廠接單看旺';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '內需型傳產 仍有波段高點';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = 'Q3不淡 散裝運輸股大漲';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '旺季效應 威剛創見Q3業績發威';
	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 = '北投纜車BOT傳弊 顏萬進聲押 政院將停職';
	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 = '暴龍情緒化 林志玲忍痛割愛';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '貢寮海洋音樂祭 人氣樂團明拚場 放肆搖滾連3天';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '受不了JH戀 侯佩岑攤牌';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '林韋君 林佑星 關島補破網返台';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '高慧君別張翰 鬧出三角戀';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '孫協志領軍赴日 誓要三振安在旭';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '電視新聞節目 亂象叢生';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '金屋藏妹 張惠妹代言創天價';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '慾望師奶榜上無名 放話缺席艾美獎';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '可愛星寶貝 裘莉養子人氣NO.1';
	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 = '常盤貴子帶男友 吃冰甜蜜蜜';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '林口重劃區 建築廢棄物堵路';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '指考選填志願 截止時間提前';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '保安宮反對拆牆 園區計畫生變';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '民生休息站爆紅 鄰居快「發轟」';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '復興中小學 獲准增設實驗高中';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '碩士清潔員 放棄分發';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '生活空間網 網購農產e 點通';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '台北花市 邀你大聲說愛';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '養護疏失 關渡大橋變紅斑彩虹';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '示範清狗便 狗狗配合演出';
	rows[9].link = 'today-taipei10.htm';
																										
}
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 = '酒廠欠稅600多萬 查封負責人動產';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '討5000元 人父前押人 烈日下「出操」';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '不做全套 男客火大燒護膚坊';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '收壺爐涉竊被訴 花地院法官調職';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '趁人喜宴闖空門 基隆大盜現形了';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '與少女「打野外」 和解判處緩刑';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '社會傳真／玉里女子遇詐誤匯 被騙70萬';
	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 = '檢方認輕判將上訴 車主澄清';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '堂兄弟結伴戲水 小5男童溺斃';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '吐槽不可能破案 2女被搶 警隔天逮搶嫌';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '倉庫大火 眼睜睜看它燒';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '潛進民宅 休息7小時偷39元';
	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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '通緝犯偷不成硬搶 里民合力擒賊';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '澎湖護海 海空3D驅離非法漁船';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '雄好吃、雄好玩 10大票選 高縣起跑';
	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 = '扛米、推車 五條港相邀來做16歲';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '鹿耳風華 老照片專輯出版';
	rows[7].link = 'today-south8.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(7);
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';
																										
}
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 = 'F1冠亞軍<br>雷諾 法拉利之爭';
	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 = '亮眼3C商品集合<br>七夕情人節送禮大搜查';
	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 = '脊美瑜伽 養生新風潮';
	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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '戽斗 把握矯正黃金期';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '熟女頻跑廁所<br>子宮、卵巢長腫瘤';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '兒童骨肌問題<br>扁平足最常見';
	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';
																										
	rows[6].text = '整形非女性專利<br>男性要求 快又有型';
	rows[6].link = 'today-medicine7.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 = '送走達文西 但丁大駕光臨<br>但丁《神曲》再掀歷史懸疑小說風潮';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '亮眼新秀 大放童心';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '非洲文壇新星崛起';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '藍燈書屋 買下BBC出版';
	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>王銘琬指導台灣棋院12歲冠軍林立祥';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '當代藝術紀錄片由「人」出發<br>黃明川的《梁任宏》今天首播';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '新竹交響管樂團首度站上國家音樂廳';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '東方音樂明珠<br>新疆木卡姆藝術團';
	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(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '樂活日本<br>南信州一夏';
	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';
}