//===========================================================================
//°ò¥»³]©w
//==================== 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('ÀYª©·s»D','µJÂI·s»D','¬Fªv·s»D','ªÀ·|·s»D','°ê»Ú·s»D','¦Û¥Ñµû½×','¦Û¥Ñ¼s³õ','°]¸gµJÂI','ÃÒ¨é²z°]','¥Í¬¡·s»D','Åé¨|·s»D','¦a¤è·s»D','¼vµø¦W¤H');
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('¥Í¬¡¶g³ø'));
	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  ================================================

//===========================================================================
//¥D¿ï³æ
//==================== begin ================================================
document.write('<TABLE class=block2L cellSpacing=1 cellPadding=3 width=90 border=0>');
document.write('	<TR>');
document.write('		<TD bgColor=#333399>¤µ¤é­n»D</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">±MÃD³ø¾É</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD bgColor=#666666>ªA°È±M°Ï</TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="http://www.roclotto.com.tw/" target=_blank>¼Ö³z±m¨é</A></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A class=block2La href="'+path+'Nnews.htm">²Î¤@µo²¼</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\'">­q³øªA°È</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">¨D¤~±M°Ï</a></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('		<TD class=block2L_tdb><A href="http://www.lscc.com.tw/" target=_blank>¦Û¥Ñ¼s³õ<br>°ê»Ú·|Ä³¤¤¤ß</a></TD>');
document.write('	</TR>');
document.write('</TABLE>');
//====================  end  ================================================

//===========================================================================
//©Ò¦³ªºmenuªº¶µ¥Ø¡A¥ÑPHP²£¥Í
//==================== begin ================================================

menu = getMenu('fo');
menu.layer = 1;
menu.menuLayer = 0;
menu.rows = new Array(6);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '¥Á¶iÄÒ»í¤§ª§¡þ®¼´å®¼½² ¥_¿¤ÃzÄ¬ÁÂ¤j¾Ô';
	rows[0].link = 'today-fo1.htm';
																										
	rows[1].text = '¿ï«e³Ì«á¶g¤é ´å½²¯Î½Ä¨ë';
	rows[1].link = 'today-fo2.htm';
																										
	rows[2].text = 'µJÂIµû½×¡þ¥Á¶iÄÒ¡u°ßÃ­¡vªº¿ï¾Ü';
	rows[2].link = 'today-fo3.htm';
																										
	rows[3].text = '¥_Áú¤j¦L°²¬ü¶r ¬ü°l¤F16¦~';
	rows[3].link = 'today-fo4.htm';
																										
	rows[4].text = '»s³y°°¶r ³Ì­«¥i³B¦º¦D';
	rows[4].link = 'today-fo5.htm';
																										
	rows[5].text = '¤¤°ê°²¬ü¶r ªñ¦~¦¨¤j¥»Àç';
	rows[5].link = 'today-fo6.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 = '§fÁÜ¿¤¥«ªø»E·| °¨§åëÆ¶V¥»¤À';
	rows[0].link = 'today-p1.htm';
																										
	rows[1].text = '°ê¥ÁÄÒ¤½Â¾¯A¸ì³Q¶D °±Åv³B¤À';
	rows[1].link = 'today-p2.htm';
																										
	rows[2].text = '¤½Ãg·|©e­ûªø °ò¼h±ÀÂË³¯¨q¬ü';
	rows[2].link = 'today-p3.htm';
																										
	rows[3].text = '¨â©¤¸g¶T ¥xÆW´¼®w¥Á½Õ6¦¨6ÃÙ¦¨¡u¿n·¥ºÞ²z¡v';
	rows[3].link = 'today-p4.htm';
																										
	rows[4].text = '¤ä«ù¿n·¥ºÞ²z ·¨«CÅ÷®ÑÃØ«ó';
	rows[4].link = 'today-p5.htm';
																										
	rows[5].text = '¥_¨Ê¯A¥x¤H¤h¡J¥xÆW¥Á²³¡u«Ü§Ö§Ñ¤F¤Ï¤Àµõªk¡v';
	rows[5].link = 'today-p6.htm';
																										
	rows[6].text = '´x´¤¦Û¤vªº©R¹B¡A¥xÆW»Ý­n¾Ë§ï';
	rows[6].link = 'today-p7.htm';
																										
	rows[7].text = '·³¥X§R¹O300»õ ¤ý¥­ª÷§_»{©ñ¤ô';
	rows[7].link = 'today-p8.htm';
	rows[7].type = 'Á`¹wºâ¤j§ð²¤';
																										
	rows[8].text = '¦Ê¾l»õ­xÁÊµ¥¦h¶µ ±Nªí¨M';
	rows[8].link = 'today-p9.htm';
	rows[8].type = 'Á`¹wºâ¤j§ð²¤';
																										
	rows[9].text = 'ºñ¤Ïª½¯è±ø´Ú ÂÅÅ@NCC';
	rows[9].link = 'today-p10.htm';
	rows[9].type = 'Á`¹wºâ¤j§ð²¤';
																										
	rows[10].text = '¶Âª÷©ñ¥Í±ø´Ú ºñ­n¾×';
	rows[10].link = 'today-p11.htm';
	rows[10].type = 'Á`¹wºâ¤j§ð²¤';
																										
}
menu = null;

