PDFObject Example: Invoking conditional JavaScript upon successful embed

PDFObject.com