//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('週末生活版'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '政治協商 蘇、馬同步出招';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '台聯拱王 諷馬「假惺惺」';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '挺王派立委：時機未成熟';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '綠議員促馬公布特支費明細';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '施：雙十串連全台抗爭';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '扁拋議題 領土範圍 納入憲改黨版';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '解領土問題 扁有三選項';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '憲改領土敏感 須向美日說明';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '美關心憲改 游籲勿憂心';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '國親批扁 意圖藉修憲脫困';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '洪裕宏：模糊領土 可解爭議';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '徐永明建議修憲換罷免 綠委反對';
	rows[11].link = 'today-fo12.htm';
																										
	rows[12].text = '總統制或內閣制 綠10月拍板';
	rows[12].link = 'today-fo13.htm';
																										
	rows[13].text = '姚嘉文：制憲須成社會運動';
	rows[13].link = 'today-fo14.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(9);
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 = '又見決策反覆？張富忠否認930辦遊行';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '中爭WHO幹事長 想暗搞台灣';
	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 = '叩關聯國 我尋求法律救濟';
	rows[8].link = 'today-p9.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
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-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 = "《中英對照讀新聞》Silent signs show politicians' power and weakness 肢體語言透露政治人物的能力與弱點";
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '外勞掙錢 勞雇是非多';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '警專「警」張 當不了條子 再賠百萬';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '狂刺14刀 暴夫殺妻再跳樓';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '絲襪釣蝦 奧客無餌豐收';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '「蜂」狂攻擊 彰師大38人送醫';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '24歲正牌船長 梓官最幼齒';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '村幹事 麻園「名」產';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '癌媽餘生3個月 發願募救護車';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '馬術治療 身障「童」樂';
	rows[8].link = 'today-so9.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '片面條款 全部取消 禮券不得設限 須履約保證';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '世界心臟日／多運動保健康 心力評量表 測心臟年齡';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '妥瑞症 中藥臨床治療見效';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '1400公里外低氣壓 恐變颱風';
	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 = '哥羅芳害蟲 技術員不孕';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '金面媽領軍 八縣市水陸遶境';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '湄洲進香 大甲媽起駕';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '伯勞過境 車劫處處';
	rows[9].link = 'today-life10.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '一號投手季後賽最多扛6場 建仔：已有心理準備';
	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 = '邦斯734轟 國聯新高';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '坐板凳的葉君璋 代打建功';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '林恩宇後援 保勝果';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '姜建銘 吞首敗';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '林羿豪 披上巨人球衣';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '奪人之美 率先拿下15分 歐洲3連霸';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '台維斯盃 睽違25年 阿根廷驅兔爭冠';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '世界羽球錦標賽 中國情侶 男、女冠軍';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '職撞排名賽第201站 阿順4連勝 重現球王風采';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '鮑威爾 輸在起跑點';
	rows[12].link = 'today-sp13.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
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].link = 'today-e1.htm';
																										
	rows[1].text = '存外幣 先看清該國情勢<br>南非幣 年息6% 匯損9%';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '呂桔誠 將接京城銀董座';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '陳官保 盼國有地有效利用';
	rows[3].link = 'today-e4.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '面板四虎 本季獲利超越LPL';
	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';
																										
}
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 = '菲傭揮刀狂殺 僱主1家4傷';
	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 = '被爆和舞者牽手？ Ella澄清是弟弟';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '陶&#21894;熱情一吻 Jolin狂野求愛';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '燕姿精選太粗糙？ 歌迷買片嗆華納A錢';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '桃色交易換小喬？林志玲撇清';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '沈光遠還債1億 黃韻玲不離不棄';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '極道學園爆抄襲 兩派網友吵翻天';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '吳克群 LA逐夢 簡單生活 隨處驚喜';
	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 = '李寶英公主 28日微服來台';
	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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '養落難領角鴞 反被送辦';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '色老闆性侵女童 供免費漫畫封口';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '斯巴達式泳訓 北縣消防局將行改革';
	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';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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-north1.htm';
																										
	rows[1].text = '雨傘節遭輾斃 地方人也惋惜';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '被騙匯出69萬 警員奔走攔匯款';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '偷遍台北市停車場 開贓車到基隆被捕';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '美眉看書 工人偷拍小褲褲';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '遭網友性侵 找另名網友談心 又遭性侵';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '社會傳真／受困石門水庫下游 釣客獲救';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '在家看電視 3煞闖入就開槍';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '林內木瓜冠軍 6公斤賣11000元';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '廚餘堆肥 種出F罩杯木瓜';
	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 = '雲縣運閉幕 斗六46金奪縣長獎';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '清水溪、街仔尾溪 水質亮紅燈';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '原民學前教育 彰縣補助';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '和平鄉原住民 就醫轉診有補助';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '好Young健走 讓心臟健康律動';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '書香愛麗亞 19圖書館員上榜';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '潮洋溪岸漆黑 成治安死角';
	rows[12].link = 'today-center13.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-south1.htm';
																										
	rows[1].text = '五甲國小 4學生罹患登革熱';
	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 = '三民國中羽球隊 全國賽奪2金';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '水質3高1低 嘉南大圳須搶救';
	rows[5].link = 'today-south6.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 = 'MLB要有台灣野手';
	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';
																										
	rows[10].text = 'SKⅡ與大閘蟹';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
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';
																										
	rows[2].text = '酵素洗臉 溫柔去角質';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '流行飾品 5風格';
	rows[3].link = 'today-fashion4.htm';
																										
	rows[4].text = '東京電玩展<br>新力PS3 微軟Xbox360捉對廝殺';
	rows[4].link = 'today-fashion5.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(5);
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';
																										
}
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 = '紅的足跡';
	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(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 = '黃鷗波紀念展';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '周建瑩勇敢實現夢想';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '被譽為莫札特再世<br>土耳其鋼琴家法佐塞依 作曲與琴藝一樣耀眼';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '水墨三劍客聯展';
	rows[4].link = 'today-art5.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 = '不可思議地底隧道城市  墨西哥瓜納華托GUANAJUATO';
	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';
}