function resReasePrice(v)
			  {
			  	document.getElementById('resReasePriBox').style.display="block";
				document.getElementById('resSalePriBox').style.display="none";
				 if(v=="radioLease")
			   {
			   document.getElementById('resPriceMin').options.length=13;
			    document.getElementById('resPriceMin').options[0].value="";
				document.getElementById('resPriceMin').options[0].text="Any";
			    document.getElementById('resPriceMin').options[1].value = "1000";
				document.getElementById('resPriceMin').options[1].text = "1000";
				document.getElementById('resPriceMin').options[2].value = "2000";
				document.getElementById('resPriceMin').options[2].text = "2000";
	            document.getElementById('resPriceMin').options[3].value = "2500";
				document.getElementById('resPriceMin').options[3].text = "2500";
				document.getElementById('resPriceMin').options[4].value = "3000";
				document.getElementById('resPriceMin').options[4].text = "3000";
				document.getElementById('resPriceMin').options[5].value = "3500";
				document.getElementById('resPriceMin').options[5].text = "3500";
				document.getElementById('resPriceMin').options[6].value = "4000";
				document.getElementById('resPriceMin').options[6].text = "4000";
				document.getElementById('resPriceMin').options[7].value = "4500";
				document.getElementById('resPriceMin').options[7].text = "4500";
				document.getElementById('resPriceMin').options[8].value = "5000";
				document.getElementById('resPriceMin').options[8].text = "5000";
				document.getElementById('resPriceMin').options[9].value = "7000";
				document.getElementById('resPriceMin').options[9].text = "7000";
				document.getElementById('resPriceMin').options[10].value = "8000";
				document.getElementById('resPriceMin').options[10].text = "8000";
				document.getElementById('resPriceMin').options[11].value = "10000";
				document.getElementById('resPriceMin').options[11].text = "10000";
				document.getElementById('resPriceMin').options[12].value = "12000";
				document.getElementById('resPriceMin').options[12].text = "12000+";
				
				document.getElementById('resPriceMax').options.length=12;
			    document.getElementById('resPriceMax').options[0].value="";
				document.getElementById('resPriceMax').options[0].text="Any";
			    document.getElementById('resPriceMax').options[1].value = "2000";
				 document.getElementById('resPriceMax').options[1].text = "2000";
				document.getElementById('resPriceMax').options[2].value = "2500";
				document.getElementById('resPriceMax').options[2].text = "2500";
	            document.getElementById('resPriceMax').options[3].value = "3000";
				document.getElementById('resPriceMax').options[3].text = "3000";
				document.getElementById('resPriceMax').options[4].value = "3500";
				document.getElementById('resPriceMax').options[4].text = "3500";
				document.getElementById('resPriceMax').options[5].value = "4000";
				document.getElementById('resPriceMax').options[5].text = "4000";
				document.getElementById('resPriceMax').options[6].value = "4500";
				document.getElementById('resPriceMax').options[6].text = "4500";
				document.getElementById('resPriceMax').options[7].value = "5000";
				document.getElementById('resPriceMax').options[7].text = "5000";
				document.getElementById('resPriceMax').options[8].value = "7000";
				document.getElementById('resPriceMax').options[8].text = "7000";
				document.getElementById('resPriceMax').options[9].value = "8000";
				document.getElementById('resPriceMax').options[9].text = "8000";
				document.getElementById('resPriceMax').options[10].value = "10000";
				document.getElementById('resPriceMax').options[10].text = "10000";
				document.getElementById('resPriceMax').options[11].value = "12000";
				document.getElementById('resPriceMax').options[11].text = "12000";
			   }
			  }
			  
			  
			  function resSalePrice(v)
			  {
			  	document.getElementById('resSalePriBox').style.display="block";
				document.getElementById('resReasePriBox').style.display="none";
			   if(v=="radioSale")
			   {
			   document.getElementById('resPriceMin').options.length=9;
			    document.getElementById('resPriceMin').options[0].value="";
				document.getElementById('resPriceMin').options[0].text="Any";
			    document.getElementById('resPriceMin').options[1].value = "8000";
				document.getElementById('resPriceMin').options[1].text = "8000";
				document.getElementById('resPriceMin').options[2].value = "10000";
				document.getElementById('resPriceMin').options[2].text = "10000";
	            document.getElementById('resPriceMin').options[3].value = "12000";
				document.getElementById('resPriceMin').options[3].text = "12000";
				document.getElementById('resPriceMin').options[4].value = "15000";
				document.getElementById('resPriceMin').options[4].text = "15000";
				
				document.getElementById('resPriceMin').options[5].value = "18000";
				document.getElementById('resPriceMin').options[5].text = "18000";
				document.getElementById('resPriceMin').options[6].value = "20000";
				document.getElementById('resPriceMin').options[6].text = "20000";
				document.getElementById('resPriceMin').options[7].value = "25000";
				document.getElementById('resPriceMin').options[7].text = "25000";
				document.getElementById('resPriceMin').options[8].value = "30000";
				document.getElementById('resPriceMin').options[8].text = "30000+";
				//=======================================
				document.getElementById('resPriceMax').options.length=8;
			    document.getElementById('resPriceMax').options[0].value="";
				document.getElementById('resPriceMax').options[0].text="Any";
			    document.getElementById('resPriceMax').options[1].value = "10000";
				document.getElementById('resPriceMax').options[1].text = "10000";
				document.getElementById('resPriceMax').options[2].value = "12000";
				document.getElementById('resPriceMax').options[2].text = "12000";
	            document.getElementById('resPriceMax').options[3].value = "15000";
				document.getElementById('resPriceMax').options[3].text = "15000";
				
				document.getElementById('resPriceMax').options[4].value = "18000";
				document.getElementById('resPriceMax').options[4].text = "18000";
				
				document.getElementById('resPriceMax').options[5].value = "20000";
				document.getElementById('resPriceMax').options[5].text = "20000";
				
				document.getElementById('resPriceMax').options[6].value = "25000";
				document.getElementById('resPriceMax').options[6].text = "25000";
				
				document.getElementById('resPriceMax').options[7].value = "30000";
				document.getElementById('resPriceMax').options[7].text = "30000";


			   }
			   
			  }











 function comAnyCitys(v)
			  {
			 
			 
			   if(v=="resAnyV")
			   {
			   document.getElementById('comDistrict').options.length=1;
			   	document.getElementById('comDistrict').options[0].value="";
				document.getElementById('comDistrict').options[0].text="Any District";
			   }
			   if(v=="resShV")
			   {
			   document.getElementById('comDistrict').options.length=6;
			    document.getElementById('comDistrict').options[0].value="";
				document.getElementById('comDistrict').options[0].text="Any District";
			    document.getElementById('comDistrict').options[1].value = "Hongqiao/Gubei";
				document.getElementById('comDistrict').options[1].text = "Hongqiao/Gubei";
				document.getElementById('comDistrict').options[2].value = "Huqingpin/Minhang";
				document.getElementById('comDistrict').options[2].text = "Huqingpin/Minhang";
	            document.getElementById('comDistrict').options[3].value = "Downtown";
				document.getElementById('comDistrict').options[3].text = "Downtown";
				document.getElementById('comDistrict').options[4].value = "Other Areas";
				document.getElementById('comDistrict').options[4].text = "Other Areas";
				document.getElementById('comDistrict').options[5].value = "Pudong";
				document.getElementById('comDistrict').options[5].text = "Pudong";
			   }
			   
			   if(v=="resBjV")
			   {
			    document.getElementById('comDistrict').options.length=11;
			    document.getElementById('comDistrict').options[0].value="";
			   	document.getElementById('comDistrict').options[0].text="Any District";
				document.getElementById('comDistrict').options[1].value="CBD";
				document.getElementById('comDistrict').options[1].text="CBD";				
				document.getElementById('comDistrict').options[2].value="Chang An Avenue";
				document.getElementById('comDistrict').options[2].text="Chang An Avenue";
				document.getElementById('comDistrict').options[3].value="East of the 2nd Ring Road";
				document.getElementById('comDistrict').options[3].text="East of the 2nd Ring Road";
				document.getElementById('comDistrict').options[4].value="Finance Street";
				document.getElementById('comDistrict').options[4].text="Finance Street";
				document.getElementById('comDistrict').options[5].value="Lufthansa";
				document.getElementById('comDistrict').options[5].text="Lufthansa";
				document.getElementById('comDistrict').options[6].value="Other Areas";
				document.getElementById('comDistrict').options[6].text="Other Areas";
				document.getElementById('comDistrict').options[7].value="Lido";
				document.getElementById('comDistrict').options[7].text="Lido";
				document.getElementById('comDistrict').options[8].value="San-litun Area";
				document.getElementById('comDistrict').options[8].text="San-litun Area";
				document.getElementById('comDistrict').options[9].value="Chao-yang Park";
				document.getElementById('comDistrict').options[9].text="Chao-yang Park";
				document.getElementById('comDistrict').options[10].value="Shun-yi County";
				document.getElementById('comDistrict').options[10].text="Shun-yi County";
				
			   }
			   if(v=="resSzV")
			   {
			   document.getElementById('comDistrict').options.length=4;
			   	document.getElementById('comDistrict').options[0].value="";
				document.getElementById('comDistrict').options[0].text="Any District";
				document.getElementById('comDistrict').options[1].value="Suzhou Industrial Park";
				document.getElementById('comDistrict').options[1].text="Suzhou Industrial Park";
				document.getElementById('comDistrict').options[2].value="Suzhou New District";
				document.getElementById('comDistrict').options[2].text="Suzhou New District";
				document.getElementById('comDistrict').options[3].value="Other Areas";
				document.getElementById('comDistrict').options[3].text="Other Areas";
			   }

			  }










