//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = false;
showHouse = false;
path = '';
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','p','so','int','c','o','e','stock','life','sp','region','show');
titles = new Array('頭版新聞','焦點新聞','政治新聞','社會新聞','國際新聞','自由評論','自由廣場','財經焦點','證券理財','生活新聞','體育新聞','地方新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-p1.htm','today-so0.htm','today-int0.htm','today-s1.htm','today-o0.htm','today-e1.htm','today-stock1.htm','today-life1.htm','today-sp0.htm','today-taipei0.htm','today-show1.htm');
if (showWeekly)
{
	menuNames = menuNames.concat(new Array('weekly'));
	titles = titles.concat(new Array('生活週報'));
	pages = pages.concat(new Array('today-weekly1.htm'));
}
else
{
	menuNames = menuNames.concat(new Array('supplement'));
	titles = titles.concat(new Array('生活藝文'));
	pages = pages.concat(new Array('today-fashion1.htm'));
}
if (showHouse)
{
	menuNames = menuNames.concat(new Array('house'));
	titles = titles.concat(new Array('住宅生活版'));
	pages = pages.concat(new Array('today-house1.htm'));
}
menuNames2 = new Array('taipei','north','center','south','fashion','family','medicine','article','art','travel');

names = menuNames.concat(menuNames2);
menus = Array(names.length);
for (i=0; i<menus.length; i++)
{
	menus[i] = new Object();
	menus[i].name = names[i];
}
//====================  end  ================================================

//===========================================================================
//主選單
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>今日要聞</TD>');
document.write('	</TR>');
for (i=0; i<menuNames.length; i++)
{
	document.write('	<TR>');
	document.write('		<TD class=block2L_tda onMouseOver="showMenu(this,'+menuNames[i]+')" onMouseOut="hideMenu()" style=color:blue;cursor:pointer');
	document.write('				onClick="location.href=\''+path+pages[i]+'\'">'+titles[i]+'</TD>');
	document.write('	</TR>');
}
document.write('	<TR>');
document.write('		<TD bgColor=#cc6600><A class=block2La href="'+path+'Rnews.htm">專題報導</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>服務專區</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>樂透彩券</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">統一發票</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><font color=blue><A onmouseover="this.style.cursor=\'pointer\';this.style.color=\'deepskyblue\'" ');
document.write('			onclick="window.open(\'http://www.libertytimes.com.tw/Service/Order.htm\',\'_new\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=770,height=650\');" ');
document.write('			onmouseout="this.style.color=\'blue\'">訂報服務</A></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.libertytimes.com.tw/about/recruit.htm">求才專區</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="'+path+'activity.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(15);
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 = '炒股案 陳哲男下單 逾10個人頭戶';
	rows[10].link = 'today-fo11.htm';
																										
	rows[11].text = '高鐵10月通車 先通板橋-高雄';
	rows[11].link = 'today-fo12.htm';
																										
	rows[12].text = '焦點評論／郭瑤琪支票 現在才填上金額';
	rows[12].link = 'today-fo13.htm';
																										
	rows[13].text = '油漲2元 經濟成長率 減0.16個百分點';
	rows[13].link = 'today-fo14.htm';
																										
	rows[14].text = '嚴防物價飛漲 公平會緊盯 消基會喊話';
	rows[14].link = 'today-fo15.htm';
																										
}
menu = null;

