//===========================================================================
//基本設定
//==================== 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(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '「施不會倒，我也不會倒」扁：一起為台灣打拚';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '倒扁無暝無日 15日夜遊路線保密';
	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';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
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-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 = '扁：2010年 中國具大規模犯台能力';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '本洲工業區  中國回流台商大匯集';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '台聯參選人 向美商會抗議';
	rows[6].link = 'today-p7.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 = "日迎皇嗣 生子經濟420億";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "卡德隆勝出 墨大選官司定讞";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "玩出大商機 魔獸世界年賺10億美元";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "環球鐵道之旅 61號座位男導遊";
	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 = "《中英對照讀新聞》Tear-filled silence marks Beslan crisis anniversary 充滿淚水的默哀儀式悼念比斯蘭事件週年";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '父喪披麻 么女與母姊爭產';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '破偽證集團 禍首同一人';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '燙手夢幻跑車 偷得到賣不掉';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '謠傳被掏空 阿蓮農會擠兌暫歇';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '她外貌成熟 他判無罪';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '痴漢打手槍 逼少女賞鳥';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '警護人蛇 竄改資料 留越女陪酒';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '救星 守護後山腦麻兒31年';
	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';
																										
}
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 = '我大學學雜費 佔收入比率世界之最';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '一堂課擠500人 一間教室塞不下';
	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 = '小5生拾獲虎化石 天注定';
	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(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '洋基逆轉 建仔無緣17勝';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '錯失17勝 還是勝投王';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '擁抱17勝 竟是如此困難';
	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 = '小雞啄大象 登投手3冠王';
	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 = '亞運隊未入選 陳峰民：意外可惜';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '德意志銀行高球賽 伍茲抓鷹逆轉5連勝';
	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 = '羅迪克 幫阿格西復仇';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '世界羽球錦標賽 我13選手獲參賽資格';
	rows[14].link = 'today-sp15.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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-e1.htm';
																										
	rows[1].text = '速克達省油 在美國熱賣';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '借款契約 暗藏九大陷阱';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '綠能產業 市場看俏';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '緩衝期屆滿 卡債族拉警報';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = 'KBC境外基金 搶眼上市';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '《理財Q&A》重大疾病險  保險金一次給付';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '投資基金 馬志玲報酬率達168%';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '美國衍生多項防衛措施';
	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 = '8月CPI跌幅0.57% 7年來最大';
	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 = '庫存警報解除 面板廠回春';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = 'TV背光模組放量 輔祥月績上衝';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '手機回溫 LED下游股先受惠';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '南科：合約訂單看到明年6月';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '獲專利授權 雅新進軍LED照明';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '《國際股市》歐股午盤跌 日本、南非上揚';
	rows[13].link = 'today-stock14.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(15);
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 = '準媽咪將心比心 孟庭葦嘆王菲菸傷Baby 一定好後悔';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = 'K歌瘦身 唱安室&阿妹歌減肥？';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '謝賢護女自封爛鬼 挺鋒芝戀辦廁所婚禮';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = 'Hebe變髮 撇緋聞大喊愛男生';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '金馬獎急轉彎 台灣影人2獎更名保留';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '王心凌K歌慶生 喝掛沒臉見人';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '潘慧如低頭道歉 momo台賞閉門羹';
	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 = '琳西男友遊水都 追問婚事6次裝聾';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '影展主席 力邀李安明年當評審';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '黑眼圈掌聲 撼動水都7分鐘';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '尹晶喜學當才女 尋找Mr.Right';
	rows[14].link = 'today-show15.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》台灣如此不爭氣！';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》苛刻與雙輸';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》便宜行事的正義';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '交易嗆角頭 毒舌挨子彈';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '點餐起衝突 女碩士踢椅 粥老闆扁人';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '教師兼導護 教師會教局不同調';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '府會僵局 副縣長稱戴鋼盔斡旋';
	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 = '八里水岸藝術節 異國歌舞大FUN送';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '蘆洲湧蓮寺商圈 熱情森巴招人氣';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '拆競選廣告 議員齊開砲';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '謝長廷開火 左打馬 右批郝';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '借屍還魂車換照 12年後碰壁';
	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 = '查出被撞者死於肺癌 司機判賠1050元';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '花蓮榮民喪火窟案 女嫌另涉迷魂洗劫';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '涉擄商人逼簽本票 2嫌送辦';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '毒蟲遇警吞毒不成 扳嘴露餡';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '染毒夫婦飛車行搶 稱兒血癌';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '專偷夜市攤販車輛 2嫌被捕';
	rows[9].link = 'today-north10.htm';
																										
	rows[10].text = '愛上同事性侵未遂 男子被訴';
	rows[10].link = 'today-north11.htm';
																										
	rows[11].text = '中國新娘賣淫被捕 哭訴貧病';
	rows[11].link = 'today-north12.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(16);
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';
																										
	rows[5].text = '勞退舊制提撥 縣府強勢「輔導」';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '國小代辦費 教局將清查';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '採購2萬個餿水桶 大甲被疑黑箱';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '105公尺 全國最高摩天輪 落腳老虎城';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '健康上市 林內木瓜大餐 養顏美容';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '國際管樂節 踩街飆創意';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '社團出招 校園掀搶人大戰';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '阿展師自強麵包 傳授弱勢';
	rows[12].link = 'today-center13.htm';
																										
	rows[13].text = '愛的書庫…不怕你來借';
	rows[13].link = 'today-center14.htm';
																										
	rows[14].text = '無聲做月餅 美味說不盡';
	rows[14].link = 'today-center15.htm';
																										
	rows[15].text = '電子街促銷 1元A好康';
	rows[15].link = 'today-center16.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 = '催債，奪命  逞兇男子判賠408萬';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '冒名，騙錢  假地檢署詐得近百萬';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '詐騙兄弟檔 橫行兩岸 17人送辦';
	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';
																										
	rows[8].text = '禁錮陸娘 一嫌落網兩在逃';
	rows[8].link = 'today-south9.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 = '重度喀網 怎能缺3G';
	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 = '男友說沒錢結婚  自備婚戒等他娶';
	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(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '沒有非常特殊的人選？<br>NSO 音樂總監延期出爐';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '追尋毛澤東歷史定位';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '驫舞劇場新作<br>《樓梯》尋找新舞蹈語言';
	rows[2].link = 'today-art3.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';
}