//===========================================================================
//基本設定
//==================== 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','work','sex','family','article','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>');
}
if (true)
{
	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>');
}
if (true)
{
	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(8);
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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '908促蘇揆 假扣押國民黨產';
	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 = '蘇揆構想 21縣市全升格直轄縣';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '美學者警告 泛藍向中靠攏 影響美軍部署';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '中國擴軍 威脅東亞安全';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '法輪功遊行 聲援退出中共';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '丁干城 出任駐以代表';
	rows[9].link = 'today-p10.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(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 = "無情榴槤 菲逾300死";
	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 = "決戰故鄉 Wii日本賣光";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "天才達文西 有中東血源";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "《中英對照讀新聞》 京都&#12395;&#12510;&#12531;&#12460;&#12511;&#12517;&#12540;&#12472;&#12450;&#12512; 京都成立漫畫博物館";
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = "《中英對照讀新聞》Get a new career, police tell bungling Irish crook 警察勸愛爾蘭笨賊改行";
	rows[9].link = 'today-int10.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '侯友宜領軍 火炬跑傳愛';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '指紋建檔 守護身障';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '斑馬線未禮讓行人 屏東1年開1罰單';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '打死酒友裝無辜 血跡證兇';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '酒駕撞爛賓士嗆警';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '拜拜帶關刀 說要去殺妖／稱濟公指示騎士喝酒 判免罰';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '好人X檔案 行善急救團';
	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';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '正子造影 揪肺癌有死角';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '頂級身價／溫室水耕洋香瓜 1顆2千';
	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';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '桌銅';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '策馬上梯 燃聖火 開幕儀式 超豪華';
	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 = '葛拉文300勝 想留給大都會';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '熊隊不續聘林光宏';
	rows[11].link = 'today-sp12.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '資訊月首日 湧入8萬人次';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '美製造業施壓 促人民幣再升值';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '油價漲到63.43美元 創兩個月來新高價';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '聯準會副主席：美仍有通膨上揚風險';
	rows[3].link = 'today-e4.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '建材飆漲 公共建設恐斷工';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '美國菲力牛肉 恐漲破四成';
	rows[2].link = 'today-stock3.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(18);
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 = 'K ONE絕不改版 交棒演出爆意外';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '棒棒堂當師弟 Jolin推藝把';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '高貴Tiffany 林又立愛不飾手';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '走出偷拍陰霾  阿嬌情定Elva舊愛';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '典雅劉嘉玲  亞洲最風光';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '洪榮宏酗酒10年 跪謝母親不棄';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '許紹洋 誓把鮪魚肚變6塊肌';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '許傑輝敲響小金鐘 趙自強3連霸夢碎';
	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 = '達可達敢做敢當 新片遭性虐沒嘿咻';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '長澤雅美呼喊人氣 繪理香同台當空氣';
	rows[15].link = 'today-show16.htm';
																										
	rows[16].text = '裴勇俊綁馬尾耍帥 小田切讓亂髮像貞子';
	rows[16].link = 'today-show17.htm';
																										
	rows[17].text = '木村拓哉牽線 中田英壽熱戀白雪';
	rows[17].link = 'today-show18.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(7);
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 = '篩檢遲緩兒 PDA幫你搞定';
	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';
																										
	rows[6].text = '復北地下道 單車失速撞亡';
	rows[6].link = 'today-taipei7.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-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';
																										
}
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 = '中部第1人 林泰豐修滿社大128學分';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '高喊給他死 兄弟拔刀劈頭砍人';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '鎖定被搶手機序號 抓到2搶嫌';
	rows[7].link = 'today-center8.htm';
																										
}
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 = '買毒糾紛 「退貨」換來一槍';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《李筱峰專欄》愛國是惡棍最後的招牌？';
	rows[0].link = 'today-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';
																										
	rows[11].text = '港都綠營水準勝藍';
	rows[11].link = 'today-o12.htm';
																										
	rows[12].text = '先本土民主 再改革清廉';
	rows[12].link = 'today-o13.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 = 'work';
		rows[1].link = 'today-work1.htm';
	
		rows[2].text = '兩性異言堂　→';
		rows[2].submenu = 'sex';
		rows[2].link = 'today-sex1.htm';
	
		rows[3].text = '家庭親子　　→';
		rows[3].submenu = 'family';
		rows[3].link = 'today-family1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.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 = 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('work');
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('article');
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('sex');
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('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';
}