//===========================================================================
//基本設定
//==================== 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(11);
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 = '北韓射7飛彈 東亞情勢升高';
	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';
																										
}
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 = '王金平：報導有點誇張';
	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 = '國務機要費查核 27日見分曉';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '陳安瀾：未替陳唐山傳話';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '陳幸妤出院 趙建銘聲請停止羈押';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '國民黨中央黨部 被批先用後安檢';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '馬英九財產 存款增 持股減';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '對台有特殊貢獻 艾琳達、梅心怡可永久居留';
	rows[9].link = 'today-p10.htm';
																										
}
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 = "6片碎片掉落…美發現號順利升空";
	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 = "15歲老牛中鏢 加再爆狂牛症";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "《中英對照讀新聞》Castro's niece fights for new revolution 卡斯楚姪女為新革命而戰";
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '診所掩護 7旬醫賣嬰逾10年';
	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 = '呆呆大學生 假綁案詐雙親';
	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 = '布農族公主 奔波20萬公里顧癱兒';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '陪他慢慢來 遲緩兒小楷痊癒';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '書記官 磨出書法大獎';
	rows[11].link = 'today-so12.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '一六一變電站跳電 雪隧停電21分鐘';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '電車線扯斷 台鐵「誤」了3萬人';
	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 = '中斷30年 中研院今選非華裔名譽院士';
	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';
																										
	rows[10].text = '防禽流感 國家流感中心成立';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '四天三起 衛署電梯關人 員工發毛';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '新防會觀察張魁緋聞事件 本報新聞處理 優於其他五報';
	rows[12].link = 'today-life13.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《2006世界盃足球賽》德冠夢碎 義搶金盃';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《2006世界盃足球賽》布馮 連4場0失球';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《2006世界盃足球賽》德後防誤大事';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '《2006世界盃足球賽》皮耶羅 洗刷罪人污名';
	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 = '《2006世界盃足球賽》罄竹難書的風花雪月';
	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 = '溫網女單4強 夢幻對決';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '瓊斯盃週六開打 F4上陣';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '1︰19 洋基遭屠殺';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '魏德續留熱火有譜';
	rows[13].link = 'today-sp14.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '2000億優貸 加速都市更新';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '都市更新機制啟動 誘發8000億商機';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '公營行庫13%優存 不排除取消';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '外幣計價期貨 可用台幣交易';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '新光金買元富證股 不排除調至25%';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '6月WPI年增率8.71% 創18月新高';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = 'Q3理財 加碼日亞新興股市';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '《理財Q&A》美國升息 本月股市看多';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '台塑除權息亮麗 台化營收創新高';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '暑假旺季到 南仁湖Q3開紅盤';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '32吋TV面板 跌破400美元';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '新晶圓廠動工 茂德如虎添翼';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = 'DDR2缺貨 8月起看漲';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《期指觀測站》6,650點站不穩 將下測底部';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《國際股市》德股午盤重挫 星泰大跌';
	rows[7].link = 'today-stock8.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 = '電價剛漲 中油醞釀漲2元';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中國做戲誘近利 台灣戲劇圈罩子放亮';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = ' 港媒爆料 陳寶蓮遺孤 王菲經紀人養4年';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '被爆變臉 王怡仁大笑否認';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '可樂七星陣F4縮兵 暴龍1枝獨秀 幹掉F3';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '楊丞琳跌進玻璃圈  濕吻男人婆';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '范逸臣 野菜達人廚藝一把罩';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '胡凱欣舌吻離婚男 為愛當小女人';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = 'MV被批連環抄 潘瑋柏：很像';
	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 = '阿部寬博收視 露屁屁1分鐘';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '張東健放鴿子 尹晶喜延後來台';
	rows[13].link = 'today-show14.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》北韓導彈試射期能喚起在野黨的良知';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》總統變混混？';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》借刀，看刀！';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(11);
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';
																										
	rows[10].text = '汽燃費繳款單 半數超商拒收';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-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 = '文化局美術館2檔展覽 水墨聯展賞風光 書法作品說故事';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '學校怕麻煩？ 籃球場不掛籃框';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '魯冰花開鏡 抓住桃園好風光';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '學生飆偶戲 阿忠布袋戲來助陣';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '石藝大街展示館 明晚再現風華';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '文化傳承 教育生活營原味濃';
	rows[9].link = 'today-north10.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '心情不爽隨機砍人 4人求刑13年';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = 'A空污防制補助500萬 吳瑞耀被起訴';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '變調暑假！ 街頭打群架 9人關進看守所';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '網友救人！ 跨縣求援 救回想尋短高職生';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '縣長扮女警講故事 與囝仔零距離';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '大埔筍農 加入保育樹蛙行列';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '耐斯廣場明開市 百貨業備戰';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '太平國小梯間 畫昆蟲生態';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '陸空聯合稽查 取締燒稻草';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '防禽流感 溪頭白鴿集中管理';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '瀛海城隍160週年 今起繞境4鄉鎮';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '長青志工掃街 拿掃把運動';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '知性饗宴 科博館展生命的律動';
	rows[12].link = 'today-center13.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 = '招募精英 聯電祭出5星級宿舍';
	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 = '6月病媒蚊指數 21鄉鎮市逾3級';
	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 = '農會田媽媽美食 8月進軍台北世貿';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '左鎮加蜜蛋黃果 大大滿足';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '母語日活動 教學成效獲肯定';
	rows[8].link = 'today-south9.htm';
																										
	rows[9].text = '黃鐘教學法 讓小提琴變本土了';
	rows[9].link = 'today-south10.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國民黨的責任 民進黨的恥辱';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '漫漫司法改革路';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '雪山隧道會要人命？';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '罷免案效應';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '台聯不是花瓶';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '《黃天麟專欄》民進黨的變質與藍化';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '綠島觀光劫難';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '黃復興不可留';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '雙頭蛇 無了時';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '本土政權是甚物？';
	rows[9].link = 'today-o10.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '百萬級國產房車 超科技';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '樂活彩妝 天然•環保•混搭';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '妝 別糊啊!';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '輕•盈•薄•美 放輕鬆';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = '電腦多媒體展 台北首站起跑';
	rows[4].link = 'today-fashion5.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(7);
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';
																										
	rows[6].text = '香港夏季流感季  赴港宜小心防範';
	rows[6].link = 'today-medicine7.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '名家奏鳴曲';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '黃色亞洲 新崛起的舊勢力<br>從義大利非文學類暢銷書看出版新風潮';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '村上春樹英文版短篇小說集面世<br>小說家憂心日本國族主義';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '看神祕主義 如何推動歷史';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '蜘蛛人自爆．蝙蝠女出櫃  經典漫畫 頻出奇招';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '現代國族幻想曲';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '演化大師的智慧結晶';
	rows[6].link = 'today-article7.htm';
																										
}
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 = '德國杜塞朵夫歌劇院<br>《玫瑰騎士》原裝來台';
	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';
																										
	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 = '德國壁畫雙子鎮  卡米希•帕坦克城';
	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';
}