// JavaScript Document

$(function () {

    $(".carousel").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".previous",
        visible: 4,
        circular: false
    });


    $(".photogallery").jCarouselLite({
        btnNext: ".next-pic",
        btnPrev: ".previous-pic",
        visible: 5,
        circular: false
    });

    $('#pane2').jScrollPane({ showArrows: true });
});



    $(document).ready(function () {
        $('.close-login-btn').click(function () {
            $('.Fbemailreq-faded-div').css('display', 'none');
            $('.Fbemailreq-div-outer').css('display', 'none');
        });
    });

$(document).ready(function () {

    $(".carousel").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".previous",
        visible: 4,
        circular: false
    });

    $(".accordian-content-outer-box h4:eq(0)").addClass('up-arrow');
    $('.form-box-container:eq(0)').show();
    $(".accordian-content-outer-box h4").click(function () {
        $(this).next(".form-box-container").slideToggle().siblings(".form-box-container:visible").slideUp();
        $(this).siblings(".accordian-content-outer-box h4").removeClass('up-arrow');
        $(this).toggleClass('up-arrow');

    });

    $('.tab-content').eq(0).show();
    $('.photogallery li:eq(0)').addClass('selected');
    $('.photogallery li').click(function () {
        $('.selected').removeClass('selected');
        $(this).addClass('selected');
        var index = $('.photogallery li').index(this);
        var indexblock = $('.tab-content').eq(index);
        $('.tab-content').not(indexblock).fadeOut(0, function () {
            $(indexblock).fadeIn(300);
        });
    });
    });



