//===========================================================================
//基本設定
//==================== 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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '倒扁 5千人21日起圍總統府';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '倒扁轉戰台北車站 台鐵憂交通';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '916集會 扁不排除參加';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '民進黨民調 7成6民眾 不贊成罷工';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '十月撤換閣揆？總統府否認';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '綠營大老倒扁？施：沒聽過';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '靜坐不靜 噪音擾鄰';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '王金平：應維持國慶慶典莊嚴';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '游：中國伸手干預台灣民主自由';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '屢傳不到 林正杰打人被函送';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '倒扁耗損警力 衝擊治安';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '倒扁播不停 媒觀會痛批';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '扁盼公投以台灣名 叩關聯合國';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '夏千福︰台灣弱化 恐招致兩岸衝突';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '台美自貿協定 可化整為零';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = '嚴控新聞  中國法院噤口';
	rows[12].link = 'today-p13.htm';
																										
	rows[13].text = '陽光修法  故意隱匿財產  最高罰400萬';
	rows[13].link = 'today-p14.htm';
																										
	rows[14].text = '幫派份子 持美工刀進靜坐區';
	rows[14].link = 'today-p15.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "生物電子手 腦波直接下令";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "老牌安眠藥 喚醒植物人";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "日5杯綠茶 降低心血管疾病";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "壇八卦 加國帥哥外長 萊絲新男友？";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "世代交替 26歲小夥子 匹茲堡新市長";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "《中英對照讀新聞》Some \"night owl\" teens may have sleep disorder 一些夜貓族青少年可能有睡眠問題";
	rows[5].link = 'today-int6.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 = '葉永鋕案逆轉 校長3人有罪';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '凌遲雙親 持刀一片片削手腳肉';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '花蓮5屍命案 現場膠帶 驗出劉父指紋';
	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 = '4700億輸電工程 驚爆弊案';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '8口貧戶12坪 住舒適';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '93歲天才老爹 創平方新算法';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '家貧自學鋼琴 連奪2屆音樂冠軍';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '良師發動 認購番茄助貧童';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '通緝犯、痴情女 警局完婚';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '不停點頭的孩子 慈母拒再婚';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '96歲老媽愛唱歌 70歲孝子陪趕場';
	rows[14].link = 'today-so15.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 = '學生連署反髮禁 格致：不服就轉學';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '中油今起微降油價';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '中風前兆  笑．舉手．說話 三問立判';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '全盲教授程式設計 學子折服';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '成人紙尿褲 近半會側漏';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '交通頻出狀況 蔡堆首度發飆';
	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(12);
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 = '建仔重現伸卡光輝';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '李秉諺 參加日職選秀';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '恰恰吹響逆轉號角';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '蔣宸&#35921; 世大賽「銀」家';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '獅14勝 羅伯森貢獻一半';
	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 = '亞洲大學男籃賽 南韓飆3分 痛宰中國';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '克林斯曼暗示 不排除重掌德兵符';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '2006台灣公開賽 職業選手拒打';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '林羿豪將加盟 姜建銘喜相迎';
	rows[11].link = 'today-sp12.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'VISA金融卡 網購半開放';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '網購 網路金流卡有保障';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '光陽調漲機車價 十年來首見';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '機車內外銷 今年冷颼颼';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '半導體業西進 薪事重重';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '中國員工向錢看 翻臉如翻書';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '供應鏈外移 越趨明顯';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '帶領致新走出虧損 吳錦川 學者成功轉型';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '湯尼威爾推動品牌不斷轉型';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '金價走勢 看好Q4旺季';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '新興股市 市場預估Q4跨高點';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '全球基金經理人 青睞日美歐股';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '七檔模組型基金 穩健賺報酬';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '頎邦、福葆 跨足LED封測';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '無線商機 明泰搶推WiMAX商品';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '聯詠、矽創 法人建議觀望';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '中芯反擊台積 要求賠償';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '德國午盤走揚 印度大漲';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '中課徵進口汽車零組件關稅 美歐將向WTO申訴';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '金價跌至580美元 兩月來新低';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '亞洲商用房地產投資 上半年成長四成';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '竹炭生質能發電機 我全球首創';
	rows[13].link = 'today-stock14.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(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '夜宴3紅牌 沒人接機冷颼颼';
	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 = '蔡淑臻入戲失心瘋 Amy鬱卒掛病號';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '天心&劉&#30026;宏重逢 打情罵俏';
	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 = '裘莉豐唇「吻」得第1 貝嫂嘴臉「親」和力差';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '布蘭妮再添帶把的處女';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '金楨勳搶救韓國觀光 10月來台拉客';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '漂亮星媽菜菜子 踩廣末居冠';
	rows[14].link = 'today-show15.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》“人民內部矛盾”何必激化成“敵我矛盾”？';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》小心報應';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》極右派藉施大反撲！';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '核四龍門施工隨便 鹽寮海灘倒楣';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '清查文化資產 51處古蹟 7處白蟻蛀蝕嚴重';
	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 = '13條路網 人行道騎鐵馬';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '台北車站周邊 15日起機車停車格收費';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '秀山國小預定地 轉型體驗園區';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '龍山寺地下街 規劃主題商場';
	rows[9].link = 'today-taipei10.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台電工程涉賄 偵訊官員評委';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '國小姊妹花 拾皮包不昧';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '發功消災手伸褲底 國術館主判８月';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '狼嫌見鍾馗 嚇到抽搐認罪';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '竹北鬧區停車場 雙盜挾女恐嚇盜領';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '穿反光衣深夜行竊 稱怕車撞';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '《社會傳真》中國女涉賣淫被捕 哭訴求情';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '槍斃同居男友 簡碧燕判14年';
	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 = '高美地區石砌堤防 將整建';
	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 = '6衛所缺醫師 嘉縣需才孔急';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '半工半讀 建教班大熱門';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '百年楓香枯死倒塌 砸毀民宅屋頂';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '救生員急流訓練 博命演出';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '陳明財 世界盃奪金';
	rows[12].link = 'today-center13.htm';
																										
	rows[13].text = '創世走一回 國中生感恩惜福';
	rows[13].link = 'today-center14.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-south1.htm';
																										
	rows[1].text = '賣假龜鹿二仙膠 害老人欲輕生';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '太歲頭上動土 2搶匪 法官宿舍搶法官';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '性侵害女證人 檢察官交保';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '台電六輸計畫案傳行賄 10餘官員學者被約談';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '槍殺超商老闆 外勞主嫌被捕';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '恐嚇2飲料公司 千面人被捕';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '觀察筆記／新聞引導';
	rows[7].link = 'today-south8.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
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(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 = '巾巾計較 毛巾的學問';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '柴油風 席捲高級主管房車<br>Audi A6 3.0 TDI Quattro試駕';
	rows[2].link = 'today-fashion3.htm';
																										
}
menu = null;

menu = getMenu('family');
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 = '快樂分手 掌握30天黃金期';
	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';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '過動兒 有藥可醫';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '心靈角落徵文 邀病友寫出心生活';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '痠痛貼布用量驚人 一年可繞台灣四十七圈';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '成人健檢還不足 個人化健檢當道';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '乾眼症  可以自己先檢測';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '為記憶而走 幫失智症找到心出路';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(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 = '以詩歌迎接秋天<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('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '威尼斯建築台灣館土洋並見<br>「遊園」受注目 創作者身分引爭議';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '羅曼菲遺愛人間<br>首屆獎助金公布得主';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '《吶喊》失而復得<br>孟克名畫今秋短暫展出';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '得自卡拉楊真傳<br>《杜蘭朵公主》伊凡諾夫指揮功力讚';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '坐國光號看表演<br>台北民族舞團《拈花》入座';
	rows[4].link = 'today-art5.htm';
																										
}
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';
}