
// Menüfunktionen
$(document).ready(function() {	
  $('.scrollable1').hide();
  $('.scrollable2').hide();
  $('#actions1').hide();
  $('#actions2').hide();
  $('.scrollable3').hide();
  $('.scrollable4').hide();
  $('.scrollable5').hide();
  $('.scrollable6').hide();
  $('.scrollable7').hide();
  $('.scrollable2, #actions2, #container2, #container3').removeClass('visibility');

  // **** Profile ****
// Show im Topmenu  
 $('#show_profile').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(0, 0).focus();
	else {
		if ($('.scrollable2, .scrollable3, .scrollable4, .scrollable5, .scrollable6, .scrollable7').is(":visible"))
		{
			$('.scrollable1').show('normal').data('scrollable').seekTo(0, 0).focus();
		}
		else
			$('.scrollable1').show('normal').data('scrollable').seekTo(0).focus();
	}
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	
	$('#show_profile').addClass('active');	
	$('#actions1').show('normal');
	$('#actions2').hide('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
});
// Hide im Topmenu    
  $('#hide_profile').click(function() {
	$('#container1').show();
    $('.scrollable1').hide('normal');
	$('#actions1').hide('normal');
	$('#show_profile').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_profile1').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(0, 0).focus();
	else
		$('.scrollable1').show('normal').data('scrollable').seekTo(0).focus();
	$('.scrollable2').delay(400).hide('normal')		
	$('#actions1').show('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
    return false;
});
// Hide im Würfel    
  $('#hide_profile1').click(function() {
	$('#container1').show();
    $('.scrollable1').hide('normal');
	$('#actions1').hide('normal');
	$('#show_profile').removeClass('active');
    return false;
  });


// **** management ****
// Show im Topmenu 
 $('#show_management').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(1, 0).focus();
	else {
		if ($('.scrollable2, .scrollable3, .scrollable4, .scrollable5, .scrollable6, .scrollable7').is(":visible"))
		{
			$('.scrollable1').show('normal').data('scrollable').seekTo(1, 0).focus();
		}
		else
			$('.scrollable1').show('normal').data('scrollable').seekTo(1).focus();
	}
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	
	$('#show_management').addClass('active');	
	$('#actions1').show('normal');
	$('#actions2').hide('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
});
// Hide im Topmenu    
  $('#hide_management').click(function() {
	$('#container1').show();
    $('.scrollable1').hide('normal');
	$('#actions1').hide('normal');
	$('#show_management').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_management1').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(1, 0).focus();
	else
		$('.scrollable1').show('normal').data('scrollable').seekTo(1).focus();
	$('.scrollable2').delay(400).hide('normal')	
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');	
	$('#actions1').show('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
    return false;
});
  

// **** Customers ****
// Show im Topmenu 
 $('#show_customers').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(2, 0).focus();
	else {
		if ($('.scrollable2, .scrollable3, .scrollable4, .scrollable5, .scrollable6, .scrollable7').is(":visible"))
		{
			$('.scrollable1').show('normal').data('scrollable').seekTo(2, 0).focus();
		}
		else
			$('.scrollable1').show('normal').data('scrollable').seekTo(2).focus();
	}
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_customers').addClass('active');	
	$('#actions1').show('normal');
	$('#actions2').hide('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
});
// Hide im Topmenu    
  $('#hide_customers').click(function() {
	$('#container1').show();
    $('.scrollable1').hide('normal');
	$('#actions1').hide('normal');
	$('#show_customers').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_customers1').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(2, 0).focus();
	else
		$('.scrollable1').show('normal').data('scrollable').seekTo(2).focus();
	$('.scrollable2').delay(400).hide('normal')	
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');	
	$('#actions1').show('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
    return false;
});  


// **** References ****
// Show im Topmenu 
 $('#show_references').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(3, 0).focus();
	else {
		if ($('.scrollable2, .scrollable3, .scrollable4, .scrollable5, .scrollable6, .scrollable7').is(":visible"))
		{
			$('.scrollable1').show('normal').data('scrollable').seekTo(3, 0).focus();
		}
		else
			$('.scrollable1').show('normal').data('scrollable').seekTo(3).focus();
	}
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_references').addClass('active');	
	$('#actions1').show('normal');
	$('#actions2').hide('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
});
// Hide im Topmenu    
  $('#hide_references').click(function() {
	$('#container1').show();
    $('.scrollable1').hide('normal');
	$('#actions1').hide('normal');
	$('#show_references').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_references1').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(3, 0).focus();
	else
		$('.scrollable1').show('normal').data('scrollable').seekTo(3).focus();
	$('.scrollable2').delay(400).hide('normal')		
	$('#actions1').show('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
    return false;
});  

  
// **** Locations ****
// Show im Topmenu 
 $('#show_locations').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(4, 0).focus();
	else {
		if ($('.scrollable2, .scrollable3, .scrollable4, .scrollable5, .scrollable6, .scrollable7').is(":visible"))
		{
			$('.scrollable1').show('normal').data('scrollable').seekTo(4, 0).focus();
		}
		else
			$('.scrollable1').show('normal').data('scrollable').seekTo(4).focus();
	}
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_locations').addClass('active');	
	$('#actions1').show('normal');
	$('#actions2').hide('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
});
// Hide im Topmenu    
  $('#hide_locations').click(function() {
	$('#container1').show();
    $('.scrollable1').hide('normal');
	$('#actions1').hide('normal');
	$('#show_locations').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_locations1').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable1').show('normal').data('scrollable').seekTo(4, 0).focus();
	else
		$('.scrollable1').show('normal').data('scrollable').seekTo(4).focus();
	$('.scrollable2').delay(400).hide('normal')		
	$('#actions1').show('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
    return false;
}); 





// **** Assets ****
// Show im Topmenu 
 $('#show_assets').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable2').show('normal').data('scrollable').seekTo(0, 0).focus();
	else {
		if ($('.scrollable1, .scrollable3, .scrollable4, .scrollable5, .scrollable6, .scrollable7').is(":visible"))
		{
			$('.scrollable2').show('normal').data('scrollable').seekTo(0, 0).focus();
		}
		else
			$('.scrollable2').show('normal').data('scrollable').seekTo(0).focus();
	}
	$('.scrollable1').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_assets').addClass('active');	
	$('#actions2').show('normal');
	$('#actions1').hide('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
});
// Hide im Topmenu    
  $('#hide_assets').click(function() {
	$('#container1').show();
    $('.scrollable2').hide('normal');
	$('#actions2').hide('normal');
	$('#show_assets').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_assets1').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable2').show('normal').data('scrollable').seekTo(0, 0).focus();
	else
		$('.scrollable2').show('normal').data('scrollable').seekTo(0).focus();
	$('.scrollable1').delay(400).hide('normal')		
	$('#actions2').show('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
    return false;
}); 

  
  // **** Capability ****
