//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = 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'));
}
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 href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A 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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '新總長案 國親封殺 謝文定僅差4票';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '綠批：司法史最黑暗的一天';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '藍委開砲：國民黨形象大傷害';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '不夠格的主席 糟糕的政客';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '謝：不接受綁標 拒再被提';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '檢察總長人事案／綁架司法 李子春、胡忠信率眾施壓';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '李子春上街頭 花檢今查處';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '發狂的名嘴 脫序的媒體';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '胡來！媒體人看不下去';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '這種檢察官 真是夠了！';
	rows[9].link = 'today-fo10.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-p1.htm';
																										
	rows[1].text = '毛巾案採高關稅 稅率週五定案';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = 'SOGO案 扁珍告李全教誹謗';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '國泰金&#20482;第七商銀 馬永成否認居中牽線';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '國共論壇讓台灣主權安樂死';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '向台商會長「借刀」 中國國台辦運作剿扁';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '美學者 看布胡會：布希不致批扁終統';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '中國不放棄極權專政 扁：勿逼台灣人民接受極統';
	rows[7].link = 'today-p8.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = "伊朗證實擁有濃縮鈾技術";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "美女大臣 為小泉自殺住院？";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "新疆、蒙古沙塵暴 9死";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "逃亡 43年 義黑手黨教父落網";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "藥廠創售疾病 只為行銷";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "9歲鬥牛童 拚過20餘場";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "沉睡2千多年";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中英對照讀新聞》Wine can help treat gum disease 葡萄酒有助治療牙齦疾病";
	rows[8].link = 'today-int9.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '室內栽植 警查緝困難';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '全國大掃黑 侯署長宣戰 掃37狠角除暴';
	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 = '王美心舊愛? 追她棄學業「琴」人張正傑否認';
	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 = '泰勞病死 3人接力千里送回';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '捨高薪開船 載癱父遊湖復健';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '好心嬤枉死 求償續善行';
	rows[11].link = 'today-so12.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '研訂俗體字表 各界質疑聲大';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '第一次基測 5.27、28考試';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '埔里2學童 國際畫賽奪大獎';
	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 = '公路監理 推出多項便民措施';
	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 = '日籍台灣女婿掛保證 宜蘭大同爭取long stay';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '5000HR謝佳賢轟出';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '熊蛇纏鬥10局 握手言和';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '嘟嘟飆出155？ 暫列參考';
	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 = '台師大泳奪25金';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '大運會落幕 田徑最亮眼';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '羽后鄭韶婕怕尿檢';
	rows[8].link = 'today-sp9.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '油價一度逼近 70美元';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '金價破600美元 銅鋅價跟漲';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '兆豐金改選 鄭深池身分添變數';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '外籍專業人士來台 將放寬';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '《國情密碼》保費收入創新高 還有成長空間';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '金管會要求訂催收違規罰責';
	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 = '美促中國開放快遞市場';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '美今年經濟成長 調至3.4%';
	rows[10].link = 'today-e11.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '優貸沒優待 吹起轉貸風';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '聯邦銀辦免費節稅講座';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '《理財Q&A》刷卡消費 不需自付手續費';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = 'LPL 首季獲利勝預期';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '首季虧損 茂德︰Q2會改善';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '力晶茂德南科 Q2不看淡';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '外資撒錢助攻7000點';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '看回不回 鋼鐵熱浪狂燒';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '《期指觀測站》資金轉向 外資也愛傳產 輪動加速 操作腳步跟上';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '《國際股市》歐股午盤走跌 日股收低';
	rows[10].link = 'today-stock11.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(11);
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 = '《2006 4A自由創意獎》麥肯斑馬線藏玄機 勇奪雙金';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '《2006 4A自由創意獎》麥肯 智威湯遜 奧美 玩創意 笑傲群倫';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '《2006 4A自由創意獎》台科大包辦立體金銀銅 銘傳平面創意「金」讚';
	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 = '小田切讓踢裕2 當人氣王';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '李秉憲攻日 5萬張票賣光';
	rows[10].link = 'today-show11.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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '開瓦斯自殺 母攜2女陪葬';
	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 = '檢警涉收賄 疑包庇4電玩店';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '鶯歌兒童禮 不鏽鋼便當藏屑帶斑';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '2併校案未定 教局表示方向不變';
	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';
																										
	rows[10].text = '保生文化祭 踩街放火獅';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-north1.htm';
																										
	rows[1].text = '被瞄一眼海扁高中生 ６少被逮';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '縣長才說要殲滅 桃園搖頭店 男子搖到暴斃';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '車賊想突圍 硬鑽涵洞 贓車卡住';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '車賊速速逃 一路撞車 卡平交道';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '車賊逃屋頂 先卡窗台 墜樓重傷';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '被瞪一眼圍毆同學 ５大專生被判拘役';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '割扁桃腺順手割懸雍垂 長庚醫師與病人和解';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '買卡號上網盜刷 兩嫌疑勾結店員';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '社會傳真／包庇賭場收受賄款 警判６年';
	rows[9].link = 'today-north10.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 = '10餘友人追賊 幫他找回失車';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '車賊被發現 撞失主又燒車';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '窮小偷被逮 被害人不忍心';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '金沙大樓拍賣價 不夠當年買地錢';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '網球國手溺斃 教練坦承疏失';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '偷竊電纜 2賊銷贓當場被抓';
	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 = '持刀砸店 古惑仔砍傷2員工';
	rows[8].link = 'today-center9.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 = '打6歲兒成半植物人 父求刑7年';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '聚眾滋事古惑仔 高市警逮8嫌';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '6位中醫師 溫泉醫療獲日肯定';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '闖越平交道 婦人遭火車撞死';
	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 = '會害慘國中生的市長';
	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 = '2006春夏包 涼快登場';
	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 = 'NAPA電腦實用新功能真不少';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '錢花到哪？<br>浪費指數大調查';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '現任女友有心結<br>揮不去前女友陰影';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '49歲關卡 心存感激';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '背叛的代價';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '胃排空延緩<br>影響兒童營養吸收';
	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(4);
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';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
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-art1.htm';
																										
	rows[1].text = '街頭藝術新視野 3D環境繪畫跟真的一樣';
	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';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '日本仙台 松島<br>人文藝術巡禮';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  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';
}
