//===========================================================================
//基本設定
//==================== 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','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 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(14);
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 = '美議員估 售台潛艦造價可降3~5成';
	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 = '助查反恐案件涉作偽證 AIT官員施海瑞遭美起訴';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '中國南太撒銀彈 扁7月訪諾魯反制';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '中國金錢外交 南太砸121億';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '十二項污名 讓中國抬不起頭';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '胡錦濤恫嚇 日視為新威脅';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '總統專機變裝 上白下綠';
	rows[11].link = 'today-fo12.htm';
																										
	rows[12].text = '南亞技院爆人頭帳戶 財務浮濫';
	rows[12].link = 'today-fo13.htm';
																										
	rows[13].text = '日相撲力士 8月首度登台';
	rows[13].link = 'today-fo14.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '綠委拚連任爭地方建設建議權';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '中央補助不均 地方貧富更懸殊';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '斗六開源節流 認養路燈做功德';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '澎湖望安怒 曾喊無人島賣中國';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '城仲模否認緋聞 司院將調查';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '路線還原／沿途加油站 就有好幾間';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '陳文茜 與整形醫師熱戀';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '媒體寵兒 感情世界撲朔迷離';
	rows[7].link = 'today-p8.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "泰反對黨 擔心塔克辛幕後干政";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "泰王會見塔克辛 扭轉政局";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "在IRA臥底20年 英間諜被殺";
	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 = "《中英對照讀新聞》Saudi bars men from selling lingerie 沙烏地阿拉伯禁止男人賣女性內衣";
	rows[6].link = 'today-int7.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 = '海釣船翻覆 3死1失蹤';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '鋒面晚到 海象遽變釀禍';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '為兄作保 欠100萬扣薪7年 警還140萬 只算利未算本';
	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 = '歐洲駭客 入侵我200網站';
	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 = '美人爬山 揹水贈飲成癮';
	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';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '6月份以後 瓦斯表保證金可望切結退費';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '政府接管BOT營運損失 業者負責';
	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 = '檳榔健康捐 擬1顆課1角';
	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 = '葉五美公祠 6000子孫同祭';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '寵物有人拜 流浪犬成飼料';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '建仔首戰 自信滿滿';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '伸卡新握法 隨時勤練中';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '獅降甘霖 再見安打牛';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '684分打點 泰山獨占鰲頭';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '普羅克特失手 洋基1分敗';
	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 = '落湯雞 第7局崩盤';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '熊萊特遭解約 換雷鵬';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '卡神、志玲姊姊 台維斯盃嬌點';
	rows[11].link = 'today-sp12.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '韓國經濟大躍進 台灣踩碎步';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '液晶電視 價格戰再起';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '卡債風暴 量販店產值 年少70億';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '卡債風暴 百貨業力拚母親節買氣';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '人民幣升值 創匯改新高';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '汽油進口關稅 財部傾向不降';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '國華產險今標售 雙雄對決';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '我面板產量超韓 產值較低';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '面板Q1獲利 外資看衰';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '出貨旺盛 力信、全漢月績突出';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '台股Q2走勢 下殺空間小 急跌是買點';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '軟板廠業績 3月露曙光';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '禾伸堂3月營收 歷史次高';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = 'PC沒電 衝擊相關IC設計表現';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '新鼎股利冠同業 智冠1.0元';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '台肥獲利穩 外資持股近五成';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '8成股票型基金 打敗大盤';
	rows[8].link = 'today-stock9.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 = '若無補助 17縣市發不出薪水';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
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-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 = '康康戀情走光 女友憂父母反對';
	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 = '80歲維尼 羅賓的大玩偶';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '電車男發酒瘋 純情形象全毀';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '長澤雅美星光亮 氣走石原里美';
	rows[11].link = 'today-show12.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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '資源垃圾還要細分 新店人有怨';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '入境隨俗 在台加僑淡水掃墓';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '人情壓力左右公車停靠區長短';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '台北遇雇知 外勞真情流露';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '掃墓公車 載客創紀錄';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '天羅地網 護校園';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '高職應屆畢業生 67.8%選擇升學';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '母被兒關 住陋屋睡地板';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '牢記警車號 鴛鴦毒販仍落網';
	rows[8].link = 'today-taipei9.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-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 = '《社會傳真》整修民宅焊燒鋼架 火花禍鄰';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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-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[7].text = '臨檢落跑墜樓 家屬質疑死因';
	rows[7].link = 'today-center8.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-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';
																										
	rows[5].text = '色情 摸摸茶雇少女坐檯';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '重利 多位軍公人員受害';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '賭博 活逮六合彩簽賭站';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '安檢 夜探地中海三溫暖';
	rows[8].link = 'today-south9.htm';
																										
}
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 = '無學 未曉讀寫母語';
	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(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 = '迎戰Civic 8，Tiida <br>國產房車戰火燃';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '奢華時光 停格日內瓦';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '美容保養品 潮流話題';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '愛現手機 時尚秀<br>新鮮元素 才能引導潮流';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '明辨境外茶 喝春茶不烏龍';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '性口味不合 花時間調適';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '讓我們親密撞衫吧！';
	rows[2].link = 'today-family3.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(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 = 16;
menu.parentMenu = 'supplement';
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-article1.htm';
																										
	rows[1].text = '碧落之下';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '靜靜的激情';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '鄉愁商品化';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '踐踏';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '多部合唱的法語文學<br>2006年巴黎書展熱鬧閉幕';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '諾貝爾風向球？';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '形上返家的苦行之旅';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '科幻大師永遠擱筆';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '波隆納童書盛宴';
	rows[9].link = 'today-article10.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 = '朱宗慶打擊樂團《聆聽•微笑》音樂會  為外籍勞工朋友頌音起鼓';
	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 = '蘇旺伸的特技俱樂部 故事起了頭便戛然而止';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '李錫奇創作展  縮影台灣現代藝術50年';
	rows[5].link = 'today-art6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '掀開台灣峽谷面紗<br>南橫天龍古道解密';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  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';
}