function house(value){
	//window.open('house.jsp?P_Id='+value,'newwin','width=350,height=250,resizable=no,scrollbars=no');
	alert("抱歉！此功能正在调整修改。");
}
function doCard(b,bClass,sClass,idName,forN,secondName){
	b.className=bClass;
	var j;
	var id;
	var e;
	for(var i=1;i<=forN;i++){
		id =""+idName+""+i;
		j = document.getElementById(id);
		e = document.getElementById(""+secondName+""+i);//   
		if(id != b.id){
			j.className=sClass;
			e.style.display = "none";
		}else{
			e.style.display = "block";
		}
	}
}


//function checklogin(){
//	if ("" == document.loginfrom.Nname.value )
//	{
//		alert("登陆用户名不能为空");
//        document.loginfrom.Nname.focus()
//		 return false
//	}
//	if ("" == document.loginfrom.password.value)
//	{
//		alert("用户密码不能为空");
//		document.loginfrom.password.focus()
//		 return false;
//	}
//}
//var len = "";
//var Html = "";
//function KeyUp(value) {
//document.all.subut.disabled=false;
//len = value.length;
//Html = "已输入 <font color=green>"+len+"</font> 个字符(最多200个字符)";
//if (200 < len)
//{
//	document.all.subut.disabled=true;
//Html = "已输入 <font color=red>"+len+"</font> 个字符(最多200个字符)";
//}
//document.all.leng.innerHTML = Html;
//}
//function checkutter() {
//	var obj = document.all.utter;
//	if (""==obj.value || " "==obj.value)
//	{
//		alert("请输入您的评论信息");
//		obj.focus();
//		return false;
//	}
//	if (5 > obj.value.length || obj.value.length > 200)
//	{
//		alert("评论信息字数不合字数限制，请检查");
//		obj.focus();
//		return false;
//	}
//}