//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = 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'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','living','family','medicine','article','young','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="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '美國會報告 中國潛艦2010年可阻美援台';
	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 = '博達案 檢方查出 葉素菲 海外暗槓近40億';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '股東可集體訴訟 向曹興誠求償';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '聯電大股東黃茂雄：中國不是非去不可';
	rows[6].link = 'today-fo7.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '黨魁選舉電視辯論會 游蔡翁同聲批馬';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '各抒己見／游：黨政分離 不負責任';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '歐晉德表態 不參選北市長';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '民進黨 擬禁止代繳黨費';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '立院監視帶 縱管處長確曾襲胸';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '首長譴責 廖源隆降調技正';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '當選無效判定 由落選頭遞補';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '總預算凍2500億 創歷年新高';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '上中央台罵扁 名嘴被批台奸';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '無盟宴席上 王怨馬 連拍肩安慰';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '教師課稅 民間團體反配套';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '姚文智：限播外劇 被簡化誤導';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = 'NCC人事 綠藍對決';
	rows[12].link = 'today-p13.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-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 = '禽流感死亡 中增2病例';
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = '黃禹錫首席科學家頭銜 沒了';
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = '《中英對照讀新聞》Dipping tourism numbers a cause for "major concern" in Zimbabwe 觀光人次減少 引起辛巴威「高度關切」';
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '卡奴不喪志 25歲背500萬 開豆花店償債';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '大樂透連6摃 今拚7億';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '苗栗農工2幼犬 有人領養了';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '討債達人 榮膺傑出催收員';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '犯罪集團 見醉就上<br>假車禍專敲醉駕駛';
	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 = '冒死攻堅破地下兵工廠';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '中國狼教授畏罪火速離台';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '王榕笙撕票案 死者家屬 質疑張嫌親人是共犯';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '英勇6學生 合擒赤腳賊';
	rows[12].link = 'today-so13.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 = '亞太數位網案 系統業者：剪線還不夠';
	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 = '《WSBL》國泰繼續練兵 開幕五連勝';
	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 = 'F1季前試車 舒馬赫創新猷';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '運動彩券 最快明年上路';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '7局飆出14K 鄭凱文完封善化';
	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 = '蘇哲毅 簽約金近三五○萬元';
	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 = '阿扁嫡系人馬 將扛「積極管理」重責<br>林文淵 下任經長大熱門';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '雷曼兄弟:中國經濟 未來5年仍有硬著陸危機';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '學者預測 今年人民幣升值3%至5%';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '權證退稅 等國民黨點頭';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '7大行庫逾放比 土銀最高';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '去年中國台商10大經貿事件 中國通過反分裂法 影響最大';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '紫斑蝶遷徙密碼 全民手機追蹤';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '今年亞洲地產價格 看漲';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '信用卡 擬收年費';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '通貨發行 破兆元';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '寶來、僑銀 聯手搶攻財管商機';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '營建股 12月營收紛創新高';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '工業電腦月績出色 Q1也看好';
	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 = 'iPod熱賣 蘋果股價大漲6.8％';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '新貨量產 華新科獲利大增';
	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 = '封關前10天 股市上漲機率達9成';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '《國際股市》歐股午盤走高 日股大漲';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '《期指觀測站》偏多不躁進 拉回再酌進';
	rows[14].link = 'today-stock15.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 = '安以軒與叔叔歡唱續攤<br>婷婷陳曉東燃愛火';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '香港華語榜中榜頒獎 雙J出鋒頭 大玩躲貓貓';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '王力宏重情義 探不浪家人';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '王心凌張韶涵 為了面子 明爭暗鬥';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '無畏流言 王瑞霞大肚賣唱';
	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 = '銀河40載 夏玉順一頁經紀史';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '費玉清開唱 不撕衣不對嘴';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '布蘭妮 衣Q最糟糕';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '珊卓護胸 奪最受歡迎女星';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '權相宇李東健炒股 狂撈台幣六千萬';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '宋承憲年底退伍 再戰演藝圈';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '小室哲哉搞笑 河村隆一找幼齒';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = 'RAIN 衝人氣大舉進攻日本';
	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(15);
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 = 'PDA繳費單 遇雨擺爛';
	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';
																										
	rows[9].text = '警員討債 被控押人剪髮';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '貪瀆統籌款 北縣7議員再被訴';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '公車當街跑 彈孔上車窗';
	rows[11].link = 'today-taipei12.htm';
																										
	rows[12].text = '1個路口300信箱 郵差快樂送';
	rows[12].link = 'today-taipei13.htm';
																										
	rows[13].text = '蒐集相褒歌 林金城好事成雙';
	rows[13].link = 'today-taipei14.htm';
																										
	rows[14].text = '導覽十三行 夫妻志工攜手同行';
	rows[14].link = 'today-taipei15.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '老宅蜂花雪月 小情侶嘿咻…好糗';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '越女欠賭債遭挾持 交款贖人逮5嫌';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '毒女夥人持槍洗劫老闆 3嫌落網';
	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 = '夢幻世界涉營賭 123名賭客被抓';
	rows[5].link = 'today-north6.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '貧婦量販店掃貨 菜刀也偷';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '六輕包商遭焚屍 借人百萬惹殺機';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '投檢起訴賄選案 新科議員求刑';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '中監收容人暴斃案 解剖發現 動脈瘤破裂大出血';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '瓦斯中毒4屍5命 鑑識員頭皮發麻…';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '社會傳真／被解雇拒返印 看護工上吊';
	rows[5].link = 'today-center6.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '畫別 成醫安寧病友遺作得獎';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '南市查盜砂 魚塭挖成大峽谷';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '悍匪揮榔頭 銀樓櫥窗破';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '鎮海專案 離島誓師';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '澎監技訓 藝鳴驚人';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '兩個林俊宏 警察抓毒蟲';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '社會傳真／撞 老翁命喪平交道';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(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(8);
	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 = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性　　→';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療　　→';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊　　→';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美　　　→';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化　　→';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊　　→';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '20 30 40 向皺紋說No!';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '2006狗來富<br>自由旺旺．旺年會大直擊';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
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 = '800萬畫素DC 功能更創新<br>可拍寬尺寸照片 觸碰螢幕玩塗鴉';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
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-family1.htm';
																										
	rows[1].text = '信不信，有關係？';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '台灣國際兒童電視影展';
	rows[2].link = 'today-family3.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '傷口難癒 當心癌變<br>病灶存在越久 鱗狀細胞癌的機會越高';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '陰道搞自閉<br>夫妻宜先溝通 以免婚變';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '叢發性頭痛<br>與大腦下視丘功能較差有關';
	rows[2].link = 'today-medicine3.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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 = '要錢的嗎？這些東西！';
	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 = '「末代」惠特貝瑞書獎揭曉<br>老將新秀同領榮耀';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '如果不是村上春樹，那就沒意思了';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '德國兩大文學獎開獎<br>信天翁與納莉．薩克斯文學獎';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '後殖民小說教父<br>印度：塞爾曼．魯西迪（Salman Rushdie，1947-）';
	rows[8].link = 'today-article9.htm';
																										
	rows[9].text = '德國現代文學寶庫';
	rows[9].link = 'today-article10.htm';
																										
}
menu = null;

menu = getMenu('young');
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-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台北國際書展今年重頭戲<br>為小讀者打造選書舞台';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '文鳳宣水墨畫 穿梭幻與真之間';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '人生七十才開始<br>王承德草編奇想世界 無師自通';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '看冰爆好萊塢做善事<br>東森巨蛋受表揚';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '國台交 常任指揮遴選<br>邱君強等五人出線';
	rows[4].link = 'today-art5.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
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;
}
//====================  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,700);
}

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,700);
}

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';
}