//===========================================================================
//基本設定
//==================== 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(14);
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 = '索取國慶邀請機關團體名冊<br>王金平：調局安全考量';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '國務機要費案 李慶華爆料 陳瑞仁：無中生有';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '蘇馬會破局？ 馬︰隨時可談';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '紅衫女泣訴︰倒扁總部 棄人民遠去！';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '林國慶爆料 施在薇閣！';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '梁柏薰：陳哲男安排2次司法宴';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = '梁有什麼資格談條件？';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '美國會報告：美擔心倒扁遭刻意煽動';
	rows[10].link = 'today-p11.htm';
																										
	rows[11].text = '布希對扁政府 信任動搖';
	rows[11].link = 'today-p12.htm';
																										
	rows[12].text = '王文怡控中國 強摘活體器官';
	rows[12].link = 'today-p13.htm';
																										
	rows[13].text = '國民黨安排馬宋會';
	rows[13].link = 'today-p14.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = "2006諾貝爾 ／土耳其作家摘文學獎";
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = "土耳其否認百年前亞美尼亞屠殺案╱法立法「構成犯罪」 土嚴正抗議";
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = "《中英對照看新聞》The dog has a thing about thongs英國「色狗」迷戀丁字褲";
	rows[2].link = 'today-int3.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '監聽討債案 破白骨雙屍案';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '南韓另類妓院 充氣娃娃上陣';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '充氣娃娃送禮 歐美人氣直升';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '中國105歲翁 上網徵婚';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '匪劫警槍 騎腳踏車落跑';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '尋仇劈爆女友雙親頭';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '前夫醋勁大發 刺殺老婆男友';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '南韓命案／冰箱藏屍案 生母坦承殺2嬰';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '毒海舞女回頭 勸化世人';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '身障數獨高手 書發善心';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '守候肇事地2天 警逮闖禍者';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '夾娃娃玩大三元 陰陽電玩破功';
	rows[11].link = 'today-so12.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(13);
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 = '公民測驗  SOGO禮券案入題惹爭議';
	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 = '電信資費 最快明年4月降價';
	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 = '規模5.9淺層地震 北台灣虛驚';
	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 = '遊巴基斯坦旅行團車禍 12傷';
	rows[12].link = 'today-life13.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '老虎出奇兵 2連勝';
	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 = '代訓選 王勝偉狀元象';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '相隔25年 火腿洋聯奪冠';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '福斯名人賽 呂文德領先';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = 'NBA吹判尺度縮小 球員有微詞';
	rows[6].link = 'today-sp7.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 = '《國際財經瞭望》微軟、Google 軟體交火';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '奇美電嘆籌錢苦 盼政府相挺';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '奇美電今年籌資千億 搶錢王';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '力成：記憶封測接單 已至明年Q2';
	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 = 'SKⅡ業績下滑 退居第四';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-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';
																										
	rows[8].text = '放寬DBR22倍限制 金管會審慎';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '外資在台投資 今年破百億美元';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '台企銀急著嫁 想找外資';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '出內賊 達方可能延後掛牌';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = 'NB四大天王 外資看好Q4';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = '友通 浩騰 9月獲利創新高';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = 'Sony Ericsson報喜 華冠鼓掌';
	rows[14].link = 'today-stock15.htm';
																										
	rows[15].text = '聯發科利多出盡？ 外資看法分歧';
	rows[15].link = 'today-stock16.htm';
																										
	rows[16].text = '歐股連7漲 印度勁揚';
	rows[16].link = 'today-stock17.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 = '警撤銷倒扁總部14至27日凱道集遊權';
	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 = 'OH MY GOD 麥可好娘喔！';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '閃靈赴美開講 搖滾台灣文化';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '白冰冰寫歌珍惜 盼勿再落紅花雨';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '藍正龍 姚采穎 驚爆火鍋情';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '立威廉被擺道 失魂落魄遊街';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '贍養費沒喬好 田麗今年不離婚';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '火辣小嫻 狂野跳豔舞';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '中天新聞太暴力 NCC重罰逾77 萬';
	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';
																										
	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(9);
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 = '金醫慘澹度週歲 財力難撐3年';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '購物嘉年華 建仔球衣誘買慾';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '亞太影展 簽定下月在北縣舉行';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '北縣戲院式微 板橋市長唏噓';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '動物園非洲動物區 新設獅子廊道 平面視窗看獅王';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '日本水果、酒類、食品 比市價便宜2成以上 日商在台設櫃 產地直銷';
	rows[8].link = 'today-taipei9.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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 = '收藏子彈想作項鍊 判3個月';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = '網路視訊脫衣舞 工程師遭光碟恐嚇';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '洗劫醉車主 警官照搶';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '男穿內褲察看車子 屏東老婆來抓猴';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = '前警員搶蘇澳農會 求刑10年';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '國際郵包藏Ｋ他命 2嫌到案';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '逃逸外勞賣淫中鏢 嫖客嚇壞';
	rows[6].link = 'today-north7.htm';
																										
	rows[7].text = '專校生搞地下錢莊 收息被捕';
	rows[7].link = 'today-north8.htm';
																										
	rows[8].text = '殘漢攜3歲女討債 醉遊街頭';
	rows[8].link = 'today-north9.htm';
																										
	rows[9].text = '怒父狂抽10歲兒子 判刑3月';
	rows[9].link = 'today-north10.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 = '口湖滯洪池徵地缺錢 蘇揆允協調';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '玉山人解囊 助314學子午餐費';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '蘇揆看治水 打造水的台灣';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '振興百果山 提5年5億計畫';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '中興國中爆滿 開辦營北國中紓壓';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '體適能檢測 婆婆媽媽動起來';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '國際棒球場亂糟糟 市長不悅';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '台西見瓊麻 三合院屋頂冒出來';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '台灣第1座阿里山高地訓練中心 揭牌';
	rows[8].link = 'today-center9.htm';
																										
	rows[9].text = '7年級社服員 散播歡笑散播愛';
	rows[9].link = 'today-center10.htm';
																										
	rows[10].text = '桂花森林商標 蕭碧惠捍衛';
	rows[10].link = 'today-center11.htm';
																										
	rows[11].text = '失傳的上課禮儀… 縣立大里高中找回';
	rows[11].link = 'today-center12.htm';
																										
	rows[12].text = '經美無菸道 72家餐廳響應';
	rows[12].link = 'today-center13.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '批馬放任紅衫軍 葉菊蘭高分貝';
	rows[0].link = 'today-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';
																										
	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 = '酒國名花變志工 監獄勉勵受刑人';
	rows[9].link = 'today-south10.htm';
																										
	rows[10].text = '送愛到台灣尾 周大觀基金會贈書';
	rows[10].link = 'today-south11.htm';
																										
	rows[11].text = '13部紀錄片 見證青春台灣';
	rows[11].link = 'today-south12.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 = '《澄社評論》堅持法治 結束亂局';
	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(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(12);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
		rows[0].text = '搭火車造訪 台灣10大風情小站';
		rows[0].link = 'today-weekly1.htm';
																											
		rows[1].text = '東海岸小站 偷閒推薦';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '木造車站 停格的舊時光';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '阿里山車站  日出之行';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '小站原貌  懷舊巡禮';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '漫步新竹香山站 和式風情';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '手工滑溜麵條 美味不擺烏龍';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = 'Linda愛唱歌 全身音樂寶';
		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 = '健康醫療--<br>你知道嗎？ 聲音也可以美容';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = '花編--<br>夕陽中的天堂階梯';
		rows[11].link = 'today-weekly12.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';
}