$(document).ready(function(){
//For hiding sections on product pages
$('.hidable h2').hide();
$('.hidable.hide').hide();

$('.trigger').click(function(e){
							 var trigger = $(this).attr('id').split('trigger-');
							 $('.hidable').hide();
							 $('#'+trigger[1]).show();
							 $('.trigger.active').removeClass('active');
							 $(this).addClass('active');
							 
							 e.preventDefault();
							 });

//For light box on product images
$('.product-image a').lightBox();

//Display message only once using cookies
if($.cookie('alert') != 1)
{
	alert('BXL wheelchair components are now available from http://innovatorsinc.biz/ (1-800-763-6370).');
	$.cookie('alert',1);
}

});


