//===========================================================================
//基本設定
//==================== 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(\'../../../pnews/Pnews0513.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/2005/pnews/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(10);
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 = '姚反擊：立法延宕所致';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '三台老總交棒 心情各異';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '謝揆否認運作辭職';
	rows[9].link = 'today-fo10.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '2008年前未下單 台灣軍購恐落空';
	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 = '日專家建議 台灣宜速購P3C反潛機';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '劉德勳：兩岸直航須靠協商';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '張俊宏爆秘辛 汪道涵曾向扁建議未來一中';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '台東縣代縣長賴順賢 混亂中宣誓就職';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '縣長保衛戰 吳俊立聲請停止執行';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '內政部：違法行使縣長職權 恐觸刑法';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '不滿漠視本土教育 本土社團促范巽綠下台';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '鳳山國中校舍改建風波 張富忠告楊秋興誹謗';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '有人要扁退黨？ 呂、謝緩頰';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = '司院組織法 藍復議成功 綠斥反司改';
	rows[12].link = 'today-p13.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 = '13國悼念罹難者';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '海嘯小救星 年度風雲兒童';
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = '3萬顆燈泡秀 全球網友遙控';
	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 = '《中英對照讀新聞》Penniless street singer wins first \'Bangladesh Idol\' contest 身無分文的街頭歌手贏得首屆孟加拉偶像大賽';
	rows[7].link = 'today-int8.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 = '辦醫院 搬屍體 香港修女獻愛45載';
	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';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '電信費率 明年可望調降';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '石門水庫250億整治費 通過初審';
	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 = '血荒 捐血919次 熱血青年籲挽袖';
	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 = '台大六成研究生 每月助學金不到3000元';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '劍橋華語師資 中國政治卡位';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '北市取締阿羅哈 放任和欣違規';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '私釀米酒 充斥市面';
	rows[12].link = 'today-life13.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '陳金鋒 選秀狀元';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '30日熊開訓 鋒仔不出席';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '合庫15人報名 11人上榜';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '《諸羅山盃國際少棒賽》南部三隊 晉級四強';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '聖誕夜 火燒湖人';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '復仇夜 活塞拔刺';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《HBL》男甲12強 今起雄中拚戰';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '兩岸撞球王后 台灣全包';
	rows[7].link = 'today-sp8.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '日股漲破16000大關';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '台企銀增資 兆豐金不缺席';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '蘇天財 捍衛權益槓上財部';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '合庫增資百億 漂亮出嫁';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '中國環境惡化 逾10%製鞋商回流';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '華銀將出脫台企銀持股';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '何壽川接任建華金董事長';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '促產條例修正案--林全︰折衷方案喊卡';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '再生能源發展草案 立院初審過關';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '去年金融及保險業 調薪最多';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '《理財Q&A》高收益債券 風險較高';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '股市回穩 M1B年增率走高';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '日股站上10年線 中長多確立';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '美國公債殖利率 利差將擴大';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '台幣升8分 近日挑戰33元';
	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';
																										
	rows[9].text = '明天上櫃 威力盟 威力比漲';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '聯家軍火紅';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '營建股 入帳題材旺燒';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = 'VoIP新產品效應 法人預估 松翰明年EPS5.13元';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '《期指觀測站》摩台、電子期 易漲難跌';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '億光、晶電︰LED明年景氣樂觀';
	rows[14].link = 'today-stock15.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(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '金城武心裡有個她 曾經很受傷';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '許慧欣 肚子窩藏蜜袋鼯';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '楊烈罹癌 硬漢不甘心';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '蔡伯翰討好Rain 奉上玫瑰滿屋';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '張韶涵中邪？ 范范來驅魔';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '背著黎明偷歡 樂基兒露肚肚打球 鬍鬚男提鞋';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '楊雅慧回台探戲路 搶演白蛇傳';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '李力持力捧蕭正楠 周星馳第二';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '藍心湄 錢韋杉 主持拚場 肉彈尬肉鬆';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '裘莉孕藏3個月 小布新年當新郎';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '藝伎導演 害鞏俐章子怡互毆';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '芭黎絲稱霸好萊塢 400萬人搜尋';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '仲間由紀惠紅整年 踩木村拓哉登吸睛王';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '野獸權相宇 怕丟臉拒用替身';
	rows[13].link = 'today-show14.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 = '《今日社論》NCC模式只是違憲亂政的新招數';
	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(12);
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 = '詐人移民 吸金9億多元';
	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 = '免費流感疫苗 再擴大2類';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '台北跨年夜 狂歡2006';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '445位優良學生 同獲表揚';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '紅綠燈不同步 禍害2年多';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '公車大減班 猴硐大反彈';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '垃圾強制分類 元旦全面實施';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '老師常抓狂 學生家長凍未條';
	rows[11].link = 'today-taipei12.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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 = '行竊敗露 持刀挾持屋主1家3口';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '白晝闖瓦斯行搶皮包 1落網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 = '騙徒兩頭詐 上網買賣2女被坑';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '中壢羅姓民眾槍擊案 藥頭遭黑吃黑惹禍';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '頭份少年命案 國中同學悔行兇';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '2煞持刀押駕駛 劫財又搶車';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '社會傳真／桃園非常光碟案 檢方傳訊陳長河';
	rows[8].link = 'today-north9.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 = '中檢點名5人 提當選無效之訴';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '賄選案 各地共起訴62人';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '少年扮攔路虎 持玩具槍搶劫';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '車震 遇搶匪掃性';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '國姓鄉代墜湖 吉普車尋獲';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '廟宇潑油案 約談女大學生';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '通關密語遭破解 夫婦失金';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '銀樓搶案 28秒搶走40多兩金';
	rows[8].link = 'today-center9.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 = '鳳山金合益銀樓 10年內兩度被搶劫';
	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 = '接到電話 婦人被詐58萬元';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '酒後駕車肇事 越南華僑客死異鄉';
	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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '憲改 不是扁馬的問題';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '他沒提到2300萬人的意願';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '《林保華專欄》聯共制台就是政變手段<br>中國聲明、美國賀電 證明了台灣曾有一場流產的政變';
	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 = '88萬';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '到底要怎樣？';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '超好笑的政經保台';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '他諫言 你別插嘴';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '同樣七年級看余祥銓';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(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 = '動力再升級  BMW 5系列全員到齊';
	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 = '電視行動化<br>Live節目不錯過';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '愛情36計 永遠保鮮';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '孩子床上做的 比你想得多';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '努力工作<br>竟說我不適任';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '多個臉盆 洗澡不怕冷';
	rows[3].link = 'today-family4.htm';
																										
	rows[4].text = '香蒜蛤蜊麵';
	rows[4].link = 'today-family5.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 = '有C肝又有乳癌<br>須防肝癌風險';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '癌症病患<br>也要注意心理健康';
	rows[3].link = 'today-medicine4.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '走進魔衣櫥 C.S.路易斯的成長之旅';
	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 = '美、英、日、澳 由台灣出發<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';
																										
}
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';
}