//===========================================================================
//基本設定
//==================== 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(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 = '915圍城 總部強調非暴力';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '總統如常辦公 不會走避';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '蘇揆盼平和進行';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '台聯參選人踢館 施動怒';
	rows[10].link = 'today-fo11.htm';
																										
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '916挺台 號召十萬人上凱道';
	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 = '抓賄獎金 已發出2.5億';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "新一輪恐怖攻擊？ 美駐敘利亞使館遇襲";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "盼其悠然自在 日小皇孫命名悠仁";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "中國加強控管外籍傳媒 國際譴責";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "伊朗提有條件凍核 美觀望";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "哈瑪斯軟化 巴勒斯坦組聯合政府";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "假皇族婚禮斂財";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "《中英對照讀新聞》Bikini queen says aimed to show Pakistan as modern 比基尼女王稱目的在展現巴基斯坦的現代感";
	rows[6].link = 'today-int7.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 = '擺冥要債 損人名聲判4月';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '債主太多 巫術符籙追上門';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '2個月被砸5次店 報案被回：應該不敢再去';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '販嬰案 供嬰診所 遍布全台';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '5屍命案 劉氏夫婦列嫌犯';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '脫逃外勞 槍殺超商老闆';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '死神高中生 鴨霸急診車道';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '偷掛號信 冒領信用卡盜刷';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '砍死救命警 判賠1693萬';
	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 = '盲人瑞 黑暗生活一百年';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '開店賣素菜 法師引爭議';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '台東監獄 藺類巧思';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '七星墜地 新嘉村好風水';
	rows[14].link = 'today-so15.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '5年500億邁向頂尖 台大撥用翻修學生宿舍';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '出國比賽奪19金 獎盃被課稅';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '教部大樓要地 台大不給';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '營養午餐加碼 明年增撥8億';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '北中南3醫大聯盟 可跨校選課';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '多生小孩 降低腦中風機率';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '櫻花鉤吻鮭 比去年增4倍';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '今年首季 就醫人數少一成';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '病媒蚊指數逾3級 校長要記過';
	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';
																										
	rows[13].text = '長白山車禍重傷者未脫險';
	rows[13].link = 'today-life14.htm';
																										
	rows[14].text = 'msn大斷線 網友譙翻天';
	rows[14].link = 'today-life15.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '爭亞洲1哥 建仔來了';
	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 = '強森 幸運17勝';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '棄播中華職棒？緯來爭MLB轉播權';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '雷鵬展翅16勝 熊M10';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '林羿豪近日與巨人簽約？教頭疑惑';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '國際足總擬安排席丹、馬特拉吉大和解';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '蘭迪斯 要求解除禁藥指控';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '2006亞洲大學男籃賽 台灣重創蒙古';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '呂政儒 扮灌籃高手';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '古登 續扛騎士禁區';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '費德爾 連3年年終第1';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '球星頻放鳥 中網賽尷尬';
	rows[14].link = 'today-sp15.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '金融消費爭議 求助評議會';
	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 = '台灣大與RIM合作 引進黑莓機';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '台灣杜邦總裁陳榮二 選老婆定規格';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '油價只漲不降 中油台塑被批';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '上市櫃登陸增 收益匯回少';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = 'IMF警告全球經濟下滑';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = 'DDR2合約價 未來持續看漲';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '不懼政爭 遊戲類股漲不停';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '研華、凌華 開拓海外市場有成';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '光學元件族群 榮景再現';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《國際股市》歐股午盤小漲 日菲澳下挫';
	rows[7].link = 'today-stock8.htm';
																										
}
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 = '機場補貨 天后只愛碧昂絲 克莉絲汀 Jolin不買周董新輯';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = 'S.H.E奮力推巨筒 累壞軟趴趴';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = 'Hebe脫稿演出 認了JH戀';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '周董不怕被誤會 強調華流最屌';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = 'Elva改樓除穢氣 夜遊晾美腿';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '霍正奇開溜 六月失眠盼回頭';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '庹宗康周旋3女 苦不堪言';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '過氣費翔超大牌 拒賣老臉皮';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '飛輪海豁出去 狂扮鬼臉博出片';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '賴薇如夜會王怡仁前男友';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '何韻詩&容祖兒 被疑大搞蕾絲邊';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '凱吉瘦身關禁閉 摸黑磨演技';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '思嘉襯衣露臀 色誘喬許';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '琳西蘿涵不鳥男友 夜店發騷勾DJ';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '潔西卡求愛 自封好情人';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '嵐週五抵台 日上千粉絲愛相隨';
	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 = '《鏗鏘集》阿格西與施明德';
		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(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 = '疑中國妻偷賣淫 14刀殺妻求16年';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '闖空門見裸睡女 劫財色判9年餘';
	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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '涉暴力討債 鄧力嘉集團8嫌落網';
	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 = '國道6號工程 17工作面勒令停工';
	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';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(17);
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 = '【魚命嗚呼！】疑遭人下毒 石斑魚暴斃 損失逾500萬';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '公東阿蘭 奧林匹克機器人賽第3名';
	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 = '目標世運4金 市府不惜重金';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '周轉不靈 縣府發薪改至5日之前';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '台大考古隊 廣徵挖掘工';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '肝病被魚刺傷染菌不治 意外險不賠';
	rows[8].link = 'today-south9.htm';
																										
	rows[9].text = '自來水公司巡迴展 親近水世界';
	rows[9].link = 'today-south10.htm';
																										
	rows[10].text = '客家人墾鹿野 今晚10時播出';
	rows[10].link = 'today-south11.htm';
																										
	rows[11].text = '水災加雷擊 萬丹興化國小不平靜';
	rows[11].link = 'today-south12.htm';
																										
	rows[12].text = '雙蹄小山羊 小黑狗麻吉';
	rows[12].link = 'today-south13.htm';
																										
	rows[13].text = '秋蟹搶手 旗津魚市每日賣百餘公斤';
	rows[13].link = 'today-south14.htm';
																										
	rows[14].text = '牙醫公會醫師群 菩提林義診';
	rows[14].link = 'today-south15.htm';
																										
	rows[15].text = '五星級 大學週邊宿舍大樓 上班族搶進';
	rows[15].link = 'today-south16.htm';
																										
	rows[16].text = '中元搶孤 力社北院廟有意重現';
	rows[16].link = 'today-south17.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 = '916 清政治垃圾';
	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(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '新世代 鋼砲秀';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '法 時尚淡妝vs.日 成熟大小姐';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '紐約 風尚秋妝';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '網路攝影機 天邊好友在眼前';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = '脫掉傳統外衣 小家電大變身<br>蒸汽熨斗像iPod 機器人變吸塵器';
	rows[4].link = 'today-fashion5.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '打開情慾黑盒子';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '老公封鎖經濟  看病要從菜錢扣';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '多些善念  施比受更有福';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '面對癌症 更樂觀過日子';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
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';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '關鍵字';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '屋頂';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '關於人類社會的100個問題';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '盡頭';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '從羅馬的馬車說起';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '愛讀書 《鰻男鬼談》';
	rows[5].link = 'today-article6.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '「比國民黨更糟糕 更沒有人權」';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '佛朗明歌舞劇《卡門》彩排<br>兩位女人推動舞團新境界';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '陳香伶油畫個展';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '經典歌劇《杜蘭朵公主》<br>一生要看一次全本';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '傳統戲獅上陣<br>高雄推出戲獅甲藝術節';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '名畫上拍賣場<br>挑起收藏家敏感神經';
	rows[5].link = 'today-art6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '學星星少年和大象做朋友  千葉縣市原象之國';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}