ncc_slideshow = {
	transition: 2.5,
	wait: 7,
	slide: null,
	box: null
};

function ncc_slide_step() {
	var ncc = ncc_slideshow;
	// if a current slide exists...
	if (ncc.slide) {
		// move to the back
		ncc.box.prepend(ncc.slide);
		// show slide (prepare for subsequent reveal)
		ncc.slide.show();
	}
	// target last child and fade it out
	ncc.slide = ncc.box.children(':last').fadeOut(
		ncc.transition,
		function () {
			window.setTimeout(ncc_slide_step,ncc.wait);
		}
	);
}

jQuery(window).ready(
	function () {
		ncc_slideshow.transition *= 1000;
		ncc_slideshow.wait *= 1000;
		if (ncc_slideshow.box = jQuery('#ncc_slideshow').children().show().end()) window.setTimeout(ncc_slide_step,12000);
	}
);