//===========================================================================
//基本設定
//==================== 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 = '紅綠府城爆衝突 警逮3人';
	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(14);
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 = '小泉任內台日關係 扁︰30年來最好階段';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '中國毛巾 課反傾銷稅204.1%';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '前立委 曾蔡美佐 涉A中油台電睦鄰款';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '周韻采蹺班案 綠議員要求彈劾';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '2008大選維安 國安局編1.3億預算';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = '紅綠衝突 AIT提醒美國公民注意';
	rows[12].link = 'today-p13.htm';
																										
	rows[13].text = '陳幸妤：紐約課程結束就返台';
	rows[13].link = 'today-p14.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 = "《中英對照讀新聞》Milan fashionistas fear Spanish skinny model ban 米蘭時尚愛好者 擔心西班牙禁止過瘦模特兒走秀";
	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 = '槍擊關公 角頭殺人未遂送辦';
	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 = '疑收賄包庇色情 警員遭約談';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '茫茫到深更 名製作人沈光遠酒駕';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '賓士醉漢 酒駕 7次 判刑7月';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '還沒吃飽 反毒氣功師 暗語助毒梟';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '粗細?載魚? 「毒」門密碼學';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '六毛 等到家人偷偷擁抱';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '信約長存？ 順仔的媽 還是沒出現';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '癌童迷賓士 訪德國總部圓夢';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '守護身障兒 12篇愛的故事';
	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(17);
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 = '台鐵調票價 平均漲7∼8％';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '秋節連假 加開240班機';
	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 = '美毒菠菜 逾3000盒下肚';
	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 = '14種室內盆栽 淨化空氣尚天然';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '台銀違賣3古蹟 限期撤標';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '保育類天牛 吃掉櫻花樹';
	rows[13].link = 'today-life14.htm';
																										
	rows[14].text = '台南鯤鯓海岸 瑞氏海豚擱淺';
	rows[14].link = 'today-life15.htm';
																										
	rows[15].text = '密紋波灰蝶 台灣新亞種';
	rows[15].link = 'today-life16.htm';
																										
	rows[16].text = '三峽弘道里 疑遭紅火蟻攻陷';
	rows[16].link = 'today-life17.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-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 = '阿讓擋道 熊本週主場封王夢碎';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '郭勇志 獨霸救援王';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '勝投王落難 搶17勝雙輸';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '文大 5霸梅花旗';
	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 = 'NFL 大班復出 業績掛蛋';
	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 = '辛姊變壯 快拍降敵';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '艾利克森 美足教頭？';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = '拓荒者隊 提前操兵';
	rows[15].link = 'today-sp16.htm';
																										
	rows[16].text = '世界射箭大獎賽 亞運箭客 前進上海';
	rows[16].link = 'today-sp17.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 = 'Q4投資穩中帶攻 相準日歐組合';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '《理財Q&A》銀行調整債權額 可要求對帳';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '綠能產業 2020年將成長數倍';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '寶來TTT 月底可望配息';
	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(15);
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 = '華爾街預測 Fed年底前不升息';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '勞退基金監委會 可望列優先法案';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '復華金、元京證合併 雷曼兄弟續當財顧';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '世銀︰保護主義威脅全球經濟';
	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';
																										
	rows[8].text = '利多加熱 外資喊進台積、聯電';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = 'Gartner：今年PC出貨仍大增';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '面板止跌 LCD電視價回穩';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '促銷行動下單 玉山證送PDA手機';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '抗老防皺 未來保養品主流';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '熟女消費新勢力 席捲全球';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '《國際股市》歐股午盤下跌 菲俄勁揚';
	rows[14].link = 'today-stock15.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(18);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '蒙嘉慧進出自如 鄭伊健同居密友';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '林志玲奪小喬內幕 福斯電影台灣總經理暗助';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '許瑋倫半夜相親 和兒時玩伴送作堆';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '徐若瑄深情藏吳建豪手機號碼';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = 'Linda曝閨房私密 新好男孩陪睡';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '難忘當年痛 楊千霈小象隊 褲子難容肥臀';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '阿妹拎17萬包朝聖 Jolin踩黑妹涼鞋瞎拼';
	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 = '琳西打石膏 遮遮掩掩上街';
	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 = '戀人比貴氣 1集耗資830萬';
	rows[16].link = 'today-show17.htm';
																										
	rows[17].text = '金晶恩自比花痴 一入戲狠狠愛';
	rows[17].link = 'today-show18.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 = '無關倒扁 酒駕撞總統府';
	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';
																										
	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(9);
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 = '巡佐恐嚇檢舉人判6月 稱撥錯電話';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '縱火燒錯屋奪兩命 求無期刑';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '活活踹死基隆遊民 兩嫌模擬';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '鬧區押人毆打取財 一嫌落網';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '男子撞人逃逸毆警 罪加一等';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '《社會傳真》載同學出車禍致死 少女判賠';
	rows[8].link = 'today-north9.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '大安溪盜砂案 前3河局長 18年改判8年';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '上網洽公 縣府12月e起來';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '第二納骨堂延宕 鹿草鄉代下通牒';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '全國第2名 竹塘米看俏 漲聲響起';
	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 = '中崙溫泉閒置 被批更勝貪污';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '肉圓迎十傑 彰化添光采';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '市圖K書證 離座1小時失效';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '石城斗笠 一脈好手藝';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '扶輪社捐80學童營養午餐費';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '失業婦臨財不苟 撿10萬交警局';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '寶來溫泉觀光大道 明年完工';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '譴責暴力 高市議員、牧師籲停止開花';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '今年首隻黑面琵鷺 來了';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '鄉城歌仔戲團  上班族傳奇';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '東縣毒品危害防制中心 啟用';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '肺結核藥緊盯 惹毛病患與醫師';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '流感侵襲 4歲以下幼童當心';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '咖啡活動2合1 聚焦宣傳';
	rows[8].link = 'today-south9.htm';
																										
	rows[9].text = '衛局抽檢 未見美國毒菠菜';
	rows[9].link = 'today-south10.htm';
																										
	rows[10].text = '路地抵遺產稅 關廟難紓困';
	rows[10].link = 'today-south11.htm';
																										
	rows[11].text = '美人樹開花 美不勝收';
	rows[11].link = 'today-south12.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 = '楊文嘉VS.范可欽';
	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 = '一個月損失112億';
	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 = '蛇與鱷魚的珠寶對話';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '香奈兒外套 三大秘密';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '’06年底 精品市場拉鋸戰';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = '柴油 汽油廝殺戰 手排掀背車大比拼<br>福特Focus 2.0 TDCi Fiat Grande Punto 1.9 Multijet';
	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 = '愛的抓抓 High到最高點';
	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 = '攝護腺肥大及早就醫 多可用藥物改善';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '邀學子蒙眼尬舞 體驗盲人生活';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '新生兒健保IC卡  勞工爸媽ｅ指搞定';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '避孕器留子宮33年  七旬阿嬤差點沒命';
	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 = '貪戀';
	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 = '國美館紀錄片雙年展 與紐約MOMA跨海合作';
	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 = '巴西歐風城市特寫';
	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';
}