// Show im Topmenu 
 $('#show_capability').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable2').show('normal').data('scrollable').seekTo(1, 0).focus();
	else {
		if ($('.scrollable1, .scrollable3, .scrollable4, .scrollable5, .scrollable6, .scrollable7').is(":visible"))
		{
			$('.scrollable2').show('normal').data('scrollable').seekTo(1, 0).focus();
		}
		else
			$('.scrollable2').show('normal').data('scrollable').seekTo(1).focus();
	}
	$('.scrollable1').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_capability').addClass('active');	
	$('#actions2').show('normal');
	$('#actions1').hide('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_competences, #show_partner, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
});
// Hide im Topmenu    
  $('#hide_capability').click(function() {
	$('#container1').show();
    $('.scrollable2').hide('normal');
	$('#actions2').hide('normal');
	$('#show_capability').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_capability1').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable2').show('normal').data('scrollable').seekTo(1, 0).focus();
	else
		$('.scrollable2').show('normal').data('scrollable').seekTo(1).focus();
	$('.scrollable1').delay(400).hide('normal')		
	$('#actions2').show('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
    return false;
}); 


// **** Competences ****
// Show im Topmenu 
 $('#show_competences').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable2').show('normal').data('scrollable').seekTo(2, 0).focus();
	else {
		if ($('.scrollable1, .scrollable3, .scrollable4, .scrollable5, .scrollable6, .scrollable7').is(":visible"))
		{
			$('.scrollable2').show('normal').data('scrollable').seekTo(2, 0).focus();
		}
		else
			$('.scrollable2').show('normal').data('scrollable').seekTo(2).focus();
	}
	$('.scrollable1').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_competences').addClass('active');	
	$('#actions2').show('normal');
	$('#actions1').hide('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_partner, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
});
// Hide im Topmenu    
  $('#hide_competences').click(function() {
	$('#container1').show();
    $('.scrollable2').hide('normal');
	$('#actions2').hide('normal');
	$('#show_competences').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_competences1').click(function() {	
	if ($('#container1').is(":visible"))
		$('.scrollable2').show('normal').data('scrollable').seekTo(2, 0).focus();
	else
		$('.scrollable2').show('normal').data('scrollable').seekTo(2).focus();
	$('.scrollable1').delay(400).hide('normal')		
	$('#actions2').show('normal');
  	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
    return false;
});



