
var fbf = false;
$(document).ready(function(){	
	
	$("#news").easySlider({
		prevId: 		'nextBtn',
		prevText: 		'',
		nextId: 		'prevBtn',	
		nextText: 		'',
		controlsShow:	true,
		speed: 			1000,
		auto:			true,
		pause:			2000,
		continuous:		true
	});
	
    $('#facebooktab .tab').click(function(){
      if(fbf == true){
        $('#facebooktab').animate({left:'-376px'},500);
		fbf = false;
	  }else{
        $('#facebooktab').animate({left:'0'},500);
		fbf = true;
	  }
    });
	
	$("#slider").easySlider({
		pause: 7000,
		auto: true,
		continuous: true,
		numeric: true
	});
	
	$('.faq').click(function(){
		$('.faq .fullanswer').slideUp(300);
		$('.faq .showfullanswer').css({display:'inline'});
		$('.fullanswer',this).css({display:'none'});
		$('.fullanswer',this).parent().find('.fullanswer').slideDown(300);
		$('.showfullanswer',this).css({display:'none'});
	});
	
});