menu = getMenu('int');
menu.layer = 4;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '®L¶©±µ¯Z¤H ¼ÚÀq¯S©IÁn°ª';
	rows[0].link = 'today-int1.htm';
																										
	rows[1].text = '®L¶©À³¥i«O©R ¦ý®£ÅõºÈ';
	rows[1].link = 'today-int2.htm';
																										
	rows[2].text = '¡m¬P´Á¤Hª«¡n®L¶©©M¾Ô¨â¤âµ¦²¤ ª§Ä³¤£Â_';
	rows[2].link = 'today-int3.htm';
																										
	rows[3].text = '¹Gªñ¼Ú¬w ¤g¦Õ¨ä¤S¶Ç5¤H¬V¸V¬y·P';
	rows[3].link = 'today-int4.htm';
																										
	rows[4].text = '¤¤°ê°»¹î¾÷ ¶i¤é»âªÅ±¡»`';
	rows[4].link = 'today-int5.htm';
																										
	rows[5].text = '¦L«×ÁÜ¤C°ê­xºt ¨¾°ô¤¤°ê';
	rows[5].link = 'today-int6.htm';
																										
	rows[6].text = '¨f¹p©x¥qÄñ¨­ Ãã²³°|»â³S';
	rows[6].link = 'today-int7.htm';
																										
	rows[7].text = '¹F¿à§Ñ¦~¤§¥æ «¢°Ç¥h¥@';
	rows[7].link = 'today-int8.htm';
																										
	rows[8].text = '²×¾Ô60¦~ ¤é¾Ôª§¤ù´_¬¡¼ö½æ';
	rows[8].link = 'today-int9.htm';
																										
	rows[9].text = '¬ü¼Ò½d¥D°ü ÅÜ¨­¤k©Ê¥D¸qªÌ';
	rows[9].link = 'today-int10.htm';
																										
	rows[10].text = '¡m¤¤­^¹ï·ÓÅª·s»D¡nBollywood director to explore suicide bomber\'s mind Ä_µÜ¶õ¾Éºt±´¯Á¦Û±þ¬µ¼u«Èªº¤º¤ß';
	rows[10].link = 'today-int11.htm';
																										
}
menu = null;

menu = getMenu('so');
menu.layer = 3;
menu.menuLayer = 0;
menu.rows = new Array(12);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '¨k¦Ñ®v ´e¦º8·³¸£³Â¤k';
	rows[0].link = 'today-so1.htm';
																										
	rows[1].text = '1®a4¤f¤W½Ò¥h ¨Í¿Ë¤p¥S©f ½ü´È¤÷¥À±À¤â';
	rows[1].link = 'today-so2.htm';
																										
	rows[2].text = '¤j§µ¼ú·¢¼Ò¡þ§µ·@·Ó®Æ¯f±C±C µL·L¤£¦Ü¦p¿Ë¤k';
	rows[2].link = 'today-so3.htm';
																										
	rows[3].text = 'ª¯Âå¥Íªv¯f Àø¼¾¤H¤ß';
	rows[3].link = 'today-so4.htm';
																										
	rows[4].text = '¤µ¦~¬K¦w 3¤j­«ÂI¶Ô°È';
	rows[4].link = 'today-so5.htm';
																										
	rows[5].text = '±¶¹B¶B¼u¥Ç ³º¬O¤Ö¤k';
	rows[5].link = 'today-so6.htm';
																										
	rows[6].text = '¤Ö¦~ª÷«°ªZ ¤Ö¤k¼ô¤k³£·Ù';
	rows[6].link = 'today-so7.htm';
																										
	rows[7].text = '§A®a´N¬O§Ú®a ¬r±CÅQ«Î¹G«Î¥D·h®a';
	rows[7].link = 'today-so8.htm';
																										
	rows[8].text = 'ÃÒ¥ó¿ù¼g ¦Ñ®vª¨ª¨´«¤H·í';
	rows[8].link = 'today-so9.htm';
																										
	rows[9].text = '¯²¬ù°_ªÈ¯É ¶Àª÷©±­±ÅÜ¼o¼V';
	rows[9].link = 'today-so10.htm';
																										
	rows[10].text = 'ÀË¤è½èºÃ ªk³¡¼f·V ¦º¥}©wù©¥b¦~¥¼ºj¨M';
	rows[10].link = 'today-so11.htm';
																										
	rows[11].text = '¬°¥û¤â¨D¥Í ·Àªù³Q®`¤H®a±Ú½Ð©R';
	rows[11].link = 'today-so12.htm';
																										
}
menu = null;