// **** Partner ****	  
// Show im Topmenu 
  $('#show_partner').click(function() {
	$('.scrollable3').show('normal');
	$('.scrollable1').delay(400).hide('normal');
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_partner').addClass('active');	
	$('#actions2').hide('normal');
	$('#actions1').hide('normal');	
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
  });
// Hide im Topmenu  
  $('#hide_partner').click(function() {
	$('#container1').show();
	$('.scrollable3').hide('normal');
	$('#show_partner').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_partner1').click(function() {
    $('.scrollable3').show('normal');
	$('#show_partner').addClass('active');
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_kx, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
  });
// Hide im Würfelmenu   
  $('#hide_partner1').click(function() {
	$('#container1').show();
	$('.scrollable3').hide('normal');
	$('#show_partner').removeClass('active');
    return false;
  });  
  
  
  // **** kx systems ****	  
// Show im Topmenu 
  $('#show_kx').click(function() {
	$('.scrollable4').show('normal');
	$('.scrollable1').delay(400).hide('normal');
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_kx').addClass('active');	
	$('#actions2').hide('normal');
	$('#actions1').hide('normal');	
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
  });
// Hide im Topmenu  
  $('#hide_kx').click(function() {
	$('.scrollable3').show();
	$('.scrollable4').hide('normal');
	$('#show_kx').removeClass('active');
	$('#show_partner').addClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_kx1').click(function() {
    $('.scrollable4').show('normal');
	$('#show_kx').addClass('active');
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
  });
// Hide im Würfelmenu   
  $('#hide_kx1').click(function() {
	$('.scrollable4').show();
	$('.scrollable4').hide('normal');
	$('#show_kx').removeClass('active');
	$('#show_partner').addClass('active');
    return false;
  }); 
  // Show auf Partnerseite  
  $('#show_kx2').click(function() {
    $('.scrollable4').show('normal');
	$('.scrollable1').delay(400).hide('normal');
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_kx').addClass('active');	
	$('#actions2').hide('normal');
	$('#actions1').hide('normal');	
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_career, #show_contact, #show_imprint ').removeClass('active');
    return false;
  });
  
  
// **** Career ****	  
// Show im Topmenu 
  $('#show_career').click(function() {
	$('.scrollable5').show('normal');
	$('.scrollable1').delay(400).hide('normal');
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_career').addClass('active');	
	$('#actions2').hide('normal');
	$('#actions1').hide('normal');	
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_contact, #show_imprint ').removeClass('active');
    return false;
  });
