A friend of mine (a vet nurse) recommends crating a dog when you go out for separation anxiety - it is natural for wild dogs to have a den, and most dogs will respond well to an enclosure with something of yours, eg an old sweater, so they can smell the 'pack' inside the crate. Apparently it's not cruel at all to do this even though it may seem so to us.