//===========================================================================
//基本設定
//==================== 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(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 = '本報民調 終統論 反對46％ 支持33％';
	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 = '涉浮報公關費 駐紐代表秦日新送辦';
	rows[8].link = 'today-fo9.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '違法協助創設和艦科技 經部裁罰聯電500萬';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '暫時處分NCC法 大法官駁回';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '扁呂悼孫運璿 推崇功在國家';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '18％改革 今起實施';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '民進黨員建議 徵召林志玲選北市長';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '縣市正副議長聯誼 桃縣急廢兩標 省143萬';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '檢方查標案 桃議會：統包才有問題';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '警方情資僅3件 總長批查賄不力';
	rows[7].link = 'today-p8.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '4大網路業者 赴美國會作證';
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = '漫畫風暴 巴基斯坦7萬人示威';
	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 = 'Fed主席:抑制通膨 需持續升息';
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = '《中英對照讀新聞》Bid to sign bottoms gets S.Africa teacher in trouble 企圖臀上簽名，南非教師惹禍上身';
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '變態男戀童 性侵7少年';
	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 = '2煞當街潑酸 女董恐失明';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '網拍手榴彈 水果1顆2萬';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '殘障詐騙首腦 養身障人頭 轟詐銀行';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '本尊在旁 接獲冒名行騙';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '音緣聚會散播愛 盲生照亮人心';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '3歲植物人 只有床的童年';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '司機尋失主 影中人找到了';
	rows[10].link = 'today-so11.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 = '民怨ETC 蘇揆指示宣導代替處罰';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '國道不收費？交部：不可能';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = 'ETC據點獨漏宜東 消保官開罵';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '立委翻車論 台灣高鐵駁斥';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '會游泳的中小學生… 北縣8成 台東僅1成';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = 'NION MP3播放器 未貼檢驗標識';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '南藝大宿舍 開燈要自付電費';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '消基會調查 南縣糖果節 6大缺失擾客';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '市場策略 每包香菸最多漲5元';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '疫苗打完翌日 2月女嬰猝死';
	rows[11].link = 'today-life12.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-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 = '《HBL》南山出奇招 能仁不敗破功';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '女子競速滑冰金主 朱諾娃史上最老';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = 'ＭＭ連線 狂勝快艇31分';
	rows[7].link = 'today-sp8.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '搶救失業率 五管齊下';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '許德南︰台土中合 互補高';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '華南金李正義 第一金吳清雲';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '洽商會 13大買主將出席';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '餐飲業 創業族最愛';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '自強號糾紛 台鐵禁止韓商競標 韓國揚言向GPA申訴';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '全球辦公室租金 倫敦還是最高';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '歐盟反壟斷調查 搜索日航';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '營建剩餘土處理 將訂法管理';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '房市交易糾紛 逐年提高';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '聯勤地標售 立委促停止';
	rows[11].link = 'today-e12.htm';
																										
	rows[12].text = '門檻降低 百家休閒農場可望就地合法';
	rows[12].link = 'today-e13.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 = '亞洲基金仍看好';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '《理財Q&A》外國人 不適用海外急難救助';
	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 = '聯詠去年EPS12.19元 新高';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = 'IC設計群雄 搶攻TV面板商機';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'SMD LED 殺價擴產迎桃太郎';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '聯電 買百萬張庫藏股';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '遠傳推MSN Messenger 亞洲拔頭籌';
	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 = '吳彥祖四杯就醉 臉紅紅';
	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 = '霹靂布袋戲登上Discovery';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '楊貴媚讚黎明 牛郎界No.1';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '阿湯哥斥分手論 卡麥蓉姊弟戀ㄘㄟˋ';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '007皇家夜總會 不濫殺無辜';
	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 = 'Rain大學撐6年 畢業典禮不出席';
	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(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 = '杜鵑復育、猛禽野放 保育有成';
	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(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 = '查獲賭博電玩 苗栗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 = '花警搜索毒販 逮3嫌起出槍彈';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '賣7000元海洛因 被判無期徒刑';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '機車遭追撞 母慘死3子傷';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = 'KTV臨檢 查獲10人吸食K他命';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '口香糖噎氣管 裝潢工斷氣';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '瓦斯車懸空 化學槽車氮氣外洩';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '雞農被控監守自盜 獲判無罪';
	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';
																										
}
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 = '三股溪疏浚 砍殺300多株紅樹林';
	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(12);
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 = 'ETC收費 OBU免費';
	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';
																										
	rows[11].text = '溫室裡的台灣';
	rows[11].link = 'today-o12.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 = '拉風小跑車 就愛2P咩';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '減肥大明星<br>好萊塢最In甩肉秘招';
	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 = 'NB開始走 華麗風<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(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '蔡燕萍<br>從一張美容椅打造王國';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '國三女生愛上A網、愛看A書';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '金瓜粉蒸肉';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '強力膠倒著放不怕乾掉';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
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 = '控制攝護腺肥大<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';
																										
}
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 = '漫畫流生活栽培法<br>Comic Essay持續發燒';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '多元宇宙 異見世界<br>《個人的體驗》，大江健三郎著';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '廣角度的女性觀察家<br>伊朗：多麗斯．萊辛（Doris Lessing，1919-）';
	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(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '陳進百歲展<br>日本人等著看 台灣人先睹為快';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '撲克牌、桌椅加人聲<br>躍動打擊樂團開音樂派對';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '增建、改建都是工程<br>美術館向建築界招才';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '北美館到當代館搞設計<br>時尚義大利回顧半世紀流行';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '高雄港對港橋樑會<br>展出澳洲攝影師亨利莫勒作品';
	rows[4].link = 'today-art5.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 = '衣索比亞初探';
	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';
}