function CopyRight(){document.write("Copyright &copy; 2008-" + new Date().getYear() + " 黑龙江省公安厅&#8482; All Rights Reserved.<br />主办：黑龙江省公安厅政治部 电话：0451-82897211,0451-82897212<br/>技术支持：黑龙江省公安厅科技信息化处 电话：0451-82897111<br/>地址：哈尔滨市中山路145号 邮编：150001<br/><a href='http://www.miibeian.gov.cn/'>黑ICP备05006531号</a>");}
function $(_sId){return document.getElementById(_sId);}
function plts(pltsPop){
    var newSpan = document.createElement("span");newSpan.id = "pltsTipLayer";newSpan.style.position = "absolute";
    document.body.appendChild(newSpan);pltsTipLayer.innerHTML = pltsPop;
	var popHeight = pltsTipLayer.clientHeight;
	var popWidth = pltsTipLayer.clientWidth;
	var items = pltsTipLayer.getElementsByTagName("img");
	if(items.length>0 && (popHeight>420 || popWidth>560)) {items[0].height = popHeight/2;popHeight/=2;items[0].width = popWidth/2;popWidth/=2;};
	var MouseX = event.clientX + document.body.scrollLeft;
	var MouseY = event.clientY + document.body.scrollTop;
	var popTopAdjust;
	var popLeftAdjust;
	if(MouseY+10+popHeight > document.body.clientHeight-document.documentElement.scrollTop) popTopAdjust = -popHeight-20;
	else popTopAdjust = 0;
	if(MouseX+5+popWidth > document.body.clientWidth-document.documentElement.scrollLeft) popLeftAdjust = -popWidth-10;
	else popLeftAdjust = 0;
	pltsTipLayer.style.left = MouseX + 5 + document.documentElement.scrollLeft + popLeftAdjust + "px";pltsTipLayer.style.top = MouseY + 10 + document.documentElement.scrollTop + popTopAdjust + "px";
}
function pltsC(){
    var snode = $("pltsTipLayer");
    if(snode!=null) snode.parentNode.removeChild(snode);
}
function submitSearch(){
    if(document.Search.keyword.value.length<1 || document.Search.keyword.value.search(/ /i)!=-1){
        alert("请您录入要搜索的内容！");document.Search.keyword.focus();return false;
    }else{
        document.Search.submit();return true;
    }
}
