//===========================================================================
//基本設定
//==================== 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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '倒扁靜坐 警察動員14萬人次 花費4.2億';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '環台倒扁 中市也駁回';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '楊秋興不借場地 施批：放肆';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '倒扁撤離凱道 轉回台北車站';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '凱道遛鳥被架離 街友刺傷紀律員';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '停辦國慶？ 王金平：慎重考慮';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '蘇馬會觸礁？ 無具體結論';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '化解社會對立 蘇揆雙軌並行';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '綠：馬撤回罷免案 否則免談';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '國民黨通過「公投罷扁」';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '李：穩定政局 不是私下誰找誰';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '謹守閣揆分際 勿衝過頭';
	rows[11].link = 'today-fo12.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '930晚會 扁與四大天王同台';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '段宜康族群和諧提案 修正過關';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '其他勢力取代民進黨，吳乃德：可能性不高';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '世代論壇成立：進入後扁時代';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '設專案小組 研議加入聯合國';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '李大維：不認為台美歧見不能解決';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '國務費案 最慢10月底偵結';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '綠委疑 馬犒賞員工吞公費';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '謝：污點證人 未指我涉案';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '藍營促謝陳退選 向人民道歉';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '羅友倫９億元官邸 纏訟數年追回';
	rows[10].link = 'today-p11.htm';
																										
}
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 = "反恐密件解密 布希小柯鬥嘴鼓";
	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 = "禽流感人傳人警訊 印尼三兄妹感染 1死";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "《中英對照讀新聞》German test of handheld TV set to launch Sept. 28 德國訂於9月28日開始測試行動電視";
	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 = '假上校投保 坑保險員280萬';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '月薪10萬 5車手落網';
	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 = '農地爛泥 活埋3童';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '擄車勒贖 拍擋落網';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '蹲13年台灣苦窯 日人返鄉';
	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 = '阿KEN與納豆 鼓勵塗鴉';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '警癌末 4子生活沒著落';
	rows[15].link = 'today-so16.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '灌腸治便秘 當心肛爛腸鬆';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '中油駁斥漲多跌少 浮動油價每週二調';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '高鐵10月通不了 先搞試營運';
	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 = '10歲女童 家貧沒人管 小小慣竊 2度入少觀所';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '千年殺、草上飛、阿魯巴…5成小學生 曾遭校園性霸凌';
	rows[7].link = 'today-life8.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '挑戰19勝 建仔輕鬆以對';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '山塔納 19勝';
	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 = '美聯4強出列 國聯渾沌1缺3';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '搏巨人 郭董週六領銜';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '張賢智 菜鳥10勝';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '牛棚送分 鯨5連勝';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '亞運女足 赴美移訓';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '3年6000萬美金 小牛留住德佬';
	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 = '美國9號球公開賽 郭柏成 敲進第3輪';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '店頭基金 Q4報酬率傲人';
	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';
																										
	rows[5].text = '南山新保單  先投資、後付費';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '《理財Q&A》債務協商失敗 才可個別協商';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '中華電今認購 獲利可逾4000元';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '福特入場 租車市場進入戰';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '兩大龍頭︰車市萎縮 經營不易';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '三年金融市場套案 法人投資股市佔六成';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '22%廠商看壞景氣 40月新高';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '我銀行健全度下滑 金管會不服';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '政府釋利多 營建股紅通通';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '茂德、力晶看旺 瑞信調高評等';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = 'NB需求攀升 零組件供應吃緊';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '金麗科、太欣有錢途 股價翻升';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '歐股午盤上漲 日港勁揚';
	rows[7].link = 'today-stock8.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '大腸水療 結腸破洞 六旬婦送命';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鄭弘儀大話突圍 壓倒性勝利<br>兩張嘴搶搶滾 李濤李艷秋海賺上億';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '8點檔戰君子報仇 完娛退掉星蘋果 三立還擊封殺中視偶像劇';
	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 = 'Selina變身三太子 狂戀小珠';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '陳美鳳搶峰頭 下跪搏收視率';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '海瑟威求角色 願為李安奉茶';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '湯姆漢克憨阿甘 贏得全美信任';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '全智賢赴港逛大街 神秘男是老闆';
	rows[9].link = 'today-show10.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》藍營今日在野應思他日在朝--全力封殺重大法案不顧全民利益應考慮後果';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》馬英九的敵人';
	rows[1].link = 'today-f1.htm';
																
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國小女童 機警救自殺父';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '疑建材帆布飄起 女騎士摔車毀容';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '太離譜 一桶瓦斯價差220元';
	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 = '怪客出沒 廣播提醒 永和警請5里長噤聲';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '三峽出紅茶金牌 王考廷天下有茗';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '神秘禮奉茶禮 教師節敬師表心意';
	rows[11].link = 'today-taipei12.htm';
																										
	rows[12].text = '表揚 35位師鐸獎、1831位教師受獎';
	rows[12].link = 'today-taipei13.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 = '虎頭山殺人棄屍案 死者疑遭紙團噎死';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '龜山醉遊民 沿路拆門牌 破壞58面';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '南方澳怪客 沿路抽報紙 賣回收商';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '留學中心吸金4000萬 ３人被訴';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '中輟生觸景憶姦情 洗車工判１年';
	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(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '道路碎石致騎士摔死 國賠54萬';
	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 = '退而不休 4人獲教育奉獻獎';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '縱捲葉病蟲害 水稻拉警報';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '0930倒扁借場地 警方說不';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '魚游味勁禮盒 秋節拚市';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '孔夫子遊街 嘉市今祭孔';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '抽檢40家月餅 防腐劑都OK';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '明潭嘉年華 熱鬧半個月';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '跪地奉茶 小朋友謝師恩';
	rows[12].link = 'today-center13.htm';
																										
	rows[13].text = '教堂變賭城 獨居老人樂透';
	rows[13].link = 'today-center14.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-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 = '失聯3天漁船順滿發號 平安返回';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '觀察筆記／今昔有別';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
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 = '百貨週年慶 趁早搶頭香';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '2006巴黎車展秀車大搜查';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '小朋友割包皮 別怕';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '正確洗手 遠離傳染病';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '做好聲音造型 讓自己更受歡迎';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '感冒？過敏性鼻炎？六成媽咪搞不清楚';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '智慧型人工淚液 還你水水的眼睛';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '善用雷射洗刺青 給肌膚重生機會';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(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 = '新書秋豐收 老將新秀爭豔<br>2006法國新書季暨文學大獎起跑';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '傳奇米蕾 詩之巡旅';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '村上春樹獲國際文學獎肯定<br>第二屆法蘭克．歐康納國際短篇小說獎揭曉';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '諧謔嘲諷的自傳式史詩';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '永遠傳唱的童話  《彼得潘》續集千呼萬喚始出來';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '難纏記者暨傳奇女作家 羅利安娜．法拉奇病逝';
	rows[6].link = 'today-article7.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '「第一屆蔡瑞月舞蹈節」登場<br>石井綠懷念當年與蔡瑞月反串男角';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '「印象派及現代藝術」<br>一睹大師真跡';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '阿巴多親自推薦<br>馬勒室內樂團活力登台';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '蔡國強跟雲門的第一次';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '夜間開館滿一年<br>北美館獲贊助';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '台史博館網上展<br>日本時代電影資料';
	rows[5].link = 'today-art6.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';
}