//===========================================================================
//基本設定
//==================== 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('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 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('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
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-fo1.htm';
																										
	rows[1].text = '檢方查出南線工作者 安排取證';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '大陣仗護李 綠指台灣不是西西里島';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '保護證人 檢調秀過頭';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '黨產小組成員：李登輝透過黨產做外交';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '馬特支費 綠要求公布明細';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '台北捷運爆棄土證明造假 每個環節 都可上下其手';
	rows[6].link = 'today-fo7.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'DPU週年慶 扁呂王同台 緊密互動';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '回到61年前 日本投降 台灣可能獨立';
	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 = 'AIT新任副處長 王曉岷正式上任';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '英國會挺台灣 取得WHO完全會籍';
	rows[6].link = 'today-p7.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 = "《中英對照讀新聞》Lasers to fight off wine pirates 雷射阻擋偽酒";
	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 = '誘餌車上路 鎖定竊車賊';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '簽賭站藏飯店 賭資累逾5億';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '恐嚇陳純甄 鎖定2男';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '謊稱繼續樂透 坑殘胞';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '欠債還錢算啥 打下愛情契約 用真愛抵';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '性侵學生竟無悔 惡師求重刑';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '刺青師染指女客人 入珠成鐵證';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '老翁死去又活來了8天';
	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 = '捐款助貧童 5年不間斷';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '聾啞捕撈高手 無「蟹」可擊';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '陪跑達人 全「盲」國手最佳拍檔';
	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 = '百無禁忌 高中台灣史獨立';
	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 = '食在糟糕 逾4成兒童是老外族';
	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 = '玻璃娃娃意外致死 判賠171萬元 景文高中再捐50萬';
	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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '天使變魔鬼 建仔5敗';
	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 = '黛曼媞娃 打敗酷暑洛網封后';
	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';
																										
}
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 = '首檔國際債券 Q4登台';
	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 = '精華區500坪以上國有地標售 提前三月揭露';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '台幣貶1.01角 收32.745';
	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 = '印中聯手 收購美油商50%股權';
	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(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 = '想卡油 集中火力消費<br>單卡出擊 爭取更高回饋';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = 'A好康 看清遊戲規則<br>注意門檻 回饋金不落空';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '《理財Q&A》債務協商 不能再分期購物';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '傳鴻海買進 明基站上20元';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '32吋TV面板 醞釀漲價';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '大立光今對Q3看法 法人關注';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '景碩坦承 IC基板Q3不熱';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '瑞銀、巴黎證 喊進台股';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '雙卡風暴趨緩 國泰金獲利躍升';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '力晶茂德下月試產70奈米';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = 'LED能見度轉差 族群應聲倒地';
	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 = '內湖捷運棄土費 驚爆被A走3億';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
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-show1.htm';
																										
	rows[1].text = '讚王菲勇敢盼李嫣康復 周迅拋情仇 心疼舊愛李亞鵬';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '吳彥祖夜宴搗蛋 博女人緣';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '飛輪海摸黑練舞 炎亞綸跛腳曝光';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '比基尼美眉出爐 變身換臉吸人氣';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '林嘉綺不屑台灣男 專獵外國貨';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '黃維德放電 洋妞母女爭吃醋';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '無懼老婆狠眼 杜汶澤磨蹭梁洛施胸部';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '阿湯哥路見車禍伸援手 鬈毛蘇莉趴踢搶鋒頭';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '東京甩尾催油門 飆高台北票房NO.1';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '倉木麻衣逼宮 緊追想奪冠';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '仲間 奧菜惠同窗麻吉 藝路相挺';
	rows[11].link = 'today-show12.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(12);
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 = '216處泳池  救生設備沒人管';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '違規醫療招牌廣告  下月開罰';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '61自助洗衣店 限期改善安全';
	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 = '仿廣告衝進衝出 捷運快閃族 最重罰7500';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '捷運台電站 行人抄驚險';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '父酗酒扁人 靠同學接濟 苦兒流浪記';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '退稅額外洩? 老闆被詐89萬';
	rows[11].link = 'today-taipei12.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
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-north1.htm';
																										
	rows[1].text = '醫師娘挨打20年 分居被辱討客兄';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '鑽漏洞 請假177堂未通報中輟';
	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 = '種茶犧牲水保 清水農場恐成梨山第2';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '保育類南台草蜥 現蹤佐倉步道';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '大武崙沙灘遊客多 安全無法管';
	rows[9].link = 'today-north10.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 = '3父子殺牌友 紀金清判12年';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '冥紙換真鈔 2男1女金光黨落網';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '軍官販槍案 檢方求刑2同夥';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '網路交友 研究生遭恐嚇幾崩潰';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '竊纜線就地燒 居民報案逮3嫌';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '偷百公斤鐵門 3竊賊驚醒屋主';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '大榮砸車案 主嫌5人判刑';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '祝融吞噬腳踏車廠 6消防隊救援';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '社會傳真／輔選涉賄 葉春雨求刑2年';
	rows[8].link = 'today-center9.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 = '機車雙盜…2毒蟲嫌犯至少涉4案';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '流鶯殺手…判2個死刑另2案重審';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '碼頭浮屍…愛河出海口附近發現';
	rows[7].link = 'today-south8.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '手機身分 遊戲體質<br>Call 場 Game吧!';
	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';
																										
	rows[4].text = '普普風 華麗雙眸';
	rows[4].link = 'today-fashion5.htm';
																										
	rows[5].text = '相約莫札特故鄉 試駕Lexus LS460';
	rows[5].link = 'today-fashion6.htm';
																										
}
menu = null;

menu = getMenu('family');
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 = '掌握3T 換季血拚撿便宜';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '在外太空嘿咻 非夢事';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '10萬元瑞士名表 只戴一個月';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '男人愛面子 去斑更年輕';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
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-medicine1.htm';
																										
	rows[1].text = '冬病夏治好時機 治療過敏莫遲疑';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '管教太嚴厲 孩子易過重';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '控制慢性Ｂ肝 干安能居第一藥務';
	rows[3].link = 'today-medicine4.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '革命家與肖像：格瓦拉在倫敦';
	rows[0].link = 'today-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 = '《太平風物》';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '寂寞之屋';
	rows[6].link = 'today-article7.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
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 = '寬宏藝術 今秋引進名女人';
	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';
																										
	rows[4].text = '水上傀儡戲<br>越南偶劇團來台演出';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '文建會人事調動案公布<br>半年來調動近10人';
	rows[5].link = 'today-art6.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';
}