menu = getMenu('life');
menu.layer = 9;
menu.menuLayer = 0;
menu.rows = new Array(14);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Ãö¤M·Ëªü¼¯¥§¨È¿@«× ¹wª¾¦a¾_';
	rows[0].link = 'today-life1.htm';
																										
	rows[1].text = '¤¤³¡¤s°Ï»Ä«B «D±`ÄY­«';
	rows[1].link = 'today-life2.htm';
																										
	rows[2].text = '°ê¹DÄµ¡G¦æ±±¤¤¤ß¤ÏÀ³ ÁÙ¤£¦pÄµ¼s';
	rows[2].link = 'today-life3.htm';
																										
	rows[3].text = 'Æ[¥ú§½§½À² ¤Õ¤lÅÜ¥xÆW';
	rows[3].link = 'today-life4.htm';
																										
	rows[4].text = '1®a3¥N4¹è°ü ¤@»ô¼x±B';
	rows[4].link = 'today-life5.htm';
																										
	rows[5].text = '±B«e¼x«H ±M§ì·R±¡ÄF¤l';
	rows[5].link = 'today-life6.htm';
																										
	rows[6].text = '¤Ò¦º±C¹GÂ÷ ¶V®Q¤ß²I¦å';
	rows[6].link = 'today-life7.htm';
																										
	rows[7].text = '¾Ç´ú¸}¨Bªñ ¦Ñ®v«ØÄ³¦h°µ¦Ò¥jÃD';
	rows[7].link = 'today-life8.htm';
																										
	rows[8].text = '°ê¤å¬ì ¦h¬Ý³ø¯È §@¤å§O¿ù¦r';
	rows[8].link = 'today-life9.htm';
	rows[8].type = '¦Ò«e½Ä¨ë ¦Ñ®v¶}Á¿¡þ¤W½g';
																										
	rows[9].text = '¼Æ¾Ç¬ì ²z¸ÑÅÞ¿è ª`·N¹Ï§ÎÃD';
	rows[9].link = 'today-life10.htm';
	rows[9].type = '¦Ò«e½Ä¨ë ¦Ñ®v¶}Á¿¡þ¤W½g';
																										
	rows[10].text = '­^¤å¬ì ¬Ý¹Ï»¡¸Ü °O®É¨Æ³æ¦r';
	rows[10].link = 'today-life11.htm';
	rows[10].type = '¦Ò«e½Ä¨ë ¦Ñ®v¶}Á¿¡þ¤W½g';
																										
	rows[11].text = '³ÕºÓ¯ZºÂ¸Õ ¤@¦¡¦¬¶O®Á§å';
	rows[11].link = 'today-life12.htm';
																										
	rows[12].text = 'ºû¥L©RA¡BE¹L¶q ºÃ­P¹L±Ó';
	rows[12].link = 'today-life13.htm';
																										
	rows[13].text = '³Ü¥À¨Å ¤kÀ¦·P¬V¨Fªù¤óµß';
	rows[13].link = 'today-life14.htm';
																										
}
menu = null;

