//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
path = '';
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('生活週報'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','living','family','medicine','article','young','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'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="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(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 = 'ETC案 遠通資格面臨撤銷危機';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '除了上訴… 高公局恐別無他途';
	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 = '與世界接軌 蘇揆贊同改西元紀年';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '明年國防預算增400億 佔ＧＤＰ2.85%';
	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(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 = '意圖叛變准將 89年參與政變';
	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 = '《中英對照讀新聞》Forgive me, Father, for I have guns… 原諒我，神父，因我擁有槍械';
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '凸槌007 視訊耍槍被逮';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '機油淋鳥 打手槍 網路笑柄 KUSO回應';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '輔大之狼難逃重刑';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '情婦叫床52秒 成通姦鐵證';
	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 = '英28億搶案 收押3嫌';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '外籍配偶 購偽造居留證打工';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '窮孩子陳俊宏 法律特考連中雙元';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '馬路老天使 老農顧國瑋除雜草護騎士';
	rows[9].link = 'today-so10.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '不忌求醫 愛她性福 台灣精力男 亞太第一名';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '新聞處理評比 本報再獲肯定';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '進口舊菸 改收5元健康捐';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '就是那道光！ 宜蘭上空出現幽浮？';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '文言文教材比率之爭 杜正勝、余光中隔空再戰';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '國際機票加註中文 消保會促四月上路';
	rows[6].link = 'today-life7.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '二縫線球 姜建銘多一招';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '台灣隊熱身賽 球速不過138 打線就掛';
	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';
																										
}
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 = '台南別墅 紅遍全台';
	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 = '三峽生活圈';
	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(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 = 'PCB原料 下月再漲約10%';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '3利多點火 營建股激情';
	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 = '《期指觀測站》季線6500點 多空交戰區';
	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 = '古道．熱腸 95老翁奉茶10餘年';
	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 = '不滿被指逃兵 周董告蘋果求償１億';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '孫燕姿麻吉K歌 吳建豪當花蝴蝶';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '港媒爆料 30歲大陸妹介入 林青霞12年婚姻亮紅燈';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '吳辰君熱貼凱悅亞太區總裁';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '五角生日願 找台灣妹生Baby';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '盤古2度嗆聲 力挺台灣魂';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '波麗露催情 佛朗明哥舞動性感';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '愛殺17 教壞囡仔大小？';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '孫協志做蛋糕 給丁小芹嚐甜頭';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '希斯萊傑女兒 電昏蕾絲邊';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '章子怡辦夜宴 林建岳砸千萬';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '芭黎絲搶男人 米夏臭罵婊子';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '織田裕二龜毛結怨 死不認錯';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = 'Megumi巨乳 迷倒音樂才子';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '教材不適用 議員出面才給退';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '海芋接櫻花 花季無冷場';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '建築工地稅 土城不無小補';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '新店溪高灘地 被堆置資源回收物';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '初春輓歌 228特展 黃秋永遺書藏衣字字血淚';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '立委8選區案 市選委會拍板';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '小巨蛋壟斷爭議 風波再起';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '北投纜車BOT案 下週可望動工';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '河濱公園跑道整修 機具成陷阱';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '基隆河支流 整治兼綠化';
	rows[9].link = 'today-taipei10.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-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 = '嗑藥轟趴亂性 10少男女送辦';
	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';
																										
	rows[9].text = '2嫌撬機車偷財物 警逮正著';
	rows[9].link = 'today-north10.htm';
																										
	rows[10].text = '苗警抄民宅破賭場 送辦賭客';
	rows[10].link = 'today-north11.htm';
																										
	rows[11].text = '汽油彈火攻派出所 莽漢判刑';
	rows[11].link = 'today-north12.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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 = '籌錢打電玩 4少連續搶超商';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '碰！車輛撞進來 嚇壞補習班師生';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '被指劣質酒 國民控訴遭打壓';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '賣醫材當幌子 姊妹騙卡盜借現金';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '信貸糾紛被擄 傳簡訊討救兵';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '抓纜線賊 台電重金懸賞';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '加油站工讀生 裝錢腰包被搶';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '送醬油賄選 林和明判刑6月';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '涉瀆職 2農會總幹事不起訴';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '釣香油錢 毒蟲2週被逮5次';
	rows[9].link = 'today-center10.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 = '製造假車禍 2搶匪持刀攔劫駕駛';
	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 = '娃娃車撞轎車 2幼童輕傷';
	rows[7].link = 'today-south8.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
	rows[11].text = '不要慶祝二二八';
	rows[11].link = 'today-o12.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(8);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '好品味　　　→';
		rows[1].submenu = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性　　→';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療　　→';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美　　　→';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化　　→';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊　　→';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('young');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	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-weekly1.htm';
																											
		rows[1].text = '沉浸花香世界 享受浪漫';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '善用花朵髮飾 展現小女人魅力';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '春花狗裝+狗狗花語';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '一身花花裝 狗兒要和春天比美';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '歐日風 可愛性感春裝一週搭';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '名店名菜大破解<br>海霸王魚羊雙鮮';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '腕表新手上路 有概念喔！<br>入門教室初級班〈表殼篇〉';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '寵物幸福合照<br>當我們同在一起';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '居家收納<br>四大困擾solution';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '遠離感冒 增強孩子抵抗力';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = '土星遠離 告別不良關係';
		rows[11].link = 'today-weekly12.htm';
																											
		rows[12].text = '一萬元一場明星夢';
		rows[12].link = 'today-weekly13.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,700);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,700);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}