function fill(thisValue) {
  $('#search-box').val(thisValue);
  setTimeout("$('#autosuggest_list').fadeOut(500);", 250);
} 
function alerthiya($lname){
  document.frmsearch.submit()
}
function autosuggest(str){
  if (str.length == 0) {
    $('#autosuggest_list').fadeOut(500);
  } else {
    $.post('http://offshorelawyerregistry.com/index.php/base/autosuggest',
      { 'str':str },
      function(result) {
        if(result) {
          $('#autosuggest_list').html(result);
          $('#autosuggest_list').fadeIn(500);
          $('#class_activity').removeClass('loadinstyle="noneg');
      }
    });
  }
}
function fill1(thisValue) {
  $('#search-box').val(thisValue);
  setTimeout("$('#autosuggest_list').fadeOut(500);", 250);
} 
function alerthiya1($lname){
  document.frmsearchregistry.submit()
}
function autosuggest1(str){
  if (str.length == 0) {
    $('#autosuggest_list').fadeOut(500);
  } else {
    $.post('http://offshorelawyerregistry.com/index.php/base/autosuggest1',
      { 'str':str },
      function(result) {
        if(result) {
          $('#autosuggest_list').html(result);
          $('#autosuggest_list').fadeIn(500);
          $('#class_activity').removeClass('loadinstyle="noneg');
      }
    });
  }
}


