//===========================================================================
//基本設定
//==================== 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 = '投資中國40％上限鬆綁？ 政院滅火';
	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 = '外資連買超29天 持股市值破6兆';
	rows[8].link = 'today-fo9.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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';
																										
}
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 = "26年來頭一遭 伊朗總統致函布希";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "泰憲法法庭 裁定大選違憲";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "就差30公分 營救澳礦工 倒數計時";
	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 = "《中英對照讀新聞》Dolce vita? Not everyone's idea of retirement -survey 調查：甜蜜生活？並非每個人的退休想法";
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '下坡打偏 撞死推車女友';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '李泰安：該是攤牌的時候了';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '台鐵員工:李雙全特製車 可測試脫軌器';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '暴徒砸店未及時制止 員林分局長下台';
	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 = '猥褻高中女 割喉狼竟是國中生';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '假驗身材 真奪女同志貞操';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '台電亂放電 害人火燒厝';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '順正漁號 疑被船上漁工挾持';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '5歲童獨攀陽台 墜樓不治';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '70歲脊傷老人 助人如活龍';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '被倒上千萬 老天其實厚愛我';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '溫馨接送情 一天12回';
	rows[14].link = 'today-so15.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '育嬰假津貼 月領13500可領半年';
	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 = '南科減振 最新量測九成OK了';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '不堪立委批 郭瑤琪淚灑議場';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '台鐵局長人選 三位副局長全OUT';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '大學授課 擬改學季制';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '未兼行政職教師 寒暑假免到校';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '罕病友鄭茹穗 好想談戀愛';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '《報稅快易通》房貸利息及房租 僅能擇一申報';
	rows[11].link = 'today-life12.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '無四死球 建仔2勝';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '白天出賽 未吃過敗戰';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '托瑞1000勝 洋基史上第四人';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '老媽來觀戰 邦斯713轟';
	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 = '《NBA》活塞重創騎士';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《NBA》鄧肯豪取31分 刺牛伏兵';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '《NBA》奈許 蟬聯年度MVP';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = 'NIKE籃球營 HBL球星齊聚';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '《SBL》解統獨爭議 籃協明開委員會';
	rows[12].link = 'today-sp13.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 = '戴爾今年對台採購125億美元';
	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 = '4月出口創新高 成長15%';
	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 = '延攬高階外勞 勞委會擬租稅優惠';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '搶母親節商機 健康食品當紅';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = 'IEA執行長︰油價恐漲至100美元';
	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 = '台幣勁揚2.66角';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '日圓帶動 韓元、星幣升';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '《理財Q&A》2家Visa金融卡 可刷卡繳稅';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '富蘭克林 終止兩基金申購';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '太陽能股4月營收 發熱';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '封測廠雙雄月績上揚 欣銓創新高';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '友達持平 奇美電月減逾2成';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '台達電4月營收80億 正崴成長91%';
	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 = '《國際股市》亞股齊揚 漲幅超過1%';
	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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '言言抽1根菸   換2支小過';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '網友當柯南 阿信遭砸傷  和關之琳有關?';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '王力宏探白血病童 約好一起打棒球';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '林青霞偕夫婿探老父 快閃躲媒體';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '鄧麗君逝世11週年 追蹤小鄧10年「書」發祕史';
	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 = '親戚演活2248集 開心不計較';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '胡瓜續留民視 官司繼續打';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '艾薇兒恍神躲婚事 4克拉訂情戒露餡';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '黎萊恩低嗓 搞砸Tata Young合唱';
	rows[10].link = 'today-show11.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 = '護士異動率 高達5成';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '悠遊淡水 坑遊客手續費';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '山泉枯竭 坪林32戶茶農渴水';
	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(4);
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 = '闖空門失風逼簽約自保 重判2年';
	rows[3].link = 'today-north4.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '警所層層戒備 查扣車被開走';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '母親探視 發現兒已變乾屍';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '迷途翁循村裡鞭炮聲…回到家';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '涉送菸賄選 村長謝德水聲押';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '裝問路 扯金鍊就跑';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '醉後被塞金屬棒 那話兒尿不出來';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '小鳥築巢亂咬 電線爆炸';
	rows[6].link = 'today-center7.htm';
	rows[6].type = '社會傳真';
																									
	rows[7].text = '兩幫人打群架 4嫌被訴';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會傳真';
																									
	rows[8].text = '塑膠回收廠火警 燒掉200萬';
	rows[8].link = 'today-center9.htm';
	rows[8].type = '社會傳真';
																								
	rows[9].text = '借腹案妨害家庭 女子被訴';
	rows[9].link = 'today-center10.htm';
	rows[9].type = '社會傳真';																									
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '追思八田與一 日本親友齊聚烏山頭';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '旅展搶好康 俗擱大碗遊香港';
	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';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '高層喬定就篤定？';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '實在笑死人！';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '《林保華專欄》陳總統悲壯之旅';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '支持者要的不多';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '調查局驗狗血';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '砂石，也是「綠色資本」';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '美國  要有大老的格';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '王世堅的惡形惡狀';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '蔡鳥教官報告部長';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '學務主任談操守';
	rows[9].link = 'today-o10.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '成分搭對車 保養快一步';
	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 = '母親節選禮物看過來<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(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '菇出健康 從新鮮下手';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '催眠助性 任你想像';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '每個媽媽都是工作媽媽';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '保養品用盡  一滴也不剩';
	rows[3].link = 'today-family4.htm';
																										
	rows[4].text = '弱勢婦女創業課程';
	rows[4].link = 'today-family5.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '戒菸<br>放下嘴邊菸 多活好些年';
	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 = '慢性B肝病患急性發作 多是吃錯東西引起';
	rows[4].link = 'today-medicine5.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
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-article1.htm';
																										
	rows[1].text = '四月探春';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '愛讀書';
	rows[2].link = 'today-article3.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 = '「小提琴女神」慕特將來台<br>帶領樂迷重返莫札特音樂行旅';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '為國內演出走向國際<br>文建會、兩廳院攜手搭平台';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '表演工作坊、明華園<br>《暗戀桃花源》送作堆';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '關心台灣公共建築<br>民間組成建改社';
	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';
}