// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults


function appear_answer(){ 
	Effect.Fade('loading',{afterFinish: function(){Effect.Appear('loaded')}});
}

function appear_loading(){
	if (Element.visible('answer')){
		Effect.Appear('loading');
	}else{
		Effect.Appear('answer',{to: 0.9, afterFinish: function(){Effect.Appear('loading')}});		
	}
}
