var QuestionsWidget = Class.create(
{
	initialize: function()
	{
		var questions  = $$('#content h2');
		var links  = $$('#content h2 a');
		
//		links.each(function(l){
//			l.observe('click', function(event){ event.stop(); });
//		});

		questions.each(function(q, i){
			q.next().hide();

			q.observe('click', function(event){
				event.stop();
				q.next().toggle();
				//new Effect.toggle(texts[i], 'blind', {duration:.3});
			});
			q.setStyle({cursor: 'hand'});

		});	
	}	
});

document.observe('dom:loaded', function(){ new QuestionsWidget(); });