$(document).ready(function(){
	$('.caption').jcaption({
    wrapperElement: 'div', // Element to wrap the image and caption in
    wrapperClass: 'jcaption', // Class for wrapper element
    captionElement: 'p', // Caption Element
    imageAttr: 'alt', // Attribute of image to use as caption source
    requireText: true,  //If true, it checks to make sure there is caption copy before running on each image
    copyStyle: false,  // Should inline style be copied from img element to wrapper
    removeStyle: true, // Strip inline style from image
    removeAlign: true, // Strip align attribute from image
    copyAlignmentToClass: false, // Assign the value of the image's align attribute as a class to the wrapper
    copyFloatToClass: true, // Assign the value of the image's float value as a class to the wrapper
    autoWidth: true, // Assign a width to the wrapper that matches the image
    animate: true, // Animate on hover over the image
    show: {opacity: 'show'}, // Show animation
    showDuration: 300, // Show animation speed
    hide: {opacity: 'hide'}, // Hide animation
    hideDuration: 300 // Hide animation speed
	});
});
