/* ----------------------------------------------------------
	title		  : FUMC McKinney Framework
	created		  : 6/12/09
	last updated  : 6/12/09
---------------------------------------------------------- */
jQuery.noConflict();     
jQuery(document).ready(function($){



/* Image Rotator */
//show controls in admin
if ( $('#adminbar #toolbar').length ) {
	
	$('#feature-cover').hide();
	// $('#shoutout').css('height','auto');
	$('#insidePage #content').css('marginTop','-30px');
	
	
	// // $('#feature').prepend('<p id="feature-controls"><span id="feature-prev"><a href="#">&laquo; Previous</a></span> <span id="feature-next"><a href="#">Next &raquo;</a></span></p>');
	// 	
	// 
	// $('#feature #feature-content .regionBoundary .contentRegion .regionName').remove();
	// $('#feature #feature-content .regionBoundary .contentRegion .actions').before('<div class="slide"></div>');
	// $('#feature #feature-content .regionBoundary .contentRegion .actions').each(function(){
	// 	$(this).prev('.slide').append($(this));
	// });
	// $('#feature #feature-content .regionBoundary .contentRegion .element').each(function(){
	// 	$(this).prev('.slide').append($(this));
	// });
	// 
	// if ($('#feature').length) {
	// 
	// $('#feature #feature-content .regionBoundary .contentRegion').cycle({ 
	//     fx:     'fade', 
	//     speed:  'fast', 
	//     timeout: 0, 
	//     next:   '#feature-next', 
	//     prev:   '#feature-prev' 
	// });
	// 
	// }
	// 

	
} else {


	// if ( $('#feature').length ) {
	// 	
	// 	$('#feature-content').cycle({
	// 	fx: 'fade',
	// 	speed: 'slow',
	// 	timeout: 7000,
	// 	pause: 1 
	// 	});
	// 
	// }

}


});//end doc ready