//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = 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'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','living','family','medicine','article','young','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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '統籌款每人配額 北市是北縣8倍';
	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[4].type = '美國行';	
																										
	rows[5].text = '馬：不虛此行 順利完成';
	rows[5].link = 'today-fo6.htm';
	rows[5].type = '美國行';	
																										
	rows[6].text = '馬英九言行 民進黨將總檢視';
	rows[6].link = 'today-fo7.htm';
	rows[6].type = '美國行';	
																										
	rows[7].text = '姚嘉文 拜會日自民黨幹事長';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '演習挺進與那國島 台日有默契';
	rows[8].link = 'today-fo9.htm';
	rows[8].type = '海軍今大軍演';	
																										
	rows[9].text = '美日台聯防機制 逐漸成形';
	rows[9].link = 'today-fo10.htm';
	rows[9].type = '海軍今大軍演';	
																										
	rows[10].text = '日憂心…台海軍事優勢向中傾斜';
	rows[10].link = 'today-fo11.htm';
	rows[10].type = '海軍今大軍演';	
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '華磐告14泰勞 改各求償1元';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '18％ 綠營翻案失敗';
	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';
																										
}
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 = '降膽固醇注射新藥 效力10天以上';
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = '瑞典撲殺染禽流感野貂';
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = '紐約午餐會 網羅獨食族';
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = '緬甸 新都閱兵';
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = '火星表面探秘';
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = '《中英對照讀新聞》Stolen sandwich leads to a year in jail 失竊的三明治導致入獄一年';
	rows[9].link = 'today-int10.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '破偽藥集團 抄出已查扣機具';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '責付便宜行事？治安大漏洞';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '174萬元轎車重複失竊 疑狡計詐保金';
	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 = '全國掃蕩31家討債公司';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '高雄高分院 烏龍縱囚';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '指林志隆強暴 蘋果判賠200萬';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '毗鄰好孕道 四任屋主生雙胞胎';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '從屏東走回北縣 好心警助盤纏';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '楊爸！達邦永遠的冠軍教頭';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '積善之家父子同心 合資捐鄉里救護車';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '赴南亞救災 大學生選修人生精彩課';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '黑膠唱片達人 年助100個家';
	rows[13].link = 'today-so14.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 = 'ＢＭＩ逾23易罹病 馬偕促下修';
	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 = 'OBU、VPS 5年後並用';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '便利商店 贈品割喉戰又起';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '噪音 首次違規就罰';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(11);
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 = '台灣冬季聯盟 12月起開打';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '陳金鋒效應發酵 熊票亮成長';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '活塞入網 馬剌失速 龍頭落難日';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《ＰＧＡ選手錦標賽》擊退追兵 艾姆斯封王';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '八強驟死賽 台師大甜蜜復仇';
	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';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '告台灣松下侵權 遠傳敗訴';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '類似商品才算侵權 著名商標另有保護';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '財部怒斥 伙計憑什麼指定老闆';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '景氣燈號 連７綠';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '集保結算所 掛牌';
	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 = '《理財Q&A》年輕人理財 選積極型基金';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '鋼價添柴火 鋼鐵熱燒';
	rows[0].link = 'today-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 = '台積聯電Q2看俏 外資充電';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '外資轉買 Q2資金可望回籠';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '329檔期 營建未演先轟動';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《期指觀測站》反彈量縮 仍陷弱勢格局';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '《國際股市》歐股午盤走低 印度大漲';
	rows[8].link = 'today-stock9.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 = '李安耍流氓 討債擺烏龍';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '徐子珊落水濕褲 樂基兒驗肚沒小明';
	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 = '陳美鳳34D結實 倪齊民伸鹹豬手';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '花蝴蝶露雪球 畫框夫人耍噱頭';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '阿湯哥超High看球賽 凱蒂鬱卒壓馬路';
	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 = '27萬買渡假村會員卡 一場空';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = 'Bee TV 聲聲逼人';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '捷運中山站站牌西移 滯留搶客亂 乘客搭車累';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '碩士當清潔隊員 只求一技在身';
	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 = '鶯歌老街再造10週年 藝起來歡慶';
	rows[7].link = 'today-taipei8.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '普查員掛保證 不是騙徒啦';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '阻詐財、逮車手 桃警一箭雙鵰';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '冒名會腳詐標2700萬 會頭重判';
	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 = '《社會傳真》金警抄61台賭博電玩 送辦業者';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '遭毆打勒贖 他…泣訴警方輕辦';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '搶案變竊案 斗六分局長：認知落差';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '獎金門檻提高 員警憂心影響緝毒';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '南投農機具竊案 逮2毒蟲';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '這款媽媽 懷孕4個月還吸毒';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '張羅奶粉錢 窮爸爸偷電線';
	rows[5].link = 'today-center6.htm';
	rows[5].type = '社會傳真';
																										
	rows[6].text = '水公司前人事主任 收賄被訴';
	rows[6].link = 'today-center7.htm';
	rows[6].type = '社會傳真';
																										
	rows[7].text = '佯稱買金鍊 搶了就騎車落跑';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會傳真';
																										
	rows[8].text = '纏訟還清白 陳阿水獲賠償金';
	rows[8].link = 'today-center9.htm';
	rows[8].type = '社會傳真';
																										
}
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 = '搖頭族轉進郊區KTV 現形';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '拚經濟？ 馬英九外行！';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '三大悲情？ 三大堅持！';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '《林保華專欄》宗教信仰威脅中共統治';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '龍女士，請給電影一條生路';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '談換腎';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '農產品銷日藥小心';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '小貓變老虎';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '豈可暴動無罪';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '別綁謝文定';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '單一選區 這樣劃分';
	rows[9].link = 'today-o10.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(8);
	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 = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性　　→';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療　　→';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美　　　→';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化　　→';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊　　→';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
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';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
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-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
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-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';
																										
	rows[4].text = '薏米 補脾胃又養顏';
	rows[4].link = 'today-family5.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
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 = '過量使用鼻噴劑<br>小心血壓直線上升';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '內向媽咪放輕鬆<br>產後憂鬱不來煩';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '誤信偏方草藥<br>血糖險些失控';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '由於男人都不在了---下';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '名片廢墟';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '我的電腦和我';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '有訊';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '《五十年來台灣女性散文》';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '《九十四年小說選》';
	rows[5].link = 'today-article6.htm';
																										
}
menu = null;

menu = getMenu('young');
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-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
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 = '小巨蛋亂象 台北市政府要負責';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '獵人、巫師、老頑童的歷險<br>劉其偉紀念展 動畫演出';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '《鐘樓怪人》風波平息 東森新象達成和解';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '舉重若輕 朱雋雕刻新仙境';
	rows[4].link = 'today-art5.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
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 = '日本水鄉三都-佐原、鹿&#23947;、潮來  閒逸旅情';
	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;
}
//====================  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';
}