//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('週末生活版'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(7);
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 = '辜寬敏80大壽 扁蘇謝到賀';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '國民黨再賣黨產 出售中華日報 開價4億';
	rows[8].link = 'today-p9.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "史上第一高╱俄富豪偷腥 妻訴離索3388億";
	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 = "《中英對照讀新聞》Lagerfeld shrugs off concerns over skinny models 超瘦模特兒引關切 拉格斐不在乎";
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(16);
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 = '貪心女大學生 撿到提款卡 盜領變詐欺';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '國一男 帶國三學姊回家過夜';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = 'K毒販賣 鎖定青少年';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '情趣店金蒼蠅水 幾全假貨';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '教會長老通姦 判賠百萬';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '搶購透天陰宅 墓園暗夜勇現長龍';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '庭上開恩 特准旁聽母 擁抱愛滋兒';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '19㎝屌哥找妹援';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '台灣第一人瑞122歲 超越金氏紀錄 但年齡有爭議';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '連聽3天流水聲 起疑救1命';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '身障泳士大集合 同池飆速';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '正港「牌」桌 洗石子工人 砌出驚奇';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '留英歸國 偏遠地區教英文';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '蹺家2少女尋獲 否認尋死';
	rows[15].link = 'today-so16.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 = '林榮三基金會 樂扮圍棋推手';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '講義雜誌 年度最佳作家 分享最樂';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '搶救4胞「黏」體貓 里民總動員';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '台灣近2成女性 身材完美如沙漏';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '鷹揚墾丁 多了三種稀客';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '失智症 也會遺傳';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '閩南語教材 明年出部編本';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(16);
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 = '歐都內茲 不食言老爸';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '3年時間 「虎」朽變神奇';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '紅雀2勝 「投」號功臣';
	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 = '9號潘武雄 鱸鰻附身';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '蠻牛、旺旺加持 牛仍出局';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = 'NBA季前賽 鐘響前1.3秒進球 尼克2連勝';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '牛角高掛 公鹿踹翻小牛';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '福斯高球名人賽 古森穩打 歡喜連霸';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '三星世錦賽 索倫絲坦 后冠在望';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '克里姆林盃網球賽 俄國內戰 19歲新秀勝出';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = '林祥威鞍馬未能發揮';
	rows[15].link = 'today-sp16.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 = '陽光AMC收不到外銀債權移轉';
	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 = '《行行出狀元》焦淑雲 曾一天賣出250雙鞋子';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '換股合併案 財部要求彰銀重議';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = 'OPEC擬日減產百萬桶';
	rows[5].link = 'today-e6.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
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-stock1.htm';
																										
	rows[1].text = '立錡營收走高 法人看好';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '昇銳車用DVR出貨 挹注10月業績';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '台指期 多方氣勢強勁';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '鋼鐵、遊戲 勿貿然搶進';
	rows[4].link = 'today-stock5.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(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Selina台上掉裙 Ella吐舌遮掩';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '小齊忙遛女兒 老婆快活逛街';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '「傷城」2帥飆戲 金城武濕身 梁朝偉耍冷';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '女粉絲飲料下毒 東方神起允浩險沒命';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '柯佳嬿有周董罩 張榕容少根筋';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '歌迷送食物 孫燕姿放心吃 南拳媽媽來者不拒';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '陶子復出 跳槽三立？';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '蘇霈副業染黑 改當包租婆';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '黎明愛發福 天王變街友';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '布裘惹是生非 被媒體趕搬家';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '傑斯不靠碧昂絲 說的比唱的好聽';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '克里斯汀尬休傑克曼 找賢內助鬥魔術';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '韓劇九點檔爭霸 爾虞我詐';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '宋承憲退伍在即 日本開天價邀戲';
	rows[13].link = 'today-show14.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》根絕貪腐的治本之道在力促陽光法案的立法';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》變臉';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》落紅本是無情物！';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
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';
																										
	rows[5].text = '《城市札記》愛要及時';
	rows[5].link = 'today-taipei6.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 = '吉安田間 緬甸小鼠稱霸';
	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(12);
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 = '地面高爾夫球賽 9旬翁不落人後';
	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 = '校閱巡守隊 彰市大會師';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '社福園區募款園遊會塞爆';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '曲棍球隊奪4金3銅 教局表揚';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '中市金鑽婚表揚 阿公阿嬤重步紅毯';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '新移民教育展 聽說讀寫樣樣行';
	rows[11].link = 'today-center12.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
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-south1.htm';
																										
	rows[1].text = '至尊鞋近9萬元 本土製作';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '帆船賽澎湖逐浪 地主大贏家';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '蕉價暴跌 農民寄望冬蕉';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '人權教授私房優格 超人氣';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '頭頸部腫瘤 南部人最常見鼻咽、口腔癌';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '烏山頭水庫 萬人健走';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '五甲列疫區 拒絕戶開罰';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '拒絕菸害 港都女性「拼」了-- 一針一線將決心織成拼布';
	rows[8].link = 'today-south9.htm';
																										
	rows[9].text = '布袋戲英雄會 愛河風雲再起';
	rows[9].link = 'today-south10.htm';
																										
	rows[10].text = '安定無患子 矮化創商機';
	rows[10].link = 'today-south11.htm';
																										
	rows[11].text = '傳承古法／黃天福 活水沖製綠豆黃';
	rows[11].link = 'today-south12.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 = '天下事  手機先知道';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '我在時尚圈';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '週年慶休息好去處 百貨Top人氣美食搶先嚐';
	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 = '別再當直升機父母了';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '未婚夫愛貓成癡 我可不想和貓睡';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '孩子黏人 親密負擔';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '消費大事週報';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '提不起性趣 心因性性功能障礙';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '避免菜花上身 注重衛生 勿濫交';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '傳統與現代觀車拚 產後育嬰聽誰的？';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '早上起床眼腫 可能是眼睛過敏';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '臉部痛到吃不下 恐是三叉神經痛';
	rows[4].link = 'today-medicine5.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(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('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '威尼斯雙年展 以台灣之名期待更多努力  文化強權裡小國拼搏';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '榮獲馬戲界最高榮耀 佩吉斯家族首度來台飛天';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '被質疑虐待動物 新象藝術澄清';
	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 = 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 = '印度洋夢幻水上屋<br>卡尼島Club Med之旅';
	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';
}