
/*  Shadow for text  */

$(document).ready(function(){
	$('span.mi').each(function(){
		$(this).textDropShadow('shadow');
	});
});
(function($) {
	 $.fn.textDropShadow = function(ShdwClass){//элементы заменяются. Вместо оригинала внутри будет два спана - один содержащий сам текст, а другой тень этого текста.
	 $(this).css('position','relative').html('<span class='+ShdwClass+'>'+$(this).text()+'</span><span style="position:relative;">'+$(this).text()+'</span>');
	 	return $(this);
	 }
})(jQuery);



/*  Rounded corners  */

$(document).ready(function(){
	$('.rounded').each(function(){// ищем все элементы класса rounded
	   $(this).css('position','relative').html('<div class="c1"></div><div class="c2"></div><div class="c3"></div><div class="c4"></div>'+$(this).html());
	});
});




