//===========================================================================
//基本設定
//==================== 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(12);
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 = '318反併吞大遊行 台聯願共襄盛舉';
	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';
																										
}
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 = '被畫成深宮怨婦 呂找到元凶';
	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 = '中國800枚飛彈 對準台灣';
	rows[7].link = 'today-p8.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-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 = '尼斯湖水怪 真象大白？';
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = '中國管制網站 自由門闖關';
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = '《中英對照讀新聞》Idaho\'s image becomes hot potato 愛達荷州的形象成為燙手山芋';
	rows[9].link = 'today-int10.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 = '衛星空照圖 救簡同學一命';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '抄六合彩賭站 2個月簽注上億';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '全民電通案 張俊宏百萬交保';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '逢甲惡皇帝 交付感訓3年';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '火毀逃生梯 三代5人魂斷閣樓';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '台塑六輕廠氣爆 1死5傷';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '徵信社抓姦凸槌 婦人索賠';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '徵信社扮神棍 坑癡情女郎';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '女嬰離奇失蹤 追查竟遭父母壓死';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '一碗麵 感動東瀛醫師';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '日本版／母子合叫1碗 老闆偷偷加麵';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '愛心湧入校 3姊弟畫感恩';
	rows[12].link = 'today-so13.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-life1.htm';
																										
	rows[1].text = '南市府哺乳室 變成秘書辦公室';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '不遵守兩平法 大企業無托育措施';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '南投幼兒施打疫苗致死案 衛生局長廖龍仁、公衛護士陳環珠 無罪';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '美如坐月子水 即起 下架銷毀';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '五年內無營業活動者 可望免息';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '航發會 投資高鐵45億 判無效';
	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 = '冠軍乳牛 年產14,606公斤';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '碘化甘油類祛痰藥 衛署暫不下架';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '經典賽分析';
	rows[0].link = 'today-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 = '福特錦標賽 伍茲1桿逼退新秀';
	rows[6].link = 'today-sp7.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 = '首屆車用電子展 下月17日登場';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '整合會館 爭取長宿休閒商機';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '日本退休金市場 60兆日圓';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '2月CPI 13個月來新低';
	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 = '開發金擬提二案 金鼎證質疑掏空';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = 'OECD籲美、歐、日 放慢升息速度';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '女性理財 四不一沒有';
	rows[10].link = 'today-e11.htm';
																										
	rows[11].text = '失業勞工子女就學補助 受理申請';
	rows[11].link = 'today-e12.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '《理財Q&A》註銷信用卡 手續簡便';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '人民幣對美元 學者建議 放寬交易區間';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '日圓走貶 台幣欲振乏力';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '液晶電視面板 Q2看跌';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '外資喊進友達 買超逾1.5萬張';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '奇達 無汞背光技術領先';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = 'DDR2現貨、合約價 死亡交叉';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '益通明掛牌 高價股表態';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '興富發派2元 皇翔4元';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '《期指觀測站》外資縮手 短線震盪整理';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '《國際股市》歐股午盤走高 亞股大漲';
	rows[11].link = 'today-stock12.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(13);
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 = '俏妹比靚 搖裙襬爭峰采';
	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 = '菲利浦瘦18公斤換影帝 瑞絲笑納30歲生日后禮';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '克隆尼得獎還嘆氣 瑞秋上台不囉唆';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '木村拓哉 成了蹩腳金拓';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '王菲滿臉紅豆 見狗帶球跑';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '當不婚媽媽？ 阿妹不排斥喔';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '陳亞蘭拍戲寂寞 想養小狼狗';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '黑暗堡壘來台 火線同盟竄第1';
	rows[12].link = 'today-show13.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 = '薪傳獎得主 性侵少女賠300萬';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = 'ETC翻版／羅斯福路公車專用道啟用 公車空蕩 汽車苦塞';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '公車專用道 再增8路線';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '禽勢若爆發 徵45校收病患';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '鱷夢！ 頭破血流';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '永和次系統施工慢 安坑人噩夢';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '見證五股開發 守讓堂將列歷史建築';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '九份打工 7年級生兼練外語';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '捷運民生汐止線 汐止將設3站';
	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 = '開贓車毒蟲拒捕 警槍制伏';
	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';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '國道工程當掩護 大甲溪盜砂集團濫採';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '酒後爭吵 弟刺死躁鬱哥';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '網路2狼劫財劫色 判處20年';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '役男騎贓車會女友 摔車洩底';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '遇搶劫猛追 店主被拖行500公尺';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '撇清涉案 道上大哥促警破案';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '社會傳真／深夜外出 男子溺斃圳溝';
	rows[6].link = 'today-center7.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
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 = '越界捕魚 22艘中國漁船 可能被驅離';
	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 = '清源 仁武分局7員警被懲處';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = '虐妻 讓她冬冷夏熱 婚姻被判離';
	rows[6].link = 'today-south7.htm';
																										
	rows[7].text = '懸賞 三信搶案嫌犯照片公佈';
	rows[7].link = 'today-south8.htm';
																										
	rows[8].text = '女子疑吃減肥藥暴斃';
	rows[8].link = 'today-south9.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 = 'Rh檢驗 廢了無妨';
	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 = '這一季，極簡眼鏡最搶眼';
	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 = '當個好野人 電玩遊戲幫你圓夢';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
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 = '你敢偷腥？ 看我抓包！';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '同樣自拍，「身」價不同';
	rows[1].link = 'today-family2.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '除舊佈新 小心甲醛中毒';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '酒量變差人消瘦<br>肝臟健康拉警報';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '血壓計 那一種比較好？';
	rows[2].link = 'today-medicine3.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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-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';
																										
}
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 = '8潮人4潮牌<br>大牌雲集聯手掀起台灣潮流風暴';
	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 = '生活除了彈琴還是彈琴<br>俄鋼琴家紀辛將來台';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '赫島社台灣獎挑戰建築雙年展<br>期待突破國際能見度障礙';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '鋼鼓音樂充滿歡樂 朱團音樂會今晚演奏';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '認識台灣 從空中開始<br>《台灣山林空中散步》出版';
	rows[4].link = 'today-art5.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '三月天 泡湯 戲雪<br>日本草津溫泉';
	rows[0].link = 'today-travel1.htm';
																										
	rows[1].text = '坐叮噹車 尋訪舊金山';
	rows[1].link = 'today-travel2.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,700);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,700);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}