/*
 Rounded images for SURF Republic

 Author: rensco.de / Renaldo Scola
 Version: 2010-07-31
*/


// Avoid conflicts with other libraries
jQuery.noConflict();

jQuery(document).ready(function($) {
	
	/*
	 * Wraps img.rounded-img and displays img as background in wrapper for 
	 * cross-browser proper rounded images.
	 */
	$(".rounded-img").wrap(function() {
		return '<span class="' + $(this).attr('class') + '" style="background:url(' + $(this).attr('src') + ') no-repeat center center; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;" />';
		$(this).css("opacity","0");
	});
	
}); 
// eof jQuery(document).ready(function($)

