//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = 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'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','living','family','medicine','article','young','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(\'../../../pnews/Pnews0513.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 href="http://www.libertytimes.com.tw/2005/pnews/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A 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(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '連重批馬 組閣議題處理很不當';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '連戰當頭棒喝 馬隊長醒了嗎';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = '呂秀蓮要府秘書長到常會報告';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '取消公職募款額 游提政見 蔡贊同';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '軍購案明闖關 朝野動員備戰';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '突圍 綠營遊說藍委';
	rows[5].link = 'today-fo6.htm';
																										
	rows[6].text = '軍購…馬國際形象分水嶺';
	rows[6].link = 'today-fo7.htm';
																										
	rows[7].text = '軍教課稅案 朝野爆衝突';
	rows[7].link = 'today-fo8.htm';
																										
	rows[8].text = '杜正勝：贊成教師納稅';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '香港政改方案 全遭否決';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '華夏三中切割賣 總價逾百億';
	rows[10].link = 'today-fo11.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '台東縣長停職爭議 吳俊立、鄺麗貞、賴順賢 3人都上班';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '32人涉賄 被提當選無效之訴';
	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';
																										
	rows[7].text = '連惠心債務糾紛 扯出違法獻金';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '點名賴國洲、江霞 周玉蔻：政治干預媒體';
	rows[8].link = 'today-p9.htm';
																										
	rows[9].text = 'TVBS案／姚文智：不見改善誠意';
	rows[9].link = 'today-p10.htm';
																										
	rows[10].text = '全民電通掏空案／張俊宏：隨時準備坐牢';
	rows[10].link = 'today-p11.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '紐約大罷工 工會每日被罰3300萬元';
	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 = '《中英對照讀新聞》German duped into paying thousands  for \'exorcism\'德國婦女被騙花數千元「驅邪」';
	rows[5].link = 'today-int6.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 = '瘋母亂刀剁嬰 幾乎斷頭';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '輪椅巨人 遭惡女詐505萬';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '7年146億天價奪標 中信銀樂透搶下發行權';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '老夫妻貧苦紙箱遮風';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '囚犯妻女躍上壁畫 巨幅山水流露天倫樂';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '3天前…警員車子拋錨 他來相助<br>3天後…運將引氣自殺 換他相救';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '仲介非法打工 偽警印鑑人蛇騙倒境管局';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '按時還款不夠 高利貸逼人跳海';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '高市三信30秒被搶走62萬';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '大中倉儲掉包案 4人無罪';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '惡子女 將不得繼承財產';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '毒計 恐嚇飲料商 2嫌落網';
	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(11);
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 = '民眾搶辦 電腦頻當機<br>為趕進度 公務員加班';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '官員先領證 為加強宣導';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '台鐵三招標案 立委質疑綁標';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '拷貝國圖加密論文 兩分鐘破解';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '代理孕母 不拘親等 限本國籍';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '爭取熊貓 六福村半路殺出';
	rows[8].link = 'today-life9.htm';
																										
	rows[9].text = '消基會抽檢四成耶誕燈泡未檢驗';
	rows[9].link = 'today-life10.htm';
																										
	rows[10].text = '今冬至 淡水7.9度低溫';
	rows[10].link = 'today-life11.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '莊勝雄棒球教室--柳裕展 鯨英中菁英';
	rows[0].link = 'today-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 = '狂飆62分 小布新高';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '台師大克東南 篤定晉級';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '公益籃賽 眾星捧場';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《中華桌球國手選拔賽》黃金拍檔江宏傑、黃聖盛 國手當仁不讓';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = 'HBL球星 尬人氣';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《大聯大盃科技Mizuno禮品巡迴賽》大風吹 葉彰廷跑第一';
	rows[9].link = 'today-sp10.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '亞股衝鋒 台股逼近今年高點';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '外資抱股過年 有助大盤上攻';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '台積電第二代 餐廳報佳音';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '陳博志︰台灣不能沒有製造業';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '兩岸分工變質 轉為競爭關係';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '明年台灣經濟 吳榮義：會比今年好';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '台灣主權評等 維持負向';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '火鶴花新品系 打響台灣花卉名號';
	rows[7].link = 'today-e8.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
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-stock1.htm';
																										
	rows[1].text = '金價跌破500美元 創一個月來新低';
	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 = 'SONY釋單 普立爾Q2出貨';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '友訊：明年營運成長逾15％';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '前戴爾亞太總裁亞梅利歐 接聯想首席執行官';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '手機晶片一片火紅 IC設計搶單';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '摩托羅拉︰3G手機市場難突破';
	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 = '《國際股市》歐股午盤走高 日股勁揚';
	rows[12].link = 'today-stock13.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(13);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '賭城教堂見證 賈靜雯終完婚';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '暴龍被堵 拍戲好悶走人';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '睽違11年 張東健今訪台';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = 'RAINY DAY設專區 粉絲反彈申訴';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = 'HBL人氣球星票選 陳志強趕場催票';
	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 = '好色男女太A 廣基籲從良';
	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';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《今日社論》軍購案是馬英九邁向二○○八大位的第一道考題';
	rows[0].link = 'today-s1.htm';
																
	rows[1].text = '《自由談》敗訴之餘';
	rows[1].link = 'today-f1.htm';
																
	rows[2].text = '《鏗鏘集》泛藍的火雞政治學';
	rows[2].link = 'today-f2.htm';
																
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '買毒不付錢 刀棍槍伺侯';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '補習班遭竊 一票國中生幹的';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '無線寬頻費率未審 系統未測試 市府買帳號疑量身訂做';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '溫泉茶園 觀光璞玉待雕琢';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '花卉展週末登場';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '家事高手 70學童競賽';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '台北大學特定區 獨封樹林端';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '搶通107縣道 協調軍方炸落石';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = '啟蒙弱勢家庭兒童 童書募捐';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '演台語劇 蘆洲國中：叫我第一名';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '特教師資 下學年進補';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(8);
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 = '騎機車對撞 老婦傷重不治';
	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';
																										
	rows[7].text = '社會傳真／悍妻毆兒踹夫 夫聲請保護令';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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-center1.htm';
																										
	rows[1].text = '永兆電炒股案 前後董座被求刑';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '首度開庭 徐維嶽高聲喊冤';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '謀財害命 董俊位改判死刑';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '兒子受傷 老子告校長';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '山區試槍 凸透鏡滿身傷';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '恐嚇母親 不給錢點瓦斯';
	rows[6].link = 'today-center7.htm';
																										
	rows[7].text = '偷窺如廁 色狼挨告交保';
	rows[7].link = 'today-center8.htm';
																										
	rows[8].text = '飛車搶劫 老嫗摔成重傷';
	rows[8].link = 'today-center9.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
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-south1.htm';
																										
	rows[1].text = '南縣黨部涉賄 蘇煥智出庭喊冤';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '2候選人幹部 買票遭起訴';
	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 = '議員蔡明甫 涉賄求刑2年';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-o1.htm';
																										
	rows[1].text = '政治vs.法律';
	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 = '第三隻眼睛的國際觀<br>--翻譯《南北韓，統一必亡》有感';
	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';
																										
	rows[12].text = '誰同情外傭？';
	rows[12].link = 'today-o13.htm';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	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].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '好品味';
		rows[1].submenu = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '家庭兩性';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '健康醫療';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '自由副刊';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '青春美';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = '藝術文化';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '休閒旅遊';
		rows[7].submenu = 'travel';
		rows[7].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
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 = '2005精品瑜伽 開花結果';
	rows[1].link = 'today-fashion2.htm';
																										
}
menu = null;

