//===========================================================================
//基本設定
//==================== 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[0].type = '倏忽十年 秘辛揭露';
																										
	rows[1].text = '中國軍演十個月 美航艦入台海';
	rows[1].link = 'today-fo2.htm';
	rows[1].type = '倏忽十年 秘辛揭露';
																										
	rows[2].text = '我急擬500億軍購 美軍官登馬祖';
	rows[2].link = 'today-fo3.htm';
	rows[2].type = '倏忽十年 秘辛揭露';
																										
	rows[3].text = '台商連署鬆綁西進 陸委會：昧於政治現實';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '馬：國民黨不冠名台灣';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '中國封鎖資訊 Google成幫凶';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '18％改革，16日正式實施<br>未來40年 國庫可省4000億';
	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 = '紐約原油 距今年高點跌9.5%';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '台灣國際駕照 日擬承認';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '台聯將公布八八憲草';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '民進黨部 建議北蔡南葉';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '周玉蔻 願代表台聯選北市長';
	rows[9].link = 'today-p10.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-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 = '《中英對照讀新聞》Kenya offended at N. Zealander\'s dog food aid offer 紐西蘭人狗食援飢提議冒犯肯亞';
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '破案抓搶匪 1日3響砲';
	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 = '性侵女兒2年 還帶朋友來嫖<br>少女報案揭父獸行';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '虐妻耍陰招 李塞下體叫她吃';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '93歲椪獅公 92歲菊花嬤 老情人正青春';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '本報獨家披露牽成 日人來台尋根 老友相見歡';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '平安龜王 5歲囝仔奪標';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '女學生摔出公車 司機竟關門落跑';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '119急救血崩產婦<br>媽媽攜女嬰 謝救命恩人';
	rows[9].link = 'today-so10.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 = 'ETC塞車潮 泰山開放便道應急';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '便民惹來怨連連！ 交部明提檢討報告';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '北宜直線鐵路 環評認定不宜';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '放天燈防失火 將須申請';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '鞭炮劈啪響 誰也罰不到';
	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 = '蜆精報錯價 PChome拒出貨';
	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 = '《冬季奧運》地主金開張 馬志鴻排28';
	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 = '《HBL》三民踢到鐵板';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '魏德連得17分 活塞火燒屁股';
	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 = '經典陣容搶先看 委國最稱投 古巴平均24歲';
	rows[9].link = 'today-sp10.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 = '101大樓當背景 不算侵權';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = 'Livedoor弊案 堀江被起訴 股價跌停';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '蕭萬長領軍 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 = 'Fed可能續升息 助漲美元';
	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 = '中信銀證大買兆豐金35萬張';
	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 = '爭取韓商 中光電、瑞儀較勁';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '生技、化學 擒留買氣';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '高盛：鴻海華碩Q2業績不淡';
	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';
																										
}
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 = '油價 今午12點起漲1元';
	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 = '錯把曹格當陶&#21894; 烏龍騙局 粉搞笑';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '阿妹幻想 2/14變國定假日';
	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 = '183扮月老 粉絲求婚成功';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '聽見章子怡 霍啟山老母翻臉';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '張韶涵咪咪UP UP 溝引人喔';
	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 = '凱莉米洛試婚紗 怕二手貨觸霉頭';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '菲利普18公斤肥肉 換14座影帝';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '李孝莉大學讀8年 沒臉去畢典';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = 'Rain進軍日本 AI助陣';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '哈里遜鬥智耍狠 防火牆拚第一';
	rows[15].link = 'today-show16.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《今日社論》馬英九的統一大夢？';
	rows[0].link = 'today-s1.htm';
																
	rows[1].text = '《自由談》天使或魔鬼？';
	rows[1].link = 'today-f1.htm';
																
	rows[2].text = '《鏗鏘集》廢統的論述與行動';
	rows[2].link = 'today-f2.htm';
																
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '揩油 43清潔員判刑';
	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 = '泰山路口監視鏡頭 2/3中看不中用';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '猥褻2幼女 獸父被求刑8年';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '連兩天悲劇 竹市又1女嬰遭棉被悶死';
	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 = '慘！桃園3車禍奪3命';
	rows[5].link = 'today-north6.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 = '犯下17案 飛車4強盜落網';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '家屬提供證物 埔里飛車3匪被逮';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '標車牌 9999最ㄏㄤ 6666最冷';
	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 = '邱永仁醫院遭懲 停辦住院2個月';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '南清宮宋江陣 表演虎虎生風';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '限縮漁獲 42艘漁船陸續返港';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《林保華專欄》美國應珍惜台灣主流民意';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '譴責中國 黑道迫害民主人士';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '能源局漏了酒精';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '部長民意信箱 教師之痛';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '羅德談紅線';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '從兩伊看兩岸';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '北二高UFO';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '搶購蜆精 不一定佔便宜';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '台中外地人的抗議';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '平劇與布袋戲';
	rows[9].link = 'today-o10.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(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 = '春天陽光吻上妳的頰';
	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 = '福特 Focus ST歐系鋼砲火力展示 vs 福斯 Golf GTI';
	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 = '曠男怨女 救苦救難情人節妙招！';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '當iPid變成iPorns？';
	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>檢查、手術一次OK';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '七歲男童 糖尿病纏身';
	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 = '星雪小院.下';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '狗來旺';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '誕生．轉生';
	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 = '香暖濃郁 情迷巧克力';
	rows[0].link = 'today-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '北市國群龍無首 北市交無經費<br>北市府兩演藝團體前途堪慮';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '創作走上商品化 藝術家躍躍欲試';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '馮光遠攝影展 重現八十年代';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '動作尖銳 情感豐富<br>許芳宜重現瑪莎葛蘭姆作品';
	rows[3].link = 'today-art4.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';
}