today=new Date();
year=today.getYear();
month=today.getMonth()+1;
day=today.getDate();
if (year < 2000) 
year += 1900;
today=new Date();
dayofweek=today.getDay();
Day=new Array(7);  
Day[0]='日'; Day[1]='一';Day[2]='二'; Day[3]='三';Day[4]='四'; Day[5]='五';Day[6]='六';
http://www.nftz.gov.cn/jsearch/search?q=%E2%80%9C%E5%AE%89%E5%85%A8%E5%93%A8%E5%85%B5%E2%80%9D%E5%9C%A8%E8%A1%8C%E5%8A%A8&ads=1&q_or=&q_not=&area=1&pos=1&date=1&pg=10&p=1


document.writeln("<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
document.writeln("<FORM name=userForm onsubmit=syn(this) action='http://www.nftz.gov.cn/jsearch/search' method=get target=_blank><tr>");
document.writeln("<td width='170' height='33' align='center' class='bai'>");
document.write(year+"年"+month+"月"+day+"日"+"星期"+Day[dayofweek]);
document.writeln("</td><td width='80' align='center' class='bai_a'>天气预报：</td>");
document.writeln("<td width='245' ><IFRAME id=web align=center marginWidth=0   marginHeight=0 allowTransparency='true'  src='http://www.nftz.gov.cn/weather.htm'  frameBorder=0 width=200 scrolling=no    height=21></IFRAME></td>");
document.writeln("<td width='30' align='center'><img src='/picture/0/091210081914749.gif' width='21' height='13' alt=''></td>");
document.writeln("<td width='80' class='bai_a'>站内检索：</td>");
document.writeln("<td width='170'><input type='text' name=q></td>");
document.writeln("<td width='62'><INPUT id=imageField style='FONT-SIZE: 22px; WIDTH: 54px' onClick='return hello()' type=image src='/picture/0/091210075447499.gif'    border=0 name=imageField><input type='hidden' name=ads  value=1><input type='hidden' name=area  value=1><input type='hidden' name=pos  value=1><input type='hidden' name=date  value=1><input type='hidden' name=pg  value=10><input type='hidden' name=p  value=1></td>");
document.writeln("<td align=left><A href='http://www.nftz.gov.cn/jsearch/search-adv.jsp' target=_blank><img src='/picture/0/091210075501577.gif' width='67' height='22'  border=0></A></td>");
document.writeln("</tr></FORM>");
document.writeln("</table>");