
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

var day="";
var month="";
var ampm="";
var ampmhour="";
var myweekday="";
var year="";
mydate=new Date();
myweekday=mydate.getDay();
mymonth=mydate.getMonth()+1;
myday= mydate.getDate();
myyear= mydate.getYear();
year=(myyear > 200) ? myyear : 1900 + myyear;
if(myweekday == 0)
weekday=" 星期日 ";
else if(myweekday == 1)
weekday=" 星期一 ";
else if(myweekday == 2)
weekday=" 星期二 ";
else if(myweekday == 3)
weekday=" 星期三 ";
else if(myweekday == 4)
weekday=" 星期四 ";
else if(myweekday == 5)
weekday=" 星期五 ";
else if(myweekday == 6)
weekday=" 星期六 ";
document.writeln('<table width="990" height="140" border="0" align="center" cellpadding="0" cellspacing="0" background="/images/bglogo.jpg"> ');
document.writeln('<TBODY>');
document.writeln('<tr align="center" valign="top">');
document.writeln('<td width="990" align="left" valign="middle"><OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=70 width=430 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>');
document.writeln('<PARAM NAME="movie" VALUE="/images/1.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="wmode" VALUE="transparent">');
document.writeln('<embed src="/images/1.swf"  quality=high   pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"  type="application/x-shockwave-flash" width="430" height="70"></embed></OBJECT></td>');
document.writeln('</tr>');
document.writeln('</TBODY>');
document.writeln('</table>');
document.writeln('<TABLE height=34 cellSpacing=0 cellPadding=0 width=990 align=center border=0>');
document.writeln('<TBODY>');
document.writeln('<tr valign="middle">');
document.writeln('<TD align=middle width=178 background=/images/menu00.jpg height=34>');
document.write(year+"年"+mymonth+"月"+myday+"日 "+weekday);
document.writeln('</TD>');
document.writeln('<TD><A title="首页" href="/index.asp"><IMG height=34 alt="" src="/images/menu01.gif" width=120 border=0 id="Image1" onMouseOver="MM_swapImage(');																								document.writeln("'Image1','','/Images/menu01_1.gif',1)");
document.writeln('" onMouseOut="MM_swapImgRestore()"></A></TD>');

document.writeln('<TD><A title="单位简介" href="/Article/ShowArticle.asp?ArticleID=98"><IMG height=34 alt="" src="/images/menu02.gif" width=120 border=0 id="Image2" onMouseOver="MM_swapImage(');																								document.writeln("'Image2','','/Images/menu02_1.gif',2)");
document.writeln('" onMouseOut="MM_swapImgRestore()"></A></TD>');

document.writeln('<TD><A title="工作动态" href="/Article/ShowClass.asp?ClassID=1"><IMG height=34 alt="" src="/images/menu03.gif" width=120 border=0 id="Image3" onMouseOver="MM_swapImage(');																								document.writeln("'Image3','','/Images/menu03_1.gif',3)");
document.writeln('" onMouseOut="MM_swapImgRestore()"></A></TD>');

document.writeln('<TD><A title="办事指南" href="/Article/ShowArticle.asp?ArticleID=110"><IMG height=34 alt="" src="/images/menu04.gif" width=120 border=0 id="Image4" onMouseOver="MM_swapImage(');																								document.writeln("'Image4','','/Images/menu04_1.gif',4)");
document.writeln('" onMouseOut="MM_swapImgRestore()"></A></TD>');

document.writeln('<TD><A title="法律法规" href="/Article/ShowArticle.asp?ArticleID=189"><IMG height=34 alt="" src="/images/menu05.gif" width=120 border=0 id="Image5" onMouseOver="MM_swapImage(');																								document.writeln("'Image5','','/Images/menu05_1.gif',5)");
document.writeln('" onMouseOut="MM_swapImgRestore()"></A></TD>');

document.writeln('<TD><A title="网上查询" href="/Zxcx/index.asp"><IMG height=34 alt="" src="/images/menu06.gif" width=120 border=0 id="Image6" onMouseOver="MM_swapImage(');																								document.writeln("'Image6','','/Images/menu06_1.gif',6)");
document.writeln('" onMouseOut="MM_swapImgRestore()"></A></TD>');

document.writeln('<TD><A title="在线留言" href="/GuestBook/index.asp" target="_blank"><IMG height=34 alt="" src="/images/menu07.gif" width=120 border=0 id="Image7" onMouseOver="MM_swapImage(');																								document.writeln("'Image7','','/Images/menu07_1.gif',7)");
document.writeln('" onMouseOut="MM_swapImgRestore()"></A></TD>');

document.writeln('</TR>');
document.writeln('</TBODY>');
document.writeln('</TABLE>');
