//===========================================================================
//基本設定
//==================== 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','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(8);
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 = '民進黨 推2008三合一投票';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中時回饋案 馬任內解套？ 搶週四審';
	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 = '高雄地院：是否驗票 視事證而定';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '18%改革存廢 藍綠今立院對決';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '只轉機、不過境 蘇揆明啟航訪甘比亞';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '王金平當特使 明年初訪中？';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '阿聯設處生波 李世明調帛琉';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = '《白樂崎專欄》運用台灣的民主';
	rows[12].link = 'today-p13.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "智利獨夫 皮諾契特謝世";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "安提基瑟拉 史上第一個類比式計算機";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "香港泛民主派 跨過特首提名門檻";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "拉美換機潮 俄羅斯搶發軍售財";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "又見新物種 海洋生物大驚奇";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "《中英對照讀新聞》Vice president’s gay daughter said to be pregnant 美國副總統的同性戀女兒據稱已懷孕";
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(17);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '香油錢鬥法 廟放冥紙 神偷搬櫃';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '飛車盜落網 籤詩早注定';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '冥錢也鬧偽鈔?! 金紙侵權? 店舖不起訴';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '2檢調包庇走私槍械 判重刑';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '我刑事聯絡官 增駐日馬印3國';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '1家5親人陸續跳河自殺 么兒李長原 孤伶伶過1夜';
	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 = '愛之旅 身障者樂遊遊';
	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';
																										
	rows[16].text = '替代役 打電動找回中輟生';
	rows[16].link = 'today-so17.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '扯！剪刀帶上飛機 安檢太瞎';
	rows[0].link = 'today-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 = '李遠哲慶生研討會 立委砲轟教部補助20萬';
	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 = '國中生科學奧賽 我奪5金1銀';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '窗前變電箱 一家六口４怪病';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '8.6億 提高婦女抹片檢查率';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '公仔粗糙挨轟 知名百貨整批重做';
	rows[11].link = 'today-life12.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《杜哈亞運特別報導》柳信美 金字招牌';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《杜哈亞運特別報導》漂亮射日 女籃搶金';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《杜哈亞運特別報導》楊清順 3連霸夢碎';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '《杜哈亞運特別報導》詹詠然╱莊佳容 女雙晉4';
	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 = '《杜哈亞運特別報導》小潘潘一家人 合鑄這面銀牌';
	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 = '《杜哈亞運特別報導》蕭賜斌 撐竿跳高失足';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '《杜哈亞運特別報導》女壘 今贏中國就有牌';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '莊勝雄棒球教室開課';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '布蘭特飆分湖人拔馬刺';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '搶艾 喬丹興趣高';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = 'HBL女子組複賽 北一女快打 摘首勝';
	rows[14].link = 'today-sp15.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '明年台股 土洋上看8800';
	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 = '夢時代購物中心 首年目標108億';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '搶徵委託書 合庫公股、工會、農會系統 鬥法';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '台幣太多 央行促銷對外國人放款';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '揭露董監酬勞資訊 將逐年檢討';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '南港車站開發案 2012年全面營運';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中古車拍賣 低價搶標好車';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '就業升溫銷售成長 日股明年看好';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '理財Q&A／夫贈妻再轉贈子女 不列夫總額';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '美元貶 油國增持歐元日圓資產';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '華碩領軍 主機板股逆勢走紅';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '宏達電拖累 大立光慘跌度寒冬';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '中信金呆帳提存 恐上看450億';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '明年NB有搞頭 可逢低買進';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '小型電子股 選後備受寵愛';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '汽車零組件股 11月表現亮眼';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '秋雨明打入全額交割股';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '歐股午盤漲 中國勁揚';
	rows[11].link = 'today-stock12.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 = '15歲潘政琮 亞運高球奪銀';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '周董攘外 亞洲封王<br>Jolin復仇 台灣稱后';
	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 = '丫頭拍MV 煞到古錐男';
	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 = '庹宗康 屈中恆金麻煩 損失逾400萬';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '李妍瑾性感挑逗  包小柏抵死不從';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '碧昂絲砸9700萬  傑斯慶生好風光';
	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 = 'Rain魅力賽過混血丹尼爾';
	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 = 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(8);
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 = '遠百耶誕禮 捐助受暴婦幼';
	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';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '＜展期逾3分之2 僅3萬多人參觀＞假面藝術節 冷颼颼';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '多元課程誘人 中輟生返校';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '桃市挖路 騎士摔傷請求國賠';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '舊百吉隧道 成綠色隧道';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '陳菊當選 三星鄉與有榮焉';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '花蓮市秀林鄉臨員太多 比正式人員多';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '公告土地現值、地價 都漲';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '大學生搞鬼 創意嚇人';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
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-center1.htm';
																										
	rows[1].text = '廢棄物組裝 永靖太陽能車奪冠';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '埔里藝文中心使用執照 趕工申請';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '中市長突擊 違規遊覽車揚長而去';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '台灣咖啡節不叫座 業績直直落';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '菇農王淑子送盆栽 樂當義工園丁';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '灰色系、不反光／拾荒阿婆成馬路陷阱';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '歲末聯合特賣 仿品趁機撈錢';
	rows[7].link = 'today-center8.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
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-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';
																										
	rows[6].text = '牠的毒牙世界最長 加彭蝮蛇嘴裡打針 驚驗';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '匯1元毀1人頭帳戶 麻豆警推動';
	rows[7].link = 'today-south8.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 = '給小生命六天機會';
	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 = '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 = 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 = '動感犀利房車 Volvo新S80強力登場';
	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 = 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 = '13歲 通往世界的入口';
	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(4);
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';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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 = 'CDG機場';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '癢';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '創新與格局';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '《浮花飛絮張愛玲》';
	rows[3].link = 'today-article4.htm';
																										
}
menu = null;

menu = getMenu('sex');
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 = '“12星座” 大男人指數';
	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 = '猜疑心毀了愛情';
	rows[4].link = 'today-sex5.htm';
																										
	rows[5].text = '秘書、老婆 傻傻分不清楚';
	rows[5].link = 'today-sex6.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 = '那須高原味覺一番紀行 日本&#26627;木縣';
	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';
}