/*  Document ready
- Initialise your functions here. */
$('document').ready(function () { init() });

//getScripts = function () {
//    loadScript('a', '/scripts/jquery.lightbox.scripts.js', 'lightbox_init');
//}

/* Init Functions*/
function init() {
    //getScripts();
    lightbox_init();
}




/* Loads a script when a specific element is present on the page and fires an callback function when ready*/
function loadScript(element, url, callback) {
    if ($(element).length) {
        $.getScript(url, function () {
            window[callback]();
        })
    }
}

