	function ajaxFileUpload(rty)
	{
		id_div = "#loading_" + rty;
		$(id_div)
		.ajaxStart(function(){
			$(this).show();
		})
		.ajaxComplete(function(){
			$(this).hide();
		});
		$.ajaxFileUpload(
			{
				url:uploaderPath,
				secureuri:false,
				fileElementId:rty,
				dataType: 'json',
				success: function (data, status)
				{
					xajax_uploadComplete(data.error);
				},
				error: function (data, status, e)
				{
					alert(e);
				}
			}
		)
		return false;
	}