// JavaScript Document
function changepic()
{
   document.images.faceimg.src="images/face/"+document.myform.face.options[document.myform.face.selectedIndex].value;
}
function changebrow()
{
   document.images.browimg.src="images/brow/"+document.myform.brow.options[document.myform.brow.selectedIndex].value;
}

function checklogin()
{
	if (document.myform.names.value == '')
	{       
		alert("请输入姓名！");
		document.myform.names.focus();
		return false;
	}
	if (document.myform.title.value == '')
	{       
		alert("请输入留言标题！");
		document.myform.title.focus();
		return false;
	}
	if (document.myform.content.value == '')
	{       
		alert("请输入咨询内容！");
		document.myform.content.focus();
		return false;
	}
	
	return true;
}