menu = getMenu('p');
menu.layer = 2;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '布胡會 美保證不談終統議題';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '美官員：期望北京與台灣政府對話';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '美議員籲布希 促中國撤除對台飛彈';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '扁透露 部分軍購最近會有突破';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '王貞治：保有台灣籍很方便';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '戰車模擬器 訓練費年省20多億';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '三中已簽約？ 中廣中影沒譜';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '馬再邀任副主席 王一口回絕';
	rows[7].link = 'today-p8.htm';
																										
	rows[8].text = '北謝南菊 非新系立委倒彈';
	rows[8].link = 'today-p9.htm';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(8);
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 = "《中英對照讀新聞》Anger boiling? Smash plates at Philippine eatery 超火大？在菲律賓簡餐小館砸碎盤子";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
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-so1.htm';
																										
	rows[1].text = '醫師借腹生子 人財兩失';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '借腹 生一堆糾紛';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = '京華城被查獲假名牌';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '1年劫40資源回收場 雙盜栽了';
	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 = '力泰董座 涉侵占5億 千萬交保';
	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 = '彩繪美麗人生中輟少女築夢';
	rows[10].link = 'today-so11.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
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-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 = '碩士起薪3萬6 市場不捧場';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '白紗覆蒼顏 6嬤圓嫁娘夢';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '百貨服務員 8成站出病';
	rows[7].link = 'today-life8.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
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-sp1.htm';
																										
	rows[1].text = '普侯斯 連四打數全壘打';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '鄭錡鴻2勝 陳偉殷吃癟';
	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 = '馬刺 西部稱王';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '《SBL》季後賽 達欣揚言快乾台啤';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '《SBL》羅興樑 沙場展鬥魂';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '《SBL》矮將簡明富 撐起台銀半邊天';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '《優霸盃羽球賽》官網評實力 台灣隊苦戰';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '《蒙地卡羅名人賽》瑞士特快車 驚險晉級';
	rows[10].link = 'today-sp11.htm';
																										
}
menu = null;

menu = getMenu('e');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '卡債協商成功金額  達1084億';
	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 = '金價創25年來新高';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '理財首重風險評估';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = 'Fed升息 下月可望結束';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '《理財Q&A》定期定額 長期多可獲利';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '華亞科、南科 第一季獲利超預期';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '預期轉單效應  DRAM第2季景氣不墜';
	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 = '宏達電EPS 今年58 明年94元';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '看好台股 外資再買超59億';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《期指觀測站》法人期指避險 多頭隱憂';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '《國際股市》不畏油漲 亞股續飆高';
	rows[7].link = 'today-stock8.htm';
																										
}
menu = null;

menu = getMenu('t');
menu.layer = 0;
menu.menuLayer = 0;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '中油汽柴油 今起每公升漲2元';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '大S通韓文 復活當公主';
	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 = '白歆惠倒掛SM 斷了菲哥寶貝';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '阿湯哥駐顏術 垂涎胎盤';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '貝克漢「花」錢 討好維多莉亞';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '林強落台語 聲援綠色影展';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '赤西仁擁金絲貓 未婚當爸？';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '大塚愛來台 變機車女';
	rows[11].link = 'today-show12.htm';
																										
}
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 = '15小胖子減重 變身陽光學子';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '林榮三文化公益基金會合辦 快樂故事營 拉緊親子的心';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '促遷變電所 深坑人不惜抗爭';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '鶯歌老街步道車亂闖 遊客怨';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '天涯女醫情 她 樂在行醫天下';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '超市賣過期品 頂好居冠';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '網站罵人老母狗 吃官司';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '撞死人沒悔意 運將還在聊八卦';
	rows[7].link = 'today-taipei8.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(9);
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';
																										
	rows[8].text = '社會傳真／龍潭警員被控倒會 自稱受害';
	rows[8].link = 'today-north9.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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 = '盜客戶資料辦門號 275人受害';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '20公斤電視砸頭 女童不治';
	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';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '送愛到蘆葦 新化娃娃領養圓夢豬';
	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';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
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-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';
																										
}
menu = null;

if (showWeekly == false)
{
	menu = getMenu('supplement');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(6);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
	
		rows[0].text = '流行消費　　→';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '家庭兩性　　→';
		rows[1].submenu = 'family';
		rows[1].link = 'today-family1.htm';
	
		rows[2].text = '健康醫療　　→';
		rows[2].submenu = 'medicine';
		rows[2].link = 'today-medicine1.htm';
	
		rows[3].text = '自由副刊　　→';
		rows[3].submenu = 'article';
		rows[3].link = 'today-article1.htm';
	
		rows[4].text = '藝術文化　　→';
		rows[4].submenu = 'art';
		rows[4].link = 'today-art1.htm';
	
		rows[5].text = '休閒旅遊　　→';
		rows[5].submenu = 'travel';
		rows[5].link = 'today-travel1.htm';
	}
	menu = null;
}

