	function showMap(id, lat, lng) {

		if ( lat && lng ) {
	
			var dataString = 'id='+id+'&lat='+lat+'&lng='+lng;
			var text = $('#maplink'+id).html();
	
			if ( text == 'Show Map') {
	
				$('#gmap'+id).fadeIn(1500);
	
				$(document).ready(function() {
		
					$.ajax({
					
						type: "GET",
						url: "http://www.martiniboys.com/includes/search/get_map.php",
						data: dataString,
						success: function(data) {
		
							$('#gmap'+id).html(data);
							$('#maplink'+id).html('Hide Map');
		
						}
			
					});
		
				});
	
			} else {
	
				$('#gmap'+id).fadeOut("slow");
				$('#maplink'+id).html('Show Map');
	
			}
	
		}

		return false;

	}

	$(document).ready(function() {

		$('#tabs div').hide(); // Hide all divs
		$('#tabs div:first').show(); // Show the first div
		$('#tabs ul li:first').addClass('selected'); // Set the class of the first link to active

		$('#tabs ul li a').click(function(){ //When any link is clicked

			$('#tabs ul li').removeClass('selected'); // Remove active class from all links
			$(this).parent().addClass('selected'); //Set clicked link class to active
			var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
			$('#tabs div').hide(); // Hide all divs
			$(currentTab).fadeIn(800); // Show div with id equal to variable currentTab

			return false;

		});

		$("div#neighborhood_more").click(function () {

			$('#neighborhood').slideToggle("slow");

			var text = $('#neighborhood_more').html();

			if ( text == 'Show More »') {

				$('#neighborhood_more').html('Show Less &raquo;');

			} else {

				$('#neighborhood_more').html('Show More &raquo;');

			}

			return false;
	
		});

		$("div#cuisine_more").click(function () {

			$('#cuisine').slideToggle("slow");

			var text = $('#cuisine_more').html();

			if ( text == 'Show More »') {

				$('#cuisine_more').html('Show Less &raquo;');

			} else {

				$('#cuisine_more').html('Show More &raquo;');

			}

			return false;
	
		});

		$("div#type_more").click(function () {

			$('#type').slideToggle("slow");

			var text = $('#type_more').html();

			if ( text == 'Show More »') {

				$('#type_more').html('Show Less &raquo;');

			} else {

				$('#type_more').html('Show More &raquo;');

			}

			return false;
	
		});

	});