<!--ñêðèïò-->
<script type="text/javascript" src="http://cooler-nn.ru/js/jquery.js"></script>
     <script type="text/javascript" src="http://cooler-nn.ru/js/jquery.corner.js"></script>
     <script type="text/javascript">
          $(document).ready(function(){
          var cancelHide = false;
               $('.footer').add('div.contacts').corner();
               $('#navigation>li>ul').hide();
               $('#navigation>li>u').click(function(){
                    $('#navigation>li').not(this).children('ul').hide('500');
                    if($(this).parent().children().is(':hidden')){
                                   $(this).parent().children().show('500');
                              }
                              else {
                                   $(this).parent().children('ul').hide('500');
                              }
                    });
               /*     
               $('#over_city').click(function(){
                    $('#city').slideDown('250');
               })*/
                              
               $('#city li').click(function(){
                    $('#city').slideUp('250').children().attr('class','');
                    $(this).attr('class','hidden');
                    var i = $('#city li').index(this);
                    $("p.city").html('–– &nbsp;'+ $(this).html());
                    $("span.number").html($('#numbers li').eq(i).html());
               });
               
               $('#city').add('#over_city').hover(
                    function()
                    {     
                         cancelHide = true;
                         if($('#city').is(':hidden'))
                              $('#city').slideDown('250');
                    },
                    function()
                    {     
                         cancelHide = false;
                         setTimeout(function() {
                              if (!cancelHide) {
                                   $('#city').slideUp('250');
                              }
                         }, 1000);     
                    }
               );
               
               
    });
      </script>
  <!--êîíåö-->