function comReasePrice(v)
			  {
			  	document.getElementById('comReasePriBox').style.display="block";
				document.getElementById('comSalePriBox').style.display="none";
				if(v=="radioLease")
			   {
			   document.getElementById('comPriceMin').options.length=16;
			    document.getElementById('comPriceMin').options[0].value="";
				document.getElementById('comPriceMin').options[0].text="Any";
			    document.getElementById('comPriceMin').options[1].value = "2";
				 document.getElementById('comPriceMin').options[1].text = "2";
				document.getElementById('comPriceMin').options[2].value = "3";
				document.getElementById('comPriceMin').options[2].text = "3";
	            document.getElementById('comPriceMin').options[3].value = "4";
				document.getElementById('comPriceMin').options[3].text = "4";
				document.getElementById('comPriceMin').options[4].value = "5";
				document.getElementById('comPriceMin').options[4].text = "5";
				document.getElementById('comPriceMin').options[5].value = "6";
				document.getElementById('comPriceMin').options[5].text = "6";
				document.getElementById('comPriceMin').options[6].value = "7";
				document.getElementById('comPriceMin').options[6].text = "7";
				document.getElementById('comPriceMin').options[7].value = "8";
				document.getElementById('comPriceMin').options[7].text = "8";
				document.getElementById('comPriceMin').options[8].value = "9";
				document.getElementById('comPriceMin').options[8].text = "9";
				document.getElementById('comPriceMin').options[9].value = "10";
				document.getElementById('comPriceMin').options[9].text = "10";
				document.getElementById('comPriceMin').options[10].value = "11";
				document.getElementById('comPriceMin').options[10].text = "11";
				document.getElementById('comPriceMin').options[11].value = "12";
				document.getElementById('comPriceMin').options[11].text = "12";
				document.getElementById('comPriceMin').options[12].value = "13";
				document.getElementById('comPriceMin').options[12].text = "13";
				document.getElementById('comPriceMin').options[13].value = "14";
				document.getElementById('comPriceMin').options[13].text = "14";
				document.getElementById('comPriceMin').options[14].value = "15";
				document.getElementById('comPriceMin').options[14].text = "15";
				document.getElementById('comPriceMin').options[15].value = "16";
				document.getElementById('comPriceMin').options[15].text = "16+";
				
				document.getElementById('comPriceMax').options.length=15;
			    document.getElementById('comPriceMax').options[0].value="";
				document.getElementById('comPriceMax').options[0].text="Any";
			    document.getElementById('comPriceMax').options[1].value = "3";
				 document.getElementById('comPriceMax').options[1].text = "3";
				document.getElementById('comPriceMax').options[2].value = "4";
				document.getElementById('comPriceMax').options[2].text = "4";
	            document.getElementById('comPriceMax').options[3].value = "5";
				document.getElementById('comPriceMax').options[3].text = "5";
				document.getElementById('comPriceMax').options[4].value = "6";
				document.getElementById('comPriceMax').options[4].text = "6";
				document.getElementById('comPriceMax').options[5].value = "7";
				document.getElementById('comPriceMax').options[5].text = "7";
				document.getElementById('comPriceMax').options[6].value = "8";
				document.getElementById('comPriceMax').options[6].text = "8";
				document.getElementById('comPriceMax').options[7].value = "9";
				document.getElementById('comPriceMax').options[7].text = "9";
				document.getElementById('comPriceMax').options[8].value = "10";
				document.getElementById('comPriceMax').options[8].text = "10";
				document.getElementById('comPriceMax').options[9].value = "11";
				document.getElementById('comPriceMax').options[9].text = "11";
				document.getElementById('comPriceMax').options[10].value = "12";
				document.getElementById('comPriceMax').options[10].text = "12";
				document.getElementById('comPriceMax').options[11].value = "13";
				document.getElementById('comPriceMax').options[11].text = "13";
				document.getElementById('comPriceMax').options[12].value = "14";
				document.getElementById('comPriceMax').options[12].text = "14";
				document.getElementById('comPriceMax').options[13].value = "15";
				document.getElementById('comPriceMax').options[13].text = "15";
				document.getElementById('comPriceMax').options[14].value = "16";
				document.getElementById('comPriceMax').options[14].text = "16+";
			   }
			  }
			  





 function comSalePrice(v)
			  {
			  	document.getElementById('comSalePriBox').style.display="block";
				document.getElementById('comReasePriBox').style.display="none";
				if(v=="radioSale")
			   {
			   document.getElementById('comPriceMin').options.length=11;
			    document.getElementById('comPriceMin').options[0].value="";
				document.getElementById('comPriceMin').options[0].text="Any";
			    document.getElementById('comPriceMin').options[1].value = "500";
				 document.getElementById('comPriceMin').options[1].text = "500";
				document.getElementById('comPriceMin').options[2].value = "1000";
				document.getElementById('comPriceMin').options[2].text = "1000";
	            document.getElementById('comPriceMin').options[3].value = "3000";
				document.getElementById('comPriceMin').options[3].text = "3000";
				document.getElementById('comPriceMin').options[4].value = "8000";
				document.getElementById('comPriceMin').options[4].text = "8000";
				document.getElementById('comPriceMin').options[5].value = "10000";
				document.getElementById('comPriceMin').options[5].text = "10000";
				document.getElementById('comPriceMin').options[6].value = "12000";
				document.getElementById('comPriceMin').options[6].text = "12000";
				document.getElementById('comPriceMin').options[7].value = "15000";
				document.getElementById('comPriceMin').options[7].text = "15000";
				document.getElementById('comPriceMin').options[8].value = "18000";
				document.getElementById('comPriceMin').options[8].text = "18000";
				document.getElementById('comPriceMin').options[9].value = "20000";
				document.getElementById('comPriceMin').options[9].text = "20000";
				document.getElementById('comPriceMin').options[10].value = "25000";
				document.getElementById('comPriceMin').options[10].text = "25000+";
				
				document.getElementById('comPriceMax').options.length=10;
			    document.getElementById('comPriceMax').options[0].value="";
				document.getElementById('comPriceMax').options[0].text="Any";
			    document.getElementById('comPriceMax').options[1].value = "1000";
				 document.getElementById('comPriceMax').options[1].text = "1000";
				document.getElementById('comPriceMax').options[2].value = "3000";
				document.getElementById('comPriceMax').options[2].text = "3000";
	            document.getElementById('comPriceMax').options[3].value = "5000";
				document.getElementById('comPriceMax').options[3].text = "5000";
				document.getElementById('comPriceMax').options[4].value = "10000";
				document.getElementById('comPriceMax').options[4].text = "10000";	
				document.getElementById('comPriceMax').options[5].value = "12000";
				document.getElementById('comPriceMax').options[5].text = "12000";
				document.getElementById('comPriceMax').options[6].value = "15000";
				document.getElementById('comPriceMax').options[6].text = "15000";
				document.getElementById('comPriceMax').options[7].value = "18000";
				document.getElementById('comPriceMax').options[7].text = "18000";
				document.getElementById('comPriceMax').options[8].value = "20000";
				document.getElementById('comPriceMax').options[8].text = "20000";
				document.getElementById('comPriceMax').options[9].value = "25000";
				document.getElementById('comPriceMax').options[9].text = "25000";
			   }
			  }
