function delprod_confirmation(prodid,cat,cat2,cat3) {
	var answer = confirm("Delete this product? Once deleted, this cannot be restored.")
	if (answer){
		window.location = "products/delproduct.php?id="+prodid+"&cat="+cat+"&cat2="+cat2+"&cat3="+cat3;
	}
	else{
		window.location = "#";
	}
}

function dellink_confirmation(linkid) {
	var answer = confirm("Delete this link? Once deleted, this cannot be restored.")
	if (answer){
		window.location = "scripts/dellinks.php?id="+linkid;
	}
	else{
		window.location = "#";
	}
}


function delnews_confirmation(linkid) {
	var answer = confirm("Delete this news item? Once deleted, this cannot be restored.")
	if (answer){
		window.location = "scripts/delnews.php?id="+linkid;
	}
	else{
		window.location = "#";
	}
}

