//===========================================================================
//基本設定
//==================== 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 = '近千億總淨值 僅剩277億';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '38年帶來黃金 隔年已花光';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '戒嚴時期 誰敢告國民黨？';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '政院：國民黨隱藏資產 刻意低估';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '綠批黑箱報告 下月提案公投';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '馬任內賣5黨產 總價款114億';
	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 = '綠委︰明德收費站 政治史上最大吸金案';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '賀德芬籲扁取消出訪';
	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(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 = "可樂禁售令 印度4邦拒撤";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "錯判政治效應 飲料巨擘栽跟頭";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "早上喝咖啡 心臟病發機率高";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "《中英對照讀新聞》Zimbabwe’s new banknotes a nightmare for visually-impaired 辛巴威新鈔是視障者的夢魘";
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(17);
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 = '娃娃車悶死女 5次試管生男娃';
	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 = '烏龍救火 5透天厝燒毀';
	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 = '3C販毒 手機MSN叫貨宅配';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '出版「灌籃高手」 大然董事長 詐財4千萬';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '求助生命線 爸媽打完兒女打';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '少男冒姊名 扮女坐檯竄紅';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '妙慧癌末 心繫死囚';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '追思傅德蘭 感恩的人來自全台';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '國中生陳俊翔 淹水背雙親逃難 全國孝行楷模';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '上山做農 泰雅女青年號召200人';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '家扶資助 賣水梨小女孩 大學畢業了';
	rows[15].link = 'today-so16.htm';
																										
	rows[16].text = '慈母疼愛智障女 為她活過來 為她不嚥氣';
	rows[16].link = 'today-so17.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '防火塗料 應耐溫500度／hr';
	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 = '高中98正綱草案 廢軍訓 資訊必修';
	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';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '象不勝9矣';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '紅襪陷低潮 6連敗';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '建仔對手 赫南德茲';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '亞洲少棒賽 我3連霸';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '泰山連發 擠下鋒砲';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '蓋特林 恐被禁賽8年';
	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 = '義軍嚴防 夢7險勝';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '明郅連線 保住中國晉級希望';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '獲選上海特殊奧運儲備選手 劉耕宏 生命泳者';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '魯尼禁賽風波 英足協堅不退讓';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '標普預言 壞帳將重創中國';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '7月外銷訂單 年增19.44%';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '資訊硬體生產外移 空洞化加深';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '歷年重大政治事件 對房市衝擊有限';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '身障者就業 不足額進用率11%';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '東協促日與各國簽雙邊自貿協定';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '台灣工銀 將發行百億債券';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '中華銀、慶豐銀 拍賣雙卡不良債權';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = 'Skype創辦人 否認成長趨緩';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '《國情密碼》檳榔年產值破百億 僅次稻米';
	rows[10].link = 'today-e11.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '7月民間利率 升幅縮小';
	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 = '花旗想買僑銀、寶來證';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '台新金︰今年仍可維持獲利';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = 'Mazda Taiwan重新定位品牌';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '惠和進駐華宏董事會';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = 'DDR2價飆 DRAM廠進補';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '茂德財務操作？八吋廠先賣後租';
	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';
																										
}
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(14);
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 = '祝釩剛藏身偷窺 放任酒友耍狠';
	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 = '狂fun熱力 比基尼美女 海灘型男選拔賽<br>慎選防曬產品 曬後重保養';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '章子怡整過頭 村姑變木頭';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '陶&#21894;小巨蛋白唱 損失逾2000萬';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '徐若瑄ㄋㄞ功發威 狂叩周董盧到1首歌';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '阿湯哥人氣滑 派拉蒙炒魷魚';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '羅比自爆 酒肉朋友想睡他';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '郭品超高又帥 劉心悠不敢愛';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '年輕族群挺宮 師奶給我愛';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '內田有紀求戲演 山口智子猛推戲';
	rows[13].link = 'today-show14.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(7);
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 = '悠遊卡限時車位 九月恢復限停1小時';
	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 = '河川嚴重污染 4監測站拉警報';
	rows[6].link = 'today-taipei7.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '芭樂票養私生子 追討扶養費';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '逼妻吸毒 訴離要孩子 惡夫騙不了法官';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '硬走後門 不爽少女喊痛 索安撫費';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = 'DNA對出劫財性侵 少年求刑18年';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '冒充警察性侵少女 男被求刑10年';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '疑曾同居警所宿舍 退休警中國女互告';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '撞死人棄車逃...永豐高中電腦賊';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '裸屍案 追查公車司機';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '中壢監視系統弊案 收押３人';
	rows[8].link = 'today-north9.htm';
																										
}
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 = '空殼公司詐貨轉賣 海削2000萬';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '傳承部落生命史 原民會培訓寫手';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '芳苑國小戶外水龍頭 全被偷了';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '醫師兒子家暴 父母聲請保護令';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '酒店女子色誘 建商被擄挨簽千萬本票';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '老翁坐舢板溺死 查船東責任';
	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 = '3歹徒闖早餐店 行搶未得手';
	rows[9].link = 'today-center10.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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 = '夜店衝突 傳2警酒後打人';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '媒合活動展 受刑人工藝品獲好評';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '半夜拆違建 9旬阿婆嚇到送醫';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '檳榔攤雇未成年辣妹 積50萬罰單';
	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 = '相約8.23 布農戰友話當年';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '防國中新生外流 林園鄉編列獎金';
	rows[8].link = 'today-south9.htm';
																										
	rows[9].text = '服飾研討會 府城古蹟躍上禮服';
	rows[9].link = 'today-south10.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
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 = '時尚圈 活力Gruppy';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '百貨強打名牌特賣會<br>搶好康 有撇步';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '歐系Supermini 時尚摩登個人車';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '培養孩子 體貼心';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '準爸爸的荷爾蒙黃金週';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '涼拌花枝餃';
	rows[2].link = 'today-family3.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '狼瘡性腎炎 千萬要謹腎';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '罹癌無法兼顧生計<br>家庭經濟首當其衝';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '歡呼兒越早治療 成效越令人歡呼';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '雷射去斑不隨便<br>先找原因 再求成效';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '冠狀動脈繞道手術<br>解除心勞 恢復有氧';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '漏斗胸及早矯正<br>抬頭挺胸除心患';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
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 = '高台多悲風<br>來演一場消暑的戲';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '從《Seventeen》到《Vogue》';
	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';
																										
	rows[6].text = '法國文壇珍品創天價';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '埃及文壇耆老馬哈福茲入院治療';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '創意也有藏寶圖';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '眼淚仍讓世界的光影通行';
	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('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '培養台灣文學創作環境 高獎金展誠意<br>「林榮三文學獎」收件創新高 總計4,421件';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '結合動漫風潮<br>藝術家「漫搞」進夜店';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '屏縣三地門社區合唱團<br>獲國際華文合唱節比賽金獎';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '舞踏作品《天然之美》溫柔抗爭<br>為樂生院阿公阿媽而舞';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '復古版《唐喬凡尼》<br>明晚城市舞台登場';
	rows[4].link = 'today-art5.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>阿卡玻可Acapulco';
	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';
}