// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults


// Sets the current page active and all others inactive
function setCurrentPage(page_id, id) {
  $$('#images_' + page_id + ' li.current').each(
      function(li) {
          li.removeClassName('current');
        }
      );
  $('image_' + id).addClassName('current');
}
