jQuery(function() {

	if ( window.location.hostname == 'www.jp.skullcandy.com' || window.location.hostname == 'jp.skullcandy.com' ) {
		jQuery('body').addClass('jp-shop');
	}

	jQuery('#product-thumbs li').live('click', function() {
		var img = jQuery(this).find('img').attr('src');
		if ( jQuery(this).hasClass('main-image-thumb') ) {			
			jQuery('#main-image img').attr({'src': img, 'width': 450, 'style': 'margin-left: -50px'});
		} else {
			jQuery('#main-image img').attr({'src': img, 'width': 360, 'style': 'margin-left: 0'});
		}
		return false;
	});
	
	jQuery('img').lazyload({
		effect : 'fadeIn',
		threshold: 500
	});
	
	jQuery('.featured-product').eq(1).addClass('last');

	jQuery('#left-nav li a').each(function() {
		if ( jQuery('#left-nav li a.active').length ) {
			return false;
		} else {
			var href = jQuery(this).attr('href');
			var windowHref = window.location.href.replace('http://www.skullcandy.com', '');
			if ( windowHref == href ) {
				jQuery(this).addClass('active');
			}
		}
	});

	jQuery('#customer-reviews').masonry({ columnWidth: 375, singleMode: true, itemSelector: '.customer-reviews' });

	var rH = jQuery('#main').height();
	var lH = jQuery('#left-nav').height();
	if ( lH < rH ) {
		jQuery('#left-nav').height(rH);
	}
	
	jQuery('#writereview').click(function() {
		jQuery('#write-reviews').toggle(0, function() {
			var rH = jQuery('#main').height();
			var lH = jQuery('#left-nav').height();
			if ( lH < rH ) {
				jQuery('#left-nav').height(rH);
			}
		});
		return false;
	});

});