menu = getMenu('fashion');
menu.layer = 13;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '時尚當頭 男人Give me Five';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '大珠小珠 長長亂亂';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '聰明又漂亮的時尚外衣  3C小幫手也趕時髦';
	rows[2].link = 'today-fashion3.htm';
																										
	rows[3].text = '手機聽音樂  流行帶著走';
	rows[3].link = 'today-fashion4.htm';
																										
}
menu = null;

menu = getMenu('family');
menu.layer = 14;
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-family1.htm';
																										
	rows[1].text = '因為好奇去買春<br>害怕感染到愛滋';
	rows[1].link = 'today-family2.htm';
																										
	rows[2].text = '美女與成功 積極才能得到';
	rows[2].link = 'today-family3.htm';
																										
	rows[3].text = '心算高段 不代表數學好';
	rows[3].link = 'today-family4.htm';
																										
}
menu = null;

menu = getMenu('medicine');
menu.layer = 15;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '8020 護牙養老';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '脈衝光治眼病<br>糖尿病患福音';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '器官捐贈大愛<br>健保IC卡可加註';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '忌口不確實<br>治療效果打折扣';
	rows[3].link = 'today-medicine4.htm';
																										
	rows[4].text = '高血脂症 用藥降低膽固醇';
	rows[4].link = 'today-medicine5.htm';
																										
	rows[5].text = '無刀口式輸精管結紮術<br>傷口小 併發症更少';
	rows[5].link = 'today-medicine6.htm';
																										
	rows[6].text = '綠光攝護腺汽化術<br>解除排尿障礙';
	rows[6].link = 'today-medicine7.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 16;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(5);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '我愛傅立葉---中';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '為何你不抽煙';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '梧桐秋深';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '命運論的新釋';
	rows[3].link = 'today-article4.htm';
																										
	rows[4].text = '學運又來了';
	rows[4].link = 'today-article5.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 17;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(6);
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 = '純淨的莫札特《長笛協奏曲》<br>長榮樂團與葛拉夫協奏';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '蕭邦少年鋼琴大賽 即日起開始報名';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '迷上大漠風情 許博允二度赴內蒙';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '春茶曲薈  製樂小集系列音樂會';
	rows[4].link = 'today-art5.htm';
																										
	rows[5].text = '台灣爭取主辦波隆那書展';
	rows[5].link = 'today-art6.htm';
																										
}
menu = null;

menu = getMenu('travel');
menu.layer = 18;
menu.parentMenu = 'supplement';
menu.menuLayer = 1;
menu.rows = new Array(1);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '打造夢幻童話婚禮<br>香港迪士尼';
	rows[0].link = 'today-travel1.htm';
																										
}
menu = null;

if (showWeekly)
{
	menu = getMenu('weekly');
	menu.layer = 13;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
if (showHouse)
{
	menu = getMenu('house');
	menu.layer = 14;
	menu.menuLayer = 0;
	menu.rows = new Array(0);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
	}
	menu = null;
}
//====================  end  ================================================