menu = getMenu('sp');
menu.layer = 10;
menu.menuLayer = 0;
menu.rows = new Array(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = 'Àï¤hÁn¤¤ ¬¡¶ë¾K­Ë';
	rows[0].link = 'today-sp1.htm';
																										
	rows[1].text = '¤Ó¶§¨ë²´ °¨¨ë¤î³s³Ó';
	rows[1].link = 'today-sp2.htm';
																										
	rows[2].text = '¬ö¬F°Ñ¿ï¶ø·|¥D®u ®}¦ë¤O®¼';
	rows[2].link = 'today-sp3.htm';
																										
	rows[3].text = '¸U¾l¥Á²³ ¬°°·±d¦Ó¶]';
	rows[3].link = 'today-sp4.htm';
																										
	rows[4].text = '¡m¥d¹F¨kºôÁÉ¡n¶O¤Ñ¤ý ·s¬K²Ä¤@«a';
	rows[4].link = 'today-sp5.htm';
																										
	rows[5].text = '¡m¨È¹B¼²²y°ê¤â¿ï©Þ¡n¨â¤C¦~¯Å¬ü¬Ü ²v¥ý¥X½u';
	rows[5].link = 'today-sp6.htm';
																										
	rows[6].text = '¡mSBL¡n¥ÐÂS¥Çº¡ ³¥Ã~¨g¼S';
	rows[6].link = 'today-sp7.htm';
																										
	rows[7].text = '¡mSBL¡n¹qµø¤j¾Ôpart2 ªF´Ë¤j³Ó½n¨Ó';
	rows[7].link = 'today-sp8.htm';
																										
	rows[8].text = '¦ã´¶°Ç¤ñ ¤µ¬D¾Ô¤T³sÅQ';
	rows[8].link = 'today-sp9.htm';
																										
	rows[9].text = '¬Ó®a¬× ¦è­·À£­ËªF­·';
	rows[9].link = 'today-sp10.htm';
																										
	rows[10].text = '¾W¥J¬K°V ¦³®ñ»R¸õ¤£¨Ó';
	rows[10].link = 'today-sp11.htm';
																										
	rows[11].text = '¬x¤@¤¤¡G¤£­nµ¹¾W¥JÀ£¤O';
	rows[11].link = 'today-sp12.htm';
																										
	rows[12].text = '¸g¨åÁÉ¤H¿ï ³Ì±ß16¤é¤½¥¬';
	rows[12].link = 'today-sp13.htm';
																										
	rows[13].text = 'ªL«Â§U¡B¾HãÂ¶§ ¤p¦Pµ¡¤@¼Ë´Î';
	rows[13].link = 'today-sp14.htm';
																										
	rows[14].text = '¡m°ª¤¤ÁpÁÉ¡n¦è­bLucky 7 ÀI¤¤¨D³Ó';
	rows[14].link = 'today-sp15.htm';
																										
	rows[15].text = 'Ã¹¼w¨½»í¯÷ ¨M©w¤£¥´¸g¨åÁÉ';
	rows[15].link = 'today-sp16.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 = 'µ|§ï±Ò°Ê °]¬F¥­¿Å¥i±æ´£«e¹F°}';
	rows[0].link = 'today-e1.htm';
																										
	rows[1].text = '´I¤HÁ×µ|ªá©Û ¥þ¯}¥\';
	rows[1].link = 'today-e2.htm';
																										
	rows[2].text = '¬F°|³S¤â µ|§ï¥u°µ¤F1/3';
	rows[2].link = 'today-e3.htm';
																										
	rows[3].text = '¿n·¥ºÞ²z¡B¦³®Ä¶}©ñ ¥~¬É²qÂ½¤Ñ<br>¦ó¬üªµ ³ÌÀ´«ó¦¡ºÞ²zªk';
	rows[3].link = 'today-e4.htm';
																										
	rows[4].text = '¥_°Ó»È ÁßÆC¦~«e½}¤u';
	rows[4].link = 'today-e5.htm';
																										
	rows[5].text = '¨Ñ»Ý¤´¥¢¿Å ªo»ùÄòº¦';
	rows[5].link = 'today-e6.htm';
																										
	rows[6].text = '³Ò¹Î¶Ò´ÚÃø ­±Á{Â_ª¤';
	rows[6].link = 'today-e7.htm';
																										
	rows[7].text = '¡m¥ø·~¨p©Ðµæ¡n¯ïªK¥ÕÄõ¦a ¦b¦a¥»¤g¨ý';
	rows[7].link = 'today-e8.htm';
																										
	rows[8].text = '¡m°]¸g®É½×¡n½²¦N·½¡J¨â©¤¸g¶T ¤£¥iÃP¸j';
	rows[8].link = 'today-e9.htm';
																										
	rows[9].text = '¡mÀYÀY¬O¹D¡n¸­³Óµo¡J³]³Æ°ê²£ ¥[±j¬ãµo';
	rows[9].link = 'today-e10.htm';
																										
}
menu = null;

