//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('週末生活版'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國民黨賣幸壽 總資產500億賣10億？';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '承租者控國民黨找黑道討中影泳池';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '打麻將官司 高院改判李登輝賠200萬';
	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 = '監院新公告 扁增15項珠寶';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '債權人討債 控李慧芬涉惡意詐欺';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '扁嫂、幸妤看家具 應為黃睿靚做準備';
	rows[7].link = 'today-fo8.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國民黨中常會 林火旺促馬清君側';
	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 = '起對決 游錫&#22531;籲施自制';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '詐騙集團 假募款詐財';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '倒扁風潮 美「密切關心」';
	rows[7].link = 'today-p8.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "行星重新定義 太陽系有12大行星";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "惹毛右翼份子 反靖國議員 老家遭縱火";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "北方領土海域衝突 日漁民遭俄軍槍殺";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "破龐卡赫猜想 俄羅斯天才數學家拒領獎";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "女客鬧事 聯航急降波士頓";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "《中英對照讀新聞》Dumb has a new definition...蠢蛋新解";
	rows[5].link = 'today-int6.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台南幽靈谷 滴血養鬼  陰陽共處';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '惹禍電桿 1週內遷移';
	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 = '手屈一指 破案無聲勝有聲';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '50歲所長追捕25歲小偷';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '貪金雙盜 搶錢莊劫農會';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '松山機場 3見未爆彈';
	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 = '灌價捐地 避稅4200萬 追回';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '法國神父 自建教堂庇孤兒';
	rows[13].link = 'today-so14.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(10);
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 = '台灣新款火鶴花 雙「心」報喜';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '醫職 不得仲介境外器官移植';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '垃圾桶設計賽   地球再生最有創意';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '郭批政院 自況被燙掉半層皮';
	rows[9].link = 'today-life10.htm';
																										
}
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 = '連38局掛蛋 象創新高';
	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 = '0︰3 輸得不難看';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '週六拚紅襪  建仔爭洋基一哥';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '哈勒戴率先15勝';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '姜建銘   升上巨人一軍';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《世界大學棒賽》狂丟18分  我居亞軍';
	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 = '50天跑50場馬拉松 卡納斯 挑戰極限';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '《世界青年田徑賽》400跨欄 王景濬晉級';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '外資狂買 台股飆向6700';
	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 = '彰銀17%公股 明年分批釋出';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '英國eBay賣家罷工 抗議刊登費調漲';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '廖碧英回鍋 接掌勞保局';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '大型造鎮 需考量交通便利性';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '敬老津貼誤發 2千萬未追回';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '供過於求 油價下跌時機成熟';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '《國情密碼》我平均退休年齡 低於60歲';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-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 = '《理財Q&A》公司負責人 可申請債務協商';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '京元電跨足高階封裝';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '智邦獲日本訂單';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '雅新產能滿載 推動Q3成長';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'SM大漲 國喬、台苯翻身';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '張忠謀：台積今年可成長兩成';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '買盤搶進 晶磊原相股價飆高';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '《期指觀測站》電子期強攻 可挑戰6月高點';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《國際股市》德股午盤漲 日韓印勁揚';
	rows[12].link = 'today-stock13.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 = '海漂9個月 3墨西哥漁夫奇蹟獲救';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(17);
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 = '郭品超SM玩過頭 黃婉伶喪命';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = 'Jolin紅館開唱 黃立行大方助陣';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '李嫣唇顎裂 李亞鵬寵辱不驚';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '8點檔新戰況 白塔首播輸給摩天輪 暴龍魅力不敵意難忘';
	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 = '王婉霏劉&#30026;宏礙於雙J 不敢婚';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '郭靜純挺何篤霖 愈幫愈忙';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '芭黎絲顧人怨NO.1 列入金氏紀錄';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '烏瑪舒曼賣力炒飯 床塌了';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '吹牛老爹招搖擺闊  鑽鍊失竊丟3.7億';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '潔西卡怕中鏢 翹臀珍孕氣差';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '尹晶喜不憂鬱 嗲聲徵男友';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '中村結子驚傳婚變 不再同居';
	rows[16].link = 'today-show17.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(9);
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 = '茶文化博覽會 9月開泡';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '70學子 存下950萬';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '青少年耐力賽 優勝賞萬元';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = 'Na Lu Wan嘉年華 秀原民祭典';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '貢寮沙灘滿魚屍 疑被毒死';
	rows[8].link = 'today-taipei9.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-north1.htm';
																										
	rows[1].text = '停職警恐嚇前妻 法官下令隔離';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '研究生燒炭陳屍租處 疑似情傷';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '回收場老闆舉槍自盡 原因不明';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '撞死少年逃逸 女嫌落網送辦';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '撞大溪老人致死 肇事車輛逃逸';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '率眾打少年恐致殘廢 求刑16年';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '《社會傳真》吉安鄉民秀林墜谷 漏夜搜尋';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '山老鼠盜伐 勾結砂石車載貨';
	rows[0].link = 'today-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 = '酒駕撞2車 醉夫子送辦';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '國軍營區圍標案 8洗衣餐飲廠商交保';
	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';
																										
	rows[9].text = '陳建文涉改造槍械 起出3槍';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '毒蛇養家中 男子違反野保法';
	rows[10].link = 'today-center11.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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 = '五年祭 台&#22338;部落 恢復傳統祭典';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '澎遊艇業抗議 停航5天';
	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';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
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(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '一品傳奇';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '虎虎生風 鍋蓋頭';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '時尚小平頭';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = 'Hello Kitty 魅力無敵';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = '單眼數位相機 走平民化路線';
	rows[4].link = 'today-fashion5.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '財政分配 我有好法寶（下）';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '擔心女兒偷嘗禁果';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '孩子 父母心裡的100%';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '隨手做環保 你我都可以';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '暑假打工 皮膚要顧';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '夏天別猛吹冷氣<br>小心坐骨神經痛復發';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '改善口吃者的生活環境<br>輕鬆說話 溝通沒距離';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '早期鼻咽癌<br>治癒率可達九成';
	rows[3].link = 'today-medicine4.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '在劇場裡尋找人生';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '我';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '瑜伽教室';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '落花生與毛豆';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '士道之美';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '死了一個小說家之子之後';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '走進完美的公園';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '數位出版新時代';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '從MANGA瘋到YAOI狂';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '骨董漫畫 身價非凡';
	rows[9].link = 'today-article10.htm';
																										
	rows[10].text = '新聞短波';
	rows[10].link = 'today-article11.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '紀念羅曼菲<br>城市芭蕾舞團推出舞作《綻》';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '威尼斯建築雙年展台灣館<br>將同步舉辦東亞論壇';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '如果兒童劇團 《統統不許動》改版';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '台灣藝術家<br>法國沙龍學會巡迴展';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '吸引藝術消費人口<br>當代館開闢藝術商店';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '瀟灑帕胡德 激情郎朗<br>台灣藝壇吹起 經典偶像風';
	rows[5].link = 'today-art6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '大膽冒險 迎向明日世界<br>香港迪士尼';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}