//===========================================================================
//基本設定
//==================== 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','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-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','sex','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(11);
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 = '藍檢討敗選 本土化未落實';
	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 = '菊清廉3承諾';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '郝治安零容忍';
	rows[10].link = 'today-fo11.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 = '阿扁買屋話題 高雄發燒';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '《星期人物》臨危授命輔選成功 葉菊蘭 最佳救援投手';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '別再對抗 立委諸公做些正事吧！';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '日學者看北高選舉結果：台灣選民 讓藍綠均衡發展';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '扁︰重大政治案檔案解密 撫平歷史傷痕';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '30國議員結盟 太平洋國會連線成立';
	rows[7].link = 'today-p8.htm';
																										
}
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 = "電視募款43億 創紀錄";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "尤努斯領諾貝爾獎";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "《中英對照讀新聞》Man sues for new foreskin 男子為再造包皮而打官司";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "《中日對照讀新聞》日本女性&#12398;&#23551;命、30年&#12395;88.5&#27507;<br>日女性壽命、2030年時88.5歲";
	rows[7].link = 'today-int8.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 = '離散30年 台美父女將團圓';
	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 = '心手相連 陳建名控唱片公司侵權';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '王語嫣遊泰 不識毒狼君';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '原鄉神木祭 布袋戲登山';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '鳥忘食 桃米里歡喜收割';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '姊弟雙肝移植 成功救父';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '烽火情人 46年後續緣';
	rows[12].link = 'today-so13.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '勞保喪葬津貼 外勞領走4.7億';
	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 = '冬風起 對抗心疾11法';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '醫藥信箱 新生兒卡痰 確認病因好治療';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = ' OFFICE健康操／有氧伸展操 減輕經痛 好享「瘦」';
	rows[12].link = 'today-life13.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 9;
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-sp1.htm';
																										
	rows[1].text = '《杜哈亞運特別報導》曾珮華奪銅';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《杜哈亞運特別報導》曾雅妮 躍居第2';
	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 = '《杜哈亞運特別報導》柳信美找回信心 晉4強';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《杜哈亞運特別報導》男籃拚晉4 遇上地頭蛇';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《杜哈亞運特別報導》保齡球全倒 首度零獎牌';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《杜哈亞運特別報導》金牌君 就愛搶尾局';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《杜哈亞運特別報導》馬術障礙超越 陳少曼暫列第6';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '狼王阻公牛7連勝';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '郭泓志簽名會 勉癌童抗病魔';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '轟炸基 肩傷復發休養';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '發卡、財管尊榮級 銀行鎖定有錢人';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '臨櫃行內轉帳 一銀彰銀收費';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '美短率居高不下 小型銀行求售';
	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 = '資訊月落幕 明年PC買氣 廠商樂觀';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '《台股上週漲跌幅排行榜》資產營建股 仍有成長動能';
	rows[6].link = 'today-e7.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 = 11;
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-show1.htm';
																										
	rows[1].text = '阿霈樂團 蘇打綠 自由飆歌熱情送愛';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '庹宗康 屈中恆麻煩大 蓋酷換人 巨人喊卡';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '方順吉不怕驗尿 信心滿滿';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '孫芸芸醉吻小姑 廖鎮漢變人肉麻花';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '女粉絲求婚 松浦亞彌臉紅說抱歉';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '金鐘準影帝楊祐寧 休學當兵去';
	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 = '特務風雲天雷勾動地火 裘莉誘拐麥特 硬挺4月肚打野戰';
	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';
																										
}
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 = 10;
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 = 10;
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 = '市長選戰 藍綠6：4版圖12年未變';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '勸進選總統 謝：不是爭權位的時候';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '十餘萬件競選廣告物 一天拆光光';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '暖冬催花 海芋提早盛開';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '市府拖拉 丹丹野放恐再等一年';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '正副議長爭霸戰 火熱開打';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '落選現議員 休息為走更長路';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '新府會關係 朝野議員不看好';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '三級古蹟 艋舺青山宮 修復落成';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '汐止分局警員蹺班聚賭';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '跳軌撞捷運 卡凹縫輕傷';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 11;
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 = '手抱月琴來念歌 盲女走唱60載  國寶藝人楊秀卿 吟唱人生';
	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 = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中國爆竹火力強 灼傷民眾多';
	rows[0].link = 'today-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 = '8歲小棋士 打敗52歲棋手';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '外埔千人焢窯 共享田園樂';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '黑暗中譜樂章 展生命天籟';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '提防網路之狼 借錢女網友 拐到公廁性侵';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '假住宅開發 盜賣千萬元土方';
	rows[8].link = 'today-center9.htm';
																										
}
menu = null;

menu = getMenu('south');
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 = '角逐高市正副議長 綠規劃李文良搭無黨籍';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '送王船 數萬信眾擠入山西宮';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '聖母神轎遶境 天主教徒辦迎神賽會';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '身心障趣味賽 玩遊戲博感情';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '躁鬱生與同學衝突多 校方為難';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '百斤豬豬  懂人話會看家 主人好滿意';
	rows[5].link = 'today-south6.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國務機要費 從蔣中正說起';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '＜林保華專欄＞團結在台灣主體價值周圍';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '再見自卑自戀';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '南迴優先，台26線且慢！';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '貧窮劇場看謝長廷';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '比長比九';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '高中生吐槽';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '除非遷都 阿扁先別來';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '高雄廢票率 其實不高';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '勞工之子談港都';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '消費太太 消費善良';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 12;
	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 = 'sex';
		rows[2].link = 'today-sex1.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 = 12;
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 = '冬天 呵護手足正是時候';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '時尚停格';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '奢華無奇不有';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
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-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';
																										
	rows[4].text = '消費大事週報';
	rows[4].link = 'today-family5.htm';
																										
}
menu = null;

menu = getMenu('work');
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 = '2007誰是接班人？';
	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 = 'M型社會';
	rows[3].link = 'today-work4.htm';
																										
}
menu = null;

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

menu = getMenu('sex');
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-sex1.htm';
																										
	rows[1].text = '愛是需要或是依賴';
	rows[1].link = 'today-sex2.htm';
																										
	rows[2].text = '性福竅門 靠腦子囉';
	rows[2].link = 'today-sex3.htm';
																										
	rows[3].text = '愛在混沌不明時 最美';
	rows[3].link = 'today-sex4.htm';
																										
	rows[4].text = '愛情幸運星＜12/11~12/17＞';
	rows[4].link = 'today-sex5.htm';
																										
}
menu = null;

menu = getMenu('travel');
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 = '珍藏高棉的微笑 柬埔寨吳哥窟';
	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';
}