//===========================================================================
//基本設定
//==================== 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','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 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="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(12);
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 = '懲處李子春 花檢考績會建議 2小過';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '國共論壇明登場 連戰登陸 綠：勿再賣台';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '不滿國共合流 本土團體抗議';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '兩岸包機、來台觀光 我務實開放';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '玉山兵推 百枚飛彈攻台';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '扁：國際危機組織 要變更台灣名稱';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '李大維：軍購 美與馬有歧見';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '日月潭遊艇 掛五星旗遊湖';
	rows[11].link = 'today-fo12.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '高捷公共藝術弊案 起訴雙陳等6人';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "小麥公司行賄海珊案  澳總理出庭作證 20年來首見";
	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 = "委國掌控外資採油 推升油價";
	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 = "《中英對照讀新聞》Jesus may have walked on ice? 耶穌或許行在冰上？";
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '簡訊轟詐中國 近億帳單債留台灣';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '逮偽鈔教主 估近億假鈔流出';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '暴利惡霸 5萬債恐嚇活埋索百萬';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '槍擊要犯末路 蔣政修栽了';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '保護弱勢券商 法部長允祭重典';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '妙齡女郎 玉臂「針」恐怖';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '遙控器大盜 「頻」仗儀器 夜開鐵門';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '國泰世華銀行搶案 已花150萬還錢莊';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '高雄海關7員 涉放水污錢';
	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';
																										
}
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 = '95學年起 操行不評分 僅敘述事實';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '大考中心烏龍 95指考報名變96';
	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 = 'Rotem願八度修正PP車馬達';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '中國偷渡犯染肺結核 殃及員警';
	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(8);
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 = '紅人6發全壘打 砲打小熊';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '陳建宏 5分打點 吐怨氣';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '第8局 牛轟7分 吞鯨';
	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';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '巴克萊資本預測：貿易逆差 美元看貶';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '宏達國際 未侵害勞力士商標權';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '三大產業 造福亞洲市場';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '台電董座 陳貴明升任';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '二次金改 不會喊停';
	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 = '台灣筆記型電腦 全球最便宜';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '記者改賣冰 水果變黃金';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '市場看空 台幣貶8.6分';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '卡債風暴七月解除？ 銀行悲觀';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '《理財Q&A》債券型基金 配息較穩定';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '傳產躍主流 營建帶頭衝';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '大田Q1EPS3.62元 高桿王';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '藍光晶粒最多跌15%';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '長虹永信華固 搶營建股王';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '取代桌機 NB代工喜年來';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '諾基亞手機均價 不跌反漲';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '低價PCB 落後補漲';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '《期指觀測站》大盤高檔整理 中多隱現';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《國際股市》歐股午盤跌 日、印重挫';
	rows[12].link = 'today-stock13.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 = '中國造武器 用台灣NC機械';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台灣粉絲要合照 莎莉賽隆臭臉Say NO';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = 'Jolin算上癮 發片求高人 桃花加持';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '陳思璇 17歲陪酒當「舞女」';
	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 = 'TANK背抄襲黑鍋 委屈見曙光';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '林志玲休半年 蕭薔反攻撈千萬';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '傳涉入天心戀情 羅孟姍公開喊冤';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '黃舒駿要成功 堵街駭到紐約客';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '小甜甜又凸槌 愛兒摔傷掛診';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '紅巾特攻隊名導 申相玉辭世';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '林蘭芷 35元一餐 力撇拜金女';
	rows[11].link = 'today-show12.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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '亡夫韻事 遺孀判賠60萬';
	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 = '第3胎上小學 1年補助1000元';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '菜價回穩 水果量多急跌';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '3地賞螢導覽 看螢舞聽蛙鳴';
	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';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '擁槍圍事 小南門幫要角被逮';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '擁槍自重、吸毒販毒 迅雷對象落網';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '竹縣西藥公會理事長 被控涉詐欺';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '砍香杉挖菇菌 4嫌送辦';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '桃園市癌末老人 疑似臥軌被輾死';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '社會傳真／越南妻慘遇家暴夫 訴離獲准';
	rows[5].link = 'today-north6.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '危樓拆瑞里大飯店 全面警戒';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '疑食物中毒 衛局到大新採樣';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '隨機勒贖 陳佰鴻重判14年8月';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '學CPR 護理師救回公公';
	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[6].type = '社會傳真';
																										
	rows[7].text = '女子墜橋命案 5月12日宣判';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會傳真';
																										
	rows[8].text = '提供中國人頭電話卡 逮6嫌';
	rows[8].link = 'today-center9.htm';
	rows[8].type = '社會傳真';
																										
	rows[9].text = '拋妻棄女 老來貧病無人理';
	rows[9].link = 'today-center10.htm';
	rows[9].type = '社會傳真';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-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 = '偵辦家族販毒案 再起出2把槍';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
	rows[10].text = '嘜叫我老百姓';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '學習母語&ecirc;建言';
	rows[11].link = 'today-o12.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 = '別克LaCrosse vs. 豐田Camry';
	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 = '用手機，打造你的個人@log';
	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(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>皮膚紅 怎麼辦？';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '重組多穀米 有益糖尿病患';
	rows[2].link = 'today-medicine3.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
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-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 = '《達文西密碼》審理終結';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '神探將死？ 虛驚一場';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '好個讀書天';
	rows[9].link = 'today-article10.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 = '《命運的軌跡》 陳秋盛首次指揮NSO';
	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 = '《無上有0&1》 李再鈐抱回公共藝術設計獎';
	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>社頭•二水逍遙遊';
	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';
}