//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (!showWeekly)
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','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('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.ntat.gov.tw/" target=_blank>台北市國稅局</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '黨主席備胎 親馬派拱關中或吳敦義';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '護制度？護馬？ 藍委槓馬家軍';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '脫身妙方？ 馬團隊動員找捐款單據';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '國發院原地主告馬與建商';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '金管會：日月光是否涉內線交易 要查';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '外資扮推手 台股紅不讓';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '扁：外資併購日月光 對台有信心';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '立委提案 放寬40％投資上限';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '政院：檢討並做必要調整';
	rows[8].link = 'today-fo9.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '民進黨：謝民調追郝 差距9百分點';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '郝消謝長 決戰棄保';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '周赴謝總部抗議 揚言同歸於盡';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '高市長選舉／八年政績相挺 陳營有信心勝選';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '辦電視政見發表會 高市找合適攝影棚';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '綠委批中華日報護馬 抹黑綠營';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '府高層：扁媳一定回台生產';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '陳致中姊弟 告邱毅告到底';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '扁嫂律師團 顧立雄未入列';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '扁嫂停權？ 民進黨週四處理';
	rows[9].link = 'today-p10.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = "發言觸怒回教世界 教廷與世界脫節？";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "民調驟跌14％ 安倍吞黃牌";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "滿意度11趴 盧武鉉淪跛鴨";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "反美風潮／厄瓜多大選 左派科瑞亞勝出";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "師法雷根、小柯 布希挽救人氣";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "巴勒斯坦建國曙光？／以遞橄欖枝 願與巴和談";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "瑞軍開企業班 找「錢」景";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中英對照讀新聞》In speed-dating, size really matters -survey 調查：在快速約會，大小真的很重要";
	rows[8].link = 'today-int9.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'LV台中旗艦店 4賊盜逾50名包';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '擄肉商勒贖500萬 截捕2匪';
	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 = '愛滋應召女 婦團幫忙送她返鄉';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '長幼無序！ 1戶2長女 想改沒法改';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '便民成便賊 尾數4 換身分證號逃亡';
	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 = '受助11年 老師回饋助人';
	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 = '”禍”然開朗 行善CEO回來了';
	rows[12].link = 'today-so13.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '資訊月週末起跑 體驗數位生活';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '身障生考大學 明年起開放各校單招';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '中醫：西瓜豆腐檸檬 有助解酒';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '少奶奶大會師 正面迎擊乳癌';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '挺立小弟弟 觀察郵一套';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '小時候胖 7成長大還是胖';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '松山機場地下道明天通車／滑行道復工 飛安憂';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '造船乏中高階人才／教部研訂海洋教育政策白皮書';
	rows[8].link = 'today-life9.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '關懷早產兒 建仔義賣近20萬';
	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';
																										
	rows[8].text = '軟網球場落差 彈跳難捉摸';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '遠南身障運動會／台灣女泳將 金讚';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '小馬獵鷹10勝';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '馬刺 客場7連勝';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '霍普曼盃亞洲區決賽／台灣不敵印度屈居亞軍';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '熱錢湧入 台幣急升1.29角';
	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 = '10月景氣連五月黃藍燈';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '台新金併彰銀案 台新銀資本適足率需過10%';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '公股加碼開發金 中信辜家競逐';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '勞委會修法 育嬰假擬達2年、留職津貼半年';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '我與薩、宏國簽署FTA諮商備忘錄';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '台資銀行 積極在越南擴點';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '今年房屋交易量 可望創9年新高';
	rows[10].link = 'today-e11.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '繳稅手續費 多剝一層皮';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '經濟好轉 南歐股市搶搶滾';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '挪移乾坤招財運／利用客廳布局 增加主人財運';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '台股題材不斷 點爆資金行情';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '結盟通路商 鴻海強打FOXCONN品牌';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '華晶科單月EPS 達1.2元';
	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 = 'Skype Day 拉抬網通商機';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '德股午盤大跌 泰中勁揚';
	rows[10].link = 'today-stock11.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台股一度破7500  外資看好後市';
	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 = '荒唐小甜甜 全都露女王<br>布蘭妮跑趴洩底 驚死人';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '阿霈母女冷戰5年 季媽現身聽歌破冰';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '蕭亞軒出輯 炮轟Sunny王';
	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 = '布魯克美腿踩凱特 貝嫂鳥仔ㄎㄚ踢娜姊';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '岡田情迷蒼井優 妻夫木聰舊愛池&#33031;';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '金馬盪出紅盤 亞太down到谷底';
	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 = '《自由談》40%？整碗捧去？';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》媒體的眼睛';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '增設taxi排班區 擬削減人行道';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '健康e護照 個人電子小護士';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '寶藏巖遷村 居民促暫緩';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '市議員最新民調 綠軍選情已漸回溫';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '「議」鳴驚人 動物受虐也要管';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '貼兒童色情片 大學生觸法';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '夥同同學 偷大伯撲滿';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '迷「網」少年 連親阿嬤都搶';
	rows[7].link = 'today-taipei8.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '心情差 國道亂丟磚 判2年6月';
	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';
																										
}
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 = '快速路裸屍案 王文生求刑17年';
	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 = '車手落網 起出77張偽卡';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '性侵婦女 神棍判4年6月';
	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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '部落工藝地圖 用手去旅行';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '拆違建挨轟 建設局長被趕出議場';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '國工局讓步 中寮社區供水露曙光';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '場地申請未過 陳菊前鎮後援會授旗喊停';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '垃圾落地 明年起開罰';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '《一級主管白住套房案》許陽明秘書王筱方 改列被告';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '網路交友被騙 向副總統投訴';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '白河分局警員索賄 被起訴';
	rows[7].link = 'today-south8.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(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 = '出國拍照王 UMPC＋MP4';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '居家女人味 浪漫 性感 裝可愛';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '時空魔法師Philippe Daraux 傳承家族記憶';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '媽媽不在家  畫畫去了';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '對愛愛過敏 真要命';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '直銷夢 毀了一家子';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '保濕防曬 一起來抗老';
	rows[3].link = 'today-family4.htm';
																										
	rows[4].text = '〈徵文啟事〉親愛的瑪麗亞';
	rows[4].link = 'today-family5.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
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-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';
																										
	rows[4].text = '草本淫羊藿  補肝腎、強筋骨';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '肺癌標靶用藥  健保納給付';
	rows[5].link = 'today-medicine6.htm';
																										
	rows[6].text = '甩開惱人肝斑  不能單靠飛梭雷射';
	rows[6].link = 'today-medicine7.htm';
																										
	rows[7].text = '服用干安能效果不錯  別擔心抗藥性而停藥';
	rows[7].link = 'today-medicine8.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
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-article1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
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-art1.htm';
																										
	rows[1].text = '兒童「入侵」台北雙年展';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '碗裡城市 時間之味';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '西藏曬大佛大駕光臨';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '藝術家進駐西螺';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '彰化在地之美';
	rows[5].link = 'today-art6.htm';
																										
	rows[6].text = '南國艷陽 照熱島嶼圖騰';
	rows[6].link = 'today-art7.htm';
																										
	rows[7].text = '打開盒子裡的電影時光';
	rows[7].link = 'today-art8.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 = '地質迷的遊樂園 夏威夷火山島';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}