$(function() { 
    $('form#contact, form#reservation').live('submit', function(){
        var state = false;
        $('div.required input[type="text"], div.required select', this).each(function(){
            if($(this).val() == '')
            {
                state = true;
            }
        });
        if(state)
        {
            alert(FORM_INVALID);
            return false;
        }
    }); 
    
    $("div.item div.images li > a").fancybox({
        titleShow: false
    });
    
    $('#lights').hover(function(){
        $(this).parent().addClass('active');
    }, function(){
        $(this).parent().removeClass('active');
    });
}); 
