//===========================================================================
//基本設定
//==================== 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('supplement'));
	titles = titles.concat(new Array('生活副刊'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','work','gender','family','article','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>');
}
if (false)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/weekly.htm","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=810,height=643")>生活週報</A></TD>');
	document.write('	</TR>');
}
if (false)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/house.htm","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=810,height=707")>住宅生活</A></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('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.ntat.gov.tw/" target=_blank>台北市國稅局</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 = '爭北市議會龍頭  陳錦祥決與泛綠搭配';
	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 = '試院版18％改革方案 暫時復活';
	rows[7].link = 'today-fo8.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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].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 = '0.18微米 年底前開放登陸';
	rows[5].link = 'today-p6.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 = "NASA&Google攜手 帶你3D遊火星";
	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 = "英殺妓狂魔案 再逮1恩客";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "「搭篷族」體驗 巴黎人方知遊民苦";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "婆羅洲發現52新物種";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "《中英對照讀新聞》Pigeon lovers set for the battle of Trafalgar 愛鴿人士準備迎接特拉法加之戰";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '暴衝撞塌牆 壓死88歲母';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '5國合作 瓦解「洲董」販毒集團';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '攔截飛車 擒校園強盜5人幫';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '缺錢 國中生找同志包養';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '連續遭人性侵、輪姦 中輟姊妹花 不敢上學';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '鋸樹狂夜襲 果農不「柑」心';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '打廟公燒廟 疑墓蟲行兇';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '社區總幹事 竄改盜領132萬';
	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 = 'k歌王 腦麻兒會5種語言';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '樂陶陶 學童感謝志工老師';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '布農小畫家 寫童詩出繪本';
	rows[12].link = 'today-so13.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-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 = '作品分獲德國紅點設計賽銀牌、日本大阪設計賽銅牌<br>黃聖嵐、林天威躋身國際設計新銳';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '重溫信福時光 大家來寫信';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '加國耶誕老人 年收120萬封信';
	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 = '眼瞼腫瘤 80%是良性';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '冬天手乾癢又脫皮 先找病因才好治療';
	rows[13].link = 'today-life14.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
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-sp1.htm';
																										
	rows[1].text = '10年舊球具 湖西國小喜換新';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '黃甘霖 離島走透透';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '麥迪遜武鬥 安東尼禁賽15場';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '魏德最後一擊 火燒黃蜂';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '4年3800萬美元 邦德曼續當虎投';
	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 = '雌雄莫辨？ 印女子800銀牌飛了';
	rows[8].link = 'today-sp9.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 = '善用房貸商品 置產兼顧投資';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '較去年底成長96.4%／組合基金 成長驚人';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '理財Q&A／德意志銀債券 配息優於定存';
	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(9);
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 = '中國潛在巨額壞帳 IMF發警訊';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '製造業夜班外勞 明年引進萬名';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '華南金明年改選  公股擬徵求委託書';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '轉機題材 威盛進軍UMD';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '私募基金點名併購 手機股爆紅';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '雷虎、W&H結盟 跨入牙科器材業';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '福懋、偉全、光明 獲利領先同業';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '面板前五大 TV客戶集中度高';
	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 = '陳雅琳&余佳璋  9個月前離婚';
	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 = '金鐘系列預測之七／連續劇男主角<br>李天柱老薑辣 影帝勝券在握';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '侯佩岑臉紅慶生 不缺男人追';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '林佑星狂call林韋君 想吃回頭草';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '丁國琳泣訴 女兒是謝家人';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '樂團阿×惹麻煩 3主唱自清';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '6吸毒藝人1月勒戒  洪其德恐遭強制戒治';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '立委質疑球員兼裁判 電影處喊冤';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '江蕙愛作夢 吸金6千萬';
	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 = '布裘生女最猛  搶走阿湯哥NO.1';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '金來沅愛上村姑  李真旭苦戀玉女';
	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 = '《鏗鏘集》M的警訊';
		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(8);
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';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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 = '路不平禍事多 苗11線海埔里段將重鋪';
	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 = '申請亡夫撫卹 妻碰壁兩年';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '婦耍哭功 專詐里長';
	rows[8].link = 'today-north9.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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 = '就職週年 蘇治芬提44項成果';
	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 = '5年政績 胡志強：及格邊緣';
	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 = '民宅火警5死 疑電線走火';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '大義崙排水假疏濬真盜採弊案 押2人 疑公務員涉案';
	rows[7].link = 'today-center8.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(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 = '公義與人性 已進ICU';
	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 = 'work';
		rows[1].link = 'today-work1.htm';
	
		rows[2].text = '兩性異言堂　→';
		rows[2].submenu = 'gender';
		rows[2].link = 'today-gender1.htm';
	
		rows[3].text = '家庭親子　　→';
		rows[3].submenu = 'family';
		rows[3].link = 'today-family1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.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(3);
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 = 'Cashmere';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '拍賣時光  投資奢華';
	rows[2].link = 'today-fashion3.htm';
																										
}
menu = null;

menu = getMenu('family');
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-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';
																										
	rows[4].text = '丈夫經商失敗 想避免受連累';
	rows[4].link = 'today-family5.htm';
																										
	rows[5].text = '〈活動看板〉森林小學試讀會';
	rows[5].link = 'today-family6.htm';
																										
}
menu = null;

menu = getMenu('work');
menu.layer = 14;
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-work1.htm';
																										
	rows[1].text = '白目同事何其多';
	rows[1].link = 'today-work2.htm';
																										
	rows[2].text = '那片牆倒了下來！';
	rows[2].link = 'today-work3.htm';
																										
	rows[3].text = '輕鬆下午茶';
	rows[3].link = 'today-work4.htm';
																										
	rows[4].text = '關聖帝君制小人';
	rows[4].link = 'today-work5.htm';
																										
}
menu = null;

menu = getMenu('article');
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 = '陰魂未散的開膛手傑克';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '第二屆 林榮三文學獎小品文得獎作品輯 10之6<br>讀報';
	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';
																										
}
menu = null;

menu = getMenu('gender');
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-gender1.htm';
																										
	rows[1].text = '愛提分手 愛鬧彆扭';
	rows[1].link = 'today-gender2.htm';
																										
	rows[2].text = '分手學問大';
	rows[2].link = 'today-gender3.htm';
																										
	rows[3].text = '他找美眉 叫我別在意';
	rows[3].link = 'today-gender4.htm';
																										
	rows[4].text = '男友曾出軌 親熱蒙上陰影';
	rows[4].link = 'today-gender5.htm';
																										
	rows[5].text = '愛 永恆的吸引力';
	rows[5].link = 'today-gender6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '新婚浪漫 徜徉愛之船<br>歌詩達郵輪甜蜜行';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

//====================  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';
}