function d_p(id){
	var c = confirm("Do you really want to drop this product?");
	if(c) 
	ajax({
		requestType: "GET",
		dataType: "html",
		url: "ajax_product.php?id=" + id + "&act=drop",
		timeout: 5000,
		onSuccess:function(html){
			var html_temp = trim(html);
			if(html_temp=='ERROR'){
				alert("Not be able to drop this product.");
			}
			if(html_temp=='ERROR' || html_temp=='OK') window.history.go(0);
		},
		onComplete:function(){}
	});
}

function e_p(id){
	var href = "pe,st,1,i," + id;
	window.location = href;
}
