$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#blconsultinfo').hide();
  $('#blphotoinfo').hide();
  $('#mifinfo').hide();
  $('#blphotoinfo').hide();
  $('#viewlineinfo').hide();
  $('#heaveninfo').hide();
  
  // Toggle visibility and swap z-index
  $('#blconsult').hover(function() {
    $('#blconsult').css({'z-index' : '9999'});
	$('#blconsultinfo').toggle(100);
  }, function() {
	  $('#blconsult').css({'z-index' : '100'});
	  $('#blconsultinfo').toggle(100);
      return false;
  });
  $('#blphoto').hover(function() {
    $('#blphoto').css({'z-index' : '9999'});
	$('#blphotoinfo').toggle(100);
  }, function() {
	  $('#blphoto').css({'z-index' : '100'});
	  $('#blphotoinfo').toggle(100);
      return false;
  });
  $('#mif').hover(function() {
    $('#mif').css({'z-index' : '9999'});
	$('#mifinfo').toggle(100);
  }, function() {
	  $('#mif').css({'z-index' : '100'});
	  $('#mifinfo').toggle(100);
      return false;
  });
  $('#viewline').hover(function() {
    $('#viewline').css({'z-index' : '9999'});
	$('#viewlineinfo').toggle(100);
  }, function() {
	  $('#viewline').css({'z-index' : '100'});
	  $('#viewlineinfo').toggle(100);
      return false;
  });
   $('#retro').hover(function() {
    $('#retro').css({'z-index' : '9999'});
	$('#retroinfo').toggle(100);
  }, function() {
	  $('#retro').css({'z-index' : '100'});
	  $('#retroinfo').toggle(100);
      return false;
  });
  $('#heaven').hover(function() {
    $('#heaven').css({'z-index' : '9999'});
	$('#heaveninfo').toggle(100);
  }, function() {
	  $('#heaven').css({'z-index' : '100'});
	  $('#heaveninfo').toggle(100);
      return false;
  });
});
