//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
path = '';
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('生活週報'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','living','family','medicine','article','young','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'../../../pnews/Pnews0513.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.libertytimes.com.tw/2005/pnews/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '扁批查賄不力 吳英昭辭檢察總長';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '主持調查局學員結業 暗批深喉嚨案 扁期勉…做國家的調查員';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '選舉三合一 游：曾與蘇表示反對';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '台聯：三中交易 疑有外資';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '華視持股是官股？黎明、國防部鬥法';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '無線電視公股條例 ＮＣＣ人事同意權 排入週五院會';
	rows[5].link = 'today-fo6.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(9);
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 = '藍軍擺陣 第43次封殺軍購案';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '校舍案 綠委籲楊秋興 提事證';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '台聯委立質疑李進勇 違法核准採砂';
	rows[8].link = 'today-p9.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-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 = '《國際索隱》賓拉丹從人間蒸發？';
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = '《中英對照讀新聞》Mobile phones to tell S.Koreans "you’ve been indicted" 手機會通知南韓人，「你被起訴了。」';
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '全球86國廢死刑 中國1年處死萬人';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '兄弟犯伏法 器捐遺愛8人';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '70坪反毒陳展館 扁毒家體驗稱讚';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '獸醫援交 唬警要耍騙子';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '沒有戶籍難入學 他，17歲國小畢業 幽靈人盼身分證';
	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 = '卡債逼死人？ 情侶自殺';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '大樓傳屍臭！ 2男死半月';
	rows[13].link = 'today-so14.htm';
																										
}
menu = null;

menu = getMenu('life');
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 = '泳池塗料含鉛 北市發現19校';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '國道客運台北總站 業者抱怨腹地縮水 轉運站根本不夠用';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = 'ETC角力 元旦試辦？高公局：不可能';
	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 = '麂皮洗成雞皮 洗衣店只賠68元';
	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';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '明年起 少棒開放變化球';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '新明國中 笑吻冠軍盃';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '高振祥抱走三大獎';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '騎士籃網6連勝';
	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 = '《HBL》蓁才實料 海山全力催票';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《HBL》男甲複賽 兄弟相挺 新榮不敗';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '挺田徑 美津濃贊助砸大錢';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '世桌賽 國手選拔22人競逐';
	rows[11].link = 'today-sp12.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-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 = '未來3個月景氣可望續亮綠燈';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '陳博志：二次經發會 議題要充分釐清';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '投資優惠限縮 應給業者緩衝';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '元旦開放兩萬名外勞配額';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '金管會擬推動債務催收業組公會';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '法巴黎銀行有意入股合庫';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '國際油價連跌2個交易日';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '何美玥願與晶圓廠溝通西進';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(16);
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 = '第一金今改選董監 官股坐11望12';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '《理財Q&A》美政府公債 保守者首選';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '出口商拋匯 台幣貶3.4分';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = 'STB晶片紅了 其樂達有爆發力';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '廣輝私募6億股 廣達全吃下';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '中國買盤回流 塑化報價續強';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '台泥領軍 水泥股衝鋒';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '汽車零組件股 倒吃甘蔗';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '宏達電股價攻上600元 明年獲利喊到每股60元';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '英華達12月營收下滑 Q4季增70％';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = 'LCD TV商機 鴻松受惠大';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '涉侵權案 禾昌尋求和解';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '股票、公司債 明年7月改無實體發行';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '《期指觀測站》選擇權可採多頭價差';
	rows[14].link = 'today-stock15.htm';
																										
	rows[15].text = '《國際股市》日股下挫 印度大漲';
	rows[15].link = 'today-stock16.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(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Rain風暴 百人陣仗 今襲台人氣激爆';
	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 = 'S.H.E扮女神 人肉佈景超養眼';
	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 = '《HBL》劉&#30026;宏 單挑海山女籃尬球技';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '小班夫妻最親熱 妮可手規矩';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '席安娜多緋聞 英少女最崇拜';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '冒牌辣妹猩惠闖紅白 前田健今鬧西門町';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '木村調情大賽 打贏一堆爛蘋果';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '林煒開跑車 闖紅燈橫著走';
	rows[13].link = 'today-show14.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《今日社論》「先經濟而後政治」是兩岸政策天大的誤謬';
	rows[0].link = 'today-s1.htm';
																
	rows[1].text = '《自由談》魔鬼交易';
	rows[1].link = 'today-f1.htm';
																
	rows[2].text = '《鏗鏘集》小泉與阿扁';
	rows[2].link = 'today-f2.htm';
																
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '捷運新電聯車 亮相';
	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 = '每平方公尺31萬多 北縣地王 在新板特定區';
	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 = '車牌貼蜘蛛人公仔 機車盜犯案3小時後落網';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '闖民宅非強盜？殺人死罪改活刑';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '中游也封溪 大屯溪全面護漁';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '浪捲磯釣客 甩桿要顧性命';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '車撞電桿人拋出 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 = '報導交大流浪狗事件 破報2人各判3月';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '外遇曝光 保證得賠500萬';
	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(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 = '中縣市 祝融1天4降';
	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 = '員林鎮長選舉涉賄 7被訴';
	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 = 14;
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-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 = '冒刑警詐財 8嫌被訴';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '小客車撞貨車 1死';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '車子打滑翻車 4傷';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '毒害人生／行搶超商 女毒蟲另涉搶案';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '社會傳真／南縣警局 破獲1職業賭場';
	rows[8].link = 'today-south9.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國民黨的三中、三不';
	rows[0].link = 'today-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';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	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].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '好品味　　　→';
		rows[1].submenu = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性　　→';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療　　→';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美　　　→';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化　　→';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊　　→';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '皺紋不見了 大明星妝年輕成功！';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '2005最佳錶現';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
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 = 'USB網路話機<br>打得又帥氣、又火熱';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '速效暖身法 強力對抗寒流';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '母親反對<br>婚宴地點搞不定';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '四十無性族 就怕愛愛';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '腳步放慢<br>重新體會人生';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '別讓眼睛泡湯';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '口服益生菌<br>可改善異性皮膚炎';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '輔具自己動手做<br>中風患者省錢做復健';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '愛啃鳳爪<br>婦人咬裂牙';
	rows[3].link = 'today-medicine4.htm';
																										
}
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 = '時間的凝視<br>二○○五年國際文壇年度總回顧';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '山水本多情 寂寞身後名<br>閩、廣行旅三思';
	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('young');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '冷氣團來襲 保暖小物全部出動';
	rows[0].link = 'today-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
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 = '朱宗慶打擊樂團 將滿20週年<br>創作新曲累積90首';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '正館延宕 南院空轉？<br>故宮新面貌 玻璃屋頂先曝光';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '領略日本舞踊優雅之美<br>沈心汝攜子弟兵歲末聯演';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '《冰爆好萊塢》重現經典名片壯觀場景';
	rows[3].link = 'today-art4.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '重新發現<br>馬爾地夫';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,700);
}

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,700);
}

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';
}