//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
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/2005/pnews/Pnews0513.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/2005/pnews/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(10);
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 = '李建誠赴港 今出庭應訊<br>陸委會派官員 隨行照料';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '再丟震撼彈 曹興誠將辭聯電董座';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '外資圈看法／曹董交棒 對營運影響不大';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '立委質疑／敏感時刻 外資大賣聯電 應查清楚';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '立委質疑／敏感時刻 聯電副董出脫2160張股票';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '外資賣台股買聯電ECB 立委質疑內線交易';
	rows[9].link = 'today-fo10.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
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-p1.htm';
																										
	rows[1].text = '20種國家考試 取消體檢';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '炒股？馬永成、邱毅再槓上';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '科技專案預算 朝野協商刪16億';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '吳英昭：請辭非單一原因';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '游錫&#22531自喻台灣牛 比台灣馬棒';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '人物側寫／蘇貞昌母親 可愛的智慧老人';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '政媒兩棲砲口對準黨內 鄭麗文大敗馬家軍';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '華視南遷案 朝野今擬不表決';
	rows[8].link = 'today-p9.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 = '亞齊近30年內戰告終';
	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 = '巴西監獄 暴動和平落幕';
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = '《中英對照讀新聞》Smoking ups risk of eye disease吸菸增加眼疾風險';
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '當年緋聞打擊 林志隆敗選';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '愛心e線牽 網友搶購婆婆肉粽';
	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 = '東信掏空案 郭廷才等判賠23.5億';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '全民電通10億掏空案 檢察官帶隊搜帳冊';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '地下電台賣偽藥 3年削上億';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '殺妻詐保金 二審仍判死';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '毒嫌死在警槍下 家屬抬棺抗議';
	rows[9].link = 'today-so10.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '2006第一道曙光 6:33在蘭嶼';
	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 = '小巨蛋跳電 RAIN熱力斷電';
	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';
																										
	rows[9].text = '不堪虧損 台鐵短程票價喊漲';
	rows[9].link = 'today-life10.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '小布太獨 1分輸灰熊';
	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 = '《HBL》雙豪連線 光啟開胡';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '《HBL》強恕白雲龍 上場當出草';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '星願盃比洞 四強出列';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '美聯社票選最佳男運動員 壯哥4連霸';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '誠泰四洋將 春節後報到';
	rows[7].link = 'today-sp8.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '急升1.99角 台幣升破33元關卡';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '油國擬減產 油價漲到近60美元';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '房價走緩 12月CCI下滑';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '最低稅負制 已取得5年免稅不受影響';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = 'FPD產業年終成果發表會 何美玥︰TFT對台經濟貢獻大';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '白肉雞禽況差 醞釀休養';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '中油金門新油庫 下月啟用';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '手工具研發聯盟 促進產品升值';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '外勞換雇主 明年起提高為3次';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '國華人壽多項缺失 挨罰710萬';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '聯電花錢登廣告 尾牙獎品縮水';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '宏達電 年終獎金5個月';
	rows[11].link = 'today-e12.htm';
																										
	rows[12].text = '台塑工會要求加碼年終獎金';
	rows[12].link = 'today-e13.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(13);
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 = '《理財Q&A》5大指標 選擇基金公司';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '股市回升 退票率降溫';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '禾伸堂、日電貿 Q1營收挑戰顛峰';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '敦南手機相機模組 明年出貨倍增';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '米塔爾擬收購包頭鋼鐵49％股權';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '皇冠手提包 中國市佔奪冠';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '6家IC設計 今年營收破百億';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '奇美電︰Q4庫存偏低 液晶電視旺到明年首季';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '力晶茂德 明年上半年 籌資擴產';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '《期指觀測站》高檔賣壓重 短線防回檔';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '《國際股市》歐股午盤走高 日股勁揚';
	rows[12].link = 'today-stock13.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '民主聖地淪陷 嘉市議會偷渡自肥案';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '爸爸按摩傳送愛 RAIN忘了累 笑開懷';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '暴雨跳電 撕衣求愛粉絲狂HIGH';
	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 = '2005明星運動會 叫阮第一名';
	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 = '韓劇四大天后 皺紋稱霸2005';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '納尼亞孤雛淚 比童心拚票房';
	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(8);
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 = '詐騙400人 網拍公敵落網';
	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 = '汐止福安街埋箱涵禍福 2里長執理互槓';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '安康掩埋場案 中央、縣府：尊重民意';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '縣府員工元旦升旗 補休沒了';
	rows[7].link = 'today-taipei8.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '劈腿難抽身 女研究生遭拍裸照威脅';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '少年墜毒海變藥頭 重判6年半';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '被刺1刀險送命 偵查佐獲判賠99萬';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '夫債妻還 醫師夫婦婚姻難醫';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '烏龍一借一藏一報警 夫妻都成偷車犯';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '女陳屍台一線 疑遭多車輾過';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '機車汽車接連撞 婦人命歸陰';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '社會傳真／載毒出車禍 警察意外查獲';
	rows[7].link = 'today-north8.htm';
																										
}
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 = '涉貪瀆 大埤前鄉長易信助判刑12年';
	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 = '張榮味裁定還押 家屬失望';
	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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '假檢警查案 騙走近千萬';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '專業電纜盜 自備剝皮機加工';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '2警，救了1命 自殺運將想開了';
	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 = '養雞場內製毒 2嫌落網';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '涉長期綁標 1鄉長到案';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '社會傳真／被搶 女聞人批警輕忽';
	rows[7].link = 'today-south8.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '我在上海入境';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '主席，別讓鄭麗文壞事！';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '多數通過？';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '多數專制！';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '台大高自費門診 不妥';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '死刑';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '包浩斯與鳳山國中';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '曹董 別鬧了';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '限縮租稅優惠暫緩 遺憾';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '不是3118億';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '態度專業 比教學專業重要';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '捐款給寺廟 應多留意';
	rows[11].link = 'today-o12.htm';
																										
	rows[12].text = '八色鳥的死刑';
	rows[12].link = 'today-o13.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(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(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('young');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(11);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
		rows[0].text = '我不要當衰鬼<br>辦公室開運小物全搜羅';
		rows[0].link = 'today-weekly1.htm';
																											
		rows[1].text = '職場趨吉避凶秘訣大公開';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '跟何潤東去嗑好料';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '中西美食 抓住藝人的胃';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '就鼠你最可愛<br>超卡哇伊滑鼠+滑鼠墊大集合';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '新奇配件 為電腦造型加分';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '好吃又好玩 驚奇食玩大特搜';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '自製中藥暖暖包';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '給家人溫暖的呵護';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '黃體素 懷孕的條件';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '卡奴非人生活實錄';
		rows[10].link = 'today-weekly11.htm';
																											
	}
	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';
}