$(document).ready(function(){
		try {
			$("#accordion").accordion({
				active:		true,		// to have all categories collapsed on initial load, set to false
				autoHeight:	 false,		// sets subcat containers to be the same height as largest to prevent movement of any panels below it  
				event:		 'click',	// change to 'mouseover' if you want the expasion to take place on hover and make top category clickable
				collapsible: true,		// allow customer to collapse all sections - click on open section collapses it - for event = click only
				navigation: true		// require to support IE8 in compatibility mode
			});	
			
			// No way to configure the number of related/recently viewed products, so we have to hide the extras w/javascript
			$('#SideProductRelated .BlockContent .ProductList li:gt(3)').hide();
			$('#mainContent .SideRecentlyViewed .BlockContent .ProductList li:gt(3)').hide();
        }
        catch (ex) {
            _ltk.Exception.Submit(ex, 'BigCommerce CaptureBillingField');
        }
	});
