Parameters
document
A valid function must be provided. This callback fires if the loadFromLocal operation succeeds. <
A LEADDocument object will be passed to the callback. To set the document into the active LEADVIEW viewer, first retrieve the active viewer by calling getCurrentDocument.