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

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

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

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

document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/weekly.htm","","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=810,height=643")>生活週報</A></TD>');
document.write('	</TR>');

document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="#" onClick=open("http://www.libertytimes.com.tw/Service/house.htm","","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=810,height=643")>住宅生活</A></TD>');
document.write('	</TR>');

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

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

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '馬特別費帳戶 每月匯款給妻';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '查黑中心：該查都有查 扁馬同標準';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '起訴書明載 曾調查扁機密費';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '馬：查馬比查扁嚴苛';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '可以查扁 為何不能查馬？';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '打扁護馬 媒體才雙重標準';
	rows[5].link = 'today-fo6.htm';
																										
	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';
																										
}
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 = '國防部評估 中國航艦戰鬥群 2020年成軍';
	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';
																										
}
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 = "伊戰找活路 美借鏡越戰經驗";
	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 = "《中日對照讀新聞》文科相、&#12356;&#12376;&#12417;阻止&#12395;緊急&#12513;&#12483;&#12475;&#12540;&#12472;／文科相、發緊急訊息遏止「校園霸凌」";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "《中英對照讀新聞》Britney Spears considering giving away sex tape for free？／「小甜甜」布蘭妮考慮免費發放性愛錄影帶？";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '腳斷手殘 翻山越嶺 他，激發山友 向上奮發';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '榴槤糖挖出海洛因 市價3億';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '遷居5年 返舊屋驚見白骨';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '奪鍊飛車盜 暗巷見獵金喜';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '土城7匹狼 作案團進團出';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '傷友最簡單的心願 網路小愛匯成河';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '開鎖達人 義不容辭教防盜';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '花花逛大街 豬事傳千里';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '魔法阿嬤 糖心義行 笑長存';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '【走出孤獨 活出彩色】阿謹嬤 勇往陽光人生';
	rows[10].link = 'today-so11.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-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 = '台大調查：榮民愛逛醫院？偏見';
	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';
																										
}
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 = '建仔親臨義賣 3球61萬';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '劉永松看愛徒 大隻雞慢啼';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '郭岱詠紀曉君 入洞房';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '《關懷盃棒球賽》熊大維身高126 綽號ㄒㄩㄥˇ大尾';
	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 = '氣走小飛俠 爵士8連勝';
	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';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '竹科明年定量、定點 開放觀光';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '年關缺錢 信貸一通電話搞定';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '公教年終周轉 銀行低率優待';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '開發計畫受阻 鎳價飆上高峰';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = 'Fed明年若降息 人民幣升壓大';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '卡萊爾收購日月光 蘇揆︰多點汗水、少點口水';
	rows[5].link = 'today-e6.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《品牌故事》府都建設 營造人文建築風';
	rows[0].link = 'today-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 = '日月光入外籍 宏璟東山再起';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '藝術造街 遠雄打造巴黎風情';
	rows[5].link = 'today-stock6.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 = '蔡淳佳考照 嗩吶湊熱鬧';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = 'Ella抱病趕場 眾壯丁護花';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '孫藝珍玉女添光環 李在應童星奪影帝';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '莫文蔚 搖曳金縷 劉嘉玲 極簡峰姿';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '帝 城城哽咽連莊 后 周迅驚喜泛淚';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '最佳導演獎 陳可辛獲獎  吳君如花枝亂顫';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '如果，愛大四喜 父子滿貫全壘打';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '9歲吳景滔 史上最小男配角';
	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 = '侯佩岑巧搭蔡康永 甩花瓶直追林志玲';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '李玟 莫文蔚 性感登場 金馬小贏亞太';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '金鐘戲劇女主角偶像派運旺 李佳穎  Ella 敲鐘大黑馬';
	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 = '《自由談》Safe？Out！';
	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(5);
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 = '手繪書展 傳承媽媽的私房故事';
	rows[4].link = 'today-taipei5.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-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 = '基隆4溪 學者建議採限制性開放';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '入冬盜獵多 太管處加緊查';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '槍聲連響 檳榔攤變蜂窩';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '大林國小百歲 總統切百米蛋糕';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '綠面跪射俑抵科博館 價值連城';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '慢跑蘭潭畔 摸彩拚手氣';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '按摩捏陶 用手創造新「視」界';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '中縣文學獎頒獎 不見評審身影';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '社造成果展 秀出新形象';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '憂鬱症國中生預告 生日即忌日 忙壞父母';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '布袋海巡隊 查獲2700萬私菸';
	rows[7].link = 'today-center8.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-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 = '越籍看護貼心 8旬阿嬤收養';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '逃脫犯人林承旭 銀樓小心';
	rows[7].link = 'today-south8.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(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

//====================  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';
}