﻿function show(id) {
    $("#actual-content #" + id).fadeIn();
};


function hide(id) {
    $("#actual-content #" + id).fadeOut('slow');
};

$(document).ready(function() {

    $("#actual-content #our-roles-image div").hover(
        function () { 
            $(this).stop();
        },
        function () {
            $(this).fadeOut('slow');
        }
    
    );
    
    
    $("#actual-content #faqpage .answer").hide();
    
    $("#actual-content #faqpage .question").hover(
        function() {
            $(this).css("cursor", "pointer");
        },
        function() {
            $(this).css("cursor", "normal");
        }
    );
    
    $("#actual-content #faqpage .question").click(
        function() {
            itemClass = $(this).attr('class');
            itemClass = itemClass.replace("question ", ""); 
            
            $("#actual-content #faqpage ." + itemClass).show();
        }
    );
    
});
