//===========================================================================
//基本設定
//==================== 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(13);
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 = '東京黨產  140億日圓購入 現值30億日圓';
	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';
																										
	rows[12].text = '美專家 支持台灣發展攻擊性飛彈';
	rows[12].link = 'today-fo13.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-p1.htm';
																										
	rows[1].text = '3.9億烏龍 史哲轟李應元 糊塗長官';
	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 = '塵封近一甲子老記者留手稿 嘉義228史料重現';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '柯旗化紀念展 追憶民主先行者';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '鐵衛士官長 陳永昌「突」破萬難';
	rows[9].link = 'today-p10.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 = "逾200死 孟買驚爆  疑虔誠軍主謀";
	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 = "《中英對照讀新聞》Impotence common in men with sleep apnea 患「睡眠呼吸暫停症」的男人普遍不舉";
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '不倫戀殺機? 1屋3屍3死法';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '掃蕩詐騙 鎖定藏匿中國主謀';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '工程師設網路機房 猛叩騙錢';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '組頭兒子綁架案 逮7嫌';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '范氏死亡理賠 李泰安分50萬';
	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 = '不識字九旬翁 檢方罰簽悔過書';
	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 = '300字雪中送炭 扁登門致謝';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '買不到的武器 你都畫好了';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = 'e直守護 寄養媽媽網路傳愛';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '終赴喜樂之地 紅豆伯償宿願';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '偽鈔專家洗心革面 變身紙黏土藝術家';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '零錢搶救危機家庭 3個月投入2千萬';
	rows[15].link = 'today-so16.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(20);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '學生午餐喊漲 監所擬接手';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '餐盒業者︰不公平競爭';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '法務部︰只想替國家解決問題';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '碧利斯直撲 中南部山區防豪雨';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '碧利斯 罕見的虛胖颱風';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '防災應變 首見NCC進駐監督';
	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 = '台塑汞污泥善後 1.5億全民買單';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '追究台塑責任 溯及既往有爭議';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '無法制裁污染者 環署自廢武功';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '北縣盯核二廠 開6張罰單';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '游謝有異見 二代健保添變數';
	rows[13].link = 'today-life14.htm';
																										
	rows[14].text = '《中研院新任院士風雲榜》姚孟肇 只要找到利基點 台灣科技看好';
	rows[14].link = 'today-life15.htm';
																										
	rows[15].text = '蘇揆︰母語教學 要好玩有趣';
	rows[15].link = 'today-life16.htm';
																										
	rows[16].text = '退學生打官司 東華大學敗訴';
	rows[16].link = 'today-life17.htm';
																										
	rows[17].text = '月租抵通話? 聾啞人划不來';
	rows[17].link = 'today-life18.htm';
																										
	rows[18].text = '鯨鯊 明年起限捕45尾';
	rows[18].link = 'today-life19.htm';
																										
	rows[19].text = '暑假當假日 飯店加價引爭議';
	rows[19].link = 'today-life20.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '美聯魔咒 10全十美';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '鋒砲3響 球迷賺到';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '單場3砲、連3打席 平聯盟紀錄';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '陳冠任 鬥牛士';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '克提茲緣盡 離台';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《瓊斯盃》台灣力退澳洲 拿第3勝';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《瓊斯盃》當地虎遇天龍 南韓不敵卡達';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '國際足總考慮 追回席丹金球';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '克林斯曼 不掌德兵符';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '海峽高球對抗 改採比洞賽';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '《9號球亞巡表演賽》吳珈慶對決潘曉婷';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '《洛桑田徑大獎賽》劉翔跨破110M跨欄世界紀錄';
	rows[11].link = 'today-sp12.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '兩任經長溝通 工總不退出經續會';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '兩岸經貿 工總內部不同調';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '印度工業、軟體業 成長強勁';
	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';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(16);
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 = '《理財Q&A》保險定存 中途解約不划算';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '歐洲內需明顯增長 下半年股市仍看好';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = 'DRAM廠Q3邁入90奈米';
	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 = 'SWK每股50.82元 收購偉全企';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '資訊通路商 僅聯強、精技月績佳';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'LED上季獲利 紛傳捷報';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '摩托大訂單 閎暉有夠HIGH';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '中華電搶推3.5G 最快9月開台';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '安控三雄 獲利領先同業';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '益通上半年每股賺11.42元 明年估60元';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '《期指觀測站》站上季線前 電子仍偏弱';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '《國際股市》德股午盤大漲 日股重挫';
	rows[14].link = 'today-stock15.htm';
																										
	rows[15].text = '健康刷卡 可享優惠';
	rows[15].link = 'today-stock16.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(12);
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 = '凱蒂開10大條件 阿湯哥全買單';
	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 = 'TOP人氣樂團 票選延長1周';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = 'F.I.R.阿沁變髮 怪獸上身';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = 'Rain天敵貼上身 古天樂餓肚罰半蹲';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '許效舜 走過婚變 測字結緣封半仙';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '黃曉明 劉亦菲拚錢途 另一半套不牢';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '李泰蘭「慾」火重生 李璟榮留校察看';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '矢口真里鬆口 甩了小栗旬';
	rows[11].link = 'today-show12.htm';
																										
}
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 = '馬伕拒捕衝撞 警連開2槍';
	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 = '反拆除樂生陳情掀波 17人被捕 自救會轟北縣府流氓';
	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 = '颱風影響 2次基測若順延 聯合轉學考將同步';
	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 = '大鈔滿街飛 基警拾金不昧';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '頂標、倒會落跑 發簡訊通告';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '攔查可疑車 起海洛因、賭具、760萬玩具鈔';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '機車碰撞 騎士雙亡';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '打死婦人詐領保險金未遂 無期徒刑';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '溪水漲，沖出贓車';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '社會傳真／所長認被害人證件 攔到竊嫌';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(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 = '6工人受困抽砂船…乘風破浪搏命救援';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '2女妨害自由 1判刑1拘役';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '假刑警亮槍炫耀…被逮';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '仗著風勢 祝融吞噬4民宅';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '性侵學生 書法老師被起訴';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '恐嚇強盜 放重利男子交保';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '買賣毒品 毒販毒蟲全落網';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '籠絡涉賄 林伯恩吳元欽被訴';
	rows[9].link = 'today-center10.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
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 = '聯電助貧童課輔 221人受惠';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '今天12時前 停飛離島';
	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 = '護210歲老樹 住宅用地變更綠地';
	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(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 = '美麗e火燒島';
	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(6);
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 = '選床 肩˙腰˙臀3施力點 其次軟硬';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '夏日適足賽 正式起跑！';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = '來逛，06台北國際電信展';
	rows[4].link = 'today-fashion5.htm';
																										
	rows[5].text = '選對手機資費方案<br>網內、網外，搞清楚再說！';
	rows[5].link = 'today-fashion6.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(4);
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 = '妊娠蕁麻疹 癢得讓人捉狂';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '血拼 真的會讓人快樂';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '搓揉眼皮過度 眼皮也會下垂';
	rows[3].link = 'today-medicine4.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 = '寵壞自己的暴發戶';
	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 = '電音小說唱作俱佳<br>Brian Eno為小說配樂';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '哈波．李重出江湖<br>新作現身歐普拉《O》雜誌';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '醫學之父奧斯勒演講集出書<br>《生活之道》 重建社會道德理想';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '優人神鼓新作《與你共舞》<br>從印度神聖舞蹈發想';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '北台灣博物館聯合推西班牙特展';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '既古典又流行<br>柏林十二把大提琴來台演出';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '黛安娜王妃生前大力資助<br>英國國家芭蕾舞團 舞出皇室光芒';
	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 = '英國利物普liverpool<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;
}
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';
}