function delitem(id,u)
{
	if(u==0)
	{
		u=window.location.pathname;
	}
	if(id=="")
	{
		
	}
	else
	{
	//http://localhost/label-up/index.php?op=artists&action=view&p=41&label=74
	///'order', 'action=delete&p='
	var selectedBooks   = $('form#test').serialize();
	var url = u+'?action=deleteitem&op=order&p='+id;
	$.post(url, {bookArray: selectedBooks},
	     function(responseData)
		 {
       	 	$("#cart").html(responseData);
		window.location.reload(true);
					
		});	
	}
}