menu = getMenu('stock');
menu.layer = 8;
menu.menuLayer = 0;
menu.rows = new Array(18);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '¥d¥£¨D¥Í ²Õ¦Û±Ï·|';
	rows[0].link = 'today-stock1.htm';
																										
	rows[1].text = '§ä»È¦æ¿ì¤À´Á ¼t°Ó¹H¬ù¤´»Ý¥I´Ú';
	rows[1].link = 'today-stock2.htm';
																										
	rows[2].text = '¡m¤@¶g¹j©î¡n¦~Ãö±N©¡ ªi°Ê¤£¤j';
	rows[2].link = 'today-stock3.htm';
																										
	rows[3].text = '¡m¤@¶gª÷»ù¡nµu½u¾_Àú À£ÁY»Ý¨D';
	rows[3].link = 'today-stock4.htm';
																										
	rows[4].text = '¡m¤@¶g¶×²v¡n¤é¶ê¨«´­ ¿EÀy¶×»ù';
	rows[4].link = 'today-stock5.htm';
																										
	rows[5].text = '¤j¾Ç¥ú¡BºëµØ¥ú ¬Û½÷¬M';
	rows[5].link = 'today-stock6.htm';
																										
	rows[6].text = '¤T¬P¡J¤µ¦~¥þ²yNAND¾P°â­È¦¨ªø3¦¨';
	rows[6].link = 'today-stock7.htm';
																										
	rows[7].text = '¤jµØ°ª¬ì§Þ°òª÷¸g²z¤H³¯¾Ë§Ó¡JNB¡B¼Æ¦ì¬Û¾÷¡B§C»ù¤â¾÷¬Ý¦n';
	rows[7].link = 'today-stock8.htm';
																										
	rows[8].text = '¤¤¿³¤¤¤p°òª÷¸g²z¤H§õ¨ÎªY¡JÂê©wLCD TV¹s²Õ¥ó¡BIC«Ê´ú';
	rows[8].link = 'today-stock9.htm';
																										
	rows[9].text = '¥¬§½¨È¬w ¤éªÑ¬õ¤£Åý';
	rows[9].link = 'today-stock10.htm';
																										
	rows[10].text = '®õªÑ ¥~¸ê³s2¶R ³Ð·s°ª¬ö¿ý';
	rows[10].link = 'today-stock11.htm';
																										
	rows[11].text = '¡mµØº¸µóÆ[´ú¯¸¡n·s¦~°_º¦ ¤¸¤ë®ÄÀ³©úÅã';
	rows[11].link = 'today-stock12.htm';
																										
	rows[12].text = '°f¶ÕÃk¤É ¥úÄ_¬ì±þ¥X­«³ò';
	rows[12].link = 'today-stock13.htm';
																										
	rows[13].text = 'Ä¬¼w«Ø²Ä¤@ªÑ Ämµ¹¥x¶}';
	rows[13].link = 'today-stock14.htm';
																										
	rows[14].text = '¤¤¥ú¹q 12¤ëÀç¦¬¤@ªK¿W¨q';
	rows[14].link = 'today-stock15.htm';
																										
	rows[15].text = '°ê¤º¤u¯È ¦~«áÀÀº¦1¦¨';
	rows[15].link = 'today-stock16.htm';
																										
	rows[16].text = '¡m´Á«üÆ[´ú¯¸¡n4¤j«ü´Á ¦h¤è¥D¾É';
	rows[16].link = 'today-stock17.htm';
																										
	rows[17].text = '¡m¤W¶g¥xªÑº¦¶^´T¡n©MÝÏ ÷~°T ¥x¥ú¹q ¦¨ªø©ÊÃD§÷¤O¹D±j';
	rows[17].link = 'today-stock18.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 = '¶W¯Å°²¬ü¶r ÄF¹L»È¦æÅç¶r¾÷';
	rows[0].link = 'today-t1.htm';
																										
}
menu = null;

menu = getMenu('show');
menu.layer = 12;
menu.menuLayer = 0;
menu.rows = new Array(16);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '¯«¥P²o¬õ½u  ÂÅ¥¿Às³n¤Æ  »P³\Þ³­Û´ê¤@¹ï';
	rows[0].link = 'today-show1.htm';
																										
	rows[1].text = '§õ­^·R  ÅS¯Ý¨q»L¦n©Ê·P';
	rows[1].link = 'today-show2.htm';
																										
	rows[2].text = '¤ý¤O§»²o¬õ½u ¸g¬ö¤HÅÜ¸¤¶ý';
	rows[2].link = 'today-show3.htm';
																										
	rows[3].text = '«J¨Ø§Â®¥³ß³s³Ó¤å ¦£¬D©P¸³¥Í¤éÂ§';
	rows[3].link = 'today-show4.htm';
																										
	rows[4].text = '¾¤©ú³Q¶Ê±B  ±Y¼ì½|´CÅé';
	rows[4].link = 'today-show5.htm';
																										
	rows[5].text = '¤­¤ë¤Ñ¥Î¶æ»¶·nºuHighÂ½¦¨³£';
	rows[5].link = 'today-show6.htm';
																										
	rows[6].text = '·¨¥àµY¸Ë¥i·R Äµ¹î§B§B¤£¶R±b';
	rows[6].link = 'today-show7.htm';
																										
	rows[7].text = '¤£®ö¡D¤×·F¦^®a ¦n¤Í±¥©À';
	rows[7].link = 'today-show8.htm';
																										
	rows[8].text = 'µwº~·¨¯P ¤µ¤Ñ¥X°|¤F¡I';
	rows[8].link = 'today-show9.htm';
																										
	rows[9].text = '³¯©ú¯u¥Í¤é¦å±Y »a¥Õ¶P·s¬K';
	rows[9].link = 'today-show10.htm';
																										
	rows[10].text = '§E²»»ÍÅS­± ¦³«H¤ß¦AÂô»Èªe';
	rows[10].link = 'today-show11.htm';
																										
	rows[11].text = ' ªüSa¾Ô¤hÅÜ§¯¤k ¬üÁà³£«¬';
	rows[11].link = 'today-show12.htm';
																										
	rows[12].text = '¥xµø°£¤i¦³ª¯Æg 183 CLUB¥ý¨«ª¯«Ë¹B';
	rows[12].link = 'today-show13.htm';
																										
	rows[13].text = '²ï¸¦²]¶Ã¶øÄõ¦h´À¨­ 1¤Ñª£¶º6¦¸';
	rows[13].link = 'today-show14.htm';
																										
	rows[14].text = '°ê®a¼vµû¤H¨ó·|¹{¼ú ¬_ªi«Ò§N¦åÀ»±ÑÂ_­I¤s';
	rows[14].link = 'today-show15.htm';
																										
	rows[15].text = '±iªF°·²¼©Ð¥¢ÆF ½æ¿é±ä©Ó¦ö';
	rows[15].link = 'today-show16.htm';
																										
}
menu = null;

