//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('週末生活版'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '扁倡「泛綠聯盟」 由李主導';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '未挺扁？ 李：我非綠，我挺台灣';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '親綠學者 要推公民社會會議';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '南市遊行「台灣主權不屬中華民國」';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '李傑「海量」帶兵';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '學者指出第二共和成敗 美中態度是關鍵';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '謝長廷 誓讓淡水河比愛河更美';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '蘇游站台 打馬挺謝';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '南北兩戰場 謝都是主帥';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '綠委抨郝濫權說謊 應退選';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '郝總部成立 馬操作棄保';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '周玉蔻左右開弓批謝郝';
	rows[11].link = 'today-fo12.htm';
																										
	rows[12].text = '高雄市長選舉／拒馬？黃俊英忙消毒';
	rows[12].link = 'today-fo13.htm';
																										
	rows[13].text = '宋：別只想關上門喬事情';
	rows[13].link = 'today-fo14.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '中央歲出預算 藍委將砍220億';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '國務機要費 藍軍要大刪';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '蘇貞昌：盼軍購案儘快通過';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = 'L-3公司 不符我軍需';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '海軍陸基飛彈 明年全換雄二';
	rows[10].link = 'today-p11.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 = "特殊蛋白質／ 貓尿臊味元凶 「好奇心」找到了";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "開傘太慢 美跳傘玩家喪命";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "<中英對照>Copy-cat cloning firm goes out of business 模仿跟進的複製公司倒閉";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(18);
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 = '刷卡購物換現 重利夫妻落網';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '診所販嬰案 逾150家庭坦承買嬰';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '逛公園 挖到5.47克拉鑽石';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '直銷聞人 酒駕撞爛法拉利';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '蛇咬治癒 血清奪命 保險判賠';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '25歲榮總醫師 5樓住家墜樓';
	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 = '不孝富家子 拒養85歲老母 拋棄扶養權';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '惡子棄老父 新宅到手 逐父出家門';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '志工有愛 盲胞借光';
	rows[14].link = 'today-so15.htm';
																										
	rows[15].text = '堅強媽媽 獨育2肌萎兒 還為獨居老人送餐';
	rows[15].link = 'today-so16.htm';
																										
	rows[16].text = '導盲犬台灣製造 10年有成';
	rows[16].link = 'today-so17.htm';
																										
	rows[17].text = '脊傷 愛情不打折';
	rows[17].link = 'today-so18.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 = '成大檢測118人尿液 孕婦女童 驗出環境荷爾蒙';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '市售清潔劑壬基酚含量 1／3超過歐盟規範';
	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(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '紅雀開喜';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '雷耶斯 菜鳥傳奇';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '這一回 李蘭踢到鐵板';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '低溫中 羅傑斯對決韋佛';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '日本職棒總冠軍戰 火腿 扳回一城';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '再見安打 熊連演兩場';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '對決遭狙擊 大餅哭了';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '布雷上場 獅迷棒指左外野標竿';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '先發王牌 無凍投';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '澳洲登高王 台北101連霸';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '聖托盃世界高球賽／余珮琳個人第3 史上最佳';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '馬刺滅火 熱身首勝';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '巴西桿位賽 大舒愛車出狀況';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '馬德里名人網賽／費天王 本季第10冠';
	rows[13].link = 'today-sp14.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(2);
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';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(2);
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';
																										
}
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 = '高鐵通車 將邀51萬人次試乘';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '大小老婆超重 五月天罰款10萬';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '蓋世英雄純情告白 王力宏自爆 愛過陳潔儀';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '王仁甫嚴守關 孫協志挖牆腳';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = 'Jolin愛心童樂會 裝超人扮天使';
	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 = '金馬獎入圍今揭曉 章子怡 周迅拚女主角<br>張睿家和童星搶新人';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '金馬預售套票 劃位大戰開打';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '奧蘭多帶動唱 敲三下High翻歌迷';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '傑斯秀台灣國旗 離台送簽名';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '酒毒當春藥 芭黎絲盡性偷吃';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '金亞中露一手 粉絲嘗甜頭';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '六月難斷霍正奇 同地軋戲超有緣';
	rows[13].link = 'today-show14.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(7);
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 = '攀岩失足 墜落10多公尺斷腿';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '早餐店冒火 6支瓦斯桶急沖涼';
	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 = '內湖再生家具賣場 28日開張';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '盜蓋婆婆印章 獨佔亡夫理賠金';
	rows[6].link = 'today-taipei7.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 = '黃槿伴50載 老漢佝僂樹彎腰';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '羅芳伯傳奇客家戲 27日搬演';
	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 = 'ROT大改裝 明湖水漾會館好風光';
	rows[5].link = 'today-north6.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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-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 = '社會傳真／酒駕未繳罰金 變通緝犯';
	rows[4].link = 'today-center5.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 = '16歲中輟女生 棲身破工寮';
	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';
																										
	rows[7].text = '騎鐵馬看老樹 綠色生活新主張';
	rows[7].link = 'today-south8.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 = 'ROC=破壞性情緒共和國';
	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 = '日本的Happy Monday';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '台灣史 不是中國的方志史';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '愛河鋼琴協奏曲';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '「美麗島」國歌 值得考慮';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '請打開國際視野';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '化妝水2006大躍進';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '大師手筆 付得起';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '美妝零售賣場轉型 吹起自有品牌風';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '皇室御用家電 超高檔 搞設計';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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 = '選色彩看愛情';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '好友未婚懷孕 對方只有20歲';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '消費大事週報';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '茶芡炸雲吞';
	rows[3].link = 'today-family4.htm';
																										
	rows[4].text = '＜徵文啟事＞收納大法';
	rows[4].link = 'today-family5.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '冰凍肩 半夜的刺客';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '刮除腋下頂漿腺 遠離狐臭困擾';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '黑眼圈成因複雜 耐心治療才能改善';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '乳癌高危險群  定期篩檢不可少';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '作息正常 拒當有痔之士';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '多抱抱小嬰兒  減少寶寶心理問題';
	rows[5].link = 'today-medicine6.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
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 = '愛讀書《紫蓮之歌》';
	rows[5].link = 'today-article6.htm';
																										
}
menu = null;

menu = getMenu('art');
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 = '聯邦美術獎獎項昨公布<br>新人獎首獎得主古明倉 印象大獎得主高慶元';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = 'NSO 二十歲 總監簡文彬感性致詞';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '新竹交響管樂團 勇敢跨界';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '中國涉侵權 仿製台北故宮國寶瓷器';
	rows[3].link = 'today-art4.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '千年佛教寶地巡禮 韓國釜山';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}