<!--
function popwin_path_id(path,id)
{ window.open(path+"?id="+id,"","height=450,width=490,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
}
function openwin(Url)
{
  msgwin=window.open(Url,"msg","left=100,top=50,width=550,height=450,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
  msgwin.focus();
	return;
}

function popwin2(id,path)
{ window.open("../../news/openarticle.asp?id="+id+"&ppath="+path,"");
}

function popwin3(id,path)
{		window.open("detail.asp?id="+id+"&ppath="+path,"","height=380,width=500,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=yes,location=no");
}

function popwin4(id,path)
{		window.open("edit.asp?id="+id+"&ppath="+path,"","height=420,width=700,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=yes,location=no");
}

function popwin5(id,path)
{		window.open("seconddetail.asp?id="+id+"&ppath="+path,"","height=380,width=500,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=yes,location=no");
}

function popwin6(id,path)
{		window.open("inccomment.asp?incname="+incname+"&ppath="+path,"","height=450,width=700,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
}

function popwin7(id,path)
{		window.open("secondedit.asp?id="+id+"&ppath="+path,"","height=450,width=700,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=yes,location=no");
}

function js_callpage(url) {
 var newwin=window.open(url,"homeWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=300,height=280");
return false;
}

function MM_reloadPage(init) {  
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function foon(idn) 
{ 
idn.style.visibility="visible" 
idn.style.position="absolute" 
idn.style.left=event.clientX+15 
idn.style.top=event.clientY-10 
} 
function hidefoon(idn) 
{ 
idn.style.visibility="hidden" 
} 

function checksearch1(form)
		{
		if (form.strPrice.value=="")
			{
			alert("价格未选择！");
			form.strPrice.focus();
			return false;
			}
        if (document.formkc_mf.strHousetype.value=="新房")
	      {
		    document.formkc_mf.action="loupan/searchresult.asp";
		  }
		else
		{
		     if (document.formkc_mf.strHousetype.value=="二手房")
			   {
               document.formkc_mf.action="info/searchresult.asp?kind=1";
                }
		 }
return true;
}

	function checksearch(form)
		{
		if (form.strPrice.value=="")
			{
			alert("价格未选择！");
			form.strPrice.focus();
			return false;
			}
			return true;
		}

	function checklogin(form)
		{
			if (form.username.value=="用户名")
				{alert("请填写用户名！")
				form.username.focus();
				return false;
				}
			if (form.password.value=="")
				{alert("请填写密码！")
				form.password.focus();
				return false;
				}
	return true;
		}		
//-->

