//===========================================================================
//基本設定
//==================== 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(12);
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';
																										
	rows[10].text = '保鮮膜 預定明年三月列管';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '塑膠蛋盒限用 突喊卡';
	rows[11].link = 'today-fo12.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-p1.htm';
																										
	rows[1].text = '焦點人物／博士署長 辦案績效耀眼';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '林全想休息 抱著喜悅心情離開';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '吳振吉 掌移民署 第一人選';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '范巽綠 籲速公布鳳中調查報告';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '吳俊立辭職 東縣長將補選';
	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';
																										
	rows[13].text = '黃義交自爆女友四個半';
	rows[13].link = 'today-p14.htm';
																										
	rows[14].text = '國民黨分紅 基層乾瞪眼';
	rows[14].link = 'today-p15.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '布希熟識說客 白宮斥含沙射影';
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = '布希讀毛澤東 評他是暴君';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '英駐俄外交官搞特務 全多錄';
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = '中國壟斷稀土供應 美國憂心';
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = '人染禽流感 中國第10病例';
	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 = '《中英對照讀新聞》Bangladesh orders end to free mobile phone talk time to protect moral values 孟加拉下令結束免費手機聊天時段以保護道德價值';
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '民代搞賭色 員警插乾股';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '黑心警員 阻詐5萬 A走10萬';
	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 = '6少砸校稱「好玩」';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '查勒索案 意外揭1屋2妻誹聞';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '奇妮孕裝家族 爆軟禁爭產糾紛';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '民宅浴火 3母子命危';
	rows[9].link = 'today-so10.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '考完了 推甄 三月接著上';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '健保費 家戶總所得3%∼4%';
	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 = '全民瘋面膜 去年賣出2千3百萬片';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '禽流感防疫 中國置身事外';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '一把鐵槌 可能毀掉故宮國寶';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '嚮導吳朝淵 恐已魂斷新康山';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '金針筍類 乾年貨不合格率高';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '包機明飛廈門 業者奉茶迎賓';
	rows[10].link = 'today-life11.htm';
																										
}
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 = '小布單場81分';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《NFL》海鷹 鋼人 決戰超級盃';
	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 = '經典賽 我3天王未簽同意書';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '邦斯拒打第二棒';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '安麗盃選拔賽 張舒涵轉運了 當選國手';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《鮑伯霍伯菁英賽》有驚無險 坎貝爾今年首冠';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '賴夫特、莎芭提妮 名人堂登榜';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '謝佳賢薪結 雙方恐訴諸仲裁';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '鯨賞21萬 紀俊麟、鄭昌明雙人行';
	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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '奇異資融90億元入股萬泰銀';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '台灣GDP潛力高 消金仍看好';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '油價一度漲破69美元';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '分散風險 歐盟商機龐大';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '去年失業率4.13% 5年來新低';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '去年前11月 實質薪資縮水';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '股票型基金 去年平均報酬率4成';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '台幣勁揚1.42角 升破32元';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '《理財Q&A》油田主人基金 高息低風險';
	rows[8].link = 'today-e9.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 = '美亞殺盤 台股重挫104點';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '跨足汽車電子 廣達入主鼎天';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '台灣類比IC 市佔率看升';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '1月新車銷售 恐較去年減1成';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '南科：DDR2下月暴漲10%';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '廣達仁寶 調高出貨量';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《期指觀測站》悲觀瀰漫 多方勿躁進';
	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 = '國民黨賣黨產140億 不發年終';
	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 = '小巨蛋刁難 陶&#21894險唱不成';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '小巨蛋錢坑黑洞 陶&#21894熱唱虧本';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = 'F4終極版演唱會 3.22誓師';
	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 = '林鳳嬌生日 2千6百萬鑽到手';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '民視淨賺2億 意難忘大功臣';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = 'S.H.E.猜燈謎 答案很A哦';
	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 = '妮可3月出嫁 裘席戀又吹了';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '艾瑞克血染慕尼黑 不哈金人不當龐德';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = 'Eric躲兵役 撞出大八卦';
	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(13);
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 = '95學年聯甄大變革 國小教甄初試只考選擇題';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '網球拍打頭 國中導師爆體罰';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '狗來旺 春節上醫院e網搞定';
	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';
																										
	rows[9].text = '棺材擺客廳 未死先築墳';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '奮力追捕終逮惡匪 壯賊狂K 警牙崩血流';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '公園徵發變學校 天母人火大';
	rows[11].link = 'today-taipei12.htm';
																										
	rows[12].text = '侵占工會公款 法判吐出來';
	rows[12].link = 'today-taipei13.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 = '7萬多公升 山區飄酒香 私釀曝了光';
	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年10月';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '回收場幹銷贓勾當 3人觸法網';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '出軌夫毆妻 訴離准了代價百萬';
	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(10);
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 = '弱女一心復仇 錯殺獲輕判';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '帶餅乾進賣場 女童被當賊';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '打敗禽流感 善心婦捐書近3萬冊';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '詐賣靈骨塔 長佑負責人被訴';
	rows[6].link = 'today-center7.htm';
	rows[6].type = '社會傳真';
																										
	rows[7].text = '惡煞砍傷運將 搶2000多元';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會傳真';
																										
	rows[8].text = '散發罵人傳單 判賠16萬元';
	rows[8].link = 'today-center9.htm';
	rows[8].type = '社會傳真';
																										
	rows[9].text = '婦人偷竊 攜兒帶姪女當賊';
	rows[9].link = 'today-center10.htm';
	rows[9].type = '社會傳真';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '竊車、飆車 7嫌一路衝 攔截、攔賊 警方大追緝';
	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 = '開車專搶夜歸女 3西瓜刀大盜被捕';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '毒蟲兒子 母親報警抓人';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '台勤勞資爭議落幕 春節不罷工';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '恐嚇福松食品 千面人廖俊榮被捕';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '12歲少年抽菸 給菸男子送辦';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '一窩毒蟲 賓館搞轟趴被查';
	rows[8].link = 'today-south9.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《林保華專欄》讓焦土恢復為綠土';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '直接與民溝通 突破封鎖';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '從金融風暴到卡奴';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '聯合中國 殖民台灣？';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '同心圓之軸';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '你要你的孩子學習性解放嗎？';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '謝霆鋒搞錯對象';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '蔣經國不如胡錦濤';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '老師，你根本不懂Orz';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '限塑失敗 沒人道歉';
	rows[9].link = 'today-o10.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(8);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '好品味　　　→';
		rows[1].submenu = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性　　→';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療　　→';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美　　　→';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化　　→';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊　　→';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '熟男大改造 熱烈上演';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '超美味 現做年菜預購速報';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '手機品牌東西軍 送做堆更有看頭';
	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 = '上司情緒化<br>上班有如踩地雷';
	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(6);
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 = '肺癌死亡率高<br>檢查工作勿輕忽';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '慢性病仔細照護<br>放心過好年';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '歲末除舊佈新<br>常備藥別忘大掃除';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '糖尿病血脂多異常<br>早期控制效果較好';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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 = '寧日';
	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';
																										
}
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 = '馬來西亞 我的朋友家';
	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';
}
