//===========================================================================
//基本設定
//==================== 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('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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '宋要告謝游 嗆藍：放馬過來';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '戰鼓猛催 郝、謝、宋肉搏戰';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '違建、拉案、油污案 綠營三砲攻郝';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '林義雄出馬 挺北謝南菊';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '黃總部租地風波 兩陣營互告';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '扁蘇護菊 同打政績建設牌';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '馬拉抬黃 盼遊子返鄉投票';
	rows[6].link = 'today-fo7.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '檢警調4巨頭 北高督軍查賄';
	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 = 'SOGO禮券案 張真嫦否認目睹轉售禮券';
	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 = 'FAPA青年團 贈扁美國旗';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '民主鬥士林牧 獲魏京生特別獎';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '情報員復活 家屬已領千萬撫卹';
	rows[9].link = 'today-p10.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 = "「伊拉克研究團體」／建言2008年初之前美軍戰鬥單位自伊撤出";
	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 = "對抗大英美觀點 France24開播";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "史上最大規模 日破中國人偽證集團";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "《中英對照讀新聞》Officials investigating mummified remains advertised on eBay官員調查在eBay刊廣告求售木乃伊案";
	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 = '明星代言豐胸食品 竟是詐財盜刷';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '1支鑰匙 破3000萬元毒案';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '簽賭站貼「功德榜」 10餘官警入列';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '「跟你拚了」9旬翁持長槍 嚇跑刀賊';
	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 = '4胞胎打拳 雙雙對對';
	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';
																										
	rows[15].text = '國台雙聲 修女演員 擁抱重殘兒';
	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 = '基測報名費 維持500元不漲';
	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 = '600桶強酸廢液 偷棄大坑山區';
	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 = '桌球 男女雙2銅';
	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 = '棒球拚首金 郭姜再聯手';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '奪牌大軍 今登跆';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '網球女團射日 今搶金';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '主帥臥病缺席 女排奮戰仍輸';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '保齡球破零牌 今寄望團體賽';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '加盟日本樂天  林恩宇披29號鷹袍';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = 'MM再連線 火箭主場6連勝';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '年度最佳DH 老爹4連霸';
	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 = '退休缺金 理財要趁早';
	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 = 'Vista效應 明年下半逐季增溫';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '過關斬將 才能成為華碩業務人';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '明年全球經濟成長 力道強勁';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '至2005年底 全國住宅自有率83.9%';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '張兆順掌舵 一銀獲最佳銀行';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '澳洲百年旱災 經濟受創影響出口';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '上月美企業主管賣家股 1987年來最大';
	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 = '澳洲REITs 26年來平均年獲利15%';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '基金年獲利逾5% 六年來僅13檔';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '理財Q&A／存款入子女帳戶 無法節稅';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '退休金專欄／配合人生階段 選擇投資標的';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '台股看回不回 紅包行情可期';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '奇美電平均售價上揚 月績創新高';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '外資力挺 台股明年上看8400點';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '有資最美 南港概念股吃香';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '面板需求弱 零組件廠業績失色';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '網龍靠黃易 打出一片江山';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '遠百週年慶亮眼 買盤搶進';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '仁寶、緯創營收同創新高';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '美林建議買進友達、力晶';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '凌晨相聚 舊情復燃？ 尹馨呼喚 立委子婚前會舊愛';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '賓館幽會全為愛 邱琦雯喝掛狂吐 宋逸民趁虛襲胸';
	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 = '《藝術文化》啟發童心創意<br>紙風車319 鄉村兒童藝術工程 1月起跑';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '《藝術文化》回顧王昭藩 今起華山文化園區展出';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '《藝術文化》在落山風裡 思想起他的歌<br>陳達故居 開放參觀';
	rows[11].link = 'today-show12.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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '桶裝瓦斯 60天漲5元';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '康湖路 通樂';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '公園禁令 首日開出46張勸導單';
	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';
																										
}
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 = '眼鏡蛇出沒 特教學校年餘逮5條';
	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 = '進駐大同科園優惠 四免六減半';
	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 = '15社區大車拚 手工藝爭鳴';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '醫院超人氣 校外教學新景點';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '打掃鄰里 黃賴阿甜70多年如一日';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '草屯農會搶案 改以強盜罪嫌起訴';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '磨掉瓶身資料再變造 查獲黑心瓦斯鋼瓶';
	rows[6].link = 'today-center7.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
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-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 = '收賄800萬 麻豆垃圾場1清潔隊員收押';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '高縣設簡訊報案 聽語障人受惠';
	rows[5].link = 'today-south6.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '螞蟻雄兵的感動力量';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '高雄多虧謝長廷';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '台北不再顏色決定論';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '「正確的價值」在哪裡？';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '制憲 正名 脫中國內戰';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '吃得安全才安心';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '挑選總經理';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '縣市長比一比';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '正名很重要';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '切記宜蘭教訓';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '勇士只死一次';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '國家垃圾公園？';
	rows[11].link = 'today-o12.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 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 = '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 = 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 = '鋼砲玩家的兩難抉擇 Golf GT、Polo GTI';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '名模生死戰';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '2007美妝重點預告';
	rows[2].link = 'today-fashion3.htm';
																										
}
menu = null;

menu = getMenu('family');
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-family1.htm';
																										
	rows[1].text = '就算年過30 也可放輕鬆';
	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('work');
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 = '用肚皮舞出OL女人味';
	rows[0].link = 'today-work1.htm';
																										
	rows[1].text = '高學歷頌經團！？';
	rows[1].link = 'today-work2.htm';
																										
	rows[2].text = '落後一圈的人，也有得勝的可能！';
	rows[2].link = 'today-work3.htm';
																										
	rows[3].text = '釘小人';
	rows[3].link = 'today-work4.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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 = '他在規那45年';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '木味';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '《茶之書》';
	rows[2].link = 'today-article3.htm';
																										
}
menu = null;

menu = getMenu('sex');
menu.layer = 15;
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-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';
																										
	rows[6].text = '愛情事件簿徵文啦！！';
	rows[6].link = 'today-sex7.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 = '有雪VS沒雪耶誕 慶祝一樣讚';
	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';
}