
function show_comments(id, table, type, s, urlbase)
{
	$.ajax({ 
			type: "GET",
			url: urlbase + "site_management/ajax/show_comments.php",
			data: { id: id, table: table, type: type, page: s },
			dataType: "html",
			cache: false,
			success: function(data) {
					$('#commentsholder').html(data);
					$("button, input:submit, input:button").button().css("font-size", "11px");		
					$(".pagingPage, .pagingCurrent").button();

			}	
		});
}
function removeimage(image, urlbase) {
	$.ajax({ 
			type: "POST",
			url: urlbase + "site_management/ajax/removeimage.php",
			data: { name: image },
			dataType: "html",
			cache: false,
			success: function(data) {
					$('#imageholder').remove();
					$('#fileholder').show();
			}	
		});
}