menu = getMenu('living');
menu.layer = 14;
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 = '2006 台北車展大透視';
	rows[0].link = 'today-living1.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(2);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '不織布花圈DIY 超卡哇依';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = '男友要求拍性愛影帶';
	rows[1].link = 'today-family2.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 16;
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-medicine1.htm';
																										
	rows[1].text = '尿酸值標準<br>醫界疾呼訂為六點八mg/dL';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '過敏或異位性皮膚炎<br>長時間用電腦 小心症狀惡化';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '高血壓明年起論質計酬<br>鼓勵醫師盯緊病人';
	rows[3].link = 'today-medicine4.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
menu.parentMenu = 'supplement';
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-article1.htm';
																										
	rows[1].text = '灰塵';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = 'Proof,where is the proof ?';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '魔法';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '理想的房間';
	rows[4].link = 'today-article5.htm';
																										
	rows[5].text = '用書寫 拯救城市邊緣人<br>愛丁堡「一本書．一座城市」計畫';
	rows[5].link = 'today-article6.htm';
																										
	rows[6].text = '花蹤何處？<br>第八屆花蹤文學獎揭曉';
	rows[6].link = 'today-article7.htm';
																										
	rows[7].text = '批評，是向權力說真話！';
	rows[7].link = 'today-article8.htm';
																										
	rows[8].text = '超越文化限制的奧迪賽之旅';
	rows[8].link = 'today-article9.htm';
																										
}
menu = null;

menu = getMenu('young');
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 = '影像商品無限可能<br>個性寫真V.S手工書';
	rows[0].link = 'today-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
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 = '視覺藝術算總帳<br>北美館今年最ㄏㄤ';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '新鮮視聽 台北美術獎名單出爐';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '熱紅酒與餅乾相伴<br>德國文化月耶誕祈福';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '跨越禁忌書寫<br>性史2006麻辣出刊';
	rows[3].link = 'today-art4.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 20;
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 = '參加樹人會議<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;
}
//====================  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,700);
}

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,700);
}

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';
}