function header()
{
document.write("<style type='text/css'>");
document.write("<!--");
document.write(".style2 {font-size: 18px;font-family: '幼圆';font-weight: bold;color: #CC3300;}");
document.write(".m_li_top {position:relative;line-height:21px;z-index:10000;}");
document.write(".submenu {z-index:999;position:absolute;left:0px;top:16px;white-space : nowrap; margin:0 ;background:#fff; border:1px solid #7AADC8;display:none;}");
document.write(".submenu ul {z-index:999;display:block;margin: 0px;padding: 0px;text-align:left;list-style-type: none; color:#000000; }");
document.write(".submenu ul li {z-index:999;position:relative;clear:both;height:21px;line-height:21px;display:block;margin:0;border:none;width:100%;padding-left:4px; color:#000000;}");
document.write(".submunu_popup {line-height:18px;text-align:left;padding:8px;}");
document.write(".submunu_popup a{line-height:18px;}");
document.write("#keleSelect{TEXT-DECORATION: none;}");
document.write("body {margin:0;padding:0;}");
document.write("#Layer1 {position:absolute;left:569px;top:113px;width:88px;height:60px;z-index:1;background-color: #ABDB99;visibility: hidden;}");
document.write("-->");
document.write("</style>");
document.write("<table width='760' border='0' align='center' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td width='282' height='8' bgcolor='#C9E3AD'></td>");
document.write("<td width='478' height='8' bgcolor='#C9E3AD'></td>");
document.write("</tr>");
document.write("<tr> ");
document.write("<td width='282' height='2'></td>");
document.write("<td width='478' height='2'></td>");
document.write("</tr>");
document.write("<tr> ");
document.write("<td width='758' height='54'><a href='http://www.agri.gov.cn' target='_blank'><img src='images/logo.jpg' width='263' height='70' border='0'></a><img src='images/nybyzncpxxw.jpg' width='495' height='70'></td>");
document.write("</tr>");
document.write("</table>");
document.write("<table width='760' height='51' border='0' align='center' cellpadding='0' cellspacing='0' class='topbg'>");
document.write("<tr> ");
document.write("<td width='188' height='6'></td>");
document.write("<td  height='6'></td>");
document.write("</tr>");
document.write("<tr> ");
document.write("<td width='188'> &nbsp;&nbsp;&nbsp;&nbsp; ");
//显示当前日期
var sWeek = new Array("日","一","二","三","四","五","六");
var dNow = new Date();
var sValue = "  星期"+sWeek[dNow.getDay()]+"&nbsp;"+dNow.getYear()+"年"+(dNow.getMonth()+1)+"月"+dNow.getDate()+"日";
document.write(sValue);
document.write("</td>");
document.write("<td><table width='100%' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr background='images/topbar_bg.jpg'>");
document.write("<td width='10' background='images/topbar_bg.jpg'><img src='images/barlinetop.jpg' width='10' height='21'></td>");
document.write("<td width='78' align='center' background='images/topbar_bg.jpg'><a href='index.htm'><strong>首  页</strong></a></a></td>");
document.write("<td width='2' background='images/topbar_bg.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td width='78' align='center' background='images/topbar_bg.jpg'><a href='jgzn/jgzn.htm'><strong>机构职能</strong></a></td>");
document.write("<td width='2' background='images/topbar_bg.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td width='78' align='center' background='images/topbar_bg.jpg'><a href='zlbz/zlbz_bzgg/default.htm'><strong>质量标准</strong></a></td>");
document.write("<td width='2' background='images/topbar_bg.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td width='78' align='center' background='images/topbar_bg.jpg'><li class='m_li_top' style='display:inline;' onMouseOver=showmenu1('stylemenu1',0);><a href='javascript:;' class='ImgOnclick'><strong>产品认证</strong></a><div class='submenu submunu_popup' id='stylemenu1' onMouseOut='hidemenu1()'><div class='menuitems'><a href='http://yzcp.agri.gov.cn/cprz/GAP/tztg/'>GAP认证</a></br><a href='http://222.128.36.92/wgh/'>无公害认证</a></div></div></li></td>");
document.write("<td width='2' background='images/topbar_bg.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td width='78' align='center' background='images/topbar_bg.jpg'><a href='jdjs/jddt/default.htm'><strong>基地建设</strong></a></td>");
document.write("<td width='2' background='images/topbar_bg.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td width='78' align='center' background='images/topbar_bg.jpg'><a href='http://yzcp.agri.gov.cn/cxcj/cxcj_cxdt/'><strong>产销促进</strong></a></td>");
document.write("<td width='2' background='images/topbar_bg.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td width='78' align='center' background='images/topbar_bg.jpg'><a href='jsfw/jsfu_kjtg/default.htm'><strong>技术服务</strong></a></td>");
document.write("</tr>");
document.write("<tr background='images/topbar_bg1.jpg'>");
document.write("<td width='10' background='images/topbar_bg1.jpg'><img src='images/barlinedown.jpg' width='10' height='20'></td>");
document.write("<td background='images/topbar_bg1.jpg'>&nbsp;</td>");
document.write("<td background='images/topbar_bg1.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td align='center' background='images/topbar_bg1.jpg'><a href='sysf/sfyjj/default.htm'><strong>试验示范</strong></a></td>");
document.write("<td width='2' background='images/topbar_bg1.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td align='center' background='images/topbar_bg1.jpg'><a href='mptj/tjqy/default.htm'><strong>名牌推荐</strong></a></td>");
document.write("<td width='2' background='images/topbar_bg1.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td align='center' background='images/topbar_bg1.jpg'><a href='ynxt/jgjj/default.htm'><strong>优农信息</strong></a></td>");
document.write("<td width='2' background='images/topbar_bg1.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td align='center' background='images/topbar_bg1.jpg'><a href='dtyw/default.htm'><strong>动态要闻</strong></a></td>");
document.write("<td width='2' background='images/topbar_bg1.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td align='center' background='images/topbar_bg1.jpg'><a href='zcfg/zcfg_nyfg/default.htm'><strong>政策法规</strong></a></td>");
document.write("<td width='2' background='images/topbar_bg1.jpg'><img src='images/topbar_line.gif'></td>");
document.write("<td align='center' background='images/topbar_bg1.jpg'><a href='gjlw/default.htm'><strong>国际瞭望</strong></a></td>");
document.write("</tr>");
document.write("</table></td>");
document.write("</tr>");
document.write("<tr> ");
document.write("<td width='188' height='4'><img src='images/tianbit.gif' width='1' height='1'></td>");
document.write("<td height='4'><img src='images/tianbit.gif' width='1' height='1'></td>");
document.write("</tr>");
document.write("</table>");
}

