//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (!showWeekly)
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}

document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.ntat.gov.tw/" target=_blank>台北市國稅局</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國親再聯手封殺軍購 強推直航';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '展現對台灣信心 楊甦棣邀扁爬玉山';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '北市府邀中方座談 充斥簡體字';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '國親要翻案 18％改革面臨廢止';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '秦孝儀  涉佔軍眷地40年';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '放寬赴中投資上限 國安會反對';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '林向愷：鬆綁赴中投資 經濟大失血';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '張虔生：日月光不會出走';
	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(13);
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 = '檢方最快明通緝辜仲諒';
	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';
																										
	rows[10].text = '最後衝刺 馬游下週高市拚場';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '政黨初選 將納選罷法規範';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = '是否續任？蘇揆：不偷看人生劇本';
	rows[12].link = 'today-p13.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "珍奇寵物 病毒危險群";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "清瓷碗 6.3億天價";
	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 = "日八年大調查／酗酒者 自殺率高";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "別自欺欺人／少根菸 照樣致命";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中英對照讀新聞》Russia detains 11 skinheads  for race attack  俄以種族攻擊罪名扣押11名光頭黨人";
	rows[8].link = 'today-int9.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '校外惡男 吃醋毆人新社高中 棒球隊員瀕死';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '男友追殺女友兄 誤射她屁屁';
	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 = '破六合彩  7千萬賭資充公';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '沒人領 2844萬頭彩 月底繳庫';
	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 = '拾荒夫妻 領養智障兒20年 視如己出';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '大老闆行善 捐3救護車';
	rows[12].link = 'today-so13.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '實施浮動油價以來最大漲幅／中油汽油漲1.1元';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '台鐵傾斜式列車 春節上路';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '營養午餐    30元美味上桌';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '一滴尿 五分鐘驗出體內自由基';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = 'OK無人化超商 掀購物革命';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '天冷進補 當心胃食道逆流';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '網路宣傳苦瓜治病 罰3萬';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '都是ca開頭 治療心血管 嘉榮錯給鈣片';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '南北五工廠  重金屬污染嚴重';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '減害奏效 毒癮愛滋病患減半';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '12月10日 與郭泓志面對面';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '不論補誰 建仔地位穩啦';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '即將進樂天 小雞休養生息';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '爭井川慶 紐約雙雄又對上';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '馬怪爾進名人堂？ 難';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《杜哈亞運特別報導》南韓打者 忌憚小郭';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《杜哈亞運特別報導》馬爾地夫棄賽 男排晉2輪';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《杜哈亞運特別報導》我男桌團體 今二連戰';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《杜哈亞運特別報導》改頭換面 杜哈添彩妝';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '遠南身障運動會／游泳池畔 台灣金豐收';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '遠南身障運動會／射擊參賽隊伍不足 大會拒發獎牌';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '遠南身障運動會／張惠民摘金弔慰亡父';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '連賞鄧肯3記火鍋 勇士菜鳥夠嗆';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '海鷹「打雪仗」克包裝人';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '《高中排球聯賽》豐商、高英晉級';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = '阿格西 年度最佳男運動員';
	rows[15].link = 'today-sp16.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 = '今年經濟成長 中經院上修至4.23%';
	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 = '10月消金貸款下滑 僅房貸上揚';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '贈品少魅力 7成紅利點報廢';
	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 = '理財Q&A／享用土增稅優惠 一人僅一次';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = 'Vista拉抬 乾坤、日電貿明年錢景看俏';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '併購傳言不斷 明基股價飆漲';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = 'CD-R漲價 錸德、中環看好Q4獲利';
	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 = '亞股全倒 香港重挫564.48點';
	rows[9].link = 'today-stock10.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 = '豪宅種大麻  水耕式栽培';
	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 = '黃秋生狠K張藝謀 流彈波及周董';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '硬骨頭Selina 拗不過軟腳Ella';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '吳尊香蕉傳情 溜進Ella房間';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '蘇打綠 阿霈樂團 同門翻臉';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '大S賣髮拚志玲 小S裹腹不懷孕';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '瑪格莉特力挺  張菲拿獎有信心';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '台流持續發燒 F3日本搶地盤';
	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 = 'Jolin挺蔡幫 動腦玩創意';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '潘蜜拉結婚122天  閃電離婚';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '琳西惹火布蘭妮  芭黎絲賞吃拐子';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '大澤隆夫呼喊自由 7年婚姻玩完';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '渡邊謙首度稱帝 中谷美紀意外封后';
	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(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 = '洪正雄：1個開發案 要打點22個紅包';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '復北地下道下午開通 兩端路口部分禁左轉';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '原夢奮鬥史 22人寫傳奇';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '議員檢舉 中山區7處傳幽靈人口';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '議員選舉起跑 逾時活動嚴格取締';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '日日春上街 提性產業政策';
	rows[6].link = 'today-taipei7.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 = '竹市稅捐大樓 建了11年終完工';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = 'M計畫挖路 縣府惹民怨';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '中山休閒農業區，大批新加坡團造訪';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '彭佳嶼蓋賭場 業者計劃 砸金150億元';
	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';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '八卦山大佛 無障礙路艱辛';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '日贈河津櫻 落腳鹿谷小半天';
	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 = '味道怪 中國石英磚走私洩底';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = 'LV旗艦店失竊案 監視影帶 掃到可疑車';
	rows[8].link = 'today-center9.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '柳營農會旭山辦事處 被搶12萬元';
	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 = '高雄港白骨案 疑92年落海死亡';
	rows[4].link = 'today-south5.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(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '富豪專屬訂製珠寶';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '尺寸革命';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = 'Kenzoamour<br>由愛啟程 印度尋香之旅';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '開豪華SUV 帶全家出遊去！';
	rows[3].link = 'today-fashion4.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 = '婚姻10大殺手';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '女友劈腿離去 找妓女發洩又後悔';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '優格與米糠 護膚兩大利器';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '老公做家事 悍婦變好命';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '認識子宮頸癌疫苗';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '新生兒頻吐奶  小心胃幽門狹窄作祟';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '搞懂食物聰明吃  乳癌不再來';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '世界愛滋日 疾管局徵求網路短片';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '正確使用保險套 愛愛安全有一套';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '有感胞弟罹患口腔癌  顏清標戒30年檳榔癮';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '第二屆林榮三文學獎短篇小說獎二獎<br>躺屍人';
	rows[0].link = 'today-article1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台灣米開朗基羅 網路現風采';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '以愛神之名';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '美麗古佛  人間一遊';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '美艷  驕傲  專注';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '清乾隆御用茶壼現身';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '高縣古宅  傳統全記錄';
	rows[5].link = 'today-art6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '邂逅一座樂活城市  澳洲布里斯本';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}