$(document).ready(function() {
    $("#head_menu ul li a:first").css("border-left","1px solid #383c46");
    $("#menu ul li a:first").css("border-left","1px solid #383c46");
        
    $("#menu ul li:first").css("padding-left","45px");
    $("#menu ul li").filter(':last').css("padding-right","45px");
    $("#menu ul li ul li").filter(':last').css("border-bottom","0px");
    $("#language ul li a:first").css("border-right","0px solid #383c46");
        
    $('#slider').cycle({
        fx: 'fade'
    });
	
    $("#menu ul li").hover(function(){
        $(this).children('ul').css('display', 'block');
    }, function(){
        $(this).children('ul').css('display', 'none');
    })
        
    $('#menu ul li img').hover(function(){
        $(this).css('border-bottom', '1px solid white');
    }, function(){
        $(this).css('border-bottom', '0');
    })
        
    $('#head_menu ul li img').hover(function(){
        $(this).css('border-bottom', '1px solid white');
    }, function(){
        $(this).css('border-bottom', '0');
    })
        
    $(".next").hover(
        function () {
            $(this).css('background','url(images/nexthover.png)');
        },
        function () {
            $(this).css('background','url(images/next.png)');
        });
    $(".prev").hover(
        function () {
            $(this).css('background','url(images/prevhover.png)');
        },
        function () {
            $(this).css('background','url(images/prev.png)');
        });
          
        
        
    $("#news").jCarouselLite({
        vertical: false,
        hoverPause:true,
        btnPrev: ".prev",
        btnNext: ".next",
        visible: 1,
        auto:5000,
        speed:500
    });
  
    $("#havapanel").jCarouselLite({
        vertical: false,
        btnPrev: ".prev2",
        btnNext: ".next2",
        visible: 1,
        speed:500
    });
        
    $('form').jqTransform();
        
    $( "#arrival" ).datepicker();
    $( "#departure" ).datepicker();
         
    $('#innerslayder ul li a').lightBox();
    $('a.light').lightBox();    
                 
});
        
        
