/*显示隐藏顶部栏目*/
/* document.oncontextmenu = new Function("return false;") */
var ns4=(document.layers)?true:false;
var ie4=(document.all)?true:false;

function show(id){
	if(ns4)document.layers[id].visibility="show";
	else if(ie4)document.all[id].style.visibility="visible";
				 }
function hide(id){
	if(ns4)document.layers[id].visibility="hide";
	else if(ie4)document.all[id].style.visibility="hidden";
				 }
/*首页左边图片变亮效果*/
function high(which2) { 
 theobject=which2 ;
 highlighting=setInterval("highlightit(theobject)",80);
 } 
 function low(which2){ 
 clearInterval(highlighting); 
 which2.filters.alpha.opacity=100;
 } 
 function highlightit(cur2){
 if (cur2.filters.alpha.opacity==100)
 cur2.filters.alpha.opacity-=15;
 else if (window.highlighting)
 clearInterval(highlighting); 
 } 
/*弹出为800×600的简化窗口*/
 function finalpage(name){
	window.open(name,"_blank");
	//,"menubar=yes,toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=1,resizable=0");
}
/*弹出为450×600的简化窗口*/
 function lbpage(name){
	window.open(name,"_blank","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=0,width=463,height=438,left=0,top=0");
}
/*HTML代码区*/
document.write('<table width="775" border="0" cellspacing="0" cellpadding="0" bgcolor="#423e4a" align="center" height="83">');
document.write('  <tr> ');
document.write('    <td width="653" height="52" valign="top"> ');
document.write('      <table width="653" border="0" cellspacing="0" cellpadding="0" height="52">');
document.write('        <tr>');
document.write('          <td width="138" valign="top"> ');
document.write('            <table width="124" border="0" cellspacing="0" cellpadding="0" height="46">');
document.write('              <tr valign="top"> ');
document.write('                <td><img src="/images/navi.gif" width="123" height="46" usemap="#MapMap" border="0"><map name="MapMap"><area shape="rect" coords="2,9,54,23" href="/index.shtml" target="_blank"><area shape="rect" coords="63,8,115,22" href="/info.shtml" target="_blank"><area shape="rect" coords="3,27,56,40" href="/info.shtml" target="_blank"><area shape="rect" coords="63,25,115,38"  target="_blank"></map></td>');
document.write('              </tr>');
document.write('            </table>');
document.write('          </td>');
document.write('          <td width="510"><marquee scrolldelay="240"><font color=#e4e7b8>宏观理论探索 宏观政策透视 宏观战略研讨 宏观动态分析</font></marquee></td>');
document.write('          <td width="1"></td>');
document.write('        </tr>');
document.write('      </table>');
document.write('    </td>');
document.write('    <td width="122" rowspan="2"><img src="/images/logo.gif" width="122" height="83"></td>');
document.write('  </tr>');
document.write('  <tr> ');
document.write('    <td width="653" height="31"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="653" height="31">');
document.write('<param name="movie" value="/images/bigbar2.swf">');
document.write('<param name="quality" value="best">');
document.write('<param name="play" value="True">');
document.write('<param name="loop" value="True">');
document.write('<param name="menu" value="False">');
document.write('        <embed src="/images/bigbar2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="653" height="31"></embed> ');
document.write('      </object></td>');
document.write('  </tr>');
document.write('</table>');
document.write('<table width="775" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#9db17f" height="18">');
document.write('  <tr> ');
document.write('    <td width="610" valign="bottom"> ');
document.write('      <table width="610" border="0" cellspacing="0" cellpadding="0" align="center">');
document.write('        <tr align="center"> ');
document.write('          <td>&nbsp;</td>');
document.write('          <td><a href="/info.shtml" class="navi" onMouseOver="hide(\'layer1\');hide(\'layer2\');hide(\'layer3\');hide(\'layer4\');hide(\'layer5\');hide(\'layer6\');hide(\'layer7\');">首页</a></td>');
document.write('          <td><a href="http://mcrp.macrochina.com.cn" class="navi" onMouseOver="hide(\'layer1\');hide(\'layer2\');hide(\'layer3\');hide(\'layer4\');hide(\'layer5\');hide(\'layer6\');hide(\'layer7\');"><font color="#cc0000">研究平台</font></a></td>');
document.write('          <td><a href="/index/news_speed/index.shtml" class="navi" onMouseOver="show(\'layer1\');hide(\'layer2\');hide(\'layer3\');hide(\'layer4\');hide(\'layer5\');hide(\'layer6\');hide(\'layer7\');">中宏速递</a></td>');
document.write('          <td><a href="/index/xsfx/index.shtml" class="navi" onMouseOver="hide(\'layer1\');hide(\'layer2\');hide(\'layer3\');show(\'layer4\');hide(\'layer5\');hide(\'layer6\');hide(\'layer7\');">形势分析</a></td>');
document.write('          <td><a href="/index/fzzl/index.shtml" class="navi" onMouseOver="hide(\'layer1\');hide(\'layer2\');hide(\'layer3\');hide(\'layer4\');show(\'layer5\');hide(\'layer6\');hide(\'layer7\');">发展战略</a></td>');
document.write('          <td><a href="/index/zhtg/index.shtml" class="navi" onMouseOver="hide(\'layer1\');hide(\'layer2\');hide(\'layer3\');hide(\'layer4\');hide(\'layer5\');show(\'layer6\');hide(\'layer7\');">中宏特稿</a></td>');
document.write('          <td><a href="http://www.macrochina.com.cn/mct/" target="_blank" class="navi" onMouseOver="hide(\'layer1\');hide(\'layer2\');hide(\'layer3\');hide(\'layer4\');hide(\'layer5\');hide(\'layer6\');hide(\'layer7\');"><font color="#cc0000">形势通</font></a></td>');
document.write('          <td><a href="http://www.macrochina.com.cn/prize/prize_1106/index_3.shtml" class="navi" onMouseOver="hide(\'layer1\');hide(\'layer2\');hide(\'layer3\');hide(\'layer4\');hide(\'layer5\');hide(\'layer6\');hide(\'layer7\');">中宏百人团</a></td>');
document.write('          <td><a href="/city/index.shtml" class="navi" onMouseOver="hide(\'layer1\');hide(\'layer2\');hide(\'layer3\');hide(\'layer4\');hide(\'layer5\');hide(\'layer6\');hide(\'layer7\');"><font color="#cc0000">宏观学会</font></a></td>');
document.write('          <td>&nbsp;</td>');
document.write('        </tr>');
document.write('      </table>');
document.write('    </td>');
document.write ('    <td width="165"><img src="/images/award_www.gif" width="165" height="18" usemap="#Map" border="0"><map name="Map"><area shape="rect" coords="18,2,45,16" href="/info.shtml" target="_blank"><!--<area shape="rect" coords="57,2,83,16" href="http://www.etide.com.cn:3001" target="_blank">--><area shape="rect" coords="95,2,146,16" href="http://www.macro-china.com" target="_blank"></map></td>');
document.write('  </tr>');
document.write('</table>');
document.write('<table width="775" border="0" cellspacing="0" cellpadding="0" align="center" background="/images/bgbar.gif" height="17">');
document.write('  <tr> ');
document.write('    <td width="610"> ');
document.write('      <div id="layer1" style="position:absolute; visibility:hidden; top: 104px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/index/news_speed/hgjj/index.shtml" class="navibar">宏观经济</a> - <a href="/index/news_speed/qyjj/index.shtml" class="navibar">区域经济</a> - <a href="/index/news_speed/cjbd/index.shtml" class="navibar">产经报道</a> - <a href="/index/news_speed/hwcj/index.shtml" class="navibar">海外财经</a></div>');
document.write('      <div id="layer2" style="position:absolute; visibility:hidden; top: 104px"></div>');
document.write('      <div id="layer3" style="position:absolute; visibility:hidden; top: 104px"></div>');
document.write('      <div id="layer4" style="position:absolute; visibility:hidden; top: 104px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/index/xsfx/yxzk/index.shtml" class="navibar">运行状况</a> - <a href="/index/xsfx/xspd/index.shtml" class="navibar">形势判断</a> - <a href="/index/xsfx/rdfx/index.shtml" class="navibar">热点分析</a> - <a href="/index/xsfx/wbhj/index.shtml" class="navibar">外部环境</a></div>');
document.write('      <div id="layer5" style="position:absolute; visibility:hidden; top: 104px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/index/fzzl/zlsl/index.shtml" class="navibar">战略思路</a> - <a href="/index/fzzl/ghdt/index.shtml" class="navibar">规划动态</a> - <a href="/index/fzzl/lshg/index.shtml" class="navibar">历史回顾</a> - <a href="/index/fzzl/dgzl/index.shtml" class="navibar">大国战略</a></div>');
document.write('      <div id="layer6" style="position:absolute; visibility:hidden; top: 104px"></div>');
document.write('      <div id="layer7" style="position:absolute; visibility:hidden; top: 104px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="navibar" href="/index/qwview/index.shtml">权威视点</a> - <a class="navibar" href="/index/xsfx/zhsj/index.shtml">中宏视角</a> - <a href="/index/gov/zlsp/index.shtml" class="navibar">政界关注</a> - <a href="/index/economy/jjsd/index.shtml" class="navibar">经济视点</a> - <a href="/index/foreign/wzgc/index.shtml" class="navibar">外资观察</a> - <a href="/index/invest/cjsd/index.shtml" class="navibar">财经视点</a> - <a href="/index/enterpriser/jdzz/index.shtml" class="navibar">焦点追踪</a> - <a href="/index/news_speed/xwgc/index.shtml" class="navibar">今日观察</a></div>');
document.write('       </td>');
document.write('    <td width="165" valign="bottom">');
document.write("    &nbsp;")

