//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
path = '';
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('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 = 0;
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 = 'HARDtalk主持人：馬英九立場與北京一致？';
	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 = '美外交官 禁收逾100美元禮物';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '替代役 將增研發替代役';
	rows[9].link = 'today-fo10.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '悼念228 民進黨建議下半旗';
	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 = 'BBC專訪 凸顯馬兩岸主張困境';
	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 = '9ＮＣＣ委員到職 推蘇永欽任主委';
	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 = '北縣傳賄 10議員訊後釋回';
	rows[11].link = 'today-p12.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '馬可仕A3.2兆 菲僅追回500億';
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = '杜拜航商接管美六港 布希支持';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '聖地被炸 伊什葉派反擊';
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = '中國邀宴 英王儲拒吃';
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = '哈佛校長桑默斯請辭';
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = '防禽流感 倫敦塔烏鴉 隔離保護';
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = '日紀念竹島日 南韓抗議';
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = '《中英對照讀新聞》British men dying needlessly from breast cancer 英國男性枉死於乳癌';
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '集資買樂透 差1號中頭彩';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '賣盜版賺5萬 判賠1569萬';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '商標權訴訟 小哈佛不敵哈佛大學';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '賣茶兼簽賭 暴利400萬';
	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 = '奇妮創辦人 控女侵吞10多億';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '130校園遇駭 攻占掛載盜版';
	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 = '浪子回頭練拳腳 贏得榮耀';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '導護阿公 守護小小學弟妹安全';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '上網打經 修佛創新法門';
	rows[13].link = 'today-so14.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '學測滿級分衝到159人';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '60級分以上 可搶名校熱科系<br>44級分左右 普校非熱系有望';
	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 = '航太科技加持 國研院數位相機 假LV照原形';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '職場減災 跨部會合作';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '台灣黃牛肉 農委會推銷';
	rows[9].link = 'today-life10.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 9;
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-sp1.htm';
																										
	rows[1].text = '陽仲壽心中 只想扳倒南韓';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《全國青棒菁英賽》穀保南英 今爭冠';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '紀淑如 踢進亞錦賽';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '《WSBL女子超籃》爭決賽權 電信本錢贏台元';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '明星賽MVP 降魔';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《杜拜網賽》觀眾一面倒 不是挺辛吉絲的';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '科威特桌賽 莊智淵雙喜';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '孟斐斯網賽 王宇佐雙敗';
	rows[8].link = 'today-sp9.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'NPL賤售出現後遺症 倒帳企業 半價買回資產';
	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 = '前社長堀江 拘留恐延長';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '恢復捕鮪配額 我與美、加溝通';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '金鼎證今赴立院陳情';
	rows[6].link = 'today-e7.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 7;
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-stock1.htm';
																										
	rows[1].text = '投資黃金 存摺與基金較佳';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = 'Fed：升息確保經濟成長';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '《理財Q&A》狗年投資 股票優於債券';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '印度經濟成長 可維持高水準';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '半導體年銷售額 估增9.5％';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '威剛看俏NAND後市';
	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 = '遠傳營收持平 看好3G';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《期指觀測站》小M頭成形 勿貿然搶進';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '《國際股市》美可能升息 德英午盤走低';
	rows[13].link = 'today-stock14.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Rain代言 先上車後補票';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = 'Rain迎機大陣容 硬是壓倒英愛姊';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '李英愛疲憊離台親切握別';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '任賢齊 女兒出生證明父空白';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '蘇慧倫李威搞失蹤 惹毛導演';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '搞Gay？ 尹子維緊黏蔣偉文';
	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 = '張韶涵一人演三角 好想敲金鐘';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '崔智友2/28登台 快閃避寶兒';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '小池徹平笑容無敵 最得寵';
	rows[13].link = 'today-show14.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 4;
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 = 10;
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 = 10;
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 = '玩脫衣牌 3男灌醉少女性侵';
	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 = '市區10地點 登上淹水榜';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '退牌照稅 3萬計程車受惠';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '台北大學外棉絮紛飛 擾民';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '客語E學堂 口音任挑選';
	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 = 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-north1.htm';
																										
	rows[1].text = '兒墜樓亡 母疑死因';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '母不母 與同居人虐殺親子 被求刑8年';
	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 = '當人頭戶 判刑8月不得緩刑';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '集團犯罪 擁槍討債偷卡製卡';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '氣死人 怪客敲斷墓碑 再拼回去';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '社會傳真／喑啞男子受困沙洲 拒絕援救';
	rows[8].link = 'today-north9.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '入伍2天 煙毒前科役男偷車逃亡';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '派出所所長調職 基層議論…';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '亮服務證吃霸王餐 警方追查';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '土庫廢土案 重要光碟不見';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '又仿紅高粱 業者2度被抓';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '土地公香爐4度被竊 4次都順利逮到小偷';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '詐騙健保醫療費 18嫌犯函辦';
	rows[6].link = 'today-center7.htm';
	rows[6].type = '社會傳真';
																										
	rows[7].text = '女清潔工 撿到槍彈、手銬';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會傳真';
																										
	rows[8].text = '涉教唆擄人勒贖 女子遭拘提';
	rows[8].link = 'today-center9.htm';
	rows[8].type = '社會傳真';
																										
	rows[9].text = '偽證件辦手機轉售 2嫌法辦';
	rows[9].link = 'today-center10.htm';
	rows[9].type = '社會傳真';
																										
}
menu = null;

menu = getMenu('south');
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-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 = '兩小貨車擦撞 造成1死5傷';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '涉嫌賄選 澎湖3人被起訴';
	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 = 5;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台商回流外銷特區';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '《黃天麟專欄》愛爾蘭為什麼成功？';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '不要期待NCC';
	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';
																										
	rows[10].text = '青委會有屁用';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '政大選課惡夢';
	rows[11].link = 'today-o12.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 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].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 = 12;
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 = 'XK Coupe 一路狂飆';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '熱情米蘭．華麗巴黎<br>2006秋冬 男人時尚表情';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 13;
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 = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '這下糟了？<br>生活小妙招出招';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '談論性就是不檢點？';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '爸爸們，羅丹也很傷腦筋';
	rows[2].link = 'today-family3.htm';
																										
}
menu = null;

menu = getMenu('medicine');
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-medicine1.htm';
																										
	rows[1].text = '洗臉有方法<br>痘痘不會來';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '功能性消化不良症候群<br>與胃幽門桿菌無關';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '演員扮標準病人<br>訓練準醫師有醫套';
	rows[3].link = 'today-medicine4.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
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-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>英國名家替兒童開書單';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '惠特貝瑞年度之書<br>重量級傳記《大師馬諦斯》出線';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '毛利文學的暗夜輝星<br>克里．休姆（Keri Hulme）';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '矛盾傳奇 震撼回憶<br>蘭妮．雷芬斯坦回憶錄（Leni Riefenstahl: A Memoir）';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '性解放 故我存在？<br>《基本微粒》（The Elementary Particles）<br>韋勒貝克（Michel Houellebecq）';
	rows[9].link = 'today-article10.htm';
																										
	rows[10].text = '詩人長眠於此';
	rows[10].link = 'today-article11.htm';
																										
	rows[11].text = '新聞短波';
	rows[11].link = 'today-article12.htm';
																										
}
menu = null;

menu = getMenu('young');
menu.layer = 17;
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 = '休閒服裝2006 春夏趨勢<br>色彩奔放';
	rows[0].link = 'today-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 18;
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 = '19世紀巴黎官方沙龍展作品<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 = 19;
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';
}