//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 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 href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '亞華專訪 扁：國共聯手奪回2008政權';
	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';
																										
	rows[12].text = '吳釗燮：跳機率逾限度 將拒中國客來台';
	rows[12].link = 'today-fo13.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '未通報北市衛局 榮總被罰30萬';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '增加立委席次修憲案 可望跨黨派提出';
	rows[7].link = 'today-p8.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 = "海空出擊 斯里蘭卡轟打叛軍 瀕臨內戰";
	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 = "日建物耐震造假案 逮捕8嫌";
	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 = "《中英對照讀新聞》Heavy periods may warn of disease 經期流量多可能是疾病的警訊";
	rows[6].link = 'today-int7.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年簽注 10億';
	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 = '連生3女 借腹求龍又來鳳';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '汐止殺警案 1死改判2死';
	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(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '電價 最快5月底漲';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '月用電量逾110度 每度漲2角';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '學者看法--電漲一成 CPI保二無望';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '抑制通膨 漲幅應設限';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '中小學教科書 有意漲2成';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '台鐵電聯車標案 用16年前舊圖';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '澎湖昨大停電 疑人為疏失';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '中部以北 豪雨持續至週六';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '南科減振 廖本煙：工程灌水25億';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '邱毅點名四評委 是許鴻章人馬';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '學者：兩家工法 減振效果不大';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '《報稅快易通》夫妻薪資所得 可分開計稅';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '報告e傳鬧雙包 一起被當';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '公立國中小委外 專業人員可任教';
	rows[13].link = 'today-life14.htm';
																										
	rows[14].text = '勞家盟質疑 教科書充斥階級主流意識';
	rows[14].link = 'today-life15.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '郭泓志3敗';
	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 = '北縣6連霸 全中運明年南縣見';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《全中運》陳建安 桌球3連霸';
	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 = '《NBA》大帝困愁城 巫師平騎士';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '《NBA》裁判不賞臉 溜馬遭扳平';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '《NBA》衛冕軍 延長賽保住顏面';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '《SBL》3度延長遭淘汰 為台銀喝采';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '《SBL》正確態度 台啤追平達欣';
	rows[14].link = 'today-sp15.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台經院拉警報 今年GDP成長率降至3.91%';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '雙率預測 升息2碼 台幣升破32元';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '立委批經長 不知民間疾苦';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '基金經理人 加重商品投資';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '南台砂價狂飆 建商急跳腳';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '中國將祭新一波宏觀調控';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '身障電話服務中心擬廣推各部會';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '量販店僅多5家 成長趨緩';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '速食麵 每人1年平均吃39包';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '合庫與農銀合併 陳&#20914;︰不宜拖';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '國際趨勢大師大前研一︰台灣惟有創新 才能力拚中國';
	rows[10].link = 'today-e11.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '組合基金 獲利4-12%合理';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '歐央行今年擬升息2次';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '巴黎銀行：調高亞幣預估價';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '《理財Q&A》定期定額 適合各年齡層';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '興富發：房市仍有5年多頭';
	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';
																										
	rows[8].text = '賺外快 聯電Q1 EPS 0.67元';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '摩根大通：台股上看8000';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '卡債風暴暫歇 金融紅光滿面';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '《期指觀測站》突破盤局 偏多應對';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《國際股市》歐股午盤上漲 印度勁揚';
	rows[12].link = 'today-stock13.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(13);
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 = 'TANK 變華研副董私生子？';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '李安凍蒜No.1 氣走萬人迷Rain';
	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 = '媽呀！布蘭妮真的懷胎3月';
	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';
																										
}
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(9);
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 = '國小教師甄選 錄取率僅約0.2％';
	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';
																										
	rows[7].text = '無照停車場 深坑公所接管遭拒';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '整地回填廢棄物 淡大將改善排水';
	rows[8].link = 'today-taipei9.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-north1.htm';
																										
	rows[1].text = '盜挖96七里香樹頭 還設暫植區';
	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';
																										
}
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 = '竊盜累犯需強制工作 檢方不同調';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '貪瀆案開庭 徐維嶽4人還押';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '男子襲警 警開4槍 雙雙掛彩';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '鴛鴦搶劫 路人衝撞 女嫌落網';
	rows[5].link = 'today-center6.htm';
																										
	rows[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 = '火警波及鄰居 判賠1600多萬元';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '破獲討債集團 6男2女送辦';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '貨櫃夾藏中國香菇 查獲2噸';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '行李箱暗藏海洛因 市價3000萬';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《黃天麟專欄》股市動能的解讀與誤讀';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '小利 小惠 大陷阱';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '中國野蠻醫生';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '如果我們有兩個國會';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '裁罰證人 適可而止';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '大家的國立博物館';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '耳根清淨的權利';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '連戰愧對王文怡';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '謝長廷出不出馬';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '害慘台灣學生';
	rows[9].link = 'today-o10.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(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 = '給家裡的麻吉  媽級精品';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '手機=多媒體電腦<br>好看、好聽，好有感覺';
	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(7);
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 = '癌症標靶治療<br>基因篩檢提高療效';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '風流惹梅毒 手腳長斑<br>男子自以為是香港腳';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '我國乳癌早期檢測率<br>仍有明顯的城鄉差距';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '婦人老覺得視茫茫<br>竟是心臟腫瘤惹禍';
	rows[5].link = 'today-medicine6.htm';
																										
	rows[6].text = '遠離肌肉關節疼痛<br>多注意工作姿勢';
	rows[6].link = 'today-medicine7.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '「字之花」<br>開得還要再野一點';
	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';
																										
	rows[6].text = '異鄉的告別';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '奇哥娜文學的女勇士';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '新聞短波';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '德國經典 仰之彌高';
	rows[9].link = 'today-article10.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國美館飆「新台風」 跨領域探討台灣文化';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '氣球、花燈、布袋戲  忠狗101high翻舞台';
	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';
																										
	rows[5].text = '日藝術家榆木令子創作展  由背影看透內在靈魂';
	rows[5].link = 'today-art6.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>比利時布魯日';
	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';
}