Open Lightbox with Javascript Function

Hi. I need to open the Lightbox with a specific image fired up by a Speech Comand. How can I open the lightbox?. There is a function for it? Please help me. And I need same for navigate through next/prev slides.

Thanks in advance