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

function doClear(text1, text2){
  document.getElementById(text1).value = "";
  document.getElementById(text2).value = "";
}

function doClearFour(text1, text2, text3, text4){
  doClear(text1, text2);
  doClear(text3, text4);	
}

function showLoader(hide_id, loader_id){
  $(hide_id).hide();
  $(loader_id).show();
}

function hidden(id){
  $(id).hide();
}

function hideLoader(hide_id, loader_id){
  $(hide_id).show();
  $(loader_id).hide();
}
