jQuery(document).ready(function($) {
	
	var parts = window.location.pathname.split('/');
        var basename = "home";
        if( parts && parts.length > 1) {
            basename = parts.join(" ")
            basename = basename.replace((/(%)|(.html)|(.php)|[(\d)]|(-)/g), "");
        }
        $("body").addClass( basename );
	
	// remove items from layout // unused and undesired divs and panels in current theme
		//$('#Insert-what-you-want-removed-here-and-separate-by-commas').remove();
	// end
	
	// remove last list item to change a 5 product list to 4
	/*
		$('#INSERTPANELHERE .ProductList li:nth-child(5)').hide('');
	*/
	// end
	
// CUSTOM AND OPTIONAL SCRIPTS // Enable only if needed
	
	// homepage slideshow // image/content cycler
		$('#HomeSlideshow .slideshow').cycle({
			timeout:6000,
			fx:'fade'
		});
	// end
	
	// jCarousel slider // product slider
	/*
		$("#INSERTIDHERE .jCarouselContainer").jCarouselLite({
        	circular: true,
			speed: 800,
			visible: 4,
			scroll: 2,
			btnNext: ".sliderNext",
			btnPrev: ".sliderPrev"
    	});
	*/
	// end
	
	// paRSS plugin
	/*
		$("#BlogFeed").PaRSS(
		"http://INSERTSTOREDOMAIN.com/rss.php?action=newblogs&type=rss",	// rss feed url (required)
		10,					// number of items (optional)
		"M j, Y",			// date format (optional)
		"shortblogs"        // display format (optional)
		);
	*/
	// end
	
});

