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

// page is loaded
function page_loaded(evt) {
  if($$('.reload_me').length > 0) {
    setTimeout("window.location.href=window.location.href", 10000);
  }
}

// Wait until page is loaded and call 'page_loaded' function
Event.observe(window, 'load', page_loaded, false);