<!-- 
// 滚动脚本
var rollspeed=30
var myInter;
function MarqueeV(){
	var ooRollV=document.getElementById("oRollV");
	var ooRollV1=document.getElementById("oRollV1");
	var ooRollV2=document.getElementById("oRollV2");
	if(ooRollV2.offsetTop-ooRollV.scrollTop<=0) {
		ooRollV.scrollTop-=ooRollV1.offsetHeight;
	}else{
		ooRollV.scrollTop++;
	}
}
function StartRollV() {
	var ooRollV=document.getElementById("oRollV");
	var ooRollV1=document.getElementById("oRollV1");
	var ooRollV2=document.getElementById("oRollV2");
	if (ooRollV) {
		if (parseInt(ooRollV.style.height)>=ooRollV2.offsetTop) {
			ooRollV.style.height = ooRollV2.offsetTop;
			return;
		}
		ooRollV2.innerHTML=ooRollV1.innerHTML;
		myInter=setInterval(MarqueeV,rollspeed);
		ooRollV.onmouseover=function() {clearInterval(myInter)};
		ooRollV.onmouseout=function() {myInter=setInterval(MarqueeV,rollspeed)};
	}
}
function MarqueeH(){
	var ooRollH=document.getElementById("oRollH");
	var ooRollH1=document.getElementById("oRollH1");
	var ooRollH2=document.getElementById("oRollH2");
	if(ooRollH2.offsetLeft-ooRollH.scrollLeft<=0) {
		ooRollH.scrollLeft-=ooRollH1.offsetWidth;
	}else{
		ooRollH.scrollLeft++;
	}
}
function StartRollH() {
	var ooRollH=document.getElementById("oRollH");
	var ooRollH1=document.getElementById("oRollH1");
	var ooRollH2=document.getElementById("oRollH2");
	if (ooRollH) {
		if (parseInt(ooRollH.style.width)>=ooRollH2.offsetLeft) {
			oRollH.style.width = oRollH2.offsetLeft;
			return;
		}
		ooRollH2.innerHTML=ooRollH1.innerHTML;
		myInter=setInterval(MarqueeH,rollspeed);
		ooRollH.onmouseover=function() {clearInterval(myInter)};
		ooRollH.onmouseout=function() {myInter=setInterval(MarqueeH,rollspeed)};
	}
}
// 图片脚本--------------------------
function GaobeiPic(img,url,alt,blank)
{
	if (blank==null)
		blank=false;
	with(document){
		write("<table class='GaobeiPic'>");
		write("<tr><td>");
		write("<a href='");
		write(url);
		if (blank)
			write("' >"); // 添加onClick='return newpage(this.href);'为跳窗脚本
		else
			write("' target='_blank'>");
		write("<img border=0 width='220'  height='165' src='" ); //  在width='150'后面添加height='高度'为图片固定大小;border=0为去掉图片的兰边框
		write(img);
		write("' title='");
		write(alt);
		write("' ");
		write("></a></td></tr></table>");
	}
}
// FLASH动画脚本--------------------------
function lanyuflash(file, w, h)
{
		document.write("<div style=\"padding:5px\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0\" width=\"");
		document.write(w);
		document.write("\" height=\"");
		document.write(h);
		document.write("\"><param name=\"movie\" value=\"");
		document.write(file);
		document.write("\"> <param name=\"quality\" value=\"high\"><embed src=\"");
		document.write(file);
		document.write("\" loop=\"false\" menu=\"false\" quality=\"high\" width=\"");
		document.write(w);
		document.write("\" height=\"");
		document.write(h);
		document.write("\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></embed></object></div>");
}
// 小表上--------------------------
function lanyutabletop(size,m)
{
	with(document){
		write("<DIV class=lframe><TABLE cellSpacing=0 cellPadding=0 width='100%'><TBODY><TR><TD class='tl'></TD><TD class='tm'><SPAN class='tt'>");
		write(size);
		write("</SPAN></TD><TD class='tr'></TD></TD></TR></TBODY></TABLE><TABLE cellSpacing=0 cellPadding=0 width='95%'><TBODY><TR><TD class='");
                write(m);
		write("'></TD><TD class='mm'>");
	}
}
// 小表下--------------------------
function lanyutablebottom(m)
{

	with(document){
		write("</TD><TD class='");
                write(m);
                write("'></TD></TR></TBODY></TABLE><table width='95%' cellspacing='0' cellpadding='0'><tr><td bgcolor='#dddddd' height='1'></td></tr><tr><td height='5'></td></tr></table></div>");
	}
}
// 大表--------------------------
function lanyutable(size)
{
	with(document){
		write("<TABLE cellSpacing=0 cellPadding=0 width='100%'><TBODY><TR><TD class=tl></TD><TD class=tm><TABLE cellSpacing=0 cellPadding=0 width='100%'><TBODY><TR><TD><SPAN class=tt>");
		write(size);
		write("</SPAN></TD></TR></TBODY></TABLE></TD><TD class=tr></TD></TR></TBODY></TABLE>");
	}
}



    //双击滚屏
    var currentpos,timer;
    function initialize()
    { 
    timer=setInterval("scrollwindow()",30); 
    } 
    function sc(){
    clearInterval(timer);
    }
    function scrollwindow()
    {
    currentpos=document.body.scrollTop;
    window.scroll(0,++currentpos);
    if (currentpos != document.body.scrollTop)
    sc();
    } 
    document.onmousedown=sc
    document.ondblclick=initialize




    //检测登陆时的用户名和密码是否有写
    function CheckForm()
    {
	if(document.GaobeiUser_Login.UserName.value=="")
	{
		alert("请输入用户名！");
		document.GaobeiUser_Login.UserName.focus();
		return false;
	}
	if(document.GaobeiUser_Login.UserPassword.value == "")
	{
		alert("请输入密码！");
		document.GaobeiUser_Login.UserPassword.focus();
		return false;
	}
    }




    function Gaobei_time()
    {
    tmpDate = new Date();
    date = tmpDate.getDate();
    month= tmpDate.getMonth() + 1;
    year= tmpDate.getYear();
    document.write(year);
    document.write("年");
    document.write(month);
    document.write("月");
    document.write(date);
    document.write("日 ");
    myArray=new Array(6);
    myArray[0]="星期日"
    myArray[1]="星期一"
    myArray[2]="星期二"
    myArray[3]="星期三"
    myArray[4]="星期四"
    myArray[5]="星期五"
    myArray[6]="星期六"
    weekday=tmpDate.getDay();
    if (weekday==0 | weekday==6)
    {
    document.write(myArray[weekday])
    }
    else
    {
    document.write(myArray[weekday])
    }
    };





// -->
/*<a href="http://xmcyberpolice.cn/alert.asp" target=_blank><img src="http://xmcyberpolice.cn/image/gt.gif" width  ="30" border='0'></a>*/