function checkName()
{
	if (document.classmate.name.value.length< 1)
	{
		 alert("对不起,请输入真实姓名!");
		 document.classmate.name.focus();
		 return false;
	}
	document.classmate.action="/gy5460/jsp/person/classmateList.jsp";
	//document.classmate.submit();
	return true;
}
function checkData()
{
	if (findSchool.keyword.value.length< 1)
	{
		 alert("对不起,请输入校名关键字!");
		 findSchool.keyword.focus();
		 return false;
	}
	findSchool.action = "http://search.5460.net/gy5460/jsp/school/schoolList.jsp";
	findSchool.submit();
	return false;
}
function checkhpData()
{
	if (findSchool.keyword.value.length< 1)
	{
		 alert("对不起,请输入校名关键字!");
		 findSchool.keyword.focus();
		 return false;
	}
	findSchool.action = "http://search.5460.net/gy5460/jsp/school/schoolhpList.jsp";
	findSchool.submit();
	return false;
}
applnname=navigator.appName;
var personwin=null;
if(applnname=="Microsoft Internet Explorer")
{
	a=true;}
else{
	a=false;
}
function navig() {
	document.netscapev.document.write('<DATA>'+window.content.value+'</DATA>');
	document.netscapev.document.close();	
}
function explore() {
	iexplorer.innerHTML=window.content.value;
}
function printData() {
	if(a) {explore();}
	else {navig(); }
}
function openmsg() {	
	i=i+1;  
	window.open("/gy5460/jsp/onlinecall/recmsg.htm", "messageWindow"+i, "status=yes,alwaysRaised=yes");
}
function openperson() {
	personwin=window.open("/gy5460/jsp/onlinecall/showperson.jsp?person="+window.person.value, "showperson", "status=yes,alwaysRaised=yes");		  
	//personwin=window.open("http://192.168.0.51:8080/online/classes/showperson.htm", "showperson", "status=yes,alwaysRaised=yes");
	//alert(window.TestApplet.onlinePerson);
}

