/*Cufon.replace('.text h1', {
	fontFamily: 'Eurostile',
	textShadow: '0px 1px 0px #fff',
	hover: true
});

Cufon.replace('#primary h2', {
	fontFamily: 'Eurostile',
	textShadow: '0px -1.5px -1px #720f12',
	hover: true
});

Cufon.replace('#wpsc_categorisation-3 a, .text h2, .text h3, .text h4, .text h5, .text h6, .cat-name, .contact-heading, .text label', {
	fontFamily: 'Eurostile',
	hover: true
});*/

var $j = jQuery.noConflict();

$j (document).ready(function() {
														 
	$j('a[rel="external"]').click(function(){ 
		this.target = "_blank";
	});
	
	//Main Navigation Style
	$j('#access li li:last-child').addClass('nbottom');
	$j('.ngg-album-compact:first-child').addClass('disappear')
	$j('#access li li:first-child').addClass('ntop');
	$j('#access ul:first-child').addClass('toplevel');
	$j('.single-wpsc-product .entry-content a:first, .tax-wpscproductcategory .entry-content a:first').addClass('none');
	$j('#access ul:first-child li:last-child a').addClass('lastnav');
	$j('#access li a').prepend('<span></span>');
	$j('.wpsc_category_grid_item:odd').addClass('cat-nopad');
	$j('.second-level li').removeClass('top-level');
	$j('#p-variations li:nth-child(2n+2)').css({ paddingRight: '0px' });
	
	
	 $j('.watch-vid').hover(
			function () {$j('.popup').fadeIn('slow');},
			function () {$j('.popup').fadeOut('slow');}
    );

	$j("#carousel").featureCarousel({
		pauseOnHover : true																															
	});
	$j("a[rel^='prettyPhoto']").prettyPhoto({
		theme: 'dark_rounded'
	})
	
	$j(".side-nav li.slidey").accordion({ 										 
		event: "click",
		active: true,
		animated: 'slide',
		collapsible: true,
		autoHeight: false,
		header: '> span'
	});
	
	/*$j(".wpsc_top_level_categories li.top-level").accordion({ 										 
		event: "mouseover",
		active: false,
		animated: 'slide',
		collapsible: true
	});*/

});

