/* HFS Onload routine and custom functions
 * Last Updated: 2009 June 04
 * Last Updated By: Pt, Design Less Better
 **/

jQuery(function()
{
	// Create our dropdown menu
	jQuery('ul.sf-menu').superfish();

	//Create AJAX Triggers/Panes if we need them
	jQuery('a.ajaxTrigger').click(function (e) 
	{ 	
		e.preventDefault();
		jQuery('div.ajaxPane').css('display','none');
		jQuery('div#'+jQuery(this).attr("id").substr(7)).slideToggle();
	});

	//Add events to radio buttons to update form submit status for buying
	//tickets to events.
	jQuery("input[name='ticket-options']").click(function()
	{
		var updatedValue = jQuery("input[name='ticket-options']:checked").val();
		jQuery("input[name='product_id']").val(updatedValue); 
	});
});


