	function setPropertyType (chosen) {
					/* var proptypebox = document.PostForm.propertytype; */
					var proptypebox = document.search.propertytype; 
					
					proptypebox.options.length = 0;
				
					/* start of extra stuff now */
					if (chosen == 'commercialsite' || chosen == 'commercialproperty') {
							proptypebox.options[proptypebox.options.length] = new Option('Select Property type','');
							proptypebox.options[proptypebox.options.length] = new Option('Agricultural Land','Agricultural Land');
							proptypebox.options[proptypebox.options.length] = new Option('Business','Business');
							proptypebox.options[proptypebox.options.length] = new Option('Car Park','Car Park');
							proptypebox.options[proptypebox.options.length] = new Option('Commercial Site','Commercial Site');
							proptypebox.options[proptypebox.options.length] = new Option('Development Land','Development Land');
							proptypebox.options[proptypebox.options.length] = new Option('Hotel /Guest House/ B&B','Hotel');
							proptypebox.options[proptypebox.options.length] = new Option('Industrial','Industrial');
							proptypebox.options[proptypebox.options.length] = new Option('Hotel /Guest House/ B&B','Hotel');
							proptypebox.options[proptypebox.options.length] = new Option('Industrial Site','Industrial Site');
							proptypebox.options[proptypebox.options.length] = new Option('Lock up Garage','Lockup');
							proptypebox.options[proptypebox.options.length] = new Option('Office','Office');
							proptypebox.options[proptypebox.options.length] = new Option('Office Share','Office Share');
							proptypebox.options[proptypebox.options.length] = new Option('Pub','Pub');
							proptypebox.options[proptypebox.options.length] = new Option('Restaurant / Café','Restaurant');
							proptypebox.options[proptypebox.options.length] = new Option('Retail Unit','Retail Unit');
							proptypebox.options[proptypebox.options.length] = new Option('Storage Unit','Storage Unit');
							proptypebox.options[proptypebox.options.length] = new Option('Warehouse','Warehouse');
					}
					if (chosen == 'propertysale' || chosen == 'overseas') {
						proptypebox.options[proptypebox.options.length] = new Option('Select Property type','');
						proptypebox.options[proptypebox.options.length] = new Option('House for Sale','House');
						proptypebox.options[proptypebox.options.length] = new Option('Apartment for Sale','Apartment');
						proptypebox.options[proptypebox.options.length] = new Option('Bungalow for Sale','Bungalow');
						proptypebox.options[proptypebox.options.length] = new Option('Country Home for Sale','Country Home');
						proptypebox.options[proptypebox.options.length] = new Option('Farms and Stud Farms for Sale','Farm');
						proptypebox.options[proptypebox.options.length] = new Option('Site','site');
					}
					if (chosen == 'sitesale') {
						proptypebox.options[proptypebox.options.length] = new Option('Site','site');
					}
					if (chosen == 'propertyrent') {
						proptypebox.options[proptypebox.options.length] = new Option('Select Property type','');
						proptypebox.options[proptypebox.options.length] = new Option('House to let','House');
						proptypebox.options[proptypebox.options.length] = new Option('Apartment to let','Apartment');
						proptypebox.options[proptypebox.options.length] = new Option('Flat to let','Flat');
						proptypebox.options[proptypebox.options.length] = new Option('Office to let','Office');
					}
					
					if (chosen == 'newbuild') {
						proptypebox.options[proptypebox.options.length] = new Option('Select Property type','');
						proptypebox.options[proptypebox.options.length] = new Option('Apartment for Sale','Apartment');
						proptypebox.options[proptypebox.options.length] = new Option('Bungalow for Sale','Bungalow');
						proptypebox.options[proptypebox.options.length] = new Option('Duplex for Sale','Duplex');
						proptypebox.options[proptypebox.options.length] = new Option('House for Sale','House');
					}
				
				}
			