function validateNew(frm1,cbutype,cbo2,cbo4,cbo5,cbo6,cbo7,txt3,txt4,txt1,txt2)
{
//	alert (frm1.name);	
//	return false;

	Ncs=frm1.ncr.value;
//	alert(Ncs);
	if(Ncs!="")
	{
		document.frmProperty_Listing.City.value=document.frmProperty_Listing.cbCity.value+","+Ncs		
	}
	else
	{
		document.frmProperty_Listing.City.value=document.frmProperty_Listing.cbCity.value
	}
	var count

	if (cbutype.selectedIndex == 0)
	{	
		alert("Please select an option");
		cbutype.focus();
		return false;
	}	
	if (cbo2.selectedIndex == 0)
	{	
		alert("Please select a City");
		cbo2.focus();
		return false;
	}	
	if (cbo5.selectedIndex == 0)
	{	
		alert("Please select a Type of Property");
		cbo5.focus();
		return false;
	}		
	if (cbo6.selectedIndex == 0)
	{	
		alert("Please select a Area Unit");
		cbo6.focus();
		return false;
	}	 
	if (parseInt(txt3.options[txt3.selectedIndex].value,10) > parseInt(txt4.options[txt4.selectedIndex].value,10)) {
		alert("Please ensure that 'To Area' is greater than 'From Area'");			
		txt4.focus();
		return false;
	}	
	
	
	if (parseInt(txt1.options[txt1.selectedIndex].value,10) > parseInt(txt2.options[txt2.selectedIndex].value,10)) {
		alert("Please ensure that 'To Price' is greater than 'From Price'");		
		txt2.focus();
		return false;
	}
	
	if (cbo7.selectedIndex == 0)
	{	
		alert("Please select a currency");
		cbo7.focus();
		return false;
	}	 
	
	with(frm1)
	{
		method="post";
		action="rsearch.asp";
		submit();
	}
		return false;
}

