//===========================================================================
//基本設定
//==================== 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(15);
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 = '蘇德建、鍾智文 業界歷練逾30年';
	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';
																										
	rows[13].text = '邱毅再爆：駙馬幫介入官邸開發案';
	rows[13].link = 'today-fo14.htm';
																										
	rows[14].text = '地主駁斥：無關政治 單純商業行為';
	rows[14].link = 'today-fo15.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 = '朝野甲級動員 明3審直航條款';
	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';
																										
}
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 = "《國際索隱》美新移民法 恐影響深遠";
	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 = "《中英對照讀新聞》Hair-raising Beethoven piece: da-da-da Diamond! 令人毛骨悚然的貝多芬作品：鑽—鑽—鑽 鑽石！";
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '空屋當鬼屋？ 靈異節目挨告';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '陳氏紅琛保險理賠 達7600萬元';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '蜘蛛盜侵入高樓 劫財又傷人';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '4道鎖 鍊拴輪 車賊照偷';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '女嬰遭棄屍 不排除朝殺人案偵辦';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '宜蘭分屍案／2獵人死亡時間 差16小時';
	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 = '健保局開鍘 雲嘉南14門前藥局自首';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '路竹夜行善士 隱瞞11年曝光';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '高市導護阿公 揮旗15年';
	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';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-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 = '珍珠襲中路徑 近60年首見';
	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';
																										
	rows[8].text = '國中基測考前衝刺';
	rows[8].link = 'today-life9.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-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 = 'SBL委員會 決策地位獲確認';
	rows[10].link = 'today-sp11.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '歐洲央行 下月升息';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '買方先付款 賣方後拿錢';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '需求旺 國際鋼廠掀併購風';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '房市交易糾紛 契約審議權居冠';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '統一超商 明年開設MINIPLA';
	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 = '日圓翻揚 台幣勁升2.46角';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '《理財Q&A》買亞股 靜待拉回分批進場';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台積65奈米製程 正式量產';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '全坤興︰今年獲利比去年好';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '東芝斬獲豐 三星跌破50%';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '百和深耕竹炭纖維 成長漸顯';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '封測股回溫 跌深反彈';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = 'GPS手機來電 提高倚天獲利';
	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 = '《國際股市》歐股午盤走升 港星韓大漲';
	rows[8].link = 'today-stock9.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(16);
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 = '林嘉綺慾海調情新歡 油膩膩 黏TT';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '林志玲愛郎撒嬌 3狼輪流上';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '男友泡洋妞 Elva抱狗磨時間';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '周杰倫的BLOG 假的啦！';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '金曲orz演唱會  依林 丞琳獻唱';
	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 = 'i.n.g拍內心戲 真情流露';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = 'Rain買上億法拍屋 當勇樣厝邊';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '李浣談姊弟戀 大10歲無妨';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '菜菜子「妝」優雅 大家都想學';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '艾咪羅森假戲真做 對寇特羅素動情';
	rows[15].link = 'today-show16.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 = '珍珠來襲 縣內60座抽水站抗洪';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '無門號有戶籍 戶政怪現象有夠扯';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '詩畫民謠3合1 展台灣感動';
	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 = '4A自由創意獎 新生代創意王齊聚';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '未兌領退稅款，金額近3300萬元';
	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 = '妨害性自主罪究辦 教局：斷自新機會';
	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 = '吸金5億 佑寧疑洗錢到海外';
	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 = '慘！85％頭皮被掀起… 婦人痛苦自殺 2度重建';
	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(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 = '9名男女持槍毒 3人是大學生';
	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 = '高屏溪原水濁度飆升 南化水庫增援30噸水';
	rows[6].link = 'today-south7.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 = '深髮4造型';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '百貨精緻超市 豐富生活的起點';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '挑價錢，聽音樂 MP3新手機出列';
	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(6);
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';
																										
	rows[5].text = '想改善睡眠 試試奇異果';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
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-article1.htm';
																										
	rows[1].text = '秘魯文學新浪搶灘<br>2006豐泉小說獎揭曉 朗卡吉利歐獲獎';
	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 = '詩意，藍色銀河  專訪美國樂人Damon Krukowski';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '香港新生代 文字開花';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '齊瓦哥醫生 原味重現';
	rows[6].link = 'today-article7.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 = '日、韓、新、美等國策展人齊聚<br>台灣表演藝術展現多元競爭力';
	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 = '理性與感性的義大利';
	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';
}