//===========================================================================
//基本設定
//==================== 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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '太百案起訴／章民強感謝司法';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '太百案起訴／徐旭東 哽咽自清';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '林華德：沒新事證竟求刑 上訴到底';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '李恆隆：禮券案被炒作的 真相將白';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '尊重司法 還社會安寧';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '扁嫂間接收少量禮券 難有對價關係';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '商界戰爭 被政治口水吞沒';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '黃芳彥…未違法 但心態可議';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '高層介入說 被蔡辰洋戳破';
	rows[8].link = 'today-fo9.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
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-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 = '烏龍！ 綠旗當我國旗';
	rows[13].link = 'today-p14.htm';
																										
	rows[14].text = '國民黨又賣黨產 出售幸福人壽';
	rows[14].link = 'today-p15.htm';
																										
	rows[15].text = '公投法審查 等政院版付委';
	rows[15].link = 'today-p16.htm';
																										
	rows[16].text = 'F-16採購案 布希未批准';
	rows[16].link = 'today-p17.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 = "美2學者獲諾貝爾醫學獎";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "安倍破冰訪中 靖國密約換來的？";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "英保守黨主席 被踢爆投資A片公司";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "登月名言 少個A？ 高科技還阿姆斯壯清白";
	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 = "《中英對照讀新聞》Lights out in Iceland for view of night sky 冰島為夜景熄燈";
	rows[6].link = 'today-int7.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 = '中國旅行團翻車 6死15傷';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '司機喊煞車失靈 車就衝入谷';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '違規 司機無駕駛遊覽車資格';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '隨機擄人 逼問密碼盜存款';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '生父性侵3姊妹 忍辱10年揭獸行';
	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 = '文具行老闆 攔截400萬';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '盲人鋼琴師 部落傳情藝';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '父愛珍櫃 孝女盼重修舊好';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '不做表面功夫 阿里疤疤娶俏佳人';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '有志「義」同 熱情無國界';
	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(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '9日確定放假 學校家長跳腳';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '新導航系統 恐遭中國竊密';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '秋節疏運 國道6天零至六時不收費';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '中秋烤肉 量販店搶商機';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '花蓮←→石垣島 26日包機首航';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '領雙薪爭議 大考中心3主管請辭';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = 'AMiBA望遠鏡 探索宇宙起源';
	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';
																										
	rows[13].text = '越南染登革熱 返國傳鄰居';
	rows[13].link = 'today-life14.htm';
																										
	rows[14].text = '冠軍米強強滾 後壁米申請註冊';
	rows[14].link = 'today-life15.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 = '媒體預測 王建民MVP';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '伍茲 連捧6金盃';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '暌違8年 蕭任汶先發勝';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '2006亞洲冬季聯盟破局';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '職撞賽 夏揮凱晉4強';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '莎娃 傳進軍好萊塢';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = 'La new健走 28日轉戰台南七股';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '季後賽Fever 觀戰大補帖';
	rows[11].link = 'today-sp12.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 = '1450億 經地下金融匯中國';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '千元創業   泡菜罐子有夠衝';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '9月韓國基金大漲   東歐基金受挫';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = 'TTT再配息 暫訂四元現金股利';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '貝萊德合併美林資產管理公司';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '《理財Q&A》歐股年底前續強   應可續抱';
	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(13);
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 = '海外法說須揭露 多家上市櫃違規';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '三三長轉政策 縮減高科技外勞 增加三K外勞';
	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 = '《國情密碼》台桃機場貨物進出量 全球第13';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '力晶月績破百億 改寫DRAM史';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '元太搶眼 凌巨、勝華逐月成長';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '美林看衰明基 認前景不明';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '竹商銀效應 金融股狂飆';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《國際股市》歐股午盤上漲 新加坡勁揚';
	rows[12].link = 'today-stock13.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 = '美眉是華航空姐易家珍 陳定中：耶誕前就會離婚';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '陳定中開田麗車 夜店獵艷尋歡';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '推掉戲約 拍MV 立威廉露一腳  李玟把到手';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = 'Ella偷加料 懷孕照出爐';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '秋官賄賂嬌妻 欣宜終入家門';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '鑲金耍大牌？ 梁洛施傳遭冷凍';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '陳奕迅為老婆 與謝霆鋒反目';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '明道遲到耍大牌 星戲首播踢鐵板';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '中國無夢 閃靈今攻佔全美';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = 'Jolin11月開唱 只邀周董看表演';
	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 = '芭黎絲穿小褲褲 誘拐男童遭砲轟';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '小貝砸1億當飛人 進軍美國淘金';
	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 = '反式脂肪酸 驗出5食品超量';
	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(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鯉魚潭回饋金 5000萬將核撥';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '中秋賞月好所在 統統報你知';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '石門活魚節 業者業績少3成';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '規劃單車道網 5園2心為主軸';
	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';
																										
	rows[9].text = '學校垃圾分類 7成1不合格';
	rows[9].link = 'today-north10.htm';
																										
	rows[10].text = '抽驗月餅包裝 業者一度拒檢';
	rows[10].link = 'today-north11.htm';
																										
	rows[11].text = '洄瀾異音 國際天團來飆樂';
	rows[11].link = 'today-north12.htm';
																										
	rows[12].text = '里長夫妻做回收 義助貧童午餐';
	rows[12].link = 'today-north13.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '農民巡守 撞見竊賊被追打';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '65至79歲 重陽敬老金每人200元';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '難與高鐵同步 BRT公車有替代案';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '鬼月平安符 回收逾6成';
	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 = '預約早額滿 醫院9日照常門診';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '北港巨無霸月餅 200人共嚐';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '蘭潭秋節交管 周邊禁煙火';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '彰女明師明言 師生心靈田園';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '社區認養 雜亂公園變有機菜園';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '走過喪親痛 一中阿嬤樂活';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '7醫事菁英 市府頒獎表揚';
	rows[12].link = 'today-center13.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 = '不滿女友求去 施暴拍裸照求刑9年';
	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(7);
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';
																										
}
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(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '運動機練腹肌';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '好久不見！！ 吊帶褲';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '台灣潮流新勢力潮  自創品牌大展身手';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '解決家庭用車選購難題';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '超級好食物 健康滿分';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '花加巧克力 有性暗示喔';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '自備環保筷 垃圾減量';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '小新鮮人心結 大解套';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '危險的眩暈 淺談小腦、腦幹中風';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '大腹翁、小腹婆 當心新陳代謝症候群';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '身高158 體重190 腰圍181<br>超級胖子 胃繞道手術減重';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '平日保養勿輕忽 有心絞痛別硬撐';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '龜鹿二仙膠 可改善更年期出汗症狀';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '適量補充錳 有助加強記憶力';
	rows[5].link = 'today-medicine6.htm';
																										
	rows[6].text = 'Ｂ肝帶原者 肝癌高危險群';
	rows[6].link = 'today-medicine7.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '關鍵字A-Z';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '旅行中';
	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(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 = '實踐建築系「搞鬼」 社區繞境遊行';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '俄國小提琴奇才列賓  一拉搖籃曲 寶貝兒子就飽了';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '郎朗鋼琴獨奏會 記錄成長歷程';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '一生致力中法文學交流 文學家胡品清逝世';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '月光森林的抒情詮釋  陳國珍金工創作展';
	rows[5].link = 'today-art6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '秋遊澳門<br>盡享世界．文化．遺產魅力';
	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';
}