//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','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-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(11);
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 = '促扁辭職 44位律師連署';
	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 = '相交20年 扁對施有情也有義';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '綠委：廣告經費何來 疑中國介入';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '游：十大通緝犯 法部專業考量';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '陳由豪 債留台灣 前進中國典型人物';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '縱容罪犯…難道就是正義？';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '陳由豪 二度助藍打扁';
	rows[10].link = 'today-fo11.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 = '北市准24小時集會 侯友宜：嚴重衝擊治安警力';
	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(10);
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 = "多3行星後…占星術有異象嗎？";
	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 = "《中英對照讀新聞》Why Blair looks fed up to the teeth 布雷爾為什麼看起來咬牙切齒";
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = "《中日對照讀新聞》靖&#22269;：最多25万人&#12398;&#21442;&#25309;者 靖國神社25萬參拜者創新高";
	rows[9].link = 'today-int10.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '洪若潭疼女  好酒埋庭院?';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '1家7道士 行善作功德';
	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 = '「阿里巴巴與40大盜」真實版 囂張賊門牌作記號';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '玩命關頭 破解體改車廠';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '另類反攻大陸 轟「詐」中國各省';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '廟錢周轉金 普渡錢關？';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '百年土地公 津貼敬老！';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '載母修行 加長型機車奔馳高屏';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '寶島義工團 喚醒鄰居熱情';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '那羅父女檔 修路助貧同行善';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '石岡深情藥師 守護一群不變的老人';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '講師放暑假 黎明即起盯狗屎';
	rows[14].link = 'today-so15.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '新社←→和平 顛簸山區400里 送行到部落';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = 'WGT電玩大賽開打  144高手廝殺';
	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 = '達悟海王子訪核廠 不當援助民';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '拍馬屁 板土線捷運未驗搶通';
	rows[7].link = 'today-life8.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '改變配球 建仔14勝';
	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 = '9局打4小時45分 洋基紅襪刷新紀錄';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '蛇連續31局抱蛋';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '反撲無力 象7連敗';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '男子百米 鮑威爾平世界紀錄';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '世青賽400接力 台灣隊刷新全國青年紀錄';
	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 = '《美國PGA錦標賽》四強鼎立 伍茲落後一桿';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '亞洲職籃大賽 大啖天鵝 台灣季軍';
	rows[11].link = 'today-sp12.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Fed打壓通膨 布希信心十足';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '國際發明暨技術交易展 月底登場 千項專利技術搶商機';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '國際油價 重回71美元';
	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';
																										
}
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 = '去年施明德女兒換肺  扁暗助200萬救命';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '蕭淑慎舌吻買醉  一夜風流';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = 'ㄍㄢㄍㄢˋ不分 張學友好尷尬';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '蕭淑慎新車上路 違規撞況多';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '挺建民嗆TV 研究生率眾上街頭';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '周董拉小哥幫腔 壓Jolin';
	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 = '小豬不讓佼佼 創潮流做頭家';
	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 = 'Rain尬SE7EN 日韓戰火狂燒';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '全智賢赴美遊學 好萊塢先修班';
	rows[15].link = 'today-show16.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 = 10;
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 = 10;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '金山海洋音樂季 拚酒尬球熱力足';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '鐵馬快意行 數千人同樂';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '捷運松山線動土 102年通車';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '耐力賽 400飆速小子拚了';
	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 = '教部領導卓越獎 5位校長獲獎';
	rows[6].link = 'today-taipei7.htm';
																										
}
menu = null;

menu = getMenu('north');
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 = '保險員買兇殺夫 判15年定讞';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '台積電工程師 擁槍械被捕';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '紅線不足10公分 臨停挨罰獲撤銷';
	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 = '廢土仲介被打昏迷 1嫌到案';
	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 = '新竹縣市天羅地網 署長承諾';
	rows[9].link = 'today-north10.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '疑他偷錢 哥刺弟後頸 刺斷牛排刀';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '猥褻、勒贖女司機 2惡煞重判';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '假車禍搶劫 中市連2起';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '開賓士偷電纜 2賊行竊全都錄';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '偷高價鸚鵡 誤觸警鈴跳樓摔傷';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '沿路丟贓物 怪怪2賊引來警察';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '男友劈腿 少女當街毆情敵';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '社會傳真／羞辱女性 男子判賠3000元';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '兩性平權 魔法少女當先鋒';
	rows[8].link = 'today-center9.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '診所雇藥師 不管調劑管買菜';
	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 = '查！ 69台賭博電玩';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '搶！ 惡煞反遭棒打';
	rows[6].link = 'today-south7.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 = 12;
	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(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
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('medicine');
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('article');
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('art');
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('travel');
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;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 12;
	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 = '安心迎戰 颱風季<br>防颱須知筆記 有看有保庇';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '機車遊蹤 花蓮逍遙遊';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '花蓮輕鬆走 Smart玩透透';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '冷宮彩妝品 敗部大復活';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '抹布管理學';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '為下肢把脈 阻塞性血栓血管炎';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '青少年憂鬱症<br>不只是青春叛逆而已';
		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;
}
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';
}