
<!--
var pic_news_flag = "" ;
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function window_onload() {
	//调用servername服务器上提供的web服务。
	var options = service.createUseOptions(true);//using SSL;
	service.useService("index.asmx?WSDL","myselect",options);
	m_getNews();
}
function m_getNews() {
//	service.myselect.callService(c_picNews_flag,"picNews_flag");
//	service.myselect.callService(c_picNews,"picNews");//新闻图片
//	service.myselect.callService(c_picNews_pic,"picNews_pic");//新闻图片
}
function c_picNews_flag(result){
	var m;
	m=result.value;
	pic_news_flag = m;
}
function c_picNews_pic(result){
	var m;
	m=result.value;
	pic_news_img.src = "images/"+m;
}
function c_picNews(result){
	var m;
	m=result.value;
	pic_news.innerHTML = "<a href='javascript:popup("+pic_news_flag+")'>&nbsp;&nbsp;&nbsp;" + m+"</a>";
}
var messages=new Array();
messages[0]="<font color=#8000FF style='font-size:14px'>学习、创新、务实、诚信</font></a>";
messages[1]="<font color=#FB2500 style='font-size:14px'>管理创新、科技创新、体制创新</font></a>";
messages[2]="<font color=#FF0066F style='font-size:14px'>万事当前、安全第一</font></a>";
messages[3]="<font color=#FF9900 style='font-size:14px'>安全是最大的效益</font></a>";
messages[4]="<font color=#FF9900 style='font-size:14px'>安全是最好的形象</font></a>";
messages[5]="<font color=#00CC33 style='font-size:14px'>请健康用眼</font></a>";
//#00CC33 
//#000000
//#000000 

var scrollerwidth=205;
var scrollerheight=19;
var scrollerbgcolor='transparent';
//下面的代码不要改动
if (messages.length>1)
	i=2;
else
	i=0;
function move1(whichlayer){
	tlayer=eval(whichlayer);
	if (tlayer.top>0&&tlayer.top<=5){
		tlayer.top=0;
		setTimeout("move1(tlayer)",3000);
		setTimeout("move2(document.main.document.second)",3000);
		return;
	}
	if (tlayer.top>=tlayer.document.height*-1){
		tlayer.top-=5;
		setTimeout("move1(tlayer)",1200);
	}
	else{
	tlayer.top=scrollerheight;
	tlayer.document.write(messages[i]);
	tlayer.document.close();
	if (i==messages.length-1)
		i=0;
	else
		i++;
	}
}
function move2(whichlayer){
	tlayer2=eval(whichlayer);
	if (tlayer2.top>0&&tlayer2.top<=5){
		tlayer2.top=0;
		setTimeout("move2(tlayer2)",3000);
		setTimeout("move1(document.main.document.first)",3000);
		return
	}
	if (tlayer2.top>=tlayer2.document.height*-1){
		tlayer2.top-=5;
		setTimeout("move2(tlayer2)",200);
	}
	else{
		tlayer2.top=scrollerheight;
		tlayer2.document.write(messages[i]);
		tlayer2.document.close();
		if (i==messages.length-1)
			i=0;
		else
			i++;
	}
}
function move3(whichdiv){
tdiv=eval(whichdiv)
if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){
tdiv.style.pixelTop=0
setTimeout("move3(tdiv)",3000)
setTimeout("move4(second2)",3000)
return}
if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){
tdiv.style.pixelTop-=5
setTimeout("move3(tdiv)",200)}
else{
tdiv.style.pixelTop=scrollerheight
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++}}
function move4(whichdiv){
tdiv2=eval(whichdiv);
if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){
tdiv2.style.pixelTop=0;
setTimeout("move4(tdiv2)",3000);
setTimeout("move3(first2)",3000);
return;}
if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){
tdiv2.style.pixelTop-=5;
setTimeout("move4(second2)",200);}
else{
tdiv2.style.pixelTop=scrollerheight;
tdiv2.innerHTML=messages[i];
if (i==messages.length-1)
i=0;
else
i++;}}
function startscroll(){
if (document.all){
move3(first2);
second2.style.top=scrollerheight;}
else if (document.layers){
move1(document.main.document.first);
document.main.document.second.top=scrollerheight+5;
document.main.document.second.visibility='show';}}
window.onload=startscroll;

function pop_yingyong(){
if (yingyongxitong.style.display == "none")
	yingyongxitong.style.display = "";
else
	yingyongxitong.style.display = "none" ;
}

function popup(flagid) { 
var X = 30; var Y = 30; var W = 750; var H = 500; var s="resizable,scrollbars=yes,status=yes,toolbar=yes,width="+W+",height="+H+",left="+X+",top="+Y+",screenX="+X+",screenY="+Y; var url="viewnews.aspx?view_news="+flagid; window.open(url,"",s); } 

function popup_aj(flagid) { 
var X = 30; var Y = 30; var W = 750; var H = 500; var s="resizable,scrollbars=yes,status=yes,toolbar=yes,width="+W+",height="+H+",left="+X+",top="+Y+",screenX="+X+",screenY="+Y; var url="ajgz/view_news.aspx?articleId="+flagid; window.open(url,"",s); } 

//-->

