//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('週末生活版'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '避免分裂 未採票決 國民黨團決議：緩推倒閣';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '橘嗆藍：本週五照提案  公佈撤簽名單';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '馬強調：國務費案起訴  才推罷免彈劾';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '藍：重提監委、撤軍購一案 就付委';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '遷都中南部 朝野立委連署';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '馬：問人民 胡：將力爭<br>葉：可先遷勞委會農委會';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '政經分立 世界主要國家趨勢';
	rows[6].link = 'today-fo7.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(12);
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 = '中國版JDMA 雷石六型導引滑翔炸彈曝光';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '兆豐金案 今晨2:35收押中信金前財務長';
	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';
																										
	rows[11].text = '綠島人權藝術季 周五登場';
	rows[11].link = 'today-p12.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 = "火山運動╱規模6.6 夏威夷大震撼";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "反恐？歧視！英教育部籲監視亞裔面孔";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "美智庫預言╱亞洲國家 利字擺中間<br>經貿友好 難保區域安全";
	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 = "＜中英對照讀新聞＞\"Richer\" patients more attractive 「較有錢」病患較具吸引力";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '輕微智障男 千萬公寓被冒貸案<br>坐擁黃金屋 生活如貧民';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '總經理上班被綁 遭勒500萬 家屬丟包獲釋';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '15歲兄無照「三貼」撞車 弟枉死';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '惡生棍毆 老師頭破血流';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '中國包公 元配加情婦108將';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '學生下海 考試前被逮';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '爭看F.I.R阿沁 粉絲破門 4傷';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '與兄合作詐賭 胡瓜：請鬼拿藥單';
	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';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '南山中學 啟英高中 被指浮濫收費 像補習班';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '台東公教度假中心 養3年蚊子了';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '南方黑鮪漁獲額 我被減為1000公噸';
	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 = 'WCG電玩賽 台灣隊赴義格鬥';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '遛狗沒帶撿便器  最重罰6千';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '北市嚴定按摩廣告 減酸痛就違法';
	rows[7].link = 'today-life8.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鳥彈不敵核彈 國聯冠軍戰扯平';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '1000座王建民客場版公仔  4分25秒搶光';
	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 = '李秉彥草約 年薪540萬日幣';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '洲際盃11月9日開打 台灣拚4強';
	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 = '布雷克 搶下今年第5座冠軍';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '亞運撞球對抗賽／台灣12勝4負 壓倒日本';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '職撞大賽 金佳映晉4強';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '打亞運 郭泓志很樂意';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '台灣目標 鎖定15金';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '小國卡達 雄心萬丈';
	rows[13].link = 'today-sp14.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(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 = '《國際財經瞭望》阿拉伯國家GDP 破一兆美元';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '代銷皮包 廣播人創商機';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '歐股加美債 Q4股債佈局首選';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '首檔國際版債券 開始申購';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '美國大型股基金 市場喊進';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '《理財Q&A》虛擬店舖月營收逾六萬 須登記';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '挪移乾坤招財運／配合生肖掛山景圖 財運興旺';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '力晶Q3亮眼 毛利率達43%';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '姚以婷學習夢的功課';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '提前反映明年降稅 BMW降價';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '39元速食 肯德基拚麥當勞';
	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';
																										
	rows[8].text = '海外度假村消費 定型化契約 審查通過';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '台灣寬頻上網人口 全球第四';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '台股動力足 年底可望破7300';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '三星財報佳 台面板廠重燃信心';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '搭營建便車 週邊產業股價翻漲';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '固態電容需求旺 立隆電擴產搶市';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '歐股午盤漲 菲印勁揚';
	rows[14].link = 'today-stock15.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(18);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '李威公園遛貓 婆媽背後抖八卦';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '流星花園NO.1 攻進日本無線台';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '田麗搬新家 與陳定中分居';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '黃金甲失真惹爭議 鞏俐金大頭 學者批太扯';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '艷福不淺 郭富城羅馬行 采妮蕾蕾當伴遊';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '謝霆鋒盼柏芝息影 討老媽狄波拉歡心';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '陳曉東撇新歡 祝福鋒芝戀';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = 'S豬戀火山復活 公然調情';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '李唐教唱歌 先學狗喘息';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '品冠出道10年 賺到3棟豪宅';
	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 = '鳳凰女2年推掉33億 趕工訂做龍鳳胎';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '阿湯哥借克隆尼別墅娶凱蒂';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '小池露股溝 強尬堀北遮乳溝';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '金亞中領軍奇男怪女 22日來台會粉絲';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '木村拓哉 SE7EN拍新戲  喬定了';
	rows[16].link = 'today-show17.htm';
																										
	rows[17].text = '穿著Prada的惡魔 橫行北市票房';
	rows[17].link = 'today-show18.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(10);
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 = '公車不漲價 乘客減少 補貼激增';
	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';
																										
}
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 = '竹縣修路沒回填  １小時內5騎士摔傷';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '閃狗兒 車毀人傷還吃官司';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '酒駕撞工地 車全毀人沒事';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '基隆離家2女生 一路躲媒體回家';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '少年飛車搶錢 民眾合力擒捕';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '宜蘭商人綁票案 3嫌被求重刑';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '砸車窗偷音響  投市1夜4起';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '加油站油氣外洩 1員工嗆傷';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '酒駕摔倒 民眾報警 她怨雞婆';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '夜遊山區騎彎道 2女撞電桿死';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '罹癌厭世？身綁電線通電亡';
	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 = '清水農會搶案 2匪加重求刑';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '性侵越傭 民事判賠47萬元';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '南灣跳石海域 珊瑚危機解除';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '防登革熱 高高屏開首張罰單';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '樂透捐血車出動 捐血送樂透';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '小孩打自費疫苗 家長趨之若鶩';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '身障兒就學難 特教問題待重視';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '高原咖啡生態園區 月底掛牌';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '北東直達列車 延至南迴知本站';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '里港過江村 有機農園分享快樂';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '逾放比1.84% 梓官農會有一套';
	rows[8].link = 'today-south9.htm';
																										
	rows[9].text = 'Discovery旅遊生活頻道 「一個城市六個朋友」高雄開拍';
	rows[9].link = 'today-south10.htm';
																										
	rows[10].text = '縣運會閉幕 「泳」創佳績';
	rows[10].link = 'today-south11.htm';
																										
	rows[11].text = '機關員工合作社 無預警關門';
	rows[11].link = 'today-south12.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 = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '肌膚綠色革命';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '白天到黑夜 鏈帶包';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '頂級乳霜報導 週年慶總點名';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = 'Fashion靚手機';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
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 = '不露點也能很性感';
	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 = '偶爾當公主 老公更疼惜';
	rows[3].link = 'today-family4.htm';
																										
	rows[4].text = '天然除蟲法';
	rows[4].link = 'today-family5.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '第一支直接防癌<br>子宮頸癌疫苗上市';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '打完三劑才有效 目前接種須自費';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '治乾眼症許可新藥 不用只滴人工淚液';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '一參藥行配方驚風散 驗出超標汞、鉛含量';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '服用干適能有效 不一定要換新藥';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '流感疫苗 一到兩週才會產生保護力';
	rows[5].link = 'today-medicine6.htm';
																										
	rows[6].text = '老公健康最實在<br>控制飲食 更要定期健檢';
	rows[6].link = 'today-medicine7.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
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 = '關鍵字A-Z<br>Youth 青春';
	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 = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '劉德華推薦《水滸傳》 導演林奕華解構英雄';
	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 = '再沒有比普宮更好的選擇？';
	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 = 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 = '漫遊藍鯨出沒的城市<br>奧地利格拉茲 Graz';
	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';
}