;jQuery.noConflict();

jQuery(function($) {
	$('.slideshow').cycle({
		fx: 'fade'
	});
	
	$('.listing-type-grid-4 ol').each(function() {
		var $row = $(this);
		$('li', $row).attr('style', 'height: ' + parseInt($row.outerHeight()) + 'px !important').each(function() {
			var $container = $(this),
				$viewButton = $('.view-product-button', $container);
			if ($viewButton.length) {
				$viewButton.css('paddingLeft', ($container.width() - $viewButton.width()) / 2);
			}
		});
	});
});
