
$(document).ready(function() {
  // Initialize the modal dialogs.
  $('#dialog').jqm({
      ajax: '@link',
      trigger: false,
      modal: true,
      ajaxText: 'Loading, please wait...'
  });
  $('#rssPopUp').jqm();
  // Add a click event to every event location link that will
  // cause it to pop up the modal dialog..
  $('.yLocation').each(
    function() {
      $(this).click(function() { $('#dialog').jqmShow(this); });
    }
  );
});
