<!--
function restoreDatabase(whatOne) {
	var confirmOne=confirm("Are you sure you want to overwrite the database with the file " + whatOne + "?")
	if (confirmOne) {
		window.location = "backups.php?action=restore&file=" + whatOne;
	}
}

function deleteDatabase(whatTwo) {
	var confirmTwo=confirm("Are you sure you want to delete the file " + whatTwo + "?")
	if (confirmTwo) {
		window.location = "backups.php?action=remove&file=" + whatTwo;
	}
}

function deleteListing(listing) {
	var confirmListing=confirm("Are you sure you want to delete this listing?")
	if (confirmListing) {
		window.location = "listing.php?action=delete&id=" + listing;
	}
}

function deleteImage(image,listing) {
	var confirmImage=confirm("Are you sure you want to delete this image?")
	if (confirmImage) {
		window.location = "listing.php?action=imagedelete&pid=" + image + "&lid=" + listing;
	}
}

function deleteImager(imager,listingr) {
	var confirmImager=confirm("Are you sure you want to delete this image?")
	if (confirmImager) {
		window.location = "listing.php?action=imagedelete&pid=" + imager + "&lid=" + listingr + "&r=i";
	}
}

function deleteUser(user) {
	var confirmUser=confirm("Are you sure you want to delete this User?")
	if (confirmUser) {
		window.location = "users.php?action=delete&id=" + user;
	}
}
//-->
