jQuery(document).ready(function(){
var indicator;
var t;

var indicatora;
var ta;    

jQuery('.down-list').width( jQuery('.dropdown-menu').width()+125);

    jQuery('.dropdown-menu').hover(
      function () {

        jQuery('.menu-first', this).addClass('slide-down'); 
        jQuery('.down-list', this).slideDown(300);
indicator=1;
clearTimeout(t);

      }, 
     function () { 
obj = this;
indicator=0; 
t = setTimeout (function(){ 


if(indicator==0){
jQuery('.down-list', obj).slideUp(200, function(){  jQuery('.menu-first', obj).removeClass('slide-down'); });

if(indicatora==0){
jQuery('.down-listz').slideUp(200, function(){  jQuery('.menu-firstz').removeClass('slide-down'); });
}

}




  }, 500 ); 


        

      }
    );








jQuery('.down-listz').width( jQuery('.dropdown-menuz').width()+169);

    jQuery('.dropdown-menuz').hover(
      function () {

        jQuery('.menu-firstz', this).addClass('slide-down'); 
        jQuery('.down-listz', this).slideDown(300);
indicatora=1;
clearTimeout(ta);

      }, 
     function () { 
obj = this;
indicatora=0; 
ta = setTimeout (function(){ 


if(indicatora==0){
jQuery('.down-listz', obj).slideUp(200, function(){  jQuery('.menu-firstz', obj).removeClass('slide-down'); });

if (indicator==0){
jQuery('.down-list').slideUp(200, function(){  jQuery('.menu-first').removeClass('slide-down'); });
}

}




  }, 500 ); 


        

      }
    );









});

