//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;    //內部為112
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
showHouse = false;
path = '';    //內部為空字串
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('週末生活版'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'activity.htm">活動訊息</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'ＳＯＧＯ案 徐、章激烈對質';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '徐罵章家可惡太設提三疑點回擊';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '流言中傷 阿卿嫂發飆';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '台大醫院自省 撤趙辦公室';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '東京有黨產 馬驚訝說不知';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '綠批馬：說一套 作一套';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '中國問題 石原忠告馬';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '江丙坤：馬見大臣級人士不只一位';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '海外也有黨產 國產局：被國民黨蒙蔽';
	rows[8].link = 'today-fo9.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(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 = '民進黨籲中國 釋放異議人士';
	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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "中東拉警報 以海空封鎖黎巴嫩";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "以巴衝突 伊朗幕後黑手？";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "伊朗揚言退出禁核擴散條約";
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = "俄代收核廢 美可望點頭";
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = "四肢癱瘓 也能「任意」用電腦";
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = "充氣太空船 創世紀升空";
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = "科學界性別歧視 變性教授現身說法";
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = "基改蠶絲搭鷹架 修補神經細胞";
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = "愛滋新藥 1天1粒搞定";
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = "濕冷＋獨居 好發心臟病";
	rows[9].link = 'today-int10.htm';
																										
	rows[10].text = "《中英對照讀新聞》Vietnamese newspapers fined for running phone sex ads 越南報紙因刊登色情電話廣告被罰";
	rows[10].link = 'today-int11.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '走私重軍火 火併？劫囚？';
	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 = '騙子大展「洪」圖 冒洪門吸金2億';
	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 = '1屋3屍命案 現場發現FM2空包裝';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '透天厝大火 倒車糾紛燒錯屋';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '華航澎湖空難 家屬獲賠3千萬';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '市價2億飛機 拍賣底價2千萬';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '愛的創意 尤芳秋自製孝子浴缸';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '用心傾聽 古孟釗半年找回10幾人';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '大哥哥介紹七將軍廟 小朋友直呼好好玩';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '楊家兄弟 「心路」更寬廣';
	rows[13].link = 'today-so14.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(17);
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 = '中研院優遇條款自肥爭議 李遠哲：對5諾貝爾得主院士不公平';
	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 = '微軟與Yahoo! 即時通互通';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '高鐵還沒通車 票價先漲5.67％';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '學童不上車 補習班老師賞耳光';
	rows[10].link = 'today-life11.htm';
																										
	rows[11].text = '營養午餐招標 廠商疑串聯抵制';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = '漢字 向聯合國申列文化遺產';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '研究所招生舞弊？聯合大學澄清';
	rows[13].link = 'today-life14.htm';
																										
	rows[14].text = '扼殺醫藥分業？ 百名藥師靜坐抗議';
	rows[14].link = 'today-life15.htm';
																										
	rows[15].text = '醫改會支持藥界 但盼自律';
	rows[15].link = 'today-life16.htm';
																										
	rows[16].text = '衛署：交付處方箋 3個月落實';
	rows[16].link = 'today-life17.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '留小貝？ 皇馬意見兩極';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '投手評價 建仔再獲B';
	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 = '突破25盜 羅國輝全心衝刺';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《瓊斯盃》台風 吹倒卡達';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《瓊斯盃》保住籃板 F4找到默契';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '海峽盃高球賽 首回合中國小贏';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '魏德 也續3年約';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = 'NBA尬一夏 巨星暖場';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '運動彩券 最快明年九月發行';
	rows[11].link = 'today-sp12.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 = '土銀烏龍案 金管會罰200萬元';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '北市中華路眷改地 每坪402.8萬標脫';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = 'BOA盤中大量拋匯 引發匯銀共憤';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '股市若走空 除權不如棄權';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '《理財Q&A》金屬原物料行情 值得期待';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '蘋果、戴爾 股價重挫';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = 'Q3暑假旺季 休閒業營運看好';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '統一加碼佈局越南 大成西進';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '類比科 問鼎類比IC股王';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '日月光1.69元 矽品約2.3元';
	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';
																										
}
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(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '周董  Hebe公然調情';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '朱孝天喪父慟 忍淚耍帥';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '楊烈吐不停 演唱會延期';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '酷玩愛說笑 牽拖席丹鐵錘功';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '實力樂團搶人氣  票選TOP10';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '張柏芝發聲 假周璇偷跑';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '愛殺挨罰 製作人批NCC開倒車';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '氣象主播 硬挺24小時';
	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 = '新超人1624萬賣身花花女郎';
	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';
																										
	rows[15].text = '蔡明亮天邊一朵雲 荒木經惟讚下流';
	rows[15].link = 'today-show16.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 = '強力拖吊 市庫1晚賺300萬';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '紅黃線停車 延至明晨7時';
	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 = '葉菜類漲5成 蔥蒜波動最大';
	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 = '運海洛因球 一屁股塞7顆';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '小蜜蜂志氣高 不畏風雨勇闖關';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '中國殘疾人藝術團 舞動千手觀音';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '清潔隊員檢舉 抖出關說內幕';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '來颱禁足 童玩節外國團隊悶啊';
	rows[5].link = 'today-north6.htm';
																										
	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 = '破職業賭場 磁鐵遙控骰子';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '3少疑暴力討債 與警飛車追逐';
	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 = '社會傳真／員警酒後打死人 重判15年';
	rows[5].link = 'today-center6.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
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-south1.htm';
																										
	rows[1].text = '首批60人 高捷包商招募本國勞工';
	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';
																										
	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';
																										
	rows[9].text = '涼一夏 夢幻水城15日開放';
	rows[9].link = 'today-south10.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '民進黨革新 黨務主管減薪';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '偵查完全公開？';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '民生東路四段';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '解剖刀不能割錯器官';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '生命再生的搖籃';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '學界不要再沉默';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '民進黨腹背受敵';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = '非關醫界亂象';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '中間路線之失';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '台灣自保';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '嘴賤也算犯法';
	rows[10].link = 'today-o11.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(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(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	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-weekly1.htm';
																											
		rows[1].text = '相約福隆 給我音樂 其餘免談';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '熱力水上福隆 狂FUN夏天';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '房事不擔心 住宿no problem';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '面無菜色！<br>果酸品 還原美人肌';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '果酸滑溜溜<br>蜜桃肌養成術';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = 'MAN’S西裝<br>穿對品牌、版型 一身帥氣';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '百分百西裝試穿 重點LOOK';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '小人扯後腿？惡魔在身邊？';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '真是笑話-誤會集錦';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '生日禮物 一週提案';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = '你中暑了嗎？';
		rows[11].link = 'today-weekly12.htm';
																											
		rows[12].text = '蝴蝶蝴蝶不能飛';
		rows[12].link = 'today-weekly13.htm';
																											
	}
	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';
}