﻿
$(function() {
    $(".initialfocus").focus();
    $(".faqa").hide();
    $(".metera").hide();
    $(".faqq")
        .mouseenter(function() { $(this).addClass("faqqhover") })
        .mouseleave(function() { $(this).removeClass("faqqhover") })
        .click(function() {
            if ($(this).hasClass("faqqopen")) {
                $(this).removeClass("faqqopen");
                $(this).parent().removeClass("faqopen");
                $(this).next().hide('blind', 500);
            } else {
                $(this).addClass('faqqopen');
                $(this).parent().addClass("faqopen");
                $(this).next().show('blind', 500);
            }
        })
    $(".meterq")
        .mouseenter(function() { $(this).addClass("meterqhover") })
        .mouseleave(function() { $(this).removeClass("meterqhover") })
        .click(function() {
            if ($(this).hasClass("meterqopen")) {
                $(this).removeClass("meterqopen");
                $(this).parent().removeClass("meteropen");
                $(this).next().hide('blind', 500);
            } else {
                $(this).addClass('meterqopen');
                $(this).parent().addClass("meteropen");
                $(this).next().show('blind', 500);
            }
        })
});

