$(document).ready(function(){
  
  /* Footer Area Slide */
  $('.btn-slide').click(function(){
    $('#panel').slideToggle('slow');
    $('.btn-slide').toggleClass('open');
    return false;
  });
  /* END Footer Area Slide */
  
  /* Footer Slide */
    $("#slider").easySlider({
  		continuous: true,
  		nextId: "slider1next",
  		prevId: "slider1prev"
  	});
    /* END Footer Slide */
    
    $('#assocLinks a').each(function() {
       var a = new RegExp('/' + window.location.host + '/');
       if(!a.test(this.href)) {
           $(this).click(function(event) {
               event.preventDefault();
               event.stopPropagation();
               window.open(this.href, '_blank');
           });
       }
    });
  
}); // END document.ready



