//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (!showWeekly)
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活副刊'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','work','gender','family','article','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>');
}
if (true)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/weekly.htm","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=810,height=643")>生活週報</A></TD>');
	document.write('	</TR>');
}
if (false)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/house.htm","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=810,height=707")>住宅生活</A></TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.ntat.gov.tw/" target=_blank>台北市國稅局</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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '總統豁免權釋憲 柯建銘：制度之爭';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '國務費案  律師將提停審';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '走路工案 疑蘇萬基主導';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '蘇謝搭檔選 辜寬敏：不可能';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '檢出示同鄉會傳真 古供出實情';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '選後餘波 綠委批前新系扯後腿';
	rows[5].link = 'today-fo6.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-p1.htm';
																										
	rows[1].text = '黨產條例藍綠攻防 四波對嗆 議事又空轉';
	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 = '林正杰毆打金恆煒案 判拘役50日';
	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';
																										
	rows[8].text = '楊甦棣 週末將返美述職';
	rows[8].link = 'today-p9.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "英殺妓狂魔 鎖定ＢＭＷ肥男";
	rows[0].link = 'today-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 = "《中英對照讀新聞》The animal that stows its tongue in its rib cage 把舌頭藏在胸腔裡的動物";
	rows[4].link = 'today-int5.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 = '南投越勞命案 棄屍共犯落網';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '欲搶運鈔車案 槍匪「預謀」殺人';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '涵碧樓重話炒人 判賠2元';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '大義滅親? 明華園2分團長去職';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '毒鼠藥當餅乾 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 = '肌萎生號召   E起做志工';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '美女教師 逢甲甜蜜教主';
	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(8);
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 = '週末，高山可望撲銀妝';
	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 = '入圍金球獎 火線交錯7項稱霸';
	rows[7].link = 'today-life8.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《杜哈亞運特別報導》逆轉中國，遭日完封．．．銀棒';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《杜哈亞運特別報導》快樂打球 氣勢凌駕中國';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《杜哈亞運特別報導》9棒奇襲 賴孟婷剋中國';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '《杜哈亞運特別報導》詹莊奇蹟，中國喊卡．．．銀拍';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '《杜哈亞運特別報導》10天出賽11場 小詹包金銀';
	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 = '《杜哈亞運特別報導》男籃第8 史上最差';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '職棒回饋抵竹東 轟動中山、上館';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '人才外流 竹縣少棒發展困境';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '6年5200萬美元加激勵條款 松&#22338;、紅襪今簽約';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '奈許撲火 太陽12連勝';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '北一女抱病 逼退陽明';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '《LEXUS CUP女子高爾夫對抗賽開幕》亞洲隊矢言:奪回金盃';
	rows[14].link = 'today-sp15.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'ETF投資 全球發燒';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = 'ETF鎖定指數 可賺配息';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '買賣ETF 下單方式比照股票';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '引進文華東方酒店技術 投資五億美元<br>中泰賓館 將變身頂級商務飯店';
	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 = '不當約定加速條款 6金融機構挨罰';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '私募基金收購？ 華映否認';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '《國情密碼》10月職場 求供比達1.37倍';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-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 = 'LV阿諾特 創意精準打造精品帝國';
	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 = '專利威脅解除 LED股大利多';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '黃崇仁：明年首季DRAM搶手';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '塑化報價大漲 聯成受惠';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '技嘉結合英特爾 跨入安控業';
	rows[11].link = 'today-stock12.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(8);
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 = '鳳飛飛嚎哭送弟 照顧12歲小侄子';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '除了吸大麻之外... 驗出一級毒品反應 2藝人麻煩捅大了';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '與伊麵分手1年 GiGi終於哭了';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '陳凱倫破49歲魔咒 行善邁半百';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '楊丞琳進軍柏林 最怕落英文';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '安海瑟威穿Prada 突破奪冠';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '柴崎幸 妻夫木聰 聯手吸金28億';
	rows[7].link = 'today-show8.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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '吳秀光任副市長 羊曉東掌新聞處';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '勞保費爭議 市府3案全敗訴';
	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 = '4分鐘 藏金閣珠寶被搬空';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '國三生架男童志網站 警上門父母驚';
	rows[6].link = 'today-taipei7.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 = '署基院長與老人 開心賭香腸';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '婚禮驚喜 舅舅走失喜劇收場';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '340隻豬暴斃 疑遭毒殺';
	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';
																										
}
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 = '3歲哥照顧1歲妹 原來…父家暴打跑母';
	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 = '39起搶案 劉錫龍判重刑';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '踹人一腳 精神賠償5萬元';
	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(8);
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 = '感念葉菊蘭 國樂團18日辦音樂會';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '斷續護欄易斷魂 地方促改善';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '西門路中正路三角窗地王 每坪82.5萬';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '梅嶺車禍現場無醫護 南檢查疏失';
	rows[7].link = 'today-south8.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 = '北高各自實驗';
	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(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 = 'work';
		rows[1].link = 'today-work1.htm';
	
		rows[2].text = '兩性異言堂　→';
		rows[2].submenu = 'gender';
		rows[2].link = 'today-gender1.htm';
	
		rows[3].text = '家庭親子　　→';
		rows[3].submenu = 'family';
		rows[3].link = 'today-family1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.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(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('work');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('gender');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
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';
}