//===========================================================================
//基本設定
//==================== 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(14);
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 = '市調處釐清 貴夫人禮券 確購自SOGO';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '禮券來自官邸？ 邱毅仍緊咬李碧君';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '蘇拾瑩：李慧芬是深喉嚨 至少4人證';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '涂醒哲籲媒體勿成社會公害';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '李濤：與李慧芬很熟';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '賴清德：將敗類逐出新聞界';
	rows[11].link = 'today-fo12.htm';
																										
	rows[12].text = '學者：媒體爆料應查證';
	rows[12].link = 'today-fo13.htm';
																										
	rows[13].text = '罷免邱毅 高市連署';
	rows[13].link = 'today-fo14.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '309億治水預算 明可望三讀';
	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 = 'NCC：刺馬說 電台聽眾講的';
	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';
																										
}
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 = "坐骨連體嬰 24小時接力手術";
	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 = "《中英對照讀新聞》Indonesian Playboy moves operations to Bali 印尼版「花花公子」前進峇里島";
	rows[5].link = 'today-int6.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 = '桃花當鄉花 芬園公所犯桃花?';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '警界拚治安  逾200警官大調動';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '查扣李家2車 上路側錄比對';
	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 = '連傳2起 電視爆炸火燒厝';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '管理員命案 9男女共謀殺人';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '好心小2女生 背走失童找家人';
	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 = '97歲老阿嬤 獨享田園生活';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '首屆客家新聞獎 本報獲兩大獎';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '轟蘋果沒良心 郭台銘嗆買下';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '追討百億溢付款 健保局出手 醫界哀嚎';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '本土禽流感爆發 傳統市場將禁售活禽';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '明起走雪隧 注意行車間距50m';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '雪隧防災 缺錢缺人缺配備';
	rows[5].link = 'today-life6.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《2006世界盃足球賽》鬥牛士燦爛日';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《2006世界盃足球賽》最新戰報 突沙戰2:2言和';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《2006世界盃足球賽》森巴走調？ 還好有卡卡';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '《2006世界盃足球賽》隊長卡富：拿到3積分最重要';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '《2006世界盃足球賽》自由之星--巴西．羅納度';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《2006世界盃足球賽》法國 再陷抱蛋魔咒';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《2006世界盃足球賽》證明實力 英要能進球';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《2006世界盃足球賽》拉森開口 平息瑞內訌';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《2006世界盃足球賽》教頭比拚 荷籍3勝最風光';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《NBA》魏德不服輸 熱火大逆轉';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '王建民 救了洋基';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '球員交易 建仔大熱門';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '獅12連勝 擠下熊';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '泰山14轟 打跑鯨';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '姜建銘 救援無失分';
	rows[14].link = 'today-sp15.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(10);
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 = '今年GDP成長率 外資下修';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '台綜院副院長吳再益︰政局穩定與否 影響經濟表現';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '水患住宅修繕 每戶可貸款200萬';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '法安盛併購Winterthur 全球第一大';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '投資權證 首重快準大';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '全球股市短線重挫 分析師建議勿再殺低';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '《理財Q&A》列舉扣除保險費用 夫妻不能以多補少';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '友達：面板下半年會很好';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '億光︰中小尺寸背光 下半年主力';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '華寶全年出貨7800萬支不變';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '明基出貨遞延 Q2損益兩平';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '郭台銘 看好下半年';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '廣達、仁寶 下修Q2 看好Q3';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《期指觀測站》多方強攻 挑戰10日線';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《國際股市》歐股午盤 漲跌互見';
	rows[7].link = 'today-stock8.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '飼料酵母粉製健素糖 連賣13年';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
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-show1.htm';
																										
	rows[1].text = '車牌1031=Selina生日 被爆選號 佼佼嫌麻煩換掉了';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '大S不理小S 送仔仔胡椒餅';
	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 = '小S翻舊情 吳建豪恐嚇掀底';
	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 = '好萊塢性愛達人 查理辛睡5000人';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '小布顧家 好爸爸NO.1';
	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';
																										
}
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(9);
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 = '大搞簽連 家族20人經營4簽賭站';
	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 = '法院3拒蘇宣誓 補選案縣府仍推拖';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '慶祝警察節 場面熱鬧獨缺縣長';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '路邊停車多元繳費 e點靈';
	rows[8].link = 'today-taipei9.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
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-north1.htm';
																										
	rows[1].text = '誤信中獎 匯1104萬多 老婦才知被騙';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '養子惡意遺棄 養父斷絕父子情';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '中國訂做代幣 投販賣機被捕';
	rows[3].link = 'today-north4.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中投區高中職 27600人報名申請入學';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '4對1暴力討債 錢莊業者被法辦';
	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 = '連4天接電話 鐵工被騙光孩子教育基金';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '擦撞婦人致死 比對痕跡揪責';
	rows[5].link = 'today-center6.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
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-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 = '假結婚真賣淫 10人被逮';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '酒後衝突 一死一傷';
	rows[5].link = 'today-south6.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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 = '破相&ecirc;台灣';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '群策會徵文';
	rows[9].link = 'today-o10.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 = 'For Baby 新保養族群';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '百貨年中慶第二波開打  瞄準卡友';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = 'Hinet網路大賽開打  打電玩也能賺錢拿獎金';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '提升作文力 學測免驚！';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '如何讓男友更性福';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '好男孩別硬撐';
	rows[2].link = 'today-family3.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
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-medicine1.htm';
																										
	rows[1].text = '醫師組失戀陣線聯盟<br>免費為胖妹減肥';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '甲狀腺機能低下症<br>不能任意停藥';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '股市震盪、政治對立<br>憂鬱症病患大增';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '五十六所大專院校<br>打造無菸校園';
	rows[4].link = 'today-medicine5.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
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-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';
																										
	rows[5].text = '文學大獎 風水輪流轉<br>柑橘文學獎、布萊克紀念獎雙雙揭曉';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '同志作家發聲<br>第二屆格雷弗文學獎揭曉';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '幻夢與現實的交叉魔界';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '教父的傳說與現實之間<br>落網黑手黨教父傳記出爐';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '文字．影像．啟示錄';
	rows[9].link = 'today-article10.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
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 = '舞蹈創作比賽今年又停辦<br>舞蹈學會希望文建會硬起來';
	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';
																										
	rows[6].text = '經典、原味、莫札特 2006台北市音樂季打出首席牌';
	rows[6].link = 'today-art7.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';
}