// Font Replacement
Cufon.replace('.category-title h1,.footer h4, .product-view .product-shop .product-name h1,.page-title h1, .page-title h2,.wired-home .subscribe strong', {
	hover: true
});

jQuery(document).ready(function() {
	// Featured Products
    jQuery('#featured').jcarousel();
	// FancyBox jQuery
	jQuery("a.group").fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': true }); 	
	// Slider Homepage
	jQuery('#slider').cycle({
        fx: 'fade',
        speed: 2000,
		timeout: 5000,
        pager: '#controls',
		slideExpr: '.panel'
    });
	
	
	jQuery('tbody tr:odd').addClass('odd');
	
	
	jQuery('ul#hp-box li').mouseover(function() {
		jQuery('ul#hp-box li').removeClass('selected');
		jQuery(this).addClass('selected');
		jQuery('div#hp-box-top div#hp-box-content1').hide();
		jQuery('div#hp-box-top div#hp-box-content2').hide();
		jQuery('div#hp-box-top div#hp-box-content3').hide();
		jQuery('div#hp-box-top div#hp-box-content4').hide();
		jQuery('div#hp-box-'+jQuery(this).attr('id')).show();
	});
	
	/*
	jQuery('.product-options-bottom')
		.css('position', 'fixed')
		.css('top', '965px');
	*/
		
	jQuery('body').css('overflow-x', 'hidden');
		
	/*
	jQuery(window).scroll(function() {
		
		if(jQuery('html').scrollTop() > (jQuery('html').height() - 900)) {
			
			jQuery('.product-options-bottom')
				.css('position', 'fixed')
				.css('top', '765px');
			
		} else {
			
			jQuery('.product-options-bottom')
				.css('position', 'fixed')
				.css('top', '965px');
			
		}
	
    });
	*/
	
	
});