jQuery(window).load(function() {
	
	if ( window.location.hostname == 'www.jp.skullcandy.com' || window.location.hostname == 'jp.skullcandy.com' ) {} else {
		Cufon.replace('.list-buttons a', { fontFamily: 'Klavika Bold', hover: true });
		Cufon.replace('#main h2, div.price', { fontFamily: 'Klavika Bold', hover: true });
		Cufon.replace('#left-nav a, div.ships, #main h3, #sub-nav a, #getfree, .review-meta, .row-button a, p.rating-links', { fontFamily: 'Klavika Medium', hover: true });
		Cufon.refresh();
	}

	// ALL PRODUCTS
	if ( window.location.pathname == '/shop/all-products.html' && window.location.hostname != 'jp.skullcandy.com' ) {
		if ( window.location.hostname == 'www.ca.skullcandy.com' || window.location.hostname == 'ca.skullcandy.com' ) {
			jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/t/i/ti-09-brown-gold-headphones-glamor_1.jpg');
			jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', 'http://www.skullcandy.com/shop/ti-brown-gold.html');
			jQuery('.featured-product:eq(0) h3').text('Ti Brown/Gold');
			jQuery('.featured-product:eq(0) .desc').text('Narcissus was so in love with himself, that he drowned in a pond while trying to embrace his own reflection.');
			jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=939');
			jQuery('.featured-product:eq(0) .price').text('$ 79.95');
		} else {
			jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/a/v/aviator-white-headphones-glamor_1.jpg');
			jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', 'http://www.skullcandy.com/shop/aviator-black.html');
			jQuery('.featured-product:eq(0) h3').text('Aviator Black');
			jQuery('.featured-product:eq(0) .desc').text('In order to get the job done, we had to bring in the top gun, the Aviator. Engineered optics for your ears. Tactical precision and design...Stay fly.');
			jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1495');
			jQuery('.featured-product:eq(0) .price').text('$ 149.95');
		}
		
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/f/i/file_11_3.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/dream-team-skate-backpack-brown.html');
		jQuery('.featured-product:eq(1) h3').text('Dream Team Skate Backpack Brown');
		jQuery('.featured-product:eq(1) .desc').text('The Skullcandy DREAM TEAM SKATE BACKPACK, keep your deck strapped to your back or your feet.');
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1703');
		jQuery('.featured-product:eq(1) .price').text('$ 49.00');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
		
	}
	
	if ( window.location.hostname == 'jp.skullcandy.com' ) {
		//console.log('JAPAN');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/d/o/double-agent-09-black-green-headphones-glamor.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/double-agent-black-green.html');
		jQuery('.featured-product:eq(0) h3').text('ダブル エージェント ブラック/グリーン (Double Agent Black/Green)');
		//jQuery(".featured-product:eq(0) .desc").text("Skullcandy is proud to partner with trueAnthem to introduce this limited edition Double Agent.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1105');
		jQuery('.featured-product:eq(0) .price').text('￥ 13500.00');

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/i/c/icon-soft-09-cmyk-headphones-glamor.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/icon-soft-cmyk.html');
		jQuery('.featured-product:eq(1) h3').text('アイコン ソフト CMYK (Icon Soft CMYK)');
		//jQuery(".featured-product:eq(1) .desc").text("A pair of mini-subwoofers against your skull makes the bass feel like a swarm attack by the renegades of funk, soldiers of Jah, hip-hop nation, and a 1970s version of the Kiss Army, all at once.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=993');
		jQuery('.featured-product:eq(1) .price').text('￥ 6650.00');
		jQuery('#category-featured').attr('style', 'display:block;');
		
	}

	// HEADPHONES
	if ( window.location.pathname == '/shop/all-products/headphones.html'  && window.location.hostname != 'jp.skullcandy.com' ) {
		if ( window.location.hostname == 'www.ca.skullcandy.com' || window.location.hostname == 'ca.skullcandy.com' ) {
			jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/t/i/ti-09-brown-gold-headphones-glamor_1.jpg');
			jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', 'http://www.skullcandy.com/shop/ti-brown-gold.html');
			jQuery('.featured-product:eq(0) h3').text('Ti Brown/Gold');
			jQuery('.featured-product:eq(0) .desc').text('Narcissus was so in love with himself, that he drowned in a pond while trying to embrace his own reflection.');
			jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=939');
			jQuery('.featured-product:eq(0) .price').text('$ 79.95');
		} else {
			jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/a/v/aviator-white-headphones-glamor_1.jpg');
			jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', 'http://www.skullcandy.com/shop/aviator-black.html');
			jQuery('.featured-product:eq(0) h3').text('Aviator Black');
			jQuery('.featured-product:eq(0) .desc').text('In order to get the job done, we had to bring in the top gun, the Aviator. Engineered optics for your ears. Tactical precision and design...Stay fly.');
			jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1495');
			jQuery('.featured-product:eq(0) .price').text('$ 149.95');
		}
		
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/5/0/5050-10sa-red-headphones-glamor.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/50-50-shoe-red.html');
		jQuery('.featured-product:eq(1) h3').text('50/50 Shoe Red');
		jQuery('.featured-product:eq(1) .desc').text('Meet the unruly 50/50 bud, a composite earphone thats half mic, half bud, and all boom. With superb fit and a beastly 11mm driver, the 50/50 pumps bass deeper...');
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1533');
		jQuery('.featured-product:eq(1) .price').text('$ 49.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	} else {
		
	}
	
	// OVER EAR
	if ( window.location.search == '?limit=all&headphones_type=7'  && window.location.hostname != 'jp.skullcandy.com' ) {
		if ( window.location.hostname == 'www.ca.skullcandy.com' || window.location.hostname == 'ca.skullcandy.com' ) {
			jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/t/i/ti-09-brown-gold-headphones-glamor_1.jpg');
			jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', 'http://www.skullcandy.com/shop/ti-brown-gold.html');
			jQuery('.featured-product:eq(0) h3').text('Ti Brown/Gold');
			jQuery('.featured-product:eq(0) .desc').text('Narcissus was so in love with himself, that he drowned in a pond while trying to embrace his own reflection.');
			jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=939');
			jQuery('.featured-product:eq(0) .price').text('$ 79.95');
		} else {
			jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/a/v/aviator-white-headphones-glamor_1.jpg');
			jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', 'http://www.skullcandy.com/shop/aviator-black.html');
			jQuery('.featured-product:eq(0) h3').text('Aviator Black');
			jQuery('.featured-product:eq(0) .desc').text('In order to get the job done, we had to bring in the top gun, the Aviator. Engineered optics for your ears. Tactical precision and design...Stay fly.');
			jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1495');
			jQuery('.featured-product:eq(0) .price').text('$ 149.95');
		}

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/a/g/agent-10sa-white-headphones-thumb-lrg_1.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/agent-shoe-black.html');
		jQuery('.featured-product:eq(1) h3').text('Agent Shoe Black');
		jQuery(".featured-product:eq(1) .desc").text("The Agent headphone features hi-fidelity sound and a contour so sleek it's virtually undetectable by enemy radar. Whether dictated by expedience...");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1556');
		jQuery('.featured-product:eq(1) .price').text('$ 49.95');

		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// ON EAR
	if ( window.location.search == '?limit=all&headphones_type=8'  && window.location.hostname != 'jp.skullcandy.com' ) {
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/i/c/icon2-10sa-abel-print-headphones-glamor.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/icon-2-abel-high-card.html');
		jQuery('.featured-product:eq(0) h3').text('Icon 2 Abel High Card');
		jQuery('.featured-product:eq(0) .desc').text("You know you've made it when someone calls you an icon. It means you stand for something. It means youre darn near irreplaceable.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1543');
		jQuery('.featured-product:eq(0) .price').text('$ 29.95');

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/l/o/lowrider-10sa-rasta-headphones-glamor.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/lowrider-rasta.html');
		jQuery('.featured-product:eq(1) h3').text('Lowrider Rasta');
		jQuery('.featured-product:eq(1) .desc').text('You always say, "...when we cross that bridge..." Are you referring metaphorically to consumption, the bridge between creation and destruction?');
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1548');
		jQuery('.featured-product:eq(1) .price').text('$ 39.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// EARPHONES/EAR BUDS
	if ( window.location.search == '?limit=all&headphones_type=9'  && window.location.hostname != 'jp.skullcandy.com' ) {
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/m/smokin-buds-blue-black-glamor.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/smokin-bud-sc-blue.html');
		jQuery('.featured-product:eq(0) h3').text('Smokin Bud SC Blue');
		jQuery(".featured-product:eq(0) .desc").text("Smokin' Buds are not the musical journey itself. They're more like a ticket to ride. Or an enjoyable travel companion who brought an extra super-comfy pillow and blanket just for you.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1646');
		jQuery('.featured-product:eq(0) .price').text('$ 29.95');

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/f/m/fmj-09-black-mic-headphones-glamor_1.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/fmj-black.html');
		jQuery('.featured-product:eq(1) h3').text('FMJ Black');
		jQuery(".featured-product:eq(1) .desc").text("Don't give away your smoking jacket just because you own a pair of Skullcandy Full Metal Jacket ear buds.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1691');
		jQuery('.featured-product:eq(1) .price').text('$ 69.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// WIRELESS
	if ( window.location.search == '?limit=all&cat=12'  && window.location.hostname != 'jp.skullcandy.com' ) {
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/d/o/double-agent-09-green-black-ta-headphones-glamor.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/trueanthem-double-agent-black.html');
		jQuery('.featured-product:eq(0) h3').text('TrueAnthem Double Agent Black');
		jQuery(".featured-product:eq(0) .desc").text("Skullcandy is proud to partner with trueAnthem to introduce this limited edition Double Agent.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1110');
		jQuery('.featured-product:eq(0) .price').text('$ 52.46');

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skullcrusher-08-black-pinstripe-headphones-glamor.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/skullcrushers-black-pinstripe.html');
		jQuery('.featured-product:eq(1) h3').text('Skullcrushers Black Pinstripe');
		jQuery(".featured-product:eq(1) .desc").text("A pair of mini-subwoofers against your skull makes the bass feel like a swarm attack by the renegades of funk, soldiers of Jah, hip-hop nation, and a 1970s version of the Kiss Army, all at once.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=959');
		jQuery('.featured-product:eq(1) .price').text('$ 69.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// GAMING
	if ( window.location.search == '?limit=all&cat=11' ) {
		if ( window.location.hostname == 'www.ca.skullcandy.com' || window.location.hostname == 'ca.skullcandy.com' ) {
			jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/t/i/ti-09-brown-gold-headphones-glamor_1.jpg');
			jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', 'http://www.skullcandy.com/shop/ti-brown-gold.html');
			jQuery('.featured-product:eq(0) h3').text('Ti Brown/Gold');
			jQuery('.featured-product:eq(0) .desc').text('Narcissus was so in love with himself, that he drowned in a pond while trying to embrace his own reflection.');
			jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=939');
			jQuery('.featured-product:eq(0) .price').text('$ 79.95');
		} else {
			jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/a/v/aviator-white-headphones-glamor_1.jpg');
			jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', 'http://www.skullcandy.com/shop/aviator-black.html');
			jQuery('.featured-product:eq(0) h3').text('Aviator Black');
			jQuery('.featured-product:eq(0) .desc').text('In order to get the job done, we had to bring in the top gun, the Aviator. Engineered optics for your ears. Tactical precision and design...Stay fly.');
			jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1495');
			jQuery('.featured-product:eq(0) .price').text('$ 149.95');
		}

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/a/g/agent-10sa-shoe-white-headphones-glamor.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/agent-shoe-white.html');
		jQuery('.featured-product:eq(1) h3').text('Agent Shoe White');
		jQuery(".featured-product:eq(1) .desc").text("The Agent headphone features hi-fidelity sound and a contour so sleek it's virtually undetectable by enemy radar. Whether dictated by expedience...");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1558');
		jQuery('.featured-product:eq(1) .price').text('$ 49.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// SPORT BUDS
	if ( window.location.search == '?limit=all&cat=39' ) {
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/a/s/asym-09-catfight-headphone.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/asym-catfight.html');
		jQuery('.featured-product:eq(0) h3').text('ASYM Catfight');
		jQuery(".featured-product:eq(0) .desc").text("The only people with symmetric ears (that we're aware of) are certain robots, and they're not really people and they probably don't listen to music.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1002');
		jQuery('.featured-product:eq(0) .price').text('$ 39.95');

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/c/h/chops-white-earphones-glamor.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/chops-white.html');
		jQuery('.featured-product:eq(1) h3').text('Chops White');
		jQuery(".featured-product:eq(1) .desc").text("Play your cards close to the chest and your music close to the ears. The Chops revolutionary design facilitates both.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1606');
		jQuery('.featured-product:eq(1) .price').text('$ 24.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// DJ
	if ( window.location.search == '?limit=all&cat=10'  && window.location.hostname != 'jp.skullcandy.com' ) {
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/g/i/gi-09-black-denim-headphones-glamor.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/g-i-black-denim.html');
		jQuery('.featured-product:eq(0) h3').text('G.I. Black Denim');
		jQuery(".featured-product:eq(0) .desc").text("No soldier on record has ever lost a battle while wearing the G.I. headphones. Ever.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=911');
		jQuery('.featured-product:eq(0) .price').text('$ 69.95');

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/t/i/ti-09-tokidoki-headphones-glamor_2.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/ti-tokidoki.html');
		jQuery('.featured-product:eq(1) h3').text('Ti TokiDoki');
		jQuery(".featured-product:eq(1) .desc").text("Narcissus was so in love with himself, that he drowned in a pond while trying to embrace his own reflection.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=937');
		jQuery('.featured-product:eq(1) .price').text('$ 89.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// IN-LINE MIC
	if ( window.location.search == '?limit=all&product_has_mic_d=59'  && window.location.hostname != 'jp.skullcandy.com' ) {
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', '/shop/media/catalog/product/5/0/5050-10sa-black-headphones-glamor_1.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/50-50-black-chrome.html');
		jQuery('.featured-product:eq(0) h3').text('50/50 Black Chrome');
		jQuery(".featured-product:eq(0) .desc").text("Meet the unruly 50/50 bud, a composite earphone that's half mic, half bud, and all boom. With superb fit and a beastly 11mm driver, the 50/50 pumps bass deeper...");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1516');
		jQuery('.featured-product:eq(0) .price').text('$ 49.95');

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/i/c/icon2-shoe-red-headphones-glamor.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/icon-2-shoe-red.html');
		jQuery('.featured-product:eq(1) h3').text('Icon 2 Shoe Red');
		jQuery(".featured-product:eq(1) .desc").text("You know you've made it when someone calls you an icon. It means you stand for something. It means youre darn near irreplaceable.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1546');
		jQuery('.featured-product:eq(1) .price').text('$ 29.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// Discontinued Styles
	if ( window.location.pathname == '/shop/08-and-09-products.html' ) {
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/d/o/double-agent-09-green-black-ta-headphones-glamor.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/trueanthem-double-agent-black.html');
		jQuery('.featured-product:eq(0) h3').text('TrueAnthem Double Agent Black');
		jQuery(".featured-product:eq(0) .desc").text("Skullcandy is proud to partner with trueAnthem to introduce this limited edition Double Agent.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1110');
		jQuery('.featured-product:eq(0) .price').text('$ 52.46');

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/m/smokin-bud-08-dwill-headphones-glamor.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/smokin-bud-d-will.html');
		jQuery('.featured-product:eq(1) h3').text('Smokin Bud Dwill');
		jQuery(".featured-product:eq(1) .desc").text("Skullcandy has partnered with DWill to bring the first 'Player Series' headphone to the market. Deron himself directed the design of these limited edition headphones and assisted in the creation...");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1058');
		jQuery('.featured-product:eq(1) .price').text('$ 29.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// TEES
	if ( jQuery('body.category-skullcandy-tees').length ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/c/a/cadillac_red_front_3.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/basic-fit-tee-cadillac-red.html');
		jQuery('.featured-product:eq(1) h3').text('Cadillac Red');
		jQuery(".featured-product:eq(1) .desc").text("The Skullcandy Cadillac t-shirt, just like it's larger cousin the hoodie, only more attitude.");
		jQuery('.featured-product:eq(1) a.add-to-cart').hide();
		jQuery('.featured-product:eq(1) .price').text('$ 19.95');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/p/e/peace_love_noise_white_front_2.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/slim-fit-tee-peace-love-noise-white.html');
		jQuery('.featured-product:eq(0) h3').text('Peace Love Noise White');
		jQuery(".featured-product:eq(0) .desc").text("The Skullcandy Peace Love Noise t-shirt, make a lot more of all of it.");
		jQuery('.featured-product:eq(0) a.add-to-cart').hide();
		jQuery('.featured-product:eq(0) .price').text('$ 21.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// HOODIES
	if ( window.location.pathname == '/shop/all-products/apparel/hoodies.html' ) {
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/f/i/file_32_33.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/throwback-fleece-hoodie-orange.html');
		jQuery('.featured-product:eq(0) h3').text('Throwback Fleece Orange');
		jQuery(".featured-product:eq(0) .desc").text("The Skullcandy Throwback hoodie, made with a hint of throwforward and a pinch of sideways.");
		jQuery('.featured-product:eq(0) a.add-to-cart').hide();
		jQuery('.featured-product:eq(0) .price').text('$ 59.95');

		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'https://www.skullcandy.com/shop/media/catalog/product/f/i/file_30_8.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/fidelity-fleece-hoodie-black.html');
		jQuery('.featured-product:eq(1) h3').text('Fidelity Black Fleece');
		jQuery(".featured-product:eq(1) .desc").text("The Skullcandy Fidelity hoodie, it sounds even better than it looks.");
		jQuery('.featured-product:eq(1) a.add-to-cart').hide();
		jQuery('.featured-product:eq(1) .price').text('$ 99.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// BAGS
	if ( window.location.pathname == '/shop/all-products/bags.html' ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1060-blk-665.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/grimm-skate-backpack-black.html');
		jQuery('.featured-product:eq(1) h3').text('Grimm Skate Backpack');
		jQuery(".featured-product:eq(1) .desc").text("The Skullcandy Grimm skate backpack, helping you reap great rewards.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1712');
		jQuery('.featured-product:eq(1) .price').text('$ 44.00');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/f/i/file_14_1.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/no-hitter-backpack-black.html');
		jQuery('.featured-product:eq(0) h3').text('No Hitter Backpack');
		jQuery(".featured-product:eq(0) .desc").text("The Skullcandy NO HITTER BACKPACK, time to step to the big leagues in style.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1706');
		jQuery('.featured-product:eq(0) .price').text('$ 49.00');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// ACCESSORIES
	if ( window.location.pathname == '/shop/all-products/accessories.html' ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1087-blk-665.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/frequency-5950-cap-black.html');
		jQuery('.featured-product:eq(1) h3').text('Frequency 5950 Cap Black');
		jQuery(".featured-product:eq(1) .desc").text("The Skullcandy FREQUENCY 5950 hat, don't touch that knob, it's been dialed for you.");
		jQuery('.featured-product:eq(1) a.add-to-cart').hide();
		jQuery('.featured-product:eq(1) .price').text('$ 34.00');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1082-cyan-665.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/team-tri-fold-wallet-cyan.html');
		jQuery('.featured-product:eq(0) h3').text('Team Tri-Fold Wallet Cyan');
		jQuery(".featured-product:eq(0) .desc").text("The Skullcandy TEAM TRI-FOLD WALLET, a better way to cure the symptoms of the crisp $1's.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1724');
		jQuery('.featured-product:eq(0) .price').text('$ 12.00');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// HATS AND BEANIES
	if ( window.location.pathname == '/shop/all-products/accessories/hats-beanies.html' ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1091-wht-665.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/ghostly-x-fit-hat-white.html');
		jQuery('.featured-product:eq(1) h3').text('Ghostly White Cap');
		jQuery(".featured-product:eq(1) .desc").text("The Skullcandy GHOSTLY X FIT hat, may frighten small children...but it's kinda fun.");
		jQuery('.featured-product:eq(1) a.add-to-cart').hide();
		jQuery('.featured-product:eq(1) .price').text('$ 28.00');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1089-blk-665.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/stacked-5950-cap-black.html');
		jQuery('.featured-product:eq(0) h3').text('Stacked 5950 Cap Black');
		jQuery(".featured-product:eq(0) .desc").text("The Skullcandy STACKED 5950 hat, stacked like the original Dream Team, throwin' elbows like Barkley.");
		jQuery('.featured-product:eq(0) a.add-to-cart').hide();
		jQuery('.featured-product:eq(0) .price').text('$ 38.00');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// BELTS AND WALLETS
	if ( window.location.pathname == '/shop/all-products/accessories/belts-wallets.html' ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1025-wht-665.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/natural-bi-fold-wallet-white.html');
		jQuery('.featured-product:eq(1) h3').text('Natural Bi-Fold Wallet White');
		jQuery(".featured-product:eq(1) .desc").text("The Skullcandy THE NATURAL BI-FOLD WALLET, if you squint it looks like gator-skin.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1715');
		jQuery('.featured-product:eq(1) .price').text('$ 20.00');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/f/i/file_30_11.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/rasta-web-belt-green.html');
		jQuery('.featured-product:eq(0) h3').text('Rasta Web Belt Green');
		jQuery(".featured-product:eq(0) .desc").text("The Skullcandy RASTA WEB BELT, Rasta heaphones and hats are one thing. A Rasta belt shows your devotion on a whole other level.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1719');
		jQuery('.featured-product:eq(0) .price').text('$ 18.00');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// SOCKS
	if ( window.location.pathname == '/shop/all-products/accessories/socks.html' ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'https://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1062-cyan665.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/team-web-belt-cyan.html');
		jQuery('.featured-product:eq(1) h3').text('Team Web Belt Cyan');
		jQuery(".featured-product:eq(1) .desc").text("The Skullcandy TEAM WEB BELT, when it comes to color kitting more than 1 outfit, this guy is not a team player.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1726');
		jQuery('.featured-product:eq(1) .price').text('$ 12.00');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1063-blk665.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/skdy-rubber-belt-black.html');
		jQuery('.featured-product:eq(0) h3').text('Skullcandy Rubber Belt Black');
		jQuery(".featured-product:eq(0) .desc").text("The Skullcandy SKDY RUBBER BELTS, rubberized for your enjoyment.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1730');
		jQuery('.featured-product:eq(0) .price').text('$ 18.00');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// NECKLACES AND BANDANAS
	if ( window.location.pathname == '/shop/all-products/accessories/necklaces-bandanas.html' ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'https://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1062-cyan665.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/team-web-belt-cyan.html');
		jQuery('.featured-product:eq(1) h3').text('Team Web Belt Cyan');
		jQuery(".featured-product:eq(1) .desc").text("The Skullcandy TEAM WEB BELT, when it comes to color kitting more than 1 outfit, this guy is not a team player.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1726');
		jQuery('.featured-product:eq(1) .price').text('$ 12.00');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skdy1063-blk665.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/skdy-rubber-belt-black.html');
		jQuery('.featured-product:eq(0) h3').text('Skullcandy Rubber Belt Black');
		jQuery(".featured-product:eq(0) .desc").text("The Skullcandy SKDY RUBBER BELTS, rubberized for your enjoyment.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1730');
		jQuery('.featured-product:eq(0) .price').text('$ 18.00');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// PHONE AND IPOD CASES
	if ( window.location.pathname == '/shop/all-products/accessories/phone-ipod-cases.html' ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/i/p/ipod-slider-blue-case.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/itouch-slider-case-blue.html');
		jQuery('.featured-product:eq(1) h3').text('iTouch Slider Case Blue');
		jQuery(".featured-product:eq(1) .desc").text("Armor for your iPod.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1643');
		jQuery('.featured-product:eq(1) .price').text('$ 29.99');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/b/o/bodyguardz_bf_3g-3gs_665x505_1.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/iphone-bodyguardz-protection-full.html');
		jQuery('.featured-product:eq(0) h3').text('iPhone BodyGuardz Protection');
		jQuery(".featured-product:eq(0) .desc").text("These safeguards are so durable and effective against those remorseful moments of carelessness, you'll forget how much fun your having...with your iPhone.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1487');
		jQuery('.featured-product:eq(0) .price').text('$ 24.99');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// DOCKS
	if ( window.location.pathname == '/shop/all-products/mp3-players.html' ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/u/superpipe_10_blk_ns_665x505_1.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/superpipe-black.html');
		jQuery('.featured-product:eq(1) h3').text('Superpipe');
		jQuery(".featured-product:eq(1) .desc").text("Invoking the spirit of it's ancient Boom Box forefathers, Superpipe is just as comfortable on your shoulder as it is on your shelf.");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1491');
		jQuery('.featured-product:eq(1) .price').text('$ 99.95');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/s/k/skullcrusher-08-black-pinstripe-headphones-glamor.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/skullcrushers-black-pinstripe.html');
		jQuery('.featured-product:eq(0) h3').text('Skullcrushers Black Pinstripe');
		jQuery(".featured-product:eq(0) .desc").text("A pair of mini-subwoofers against your skull makes the bass feel like a swarm attack by the renegades of funk, soldiers of Jah, hip-hop nation, and a 1970s version of the Kiss Army, all at once.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=959');
		jQuery('.featured-product:eq(0) .price').text('$ 69.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	// REPLACEMENT PARTS
	if ( window.location.pathname == '/shop/all-products/audio-parts.html'  && window.location.hostname != 'jp.skullcandy.com' ) {
		jQuery('.featured-product:eq(1) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/t/i/tips-medium-gels-glamor.jpg');
		jQuery('.featured-product:eq(1) .featured-image a, .featured-product:eq(1) h3 a, .featured-product:eq(1) a.view-details').attr('href', '/shop/gels-medium.html');
		jQuery('.featured-product:eq(1) h3').text('Gels Medium');
		jQuery(".featured-product:eq(1) .desc").text("Replacement ear gels for Skullcandy earphones. (Each package contains 3 pairs of clear silicon gels and 3 pairs of black silicon gels)");
		jQuery('.featured-product:eq(1) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1137');
		jQuery('.featured-product:eq(1) .price').text('$ 5.95');
		
		jQuery('.featured-product:eq(0) .featured-image img').attr('src', 'http://www.skullcandy.com/shop/media/catalog/product/t/i/tips-comply-foam-tips-glamor.jpg');
		jQuery('.featured-product:eq(0) .featured-image a, .featured-product:eq(0) h3 a, .featured-product:eq(0) a.view-details').attr('href', '/shop/comply-foam-tips.html');
		jQuery('.featured-product:eq(0) h3').text('Comply Foam Tips');
		jQuery(".featured-product:eq(0) .desc").text("Get all the sound you want and none of the noise you don't.");
		jQuery('.featured-product:eq(0) a.add-to-cart').attr('href', '/shop/checkout/cart/add?product=1142');
		jQuery('.featured-product:eq(0) .price').text('$ 8.95');
		
		Cufon.refresh();
		jQuery('#category-featured').attr('style', 'display:block;');
	}
	
	var rH = jQuery('#main').height();
	var lH = jQuery('#left-nav').height();
	if ( lH < rH ) {
		jQuery('#left-nav').height(rH);
	}
	
	var leftFeaturedHeight = jQuery('.featured-product:eq(0)').height();
	var rightFeaturedHeight = jQuery('.featured-product:eq(1)').height();
	
	if ( leftFeaturedHeight > rightFeaturedHeight ) {
		jQuery('.featured-product:eq(1)').height(leftFeaturedHeight);
	} else {
		jQuery('.featured-product:eq(0)').height(rightFeaturedHeight);
	}
	
});


/*************************************************
**  jQuery Masonry version 1.2.0
**  copyright David DeSandro, licensed GPL & MIT
**  http://desandro.com/resources/jquery-masonry
**************************************************/
;(function($){var n=$.event,resizeTimeout;n.special["smartresize"]={setup:function(){$(this).bind("resize",n.special.smartresize.handler)},teardown:function(){$(this).unbind("resize",n.special.smartresize.handler)},handler:function(a,b){var c=this,args=arguments;a.type="smartresize";if(resizeTimeout)clearTimeout(resizeTimeout);resizeTimeout=setTimeout(function(){jQuery.event.handle.apply(c,args)},b==="execAsap"?0:100)}};$.fn.smartresize=function(a){return a?this.bind("smartresize",a):this.trigger("smartresize",["execAsap"])};$.fn.masonry=function(l,m){function getBricks(a,b){a.$bricks=b.itemSelector==undefined?b.$brickParent.children():b.$brickParent.find(b.itemSelector)}function placeBrick(a,b,c,d,e,f){var g=0;for(i=0;i<b;i++){if(c[i]<c[g])g=i}var h={left:e.colW*g+e.posLeft,top:c[g]};if(e.masoned&&f.animate){a.animate(h,{duration:f.animationOptions.duration,easing:f.animationOptions.easing,complete:f.animationOptions.complete,step:f.animationOptions.step,queue:f.animationOptions.queue,specialEasing:f.animationOptions.specialEasing})}else{a.css(h)}for(i=0;i<d;i++){e.colY[g+i]=c[g]+a.outerHeight(true)}};function masonrySetup(a,b,c){getBricks(c,b);if(b.columnWidth==undefined){c.colW=c.masoned?a.data('masonry').colW:c.$bricks.outerWidth(true)}else{c.colW=b.columnWidth}c.colCount=Math.floor(a.width()/c.colW);c.colCount=Math.max(c.colCount,1)};function masonryArrange(e,f,g){if(!g.masoned)e.css('position','relative');if(!g.masoned||f.appendedContent!=undefined){g.$bricks.css('position','absolute')}var h=$('<div />');e.prepend(h);g.posTop=Math.round(h.position().top);g.posLeft=Math.round(h.position().left);h.remove();if(g.masoned&&f.appendedContent!=undefined){g.colY=e.data('masonry').colY;for(i=e.data('masonry').colCount;i<g.colCount;i++){g.colY[i]=g.posTop}}else{g.colY=[];for(i=0;i<g.colCount;i++){g.colY[i]=g.posTop}}if(f.singleMode){g.$bricks.each(function(){var a=$(this);placeBrick(a,g.colCount,g.colY,1,g,f)})}else{g.$bricks.each(function(){var a=$(this);var b=Math.ceil(a.outerWidth(true)/g.colW);b=Math.min(b,g.colCount);if(b==1){placeBrick(a,g.colCount,g.colY,1,g,f)}else{var c=g.colCount+1-b;var d=[0];for(i=0;i<c;i++){d[i]=0;for(j=0;j<b;j++){d[i]=Math.max(d[i],g.colY[i+j])}}placeBrick(a,c,d,b,g,f)}})}g.wallH=0;for(i=0;i<g.colCount;i++){g.wallH=Math.max(g.wallH,g.colY[i])}var k={height:g.wallH-g.posTop};if(g.masoned&&f.animate){e.animate(k,{duration:f.animationOptions.duration,easing:f.animationOptions.easing,complete:f.animationOptions.complete,step:f.animationOptions.step,queue:f.animationOptions.queue,specialEasing:f.animationOptions.specialEasing})}else{e.css(k)}if(!g.masoned)e.addClass('masoned');m.call(g.$bricks);e.data('masonry',g)};function masonryResize(a,b,c){c.masoned=a.data('masonry')!=undefined;var d=a.data('masonry').colCount;masonrySetup(a,b,c);if(c.colCount!=d)masonryArrange(a,b,c)};return this.each(function(){var a=$(this);var b=$.extend({},$.masonry);b.masoned=a.data('masonry')!=undefined;var c=b.masoned?a.data('masonry').options:{};var d=$.extend({},b.defaults,c,l);b.options=d.saveOptions?d:c;m=m||function(){};if(b.masoned&&d.appendedContent!=undefined){d.$brickParent=d.appendedContent}else{d.$brickParent=a}getBricks(b,d);if(b.$bricks.length){masonrySetup(a,d,b);masonryArrange(a,d,b);var e=c.resizeable;if(!e&&d.resizeable){$(window).bind('smartresize.masonry',function(){masonryResize(a,d,b)})}if(e&&!d.resizeable)$(window).unbind('smartresize.masonry')}else{return this}})};$.masonry={defaults:{singleMode:false,columnWidth:undefined,itemSelector:undefined,appendedContent:undefined,saveOptions:true,resizeable:true,animate:false,animationOptions:{}},colW:undefined,colCount:undefined,colY:undefined,wallH:undefined,masoned:undefined,posTop:0,posLeft:0,options:undefined,$bricks:undefined,$brickParent:undefined}})(jQuery);
