//===========================================================================
//基本設定
//==================== 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 = '有無內線交易 釐清友人角色即可';
	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 = '比基尼小姐 73國佳麗爭豔';
	rows[8].link = 'today-fo9.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '傳我擬向美購F16新機';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '台灣正名 美郵政總局同意更正';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '日新聞周刊︰台灣面臨中國統一危機';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '被龔照勝拖累？ 台糖總經理調職';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '丁守中登廣告 批郝龍斌變色龍';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '扁滿意度5.8％ 九成促清理弊案';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '賣中國書籍 掛ＴＷ網址';
	rows[11].link = 'today-p12.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = "拉攏移民 布希提中道路線";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "《國際索隱》與利比亞復交 美一魚二吃";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "無腿登山家 登上世界第一高峰";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "影音分享網 台灣小子揚威矽谷";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "南韓檢方正式起訴鄭夢九";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "美東北部 水患嚴重";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "太空船 撞上衛星";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中英對照讀新聞》Fast as a bullet? Russia plans high-tech version of Lada 快得和子彈一樣？俄羅斯計畫製造高科技版的拉達車";
	rows[8].link = 'today-int9.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(18);
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 = '火焚貨櫃屋 燒死3醉人';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '張志輝更四審改判無期徒刑';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '立可白塗改護照 成功闖關32次';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '台鐵撞死5工人 副站長被起訴';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '檳榔西施 衝進車陣 勇救女童';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '花蓮夫婦相挺  愛心加值';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '人骨拼圖台灣版 高縣警員鄭明輝 以嘴含棍也要辦案';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '車禍半癱 薩克斯風低吟生命之歌';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '治安宣導獨腳戲 中市警員俞賢寶 自費籌辦上百場';
	rows[15].link = 'today-so16.htm';
																										
	rows[16].text = '蒙眼看戲 改用耳舌鼻身意';
	rows[16].link = 'today-so17.htm';
																										
	rows[17].text = '部落格力量大 留言隔海找到媽';
	rows[17].link = 'today-so18.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '涉案醫、藥師 自首可獲不起訴';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '資優班聯招爭議 教部擬要求5縣市重辦';
	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';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '張賢智越投越好';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '牛追上象蛇 並列第二';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '133球 蕭宇奇完封勝';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '建仔對手洛伊 成績普普';
	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 = '《BCA公開賽》台灣三女將 撞進勝部16強';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '專任教練 籲比照教師退撫';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '國際田徑邀請賽 週末燃戰火';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '《全國羽球團體賽》不敵合庫傷兵 土銀銀恨收場';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = 'SBL今召開委員會議 王人達：什麼都可談';
	rows[13].link = 'today-sp14.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 = '亞股重挫 台股7100失守';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '台幣再貶1.72角';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '港元匯率 向人民幣靠攏';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '台灣投資環境 全球第6';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '中國汽車宏觀調控 衝擊中概股';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '中技社賣中鼎 2天進帳26.6億';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '許勝雄︰員工配股費用化 影響企業徵才';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '紐約原油 跌破70美元';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '印度盧比貶值 5個月新低';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '國華產險 龍平安產險完成接收';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(13);
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 = '《理財Q&A》卡債協商 子女財產不受影響';
	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 = '油價衝擊 遠航力圖今年轉盈';
	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 = '維持台積成長與獲利 蔡力行：保證繳出好成績';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '台9大公司 赴美歐法說';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '《期指觀測站》空方佔優勢 保守應對';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《國際股市》歐股週二午盤 反彈回升';
	rows[12].link = 'today-stock13.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(16);
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 = '夫妻真是天註定？方文琳婚變 愈傷星愈旺';
	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 = '黃立行肌凸好Man 2點多賺50萬';
	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 = '空中補給催情  3千粉絲LOST IN LOVE';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '琳西討人厭 芭黎絲沒得比';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '史匹柏869洛杉磯最有錢影人';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '菅野要婚不分 夜夜睡稻垣家';
	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 = '范逸臣速配陳奕 尬情歌拚人氣';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '民視角頭釋善意 拉票區隔市場';
	rows[15].link = 'today-show16.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(8);
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 = '一日三起 工安意外3死2傷';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '富邦壽險 傳剋扣員工獎金';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '紅火蟻防治率 北大三峽校區達99.3%';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '花1億換縣徽？ 縣長強調儘量不花錢';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '新莊反土石專用區 將向中央表心聲';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '新店危險水域 屢見戲水人潮';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '珍珠逼近 北市7易積水區警戒';
	rows[7].link = 'today-taipei8.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-north1.htm';
																										
	rows[1].text = '同警察連逮2次 衰尾通緝犯認栽';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '林明樺案建功 施健良獲全國模範警察';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '賣退撫金帳戶 失金還吃官司';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '涉嫌性侵高中女生 嫌犯交保';
	rows[4].link = 'today-north5.htm';
																										
}
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 = '12小時7搶案 6件在大里';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '大白天硬扯金鍊 2飛車賊囂張';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '修護岸掩護盜採 南投逮12人';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '空殼公司刷卡換現金 A進上億';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '前嘉市議員戴建三 判刑1年8月';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '58歲兒進警局 85歲老母傷心';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '社會傳真／冒名地檢署騙錢 26嫌全求刑';
	rows[6].link = 'today-center7.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '凱旋醫院採購弊案 偵訊前院長等7人';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '偽造死亡證明書 女毒犯詐騙救助金';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '60歲獻禮 台華輪高澎夜航 搶佔旅遊市場';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '槍彈裝LV手提袋 露餡';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '明知有車禍發生 仍離去 駕駛人 構成肇事逃逸罪';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '同租男女 生死奇遇';
	rows[5].link = 'today-south6.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
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 = '美國洛杉磯E3電玩展 人氣聚焦熱門電玩';
	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 = '第六屆「童畫媽咪 童話母親」兒童繪圖比賽<br>得獎作品';
	rows[2].link = 'today-family3.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
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-medicine1.htm';
																										
	rows[1].text = '第十萬號寶寶誕生  台安52歲生日大禮';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '攝護腺長哪裡？近半男性不清楚';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '性福講座';
	rows[3].link = 'today-medicine4.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '小不列顛王國.下';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '素描遊戲';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '明星作家夭折記';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '孔明車';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '「世界都在哈台灣」徵文';
	rows[4].link = 'today-article5.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '故事姐姐翠西•法蘭克林<br>讓音樂劇《小熊維尼》更貼近觀眾';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '麥克風藏在地板下面  踢踏舞《愛爾蘭之虎》機關重重';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '海上女鋼琴師 陳毓襄要隨史坦威去馬祖';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '男高音羅素華生訪台曲目  經典與浪漫兼具';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '518免門票 博物館向年輕人招手';
	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 = '南非 秋季生態巡禮';
	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';
}