 jQuery.noConflict();
   (function($) { 
      $(document).ready(function() {
        $("#vslider").vSlider({ width:690, height:274, effect:0, time:5000, maskInduration:1300, maskOutduration:900 });

        $('.listHolder').hide();
        
        $('#nav_main').hover(
          function() {
            $('.listHolder').stop().height('auto').slideDown('slow');
          }, 
          function() {
            $('.listHolder').stop().slideUp('slow');
          }
        );

      var active = $('.active a span').html();
        
        if (active == 'Sensorischer Werkzeughalter - SPIKE' || 
            active == 'Hublogger - COBOLT' || 
            active == 'Plananlagenkontrolle - SIS' || 
            active == 'Temperaturüberwachung - TEPLA' ||
            active == 'Spindelüberwachung - TEMO' ||
            active == 'Intelligente Spannbacke - iJAW' ||
            active == 'Zeiterfassung - ZEID'
           ) {
           //alert('...');
          if (active == 'Sensorischer Werkzeughalter - SPIKE') {
               active = 'SPIKE';
              }
          if (active == 'Hublogger - COBOLT') {
               active = 'COBOLT';
              }
          if (active == 'Plananlagenkontrolle - SIS') {
               active = 'SIS';
              }
          if (active == 'Temperaturüberwachung - TEPLA') {
               active = 'TEPLA';
              }
          if (active == 'Spindelüberwachung - TEMO') {
               active = 'TEMO';
              }
          if (active == 'Intelligente Spannbacke - iJAW') {
               active = 'iJAW';
              }
          if (active == 'Zeiterfassung - ZEID') {
               active = 'ZEID';
              }
          
          $('#c257').parent('div').append('<div class="here" style="display: none;">'+active+'</div>');
          $('.here').fadeIn('slow');
        }
        
        if (active == 'Messen an rotierenden Bauteilen' || active == 'Branchen' || active == 'Loggersysteme') {
           //alert('...');
          if (active == 'Messen an rotierenden Bauteilen') {
               active = 'Messen an rotierenden...';
              }
          $('#c258').parent('div').append('<div class="here" style="display: none; position: relative; left: 173px;">'+active+'</div>');
          $('.here').fadeIn('slow');
        }
        
        if (active in {'Entwicklung':'','Surface Acoustic Wave':'','Telemetrie':''}) {
           //alert('...');
          $('#c259').parent('div').append('<div class="here" style="display: none; position: relative; left: 345px">'+active+'</div>');
          $('.here').fadeIn('slow');
        }
        
        if (active in {'pro-micron':'','Karriere':'','Ansprechpartner':'','Meilensteine':'','News':''}) {
           //alert('...');
          $('#c260').parent('div').append('<div class="here" style="display: none; position: relative; left: 516px;">'+active+'</div>');
          $('.here').fadeIn('slow');
        }

      $('.hidebox').fadeTo('fast', 0.2);
      $('.hidebox').hide();
      $('.button_mehrs img').click(function() {
         $(this).parents('.csc-default').find('.hidebox').stop(true, true).slideToggle('slow');
         $(this).parents('.csc-default').find('.hidebox').fadeTo('normal',1);
      });
        
      $('#nav_main .listHolder').css('display', 'none');

$("#contactLink").click(function(){
  if ($("#contactForm").is(":hidden")){
    $("#contactForm").slideDown("slow");
  } else {
    $("#contactForm").slideUp("slow");
  }
 });
});
     
function closeForm(){
  $("#messageSent").show("slow");
  setTimeout('$("#messageSent").hide();$("#contactForm").slideUp("slow")', 2000);
};

})(jQuery);

