$(document).ready(function(){
  // Show image title below image. Image title is actually pulling the alt tag data from the image.
  $('#contentcontainer img').each(function() {
		if ($(this).attr('id') == "sdadsense") {}
		else if (($(this).attr('alt') != "undefined")&&($(this).attr('id') != "imageNoTitle")&&($(this).attr('id') != "imageNoTitleOrBorder")) {
		$(this).replaceWith('<table cellpadding="0" cellspacing="0" style="margin: 5px 4px 0px 4px;" width="'+$(this).attr('width')+'" align="'+$(this).attr('align')+'"><tr><td><img id="jqueryImg" src="'+$(this).attr('src')+'" alt="'+$(this).attr('alt')+'" width="'+$(this).attr('width')+'px" height="'+$(this).attr('height')+'px" /></td></tr><tr><td><div id="jqueryDesc">'+$(this).attr('alt')+'</div></td></tr></table>');
		}
		else if ($(this).attr('id') == "imageNoTitleOrBorder") {
		$(this).replaceWith('<table cellpadding="0" cellspacing="0" width="'+$(this).attr('width')+'" align="'+$(this).attr('align')+'"><tr><td><img id="imageNoTitleOrBorder" src="'+$(this).attr('src')+'" alt="'+$(this).attr('alt')+'" width="'+$(this).attr('width')+'px" height="'+$(this).attr('height')+'px" /></td></tr></table>');	
		}		
		else {
		$(this).replaceWith('<table cellpadding="0" cellspacing="0" width="'+$(this).attr('width')+'" align="'+$(this).attr('align')+'"><tr><td><img id="imageNoTitle" src="'+$(this).attr('src')+'" width="'+$(this).attr('width')+'px" height="'+$(this).attr('height')+'px" alt="'+$(this).attr('alt')+'" /></td></tr></table>');	
		}
	});  
});