// JavaScript Document
SSS_faq = {
	init : function() {
		$('div.faq .answer').slideToggle('fast');
		$('div.faq .question').click(function() {
                    SSS_faq.toggle(this)
                });
	},

	toggle : function(elt) {
		$(elt).toggleClass('active');
		$(elt).siblings('.answer').slideToggle('fast');
	}
}

$(document).ready(function()
{
  	$('.nav > ul > li > a').bind( "mouseover", function()
  	{
		if($(this).attr('className') != "active")
		{
			$(this).css({'backgroundColor':'#112471','color':'#ffbd00'});
		}
	});

  	$('.nav > ul > li > a').bind( "mouseout", function()
  	{
		if($(this).attr('className') != "active")
		{
			$(this).css({'backgroundColor':'#ffbd00','color':'#112471'});
		}
  	});

	if($('div.faq').length > 0)
	{
		SSS_faq.init();
	}
});

function makeActive(arg)
{
	$(arg +" > a").addClass('active');
}

function makeEasy(f)
{
	if(f.length==0)
		setTimeout(makeEasy(f),1000);
	else
	{
		$(".easyThumb").easyThumb({width: 50,makeLink: true}); 
		$('.easyThumbview a').lightBox();
	}
}