function loginFunction() {
    alert('Hello Take action');
}

function apply() {
  alert('Successfully Applied! Wait within 1-3 working days for verification');
}

function updateProfileFunction() {
    alert('Successfully Updated');
}

function download() {
  alert('Succesfully Downloaded');
}

function deletefunction() {
  alert('Succesfully Deleted');
}

function denyscholar() {
  alert('Scholarship Denied');
}

function acceptscholar() {
  alert('Scholarship Accepted');
}

function searchFunction() {
    // Declare variables
    var input, filter, ul, li, a, i, txtValue;
    input = document.getElementById('search');
    filter = input.value.toUpperCase();
    ul = document.getElementById("dormName");
    li = ul.getElementsByTagName('li');
  
    // Loop through all list items, and hide those who don't match the search query
    for (i = 0; i < li.length; i++) {
      a = li[i].getElementsByTagName("a")[0];
      txtValue = a.textContent || a.innerText;
      if (txtValue.toUpperCase().indexOf(filter) > -1) {
        li[i].style.display = "";
      } else {
        li[i].style.display = "none";
      }
    }
  }

  


  