$(document).ready( function() {
	
	$('ol li').wrapInner('<span> </span>');
 
	$('#nav li').hover(function(){
		$(this).addClass('over');
		}, function() {
			$(this).removeClass('over');
	});
		
	$("#reagents-box").click(function(){
	  window.location=$(this).find("a").attr("href");
	  return false;
	});

	$("#order-box").click(function(){
	  window.location=$(this).find("a").attr("href");
	  return false;
	});

	//FAQs
	$('.faq-answer').hide();
	$('.faq-question').click(function(){
		$('.faq-answer').not(this).hide();
		$(this).next('.faq-answer').show();
	});
	
	//Banner fades
	$('.banner');
	setInterval(function(){
		$('.banner').filter(':visible').fadeOut(600,function(){
			if($(this).next('.banner').size()){
				$(this).next().fadeIn(600);
			}
			else{
				$('.banner').eq(0).fadeIn(400);
			}
		});
	}, 3000);

	
});
