Cufon.set('fontFamily', 'Gauntlet');
//Cufon.replace('.nav a', { hover: true });
Cufon.replace('a[title="Home"]', { hover: true });
Cufon.replace('a[title="About"]', { hover: true });
Cufon.replace('a[title="Shop"]', { hover: true });
Cufon.replace('a[title="Trade"]', { hover: true });
Cufon.replace('a[title="Contact"]', { hover: true });
Cufon.replace('a[title="Blog"]', { hover: true });
Cufon.replace('a[title="Gallery"]', { hover: true });
Cufon.replace('a[title="Terms"]', { hover: true });
Cufon.replace('div.tagline p');
Cufon.replace('h1');
Cufon.replace('h2', { hover: true });
Cufon.replace('h3');
Cufon.replace('p.no-image');
/*Cufon.replace('.wpsc_category_details');*/
Cufon.replace('p.instructions');
Cufon.replace('.side-text p');
Cufon.replace('.archive-links a', { hover: true });
Cufon.replace('.wpsc_category_grid .category_grid_item .category_text a', { hover: true });
	
$(document).ready(function(){	
	$(function(){$('a[href][rel*=external]').each(function(i){this.target = "_blank";});});
	$('ul.nav').superfish({
		dropShadows:true,
		delay:400,
		speed:'normal'
	});
});

function slideSwitch() {
    var $active = $('#slideshow DIV.active');

    if ( $active.length == 0 ) $active = $('#slideshow DIV:last');

    // use this to pull the divs in the order they appear in the markup
    var $next =  $active.next().length ? $active.next()
        : $('#slideshow DIV:first');

    // uncomment below to pull the divs randomly
    // var $sibs  = $active.siblings();
    // var rndNum = Math.floor(Math.random() * $sibs.length );
    // var $next  = $( $sibs[ rndNum ] );

    $active.addClass('last-active');

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 5000 );
});
