Added a checkContent function to check if we need to init the lightbox. ...

...The link now needs data-lightbox-type as 'inline' or 'iframe' for the lightbox to run on links. Default for any links is not to init the lightbox.