menu = getMenu('c');
menu.layer = 5;
menu.menuLayer = 0;
menu.rows = new Array(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '¡m¤µ¤éªÀ½×¡n´Á«Ý¤@­Ó»{¦P¥xÆWÀu¥ýªº¤º»Õ';
	rows[0].link = 'today-s1.htm';
																
	rows[1].text = '¡m¦Û¥Ñ½Í¡n¤¤°ê¨Ó¡Aªü«ó¾×¡I';
	rows[1].link = 'today-f1.htm';
																
	rows[2].text = '¡mÃôÃò¶°¡n°ê¡B¦@¥©¬I¿ßºµ­p¡I';
	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 = '¤j¥x¥_·s»D¡@¡÷';
	rows[0].submenu = 'taipei';
	rows[0].link = 'today-taipei0.htm';

	rows[1].text = '¥_³¡·s»D¡@¡@¡÷';
	rows[1].submenu = 'north';
	rows[1].link = 'today-north0.htm';

	rows[2].text = '¤¤³¡·s»D¡@¡@¡÷';
	rows[2].submenu = 'center';
	rows[2].link = 'today-center0.htm';

	rows[3].text = '«n³¡·s»D¡@¡@¡÷';
	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 = '¸ôÃä°±¨®¶g¤é¦¬¶O ±NÂX¤j';
	rows[0].link = 'today-taipei1.htm';
																										
	rows[1].text = '§ì¨®ÅQ ½æ¨®­ÓÅé¤áÀÀ¯Ç¤J';
	rows[1].link = 'today-taipei2.htm';
																										
	rows[2].text = '¨­»Ù·|À] ¦³Ãª®z¶Õ';
	rows[2].link = 'today-taipei3.htm';
																										
	rows[3].text = '¨L¨Lª¯¨Ó´I ­â±á±Æ¶¤¼Ö±y¹C';
	rows[3].link = 'today-taipei4.htm';
																										
	rows[4].text = '§Ü¯f«iªÌ ­«¬B±ÐÃ@';
	rows[4].link = 'today-taipei5.htm';
																										
	rows[5].text = '¥«ªø¿ïÁ|Æ[´ú¯¸--¥Á¶iÄÒÄ³­û ÀÀ±À©P¬f¶®';
	rows[5].link = 'today-taipei6.htm';
																										
	rows[6].text = '¤s¤¤¨®§É±Ú ¬y®ö¤k¤@¦í¥b¦~';
	rows[6].link = 'today-taipei7.htm';
																										
	rows[7].text = '­¼«È¶}¨®ªù¼²¤H ¾r¾p¤]¦³¸o';
	rows[7].link = 'today-taipei8.htm';
																										
	rows[8].text = 'ªOÄµ«Ñ¹D²bªÅ ²½¥X­«»@';
	rows[8].link = 'today-taipei9.htm';
																										
	rows[9].text = '¤ôªG¥¤¥¤²{¨­ ¯fµ£¶}¤ßª§´¤¤â';
	rows[9].link = 'today-taipei10.htm';
																										
	rows[10].text = '°]·½«úÕu ­·ºå¸`¡B°à°s¸`±N°±¿ì';
	rows[10].link = 'today-taipei11.htm';
																										
}
menu = null;

menu = getMenu('north');
menu.layer = 12;
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 = '°ê¹D¶}¸ôªÓ ¥¼Á|µo·Ó»@';
	rows[0].link = 'today-north1.htm';
																										
	rows[1].text = 'Äµ©ÒÁô¨­¥Á¦v ·Q§ä¸C¤j²´';
	rows[1].link = 'today-north2.htm';
																										
	rows[2].text = '¦Ë¥«µJ«Í®× ©ú¸Ñ­å¬d¦º¦]';
	rows[2].link = 'today-north3.htm';
																										
	rows[3].text = '©ìªO¨®¨göt°l³v ¨®½ø¥Á¦v¾D¬o';
	rows[3].link = 'today-north4.htm';
																										
	rows[4].text = 'ºë¯«¯f±w¦æ·m ²o©ì¦Ñ¥À';
	rows[4].link = 'today-north5.htm';
																										
	rows[5].text = '8¦~2«×¤À¦X «è°¸²×¤À­¸';
	rows[5].link = 'today-north6.htm';
																										
	rows[6].text = '¤ì®Æ¼t¤j¤õ ¼³·À¶O®É';
	rows[6].link = 'today-north7.htm';
																										
}
menu = null;