/*首页右边时间显示*/
function initArray(){for(i=0;i<initArray.arguments.length;i++)
this[i]=initArray.arguments[i];}var isnMonths=new initArray("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月");var isnDays=new initArray("星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日");today=new Date();hrs=today.getHours();min=today.getMinutes();sec=today.getSeconds();clckh=""+((hrs>12)?hrs-12:hrs);
clckm=((min<10)?"0":"")+min;clcks=((sec<10)?"0":"")+sec;clck=(hrs>=12)?"下午":"上午";var stnr="";var ns="0123456789";var a="";
function getFullYear(d){
yr=d.getYear();if(yr<1000)
yr+=1900;return yr;}
document.write('<span style="font-size:9pt;font-family:宋体;color:#cd0426">')
document.write(getFullYear(today)+"年"+isnMonths[today.getMonth()]+""+today.getDate()+"日 "+isnDays[today.getDay()]);
document.write('</span>')
/*HTML代码区*/
document.write("    </td>");
document.write("      </tr>");
document.write("    </table>");
/*判断显示器分辨率*/                       
//if ((screen.height == 768) && (screen.width == 1024)){                        
//	layer1.style.left=147;                        
//	layer2.style.left=189;                        
//	layer3.style.left=189;                        
//	layer4.style.left=152;                        
//	layer5.style.left=259;                        
//	layer6.style.left=566;                        
//	//layer7.style.left=643;                        
//}                        

window.onload = function wininit() {

//自动生成所有页面检索区域中选择年的脚本
	vyear = document.getElementsByName("year");
	if (vyear.length != 0) {
		vyear = vyear[0];
		vyear.length = 0;
		vyear.options[vyear.options.length] = new Option("年","");
		for (i=2000;i<=new Date().getYear();i++){
			vyear.options[vyear.options.length] = new Option(i,i);
		}
		vyear.options[vyear.options.length-1].selected=true;
	}
}

//调用google分析
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

//调用Jquery
document.write(unescape("%3Cscript src='/js/jq.js' type='text/javascript'%3E%3C/script%3E"));

//页面处理
document.write(unescape("%3Cscript src='/js/mc.js' type='text/javascript'%3E%3C/script%3E"));