$(document).ready(function() {
      $('.nav a').innerWrap('<span></span>'); 
      
      
      
});
$(window).load(function(){

      //Configuration Options
	var max_width = 425; 			//Sets the max width, in pixels, for every image
	var selector = '.entry img'; 	//Sets the syntax for finding the images.  Defaults to all images.
	//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 and add link to full-sized image
			jQuery(this).height(new_height).width(new_width);
			//jQuery(this).attr("title", "Click to enlarge.")
			//jQuery(this).fadeIn();
		} //ends if statement
		
		//var src = $(this).attr('src');
		//$(this).wrap('<a href='+src+'></a>');
		//$(this).parent().lightBox();
		
	});

	});
