//===========================================================================
//基本設定
//==================== 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 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(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '否認陳致中入股 大華超市懸賞1.6億自清';
	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 = '公布捐款7年6809萬 馬將特別費視為私款';
	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';
																										
	rows[12].text = '公款→墊付款→私款 邏輯匪夷所思';
	rows[12].link = 'today-fo13.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '18趴改革 藍全力封殺 今排第一案';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '直航條款 綠誓死擋關 不惜焦土戰';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '辜仲諒滯海外 檢決發布通緝';
	rows[6].link = 'today-p7.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-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 = "《中英對照讀新聞》Don't try to milk Lulu the cow when she's ill 乳牛露露生病時不要對牠擠奶";
	rows[4].link = 'today-int5.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '高竿牙醫師 1年2次一桿進洞';
	rows[0].link = 'today-so1.htm';
																										

																										
	rows[1].text = '吵架持剪刺死女友 桶屍裝水泥塊沉溪';
	rows[1].link = 'today-so3.htm';
																										
	rows[2].text = '警員酒駕撞死警眷 一屍兩命';
	rows[2].link = 'today-so4.htm';
																										
	rows[3].text = '最後期限仍無人出面領獎／樂透獎金2844萬充公';
	rows[3].link = 'today-so5.htm';
																										
	rows[4].text = '罕病無懼! 肌弱男騎車求學';
	rows[4].link = 'today-so6.htm';
																										
	rows[5].text = '母愛加油! 叛逆女含淚拚獎';
	rows[5].link = 'today-so7.htm';
																										
	rows[6].text = '妻癱2子病 921災戶多磨難';
	rows[6].link = 'today-so8.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 = '鈴聲轟炸 無聲電話 半年狂叩4000通';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = 'e封信騙愛心 瘋狂轉寄截資料';
	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(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '３響砲 轟垮阿里郎';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '轟炸基 南韓剋星';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '盼9年 郭泓志國手第一勝';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '謝佳賢 重新定義8棒';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '鋒仔大膽盜壘…「離壘沒人理，當然衝了」';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '男桌團體 晉4強';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '先盛後衰 女排輸韓';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '亞運今開幕 我排36順位';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '遠南運動會/台灣19金 史上最佳';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '林柏佑加盟白襪';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '夢幻百大球星 少了Taiwang';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '諾威斯基視茫茫 嚇壞小牛';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '北一女爆冷 擠進複賽';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(13);
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 = '11月份基金表現亞股滿堂彩';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '《退休金專題》退休理財保本為要 忌投機冒險';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '《理財Ｑ＆Ａ》查封資產 貸款未清車也在列';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '偉盟 堅持環保苦盡甘來';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '美鈔須重新設計 增盲人辨識';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '私募基金入侵 澳洲民眾反彈';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '我民間消費占GDP比重 四小龍之首';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '美消費支出微升 台幣升破32.5元';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '月繳上網費 電腦不用錢';
	rows[11].link = 'today-e12.htm';
																										
	rows[12].text = '燃油需求上升 油價再漲';
	rows[12].link = 'today-e13.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '外資券商加持 LED亮晶晶';
	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 = '明基單挑奇美 搶LCD三哥';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '超豐京元電 績情秀';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '外資收購? 智邦否認';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '價定花旗? 僑銀爆量';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '歐股午盤漲 日勁揚';
	rows[7].link = 'today-stock8.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 = '俄諜之死 英航遭輻射污染 波及3.3萬人';
	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 = '大清早上工舞燈籠 Jolin哈欠打不停';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '周董半夜練功 自爆晃鳥鬥牛';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = 'Jay母校被包圍 杰爸路過買魚丸';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '侯佩岑飛奔按摩店 狂fun4小時';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = 'Elva低胸洋裝反穿秀美背';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = 'Angie來台簡單唱 陳綺貞當粉絲';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '張韶涵想抱金鐘 當耶誕禮物';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '潘慧如激凸成名 3月狂撈600萬';
	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 = '145萬變145元 江宏恩傻眼';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '妮可片酬5.5億 狠踹膨風瑞絲';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = 'U2撼動聲命 懾服3萬粉絲';
	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(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 = '限時停車格 又有新制上路';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '外籍配偶生育 議員建議考量優生學';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '突檢營養午餐 竹縣光明國小質量都被嫌';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '公有建築設公共藝術 全縣僅十五座';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '水公司挖路 完工一月未鋪柏油';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '羅東公正國小地下停車場 本月發包';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '太魯閣專車預算 刪出風暴';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '玉長公路將通樂 玉里拚觀光';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '四百人一字排開 海岸線全面清理';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '永和公所預算 被砍六分之一';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '車陣被偷拍 貼上情色網';
	rows[9].link = 'today-north10.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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-center1.htm';
																										
	rows[1].text = '湖子內區段徵收案 補償嚴審';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '零距快易通  健保服務e路通';
	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';
																										
}
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 = '市公車e 化 載客率high起來';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '投資假郵輪 違法吸金數千萬';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '麵包店聲響大被訴 賠20萬';
	rows[7].link = 'today-south8.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 = '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';
}