function get_main_effect(type, fromEl, toEl)
{
	if(type == 's')
	{
		$(fromEl).fade({ duration: 0.4, afterFinish: function(){ $(toEl).appear({ duration: 0.4, from: 0, to: 0.8 });  } });
	}
	else if(type == 'f')
	{
		$(fromEl).fade({ duration: 0.2, afterFinish: function(){ $(toEl).appear({ duration: 0.2, from: 0, to: 0.8 });  } });
	}
} 
