//===========================================================================
//基本設定
//==================== 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','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-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (!showWeekly)
{
	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','work','sex','family','article','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>');
}
if (false)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/weekly.htm","","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=810,height=643")>生活週報</A></TD>');
	document.write('	</TR>');
}
if (false)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/house.htm","","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=810,height=643")>住宅生活</A></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('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.ntat.gov.tw/" target=_blank>台北市國稅局</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(15);
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 = '宋感謝肯定 2008好好合作';
	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';
																										
	rows[12].text = '高市長選戰 砲火四射';
	rows[12].link = 'today-fo13.htm';
																										
	rows[13].text = '游號召綠委 成立愛台灣助選團';
	rows[13].link = 'today-fo14.htm';
																										
	rows[14].text = '北市政見發表會／與中央協調誰在行？ 各選將自賣自誇';
	rows[14].link = 'today-fo15.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '18%等爭議法案明闖關 變數大';
	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';
																										
}
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 = "中國「紅色誘惑」 新鮮臟器取代美人計";
	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 = "《中英對照》Why the young learn more easily 年輕人為甚麼學習較容易";
	rows[10].link = 'today-int11.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '南縣梅嶺遊覽車墜深谷 21死24傷';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '失控到墜谷 驚魂2分鐘';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '新車開7年 掛錯車牌猶不知';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '樂透創造186名億萬富翁';
	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 = '癡情男 2年竟不知她是誰';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '外人搶註冊急爭名 受天宮︰乞丐趕廟公';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '角頭槍傷廚師 判刑11年半';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '無人水果攤 蜜柚熱賣 日進千元';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '誠信麻花 躍居花蓮名產';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '大鼓陣迎花轎 土地公歡喜娶某';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '腦麻手巧 開啟傘亮人生';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '資優水腦童 刻畫師生情';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '戀戀葡萄園 祖孫三代博感情';
	rows[14].link = 'today-so15.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 8;
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-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 = '錢進研究所 1年狂收5億';
	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';
																										
	rows[11].text = '糖尿病童 寫出勇敢抗病路';
	rows[11].link = 'today-life12.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(20);
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 = '《杜哈亞運特別報導》桌球1哥1姊 混雙晉16強';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《杜哈亞運特別報導》3姝臨陣失常 射擊空響';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《杜哈亞運特別報導》射箭場大風吹 射錯靶不奇怪';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《杜哈亞運特別報導》下午2點戰中國 增菘瑋 全力搶勝';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《杜哈亞運特別報導》個人賽 蔡昕宜第19';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《杜哈亞運特別報導》我男女排 同日取勝';
	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';
																										
	rows[14].text = '本土教頭 世代交替成形';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = '援助兒童 建仔任愛心大使';
	rows[15].link = 'today-sp16.htm';
																										
	rows[16].text = '騎士失準頭 落難休士頓';
	rows[16].link = 'today-sp17.htm';
																										
	rows[17].text = '《健康醫療》羊水過少 易影響胎兒發育';
	rows[17].link = 'today-sp18.htm';
																										
	rows[18].text = '《健康醫療》豔麗聖誕紅有毒 小心別亂碰';
	rows[18].link = 'today-sp19.htm';
																										
	rows[19].text = '《健康醫療》夏病冬治 三九天 別忘補一補';
	rows[19].link = 'today-sp20.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
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-e1.htm';
																										
	rows[1].text = '購併王鄭世杰 感嘆整合苦';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '勞務獎金 須納入月薪資總額';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '歐盟新世代自貿 確定談判對象';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '資產營建表現佳 高價電子低迷';
	rows[4].link = 'today-e5.htm';
																										
}
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 = 11;
menu.menuLayer = 0;
menu.rows = new Array(17);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '刺馬剃光頭 華仔DIY 金城武掙扎力護怪髮';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '車禍後遺症變獨門絕活 阿霈長尾巴 1把眼淚3把鼻涕';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = 'GiGi采妮敘舊 粉碎姊妹不合';
	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 = '芭黎絲情挑布蘭妮 廁所曖昧20分鐘';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '夢幻女郎碧昂絲 害影帝傑米變心';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '恭子1餐2碗麵 身材吹氣球';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = 'Rain 全智賢最佳理想情人';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '《流行時尚》預算60萬以下 買日產Tiida、別克Excelle?';
	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 = '藝術文化／歐漫漫畫節搶先報';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '藝術文化／藝術世家 彩筆人生 熱愛藝術的陳政宏一家';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '藝術文化／來一團美妙的無伴奏 國王歌手合唱團訪台';
	rows[16].link = 'today-show17.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 = 10;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 10;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '選前最後一週 郝宋防棄保 謝彈合奏';
	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 = '連生4女 換來家暴不聞問';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '監委讀ㄐㄧㄢˋ委 公然侮辱罰6千';
	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';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 11;
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 = '巴斯達隘近尾聲 南庄昨晚送靈';
	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 = '報拖廢車騙獎金 露餡被捕';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '民宅氣爆 父與11月女重傷';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
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-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 = '書香協會赴星播種 星讀書會訪中市 經驗交流';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '開車血壓上衝 一陣暈眩亂撞';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '女兒被拐懷孕 媽媽想討公道 胎盤、胚胎當證物？ 考倒警察';
	rows[7].link = 'today-center8.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '加工出口區展 看見台灣之光';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '南州迎王祭 神轎衝大海';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '南瀛武術賽 瞄準北京奧運';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '台江候鳥季 賞鳥訪生態';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '陽光基金會獎學金   「大長今」頒發';
	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';
																										
}
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 = '開羅宣言 日本錯了63年！';
	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 = 12;
	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 = 'work';
		rows[1].link = 'today-work1.htm';
	
		rows[2].text = '兩性異言堂　→';
		rows[2].submenu = 'sex';
		rows[2].link = 'today-sex1.htm';
	
		rows[3].text = '家庭親子　　→';
		rows[3].submenu = 'family';
		rows[3].link = 'today-family1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 12;
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-fashion1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '打造健康計畫  動起來';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '丈夫婚前出軌 婚後仍藕斷絲連';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '消費大事週報';
	rows[2].link = 'today-family3.htm';
																										
}
menu = null;

menu = getMenu('work');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '職場小富婆存錢術';
	rows[0].link = 'today-work1.htm';
																										
	rows[1].text = '陳金峰的職場提示';
	rows[1].link = 'today-work2.htm';
																										
	rows[2].text = '橫框眼鏡攝小人';
	rows[2].link = 'today-work3.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '風貌各異 百花齊放<br>小品文獎決審會議紀錄';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '第二屆 林榮三文學獎 小品文得獎作品輯 10之1<br>洗衣';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '古老的蒙面女';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '愛讀書《自願被吃的豬》';
	rows[3].link = 'today-article4.htm';
																										
}
menu = null;

menu = getMenu('sex');
menu.layer = 14;
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-sex1.htm';
																										
	rows[1].text = '他的鬍渣';
	rows[1].link = 'today-sex2.htm';
																										
	rows[2].text = '性感小丁 挑逗出擊';
	rows[2].link = 'today-sex3.htm';
																										
	rows[3].text = '現代性福 網路直送';
	rows[3].link = 'today-sex4.htm';
																										
	rows[4].text = '性不性，由妳';
	rows[4].link = 'today-sex5.htm';
																										
	rows[5].text = '愛情幸運星';
	rows[5].link = 'today-sex6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '乘著義大利風 南海巡航  歌詩達愛蘭歌娜號';
	rows[0].link = 'today-travel1.htm';
																										
}
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';
}