//===========================================================================
//基本設定
//==================== begin ================================================
topMargin = 112;
layerHeight = 23;
leftMargin = 90;
tableWidth = 200;
rowHeight = 22;
showWeekly = true;
path = '';
//====================  end  ================================================

//===========================================================================
//所有的menu
//==================== begin ================================================
menuNames = new Array('t','fo','so','int','e','life','sp','show');
titles = new Array('頭版新聞','焦點新聞','社會新聞','國際新聞','財經焦點','生活新聞','體育新聞','影視名人');
pages = new Array('today-t1.htm','today-fo1.htm','today-so0.htm','today-int0.htm','today-e1.htm','today-life1.htm','today-sp0.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('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(\'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="http://www.lscc.com.tw/" target=_blank>自由廣場<br>國際會議中心</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//所有的menu的項目，由PHP產生
//==================== begin ================================================

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 = '日明天可望完成修法 賠償痲瘋病患217萬';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

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 = '扁3主張 創造軍購論辯空間';
	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 = '突檢亞力山大 3家不合格挨罰';
	rows[8].link = 'today-fo9.htm';
																										
	rows[9].text = '大樂透頭獎 今晚拚十億';
	rows[9].link = 'today-fo10.htm';
																										
	rows[10].text = '戴勝益 談笑用兵 樂在工作';
	rows[10].link = 'today-fo11.htm';
	rows[10].type = '自由之星2005';
																										
	rows[11].text = '證嚴法師 濟貧教富 一做40年';
	rows[11].link = 'today-fo12.htm';
	rows[11].type = '自由之星2005';
																										
	rows[12].text = '黃煥彰 揭發污染勇往直前';
	rows[12].link = 'today-fo13.htm';
	rows[12].type = '自由之星2005';
																										
	rows[13].text = '許新春、鄭如意 熟女創業 聲名遠播';
	rows[13].link = 'today-fo14.htm';
	rows[13].type = '自由之星2005';
																										
	rows[14].text = '廖世卿 鳥類專家推銷台灣';
	rows[14].link = 'today-fo15.htm';
	rows[14].type = '自由之星2005';
																										
}
menu = null;

menu = getMenu('so');
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 = '岸巡隊遇劫…飆仔洩憤 搶裝備丟大海';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '自家人找碴…士官酒駕 府旁路樹遭殃';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '駁火36槍 治平對象斃命';
	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 = '年獸扮祝融 前消防員亡';
	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 = '偷渡犯移送「一國兩制」';
	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('int');
menu.layer = 3;
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-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 = 'H5N1病毒雞下肚 三港人送醫隔離';
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = '《中英對照讀新聞》Japan lab develops humanoid robot that can run house errands日本實驗室研發可以作家務的機器人';
	rows[8].link = 'today-int9.htm';
																										
}
menu = null;

menu = getMenu('e');
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-e1.htm';
																										
	rows[1].text = '電子股--半導體 台積電是首選';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '傳產股--汽車 新車效應馬力足';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '美再升息1碼 還有下一波';
	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('life');
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-life1.htm';
																										
	rows[1].text = '天后宮迎神 喜從天降';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '北港朝天宮--下半年農、商看俏';
	rows[2].link = 'today-life3.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 6;
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].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';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 7;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '狗明星 電力汪汪旺';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = 'S.H.E旺旺叫 扮狗蹦蹦跳';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '小嫻DIY FUFU秀衣下';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '狗屎運VS.好狗運 老外星情大不同';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '王力宏吉祥畫 黃綠紅賀新春';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '狗年招財6絕招 請跟梁又琳這樣做';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '維多利亞遭性騷擾 開400萬吃飯價';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '王心凌施法寶 五路財神照過來';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = 'YOYO 新春開唱 犒賞小祖宗';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '小金人在望 瑞絲大High 瑞秋沒信心';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '小布硬漢變軟 想當Gay';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = '鳳凰女舞台劇 單日狂賣2.2億';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '草野博紀制服妹 喝酒黏TT';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '金允珍 崔智友 撈外幣人氣鈔旺';
	rows[13].link = 'today-show14.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(0);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
}
menu = null;

menu = getMenu('living');
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('family');
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('medicine');
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('article');
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('young');
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;

menu = getMenu('art');
menu.layer = 19;
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 = 20;
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 = 8;
	menu.menuLayer = 0;
	menu.rows = new Array(10);
	with (menu)
	{
		for (i=0; i<rows.length; i++)
			rows[i] = new Object();
																	
		rows[0].text = '我要變成大美人！<br>夜晚最耀眼Club女王就是妳！';
		rows[0].link = 'today-weekly1.htm';
																											
		rows[1].text = 'Party Qween<br>Sexy迷人的小野貓 安室風';
		rows[1].link = 'today-weekly2.htm';
																											
		rows[2].text = '台北 初五得來素<br>獨素一格 簡單好滋味';
		rows[2].link = 'today-weekly3.htm';
																											
		rows[3].text = '台中 初五得來素<br>自然蔬食風 創意素料理';
		rows[3].link = 'today-weekly4.htm';
																											
		rows[4].text = '高雄 初五得來素<br>中西合壁 別有一番素滋味';
		rows[4].link = 'today-weekly5.htm';
																											
		rows[5].text = '風水大師  解讀農民曆《初五篇》';
		rows[5].link = 'today-weekly6.htm';
																											
		rows[6].text = '一個人過年';
		rows[6].link = 'today-weekly7.htm';
																											
		rows[7].text = '過年，一個人';
		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';
																											
	}
	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';
}