This actually does work:
var link = '/Document/ViewDocument?docId=' + docId
window.open(link, "_blank");
It didn’t appear to be working initially because there was an error occuring in the document warehouse api.
CLICK HERE to find out more related problems solutions.