//===========================================================================
//基本設定
//==================== 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(10);
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 = '標榜清廉 民進黨更應高標準自許';
	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 = '廢止18％復議 綠藍今攻防';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '財部承諾稅改 700億減稅案喊卡';
	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 = '本土社團 反對放寬40％上限';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "最貴謀殺案 俄諜體內釙毒價值3.2億";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "英殺妓狂魔落網？警逮捕1人";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "利用西方企業矛盾 中取得三代核電技術";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "鮑威爾︰美應明年中自伊撤軍";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "沙國調查 伊朗在伊拉克建什葉派「國中國」";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "人類智商發展 幾近極限？";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "數位廣告看板…膽固醇色誘你";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "狗爬式嗅嗅…人鼻拚狗鼻";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "八百年來第一次 鏡射 小鎮沐浴冬陽裡";
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = "《中英對照讀新聞》Love is in the air 愛在九霄雲端";
	rows[9].link = 'today-int10.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '勒贖2千萬 驚魂36小時 甲仙芋冰王 獲釋';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '奉養金換緩刑 改判坐牢定讞';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = 'X光掃描車發威 查獲逾3億元毒品';
	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 = '找救命狗 北縣14收容所遍尋不著';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '中市透天厝／暗夜惡火 老幼5死';
	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 = '胡椒伯 10年樹4月育成';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '【陣奮人心】老陣新血 操兵3月奪獎';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '催生志工隊    82歲退休產婆一把罩';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '80歲呼拉圈王 全身都會搖';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '85歲東瀛舞后 教日文抗老';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '1次10元 玩益智遊戲助貧童';
	rows[14].link = 'today-so15.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '英文縮寫看無 大人錯買兒童機票';
	rows[0].link = 'today-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 = '日11家臍帶血銀行 全屬公益機構';
	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 = '大樹也有ＤＮＡ 抓盜伐像辦凶殺案';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '研究黑熊結怨 生態名人互摃';
	rows[13].link = 'today-life14.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '三信首度晉8強';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '陳鏞基 潛力新秀第4名';
	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 = '女田徑銀牌 竟是印「漢」';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '阿瑞納斯單場60分 飆贏小飛俠';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '四維盃學童網球賽 輸贏都落淚';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = 'LEXUS CUP明年轉戰澳洲';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '超級盃22日起一「撞」高下';
	rows[9].link = 'today-sp10.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '竹科人度耶誕 把愛傳出去';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '中信金今年稅前虧損 恐逾135億';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '企業合併效應 去年平均退休年齡54.9歲';
	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';
																										
}
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 = '55檔新基金 12檔規模增逾10億';
	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 = '明年續漲價 光碟片股先補漲';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '記憶體封測Q1不淡 力成帶頭衝';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '綠能意外 益通訂單轉合晶';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '專攻高階手機 華碩明年目標30萬支';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'Q4營收 盛群小跌 義隆下滑';
	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(17);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '蕭淑慎吸古柯鹼最毒 洪其德混用4毒品';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '周董設宴 發哥拷問新女友';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '發哥永和喝豆漿 簽名留love<br>發嫂逛101 買按摩器送友人';
	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 = '金鐘系列預測之六／連續劇女主角<br>楊麗音強碰Ella張韶涵';
	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 = '檢方列出7大罪證 胡瓜詐賭案求刑3年';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '蕭淑慎錄影恍神 軟腿露餡';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '五月天克難征北非 狂燒300萬';
	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 = 'Gackt開拉麵店 半年就收攤';
	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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '裝卸車格違停25日起加強取締';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '散裝湯圓抽檢 3件違法添加防腐劑';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '大安區市民運動中心開工 98年完工';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '林江邁故事 記錄228血淚';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '黃呂錦茹掌民政 郝冷門';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '索封口費？羅宗勝求刑17年';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '兒借手機 驚見父偷情照';
	rows[6].link = 'today-taipei7.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 = '巧笑迷山城 1歲娃奪冠';
	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 = '至101年 國小新生數將少3成';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '新身分證 彰縣8萬人沒換';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '小丑來送禮 偏遠學童驚喜';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '拖板車猛衝 撞倒ETC感應門架';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '服飾店 數百件衣物被搬光';
	rows[6].link = 'today-center7.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 = '稻穀保證收購 擬自98年起廢除';
	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 = '236歲土地公失竊 神偷全都錄';
	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 = '＜黃天麟專欄＞與林濁水談40％';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '搶救宜蘭／百萬人口上限vs.放寬容積率';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '18趴與朱元璋';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '要第一夫人「躺著應訊」？';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '合法節省健保費';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '喝花酒 日本政壇忌';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '台灣學 別忘了「教育」';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '阿扁，一定要上玉山';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '國家與報紙 同向浮沉';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '宋蘇泡泡澡';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '上班一族　　→';
		rows[1].submenu = '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(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '頂尖對決 德日頂級旗艦房車 Lexus LS460L vs. 朋馳S600L';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = 'Vista時代  工作兼娛樂';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '2007春妝 色彩復活';
	rows[2].link = 'today-fashion3.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 16;
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 = 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 = '第二屆林榮三文學獎 散文獎三獎  生活儀式';
	rows[0].link = 'today-article1.htm';
																										
}
menu = null;

menu = getMenu('gender');
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-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';
																										
}
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;

//====================  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';
}