$(document).ready(function() {
	$('#page').hide();
});
$(window).load(function() {
	$('#page').fadeIn();
    $('#slider').nivoSlider({
        effect:'fade',
		pauseOnHover:false,
		animSpeed:500, // Slide transition speed
        pauseTime:4500, // How long each slide will show
        directionNav:false, // Next & Prev navigation
        controlNav:true // 1,2,3... navigation
    });
});

jQuery(document).ready(function() {
	jQuery(".answer").hide();
	//toggle the componenet with class msg_body
	jQuery(".question").click(function()
	{
		jQuery(this).next(".answer").slideToggle(300);
	});
});

