$(document).ready(function () {
    // Navigatie ul li's voorzien van hover class
    $('#navi ul li a').hover(function () {
        $('#navi li').removeClass('hover');
        $(this).parent('li').addClass('hover');
        return false;
    },
	function () {
	    $(this).parent('li').removeClass('hover');
	});
    // Select / Dropdown in header	
    $('#header #select ul li ul').hide();
    $('#header #select ul li a').hover(function () {
        $('#header #select ul li ul').show();
        return false;
    },
	function () {
	    $('#header #select ul li ul').hide();
	});

    /* Faq */
    $(".faq .faqAnswer").hide();
    $(".faq .faqQuestion a").click(function () {
        $(this).parents("body").find(".faqAnswer").hide(300); // Hide all answers
        $(this).parents("body").find("li").removeClass("active");
        $(this).parents("li").find(".faqAnswer").show(300); // Show current answer
        $(this).parents("li").addClass("active");
        return false;
    });

    /* Input focus */
    $('input.textInput, textarea').focus(function () {
        $(this).addClass('focus');
        $(this).select();
    });
    $('input.textInput, textarea').blur(function () {
        $(this).removeClass('focus');
    });    
}); 




