//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = 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'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','living','family','medicine','article','young','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 href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A 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 = '馬談馬英九現象：部分人士幻覺';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '民進黨 最大的焦慮在2007';
	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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '涉詐健保 林進興邱永仁求刑5年 面臨停黨權';
	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 = '黃志芳 四月出訪阿聯';
	rows[6].link = 'today-p7.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 = '拾金不昧 3千萬珠寶原封送還';
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = '史翠珊獵男 小柯、查理一床打盡';
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = '《中英對照讀新聞》Better "facist than queer ", says Mussolini\'s granddaughter 「當法西斯主義者比當同性戀」好，墨索里尼的孫女說。';
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '拚治安 新婚警不准度蜜月';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '荖濃溪遭盜砂案 1巡防員1業者收押';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '運將人車遇劫 後車廂掙脫國道跳車';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '車禍撞破LP 蛋價談不攏';
	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 = '遺棄2兒 狠母判刑7月';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '撞癱女教官 判賠1320萬';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '媽祖祝壽大典 數萬信眾跪拜';
	rows[9].link = 'today-so10.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '上班不耍褲 南市府禁穿牛仔褲';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '質疑青春達人不雅？ 立委滿嘴靠字';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '歷史課本「日據」和「日治」搞不清 高中教科書也出錯';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '北縣市水價 兩年內統一';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '又搞軌？ 關山站鐵道被放電纜槽';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '金門全島 停電兩小時';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '日商扯後腿 逼高鐵不索賠？';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '深情老爹 娶癌末新娘';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '奉獻杏林 中風少年唸醫學院';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '查獲問題豬 已外流中南部加工廠';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '違規藥物廣告 最重罰2500萬';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '台灣女遊客 喀什米爾失蹤';
	rows[11].link = 'today-life12.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '連2誤 牛奉送江山';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '建仔無礙 牛棚練球';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '《BenQ uBa》北體輔大 爭冠';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '林恩宇挑戰開季三連勝';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '林威助 先扮演第一代打';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '帕瓦諾登板 挨陽春彈';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '立委促籌設體育發展基金';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '小牛搶西霸 活塞絆腳';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '納斯達克網賽 費德爾快意晉八';
	rows[9].link = 'today-sp10.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '房地產景氣轉弱 Q1~Q2不樂觀';
	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 = '美升息1碼 美股收黑';
	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 = '油商7度聯漲 公平會擬再開罰';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '我電腦軟體投資 今年可破2千億';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '外銷訂單大幅成長 蘇揆感謝';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '解決卡債 銀行很積極';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '調查顯示：6成4卡債族 非必要支出太多';
	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 = '《理財Q&A》申請協商 可上網查詢';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '手機組裝 3月營收超預期';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '台達電入股PECO II 強攻北美';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '南電法說 營運將逐季走揚';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '友達電視面板 可望追上奇美電';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = 'NAND狂跌 創見：毛利仍不錯';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '軟體股殖利率 中菲居冠';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '《期指觀測站》求解套 等待放量上攻';
	rows[11].link = 'today-stock12.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(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Maggie Q 愛人可組聯合國';
	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 = 'TANK老被耍 吃飯不敢點飲料';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '柴崎幸泡牛郎 龜梨和也搞同志';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = 'Rain拉保險 找亞希子作陪';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '琪拉平胸忙軋戲 凱特A奶紅10年';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '文森砸600萬買鑽戒 安妮斯頓 6月要嫁';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '胡凱欣袒蕩蕩 慘遭Selina襲胸';
	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 = '阿妹當主播自肥 撲擁Soler';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '通緝19年阿婆就醫被逮';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '垃圾車收運專區 26處試辦 別跟垃圾車搶車位';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '學校合作社 開放販賣學用品';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '無預警封跳蚤市場 重新橋攤商跳腳';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '泰山明志書院 移民興學北台首院';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '校園小記者趣問 縣長妙答';
	rows[5].link = 'today-taipei6.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-north1.htm';
																										
	rows[1].text = '詐賭逼債 砸店痛打、毀人家庭';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '擦撞被圍毆 人住院車墜谷';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '掛塑膠製假車牌 走夜路被警逮';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '被罵六字經怒告 有錄音有路用';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '偷送酒車乾兩瓶 想撞警吃子彈';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '社會傳真／持槍打人恐嚇商店 被判７年';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
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-center1.htm';
																										
	rows[1].text = '吃完午餐 立人高中35人吐又瀉';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '同學合夥討債 為小錢就押人';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '3個月簽上億 六合彩賭窟被剿';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '打死嬰兒 媽媽被起訴';
	rows[4].link = 'today-center5.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
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-south1.htm';
																										
	rows[1].text = '抵押貴賓狗 錢莊脅迫還錢 警方救狗一命';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '創意雞尾酒賽 辣妹、熟女耍帥';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '中國走私香菇 查獲5千多公斤';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '男子陳屍農地 遭野狗啃食';
	rows[4].link = 'today-south5.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 = '中國馬統&ecirc;龜腳';
	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(8);
	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 = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性　　→';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療　　→';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美　　　→';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化　　→';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊　　→';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '3G手機 引爆生活大革命';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '時尚零高度 樂活薄底鞋';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
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 = '一樣RV，三種風情';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '紙上功夫不馬虎 必成！';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '瞞著老婆 假出差真玩樂';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '家有卡債兒 家長噩夢連連';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '前置作業做好 30分開飯';
	rows[3].link = 'today-family4.htm';
																										
	rows[4].text = '自製蘋果面膜';
	rows[4].link = 'today-family5.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
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-medicine1.htm';
																										
	rows[1].text = '新式二合一手術<br>治白內障修網膜一次OK';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '血管灌注顯微手術<br>找回硬漢 重振雄風';
	rows[2].link = 'today-medicine3.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
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-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 = '次世代的另翼輕文學<br>專訪另類新銳小說作家乙一';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '一夕成名 甘苦參半';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '語感的膜<br>專訪日本女性唱作人Gutevolk';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '媒體中立之爭<br>義大利各大報選前互嗆';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '右派走錯路？<br>反美觀點•英國書市打先鋒';
	rows[9].link = 'today-article10.htm';
																										
	rows[10].text = '新聞短波';
	rows[10].link = 'today-article11.htm';
																										
	rows[11].text = '《魔戒》音樂劇';
	rows[11].link = 'today-article12.htm';
																										
}
menu = null;

menu = getMenu('young');
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 = '禪風v.s漢方 東方美蔓延中';
	rows[0].link = 'today-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
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 = '韓國光州現代藝術展 投影台灣';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '羅曼菲紀念銅雕揭幕  身影永留故鄉';
	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';
																										
	rows[5].text = '多點東方味 許常惠音樂創作獎對外徵曲';
	rows[5].link = 'today-art6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
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;
}
//====================  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';
}