Remove IDs so more than one pdf can be displayed without conflicting ids; search mydoc for classes rather than an id which assumes on pdf per page