function test(theform)
{
	if (theform.name.value.length<1)
    {alert("请确认您已经填写了正确的姓名");
	 theform.name.focus( );
	 return(false);}
	if (theform.student_number.value.length<8)
		{alert("请确认您已经填写了正确的学号");
		 theform.name.focus( );
		 return(false);}
	if (theform.department.value.length<3)
		{alert("请确认您已经填写了您所在的院系");
		 theform.name.focus( );
		 return(false);}
	if (theform.address.value.length<5)
		{alert("请确认您已经填写了正确的宿舍地址");
		 theform.name.focus( );
		 return(false);}
	if (theform.tel.value.length<8)
		{alert("请确认您已经填写了正确的电话号码");
		 theform.name.focus( );
		 return(false);}
	if (theform.email.value.length<5|theform.email.value.indexOf("@")==-1|theform.email.value.indexOf(".")==-1)
		{alert("请确认您所填写的Eail地址是正确的,否则我们无法收到您的信息");
		 theform.email.focus( );
		 return(false);}
}

function test2(theform)
{
	if (theform.name.value.length<1)
    {alert("请确认您已经填写了合适的称呼或昵称");
	 theform.name.focus( );
	 return(false);}
	if (theform.email.value.length<5|theform.email.value.indexOf("@")==-1|theform.email.value.indexOf(".")==-1)
    {alert("请确认您所填写的Eail地址是正确的,否则我们无法收到您的反馈");
	 theform.email.focus( );
	 return(false);}
	  if (theform.content.value.length<1)
    {alert("请确认您已经填写了反馈的内容");
	 theform.content.focus( );
	 return(false);}  
}
function show_article(url)
{
	window.open(url,'','top=0,left=0,height=600,width=600,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes');
	return(false);
}

function show_img(url,width0,height0)
{
	window.open(url,'',"top=0,left=0,height="+height0+",width="+width0+",resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes");
	return(false);
}