//===========================================================================
//基本設定
//==================== 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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '反磁吸 黃天麟促降投資中國佔GDP比率';
	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 = '12月 作陣牽手推制憲';
	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 = '新財長 主張調降遺贈稅率';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '北部明晨5時防空演習 人車管制';
	rows[7].link = 'today-fo8.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'SOGO案 章啟明：扁知情 但未介入';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "腦癱19年 睡「美」人說話";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "比基尼60歲 歷久彌新";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "1％之差 墨大選 左派要求重新計票";
	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 = "小行星 差點撞地球";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "西班牙翻車  找到黑盒子";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中英對照讀新聞》Half-ton Mexican man loses 200 pounds 半噸墨西哥男子減去200磅";
	rows[8].link = 'today-int9.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 = '警大審查報告 不利蘇建和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 = '代償卡債 讓你欠更多';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '簡訊想妳 2個字判賠25萬';
	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 = '露點熱舞 Sunny赴警澄清：有貼胸貼';
	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 = '創皂愛 募款助老人';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '楊捷加油 民間獻花打氣';
	rows[15].link = 'today-so16.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 = '2抗血小板藥物併用 糖尿病患 可免截肢';
	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 = '指考決加考公民 9科變10科';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《2006世界盃足球賽》金色轟炸機 美人招手';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《2006世界盃足球賽》球場不敗？利皮笑︰我也是';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《2006世界盃足球賽》佛林斯 禁賽兩場';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '《2006世界盃足球賽》費戈VS.席丹 用生命對決';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '《2006世界盃足球賽》葡法搶勝 中場較勁';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《2006世界盃足球賽》葡教頭老狐狸 精研孫子兵法';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《2006世界盃足球賽》他，像我兄弟';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '「印」漢當關 建仔吞敗';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '天堂到地獄 獅5法贏';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '痴漢棒喝 莎娃振奮晉級';
	rows[9].link = 'today-sp10.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '新光金將買元富證16%股';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '想併元富證 先搞定三巨頭';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '稻米保價收購 3年之內改直接給付';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '對外資課證交稅 蔡英文反對';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '55%貿易業者 不滿經營環境';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '網拍自創保養品品牌 年銷6千萬';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '《理財Q&A》能源類股 投資價值不容忽視';
	rows[6].link = 'today-e7.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Q3毛利率估破50％ 台積可望填權息';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = 'DRAM廠Q2毛利俏 華亞科逾40%';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '太陽光電 未來5年年成長22∼35%';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '營收受質疑 益通澄清獲利佳';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '外資續回流 再買超76億';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '仁寶月績登高 廣達獲新單';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '季底盤點 背光模組廠度小月';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《期指觀測站》外資續買超 盤堅可期';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '《國際股市》歐股午盤下跌 菲泰大漲';
	rows[8].link = 'today-stock9.htm';
																										
}
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(17);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '暴龍出診 海外吸金2億';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '玩票選聽搖滾 人氣樂團陪你high';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '阿湯哥生日 名導罵臭頭';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = 'Jolin抄燕姿 百人蹦蹦跳 心凌學Jolin 阿哥哥窮搖';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '雙J合拍廣告 好大2顆電燈泡';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '蔡沁瑜啖美食 陳建君玩手足';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '小嫻木蘭飛彈 轟炸關島';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '星爺魔鬼瘦身 張雨綺餓到昏';
	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';
																										
	rows[12].text = '裘莉挑男人 要熱情像動物';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '言言拚指考 英文聒聒叫';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '關穎搶色，戒不惜當配角';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '木村拓哉當HERO 搶回收視王座';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '尹孫河事業不順 9月嫁豪門';
	rows[16].link = 'today-show17.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》政府不應再做「肥了中國台商、瘦了台灣人民」的元凶';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》是蟲也是狗！';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》「前」下任總統';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '縣長率團赴美 隨行議員受氣';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '核廢倉庫傳弊案 石門鄉代砲轟台電';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '板橋福德宮面臨拆遷 信徒火爆抗議';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '熱門私校招生 一籤難求';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '台北車站周邊 機車位將收費';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '牯嶺街台銀宿舍 市定古蹟';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '獅子頭抽水站 污水溢流淡水河';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '縣府今拆狗籠 流浪狗媽媽想不開？';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '寧夏夜市人車分道再出發';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '圓環殞落 周玉蔻批馬自欺欺人';
	rows[9].link = 'today-taipei10.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '性侵疑案求城隍 被控叔伯橫死';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '虐殺女嬰案 生母及同居人羈押';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '狼扮警 性侵少女';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '國中妹 下海坐檯';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '討債鬼新招 利誘少年代討';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '兩運將 擒飛車?';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '《社會傳真》原民清枯立木挨告 法扶相助';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(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 = '槍擊要犯指控栽槍 7官警判刑';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '黑衣人砸屋傷人案 中埔準鄉代邱銀海涉教唆';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '看守所寄發保管金 面額3元';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '查獲土製霰彈槍 殺傷力強';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '撥123找客服？ 新版詐騙電話';
	rows[5].link = 'today-center6.htm';
	rows[5].type = '社會頻道';	
																								
	rows[6].text = '遺棄母又虐女 祖孫告傷害';
	rows[6].link = 'today-center7.htm';
	rows[6].type = '社會頻道';
																									
	rows[7].text = '學生套房販毒 交保毒犯又被逮';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會頻道';
																									
	rows[8].text = '彰縣議員王敏光無罪 父判刑';
	rows[8].link = 'today-center9.htm';
	rows[8].type = '涉賄選';
																									
	rows[9].text = '替候選人買票 2人被起訴';
	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(9);
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 = '走私非洲象牙 高雄查獲484支';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '調查合議庭兩法官？ 南檢否認';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '爭設國際機場 楊秋興籲縣市合作';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '岡山分局追討宿舍敗訴';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '機上猛刷停用卡被判刑';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '繼父、繼祖父聯手性侵';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '南市綁案主嫌押解回台';
	rows[8].link = 'today-south9.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 = '大教授與小baby';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '《曹長青專欄》馬英九騙中國人坐牢';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '醫學倫理的人文精神';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '別把中國電視劇入題';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '芭比娃娃的玻璃屋';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '孔廟的大樓陰影';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '汪精衛也是本土政權？';
	rows[9].link = 'today-o10.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '行動香氛 如影隨形';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '清爽居家<br>10件Neat Home Style設計小品';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '秋冬3線條 聚焦眉．眼．唇';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '科技大廠 搶進車用影音市場<br>捨棄CD 記憶卡 隨身碟就能播音樂';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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-family1.htm';
																										
	rows[1].text = '老公背著我 與舊情人藕斷絲連';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '滿懷感恩 走在菩薩道';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '父親給兒女的一封短信';
	rows[3].link = 'today-family4.htm';
																										
}
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 = '多做下半身有氧運動  可改變腿部曲線';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '流行性腦脊髓膜炎  中國爆發疫情';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '兒童成長遲緩  營養不良是首重指標';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '重組多穀米控制血糖  成大提供購買服務';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '玩水小撇步 遠離戲水病';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '自我訪問記.下【小說篇】';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '重返火燒寮';
	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 = '第14屆南瀛文學獎徵件';
	rows[5].link = 'today-article6.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>本報攝影記者沈昭良獲最佳外國攝影家大獎';
	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 = '陳其南 回首過往更瞭然';
	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 = '女人的天堂 時尚曼谷';
	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';
}