//===========================================================================
//產生tables
//==================== begin ================================================
for (j=0; j<menus.length; j++)
{
	var previousRowType = '';
	if (menus[j].parentMenu == null)
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu(null,null) onMouseOut=hideMenu()>');
	else
		document.write('<table id='+menus[j].name+' style="position:absolute;left:'+(leftMargin+tableWidth*menus[j].menuLayer)+';visibility:hidden;font-size:13px;width:200;cursor:pointer;border:1 solid #00CCFF" border=0 bgcolor=#FFFFFF cellspacing=1 cellpadding=2 onMouseOver=showMenu2(null,null) onMouseOut=hideMenu2()>');

	for (i=0; i<menus[j].rows.length; i++)
	{
		if (previousRowType!='' && menus[j].rows[i].type==null)
		{
			document.write('<tr bgcolor=#00CCFF height=2 style=cursor:default>');
			document.write('	<td></td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].type && menus[j].rows[i].type!=previousRowType)
		{
			document.write('<tr bgcolor=#00CCFF height='+rowHeight+' style="cursor:default">');
			document.write('	<td>《'+menus[j].rows[i].type+'》</td>');
			document.write('</tr>');
		}

		if (menus[j].rows[i].submenu)
		{
			document.write('<tr onMouseOver="incell(this);showMenu2(this,'+menus[j].rows[i].submenu+')" onMouseOut="outcell(this);hideMenu2()" bgcolor=#C2E5FF height='+rowHeight+'>');
			if (menus[j].rows[i].link)
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">'+menus[j].rows[i].text+'</td>');
			else
				document.write('	<td>'+menus[j].rows[i].text+'</td>');
			document.write('</tr>');
		}
		else 
		{
			if (menus[j].rows[i].type == null)
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell(this) bgcolor=#C2E5FF height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">◎'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
			else
			{
				document.write('<tr onMouseOver=incell(this) onMouseOut=outcell2(this) bgcolor=#41DAAA height='+rowHeight+'>');
				document.write('	<td onClick="location.href=\''+path+menus[j].rows[i].link+'\'">．'+menus[j].rows[i].text+'</td>');
				document.write('</tr>');
			}
		}

		previousRowType = menus[j].rows[i].type==null? '': menus[j].rows[i].type;
	}

	document.write('</table>');
}
//====================  end  ================================================

var activeRow,activeMenu1,activeRow1,activeMenu2;
var protrude1;
var timer,timer2;
var hide,hide2

function getMenu(name)
{
	index = -1;
	for (i=0; i<menus.length; i++)
		if (menus[i].name == name)
		{
			index = i;
			break;
		}
	if (index != -1) return menus[index];
	else return null;
}

function showMenu(row,menu)
{
	if (activeRow)
	{
		hide = true;
		hideAllMenu();
	}
	hide = false;
	if (row)	activeRow = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu1 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu1.id).layer;
	protrude1 = defaultTop-document.body.scrollTop+activeMenu1.offsetHeight-document.body.clientHeight;
	if (protrude1 > 0)	
		activeMenu1.style.top = defaultTop-protrude1;
	else
		activeMenu1.style.top = defaultTop;
		
	activeMenu1.style.visibility = 'visible';
}

function hideMenu()
{
	clearTimeout(timer);
	hide = true;
	timer = setTimeout(hideAllMenu,600);
}

function hideAllMenu()
{
	if (hide)
	{
		activeRow.style.backgroundColor = '#FAF9F5';
		activeMenu1.style.visibility = 'hidden';
	}
}

function showMenu2(row,menu)
{
	if (activeRow1)
	{
		hide2 = true;
		hideAllMenu2();
	}
	hide = false;
	hide2 = false;
	if (row)	activeRow1 = row;
	activeRow.style.backgroundColor = '#FFCCFF';
	activeRow1.style.backgroundColor = '#FFCCFF';
	if (menu) activeMenu2 = menu;
	
	defaultTop = topMargin+layerHeight*getMenu(activeMenu2.id).layer;
	protrude2 = defaultTop-document.body.scrollTop+activeMenu2.offsetHeight-document.body.clientHeight;
	if (protrude2 > 0)	
	{
		if (protrude1 > protrude2)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop-protrude2;
	}
	else
	{
		if (protrude1 > 0)
			activeMenu2.style.top = defaultTop-protrude1;
		else
			activeMenu2.style.top = defaultTop;
	}
	
	activeMenu1.style.visibility = 'visible';
	activeMenu2.style.visibility = 'visible';
}

function hideMenu2()
{
	hideMenu();
	clearTimeout(timer2);
	hide2 = true;
	timer2 = setTimeout(hideAllMenu2,600);
}

function hideAllMenu2()
{
	if (hide2) {
		activeRow1.style.backgroundColor = '#C2E5FF';
		activeMenu2.style.visibility = 'hidden';
	}
}

function outcell(cell)
{
	cell.style.backgroundColor = '#C2E5FF';
	cell.style.color = 'black';
}

function outcell2(cell)
{
	cell.style.backgroundColor = '#41DAAA';
	cell.style.color = 'black';
}

function incell(cell)
{
	cell.style.backgroundColor = '#FFCCFF';
	cell.style.color = 'blue';
}