function ajaxZzz(){}
$(document).ready(function(){
		var stoped = new ajaxZzz;
		$(document).ajaxStart(function(){
			if(!stoped.act)
				$("<div id='shadow'>&nbsp;</div>").css({
					position : "absolute",
					top : "0px",
					left : "0px",
					width : $(document).width(),
					height : $(document).height(),
					"z-index" : "100",
					background : "#fff",
					opacity : "0.5"
				})
				.append("<img alt='' src='/styles/standart/img/loading.gif' style='margin:25% auto;display:block;' />")
				.appendTo("body");
		});
		$(document).ajaxStop(function(){
			$("#shadow").remove();
		});
		$(document).ajaxError(function(){
			$("#shadow").remove();
		});
});