//===========================================================================
//基本設定
//==================== 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(8);
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 = '施政滿意度 馬英九跌到第8';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '隱匿財報 最高擬罰400萬';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '蘇揆籲媒體勿因謠言擺烏龍';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '最快明年開徵能源稅 分9年調升';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "通車甫2月 青藏鐵路出軌";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "諾貝爾巨匠 馬哈福茲病逝";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "太空旅館一遊 10年內成真";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "50億美元社區 史上新天價";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "環球唱片 12月起美加免費下載";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "《中英對照讀新聞》Don't make us scapegoats, say German Muslims  不要讓我們做代罪羔羊，德國穆斯林說";
	rows[5].link = 'today-int6.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 = '同居跟人說 男記者賠30萬';
	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 = '醉警重摔子 7歲童命危';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '驚濤駭浪 空勤救援16船員';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '火襲廣安宮 石獅爆裂 媽祖無恙';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '化學廠氣爆 震破屋頂 2人重傷';
	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';
																										
	rows[14].text = '癌魔折騰肢障父4人苦撐';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '一家3口皆重病 坐困愁城';
	rows[15].link = 'today-so16.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 = '教部研擬 高三才分組 最快98年實施';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '半罩、鋼盔型安全帽 3點易露';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '後年起禁宰售活禽 最高罰50萬';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '膽固醇過高 60歲以上最嚴重';
	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 = '1200元／晚 南國換裝 年輕人捧場';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '建仔：15勝 沒特別感覺';
	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 = '紅襪5連敗 道奇逆轉勝';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '陳偉殷 六局好投';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '象12連敗 平紀錄';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '復出敲2安 恰恰難掩失落';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '林恩宇 中止熊5連勝';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《世界女壘賽》延長賽輸委 我晉8艱辛';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '夢7宰德軍 上半場僅贏1分';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '黃韜1桿之差 抱走總冠軍';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '雨神攪局 美網停擺';
	rows[11].link = 'today-sp12.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '投資紐幣 近二月大賺10%';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '外幣存款賺利息 選擇天期有學問<br>美元宜長 英鎊宜短';
	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 = '蘋果、Google合作 對抗微軟';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '投資人情緒指數 創今年新低';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '網絡數碼併蕃薯藤 9月生效';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '三K外勞九月再開放申請';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '都市更新優惠貸款 24家銀行承辦';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '去年台灣糧食自給率30.5%';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '聽障者遭富邦證資遣 立委聲援';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '我出口雙酚A產品 中國反傾銷調查';
	rows[11].link = 'today-e12.htm';
																										
	rows[12].text = '金融公股釋出 三年未受金管會處分者 才可競標';
	rows[12].link = 'today-e13.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(22);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '美8月消費者信心 盪谷底';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '人民幣升破7.96元關卡';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '歐央行 利率將維持不變';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '南韓7月份經常帳 出現赤字';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '調降遺贈稅 最快明年3月修法';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '星座理財 相準年輕人胃口';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《理財Q&A》卡債償完 信用卡未必能解凍';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '宏達電 上半年每股賺25.5元';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '彩晶Q3可望單月轉盈';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '廣達︰營收9月起飛';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '鎰勝EPS領先同業 股價漲停';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '寶來台灣中型100ETF 今上市';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '中國擔心鋼鐵生產過剩';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '政盪拋一旁 外資加碼79.5億元';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '力成泰林 8月營收創新高';
	rows[14].link = 'today-stock15.htm';
																										
	rows[15].text = '二線塑化股 半年報亮眼';
	rows[15].link = 'today-stock16.htm';
																										
	rows[16].text = '玉山金 外資短短兩週持股增至41.72%';
	rows[16].link = 'today-stock17.htm';
																										
	rows[17].text = '台塑四寶 南亞躍居獲利王';
	rows[17].link = 'today-stock18.htm';
																										
	rows[18].text = '暗淡光碟廠 僅中環小賺';
	rows[18].link = 'today-stock19.htm';
																										
	rows[19].text = '旺宏瘦身 切出五家公司';
	rows[19].link = 'today-stock20.htm';
																										
	rows[20].text = '歐股午盤來電 香港勁揚';
	rows[20].link = 'today-stock21.htm';
																										
	rows[21].text = '突破多道均線 多方意圖上攻';
	rows[21].link = 'today-stock22.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 = '10歲罕病童  膽固醇飆到600';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Discovery雪隧首播 收視衝冠';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '型男約會太豪邁 余秉諺蹺腳扒飯 騎機車不戴帽';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '方文琳設局 江淑娜共犯<br>江蕙長尾巴 遭兩騙子偷拍';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '第63屆威尼斯影展 喬許思嘉餐桌激愛 水都裝不熟';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '瑪麗亞凱莉放電 汶萊王子砸1.8億示愛';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '阿湯哥顧人怨 人氣慘跌40%';
	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 = '費翔訪台搞派頭 4不宣傳好刁';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '暴龍首爾high翻天 慶功變醉龍';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '郭富城心如kiss 好像親老爹';
	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 = '奉俊昊搞怪 濃濃東方味';
	rows[14].link = 'today-show15.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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '客運司機 教唆少年暴力討債';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '磁鐵袋藏毒 毒販難逃警網';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '身分證字號重複 無辜遭強制停卡';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '里長交接後 線路遷移遲未發包 部分監視器沒錄用';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '新海濕地淨化污水 省錢又環保';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '北捷環狀線 自建財務計畫 縣府函覆交通部尋支持';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '公有停車場委外 仿若嘸人管';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '明起 夜間施工限用動力機';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '溫馨迎新 小一新生 快樂上學去';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '中輟高峰期 兒少中心提供諮詢';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '行為評量表 小一採用新法';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '身癱少女 如願進北一女';
	rows[11].link = 'today-taipei12.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '援交妹騙電話 大學生遭勒索';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '要電視 爸爸買給你 失業漢盜刷被捕';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '國中女生凌虐、猥褻女同學 家長判賠50萬';
	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 = '被女友偷走20萬 押人討錢拍裸照';
	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 = 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-center1.htm';
																										
	rows[1].text = '視訊詐騙 觸角伸入東南亞華人圈';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '女保險員與家屬勾串 再收押2人';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '擄鴿勒贖搞折扣 A進60萬';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '媽媽會情郎 逼女兒一起看? 女兒翻供：報復媽媽才說謊';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '骨董店搶案 採獲指紋血腳印';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '5旬男劈腿 3女當街大打出手';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '《社會頻道》看完色情小說 大學生伸鹹豬手';
	rows[7].link = 'today-center8.htm';
																										
}
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 = '防治登革熱 不配合噴藥可破門而入';
	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';
																										
	rows[5].text = '旅行社老闆倒債 妻訴離准';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '調查局邀美幹員 交換經驗';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '高分院認無過失 無罪確定';
	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 = '在家靜坐';
	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大Look';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '5000元以下 小氣美型手機出招';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '油價漲不停 開車有撇步！';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '嫉妒好友交男友 懷疑自己性向';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '簡易道口燒雞';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '嘿，到底是哪一「道」？';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 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 = 'Cofee or Tea 剛剛好最好';
	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 = '護眼八大心法 向近視說No';
	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(7);
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 = '你今日閱讀&#21655;地球未呀？ 專訪香港音樂人林一峰';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '維多利亞時代風雲再現 柯立芝珍貴文獻終得面世';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '20世紀東西藝術 交融的見證者';
	rows[6].link = 'today-article7.htm';
																										
}
menu = null;

menu = getMenu('art');
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-art1.htm';
																										
	rows[1].text = '要讓男的笑女的樂  金枝演社推出《浮浪貢開花》';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '文化創意經理人課程招生';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '兩廳院「點歌」 潔西諾曼差點拒絕來台';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '林磐聳創作台灣地景';
	rows[4].link = 'today-art5.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';
}