function writemenu(num){

	var str;

//if (num=="")

//{	num=1; }



str='<table width="185" height="80" border="0" cellpadding="0" cellspacing="0">'+

                '<tr valign="top">'+

                  '<td width="10" height="30">&nbsp;</td>'+

                  '<td width="166"><table width="166" border="0" cellspacing="0" cellpadding="0">'+

                    '<tr>'+

                      '<td height="30"><img src="../images/menu/top.gif" width="166" height="30"></td>'+

                    '</tr>'+

                  '</table>                    '+

                    '<table width="161" border="0" cellspacing="0" cellpadding="0">'+

                      '<tr valign="top">'+

                        '<td width="11" background="../images/menu/left.gif"></td>'+

                        '<td width="150" background="../images/menu/bg.gif" style="background-repeat: no-repeat;	background-position: right bottom;">'+

                          '<table width="150" border="0" cellpadding="1" cellspacing="0" class="txt">'+

                          '<tr> '+

                            '<td valign="top" class="txtr">';

							if(num==1){

								str+='<img src="../images/subpages/arrow_red.gif" width="22" height="17" align="absmiddle">';

								str+='<font color="ED1C24">新闻公告</font>';

							}else{

								str+='<img src="../images/subpages/arrow_black.gif" width="22" height="17" align="absmiddle">';

								str+='<a href="http://www.muchina.com/news/news.htm">新闻公告</a>';

							}

							str=str+'</td>'+

                          '</tr>'+

                          '<tr> '+

                            '<td valign="top"><img src="../images/subpages/sub_line.gif" width="148" height="1"></td>'+

                          '</tr>'+

                         ' <tr> '+

                            '<td valign="top">';

							if(num==2){

								str+='<img src="../images/subpages/arrow_red.gif" width="22" height="17" align="absmiddle">';

								str+='<font color="ED1C24">活动报道</font>';

							}else{

								str+='<img src="../images/subpages/arrow_black.gif" width="22" height="17" align="absmiddle">';

								str+='<a href="http://www.muchina.com/news/event.htm">活动报道</a>';

							}

							str=str+'</td>'+

                          '</tr>'+

                          '<tr> '+

                            '<td valign="top"><img src="../images/subpages/sub_line.gif" width="148" height="1"></td>'+

                          '</tr>'+

                          '<tr> '+

                            '<td valign="top">';

							if(num==3){

								str+='<img src="../images/subpages/arrow_red.gif" width="22" height="17" align="absmiddle">';

								str+='<font color="ED1C24">媒体报道</font>';

							}else{

								str+='<img src="../images/subpages/arrow_black.gif" width="22" height="17" align="absmiddle">';

								str+='<a href="http://www.muchina.com/news/media.htm">媒体报道</a>';

							}

							str=str+'</td>'+

                          '</tr>'+

                          '<tr> '+

                            '<td valign="top"><img src="../images/subpages/sub_line.gif" width="148" height="1"></td>'+

                          '</tr>'+

                          '<tr>'+

                            '<td valign="top">';

							if(num==4){

								str+='<img src="../images/subpages/arrow_red.gif" width="22" height="17" align="absmiddle">';

								str+='<font color="ED1C24">版本更新</font>';

							}else{

								str+='<img src="../images/subpages/arrow_black.gif" width="22" height="17" align="absmiddle">';

								str+='<a href="http://www.muchina.com/news/update.htm" >版本更新</a>';

							}							

							str=str+'</td>'+

                          '<tr> '+

                            '<td valign="top"><img src="../images/subpages/sub_line.gif" width="148" height="1"></td>'+

                          '</tr>'+

                          '<tr>'+

                            '<td valign="top">';

							if(num==5){

								str+='<img src="../images/subpages/arrow_red.gif" width="22" height="17" align="absmiddle">';

								str+='<font color="ED1C24">例行维护</font>';

							}else{

								str+='<img src="../images/subpages/arrow_black.gif" width="22" height="17" align="absmiddle">';

								str+='<a href="http://www.muchina.com/news/schedule.htm" >例行维护</a>';

							}							

							str=str+'</td>'+

                          '</tr>'+

                          '<tr>'+

                            '<td valign="top"><img src="../images/subpages/sub_line.gif" width="148" height="1"></td>'+

                          '</tr>'+

                        '</table>'+

                       '</td>'+

                      '</tr>'+

                      '<tr valign="top">'+

                        '<td height="20" colspan="2"><img src="../images/menu/bottom.gif" width="161" height="20"></td>'+

                      '</tr>'+

                    '</table></td>'+

                  '<td width="9" height="30"><img src="../images/subpages/l_t4.gif" width="9" height="208"></td>'+

                '</tr>'+

              '</table>';



document.write(str);

	}
