$(document).ready(function(){			
	Cufon.replace('.chunk, .phone, .amp, #topten ol li strong, #product h1, .subhead, .recommended h2, ul#product-list li h1, #cat, #checkout_page_container h4', { fontFamily: 'ChunkFive' });
	Cufon.replace('.gov, .address em, nav ul li a, .news-item h1, a.btn', { fontFamily: 'Governor' });
	
	$('#slides').cycle({ fx: 'scrollHorz', pager: '#number', prev: '#prev', next: '#next', manualTrump: true, timeout: 8000 });

});




// Show Hide Tracklist
jQuery(function($) {
    var
        ol = $('#tracklist ol'),
        lis = ol.find('li'),
        anchor = $('a#more'),
        liMinHeight = 0,
        liMaxHeight = 0;
    lis.each(function(i) {
        var height = $(this).outerHeight();
        if (i < 4)
            liMinHeight += height;
        liMaxHeight += height;
    });
    ol.height(liMinHeight);
    anchor.toggle(function() {
        ol.animate({
            height : liMaxHeight
        }, 400);
        $("a#more").text("Hide Full Tracklisting")
    }, function() {
        ol.animate({
            height : liMinHeight
        }, 400)
        $("a#more").text("Show Full Tracklisting")
    });
});
