var HUrl1="/slyylj/dwyheaderh/gyjq_header.shtml";
var HUrl2="/slyylj/dwyheaderhg/gyjq_header.shtml";
var HUrl3="/slyylj/dwyheaderhgr/gyjq_header.shtml";
var HUrl4="/slyylj/dwyheaderhgrg/gyjq_header.shtml";
var HUrl5="/slyylj/dwyheader/gyjq_header.shtml";
var HUrl6="/slyylj/dwyheaderhgrq/gyjq_header.shtml";
var HUrl7="/slyylj/dwyheaderhgrqp/gyjq_header.shtml";
var HUrl8="/slyylj/dwyheaderhgrqpn/gyjq_header.shtml";
var HUrl9="/slyylj/dwyheaderhgrqpc/gyjq_header.shtml";
var HUrl10="/slyylj/dwyheaderhgrqpcd/gyjq_header.shtml";
var HUrl11="/slyylj/dwyheaderhgrqpcdg/gyjq_header.shtml";
var HUrl12="/slyylj/dwyheaderhgrqpcdgr/gyjq_header.shtml";
var HUrl13="/slyylj/dwyheaderhgrqpcdgrk/gyjq_header.shtml";
if($(".dqwz").length>0){
var str = $(".dqwz").html();
if($.trim(str)!=''){
if( str.indexOf("/bysfjmsq/")>=0){headerUrl = HUrl1;}
if( str.indexOf("/yxgy/")>=0){headerUrl = HUrl2;}
if( str.indexOf("/lhfgy/")>=0){headerUrl = HUrl3;}
if( str.indexOf("/zsjnt/")>=0){headerUrl = HUrl4;}
if( str.indexOf("/dwy/")>=0){headerUrl = HUrl5;}
if( str.indexOf("/hhggy/")>=0){headerUrl = HUrl6;}
if( str.indexOf("/zjgy/")>=0){headerUrl = HUrl7;}
if( str.indexOf("/etgy/")>=0){headerUrl = HUrl8;}
if( str.indexOf("/mfsjq/")>=0){headerUrl = HUrl9;}
if( str.indexOf("/smgjslgy/")>=0){headerUrl = HUrl10;}
if( str.indexOf("/lxhgjslgy/")>=0){headerUrl = HUrl11;}
if( str.indexOf("/bjhslgy/")>=0){headerUrl = HUrl12;}
if( str.indexOf("/bssslgy/")>=0){headerUrl = HUrl13;}
}
}
$("#header").load(headerUrl, function(){
function showLocale(objD)
{
var str,colorhead,colorfoot;
var yy = objD.getFullYear();
if(yy<1900) yy = yy+1900;
var MM = objD.getMonth()+1;
if(MM<10) MM = '0' + MM;
var dd = objD.getDate();
if(dd<10) dd = '0' + dd;
var hh = objD.getHours();
if(hh<10) hh = '0' + hh;
var mm = objD.getMinutes();
if(mm<10) mm = '0' + mm;
var ss = objD.getSeconds();
if(ss<10) ss = '0' + ss;
var ww = objD.getDay();
if ( ww==0 ) colorhead="";
if ( ww > 0 && ww < 6 ) colorhead="";
if ( ww==6 ) colorhead="";
if (ww==0) ww="星期日";
if (ww==1) ww="星期一";
if (ww==2) ww="星期二";
if (ww==3) ww="星期三";
if (ww==4) ww="星期四";
if (ww==5) ww="星期五";
if (ww==6) ww="星期六";
colorfoot=""
str = "今天是 " + colorhead + yy + " 年 " + MM + " 月 " + dd + " 日 " + ww + colorfoot;
return(str);
}
function tick()
{
var today;
today = new Date();
document.getElementById("localtime").innerHTML = showLocale(today);
window.setTimeout("tick()", 1000);
}
tick();
/*头部导航链接地址更改-针对稿件页点击导航目录多了一级站点目录*/
var pageUrl = parent.document.location.href;
var indexSplit = pageUrl.lastIndexOf("/");
var indexShtml = pageUrl.lastIndexOf(".shtml");
if(indexSplit!=-1&&indexShtml!=-1&&indexSplit