	function usePointFromPostcode(postcode, callbackFunction, area) {
		var localSearch = new GlocalSearch();
			
		localSearch.setSearchCompleteCallback(null, 
			function() {
				if (localSearch.results[0])
				{		
					var resultLat = localSearch.results[0].lat;
					var resultLng = localSearch.results[0].lng;
					var point = new GLatLng(resultLat,resultLng);
					
					if (localSearch.results[0].ddUrlToHere && localSearch.results[0].ddUrlToHere != null) {
						if (localSearch.results[0].addressLines[1]) {
							callbackFunction(point, localSearch.results[0].title + "<br />" + localSearch.results[0].addressLines[0] + "<br />" + localSearch.results[0].addressLines[1] + "<br /><a href='" + localSearch.results[0].ddUrlToHere + "' title='Driving directions to here'>Driving directions to here</a>");
						} else {
							callbackFunction(point, localSearch.results[0].title + "<br />" + localSearch.results[0].addressLines[0] + "<br /><a href='" + localSearch.results[0].ddUrlToHere + "' title='Driving directions to here'>Driving directions to here</a>");					
						}
						
					}else {
						if (localSearch.results[0].addressLines[1]) {
							callbackFunction(point, localSearch.results[0].title + "<br />" + localSearch.results[0].addressLines[0] + "<br />" + localSearch.results[0].addressLines[1]);
						} else {
							callbackFunction(point, localSearch.results[0].title + "<br />" + localSearch.results[0].addressLines[0]);
						}
					}
					
				}else{
					$('input#lg_better_meta_ext_latitude').val("Postcode Not");
					$('input#lg_better_meta_ext_longitude').val("Found");

					//alert("Postcode not found!");
				}
			});		
		
		localSearch.execute(postcode + ", " + area);
		
	}
	
	
	function getLatLng() {
		
		var postcode = $('#lg_postcode_geo_code').val();
		var area = $('#lg_postcode_geo_area').val();
	
		var localSearch = new GlocalSearch();
			
		localSearch.setSearchCompleteCallback(null, 
			function() {
				if (localSearch.results[0])
				{		
					$('input#lg_better_meta_ext_latitude').val(localSearch.results[0].lat);
					$('input#lg_better_meta_ext_longitude').val(localSearch.results[0].lng);
				}else{
					$('input#lg_better_meta_ext_latitude').val("Postcode Not");
					$('input#lg_better_meta_ext_longitude').val("Found");

					//alert("Postcode not found!");
				}
			});		
		
		localSearch.execute(postcode + ", " + area);
		
	}