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

function show_hide(target, show_flag)
{
  if(show_flag)
    $(target).show();
  else
    $(target).hide();
}

function make_empty_if_default(target, default_string)
{
  if ($(target).value == default_string)
    $(target).value = ''
}
