$(document).ready(function(){
	//Configuration Options
	var max_width = 125; 			//Sets the max width, in pixels, for every image
	var selector = '.new-book img'; 	//Sets the syntax for finding the images.  Defaults to all images.
									//For images inside of a particular element (id="abc") or class (class="abc"),
									//use '.abc img' or '#abc img' respectively.  Don't leave off the img tag!!!
	//End configuration options.  You don't need to change anything below here.
	
	jQuery(selector).each(function(){
		var width = jQuery(this).width();
		var height = jQuery(this).height();
		if (width > max_width) {
			//Set variables	for manipulation
			var ratio = (height / width);
			var new_width = max_width;
			var new_height = (new_width * ratio);
			
			//Shrink the image
			jQuery(this).height(new_height).width(new_width);
			} //ends if statement
		}
	);
	
});