<!--
/*	function checklogin()
		{
			if (document.form1.username.value=="")
			{
				alert("请输入用户名!");
				form1.username.focus();
				return false;
			}
                        if (document.form1.password.value=="")
			{
				alert("请输入密码!");
				form1.password.focus();
				return false;
			}
			return true;
		}
//-->
*/
function search()
{
	window.top.location.href=form2.fl.value+"?y=1&search_lx="+form2.search_lx.value;
	}
function myopen(filename){ 
window.open(filename,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=0,left=0,width=400,height=470')
}

function myopen(filename){ 
window.open(filename,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=0,left=0,width=400,height=450')}
function initEcAd() {
document.all.clip.style.posTop = -200;
document.all.clip.style.visibility = 'visible'
document.all.clip1.style.posTop = -200;
document.all.clip1.style.visibility = 'visible'
MoveLeftLayer('clip');
MoveRightLayer('clip1');
}
function MoveLeftLayer(layerName) {
var x = 8;
var y = 50;
var diff = (document.body.scrollTop + y - document.all.clip.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLeftLayer('clip');", 0);
}
function MoveRightLayer(layerName) {
var x = 8;
var y = 50;
var diff = (document.body.scrollTop + y - document.all.clip1.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");
setTimeout("MoveRightLayer('clip1');", 0);
}
<!--
function CheckIsNull(obj,msg)
{
	if(obj.value=="")
	{
		alert(msg);
		obj.focus();
		return false;
	}
	return true;
}
function CheckIsNumeric(obj,msg)
{
	var reg=/^[0-9]*$/
	if(!reg.exec(obj.value))
	{
		alert(msg);
		obj.focus();
		return false;
	}
	return true;
}
function fontZoom(size)
{
	document.getElementById('fontzoom').style.fontSize=size+'px'
}

function openwin(page,size)
{
window.open(page,"newuser","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,"+ size);
} 

function mOvr(src,clrOver) { if (!src.contains(event.fromElement)){ src.bgColor = clrOver; }}function mOut(src,clrIn){ if (!src.contains(event.toElement)) { src.style.cursor = 'hand'; src.bgColor = clrIn; }} function mClk(src) { if(event.srcElement.tagName=='TD'){src.children.tags('A')[0].click();} }
//-->