Cufon.set('fontFamily', 'Stag Semibold');

Cufon.replace('#content-home h2,.make-report a,#banner .text p,#banner-no p a,#col-right #resources h2,#footer h3,#content h2,.visit-website a', {
	separate: "words",
	hover:true
});

$(document).ready(function () {
    // LOGIN
   
    $('.banner-partners').cycle({
        fx: 'scrollHorz',
        prev: '#prev2',
        next: '#next2',
        speed: 800,
        sync: true,
        timeout: 1
    });
    // FAQs
    $('.faq dd').hide(); // Hide all DDs inside .faqs
    $('.faq dt').hover(function () { $(this).addClass('hover') }, function () { $(this).removeClass('hover') }).click(function () { // Add class "hover" on dt when hover
        $(this).next().slideToggle('normal');
        $(this).toggleClass('open'); // Toggle dd when the respective dt is clicked
    });

    $('.expand a').click(function () {
        $('.faq dd').slideToggle('normal');
        $('.faq dt').toggleClass('open');
    });

    //username and password input
    $("input.username-input").val('username');
    $("input.username-input").click(function () {
        $(this).val(' ');
    });
    $("input.passw-input").val('password');
    $("input.passw-input").click(function () {
        $(this).val(' ');
    });

    $("#news-homepage li:last").addClass('last');
    $("#posts li:first").addClass('first');
    $(".video-list li:lt(3)").addClass('first');


    $('.faqs dd').hide(); // Hide all DDs inside .faqs
    $('.faqs dt').hover(function () { $(this).addClass('hover') }, function () { $(this).removeClass('hover') }).click(function () { // Add class "hover" on dt when hover
        $(this).next().slideToggle('normal');
        $(this).toggleClass('open'); // Toggle dd when the respective dt is clicked
    });

    $('.expand a').click(function () {
        $('.faqs dd').slideToggle('normal');
        $('.faqs dt').toggleClass('open');
    });

    $('.faqs:last').css('border', 'none');




});



