//===========================================================================
//基本設定
//==================== 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','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(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '外國記者質疑：靜坐倒扁 是壞模式';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '施批高俊明 牧師娘：替施可憐';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '簽許諾狀 施：扁不下台 絕不終止';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '杯葛黨產條例 政院：藍版陽光有死角';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '王金平評估 陽光九法 七案可望過關';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '藍綠比陽光 亮度大不同';
	rows[5].link = 'today-fo6.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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';
																										
	rows[13].text = '瞿海源批國民黨變一人政黨';
	rows[13].link = 'today-p14.htm';
																										
	rows[14].text = '王金平：從來沒想過組閣';
	rows[14].link = 'today-p15.htm';
																										
	rows[15].text = '十大經典農漁村 展開選拔';
	rows[15].link = 'today-p16.htm';
																										
	rows[16].text = '美議員 憂台灣陷政爭';
	rows[16].link = 'today-p17.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 = "電擊虐囚臭名在外 美軍煞車";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "南非爆發超級抗藥性結核病";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "69％紐約客 擔心911再現";
	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 = "網路陰謀論 揮之不去";
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = "《中英對照讀新聞》Thailand rules elephants cannot be sent to China 泰國裁定大象不能移往中國";
	rows[9].link = 'today-int10.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '緝毒奏功 毒價飆 買毒被剝3層皮';
	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 = '冒牌阿里山茶 坑觀光客';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '槍傷兩人 逮天道盟惡徒';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '教唆遊民偷機車 警員吃官司';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '遇劫血戰  南非台僑擊斃2悍匪';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '遭綁逾8年 奧國少女受訪:未放棄逃走';
	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 = '酒測值0.6 送辦 無罪';
	rows[11].link = 'today-so12.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 = '電話殺人？軟體call爆仇家電話';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '聯合不送贈品 4書商挨罰1446萬';
	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 = '2成民眾 經歷親友自殺傷痛';
	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(18);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '郭泓志姜建銘 母隊放行打亞運';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '猴子撂話︰本季無四死、全壘打';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '超級黃金週末 3大旅外顯身手';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = 'WANG 我在美國成功的故事';
	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 = '鋒仔5打點屠牛';
	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 = '法幹掉義 只等2個月';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '話題女王魏聖美 球迷緊盯';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '夏揮凱3連勝 晉第四輪';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '杜哈亞運 女排抽到下下籤';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = 'B瓶尿檢陰性 瓊絲雪冤';
	rows[15].link = 'today-sp16.htm';
																										
	rows[16].text = '將退休? 大舒封口';
	rows[16].link = 'today-sp17.htm';
																										
	rows[17].text = '新加坡桌球賽 4好小子 闖會內賽';
	rows[17].link = 'today-sp18.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 = '保單借款 低利週轉好選擇';
	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 = '美DFA基金 將以組合型上市';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '《理財Q&A》恢復學生身分 學貸可展延';
	rows[5].link = 'today-e6.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 = '8月進出口 同創歷史次高';
	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 = '《國情密碼》上半年媒體廣告量 逆勢上揚';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'PCB九大強檔 笑傲電子圈';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '聯發科月績亮麗 類比科創新高';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = 'PS3延後鋪貨 華碩、鴻海應聲跌';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '廣輝意外回升 友達出貨驚豔';
	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 = '破市價10億毒品 足供560萬人吸食';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
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-show1.htm';
																										
	rows[1].text = '周董自認幼稚 感情路寂寞';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '王力宏後悔5小時 NG逾40次';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '「強辯」拜土地公 努力闖天下';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '施易男化身水蛟龍 濕身救美';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '會富商談私情？ 狄鶯：送照片啦！';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '陳雅琳妥協 與三立續約';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '陳維祥籲停止政爭 莫讓子女淪為台傭';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '妮可使壞有孕味  老公高唱爸爸樂';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '《威尼斯影展》史翠普笑迎人 海瑟威搶峰頭';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '《威尼斯影展》大衛林區獲終身成就獎 簽名不囉嗦';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '芭黎絲夜店發浪 勾鼓手開房間';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '造謠金泰希孕事 34網友被逮';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '木村拓哉當武士 票房壓力一肩扛';
	rows[13].link = 'today-show14.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(8);
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 = '康湖路 11月底提前通車';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '倒扁靜坐交管  51線公車恐改道';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '消費爭議調解 護膚占最多';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '同志大遊行 號召萬人同遊';
	rows[7].link = 'today-taipei8.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(14);
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 = '北區掩埋場案 有條件通過環評';
	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';
																										
	rows[10].text = '組合袋變身圍裙 創意十足';
	rows[10].link = 'today-north11.htm';
																										
	rows[11].text = '騎警隊成軍 鐵馬巡邏風景區';
	rows[11].link = 'today-north12.htm';
																										
	rows[12].text = '稻殼炭化 廢物變黑金';
	rows[12].link = 'today-north13.htm';
																										
	rows[13].text = '老人免費午餐 滿滿里長伯ㄟ愛';
	rows[13].link = 'today-north14.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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 = '埔農理事長任內 人頭超貸 鄭文銅二審判2年';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '張崑盈重利討債集團 57嫌被訴';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '3托兒所遭潑漆 電話恐嚇勒索';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '登廣告報明牌 中不中獎都A你錢';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '吸血2000萬 地下錢莊被抄';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '隨機擄人取財 汪体彥落網';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '槍決式連殺2人 王志煌處死刑';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '《社會頻道》特約電信門市 假證件辦門號';
	rows[7].link = 'today-center8.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 = '施工未示警致車禍 國工局判賠';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '搞不清 兩通緝犯性別裝扮顛倒';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '數不完 詐騙集團移送卷千餘頁';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '想不開 疑感情糾紛女子跳樓亡';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '躲不過 毒蟲避警跳樓脊椎受傷';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '施明德的另一條路';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '高分貝靜坐';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '不要跟魔鬼開玩笑';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '封建幽靈在台灣';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '顏色的聲音';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '歐式新婚姻習俗';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '再造觀光業';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '救救貧童';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '平價旅館';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '加速正名';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '乾脆廢總統';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '勞委會來函';
	rows[11].link = 'today-o12.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(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 = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(12);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
		rows[0].text = '暢遊山林<br>駕車飆苗栗大湳林道';
		rows[0].link = 'today-weekly1.htm';
																											
		rows[1].text = '御風馳騁<br>快感無限飆升';
		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 = 'Buffet 特蒐 好康不吃不可';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '台北超In吃到飽餐廳 聰明新選擇';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '麻辣醬 嗆辣滋味 食足過癮';
		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 = '享受美食 Happy Time  李政穎 好吃不怕胖！';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '外宿生活第一步 便利家電聰明挑!';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = 'EZ小家電 單身貴族Enjoy';
		rows[11].link = 'today-weekly12.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';
}