//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
showHouse = true;
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(9);
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 = '中&#23947;：本土勢力  大有可為';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '謝清志300萬交保 檢方將抗告';
	rows[5].link = 'today-p6.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 = "赤柬屠夫 80歲塔莫病逝";
	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 = "《中英對照讀新聞》Vulture numbers are cut to the bone 禿鷹數量銳減";
	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 = '收款吵「價」 盤商打死鵝農';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '兩匪尾隨運鈔車 劫282萬';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '警小隊長 疑偷數十部腳踏車';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '嘉市小姊弟 腳踏車一年被偷六部';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '修車工組黑幫設刑堂逼債';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '舊鈔兌新鈔 鈔值骨董飛啦';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '自做自售 破50萬顆減肥偽藥';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '祖孫三代狂吸金 許榮淑被騙上千萬';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '艙底加班噴漆 2工人被炸死';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '她，兩度自願減薪救工場';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '76歲娶75歲 談情說愛第二春';
	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';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '華航推異業結盟 台鐵轉型因應';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '資優生 擬改入學後鑑定';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '美術資優班 數學老師教？';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '公民確定列入指考科目';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '中颱凱米 下週一影響台灣';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '多抱抱 有助寶寶腦部發育';
	rows[6].link = 'today-life7.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-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 = '《亞運八號球培訓賽》夏揮凱 保住晉級生機';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《世界大學女壘賽》我再挫美 坐二望一';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《亞洲女足賽》遭日痛宰 無緣4強';
	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 = '中央聯盟 紅不讓';
	rows[10].link = 'today-sp11.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '轉讓持股未過半 董事不解任';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '中國存款準備率 調高至8.5%';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '中經院下修今年GDP至4.11%';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '6月失業率六年來同期最低';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '油價再漲 不利美國經濟';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '進軍香江 三商銀大有斬獲';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '前五月實質薪資 負成長0.07%';
	rows[7].link = 'today-e8.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 = '半導體B/B值 連5月超過一';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '諾基亞財報亮麗 手機族群抗跌';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = 'Intel財報不如預期 南電一度跌停';
	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 = '《國際股市》英飛凌領跌 歐股午盤走低';
	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 = 'NCC違憲 全體委員去留成關鍵';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中國亂盜飛行部落 F.I.R未出輯損失上億';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '《貢寮海洋音樂祭》34樂團輪轟炸 5萬High客熱搖滾';
	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 = '183拍MV 扯衣賣肉好狂野';
	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';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》期許民進黨全代會能推動清廉改革鞏固本土價值';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》脫殼計與五鬼法';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》「本土」之所以存在';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '涉包庇色情 4警收押';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '毒蟲夫妻檔 產後2天就行搶';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '消防平安符 快到12寺廟蒐集';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '資源回收車滲污水 八里滿街臭';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '三重市代會主席選舉 傳暴力綁樁';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '志工送便當 獨居老人感動落淚';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '茶郊媽祖 後天安座護坪林';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '雪隧假日塞 坪林商圈人潮回流';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '噴泉跳水舞 中和人清涼一夏';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '中小學生視力惡化 十之八九視茫茫';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '孔廟拆牆案 將送文資審查';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '士林官邸北側開發案 房事看漲';
	rows[11].link = 'today-taipei12.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '醫師找援交 援助騙徒13萬';
	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 = '當人頭戶 男被求刑7個月';
	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 = '襲胸說想要 判2年 連兩天襲胸 判1年';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '水林鄉長涉貪污案 胞弟、公所秘書收押';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '海基會中區律師志工團成軍';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '藥商回扣案 檢調追查有無官員收賄';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '遭逆子痛毆 82歲老嫗緊急安置';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '5天內殺2人 看被害人垂死掙扎';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '涉幽靈人口 張新男被判當選無效';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '嘉警北港緝槍 起出烏茲衝鋒槍';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '開槍談判傷自己 烏龍嫌犯落網';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '連續持槍犯案 鄰居師長也搶';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '投宿汽車旅館 女子燒炭自殺';
	rows[9].link = 'today-center10.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
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-south1.htm';
																										
	rows[1].text = '府城做十六歲 亞洲16表演團隊同慶';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '《社會傳真》詐騙集團手法 日新又新';
	rows[2].link = 'today-south3.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 = '9.972的秘密';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '鑼聲若響／道歉 認錯 改過';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '海翁出航／林一方';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '手寫母語／打通亭仔腳';
	rows[9].link = 'today-o10.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(12);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
		rows[0].text = '老少通殺蛋包飯<br>鮮黃靚裝亮麗上桌';
		rows[0].link = 'today-weekly1.htm';
																											
		rows[1].text = '咖哩加持<br>引爆異國風味飛蛋';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '屏東新埤 重建生態樂園';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '螢光點點 火金姑芳蹤再現';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '挑戰南澳林道 尋找泰雅族聖湖';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '深入金洋部落 體驗傳統原味';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '清算美麗！<br>一週穿搭 精打細算';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '行車安全又省錢<br>測速器上車 罰單OUT！';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '李聖傑痴心教打<br>紙上網球班開課囉';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '宅男、腐女新詞彙<br>小心！御宅就在你身邊！';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '愈減愈胖？踢爆瘦身迷思！';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = '7-11女孩與她的北歐男孩';
		rows[11].link = 'today-weekly12.htm';
																											
	}
	menu = null;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	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-house1.htm';
																											
		rows[1].text = '保守粉領族 投資小套房聰明計畫';
		rows[1].link = 'today-house2.htm';
																											
		rows[2].text = '種子島嶼 280戶獨享10萬坪綠地';
		rows[2].link = 'today-house3.htm';
																											
		rows[3].text = '堤雅墨 商圈包夾的綠意生活';
		rows[3].link = 'today-house4.htm';
																											
		rows[4].text = '高雄理想國 緊臨高雄科學園區';
		rows[4].link = 'today-house5.htm';
																											
		rows[5].text = '360萬 老屋艷彩上身';
		rows[5].link = 'today-house6.htm';
																											
		rows[6].text = '雙鬼月 全台房市小驚嚇';
		rows[6].link = 'today-house7.htm';
																											
		rows[7].text = '打造一簾幽夢 為居家畫龍點睛';
		rows[7].link = 'today-house8.htm';
																											
		rows[8].text = '窗簾功能比一比 聰明選購有撇步';
		rows[8].link = 'today-house9.htm';
																											
		rows[9].text = '健身房器材驗收撇步';
		rows[9].link = 'today-house10.htm';
																											
		rows[10].text = '遠距看護系統 在家為健康把關';
		rows[10].link = 'today-house11.htm';
																											
		rows[11].text = '看屋後簽下本票，可以後悔拿回？';
		rows[11].link = 'today-house12.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';
}