//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('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'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','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 class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</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 = '我十度叩關 WHA失敗';
	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(8);
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 = '游推3人民調 新系跳腳';
	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 = '聯勤20軍官遭懲處';
	rows[7].link = 'today-p8.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = "突破公投關卡 蒙特內哥羅將獨立";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "語音加密軟體Zfone 美政府關注";
	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 = "籌錢還債 網拍冰凍斷腿";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "火人跳瀑布";
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = "爆破核電廠";
	rows[9].link = 'today-int10.htm';
																										
	rows[10].text = "《中英對照讀新聞》Pilot faces inquiry after World War II plane loses cockpit dome 二戰飛機座艙罩掉落 飛行員面臨調查";
	rows[10].link = 'today-int11.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(16);
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 = '補強證據 再傳喚李泰安';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '風水太煞? 李家鋸樹改氣';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '火車驚魂 鐵軌刺穿駕駛室';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '醫療糾紛? 劉伯恩遭恐嚇';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '對峙半小時  警佈陣逮槍擊犯';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '落難神像  不願入廟 想住警局';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '不排除他殺 印尼新娘在家被燒死';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '警開槍自衛 擊斃家暴犯';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '公道婆50年 看盡人生百態';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '全盲兼過動 500曲目印腦海';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '關懷弱勢 朱魯青獲自我肯定';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '中正農科基金會 慨捐復康巴士';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '95歲初體驗 包粽子義賣';
	rows[15].link = 'today-so16.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '毒物鑑識團隊 髮網恢恢';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '基隆長庚違規 健保局輕罰';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '七一交通新制 有三至六個月宣導期';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '人工生殖法 外遇條款防偷生';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '政府盼高鐵試營運 殷琪保留';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '資優教育 將明定分散編班';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '問題生煮出名堂 女學徒織出坦途';
	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 = 10;
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-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 = '葉詠捷 最快明天亮「象」';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《2006世界盃足球賽》德大軍 拆錶練EQ';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《2006世界盃足球賽》義隊教頭爆醜聞 「是該讓里皮下台的時候了！」';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《2006世界盃足球賽》亞洲誰晉級 賭盤點名南韓';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《NBA》東部決賽 活塞對決熱火';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《NBA》搶進分區決賽 快艇要創造歷史';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '辛吉絲：我又回來了';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '受限體委會支給金額 莊智淵聘外籍教練受阻';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '亞運田徑培訓隊 明啟程參加中國公開賽';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '《職撞大賽第二站》楊清順 搶下四強門票';
	rows[13].link = 'today-sp14.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '亞股慘綠 台股跌破7000';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '美元走揚 金價重挫';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '4月失業率3.78% 5年多來最低';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '首季實質經常性薪資減幅 近5季最佳';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '6月14日股東會 271家爭鳴';
	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 = '《國情密碼》女裝年銷售 逾600億';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '亞銀明年商機 估50億美元';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '砂石採售分離 上路';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '勞委會電話服務中心 提供身障職缺';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '貨物通關檢驗 快遞業指大小眼';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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 = '亞洲股匯市全黑 台幣貶1.98角';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '《理財Q&A》設停利點 掌握贖回基金時機';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '聯電今起買40萬張庫藏股';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '二線優質PCB廠 法人避風港';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '台揚微波產品獲大單';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '億光、晶電點燈 LED族群沾光';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '免費遊戲當紅 智冠華義暴漲';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'Xbox熱賣 遊戲商積極投入';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '奇力新鈞寶 Q2營收看漲';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '擺脫淡季 封測業接單旺';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '卡債協商毀諾 信用註記加3年';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《期指觀測站》空方掌控 短期不宜作多';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '《國際股市》歐股午盤走跌 創近4月低點';
	rows[13].link = 'today-stock14.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(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鄭元暢5科扣考 延修學分閃兵役';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '楊丞琳拜拜催桃花 4年勾7男';
	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 = '吳彥祖陪女友 開心嗑飯';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '范逸臣 陳奕尬歌 ㄌㄠˋ樂團幫腔';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '發現阿妹 獨特嗓音';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '仔仔愛得過火 密碼慘輸魔髮師';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '愛爾蘭之虎氣勢磅礡  羅南配樂建功';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '潘美辰  中國演唱驚險脫困';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '兩個妮可要出嫁 婚禮歌手拚感情';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '達文西密碼狂賣 老梅開砲';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '拉丁天王璜斯 變身陽光大使';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '菜鳥真的變御廚 柳真玩3角戀';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '傑尼斯耍狠 全面封殺今日子';
	rows[15].link = 'today-show16.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(10);
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 = '利用子女行乞轉戰SOGO再現蹤';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '捷運土城線 週末免費試乘';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '永和路口監視器 夜間老是秀逗';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '麥帥二橋白天施工 內科塞車雪上加霜';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '爬峭壁進公墓 體驗生命';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '病媒蚊密度 43里次逾二級';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '22步道古道 開放認捐認養';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '秀朗國小 觀光「重」點成歷史名詞';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '縣長宣言 帶中輟生去冒險';
	rows[9].link = 'today-taipei10.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 = '冒貸集團偽造證明 貸得5000多萬';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '偷走百公斤大鐘 65萬元賣4000';
	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 = '海巡抓走私 中國漁民拒捕還偷襲';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '不孝老么需索無度 老父聲請保護';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '避追捕 警開8槍逮人查獲毒品';
	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(7);
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 = '留14封遺書 男子自殺控訴警栽贓';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '酒駕超車猛烈對撞 2死3傷';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '男童逆向騎車擦撞 婦人不治';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '候選人莊清芳涉賄 1人招認';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '社會傳真／賣假學歷 集團4嫌被訴';
	rows[6].link = 'today-center7.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '幸運之星擱淺5天 有油外洩';
	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 = '怨…妻情夫砸車 男子自殺身亡';
	rows[4].link = 'today-south5.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 = '請用心學學MLB';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '師大銅像 VS. 四六事件';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '《林保華專欄》美國暗助台灣';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '不能只脫掉假髮';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '民進黨 比較讓人放心';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '踴躍向Elsevier抗議';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '為「小惠」惋惜';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '耶穌的女友';
	rows[9].link = 'today-o10.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
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';
																										
	rows[2].text = '隔離夏日危肌 3點不露';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '筆記型電腦 精緻及時尚正當紅';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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-family1.htm';
																										
	rows[1].text = '女陰變嬌花 朵朵美麗';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '假出庭真詐騙 別上當';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '過期化妝品 大妙用';
	rows[3].link = 'today-family4.htm';
																										
	rows[4].text = '教育講座';
	rows[4].link = 'today-family5.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
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 = '媽媽手 不是媽媽的專利';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '骨質疏鬆新藥  造骨補骨本';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '罕見幼年型僵直性脊椎炎  國中生髖關節疼痛跑不動';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '反向聲帶運動 別忽略心理治療';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '鼻竇黏液囊腫作怪 多年眼凸、複視難癒';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '新生兒注射Ｂ肝疫苗 成年後兩成抗體消失';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
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('art');
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 = '陳慧坤百歲誕辰將屆<br>美術界攜手舉辦系列活動';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '尋找表演藝術界的王建銘<br>太陽馬戲團在台展開選角';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '《小熊維尼》音樂劇 明天開始講中文';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '聖多瑪斯合唱團來台演唱';
	rows[3].link = 'today-art4.htm';
																										
}
menu = null;

menu = getMenu('travel');
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-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;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	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,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}