/**
* Class Faq
* @author Tiago Vasconcelos
* @version 2.0
*/

var Faq = {
    Class: function () {
        //Methods
        /**
        * Method init
        * @author Tiago Vasconcelos
        */
        this.init = function () {
            Faq.collapseContract();
        },

		this.collapseContract = function ()
        {
            if (Utils.objectExist('div.questions'))
            {
                $('div.questions ul li a:first-child').click(
                    function ()
                    {
		                $(this).toggleClass('less').next().slideToggle().parent().siblings().find('div.SPContent').slideUp().end().find('a').removeClass('less');
		                return false;
		            }
                );
		    }
		}
    }
}

var Faq = new Faq.Class;
