jQuery(document).ready(function () {
	if($.browser.msie) {
		$('.js-shadow').textShadow({xoffset: "-2px", yoffset: "-2px", radius: 1, opacity: 30});
		// $('.ribbon .shadow, .header, img').supersleight({exclude: '.btn, .btn a'});
	}
	
	$('a[rel=lightbox]').lightBox({
		fixedNavigation:true,
		imageLoading:			'/wp-content/themes/fbs/images/lightbox-ico-loading.gif',		// (string) Path and the name of the loading icon
		imageBtnPrev:			'/wp-content/themes/fbs/images/lightbox-btn-prev.gif',			// (string) Path and the name of the prev button image
		imageBtnNext:			'/wp-content/themes/fbs/images/lightbox-btn-next.gif',			// (string) Path and the name of the next button image
		imageBtnClose:			'/wp-content/themes/fbs/images/lightbox-btn-close.gif',		// (string) Path and the name of the close btn
		imageBlank:				'/wp-content/themes/fbs/images/lightbox-blank.gif'
		});
	$('.rounded-box').round();
});

// Safari needs to have everything loaded before adjusting heights.
// Don't place this in a document.ready function
window.onload = function() {
	$('.bulge-box .styled-box').equalizeHeights();
	$('.product-excerpt').equalizeHeights();
	$('.latest-support').equalizeHeights();
};