//===========================================================================
//基本設定
//==================== 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(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 = '呂：2008前我還是副總統';
	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(8);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '民進黨：憲政運作 政院當龍頭';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '馬提四問 指扁無威信行使職權';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '台高告蘇益仁、王鍾渝加重誹謗';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '何豐名准辭 今被約談';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '赤崁董座 陳家駒訊後釋回';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '周玉蔻堵馬英九 抗議內湖捷運延宕';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '蘇王會 談立院臨會';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '蔡英文 允諾台商專案檢討';
	rows[7].link = 'today-p8.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 = "《中英對照讀新聞》No guests complain over fat fee at hotel 沒有客人抱怨飯店的計重收費";
	rows[7].link = 'today-int8.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '白晝搏匪 保全路人追回300萬';
	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 = '連八摃 頭獎獨贏4.8億';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '現代電信  A了上億';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '小孩被安置 他血書抗議';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '一歲女娃 獨自伴屍逾3天';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = '高職生家變 陌生人慨捐20萬';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '車禍救緣 情比姊妹深';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = '草書字畫 廣徵解字人';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '80歲余水龍 撿垃圾當養生';
	rows[11].link = 'today-so12.htm';
																										
	rows[12].text = '正調思想起 林玉蘭 牽台美「音」緣';
	rows[12].link = 'today-so13.htm';
																										
	rows[13].text = '厄瓜多女孩 范丹妮 舞動故鄉情';
	rows[13].link = 'today-so14.htm';
																										
	rows[14].text = '種香瓜 國中生樂在田園';
	rows[14].link = 'today-so15.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(9);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '雪隧通訊不通 演練失真';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '有預警演練 無人肯背書';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '大學學費  今年漲幅上限2.3%';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = '台鐵女性車廂啟用 首日混亂';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '基測試題釋疑僅數學第33題 ＡＤ都給分';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '首屆客家新聞獎 本報三件入圍';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '包裝麵含鈉超高 傷腎傷心';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '快沉龍舟 船樑有明顯裂縫';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '男嬰服沙賓疫苗 手腳麻痺';
	rows[8].link = 'today-life9.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '《2006世界盃足球賽》魯尼歸隊 有備胎';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '《2006世界盃足球賽》A組-「德」天獨厚 B組-菁「英」成群';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '《2006世界盃足球賽》英國足球流氓 護照代管';
	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 = '泰山 猛打驅蛇';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '獅後勤元老 大寶摔傷昏迷';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '穆西納完投 洋基五連勝';
	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(11);
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 = 'DRAM廠營收旺 股價轉強';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = 'DRAM大廠 分散風險 消費電子 新興戰場';
	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 = 'OPEC拒絕減產，油價走跌';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '雷曼兄弟︰中國硬著陸風險升高';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '油、金、原物料 仍看漲';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '美聯準會 6月可能升息1碼';
	rows[9].link = 'today-e10.htm';
																										
	rows[10].text = '《理財Q&A》出國刷卡 須付結匯手續費';
	rows[10].link = 'today-e11.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 = '鬼月前大車拚 五月車市止跌';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '德專家︰台灣適合發展再生能源';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = 'Skype來台 釋硬體技術訊息';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '6月PC面板報價 未止跌';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '高階MLCC 產能大擴充';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '《期指觀測站》未平倉量增加 多空對峙6850';
	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 = '扁左右手馬永成、林錦昌 請辭獲准';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(15);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '阿湯哥避居山谷 難防狗仔';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '裸體 玩鳥 撒尿 傑宏貝爾走鋼索 挑釁台灣人';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '林懷民︰看似聳動 發人省思';
	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 = '元斌因傷退伍   1年內復出無望';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '林志玲戰赤壁 力拼三國英雄';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = '詹仁雄內舉不避親 陳孝萱踢調伊能靜';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '柯叔元一毛不留 鄭元暢水餃築溝';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '布蘭妮河東獅吼 凱文厚顏裝孬';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '潔芮想借豪宅 躲狗仔';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '花花公子欽點 邀裘莉拍裸照';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '666特別日 天魔誕生了';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '王老五遇天魔 笑臉拚陰沈';
	rows[14].link = 'today-show15.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
		rows[0].text = '《今日社論》深入檢討憲政制度與媒體角色將民主導入正軌';
		rows[0].link = 'today-s1.htm';
																	
	rows[1].text = '《自由談》阿貓阿狗也打扁';
	rows[1].link = 'today-f1.htm';
																
		rows[2].text = '《鏗鏘集》權力下放，然後呢？';
		rows[2].link = 'today-f2.htm';
																	
}
menu = null;

menu = getMenu('region');
menu.layer = 11;
menu.menuLayer = 0;
menu.rows = new Array(4);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();

	rows[0].text = '大台北新聞　→';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '北部新聞　　→';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '中部新聞　　→';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '南部新聞　　→';
	rows[3].submenu = 'south';
	rows[3].link = 'today-south0.htm';
}
menu = null;

menu = getMenu('taipei');
menu.layer = 11;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(7);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '報稅截止 僅1%縣民未申報';
	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 = '公立高中轉學考 10校聯招';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '淺水灣商家搶灘 違章蓋得兇';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '永和國小學童超優 科展奪4特優';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '國中技藝教育展 學子露一手';
	rows[6].link = 'today-taipei7.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 = '收賊7次溝蓋 第8次報警 業者送辦';
	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 = '社會傳真／殺人未遂強盜取財 判16年餘';
	rows[7].link = 'today-north8.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '賽鴿彩金誘人 北部黑道圍事？';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = '警察在照搶 中市逮4搶嫌';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '每票1000 李秀平之妻遭收押';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '私吞數千萬保費落跑 黑心女襄理 車禍落網';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '3天沒吃飯 2女飛車搶錢';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '曳引車暫停 女大生騎車撞死';
	rows[5].link = 'today-center6.htm';
																										
}
menu = null;

menu = getMenu('south');
menu.layer = 14;
menu.parentMenu = 'region';
menu.menuLayer = 1;
menu.rows = new Array(10);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '高市警察裝備老舊 議員促速添購';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '社區故事牆 訴說西拉雅故事';
	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';
																										
}
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(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 = '激流泛舟 暢快一夏';
		rows[0].link = 'today-weekly1.htm';
																											
		rows[1].text = '勇闖4級激流 高雄荖濃溪泛舟 清涼勁快';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '順道遊 寶來溫泉區山林之旅';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '挑戰3級激流 花蓮秀姑巒溪泛舟 山川之旅';
		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 = '顛覆刻板印象<br>大台中化妝室 大膽玩創意';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '改裝洗手間 令人眼睛一亮';
		rows[7].link = 'today-weekly8.htm';
																											
		rows[8].text = '超妙網拍世界<br>什麼都賣 什麼都不奇怪';
		rows[8].link = 'today-weekly9.htm';
																											
		rows[9].text = '生日禮物 一週提案';
		rows[9].link = 'today-weekly10.htm';
																											
		rows[10].text = '慘綠少年 年少自殘';
		rows[10].link = 'today-weekly11.htm';
																											
		rows[11].text = '元配說給情婦聽';
		rows[11].link = 'today-weekly12.htm';
																											
	}
	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';
}