(function ($) {
  Drupal.behaviors.exampleModule = {
    attach: function(context, settings) {
      $('a.lightbox').lightBox({
        imageBtnClose: lightbox_images_path + 'lightbox-btn-close.gif',
        imageBtnPrev: lightbox_images_path + 'lightbox-btn-prev.gif',
        imageBtnNext: lightbox_images_path + 'lightbox-btn-next.gif',
        imageLoading: lightbox_images_path + 'lightbox-ico-loading.gif',
        imageBlank: lightbox_images_path + 'lightbox-blank.gif',
        txtImage: 'Slika',
        txtOf: 'od'
      });
    }
  };
})(jQuery);;
var service_links_cite_shown = false;

function service_links_cite(){
  service_links_toggle_cite();

  return false;
}

function service_links_toggle_cite(){
  var over = jQuery('#service-links .service-links-cite-overlay');
  if (service_links_cite_shown) {
    over.fadeOut('fast');
    service_links_cite_shown = false;
  }
  else {
    over.fadeIn('fast');
    over.select();
    over.focus();
    service_links_cite_shown = true;
  }
}

function service_links_remove_cite() {
  var over = jQuery('#service-links .service-links-cite-overlay');
  if (service_links_cite_shown) {
    over.fadeOut('fast');
    service_links_cite_shown = false;
  }
};