menu = getMenu('center');
menu.layer = 13;
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 = '¥ð®È¨®¸Ë¨¾¼²±ì «n§ë¶}»@';
	rows[0].link = 'today-center1.htm';
																										
	rows[1].text = 'ªAÃÄ©ü¨I¨I ¶}¨®¼²¥Á¦v';
	rows[1].link = 'today-center2.htm';
																										
	rows[2].text = '¥L½æªºLa New«K©y¤@¥b ³Q¨ç°e';
	rows[2].link = 'today-center3.htm';
																										
	rows[3].text = '¤£ªA®Á»@ ¤W©x¿PºÛ¤´±Ñ¶D';
	rows[3].link = 'today-center4.htm';
																										
	rows[4].text = '°²¶r¿}¯A«IÅv ·í¤ß¯u»@¿ú';
	rows[4].link = 'today-center5.htm';
																										
	rows[5].text = '©]¶¡¸ôÀË ¤¤¥«Äµ¤èªø´Á§Ü¾Ô';
	rows[5].link = 'today-center6.htm';
																										
	rows[6].text = '®a¤¤¥¢¤õ ­ûÄµ°õ¶Ô§¹¤~µ½«á';
	rows[6].link = 'today-center7.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 = '¼»ºô¬°Àù¤÷ ­n¶Ò¸U­Ó¯¬ºÖ';
	rows[0].link = 'today-south1.htm';
																										
	rows[1].text = '²ø§Ó¦¨ ¸üµÛ­·¨®¶]¥þ¥x';
	rows[1].link = 'today-south2.htm';
																										
	rows[2].text = '¤½¾l§@¥\¼w ¼ö¤ßÄµ¹î¬°µL¦W«Í§ä®a¤H';
	rows[2].link = 'today-south3.htm';
																										
	rows[3].text = '¸ó¦~©]³cºj ¼q«e´N¾à';
	rows[3].link = 'today-south4.htm';
																										
	rows[4].text = '«Ì¥«ÅÑ®× ¾÷¨®©~¥b';
	rows[4].link = 'today-south5.htm';
																										
	rows[5].text = '¤¤°ê·s®Q ¯²«Î¾DÅÑ';
	rows[5].link = 'today-south6.htm';
																										
	rows[6].text = 'ÃM¤h³Q¼² ¼Y¾ôºL¦º';
	rows[6].link = 'today-south7.htm';
																										
}
menu = null;

menu = getMenu('o');
menu.layer = 6;
menu.menuLayer = 0;
menu.rows = new Array(11);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '«¢¦ò¬G¨Æ';
	rows[0].link = 'today-o1.htm';
																										
	rows[1].text = '¥u©È¨Í±q¤£¯à¥´¤Ñ¤U';
	rows[1].link = 'today-o2.htm';
																										
	rows[2].text = '·q§iÄÒ¤¤¥¡';
	rows[2].link = 'today-o3.htm';
																										
	rows[3].text = '¡mª÷ùÚÞm±MÄæ¡n°¨­^¤E³s¤­Åv¾Ëªk¤]¤£À´';
	rows[3].link = 'today-o4.htm';
																										
	rows[4].text = '¿ßºµ²Î¾Ô ­n¥D°Ê¥XÀ»';
	rows[4].link = 'today-o5.htm';
																										
	rows[5].text = '°ê¦v°òª÷ ¤£¯à¥uÁÙ¿ú¤F¨Æ';
	rows[5].link = 'today-o6.htm';
																										
	rows[6].text = '²Î²Î¡A¨Ì¨Ìvs.¦Û¦Û¡AÍiÍi';
	rows[6].link = 'today-o7.htm';
																										
	rows[7].text = 'ÄÒ²£¤½§ë';
	rows[7].link = 'today-o8.htm';
																										
	rows[8].text = '¥­¥­±Ð®Ñ ®t³o»ò¦h';
	rows[8].link = 'today-o9.htm';
																										
	rows[9].text = '½Õ°ªÀç·~µ|²v ¤p¤ß¡I';
	rows[9].link = 'today-o10.htm';
																										
	rows[10].text = '¹sÅé»@ªº¬ü°ê¸gÅç';
	rows[10].link = 'today-o11.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 = '¬y¦æ®ø¶O¡@¡@¡÷';
		rows[0].submenu = 'fashion';
		rows[0].link = 'today-fashion1.htm';
	
		rows[1].text = '¦n«~¨ý¡@¡@¡@¡÷';
		rows[1].submenu = 'living';
		rows[1].link = 'today-living1.htm';
	
		rows[2].text = '®a®x¨â©Ê¡@¡@¡÷';
		rows[2].submenu = 'family';
		rows[2].link = 'today-family1.htm';
	
		rows[3].text = '°·±dÂåÀø¡@¡@¡÷';
		rows[3].submenu = 'medicine';
		rows[3].link = 'today-medicine1.htm';
	
		rows[4].text = '¦Û¥Ñ°Æ¥Z¡@¡@¡÷';
		rows[4].submenu = 'article';
		rows[4].link = 'today-article1.htm';
	
		rows[5].text = '«C¬K¬ü¡@¡@¡@¡÷';
		rows[5].submenu = 'young';
		rows[5].link = 'today-young1.htm';
	
		rows[6].text = 'ÃÀ³N¤å¤Æ¡@¡@¡÷';
		rows[6].submenu = 'art';
		rows[6].link = 'today-art1.htm';
	
		rows[7].text = '¥ð¶¢®È¹C¡@¡@¡÷';
		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(3);
