$(document).ready(function() {
$(function() {

	$('img').bind('dragstart', function(event) { event.preventDefault(); });

    $('#faq_button').live('click',function() {
        $("#content_home").fadeOut("1000");
        $("#faq_button").fadeOut("500");
		setTimeout(function(){$("#content_faq").fadeIn("500");},500);
		setTimeout(function(){document.getElementById('content_home').style.display = 'none';},1000);
		setTimeout(function(){document.getElementById('content_faq').style.display = 'block';},1000);
    });

	$('#logo').live('click',function() {
		if (document.getElementById('content_faq').style.display == 'block') {
			$("#content_faq").fadeOut("500");
			setTimeout(function(){$("#content_home").fadeIn("500");},500);
			setTimeout(function(){$("#faq_button").fadeIn("500");},500);
			setTimeout(function(){document.getElementById('content_home').style.display = 'block';},1000);
			setTimeout(function(){document.getElementById('content_faq').style.display = 'none';},1000);
    	}
	});

});
});
