
<!--
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();} }


function opf(theURL, wname, W, H,title) {
//确定弹出窗口的位置
	var windowW = W;
	var windowH = H;
	var windowX = Math.ceil( (window.screen.width  - windowW) / 2 );
	var windowY = Math.ceil( (window.screen.height - windowH) / 2 );
//确定浏览器的版本
	if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4) 
		isie=true
	else
		isie=false
	if (isie) { H=H+32+2; W=W+6+2; }
	s = ",width="+W+",height="+H;
	if (isie) {
		splashWin = window.open( "" , wname, "fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0"+s)
//调节浏览器的位置和窗口大小
		splashWin.moveTo  ( Math.ceil( windowX ) , Math.ceil( windowY ) )
		splashWin.resizeTo( Math.ceil( W )       , Math.ceil( H ) )
//以下面内容代替初始内容
		splashWin.document.open("text/html", "replace");
		splashWin.document.write("<html><head><style type='text/css'>\n");
		splashWin.document.write("body { border: 1px solid #FFFFFF; overflow: hidden; margin: 0pt;}");
		splashWin.document.write("</style>\n");
		splashWin.document.write("<title>"+title+"</title>");
		splashWin.document.write("</head><body>");
		splashWin.document.write("<img width="+W+" src="+theURL+">");
		splashWin.document.write("</body></html>");
		splashWin.document.close();
	}
	else    //如果非IE
	var splashWin = window.open(theURL, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1"+s, true)
	splashWin.focus();
}
//-->