//===========================================================================
//基本設定
//==================== 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(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '「一審有罪下台」 游錫&#22531;提的';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(17);
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 = '陳瑞仁：我若陣亡 周士榆會頂著';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '股市政盪 下挫41點';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '躲大案子 法官避沾案氣';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '藍委諷扁 不如龔照勝、林忠正';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '公關公司恐嚇洩密？ 黃志芳：部聘的沒有';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = '61億反潛機預算 立院初審過關';
	rows[12].link = 'today-p13.htm';
																										
	rows[13].text = '台北市長選舉／創意杯墊 謝長廷秀政見';
	rows[13].link = 'today-p14.htm';
																										
	rows[14].text = '台北市長選舉／留影獻聲 郝宋打媒體戰';
	rows[14].link = 'today-p15.htm';
																										
	rows[15].text = '高雄市長選舉／有力人士掀波 陳菊、黃俊英交鋒';
	rows[15].link = 'today-p16.htm';
																										
	rows[16].text = '吳樹民籲歐盟支持我加入世衛';
	rows[16].link = 'today-p17.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 = "全球第34名／台灣清廉度 較去年跌2名";
	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 = "WHO秘書長改選 陳馮富珍苦戰";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "越南可望今加入WTO";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "未來客機 「惦惦」無噪音";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "《中英對照讀新聞》Talking face to face面對面交談";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '窮運將拾金21萬歸還女乘客';
	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 = '前味全龍隊總教練徐生明爆料 曾被4支槍押走';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '限制員工行動 破壞監視器 當場逮4嫌／廠房租地糾紛鬧事 警官交保';
	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 = '隱忍50年 80歲老妻聲請保護令';
	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 = '爬行50年 苦學變精修大師';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '9歲女癌童斷臂求生';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '日本老婦 來台當志工';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '登台走秀 星兒募款圓夢';
	rows[13].link = 'today-so14.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '被疑綁標／1.4億消防車標案 民航局急卡';
	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 = '日48腦中風患者 服t-PA致死';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '高鐵擾鄰 隔音牆被批當擺飾';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '第一屆榮三盃雙棋王之師 羅番仔嚴出名 教棋藝也教人品';
	rows[6].link = 'today-life7.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '俠客不在家 76人3連勝';
	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 = '全國田徑錦標賽／林家瑩 7破全國';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '紐約馬拉松賽 阿姆斯壯 挑戰成功';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '王建民 今晨6時半載譽返國';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '郭泓志 當兵去';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '台灣1分 險勝古巴';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '競標松&#22338;防球團「搞破壞」 大聯盟擬增遞補交涉權';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '洲際盃 台灣拚首冠';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '左、側、高壓投法 業餘3小龍各顯神通';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '日韓古澳 我4大關卡';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '不動產交易價金信託 買屋心安';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '美股高檔震盪 資金轉戰美債';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = 'Q3表現亮眼／東協基金爆紅 追高宜謹慎';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '營收未沖銷 部分上市櫃虛胖';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '高峰百貨大樓 復華5.85億標購';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '薄酒萊16日開瓶 預購先登場';
	rows[6].link = 'today-e7.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '金管會自律規範「不許多問」';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '10月CPI年增率 負1.19%';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '華爾街5大券商 將發360億美元紅利';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '友達Q4營收 可望超越台積電';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '鴻海擬併購？ 鎰勝逆勢大漲';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '面板漲價 華映營益率差點轉正';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '京元電、典範創歷史新高';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = 'Vista效應 NB廠大發利市';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '歐股午盤漲 港印勁揚';
	rows[9].link = 'today-stock10.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(14);
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 = 'AV女優當考題 小豬汗顏';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '金鐘魔咒纏身 王琄嘆無戲約';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '2moro狂採筍 彥均手傷掛急診';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '吳克群超自虐 MV再度討打';
	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 = '再生緣腰斬 獻愛力挽頹視';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '微笑PASTA延播完結  收視下滑';
	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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '捷運景安站工地失火 旅客掩鼻逃';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '台北霞海城隍廟 占公地判賠';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '路燈電死人 起訴公所課員及包商';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '瑞亭消防分隊 自家門口沒水用';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '爆秘密變電所 八里人醞釀抗爭';
	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 = '老技藝／木屐業盛極一時 僅存1家';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '打造紅麴故鄉 樹林邁開第1步';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '更新華光社區 計畫鮮出爐';
	rows[10].link = 'today-taipei11.htm';
																										
	rows[11].text = '議員選情民調直直落 綠營低迷 選將憂棄保';
	rows[11].link = 'today-taipei12.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 = '警臨檢旅館 3見裸奔撈女';
	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 = '社會觀測站／車停警局附近10分鐘 議員皮包被偷';
	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 = '違法放貸逾5億 彰市農會總幹事判7年';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '騎鐵馬搶劫 蒙面毒匪落網';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '南投客運遭竊 2賊留影';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '跳蚤市場買工具 赫見失竊物';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '線西公所招標弊案 6人判刑';
	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(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 = '國小生，罰站整天 老師太誇張';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '受虐生，被帶離家 老師不起訴';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '轎車追撞6車 1重傷2輕傷';
	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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '馬總統？ 小心陳瑞仁！';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '審計不審己';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '雙雙重標準';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '也是檢察官看法';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '竹科→香山蚵';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '《黃天麟專欄》宋人議未定，金兵已渡河';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '蘭陽之鷹';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '請民進黨員立正致敬';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '如果當初陳定南拚經濟';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '建議阿扁總統';
	rows[9].link = 'today-o10.htm';
																										
}
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 = '動力Yaris 明天出招';
	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(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '小男人大夢想';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '睡美人尋找高潮';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '沙茶甜椒羊肉串';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '＜徵文啟事＞我的美人計';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 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(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 = '敘事的技藝<br>第二屆林榮三文學獎短篇小說獎初、複審側記';
	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('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
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-art1.htm';
																										
	rows[1].text = '解析工業設計師創意密碼  葉穎出版《設計私地圖》';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '民謠交響化  蔡琴與長榮交響樂團合作';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '防浩劫再重演 佛羅倫斯編防災預算';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '俄羅斯三文豪文物展  首度展現國人面前';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '《柏林街景》上拍賣桌';
	rows[5].link = 'today-art6.htm';
																										
	rows[6].text = '「台式風景」找回樸實心';
	rows[6].link = 'today-art7.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';
}