$(document).ready(function() {
	// List: Performance venues - button functionality
	$('ul.interface a').click(function() {
		// Whichever <a> is clicked extract the pvid #
		var divToShow = $(this).attr('pid');
		//console.log("divToShow: "+divToShow);
		$('div.d-info').each(function() {
			//console.log($(this).attr('id')+", "+divToShow);
			if($(this).attr('id') == divToShow) {
				// With the performance venue that matches the pvid#, display: block;
				$(this).show();
			} else {
				// With all other performance venues, display: none
				$(this).hide();
			}
		});
		$(this).blur();
		return false;
	});
});
