$(window).load(function(){
	//Configuration Options
	var max_width = 95; 			//Sets the max width, in pixels, for every image
	var selector = '.AG_Announcements 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).fadeIn();
		} //ends if statement
	});
});
