//===========================================================================
//基本設定
//==================== 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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '2004年4月得悉老將曾串連 扁親自查證';
	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 = '會馬英九 談三一九槍擊案<br>李昌鈺稱 目前算暫時結案';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '僱非法外勞 1個重罰75萬';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '非法外勞逾2萬人 去年只罰200件';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '拍照、按指紋建檔 冒名外勞躲不了';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '三步驟 避免請到黑牌外勞';
	rows[8].link = 'today-fo9.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 = '民進黨初選 傾向528投票';
	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(9);
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 = '近4成南韓人 認中國最具威脅';
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = '法就業法抗爭 席哈克促協商';
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = '法輪功學員控訴 瀋陽集中營 非法摘取活體器官';
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = '印度巫醫醫死人 被村民斬首';
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = '《中英對照讀新聞》Frozen French couple cremated after freezer system breakdown 法國夫妻遺體在冷藏系統故障後火化';
	rows[8].link = 'today-int9.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 = '13歲嫁22歲 帶球當新娘';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '樂透大洗牌 週1至5天天開獎';
	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 = '神奇豬腳又1隻 遶境完不腐 庇佑女兒考大學';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '廖福本誣告判刑5月';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '罵鄰居「死肥豬」 醫師娘判賠2萬';
	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 = '真家徒四壁 買法拍屋 門都沒有';
	rows[12].link = 'today-so13.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '韓商投標 交通部維持禁令';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '台鐵、經濟部互打筆仗';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = 'ETC後續營運 政府腹案 擬由中華電信、中華郵政接管';
	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 = '愛滋減害破功？ 1.5萬支針頭 回收率不到1％';
	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';
																										
	rows[9].text = '公益AMC週五上路 弱勢卡債族暫喘口氣';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '科學季大手筆 拍攝台灣生命力';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '蹓鳥博士 這回不露屁股露學問';
	rows[11].link = 'today-life12.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《WBC》決戰10:00 松&#22338;先發抗古';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《WBC》賭盤 古巴稍佔上風';
	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 = 'NCAA16強 布大扮種子殺手';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '險勝歐文1桿 潘普林封王';
	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 = '《BenQ uBa》北體險破功';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '主秘調職未退 陳全壽立院挨轟';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '時間點太巧 傳出陰謀論';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '教練國光獎金 立委促恢復';
	rows[11].link = 'today-sp12.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(12);
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 = '益通1130元 史上第三貴';
	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 = '台灣IC產業 今年產值1.2兆';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '台北塑橡膠工業展 商機龐大';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '新鮮人理財 從存錢開始';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '印度股市 漲勢近尾聲？';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '《理財Q&A》紓解欠債壓力 找張老師';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '數位相機 3月起迎旺季';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '宏達電配息14元 配股2元';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '轉型免費遊戲 智冠搶人氣';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '科技擴廠熱 H型鋼領漲';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '投信作帳 買兆赫 棄建漢';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '興櫃再錯帳 害南電早盤急挫';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《期指觀測站》台指期逆價差收斂 區間整理';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《國際股市》歐股午盤走揚 日股大漲';
	rows[7].link = 'today-stock8.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '柔性政變？兩老將兩年前要李傑裝病';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '柯林法洛嘿咻激戰 被看光光！';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '3個月墊支21億 頻道商訐譙';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '王力宏被倒帳 20%代言費蒸發';
	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 = '葉家妤32D波動 哥兒們偷瞄';
	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 = '新秀TANK 求生存衝第一';
	rows[11].link = 'today-show12.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(11);
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 = '新生高架70公里 環東大道80公里 快速路調速限';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '門檻過高 瓦斯表保證金退費難';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '7千技工意外險 等中央點頭';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '學齡前兒童篩檢 一次OK';
	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 = '遊民取餐處 三重大同公園治安堪慮';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '母欠卡債 女兒上學被逼還錢';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '機車遭撞飛 女子腦震盪送醫';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '賣搖頭丸、K他命 地下舞廳被查獲';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '與3次郎交易 中國賣春女被逮';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '父子偷渡來台 返家陰陽兩隔';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '社會傳真／花蓮電梯強盜案 逮捕一嫌';
	rows[5].link = 'today-north6.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(11);
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 = '認罪協商 潭子12人判刑';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '老母報案 及時救回尋短兒';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '涉故意收贓 父子遭收押';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '狗吠狗 主人互毆雙雙起訴';
	rows[7].link = 'today-center8.htm';
	rows[7].type = '社會傳真';
																										
	rows[8].text = '失業男搶劫 還打傷被害女子';
	rows[8].link = 'today-center9.htm';
	rows[8].type = '社會傳真';
																										
	rows[9].text = '剛出院就砍人 精神病患判10年';
	rows[9].link = 'today-center10.htm';
	rows[9].type = '社會傳真';
																										
	rows[10].text = '賴帳、傷警 女子觸流氓條例';
	rows[10].link = 'today-center11.htm';
	rows[10].type = '社會傳真';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-south1.htm';
																										
	rows[1].text = '馬路騎景 超級腳踏車 高逾2.5公尺';
	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 = '收賄放水 檢方約談8名員警';
	rows[4].link = 'today-south5.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 = '凍容族 引爆美妝4風潮';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '百貨公司 搶修時尚學分';
	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 = '3.5升日系豪華CUV的戰爭3.5<br>Lexus RX350 vs. Infiniti FX35';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
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 = 16;
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-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';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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-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';
																										
}
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 = '4種類型T-shirt有型出招  必備行頭不只一件！';
	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 = '法國電影節 故宮文會堂浪漫上映';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '音符與墨痕相交會 國家國樂團用音樂感應書法能量';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '《城市灰姑娘》 探索女性內心世界';
	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 = '在眾神的住所下祈福 尼泊爾加德滿都';
	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,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';
}