//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
showHouse = true;
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(6);
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';
																										
}
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 = '馬︰和平靜坐才是保障對象';
	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 = '台開案 檢方：不法所得1.7億';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "個案掃描發現 植物人腦波如同健康人";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "快槍俠福音 治早洩藥將問世";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "柯林頓陣營 籲ABC勿播911影集";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "911攻擊前紀錄片 開打首度公布";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "日本首相寶座 安倍晉三的囊中物";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "《中英對照讀新聞》Study：Pollutants may trim sex organ size 研究︰污染物可能讓性器官變小";
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '1車2人失蹤 滅門疑點重重';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '海軍基地現役2官兵 盜軍艦柴油10萬公升';
	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 = '五口命案：劉家曾遭討債300萬 鬧進警局';
	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 = '3P半套「老」手 姊妹合計近百歲';
	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 = '看淡人生 退休警察隋關林連捐3輛';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '送便當小弟來了 73歲';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '月捐百元 婆婆媽媽施棺濟貧';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '7根手指 他，做得比別人多';
	rows[14].link = 'today-so15.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'B、C肝雙重感染 治療率七成';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '打擊癌症 石全獲美國化學英雄獎';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '私宰斃死豬 肉品銷全台';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '豬險 千分之15獲理賠';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '中國厭食少女 書田混充公布';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '市售蜂蜜 逾7成未達標準';
	rows[5].link = 'today-life6.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 = '洋基王 二度挑戰17勝';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '熊M11';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '亞運29人名單 郭泓志掛帥';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '費德勒 連10次大滿貫晉4強';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '精英獎 建仔連莊呼聲高';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '魏聖美78桿 晉級不易';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = 'IPT世界8號球公開賽 夏揮凱 闖進第5輪';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '亞青男籃賽 禦韓失利 台灣今搶第3';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '新加坡桌球公開賽 莊智淵 晉級16強';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = 'ING臺北國際馬拉松 中區暖身賽今開跑';
	rows[11].link = 'today-sp12.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '雷曼兄弟︰台灣今年GDP 亞洲墊底';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '供油增加 油價跌破67美元';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '月眉145億元增資私募 通過';
	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';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '太陽能矽晶圓三雄 8月營收同創新高';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = 'Q3果然保守 台積8月營收 月衰2.4%';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '面板五虎 出貨大爆發';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = 'PC下游廠 後勢看俏';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '《國際股市》歐股午盤上揚 日股開低走高';
	rows[4].link = 'today-stock5.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 = '滅門？花蓮1宅5死2失蹤';
	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 = '蜜西西城灰狼 嘻哈情歌接力唱';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '蔡明亮.杜琪峰.賈樟柯  獵獅搶最佳影片';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '小田切讓 雅痞蟲師耍酷';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '看片無字幕 操練想像力';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '侯佩岑 第1次勇敢去愛周杰倫 聽媽媽的話不愛';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '雙J纏鬥5年 Jolin打敗舊愛';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '仔仔雪恥敲金鐘 韓港明星湊熱鬧';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '大S好詭 嚇人自娛';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '李玟喜新厭舊 不抄碧昂絲';
	rows[10].link = 'today-show11.htm';
																															
	rows[11].text = '暴龍秀日文好帥 唱歌走音糗爆';
	rows[11].link = 'today-show13.htm';
																										
	rows[12].text = 'Freddy正義T恤 拒賣倒扁支持者';
	rows[12].link = 'today-show14.htm';
																										
	rows[13].text = '潘慧如保住飯碗 momo台獻花惜惜';
	rows[13].link = 'today-show15.htm';
																										
	rows[14].text = '包公喊卡 三兄弟圍毆製作人';
	rows[14].link = 'today-show16.htm';
																										
	rows[15].text = '長谷川京子轉型 玉女變慾女';
	rows[15].link = 'today-show17.htm';
																										
	rows[16].text = '宋承憲11月影友會 韓國吸金數億';
	rows[16].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 = '凱道靜坐交管 公車3階段調度';
	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 = '淡海輕軌鐵路 預計102年通車';
	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(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '兩車相撞 警賠400萬還未了';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '婦人銀行提款 4惡霸撞人搶錢';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '爭風吃醋 高中生糾眾對陣';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '自家門前 工程師被潑強酸';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '曳引車撞民宅 廚房廁所成廢墟';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '報復情婦 偷她機車險吃官司';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '搞婚外情 前所長被改判加重刑';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '疑債務問題 一中巴被砸2次';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '少年疑遭灌毒死案 最重判6年';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '男子盜拷光碟 運動名人缺建仔';
	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 = '出獄不久 2男偷車牌又被抓';
	rows[12].link = 'today-north13.htm';
																										
	rows[13].text = '疑血壓突升休克 巡山員陳屍';
	rows[13].link = 'today-north14.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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-center1.htm';
																										
	rows[1].text = '打佛光大學名號 2嫌非法招生';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '人體探索展覽 著作權之爭未息 原創者聲請 法院裁定交付審判';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '機不可失 尋機高手莊富德教撇步';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '為她打群架 舊愛亮槍被移送';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '圍贓車警開8槍 歹徒還是跑了';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '飛車15公里逮毒蟲 起出槍毒';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '進口茶混充阿里山茶 4人交保';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '通緝犯擁３把槍 送治安法庭';
	rows[8].link = 'today-center9.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
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-south1.htm';
																										
	rows[1].text = '黑幫連續火併 警方逮7人';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '前鎮駐區督察吳樹山調職';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '燦坤前負責人吳燦坤 判1年4月';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '網路假賣偽鈔詐騙 警方偵破';
	rows[4].link = 'today-south5.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '倒扁活動注定失敗';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '明德兄 急什麼';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '《金恆煒專欄》施明德：「紅色」殺韃子';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '關懷生命';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '地理不及格';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '我的外省老婆';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '老人安養';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '杜鵑花何辜';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '律師性格';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '朱元璋革命';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '國民黨正名';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	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-weekly1.htm';
																											
		rows[1].text = '無限暢飲餐廳 歡聚更暢快';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '夏出清！下半身甩肉特訓';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '一週兩回 還妳渾圓小俏臀';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '水腫妹OUT！24H 纖小腿白皮書';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '秋高氣爽好愜意<br>澄清湖畔親水健行';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '台中都會公園 快樂踏青去！';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '名店名菜大破解<br>河邊海鮮餐廳 蚵仁羹';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '掃街皇后紀文蕙<br>魅力引爆五分埔';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '改頭換面 新鮮人改造Go!';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '健康醫療--<br>孩子常常要尿尿？小兒頻尿症！';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = '花編--<br>親愛的我的守護天使';
		rows[11].link = 'today-weekly12.htm';
																											
	}
	menu = null;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	menu.menuLayer = 0;
	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-house1.htm';
																											
		rows[1].text = '大換小 前進市中心 一屋變兩屋 自住＋投資';
		rows[1].link = 'today-house2.htm';
																											
		rows[2].text = '圓頂藝術廳 打造北投地標建築';
		rows[2].link = 'today-house3.htm';
																											
		rows[3].text = '總太如來 距中科園區僅1公里';
		rows[3].link = 'today-house4.htm';
																											
		rows[4].text = '老大房 大戶產品鎖定南科高階主管';
		rows[4].link = 'today-house5.htm';
																											
		rows[5].text = '調整動線 打亮20年老屋';
		rows[5].link = 'today-house6.htm';
																											
		rows[6].text = '趕工搶建 如何為房屋品質把關？';
		rows[6].link = 'today-house7.htm';
																											
		rows[7].text = '入住爛尾樓 先驅穢旺宅';
		rows[7].link = 'today-house8.htm';
																											
		rows[8].text = '爛尾樓重生 結構安全堪憂';
		rows[8].link = 'today-house9.htm';
																											
		rows[9].text = '室雅何須大 聰明打造小坪數居家空間';
		rows[9].link = 'today-house10.htm';
																											
		rows[10].text = '上下滑溜 油壓式機械停車位驗收';
		rows[10].link = 'today-house11.htm';
																											
		rows[11].text = '交屋時該如何計算 地價稅和房屋稅的支付比例？';
		rows[11].link = 'today-house12.htm';
																											
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}