if @error.nil?
	page.replace_html 'form-errors', :text => ''
  page.replace_html 'observations', :partial => 'observations', :object => @observation_groups
  page.replace_html 'flash-box', :text=>"<p class='flash-msg'>#{flash[:notice]}</p>" unless flash[:notice].nil?
  page << "Modalbox.hide();"
else
	page.replace_html 'form-errors', :partial => 'errors', :object => @observation
  page.visual_effect(:highlight, 'form-errors')
end