//===========================================================================
//基本設定
//==================== 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('supplement'));
	titles = titles.concat(new Array('生活副刊'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','work','gender','family','article','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>');
}
if (false)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/weekly.htm","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=810,height=643")>生活週報</A></TD>');
	document.write('	</TR>');
}
if (false)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/house.htm","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=810,height=707")>住宅生活</A></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('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.ntat.gov.tw/" target=_blank>台北市國稅局</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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '馬支持18%改革 政院：光說不練';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-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 = "高齡＋少子化／2055年 日本人口減少4000萬";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "另類職災賠償／摔破頭「性」情改 老東家判賠2億";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "美姐吸毒 飆淚保后冠";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "《中英對照讀新聞》Paris Hilton says no to Sex 芭黎絲．希爾頓「守身如玉」";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '日男冬眠 山區昏迷23天';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '雪山驚魂記 風雪中露宿 機智逃死劫';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '大老闆「隨便簽」 抱走上億彩金';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '毒梟「洲董」 竟是苗檢線民';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '下坡手煞車未拉緊 客運駕駛慘遭「夾殺」';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '天道盟不倒會長 混戰被槍擊';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '被鴻海指控涉勒索女主角 家中遭竊 臧家宜書目不見了';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '三重淹水 7人有罪 最重59天';
	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 = '救命CPR 撂倒死神';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '肢障導航 開啟盲聾生心世界';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '無主屍之友 助亡者尊嚴走完人生最後一程';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '看不見的障礙 拉拔弟不言苦';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '憨兒瀚介 鼓動青春';
	rows[15].link = 'today-so16.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '駐日代表：高鐵元旦通車 交部未鬆口';
	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 = '金門機場 試辦委外經營';
	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 = '半數兒童 愛看暴力格鬥卡通';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '畸胎流產 全是小泛素蛋白作怪';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '退休金免稅額，明年提高3.11%';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '教育扣除額提高，最快明年實施';
	rows[13].link = 'today-life14.htm';
																										
	rows[14].text = '80歲浪跡天涯 拍齊全球15種鶴';
	rows[14].link = 'today-life15.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 = '黑馬三信狂 奔晉4強';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '發燒 下雨 擋不了謝長融熱情';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '球星到 興仁全校出動歡迎';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '艾佛森 煉金去';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '亞運銀牌爆誠爭議 老媽跳出來:我生的是女兒';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '亞運金主邀慶功 1后2王相見歡';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '15金夢碎．留校察看 陳全壽 今赴立院報告';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '台灣PGA 今起較高下';
	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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '債務協商 倒數11天';
	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 = '台灣股匯市反應／市場拋匯 台幣回升1.27角';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '元大投信展望明年 股債雙漲';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '理財Q&A／基金A、B、C股手續費 收取方式不同';
	rows[5].link = 'today-e6.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '外資買超台股37億';
	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 = '台灣大︰明年電信產業持平';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '微軟估明年Q2換機高峰';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '華南金民股未達33% 公股推董座';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '訊眾科技將停業 被控惡意欠薪資';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '結構型商品交易 8月16日前簽約不課稅';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '今年核准登陸投資金額 將創新高';
	rows[8].link = 'today-stock9.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 = 'e化教學 國中小沒錢繳電費';
	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 = '發哥叼牙籤 捲簾窺粉絲<br>周董孝親 拔戒送發嫂';
	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 = '黃子佼 小S握手大和解';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '李天柱吃陳年醋 拒領獎<br>楊麗音走屎運 馬桶撈金';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '主持人獎竄出黑馬 曾國城踹張菲領賞 澎恰恰賀一航噴淚';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '公視奪7獎 大贏家';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '庹屈扯麻煩 國光幫帶衰摃龜';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '幫幫忙惹麻煩飲恨  大哥大趁虛奪獎';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '林志玲 侯佩岑東搖西扭 海帶拳起舞';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '金鐘陽春秀 表演縮水不縮味 熱情搞笑粉懷舊';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '陶子緊抱老公 幹字說出口';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '<藝術文化>故宮換新裝';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '<藝術文化>年度藝術十大';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '<藝術文化>音樂劇 十年發展有成';
	rows[16].link = 'today-show17.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》可悲！意識形態抹殺了人性？';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》戀人與政客';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》馬英九考試吃鴨蛋！';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '基隆河５橋樑燈光秀 越夜越美麗';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '郝遲未徵詢 多位首長走人';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '寄籍國教大優秀校友 市教大將索回';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '中山高禍不單行 3死5傷';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '留種不認帳 女方強押簽本票';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '水泥車肇事逃逸 警循線逮人';
	rows[5].link = 'today-taipei6.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '返母校開講 李遠哲談自己的路';
	rows[0].link = 'today-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';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '省午餐費、健行 斗高、正心濟貧';
	rows[0].link = 'today-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 = '兩姊妹拼布 3公尺耶誕襪高掛';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '防愛滋 受刑人畫說從頭';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '詐領斃死豬檢舉獎金涉貪污 包括4官警共6人被訴';
	rows[6].link = 'today-center7.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '陶笛音樂會 神秘嘉賓謝長廷露一手';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '韓學童來訪 林園國小迎賓 喜見雙雁影';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '落選副議長蔡松雄指控賄選 陳漢昇否認';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '毒品鑑識 長榮大學有利器';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '雙病折磨 猴靈樹王公岌岌可危';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '海上揩「魷」  扛回211公斤大魷魚';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '竊聽夫妻檔 賺進200萬';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '預防上癮VS.防制毒品';
	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';
																										
	rows[11].text = '基測獨立？';
	rows[11].link = 'today-o12.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 = 'work';
		rows[1].link = 'today-work1.htm';
	
		rows[2].text = '兩性異言堂　→';
		rows[2].submenu = 'gender';
		rows[2].link = 'today-gender1.htm';
	
		rows[3].text = '家庭親子　　→';
		rows[3].submenu = 'family';
		rows[3].link = 'today-family1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.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(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '雙機秀';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '高級品牌 高性能車款';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('family');
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-family1.htm';
																										
	rows[1].text = '分？不分？該聽誰的';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '做家事 也能很快活';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '〈活動看板〉老歌耶誕晚會';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('work');
menu.layer = 14;
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-work1.htm';
																										
	rows[1].text = '非關正義';
	rows[1].link = 'today-work2.htm';
																										
	rows[2].text = '鍾馗畫像制小人';
	rows[2].link = 'today-work3.htm';
																										
	rows[3].text = '《上班族心情筆記書》給老闆的一封信';
	rows[3].link = 'today-work4.htm';
																										
	rows[4].text = '《上班族鬧笑話》委屈你？維骨力？';
	rows[4].link = 'today-work5.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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-article1.htm';
																										
}
menu = null;

menu = getMenu('gender');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '火辣耶誕夜 激情6招';
	rows[0].link = 'today-gender1.htm';
																										
	rows[1].text = '他常常升旗  我好累啊！';
	rows[1].link = 'today-gender2.htm';
																										
	rows[2].text = '交往多久 才給他第一次？';
	rows[2].link = 'today-gender3.htm';
																										
	rows[3].text = '喜歡吐槽 不給面子';
	rows[3].link = 'today-gender4.htm';
																										
	rows[4].text = '戀人間最遠的距離';
	rows[4].link = 'today-gender5.htm';
																										
	rows[5].text = '你這沒原則的傢伙';
	rows[5].link = 'today-gender6.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;

//====================  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';
}