
var quickdelete_confirm = "Are you sure you want to delete this post?";
var quickrestore_confirm = "Are you sure you want to restore this post?";
var allowEditReason = "1";
lang.save_changes = "Save Changes";
lang.cancel_edit = "Cancel Edit";
lang.quick_edit_update_error = "There was an error editing your reply:";
lang.quick_reply_post_error = "There was an error posting your reply:";
lang.quick_delete_error = "There was an error deleting your reply:";
lang.quick_delete_success = "The post was deleted successfully.";
lang.quick_delete_thread_success = "The thread was deleted successfully.";
lang.quick_restore_error = "There was an error restoring your reply:";
lang.quick_restore_success = "The post was restored successfully.";
lang.editreason = "Edit Reason";

$(document).ready(function () {
	
	if(use_xmlhttprequest == "1") {
		$("#thread_modes").popupMenu();
	}
	
	$(".author_avatar img").on('error', function () {
		$(this).unbind("error").closest('.author_avatar').remove();
	});

});