//===========================================================================
//基本設定
//==================== 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(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '格達費邀訪 扁欣然同意 我與利比亞將恢復設處';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '真心愛台灣 利國不怕見光死';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '狂人格達費 曾唸政戰遠朋班';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '中油查德簽約 合作探油';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '瞄準油國 能源與外交雙贏';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '亞股重挫 日股提早收盤';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '風暴過後…股市將回穩';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '台幣貶值1.26角';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '投信：漲多拉回 趁機佈局';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '伊朗、奈及利亞局勢不穩 油價升破67美元';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '中油：農曆年前不漲';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '台大：張家老大 美也認應骨髓移植';
	rows[11].link = 'today-fo12.htm';
																										
	rows[12].text = '張家開心回國：病情控制了';
	rows[12].link = 'today-fo13.htm';
																										
	rows[13].text = '3200萬善款 張家交付信託';
	rows[13].link = 'today-fo14.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '橘2議員將投藍 倒打宋一耙';
	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 = '18%改革 確定二月十六日上路';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '薄瑞光：AIT理事主席 可能變兼職';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '封殺軍購、世運主場館預算 南社聲討黃昭順';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '顧崇廉：採購P3C預算 要趕快過';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '馬：軍購立場 三月說分明';
	rows[11].link = 'today-p12.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 = '2008女人當家 民調七成美國人贊成';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '明天過後真實版 莫斯科急凍';
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = '布雷爾5歲子 險遭激進父權團體綁架';
	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 = '《中英對照讀新聞》Britain lifts \'no smile\' rule for child passport pics 英國解除兒童護照相片「不得微笑」的規定';
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '二審大逆轉 嬰兒猝死 保母有罪變無罪';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '東雲新市廠氣爆 6死5傷';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '城市勸募人 原鄉耶誕老人';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '腦瘤病童 手術成功真情感恩';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '兒蓋高腳屋 讓兩老脫離水患';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '二手家具 填滿瑪利亞家園';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '詐騙專線 電話平台 專供使詐';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '冬蟲夏草膠囊 明星代言黑心貨';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '轟詐兩岸 擁名車豪宅';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '反攻大陸 簡訊詐中國 賺回人民幣';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '少女遞套助兄姦同學';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '彰市賓館雙盜落網 相隔10年 警巧逮同1人';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '太萊炒股案 張昌財貪污起訴';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '聯合生技吸金 全國大搜索 贓款流入中國';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '滿春億海上喋血 水警殺船長 菲允1定嚴懲';
	rows[14].link = 'today-so15.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 = '北宜高 5大瓶頸';
	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 = '愛在偏遠醫療 3醫師領獎';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '幫卡主投保 受益人…僑銀';
	rows[7].link = 'today-life8.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '奇里連科 大三元';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '禮品盃 林吉祥 轟下領先地位';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '98全運會 約訂台中市';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '王宇佐 二輪鎩羽';
	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 = '高中棒球 霸主之爭 南英vs三民';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '熊隊好薪情 平均加7趴';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '野手大爆滿 良性鯨爭拚上場';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '亞洲盃資格賽 林家聖助陣';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '馬術錦標賽 週六淡水舉行';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台股重挫 外資不會撤退';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '亞股拉回修正 外資依舊偏多';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '台灣兆元產業 後年變5大';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '肯德基嗆聲 麥當勞祝福';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = 'MasterIndex調查 台灣消費者信心 極度悲觀';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '年關調頭寸 考慮保單借款';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '七大行庫 23日起換新鈔';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '《理財Q&A》變額萬能壽險 有投資風險';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '旺宏12吋廠 53億賣力晶';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '創見去年EPS 衰退近3成';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '光電產值 估達1.17兆 成長10％';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '數位相機產值今年飛躍成長';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '台積電 80奈米製程量產';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '力特重編財報 去年恐由盈轉虧';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '房市樂觀 京城賺1番';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《期指觀測站》中線整理 短期操作宜保守';
	rows[7].link = 'today-stock8.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(13);
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 = '陶&#21894週末開唱 彩排練聲體';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '維大粒性頭上 男友叩應澆熄慾火';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '周董長尾巴 Jolin大喊生日快樂';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '邵美琪包肉粽 難掩臃腫老態';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '王識賢辭意難忘 要錢更要命';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '陳孝萱產後 老公地位不如狗';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '麥可缺錢 將到中東樂園上班?';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '克隆尼遭虐打 個把月起不了床';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '吉川雛乃吻SHIHO搞曖昧';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '成宥利 終結戀情 金玟善 假戲真做';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '矢田亞希子貼天海祐希 遭拒';
	rows[12].link = 'today-show13.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 = '蘆竹假車禍真搶劫案 4嫌落網';
	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 = '苗栗燒炭母活子死案 鬱母判4年';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '發監前揚言切腹 竹科大盜被勸下';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '灌醉少女逞獸慾 狼重判11年';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '頭份警緝毒 連帶抄獲槍彈';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '追討互助金 警轉消要告警政署';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '防堵黑道藉選舉漂白 雲林地院：從重宣告褫奪公權年限';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '贓車辨識系統 嗶、嗶…抓到路過車賊';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '專偷加油站 1秒鐘就得手';
	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 = '投檢偵結2賄選案 最高求刑2年10月';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '國道三隊 提供免費無線上網';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '機車撞腳踏車 醉騎士丟命';
	rows[8].link = 'today-center9.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '破獲擄鴿集團 逮捕2嫌 救出23隻賽鴿';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '投資殺機 護膚店槍擊命案偵破 主嫌落網';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '家庭破碎 17歲少年小偷變綁匪';
	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';
																										
}
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 = '地名正名 蔣渭水VS.馬英九';
	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(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 = '高性能狠角色<br>豪華旗艦飆快感';
	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 = '新春紅通通  開運喜洋洋';
	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 = '女友賭氣 竟和別人上床';
	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 = '嘴裡長青蛙<br>蛤蟆腫 都是口水惹麻煩';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '創意年糕來入菜<br>健康加味又吉利';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '不同洗面乳 交替使用無妨';
	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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '輕言之前';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '七星潭砂礫';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '夜色中環';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '如果還有明天';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '在穿鞋與脫鞋之間';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '價格破壞與新行銷時代的來臨<br>2005年日本書市總回顧';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '男孩們開始墮落';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '回憶錄成歐普拉新歡';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '紙上全球音樂會';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '新聞短波';
	rows[9].link = 'today-article10.htm';
																										
	rows[10].text = '推理女王的成功之道？';
	rows[10].link = 'today-article11.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 = '金石堂2005風雲人物<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';
}