//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = 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'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','living','family','medicine','article','young','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 href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '廢統報告 本週提報總統';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '郭正亮建議 召開國安擴大會議';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '跨派系綠委集會 傳組新次團';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '拆遷高砂義勇碑 日僑團譴責';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '修憲不同調 馬對王下馬威';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '綠委連署建議徵召沈富雄';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '國名遭塗銷 陸委會擬開罰';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '楊光友提陰謀論 網友駁斥';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '張永正籲拔麥牌 錄影為證';
	rows[7].link = 'today-p8.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(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 = '《中英對照讀新聞》And the top 10 worst presidential blunders are... 十大最糟糕的總統錯誤是…';
	rows[8].link = 'today-int9.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 = '以小欺大 10餘國一生毆鄰奪手機';
	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 = '替獨居老人送餐5年 王世智 志當台灣德蕾莎';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '花旗聯合勸募 8358萬創新高';
	rows[11].link = 'today-so12.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '無言抗議 機場記者封口';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '陽明山 櫻花報到 阿里山 接棒登場';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '擾人清夢 飛機噪音 高達85分貝';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '台藝大申設博士班遭駁回 吳宗憲：教部音容苑在';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '台灣夢美人米 日本熱賣';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '章嘉活佛舍利塔 暫列古蹟保護';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '餐飲店油煙 須裝防污設備';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '國產舊菸還有二萬箱 菸捐豈能收十元';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '生魚片風波 鯛魚外銷恐受挫';
	rows[8].link = 'today-life9.htm';
																										
	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(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 = '二郭提點小老弟';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '撞牆期 球員頻喊累';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《青棒菁英賽》南英鯨吞穀保 E組稱冠';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '誰能帶種闖季後賽';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '草地教練陳洋輝 練出狀元兵';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '四月出賽 黃軍維挑戰世界極限';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《國際籃球邀請賽》罰球失手 實踐女籃１分飲恨';
	rows[9].link = 'today-sp10.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '大摩：加碼台、星、泰股市';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '日貨幣寬鬆 預估4月取消';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '雷曼兄弟2006亞太經濟展望：台灣經濟成長率升至5％';
	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 = '國際油價再度衝破60美元';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = 'Google.cn無照營運 中國要查';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '公平會獲英刊物評為最佳團隊';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '紐約人壽加碼對台投資';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(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 = 'DDR2續揚 本月已漲3成';
	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 = '3G用戶 台灣大年底目標百萬戶';
	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(15);
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 = 'Rain又來了 旋風行程搞神秘';
	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 = '任達華牽琦琦 時尚夫妻掃衣拚龜毛';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '克隆尼輸獎贏芳心 芮妮吃回頭草';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '服了莎莉賽隆 又得第1名';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '小布 裘莉 3/12義大利辦喜事';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '鄭俊鎬追金廷恩 金興秀作梗';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '上戶彩虛榮 賣身當二奶';
	rows[14].link = 'today-show15.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 = '走失15公里 3歲童好運到家';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '取締消防通道臨停 用錄的';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '回填路面重車壓壞 5騎士摔車';
	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 = '關渡媽感恩 八里作客111年不輟';
	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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '歡喜遊農場 慘遭撞斷腿';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '發訊求救 脫逃菲傭：遭施藥控制';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '國際警察協會會長 花蓮參訪';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '義消自製破壞器材 新埔示範';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '盜用保單借款 女業務不知去向';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '涉變造證件冒貸 女子換身分證被逮';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '當馬夫賺2600 被判刑1年2月';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '社會傳真／駕駛恍惚擦撞護欄 後車追撞';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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-center1.htm';
																										
	rows[1].text = '傳喚書有詐 商人失金80萬';
	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[7].text = '役男想援交 一罪挨兩罰';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '賭場藏民宅 日賭資上百萬';
	rows[8].link = 'today-center9.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '清源專案受懲官警 醞釀向監院檢舉';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '跨區破賭場 高市警高縣奏功';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '毒蟲開車衝撞 警擊破前輪制伏';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '奪命流彈 彈道比對出爐';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '劈6女拍光碟 還搞病房版';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '上山採藥摔斷腿 他，幸運脫困';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '建功 比對6年終尋獲';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '猝死 31歲男一醉不醒';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '亮槍 搶匪嚇熱心路人';
	rows[8].link = 'today-south9.htm';
																										
	rows[9].text = '摔死 女公關跌落樓梯';
	rows[9].link = 'today-south10.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(11);
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 = '222 挑戰職災死亡率';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '《曹長青專欄》「三通」通向災難';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '黨旗媚日 周錫瑋撕不撕';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '中華民國 真的去了了';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '清算蔣介石 重振台灣精神';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '救救原住民勞工';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '我搭公車 別把我當賊';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	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].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '好品味　　　→';
		rows[1].submenu = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性　　→';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療　　→';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美　　　→';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化　　→';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊　　→';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Jaguar 南非快意馳騁';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '放輕鬆 肌膚就變白啦';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
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-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
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 = '當中餐遇上葡萄酒';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '愛上做愛滋味<br>男友卻不配合';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '舉發缺德消費者';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '墊水餃墊<br>女兒模仿我';
	rows[3].link = 'today-family4.htm';
																										
	rows[4].text = '模範婆婆 我也想遇上';
	rows[4].link = 'today-family5.htm';
																										
}
menu = null;

menu = getMenu('medicine');
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 = '主動脈瘤<br>體內不定時炸彈';
	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';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '作家的藏所';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '那一個下午，白浪如練';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '高等動物？';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = 'Getty中心重新出發';
	rows[3].link = 'today-article4.htm';
																										
}
menu = null;

menu = getMenu('young');
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-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
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>七月展出台灣美術作品25件';
	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';
																										
	rows[4].text = '林金標油畫展<br>表現魔幻空間語彙';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '重現《布蘭詩歌》<br>劉鳳學把距離留給自己';
	rows[5].link = 'today-art6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
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;
}
//====================  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,700);
}

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,700);
}

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';
}
