// is the DOM fully loaded?

jQuery(document).ready(function(){
	
		
	// BEGIN - make the Images round +++++++++++++++++++++++++++++++++
		
		
		  // get the right classes and change the css
		
		  jQuery(".scdc-rounded-img2, .scdc_pic, .scdc_pic_l, .scdc_pic_r, .ngg-sidebar-widget-rounded-corners").css("opacity","0");
		  
		  // get the right classes and wrap the span-tag around with the original image as bg-image
		
		  jQuery(".scdc-rounded-img2, .scdc_pic, .scdc_pic_l, .scdc_pic_r, .ngg-sidebar-widget-rounded-corners").wrap(function() {
		  	
		      return '<span class="' 
		      	+ jQuery(this).attr('class') 
		      	+ '" style="background:url(' 
		      	+ jQuery(this).attr('src') 
		      	+ ') no-repeat center center; width: ' 
		      	+ jQuery(this).width() 
		      	+ 'px; height: ' 
		      	+ jQuery(this).height() + 'px;" />';
		      	
		  });	// end jQuery(".scdc-rounded-img2, .scdc_pic").wrap(function()
		  
	// END - make the Images round +++++++++++++++++++++++++++++++++	
	

}); // end jQuery(document).ready(function()
