(function ($) {
    $.fn.extend({
		targetBlank: function() {
			return this.each(function() {
				var link = $(this).attr("href");
				if ("undefined" != link) {
					$(this).click(function() {
						window.open(link);
						return false;
					});
				}
			});
		}
    });
})(jQuery);

jQuery(document).ready(function() {
    var $ = jQuery;
    $("#featured-products .slider").cycle({
        fx:"scrollLeft", 
        speed:500,
        prev:"#prevBtn", 
        next:"#nextBtn"
    });
    
    $("#homepage-slideshow").cycle({ speed: 2000 });
    
    Cufon.replace(".page-title h1, .page-title h2, .subcategories .box-title", { fontFamily: "Ronnia Light" });
});

