//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 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('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'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','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(\'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 href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="'+path+'activity.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(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 = '搜索李恆隆、SOGO 查扣禮券銷貨憑單';
	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 = '台塑跟漲2元 中油不排除再漲';
	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 = '援外標示ROC（Taiwan） 蘇揆：務實且必要';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "日船出港前往探測 竹島爭議 日韓劍拔弩張";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "布希鬆口 摧毀伊朗核設施 美不排除核武";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "英國軍官：巴格達美軍將領 作風好萊塢化";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "日戰後失蹤老兵 重返故土";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "洛杉磯一婦人 染腺鼠疫";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "白宮人事異動 3副幕僚長到齊";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "義大選判決 貝魯斯孔尼敗選";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "《中英對照讀新聞》 German woman tricks herself out of reward 貪圖賞金 德國婦女偷雞不著蝕把米";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '逃學少年迷魔獸 玩家齊力勸回家';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '搶救服毒女童 愛心858里找偏方';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '毒蟲玩大象 昏睡栽澡盆溺斃';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '抄盜版光碟大本營 補帖大亨栽';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '李家3天內 要李雙全夫妻驗屍報告';
	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 = '日月潭鏢客被訴 求刑2年6月';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '花462萬援交 連面都沒見到';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '警覺心不夠 航警頻爆弊';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '無懼1條腿 小4力爭上游';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '走過40年 慈濟人憶竹筒歲月';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '癱友自立 網路創業3人行';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '早餐店長 醫院教人做早餐';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '夜校生貼家用 沿街叫賣冰';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '東勢冰冰姊 主持節目一流';
	rows[15].link = 'today-so16.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(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 = '輕忽青光眼 26歲女左眼視神經萎縮';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '墾丁圈養復育 梅花鹿棲地 驚見5副獵具';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '花粉飄散傳佈 基改水稻 田間試種喊停';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '慶媽祖誕辰 布袋海上會香';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '《報稅快易通》網路報稅 先辦自然人憑證或金融憑證';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '全球創舉 測量細胞質量 中研院有成';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = 'DNA放大晶片 檢測變快了';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '張國森 捐血1021次';
	rows[11].link = 'today-life12.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '松井秀喜 連續500場出賽';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '強森遭KO 洋基又墊底';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '鯨咬獅 當老二';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '《蒙地卡羅名人網賽》海盜納達爾 紅土37連勝';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '泰皇盃 我好手衝刺亞運資格';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '快艇第6 輸得有點賊...';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '亞洲女子撞球 台灣瞄準金盃';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《SBL季後賽》韋陳明秘密戰略 等著獵龍';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '體界人士 爭取獨立運作組織';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '聯邦盃首日 因雨延賽';
	rows[10].link = 'today-sp11.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '日本小松台塑合資 12吋矽晶圓廠11月投產';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '台積電、三星 搶購二手生產線';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '徐旭東 事業遇阻比較煩';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '穩定物價 央行擴大標售定存單';
	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 = '龔照勝︰解決卡債 未來3個月是關鍵';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '台企銀董座 蘇金豐轉任';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '柴油車省錢 柴油銷量暴增';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '我黃金準備 帳面獲利1134億';
	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 = '第1季台揚毛利率 近5年新高';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '汽車零組件 利多雙打';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '第1季敦吉獲利新高 豐藝超財測';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '飛瑞毛利50% 科風訂單不斷';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '首季獲利每股4.24元 安控龍頭又是陞泰';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '友達8代線布局 今分曉';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '煉鋼雙雄 東鋼豐興 噴火較勁';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '錢進台股 外資叫進電子金融股';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《期指觀測站》賣壓浮現 可能區間震盪';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '《國際股市》歐股午盤揚 印尼大漲';
	rows[13].link = 'today-stock14.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(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '美人湯戳破謊言 王怡仁睜眼說瞎話';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '穿戴50萬珠寶狂舞拍照 黑髮Jolin 真鑽舞孃';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '蕭薔 王毓雅轟趴過後黏答答';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '陳綺貞邀楊乃文站台 怕冷場';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '陳怡蓉分手說 李威死不承認';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '邱澤簡訊傳情 楊丞琳：不可能';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '維多利亞勾勾纏 王力宏冷處理';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '李明依只論對錯 沒什麼話不敢說';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '湯屋距山800M 大砲難拍清晰照';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '阿湯哥喜迎公主  當親爸爸了';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '艾迪墨菲 結束13年婚姻';
	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 = '百大影響人物 Rain高票領先';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '小室哲哉削26億 稱霸富豪榜';
	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(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 = '「毒」害京城 去年增幅近5成';
	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 = '土城不愛變電所 99年電纜全走地下';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '北投保健溫泉 五月啟動';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '油價漲 公車、藍色公路費率也喊漲';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '土石崩落 平溪富士山剩半屏';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '膠原蛋白蛋糕 母親節新鮮貨';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '遴選制配套不足 中山女高校長申退';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '溯溪成年禮 至善國中練膽學團結';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '教喜憨兒做菜 大廚愛上服務';
	rows[0].link = 'today-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';
																										
	rows[8].text = '《社會傳真》探打工被逮中國妻 當場離婚';
	rows[8].link = 'today-north9.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 = '詐領身障輔具補助費 起訴5人';
	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(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 = '網蟲「高橋浩二」就逮 受害網友說感謝';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '徵護犬使者 送牠們到美國';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '追捕毒販 警開12槍未果';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '破大型賭場 賭資達359萬元';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '非法居留 越女美容坊落網';
	rows[8].link = 'today-south9.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 = '拚經濟vs.經濟統戰';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '爆料共和國';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '受暴母親困境';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '媒體要為愛情負責任';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '台灣是平的嗎？';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '訐譙佇心內';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '邱毅的假髮';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '中國爛貨';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '哪來免費禮券';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '速食愛情走味';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '連醫師也要騙';
	rows[10].link = 'today-o11.htm';
																										
}
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 = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.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 = '硬碟手機 音樂大升放';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '時尚 搞什麼鬼';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '局部人體彩繪<br>春夏的另類飾品';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '寬螢幕風潮 吹向20吋機種<br>視野更廣 工作娛樂兩相宜';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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 = '提高戒心 別再受騙上當！';
	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';
																										
}
menu = null;

menu = getMenu('medicine');
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-medicine1.htm';
																										
	rows[1].text = '房事頻率 因人而異';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '國中生猛打籃球<br>磨損膝關節 疼痛難行';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '給憂鬱症病友支持<br>溫心880啟動';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '腸癌老榮民四川發病<br>隔海接回救治';
	rows[4].link = 'today-medicine5.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
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-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';
																										
	rows[4].text = '美女曼菲';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '想像與現實的二部合唱<br>2006普立茲文學獎揭曉';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '日常的拉鋸';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '英國小說家 穆芮．斯帕克辭世';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '華麗與敗德的拼貼饗宴';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '新聞短波';
	rows[9].link = 'today-article10.htm';
																										
	rows[10].text = '當唐吉訶德遇上風車';
	rows[10].link = 'today-article11.htm';
																										
}
menu = null;

menu = getMenu('art');
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-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 = '曾宇謙每天只練兩小時<br>甫獲曼紐因小提琴國際賽獎';
	rows[3].link = 'today-art4.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;

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;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	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,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';
}