/* Global Javascript File */


/* Basic non jquery functions can go here */




/* Start jQuery friendly environment */

(
	
	function( $, document, undefined )
	{
		/* Basic functions can go here */
		
		
		/* On Document Ready */
		
		$(document).ready(
			
			function( $ )
			{
				// Replace submit inputs with buttons
				
				$('input.wpcf7-submit').each(
					
					function()
					{
						$(this).after('<button name="' + $(this).attr('name') + '" id="' + $(this).attr('id') + '" class="' + $(this).attr('class') +' button-submit">Submit</button>');
						$(this).remove();
					}
					
				);
				
				if ( $('#dynamic-rotating-gallery').length )
				{
					$('#dynamic-rotating-gallery').cycle();
				}
				
				if ( $('#widget-people-are-talking .quotes').length )
				{
					$('#widget-people-are-talking .quotes').cycle();
				}
				
				
			}
			
		);
	}
	
) ( jQuery, document );

/* End of Global Javascript File */
