/*!
 * Bloooming roundPic v0.2
 * http://www.bloooming.com/
 *
 * Copyright 2010, Tina Coric
 * All rights reserved
 *
 * Date: Sun Apr 04 22:22:22 2010 -0500
 */


jQuery.fn.bloooming_roundPic = function(num){

	this.each(function(){
		
		// use this only for mozilla
		if ($.browser.mozilla) {
		
			var w = $(this).width();
			var h = $(this).height();
			var pic = $(this).attr('src');
			
			$(this).after('<div class="rounded" />');
			$(this).next('.rounded').width(w).height(h);
			$(this).next('.rounded').css('background','url('+pic+') top left no-repeat');
			$(this).hide();
		
		}// mozilla
	
	});




}


		

