$(document).ready(function() {
 // LOGIN FORM
 // hides the login as soon as the DOM is ready
  $('#login').hide();
 // toggles the login on clicking the noted link  
  $('#click-this').click(function() {
    $('#login').toggle(60);
    return false;
  });

 // NOTIFICATION ON LOGIN
 // hides the notification as soon as the DOM is ready
  $('#show-nav-msg').hide();
 // toggles the notification on clicking the noted link  
  $('#return-note').click(function() {
    $('#show-nav-msg').toggle('fast');
    return false;
  });

 // SCRIPTS FOR COLLAPSING DIVS

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click').click(function() {
    $('#detail').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailA').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickA').click(function() {
    $('#detailA').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailB').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickB').click(function() {
    $('#detailB').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailC').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickC').click(function() {
    $('#detailC').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailD').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickD').click(function() {
    $('#detailD').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailE').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickE').click(function() {
    $('#detailE').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailF').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickF').click(function() {
    $('#detailF').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailG').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickG').click(function() {
    $('#detailG').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailH').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickH').click(function() {
    $('#detailH').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailI').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickI').click(function() {
    $('#detailI').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailJ').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickJ').click(function() {
    $('#detailJ').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailK').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickK').click(function() {
    $('#detailK').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailL').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickL').click(function() {
    $('#detailL').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detailM').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-clickM').click(function() {
    $('#detailM').toggle(60);
    return false;
  });

 // hides a previous academic calendar as soon as the DOM is ready
  $('.detailhidden').hide();
 // toggles the current academic calendar on clicking the noted link  
  $('.click-click-hidden').click(function() {
    $('.detailhidden').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail00').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click00').click(function() {
    $('#detail00').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail01').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click01').click(function() {
    $('#detail01').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail02').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click02').click(function() {
    $('#detail02').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail03').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click03').click(function() {
    $('#detail03').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail04').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click04').click(function() {
    $('#detail04').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail05').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click05').click(function() {
    $('#detail05').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail06').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click06').click(function() {
    $('#detail06').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail07').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click07').click(function() {
    $('#detail07').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail08').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click08').click(function() {
    $('#detail08').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail09').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click09').click(function() {
    $('#detail09').toggle(60);
    return false;
  });

 // shows the current academic calendar as soon as the DOM is ready
  $('#detail10').show();
 // toggles the current academic calendar on clicking the noted link  
  $('#click-click10').click(function() {
    $('#detail10').toggle(60);
    return false;
  });

 // shows the slickbox on clicking the noted link  
 // $('#click-this').click(function() {
 //   $('#login').show('fast');
 //   return false;
 // });
});

 // TO CONTROL ACADEMIC PROGRAMMES SEARCH
 // shows the current academic calendar as soon as the DOM is ready
  $('#opt1').hide();
  $('#opt2').hide();
 // toggles the current academic calendar on clicking the noted link  
  $('input #adv_src').click(function() {
    $('#opt1').toggle(60);
    return false;
  });
