
function closeitems(ele){

	ele.find('.close').click(function(){
	    $.ajax({
            url     : 'cart.php',
            type    : 'POST',
            data    : ({
                m       : 'remove_recent',
                prod    : $(this).attr('id')
            })
        });   
		eleItem = $(this).parent();
		eleItem.fadeOut(500, function(){
			eleItem.parent().parent().remove();
		});
	})
	
}

