// JavaScript Document
$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready
  $('div.nj').hide();
  $('div.pa').hide();
  $('div.ny').hide();
 // shows the slickbox on clicking the noted link
  $('#nj-show').click(function() {
 $('div.nj').show('slow');
 return false;
  });

  $('#pa-show').click(function() {
 $('div.pa').show('slow');
 return false;
  });
  
  $('#ny-show').click(function() {
 $('div.ny').show('slow');
 return false;
  });
 // hides the slickbox on clicking the noted link
  $('#nj-hide').click(function() {
 $('div.nj').hide('fast');
 return false;
  });
  $('#pa-hide').click(function() {
 $('div.pa').hide('fast');
 return false;
  });
  $('#ny-hide').click(function() {
 $('div.ny').hide('fast');
 return false;
  });
 // toggles the slickbox on clicking the noted link
  $('.nj-toggle').click(function() {
 $('div.nj').toggle(400);
   $('div.ny').hide('fast');
  $('div.pa').hide('fast');

 return false;
  });
  $('.pa-toggle').click(function() {
 $('div.pa').toggle(400);
  $('div.ny').hide('fast');
  $('div.nj').hide('fast');
 return false;
  });
  $('.ny-toggle').click(function() {
 $('div.ny').toggle(400);
   $('div.nj').hide('fast');
  $('div.pa').hide('fast'); 
 return false;
  });

});
