//===========================================================================
//基本設定
//==================== 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('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(13);
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 = '遊行擦槍走火 兩件暴力事件 鎖定3嫌';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '明天開議 王金平促朝野 不要再對立';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '倒閣？ 國民黨中央傾向暫緩';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '施政報告 國親排強棒 蘇揆有場硬仗';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '治扁法案 倒扁開闢新戰場';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '強硬派藍委批馬 憂施明德選總統';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '李登輝促台日建立國家關係';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '5筆國產轉黨產 再轉賣政府 國民黨剝國庫兩層皮';
	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(8);
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 = "回教叛亂情勢升高 泰南一夜 6爆奪4命";
	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 = "《中英對照讀新聞》Telephone telepathy - I was just thinking about you 電話心電感應：我才剛想到你";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '車衝進海 父母緊抱稚女 3代5死';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '全車入夢鄉 5人摔水溝';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '中尉闖民宅 強吻13歲少女';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '槍嫌拒檢逃逸 警開51槍擊斃';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '南濱外海撈浮屍 初判非劉志勤';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '狗吠擾人 2家狂吵15年';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '夫割妻頸 喝農藥刺腹獲救';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '搶救伯勞 拆806支鳥仔踏';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '遭菲扣押5個月 吉志益2號漁船昨返台';
	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 = '32子孫懸壺 梁新傳醫學世家';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '運送紅瓦 85人大接力';
	rows[13].link = 'today-so14.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台灣DNA愛滋疫苗 媲美美國';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '只要超過24週 可治癒先天疾病胎兒 擬禁流產';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '南亞技院財務大爛帳 5年逾3億';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '開南祭新當率 800新生剉咧等';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '市售止鼾器 醫師說沒用';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '止鼾牙套 老人不宜';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '黃喉貂集體狩獵 影像解密';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '太陽能車拉力賽 場內考技 場外烤雞';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '伊甸青年志工海外行 吃苦當補';
	rows[8].link = 'today-life9.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(17);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '建仔18勝再等等';
	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 = '猴子6局好投 自己不滿意';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '東瀛小巨人 姜建銘';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '世界大賽劇本出爐 建仔2勝 助洋基封王';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '打牛3連戰 熊全勝就封王';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '兩隊6轟 嘟嘟12勝入袋';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '亞洲大學男籃賽 台灣懼韓 當老2';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '亞洲9號球巡迴賽 不敵魔術師 王泓翔季軍';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '世界高球比洞賽 凱西、米歇爾爭冠';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '魏筠潔 日巡賽第3勝落空';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '世跆賽 台灣零金收場';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '女籃世錦賽 我與南韓 爭第13';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = '世羽賽 今燃戰火';
	rows[15].link = 'today-sp16.htm';
																										
	rows[16].text = '世界盃田徑賽 泰森格 百米摘金';
	rows[16].link = 'today-sp17.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 = '美第三大晶片製造商 飛思卡爾 176億美元出售';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = 'G7財長促人民幣升值';
	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(18);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '孫燕姿當師妹 Jolin送花先下馬威';
	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 = '陶&#21894;打頭陣 周董壓軸 連High 8hr';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = 'Makiyo桃花朵朵開 劈耍寶型男';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '黃品源變調 改當情歌猛男';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '蒙嘉慧倒追 鄭伊健認了伊嘉戀';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '電視台颳賭風 學者專家狠批';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '唐林休假 想去印度學瑜伽';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '韓若紫養動物 最愛黑白王蛇';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '佐賀的超級阿嬤今來台';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '西恩潘記者會抽菸 飯店挨罰';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '阿湯哥被炒魷魚 驚爆教唆恐嚇內幕';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '妮可49億 封澳洲第1年輕財女';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '珍娜被股動愛美 菲姬針想回春';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = 'Mimula笑擋緋聞 小倉優子愛快閃';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '李孝莉轉戰主持 穩坐一姊寶座';
	rows[16].link = 'today-show17.htm';
																										
	rows[17].text = '紀文蕙 流連拉斯維加斯 不做發財夢 狂獵內在美';
	rows[17].link = 'today-show18.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 = 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(6);
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 = '上廣播談菸品 菸商被罰10萬';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '持刀恐嚇 小六生被捕毫不在意';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '販毒新招 租汽車旅館搞轟趴';
	rows[5].link = 'today-taipei6.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '買地送渡假屋 廣告唬人無罪';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '風城選拔米粉妹 8女娃粉裝亮相';
	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';
																										
	rows[8].text = '拼布展 劉秀華師生秀創意';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '芒雕展 樓永譽父子現絕技';
	rows[9].link = 'today-north10.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 = '不爽小姐少 7煞痛K老闆父子';
	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 = '買贓車上街 跑5年才知情';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '性侵孫女 老翁判刑';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '服安眠藥撞傷人  拘役70天';
	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 = '墾丁鷹雲敝空 1天9221隻';
	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 = '紅場華麗的危機';
	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 = '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 = 12;
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-fashion1.htm';
																										
	rows[1].text = '70歲LANCOME 繼續摩登';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '小心掉髮';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '凍容世代 抗老起跑';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = '韓國新科技 搶攻世界第一';
	rows[4].link = 'today-fashion5.htm';
																										
}
menu = null;

menu = getMenu('family');
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-family1.htm';
																										
	rows[1].text = '孩子生了還不娶我<br>原來他早就結婚';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '消費大事週報';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '生財有道 開源有理';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '齒源性蜂窩組織炎<br>平日勤護牙 牙痛早就醫';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '隱形高血壓併發症多<br>早、晚、半夜都應量血壓';
	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';
																										
}
menu = null;

menu = getMenu('article');
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-article1.htm';
																										
	rows[1].text = '人生';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '老狗新技學電腦';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '無人時刻';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '看天空的人';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '《微暈的樹林》';
	rows[5].link = 'today-article6.htm';
																										
}
menu = null;

menu = getMenu('art');
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 = '第一屆蔡瑞月舞蹈節<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 = '油彩生命本質之美<br>蔡明勳展《新綠》';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '靜物為素材 蔡根雕塑居家生活';
	rows[4].link = 'today-art5.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 = '德國杜賓根Tuebingen<br>一個值得驕傲的大學城';
	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';
}