// Hide im Topmenu  
  $('#hide_career').click(function() {
	$('#container1').show();
	$('.scrollable5').hide('normal');
	$('#show_career').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_career1').click(function() {
    $('.scrollable5').show('normal');
	$('#show_career').addClass('active');
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_contact, #show_imprint ').removeClass('active');
    return false;
  });
// Hide im Würfelmenu   
  $('#hide_career1').click(function() {
	$('#container1').show();
	$('.scrollable5').hide('normal');
	$('#show_career').removeClass('active');
    return false;
  }); 
  
  // **** Contact ****	  
// Show im Topmenu 
  $('#show_contact').click(function() {
	$('.scrollable6').show('normal');
	$('.scrollable1').delay(400).hide('normal');
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable7').delay(400).hide('normal');
	$('#show_contact').addClass('active');	
	$('#actions2').hide('normal');
	$('#actions1').hide('normal');	
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_imprint ').removeClass('active');
    return false;
  });
// Hide im Topmenu  
  $('#hide_contact').click(function() {
	$('#container1').show();
	$('.scrollable6').hide('normal');
	$('#show_contact').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_contact1').click(function() {
    $('.scrollable6').show('normal');
	$('#show_contact').addClass('active');
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_imprint ').removeClass('active');
    return false;
  });
// Hide im Würfelmenu   
  $('#hide_contact1').click(function() {
	$('#container1').show();
	$('.scrollable6').hide('normal');
	$('#show_contact').removeClass('active');
    return false;
  });    
  
    // **** Imprint ****	  
// Show im Topmenu 
  $('#show_imprint').click(function() {
	$('.scrollable7').show('normal');
	$('.scrollable1').delay(400).hide('normal');
	$('.scrollable2').delay(400).hide('normal');
	$('.scrollable3').delay(400).hide('normal');
	$('.scrollable4').delay(400).hide('normal');
	$('.scrollable5').delay(400).hide('normal');
	$('.scrollable6').delay(400).hide('normal');
	$('#show_imprint').addClass('active');	
	$('#actions2').hide('normal');
	$('#actions1').hide('normal');	
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_contact ').removeClass('active');
    return false;
  });
// Hide im Topmenu  
  $('#hide_imprint').click(function() {
	$('#container1').show();
	$('.scrollable7').hide('normal');
	$('#show_imprint').removeClass('active');
    return false;
  });
// Show im Würfelmenu  
  $('#show_imprint1').click(function() {
    $('.scrollable7').show('normal');
	$('#show_imprint').addClass('active');
	setTimeout(function(){
      $('#container1').css("display","none")
	},400);
	$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_kx, #show_career, #show_contact ').removeClass('active');
    return false;
  });
// Hide im Würfelmenu   
  $('#hide_imprint1').click(function() {
	$('#container1').show();
	$('.scrollable7').hide('normal');
	$('#show_imprint').removeClass('active');
    return false;
  });    
 
 
 
 
 //Weiterleitung kx

function showKx()
	{
   	var parameters = location.search.substring(1).split("&");
 
    var temp = parameters[0].split("=");
    param = unescape(temp[0]);
    val = unescape(temp[1]);
    return (param == "kx") && (val == "1b");
	}
 
    if (showKx())
    {
		//alert("bla");
        $('.scrollable4').show();
		$('.scrollable1').delay(400).hide('normal');
		$('.scrollable2').delay(400).hide('normal');
		$('.scrollable3').delay(400).hide('normal');
		$('.scrollable5').delay(400).hide('normal');
		$('.scrollable6').delay(400).hide('normal');
		$('.scrollable7').delay(400).hide('normal');
		$('#show_kx').addClass('active');	
		$('#actions2').hide('normal');
		$('#actions1').hide('normal');	
		setTimeout(function(){
		  $('#container1').css("display","none")
		},400);
		$('#show_profile, #show_management, #show_customers, #show_references, #show_locations, #show_assets, #show_capability, #show_competences, #show_partner, #show_career, #show_contact, #show_imprint ').removeClass('active');
    }	
	
	
	
	
	
    
});






