//===========================================================================
//基本設定
//==================== 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(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '馬王穿梭較勁 黨內憂分裂';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '馬主席提前約見 修憲派迂迴迎戰';
	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 = '總統制＋立委113席 內閣制＋立委153席 台聯提二制憲版本';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '新聞評論--先審軍購 再談修憲吧';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '內外煎熬 扁嫂身體愈來愈差';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '府：夫人未介入台肥案';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '披戰袍？ 謝長廷：願考量大局';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '遭影射賄選 葉金川：發黑函可惡';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '高市長初選 陳菊搶先登記';
	rows[11].link = 'today-fo12.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(5);
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';
																										
}
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 = "微軟新版IE 惹毛Google";
	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 = "漠視教廷意見 中國將再任命1主教";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "美最高院裁定 挺玩伴女爭產";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "《中英對照讀新聞》Study shows secret to gas-free beans 豆子吃了不脹氣 研究破解奧秘";
	rows[6].link = 'today-int7.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '10億吸金案 4天傳訊2千受害人';
	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 = '8警收賄被求重刑';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '擄人勒毒 警攻堅救9歲童';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '陳瑞欽殺妻案 判2死刑';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '國中生半裸 離奇陳屍婦幼院區地下室';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '2歲女娃 頭受重創 慘遭虐死';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '去年每天少丟100輛機車';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '偷天換日 5手法銷贓變現';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '腦麻資優生孫嘉梁 七月赴美攻博士';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '修女李慧蘭 部落營造一手包';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '蘭嶼綠蠵龜產卵地 砍樹建堤？';
	rows[12].link = 'today-so13.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '不挑孩子 陳堅真領養當親生';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '私辦國小基測 計畫改名延考';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '大貨車聯結車載重鬆綁 恐危橋樑';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '梅雨來？沒雨來！ 全台昨豔陽高照';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '台北市立托兒所 爆集體染疥瘡';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '報稅首日 查多報少';
	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';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '郭泓志 下放3A';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '對決紅襪 建仔今搶二勝';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '泰山突破162轟？ 看本週';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '本土球員奮起 搶鋒頭';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '《NBA》布可能的任務';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '《NBA》國王平馬刺 老八大驚奇';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《NBA》巫師平騎士 休息室傳奇';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《NBA》公牛平熱火 犯規戰大捷';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《SBL》許晉哲 幼敏新教頭';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《巴塞隆納網球賽》紅土掠奪者 納達爾衛冕';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '《優霸盃羽球賽》台灣隊 晉八強';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '《2006男子職撞大賽第一站》擺脫老二宿命 傅哲偉奪冠';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '《亞運九號球培訓賽》柳信美 排名躍第一';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = '女足聯賽罷賽 高庸本季禁賽';
	rows[13].link = 'today-sp14.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '金價漲破660美元';
	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 = '勞保投保薪資上限 調高至4.39萬';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '金鼎證 今改選9董2監';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '兆豐金股權 中信金暫不增加';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '復華金擬提前改選 公股反對';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '中國調控 台灣更鋼強';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '穩定砂石來源 決擴大供給';
	rows[8].link = 'today-e9.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '主機板首季疲軟 華碩EPS1.39元';
	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 = '台新金 現代感水滴建築';
	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';
																										
}
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 = '領養智障兒 陳堅真8年有愛無悔';
	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 = '王力宏上網交友 一場騙局';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '仔仔拍吻戲 大S先把關';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '出借明道 三立限期90天';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '蔡依林出輯 看板搞烏龍';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '入選TIME百大影響人物 李安平靜 Rain興奮';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '周慧敏倪震 被爆早已結婚';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '吳彥祖買車送女友 車主是自己';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '五月天紅磡開唱 麥兜當嘉賓';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '民視氣象主播林嘉愷 左擁右抱拚華視';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '琳西蘿涵跛腳露波 談男人嘴巴緊';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '菲利浦被阿湯哥痛扁 不可能懊悔';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '伊藤英明發酒瘋 拉男人回家搞曖昧';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '福山雅治 租公寓躲狗仔';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '電玩迷力挺 沉默之丘亮眼';
	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(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '忘付奶嘴錢 賣場控偷竊';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '北縣容積移轉辦法傳改 反彈一波波';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '台電工程闖禍 板橋土城4萬餘戶斷水';
	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 = '動物園新鳥園14日開放';
	rows[6].link = 'today-taipei7.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 = '惡同學，把她照片貼上網援交';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '以為中獎美西遊，破財27萬才驚醒';
	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(6);
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 = '手都沒牽過 調酒師被她騙200萬';
	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 = '兩幫人持刀械互砍 3嫌送辦';
	rows[5].link = 'today-center6.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '檸檬飆漲 偷兒猖狂狗兒站崗';
	rows[0].link = 'today-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 = '怪！ 雙盜搬走保險箱';
	rows[4].link = 'today-south5.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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 = '何不索性認為2008無望';
	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 = '小心脈衝槍';
	rows[10].link = 'today-o11.htm';
																										
	rows[11].text = '划龍舟摸魚';
	rows[11].link = 'today-o12.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 = '夏日黃金女郎';
	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 = '相片複合機 大玩手寫塗鴉風<br>印表機更便宜 搶購好時機';
	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(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(3);
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 = '風裡衣袂相碰撞<br>楚浮和高達的遇合與離散';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '愛讀書';
	rows[2].link = 'today-article3.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 = '台北國際藝術博覽會 亞洲藝術文獻庫值得關注';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '集結10餘年作品精華  陳羅克人體風景自然設色';
	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 = '探訪日本NO.1峽谷<br>黑部小火車攬勝.泡湯';
	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';
}