jQuery.noConflict();

jQuery(document).ready(function() {
	// Begining FAQ Scroll To Function
	jQuery('a').click(function() {
		// Gets ID which stores text to search for
		var test = jQuery(this).attr('id');

		// Searches for test in a h5 element then creates an anchor point to go to
		jQuery('h5:contains('+ test +')').addClass("scrollHere");

		// Scrolls to above anchor point
		jQuery('html').animate({scrollTop: jQuery('.scrollHere').offset().top}, 2000);

		// Removes anchor point to avoid multiple scroll to points
		jQuery('.scrollHere').removeClass("scrollHere");
	});

	jQuery('#mainshow').cycle({
		fx: 'fade',
		requeueOnImageNotLoaded: true
	});
});

