function setHtmlHead(mode){
	var absPath = 'http://www.macrochina.com.cn/';
	var relPathArr = new Array(2);
	var relPath = '';
	var dateObj = new Date();
	var currYear = dateObj.getYear();
	var currMonth = dateObj.getMonth()+1;
	var currDate = dateObj.getDate();
	var currDay = dateObj.getDay();

	relPathArr[0] = '../../';
	relPathArr[1] = '../../../../';
	relPath = relPathArr[mode];


	document.write("<meta http-equiv='Content-Type' content='text/html; charset=gb2312'>								");
	document.write("<style type='text/css'>																				");
	document.write("	<!--																							");
	document.write("	A.bb	        { font-size:9pt;color:#003366;text-decoration:none;}							");
	document.write("	A.bb:visited	{ color:#black ; text-decoration:none;}											");
	document.write("	A.bb:hover	    { color:d3d3d3;}																");
	document.write("	A.aa	        { font-family: 'MS Song'; font-size: 9pt; color: #003366;text-decoration:none;}	");
	document.write("	A.aa:visited	{ color:black ; text-decoration:none;}											");
	document.write("	A.aa:hover	    { color:blue;}																	");
	document.write("	A.cc	        { font-family: 'MS Song'; font-size: 9pt; color:white;text-decoration:none;}	");
	document.write("	A.cc:visited	{ color:white ; text-decoration:none;}											");
	document.write("	A.cc:hover	    { color:yellow;}																");
	document.write("	A.title         { font-size:14.8px;color:black;text-decoration:none}							");
	document.write("	A.title:hover   { font-size:14.8px;color:#101050}												");
	document.write("	A.title:visited { font-size:14.8px;color:#CCCCCC;text-decoration:none}							");
	document.write("	.txt1           { font-family: '宋体'; font-size: 9pt; color: #000000; text-decoration: none}	");
	document.write("	.loca           { font-family: '宋体'; font-size: 9pt; color: #FFFFFF}							");
	document.write("	.lemon          { font-family: 'MS Song'; font-size: 9pt; color: #003366}						");
	document.write("	.lemon1         { font-family: 'MS Song'; font-size: 9pt; color: #FFFFFF}						");
	document.write("	.date           { font-size:12.6px;color:WHITE;font-family:arial}								");
	document.write("	.time           { font-size:12.6px;color:#EF0107;text-decoration:none}							");
	document.write("	.subject        { font-size:12.6px;color:black;text-decoration:none}							");
	document.write("	.text1          { font-size:12.6px;color:black;text-decoration:none}							");
	document.write("	.typelist       { font-size:12.6px;color:#FFFFFF;text-decoration:none}							");
	document.write("	.type           { font-family: '宋体';font-size:14.8px;color:#666666;text-decoration:none}		");
	document.write("	.type1          { font-size:14.8px;color:#FFFFFF;text-decoration:none}							");
	document.write("	.type2          { font-size:14.8px;color:black;text-decoration:none}							");
	document.write("	.more           { font-size:14.8px;color:#FF962D;text-decoration:none}							");
	document.write("	.new            { font-size:12.6px;color:#FF962D;text-decoration:none}							");
	document.write("	.level          { font-size:12.6px;color:#FF0000;text-decoration:none}							");
	document.write("	.text3          { font-size:14.8px;color:black;text-decoration:none}							");
	document.write("	.tab_blue		{font-family:'Times New Roman','Times','serif';font-size:12px;color:#003366}	");
	document.write("    -->																								");
	document.write("</style>																							");
	document.write("</head>																								");

	document.write("<body bgcolor='#FFFFFF' leftmargin='0' 　topmargin='0'>																										");
	document.write("<!--顶部开始处-->																																			");
	document.write("<table align='center' border='0' width='778' cellspacing='0' cellpadding='0' height='113'>																	");
	document.write(" <tr>																																						");
	document.write("   <td colspan='3' height='126' valign='top'>																												");
	document.write("	 <div align='center'><center>																															");
	document.write("	 <table border='0' width='747' cellspacing='0' cellpadding='0' height='1'>																				");
	document.write("	  <tr>																																					");
	document.write("		<td width='179' height='1' rowspan='4' valign='top' align='right' bgcolor='#FDFFDF'>																");
	document.write("		  <img src='" + relPath + "images/front_logo.gif' width='179' height='128'></td>																	");
	document.write("		<td width='462' height='1' valign='bottom' bgcolor='#FFFCE8'>																						");
	document.write("		  <img src='" + relPath + "images/front_top.gif' width='462' height='89'></td>																		");
	document.write("		<td width='136' height='1' valign='bottom' bgcolor='#FFFCE8'>																						");
	document.write("		  <a href='" + relPath + "award/index.htm' target='_blank'><img src='" + relPath + "images/jiang.gif' width='134' height='89' border='0'></a></td>	");
	document.write("	  </tr>																																					");
	document.write("	  <tr>																																					");
	document.write("		<td width='462' height='1' background='" + relPath + "images/top_back.gif' style='font-family: 宋体; font-size: 9pt'>								");
	document.write("		  <marquee border='0' direction='left' width='397' height='12' scrolldelay='240'><font color='#666666'>												");
	document.write("		   宏观理论探索 宏观政策透视 宏观战略研讨 宏观动态分析</font>																						");
	document.write("		  </marquee>																																		");
	document.write("		</td>																																				");
	document.write("		<td width='136' height='3' background='" + relPath + "images/top_back.gif' style='font-family: 宋体; font-size: 9pt' valign='middle' align='center'>");
	document.write("			<p style='line-height: 100%'>																													");
	document.write("		</td>																																				");
	document.write("	  </tr>																																					");
	document.write("	  <tr>																																					");
	document.write("		<td height='1' colspan='2' valign='top'>																											");
	document.write("		  <img width='596' height='5' src='" + relPath + "images/front_line.gif'></td>																		");
	document.write("	  </tr>																																					");
	document.write("	  <tr>																																					");
	document.write("		<td colspan='2' height='0' valign='top' bgcolor='#FDFFDF'>																							");
	document.write("		  <table width='597' border='0' cellspacing='0' cellpadding='0' height='15'>																		");
	document.write("		  <tr>																																				");
	document.write("			<td bgcolor='#666666'><font color='#FFFFE8'>																									")
	document.write("			  <a href='" + absPath + "index.shtml' class='cc'>　首页</a>&nbsp;&nbsp;&nbsp;																	");
	document.write("			  <a href='" + absPath + "news_center/index/index.shtml' class='cc' target='_blank'>新闻中心</a>&nbsp;&nbsp;&nbsp;								");
	document.write("			  <a href='" + absPath + "ztjc/index.shtml' class='cc' target='_blank'>专题集萃</a>&nbsp;&nbsp;&nbsp;&nbsp;										");
	document.write("			  <a href='" + absPath + "datachina/index.shtml' class='cc' target='_blank'>数据中国</a>&nbsp;&nbsp;&nbsp;&nbsp;								");
	document.write("			  <a href='" + absPath + "hgxs/index/index.shtml' class='cc' target='_blank'>形势分析</a>&nbsp;&nbsp;&nbsp;										");
	document.write("			  <a href='" + absPath + "zhtg/index/index.shtml' class='cc' target='_blank'>中宏特稿</a></font>												");
	document.write("			</td>																																			");
	document.write("			<td bgcolor='#FDFFDF' width='142' height='7'><font color='#666666' style='font-family: 宋体; font-size: 9 pt'>									");
	document.write("			  <i><p align='center'>																															");
	document.write(				  currYear + "年																																");
	document.write(				  currMonth + "月																																");
	document.write(				  currDate + "日																																");
	document.write("			  </i></font>																																	");
	document.write("			</td>																																			");
	document.write("		  </tr>																																				");
	document.write("		  </table>																																			");
	document.write("		</td>																																				");
	document.write("	   </tr>																																				");
	document.write("	 </table>																																				");
	document.write("	 </center></div>																																		");
	document.write("   </td>																																					");
	document.write(" </tr>																																						");
	document.write("</table>																																					");
	document.write("<!--顶部结束处-->																																			");
	document.write("<table width='678' border='0' cellspacing='0' cellpadding='0' align='center' height='418'>																	");
	document.write("<tr>																																						");
	document.write("  <td width='1' bgcolor='#808080' rowspan='2'><img src='" + relPath + "images/dot.gif' width='1' height='1'></td>											");
	document.write("  <td width='731' align='center' valign='top' height='473'>																									");
	document.write("	<table width='80%' border='0' cellspacing='0' cellpadding='0'>																							");
	document.write("	  <tr valign='top'>																																		");
	document.write("		<td height='317'>																																	");
	document.write("		  <p><span class='text4'><font face='宋体' size='2'></font>&nbsp;</span></p>																		");
	document.write("			<table width='584' border='0' height='335' bordercolor='#FFFFFF'>																				");
	document.write("			  <tr valign='top'>																																");
	document.write("			   <td height='268'>																															");
	document.write("			   <!--文本开始-->																																");
}

