//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 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 href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A 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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '40金條變現 富翁抱走2400萬';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '日圓帶動 台幣勁揚3.17角';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '外資看… 年底前升至29.5~31.5元';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '扁：蘇修效應 是秉持我意';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '國共論壇下一步…懷柔退役將領';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '扁高規格過境 美方仍猶豫';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '法部建議 按指紋擴及中國觀光客';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '支持台灣入世衛 歐盟續出擊';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '柔性政變密件 提及曹文生、羅本立';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '黨職併公職不追繳 綠委槓上試院';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '李登輝：知道是誰變鬼變怪';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '電聯車招標 涉圖利廠商';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '日商一再利用媒體爆料 何︰看衰高鐵心態可議';
	rows[9].link = 'today-p10.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "琉球美軍移防經費 日負擔59%";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "IMF改革 提高中韓墨發言權";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "英地產大亨被竊 損失46億";
	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 = "《中英對照讀新聞》School Makes Kids Use Buckets for Toilets 學校竟要學童用水桶充當馬桶";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '中國止瀉藥含毒 台商帶回被捕';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '油價漲 新騙招／油票9.2折？網購大「空」襲！';
	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 = '電玩大亨澳門行 3天豪賭 狂輸6億';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '台電工安意外 2墜死 1傷';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '郵局員阻詐 助警破案32次';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '愛心警伯 寧為扶弱不升官';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '警消勤務忙 做公益當休閒';
	rows[9].link = 'today-so10.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 = '幼教券不排富 被批浪費';
	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 = '小六小霸王 3度毆打導師';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '留英女博士與蝙蝠為伍';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '1天1包菸 罹糖尿病風險倍增';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '自選剖腹產 需自費1萬2千元';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '消基會：網購標價錯誤 賣方仍應出貨';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '暌違60年 台日球友灑淚重逢';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '5月起 水桶一律無色';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '太陽拔頭籌 贏在罰球線上';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '駭客任務 溜馬破網';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '出走、施壓… 不如效法BJ聯盟';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '郭泓志 1.2局 3保送 丟2分 差點壞事';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '強森醒了 洋基勝率保5';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '英傑登場 3套劇本';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '泰山 挑戰台灣全壘打王';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '全中運 楊舒涵 5標破大會';
	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 = '《世界團體桌球錦標賽》台灣娘子軍 首戰不敵香港';
	rows[12].link = 'today-sp13.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 = '日瑞穗集團 擬入股統一證';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '台電：電價110度以下 不漲';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '3月外銷訂單金額 創新高';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '公股21% VS. 中信15%';
	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 = '找砂源 工程會建立通報機制';
	rows[9].link = 'today-e10.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 = '房貸降息 應主動爭取';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '看貶 美元資產宜降低';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '《理財Q&A》開源節流 讓收支能平衡';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '明基︰Q2有機會轉盈';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '新友達 大尺寸 出貨量 全球第一';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '普誠偉詮擎亞 搶攻車用IC';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = 'LED獲利成長股 補漲可期';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '佳邦EPS1.45元 乾坤年增1.5倍';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '《期指觀測站》摩台期 多單可先離場觀望';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '《國際股市》歐股漲跌互見 亞股盡墨';
	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(12);
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 = 'Jolin搞飛機遲到 孫燕姿忙著養病';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '李李仁調虎離山 陶子產後快閃';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '小S期待搭檔陶子 共鳴金曲獎';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '楊丞琳公開圈內小人 提示姓名3個字';
	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';
																										
}
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 = '台北文學獎放榜 55位得主 3位僅15歲';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '縣長首次施政報告 狀況百出';
	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(9);
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';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '2度休學 女大學生倒栽跳樓亡';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '3少挾持通緝犯 朋友報警救他';
	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 = '女騎士車禍亡 車在30公尺外';
	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 = '座車冒火 分局長及時逃';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '被控侵占 黃顯洲判緩刑';
	rows[9].link = 'today-center10.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 = '遊艇王國 日航海家試航讚不絕口';
	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 = '小靜宜像小菩薩 10坪陋室見孝行';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '飛車搶匪兩人組 搶奪2名女職員';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '暴力討債五人組 裝備、刑具齊全';
	rows[5].link = 'today-south6.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
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 = '雅痞出遊 跑車格調Sport Wagon';
	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';
																										
}
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 = '38界線 熟女要保重';
	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 = '鼻子長了頑固痘  可能是塵&#34766;在作怪';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = 'Ｂ肝高危險群害抗體消失<br>專家建議先檢查 再補種';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '肝臟長五公分腫瘤 不一定是肝癌';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
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-article1.htm';
																										
	rows[1].text = '韓國心．台灣情.上<br>三十年後的再發現';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '《兄弟》（下）';
	rows[2].link = 'today-article3.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '兩廳院藝術總監→兩廳院董事<br>朱宗慶選擇在體制內改革';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '林洲民進軍西班牙  跨海設計現代新城邦住宅';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '風之舞形舞聊齋  非關裝神弄鬼';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '維也納愛樂管樂獨奏家樂團<br>與NSO合作演奏莫札特天籟';
	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;

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';
}