//===========================================================================
//基本設定
//==================== 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(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '呂桔誠應訊 撇清3疑點';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '蘇揆促誠實交代 呂狼狽躲媒體';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '蘇德建拒吐實 檢調追趙家戶頭';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '台開設子公司 逃避監督？';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '擔保品 台銀稱價值高於債權';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '趙舅標洗腎中心 台電稱過程合法';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '吳泰德兼職燁輝 台鹽下月將議處';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '與蔡清文對質 趙建銘仍否認買台開';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '查資金 約談耐斯陳鏡堯';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '陳幸妤求援 顧立雄出馬';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '林瑞圖：游趙半價買豪宅轉手賺差價';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '綠委批趙關說署桃人事案';
	rows[11].link = 'today-fo12.htm';
																										
	rows[12].text = '邱毅控七罪狀 馬永成駁斥';
	rows[12].link = 'today-fo13.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '馬接主席 黨產大進出 62億剩7億';
	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';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-int1.htm';
																										
	rows[1].text = "震災傷亡攀升 印尼宣布進入緊急狀態";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "伊戰新聞政府製造 美FCC開查";
	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 = "《中英對照讀新聞》Piranha fish at a British aquatic centre put on a diet 英國水族館的食人魚強制減肥";
	rows[7].link = 'today-int8.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 = '日侵華派遣軍總司令岡村寧次佩刀？ 警方收購160元';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '檢提抗告 指李泰安是共犯';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '大樂透 連7摃 頭獎彩金拚7億';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '黑心！環遊世界大騙局';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '阿公砍孫女 喝農藥自殺';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '怒漢殺女友 血泊中呆坐';
	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 = '釋專慈 10年捐7部救護車';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '化療30次 永不放棄<br>樂觀校長 師生楷模';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '喝「鹽酸」才能活的人 全身病痛出不了門 「聲」體力行當志工';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '84歲肉粽嬤 義工總教頭';
	rows[12].link = 'today-so13.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 = '電價7．1漲  家用電夏月多20元';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '詐領健保 4醫院停約1年';
	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 = '12萬考生 得接受寫作補救教學';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《2006世界盃足球賽》瘋 世界盃';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《NBA》暴力牛 2連勝';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《NBA》牛頭強森 菜鳥不菜';
	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 = '大聯盟第二 邦斯715轟';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '他正在排隊買啤酒… 幸運撿到715轟紀念球';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '老虎遭完封 終止八連勝';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '背號18 蘇哲毅披鯨袍';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '挑戰世界七大洲最高峰 台灣探險王名單揭曉';
	rows[9].link = 'today-sp10.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '北市信義路每坪百萬豪宅 還未公開預銷6成';
	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 = '4大預算未過關 GDP少200億';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '吳澄清 代理董事長';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '美元貶值 加促亞洲經濟合作';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '家庭經濟信心度 創五年新低';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '袖珍藝品業 商機無限大';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '歐股 大幅續跌機率低';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '《理財Q&A》新興股市震盪 可採分散進場';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '月績點火 DRAM股齊漲';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '創見EPS1元 威剛成長2成';
	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 = '對抗鴻海？ 光寶入主力信';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '光碟片族群 全面上漲';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《期指觀測站》空方保守 不排除重回7千點';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《國際股市》歐股午盤跌 中國大漲';
	rows[7].link = 'today-stock8.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(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '樂基兒亮刀自殘 黎明拒絕再玩';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '生女娃公婆嫌棄 王菲想拚帶把的';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '港媒報導 吳建豪密約Fanny 見記者急閃人';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '女兒當夾心餅 賈靜雯難性福';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '《坎城影展》5帝6后獎多多 刷新影史紀錄';
	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 = 'Jolin選Mr.Q 15男趴地求愛';
	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 = '凱莉夢幻天堂養病 死神2度叩門';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '和平之女席蘿 怪名學問多';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '日本女星搏翻身  一「脫」拉庫';
	rows[14].link = 'today-show15.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》國民黨的中央日報停刊了嗎？';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》笑死人';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》泛藍的「三戰」';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '謊稱5566王仁甫之名 性侵少女判刑';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '專櫃鴛鴦盜 偷小姐皮包盜刷';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '假幣購車票 賺194元 罰9000元';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '報綜所稅快截止 4成未申報';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '捷運板土線明營運 考驗列車調度';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '捷運板土線 明天下午1點營運';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '基測考試違規 40件須扣分';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '遊客塗鴉 野柳地質公園很受傷';
	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(4);
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 = '涉勾結圍標集團 花縣水利會3人被捕';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '撞見西施老婆姦情 壯漢離婚堅告泰勞';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '宜市卡拉OK大火 員工1死3傷';
	rows[3].link = 'today-north4.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國道6號安檢 2標段被迫停工';
	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 = '破地下油行 扣4千公升漁用柴油';
	rows[5].link = 'today-center6.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '南科道南遺址 挖出1500年前鐵劍';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '南科週邊 飯店業割喉激戰';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '6800公斤 劣質泰國檳榔搶灘';
	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 = '涉嫌賄選 查扣香菇帶回13人';
	rows[5].link = 'today-south6.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 = '珠寶賞花季';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = 'CEO級買家<br>高檔行動電話 面子裡子兼顧';
	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 = '改變髮流 變身不花錢';
	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(5);
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';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
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 = '小宇宙（2006）.上';
	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';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
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-art1.htm';
																										
	rows[1].text = '《愛爾蘭之虎》三D立體投影<br>呈現踢踏舞動感之美';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '雲門舞集《行草三部曲》<br>歐洲首演風靡柏林';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '指揮巴夏對NSO 很滿意';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '《台灣的神像》進駐華盛頓';
	rows[4].link = 'today-art5.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;

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';
}