function isdelete(){
	var id = arguments[0];
	if(confirm("你确定要这么做吗?")){
		if (typeof(id) == "undefined"){
			$.ajax({
				type: "get",
				url: "delete.asp",
				success: function(status){
					if(status == "ok"){
						location.href = "buy.asp";
					}
				}
			});
		}else{
			$.ajax({
				type: "get",
				url: "delete.asp?id="+id,
				success: function(status){
					if(status == "ok"){
						location.href = "buy.asp";
					}
				}
			});
		}
	}else{
		return
	}
}