with (menu)
{
	for (i=0; i<rows.length; i++)
		rows[i] = new Object();
																
	rows[0].text = '·m²´¬y¦æ¦â «Yª÷£°¡I';
	rows[0].link = 'today-fashion1.htm';
																										
	rows[1].text = '¤è®æ®É©|';
	rows[1].link = 'today-fashion2.htm';
																										
	rows[2].text = '©~®aDIY´«½§³N';
	rows[2].link = 'today-fashion3.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 = '­^¬ü»¨µØSUV¤j¹ï§Ü<br>Land Rover Discovery 4.0 vs. Jeep Grand Cherokee 3.7';
	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 = '¦h¥Î¤ß ¶Â¤ß­¹ª«¤£¤U¨{';
	rows[0].link = 'today-family1.htm';
																										
	rows[1].text = 'ªB¤Í±B«Ã¥Xª¬ªp<br>¥u¯àÄU¦X¤£ÄUÂ÷¡H';
	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 = '¨Å©ÐÄá¼v<br>¿ï¹ï®É¶¡ ´î¤Ö¯kµh';
	rows[0].link = 'today-medicine1.htm';
																										
	rows[1].text = '¨ÅÀùªì´ÁÅÜ¤Æ¤£©úÅã<br>©y¦Û§ÚÀË¬dµo²{¸~½F';
	rows[1].link = 'today-medicine2.htm';
																										
	rows[2].text = '¦P¾Ç­Ì ÁÂÁÂ§A­ÌªºÀ°¦£';
	rows[2].link = 'today-medicine3.htm';
																										
	rows[3].text = '¤£­n©È¦YÃÄ ¦hµ¹«Ä¤l¾÷·|';
	rows[3].link = 'today-medicine4.htm';
																										
}
menu = null;

menu = getMenu('article');
menu.layer = 17;
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 = '¥xÆW»R¦±<br>¦¿¤å¤]ªº¬G¨Æ.¤W';
	rows[0].link = 'today-article1.htm';
																										
	rows[1].text = '¬yÂà';
	rows[1].link = 'today-article2.htm';
																										
	rows[2].text = '¸K°s¨ýªº¤û§Z®Ö';
	rows[2].link = 'today-article3.htm';
																										
	rows[3].text = '¹Ú¹C';
	rows[3].link = 'today-article4.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 = '½Ö¦Ðª§¾W<br>¤@¶g¦Ðµ³¦ç¬ï·f³N';
	rows[0].link = 'today-young1.htm';
																										
}
menu = null;

menu = getMenu('art');
menu.layer = 19;
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 = 'ÃÀÉ«¦^¾Ð¿ý ªºªF¤è«s·T<br>¤j´£µ^®a°¨¤Í¤Í²`±¡¥[«ù';
	rows[0].link = 'today-art1.htm';
																										
	rows[1].text = '¥´³y¤º¦b®çªá·½<br>¬I¤u©¾©þ¦³·Rªºµ²ª÷';
	rows[1].link = 'today-art2.htm';
																										
	rows[2].text = '¤ÖªL¦xªZ¹¬ ²{¨­¤j«¬»R¼@¡m­·¤¤¤ÖªL¡n';
	rows[2].link = 'today-art3.htm';
																										
	rows[3].text = '®a®x¼@»P¤é±`¸Ö<br>¤G¤Q¸¹­Ü®wÀRÀR·hºt';
	rows[3].link = 'today-art4.htm';
																										
	rows[4].text = '±µªñ¤Ñ°óªº¨­Åé»y¨¥ ¦^¨ì¤F¤Ñ°ó<br>½s»R®a¥î°ê¬W¹L¥@ ªLÃh¥Á·P¶Ë';
	rows[4].link = 'today-art5.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 = '¥þ®a¨ì­»´ä¶º©±¼y¹Î¶ê';
	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>¡m'+menus[j].rows[i].type+'¡n</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+'\'">¡D'+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';
}