//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
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 = '民代活躍地方 調解易獲認同';
	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 = '北高兩市選舉 12月9日投票';
	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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '院務會議57︰1 台大拒趙建銘復職';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = "青春泉源 DHEA抗老神話 美證實無效";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "鴨綠江畔車潮依舊 中朝陸路貿易 UN制裁漏洞";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "承父志？搖錢樹？ 鱷魚先生之女開節目 輿論轟剝削";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "後911 英國成開打新目標？";
	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 = "《中英對照讀新聞》Red wine can help prevent stroke damage 紅酒可以預防中風傷害";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '斷掌疑詐保 法官判免賠';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '強迫症男偷簽帳單 盜刷200萬';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '老夫婦百萬財產隨身袋 劫後復得';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '假證件開戶 2人頭落網';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '國泰世華銀收付處 遭搶40萬';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '雲縣公安稽查小組 掃黃洩密 縣府司機收押';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '百警大搜索 破應召站逮24人';
	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 = '守望獨居老人 護理師像女兒';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '法師102歲 法會全程走跪';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '大安百歲人瑞 記憶驚人';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '第3屆 Keep Walking夢想資助 5人獲百萬圓夢';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '浮士繪／冬山豬哥 誠徵辣妹';
	rows[14].link = 'today-so15.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-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 = '海關昨扣385公斤大閘蟹銷毀';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '中研院長交接／李遠哲交棒 翁啟惠上任 4目標提升競爭力';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '不合格萬聖節玩具 皆中國製';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '中橫 嚴格取締雙層巴士';
	rows[7].link = 'today-life8.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '搶7 歷史押寶大都會';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '梅恩不雀場 救世主';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '曹錦輝 上不了40人名單?';
	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 = '肋骨斷兩根 潘武雄照拚';
	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 = '建仔全隊簽名球衣 20萬結標  創紀錄';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '日媒猜 林恩宇加盟樂天';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '姚明發威 對手喊要命';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '長春公開賽 沈忠賢拔頭籌';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '聖托盃 台灣隊暫列第2';
	rows[12].link = 'today-sp13.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 = '紀念幣易貶值 投資多賠少賺';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '黃金買賣浮動制 價差擴一倍';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '國內投信基金規模 9月減0.97％';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '澳美加REITs 投資前景看俏';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = 'Vista將上市 電腦買氣救星';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '電路板業記取教訓 不再大幅擴產';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '動態時尚秀 縮短供需距離';
	rows[6].link = 'today-e7.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 = '合資20億元進軍壽險業 第一金與英傑華結盟';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '保險業海外投資比重鬆綁 立院喊卡';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '全球化指標 星居首 我排35';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '大立光 Q3毛利率62.51%';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '諾基亞獲利跌 國內廠商反受惠';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '茂德單季每股賺1.12元 創新高';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '環天掛牌首日138元 漲幅109%';
	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 = '世界調酒賽 台灣「甜心」奪冠';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
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-show1.htm';
																										
	rows[1].text = '柯林頓眼勾黛姨 艾希頓抓狂';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '海瑟控訴保羅 家暴又嗑藥';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '暴龍變木村 被誤認好糗！';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '楊丞琳爆奶 強調未加工';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '陳冠希 戀上18歲富家女';
	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';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》中國圍堵台灣外交還能視若無睹嗎？';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》反扁經濟學';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》誰家做事，誰家負責！';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '買豆花沒熄火／機車撞瓦斯筒起火 5人送醫';
	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 = 'SARS期間未返院隔離 前和平醫師被免職 上訴失敗';
	rows[6].link = 'today-taipei7.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
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-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';
																										
	rows[7].text = '《社會傳真》買兇殺夫判刑15年 上訴駁回';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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 = '7少搶超商 住家附近照搶栽了';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '百公斤金爐 遭支解偷走零件';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '毒媽被抓附帶娃 警伯變保母';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '一罪一罰 毒賊鬥法 警一一舉證辦他';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '賽鴿會員搞擄鴿勒贖 管帳專業';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '涉3銀樓搶案 通緝犯被逮捕';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '《社會頻道》假名牌貨 起出仿LV等逾450萬';
	rows[6].link = 'today-center7.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '推銷綠色矽島 阿扁邀薩總統參觀科工區';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '海安路弊案 市府︰限制性招標 不違法';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '撞死外籍新娘母子 肇事司機良心不安 向警自首';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '西瓜刀大盜 皮卡丘圖樣 栽入警網';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '飛車女搶匪 命運的鎖鍊 結夥行搶';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '屏東國際麻里巴狩獵祭  高市教師會 批虐待動物';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '高市主委盃桌球賽 百萬獎金 向全國發戰帖';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '公民抉擇需要公民參與';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '食品安全控管漏洞';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '原住民怎樣發聲？';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '李扁的交集';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '金門取代港澳';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '《澄社評論》台灣政黨的階級性格';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '查辦毒官員';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '翻滾吧 男孩';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '給泛綠的建議';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '我非人頭黨員';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '公民參與權力';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '「拾舞—原舞．十五」';
	rows[11].link = 'today-o12.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(12);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
		rows[0].text = '秋日賞花 浪漫正是時候<br>徜徉紫色花毯 甜蜜滿點';
		rows[0].link = 'today-weekly1.htm';
																											
		rows[1].text = '彩繪大地 波斯菊綻放美麗';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '黃金花浪 純白馥郁同台競艷';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '芒海花海 風吹翻浪美景';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '西風起 非洲菊 欒樹迎風招展';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '自在暢快涮涮鍋 一個人也熱鬧';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '呼朋引伴嘗鍋去';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '開飯囉！戴佩妮愛上 我的家';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '猩猩眼OUT！ 絕對養眼２部曲';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '生日禮物 一週提案';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '健康醫療--<br>白雪公主的美白秋季班';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = '花編--<br>純真的心意 純真地珍惜';
		rows[11].link = 'today-weekly12.htm';
																											
	}
	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';
}