function foot()
{
document.write("	<table border='0' cellspacing='0' cellpadding='0' width='760' align='center'>");
document.write("  <tr>");
document.write("    <td colspan='5' background='./downbit.jpg'></td>");
document.write("  </tr>");
document.write("  <tr>");
document.write("    <td height='20' colspan='5' align='center' bgcolor='#C9E3AC'><a href=''>关于我们</a>&nbsp;|&nbsp;<a href=''>联系我们</a>&nbsp;|&nbsp;<a href=''>网站地图</a>&nbsp;|&nbsp;<a href=''>友情链接</a>&nbsp;|&nbsp;<a href='http://www.ynzx.org/zcyh/dl.asp?rd=/lyb/write.asp'>优农信箱</a>&nbsp;|&nbsp;<a href='http://www.ynzx.org/zcyh/dl.asp?rd=/lyb/write.asp'>留言管理员入口</a>&nbsp;|&nbsp;<a href='http://survey.agri.gov.cn/survey/admin_signon.html'>网上调查管理员入口</a>&nbsp;|&nbsp;<a href='http://report.agri.gov.cn/agriculture/index.jsp'>农业部网群访问分析</a></td>");
document.write("  </tr>");
document.write("  <tr>");
document.write("    <td colspan='5' background='./downbit.jpg'></td>");
document.write("  </tr>");
document.write("  <tr>");
document.write("    <td colspan='5' height='5'></td>");
document.write("  </tr>");
document.write("</table>");
document.write("<table width='760' border='0' align='center' cellpadding='0' cellspacing='0'>");
document.write("<tr> ");
document.write("<td height='1' colspan='2' bgcolor='#CCCCCC'></td>");
document.write("</tr>");
document.write("<tr> ");
document.write("<td height='1' colspan='2' bgcolor='#F0F0F0'></td>");
document.write("</tr>");
document.write("<tr> ");
document.write("<td width='306' height='100' bgcolor='#DDEDCB'>&nbsp;</td>");
document.write("<td width='454' bgcolor='#DDEDCB' class='green12'>地址：北京市朝阳区朝外大街223号<br>");
document.write("邮编：100020 <br>");
document.write("投稿邮箱：<a href='mailto:agricn@21cn.com'>agricn@21cn.com</a><br>");
document.write("<a href='http://www.miibeian.gov.cn' target='_blank'>京ICP备05060912号</a><br>");
document.write("农业部优质农产品开发服务中心 版权所有<br>");
document.write("<a href='huaxia_index.htm'>华夏九通农业科学研究院 技术支持</a></td>");
document.write("</tr>");
document.write("</table>");
}
