﻿(function ($) {
	$.fn.dropShadow = function () {

		return this.each(function () {

			$(this).css({ position: 'absolute' }).prepend(
				$('<div></div>').css({
					'position': 'absolute',
					'width': '5px',
					'height': $(this).height(),
					'background-color': '#000000',
					'top': '5px',
					'left': $(this).width(),
					'opacity': 0.5
				})
			).prepend(
				$('<div></div>').css({
					'position': 'absolute',
					'width': ($(this).width() - 5),
					'height': '5px',
					'background-color': '#000000',
					'top': $(this).height(),
					'left': '5px',
					'opacity': 0.5
				})
			)
		});
	};
})(jQuery);