function setHtmlTail(mode){
	var relPath = '';
	var absPath = 'http://www.macrochina.com.cn/';
	var relPathArr = new Array(2);
	
	relPathArr[0] = '../../';
	relPathArr[1] = '../../../../';
	relPath = relPathArr[mode];

	document.write("			   <!--文本结束-->																													   ");    
    document.write("               </p></td>    																													   ");
    document.write("             </tr>    																															   ");
    document.write("           </table>    																															   ");
    document.write("           <p>　</p>    																														   ");
    document.write("           <p>&nbsp;</p>    																													   ");
    document.write("         </td>    																																   ");
    document.write("       </tr>    																																   ");
    document.write("       <tr align='right'>     																													   ");
    document.write("         <td class='lemon'><a href='javascript:window.close()' class='lemon'>[关闭窗口]</a></td>    											   ");
    document.write("       </tr>    																																   ");
    document.write("     </table>    																																   ");
    document.write("   </td>    																																	   ");
    document.write("   <td width='1' bgcolor='#808080' rowspan='2'><img src='/images/dot.gif' width='1' height='1'></td>    										   ");
    document.write(" </tr>  																																		   ");
    document.write(" <tr>																																			   ");
    document.write("   <td width='757' align='center' valign='top' bgcolor='#808080' height='4'><img src='" + relPath + "images/dot.gif' width='1' height='1'></td>    ");
    document.write(" </tr>    																																		   ");
    document.write("</table>    																																	   ");
    document.write("<div align='center'>   																															   ");
    document.write(" <center>   																																	   ");
    document.write(" <table>   																																		   ");
    document.write("    <td width='691' align='center' valign='middle'>         																					   ");
    document.write("      <hr size='1' color='#003399'>        																										   ");
    document.write("      <font color='#000000'>																													   ");
	document.write("	  <a class='bb' href='" + absPath + "news_center/index/index.shtml'>新闻中心</a>        													   ");
    document.write("      <a class='bb' href='" + absPath + "ztjc/index.shtml'>专题集萃</a>																			   ");
	document.write("	  <a class='bb' href='" + absPath + "datachina/index.shtml'>数据中国</a>         															   ");
    document.write("      <a class='bb' href='" + absPath + "bbslt/index.shtml'>BBS论坛</a>																			   ");
	document.write("	  <a class='bb' href='" + absPath + "zhtg/index/index.shtml'>中宏特稿</a>																	   ");
    document.write("      <a class='bb' href='" + absPath + "hgxs/index/index.shtml'>形势分析</a>																	   ");
	document.write("	  <a class='bb' href='" + absPath + "zlghzy/index/index.shtml'>发展战略</a>         														   ");
    document.write("      <a class='bb' href='" + absPath + "qwview/index/index.shtml'>权威视点</a><br>        														   ");
    document.write("      <br>																																		   ");
	document.write("	  <font color='#000000'>																													   ");
	document.write("	  <span class='lemon'> 中国宏观经济信息网 <br>Tel:010-68024913/14/15 Fax:010-68024894 														   ");
	document.write("	    <a class='bb' href='mailto:mc@macrochina.com.cn'>e-mail:mc@macrochina.com.cn</a><br>      (c)中宏金资讯有限公司版权所有 <br>			   ");
    document.write("      </span>         																															   ");
    document.write("      </font></td>        																														   ");
    document.write("   </table>    																																	   ");
    document.write(" </center>    																																	   ");
    document.write(" </div>    																																		   ");
    document.write("</body>    																																		   ");
    document.write("</html>																																			   ");
}