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

// Functions to show and hide the editing form for a stream
function display_stream_edit(stream_number) {
  Effect.Appear('stream_view_form_' + stream_number, { duration: 0.25 });
  Effect.Fade('open_stream_view_link_' + stream_number, { duration: 0.25 });
}

function hide_stream_edit(stream_number) {
  Effect.Fade('stream_view_form_' + stream_number, { duration: 0.25 });
  Effect.Appear('open_stream_view_link_' + stream_number, { duration: 0.25 });
}