	jQuery(document).ready(function(){
		//find the location td then the location data td
		var locName = jQuery("td:contains('Location:')").next().children("span").text(); //.css("color","pink");
		var safeLocName = escape(locName);
		//then build a string that is the URL to bing maps with the destination prefilled
		var useURL = "http://www.bing.com/maps/?v=2&cp=37.189372184355534~-80.38049316407819&lvl=8&sty=r&rtp=adr.~adr." + safeLocName + "%20montgomery%20county%20va&rtop=0~0~0~";
		//then build the anchor tag and replace the contents of above said td
		jQuery("td:contains('Location:')").next().children("span").html("<a href='" + useURL + "' target='_blank'>" + locName + "</a>");

	

		//Hide the registration label and text if there is no reg enabled.
		jQuery("div.template td:contains('No registration required.')").parent().css("display","none");
		jQuery("div.template td:contains('No registration required.')").parent().prev("tr").css("display","none");

		jQuery("#ctl15_ED_T td:contains('No registration required.')").parent().css("display","none");
		jQuery("#ctl15_ED_T td:contains('No registration required.')").parent().prev("tr").css("display","none");


	});