$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready
 // (a little sooner than page load)
  	$('#kompetenz').hide();
   //$('#multimedia').hide();
	$('#digital').hide();
	$('#print').hide();
  

 $('#kompetenzBlock').mouseover(function() {
 //$('#kompetenz').toggle('show');
 $('#kompetenz').show();
 $('.kompetenzBG').css('background-color', '#E2E2E2');
 return false;
  });  
 
 /*$('#kompetenzBlock').mouseout(function() {
 //$('#kompetenz').toggle('show');
 $('#kompetenz').hide();
 return false;
  }); */
  
 // shows the slickbox on clicking the noted link
  $('a#slick-show').click(function() {
 $('#slickbox').show('slow');
 return false;
  });
 // hides the slickbox on clicking the noted link
  $('a#slick-hide').click(function() {
 $('#slickbox').hide('fast');
 return false;
  });
  
  
  
  
 // toggles the slickbox on clicking the noted link
/*  $('a#kompetenzLink').click(function() {
 $('#kompetenz').toggle('show');
 return false;
  }); */
  
  $('a#digitalLink').click(function() {
 $('#digital').toggle('show');
 return false;
  });
  
  $('a#printLink').click(function() {
 $('#print').toggle('show');
 return false;
  });


/*  $('a#multimediaLink').click(function() {
 $('#multimedia').toggle('show');
 return false;
  }); */
  });






// shows the slickbox DIV on clicking the link with an ID of "slick-show"
  $('a#slick-show').click(function() {
 $('#slickbox').show('slow');
 return false;
  });
  
  $('#slickbox').show('slow');